PageSourceSearch

https://myaccount.informs.org/resource/1785762885000/CPBase__emerald_1_0/pendo.min.js

js informs.org collected 2026-09-24 06:45:36 UTC 176,762 bytes, 25 lines download raw bytes

1// Pendo Agent Wrapper
2// Environment:    production
3// Agent Version:  2.11.10
4// Installed:      2018-02-02T18:13:40Z
5(function (PendoConfig) {
6!function(e,t,n){function r(e){if(e&&e.stagingServers&&e.stagingAgentUrl)for(var t=0,n=e.stagingServers.length;n>t;++t){var r=e.stagingServers[t];if("string"==typeof r&&(r=new RegExp("^"+r+"$")),r instanceof RegExp&&r.test(location.host))return!0}return!1}function i(e){return r(e)?(o(e.stagingAgentUrl),!0):!1}function o(e){var n="script",r=t.createElement(n);r.async=!0,r.src=e;var i=t.getElementsByTagName(n)[0];i.parentNode.insertBefore(r,i)}function a(e){return"undefined"!=typeof PendoConfig?PendoConfig[e]:void 0}"undefined"!=typeof PendoConfig&&i(PendoConfig)||!function(){"use strict";function i(){var e=this._handlers={};return this.on=function(t,n){if(ft.isString(t)||ft.isFunction(n)){var r=e[t];r||(r=e[t]=[]),ft.indexOf(r,n)<0&&r.push(n)}return this},this.one=function(e,t){var n=this,r=function(){n.off(e,r),t.apply(this,arguments)};return this.on(e,r)},this.off=function(t,r){var i=e[t];if(ft.isFunction(r)){var o=ft.indexOf(i,r);i&&o>=0&&i.splice(o,1)}else i&&r===n&&(i.length=0);return this},this.trigger=function(t){var n=e[t],r=ft.toArray(arguments).slice(1),i=ft.map(n,function(e){var t=e.apply(lt,r);return t===!1?bt.reject():t});return bt.all(i)},this}function o(e,t){var n={};return t||(t=ft.keys(e)),ft.each(t,function(t){var r=e[t];ft.isArray(r)?n[t]=r.slice():ft.isFunction(r)||(n[t]=r)}),function(){ft.each(n,function(t,n){e[n]=t})}}function u(){return(new Date).getTime()}function s(){var n=t.documentElement;return(e.pageYOffset||n.scrollTop||Gt().scrollTop)-(n.clientTop||0)}function c(){var n=t.documentElement;return(e.pageXOffset||n.scrollLeft||Gt().scrollLeft)-(n.clientLeft||0)}function d(){var e=Gt();if(e){var t=jt(e);if(t&&("relative"===t.position||"absolute"===t.position||f(t))){var n=e.getBoundingClientRect();return{top:n.top+s(),left:n.left+c()}}}return{top:0,left:0}}function l(){return f(jt(Gt()))&&isNaN(zr)}function f(e){if(e&&ft.isFunction(e.getPropertyValue)){var t=[e.getPropertyValue("transform")];return"undefined"!=typeof Jr&&ft.isString(Jr)&&t.push(e.getPropertyValue("-"+Jr.toLowerCase()+"-transform")),ft.any(t,function(e){return e&&"none"!==e})}return!1}function h(e){var t=d();return e.left-=t.left,e.top-=t.top,ft.isNumber(e.right)&&(e.right-=t.left),ft.isNumber(e.bottom)&&(e.bottom-=t.top),e}function p(e){return ft.each(["left","top","width","height"],function(t){e[t]=Math.round(e[t])}),e}function g(e){var t,n,r;if(!e)return{width:0,height:0};if(t={width:ft.isNumber(e.offsetWidth)?e.offsetWidth:0,height:ft.isNumber(e.offsetHeight)?e.offsetHeight:0},n=0,r=0,e.getBoundingClientRect){var i;try{i=e.getBoundingClientRect()}catch(o){return{width:0,height:0}}return t.top=i.top,t.left=i.left,t.width=Math.max(t.width,ft.isNumber(i.width)?i.width:0),t.height=Math.max(t.height,ft.isNumber(i.height)?i.height:0),y(e)?t.fixed=!0:(t.top+=s(),t.left+=c(),t=h(t)),p(t)}for(;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)n+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return t.top=r,t.left=n,p(t)}function v(e){return ht.contains(t,e)}function m(e){for(var t,n=e&&e.parentNode;n;){if(t=jt(n),f(t))return!0;n=n.parentNode}return!1}function y(e){for(var t,n=e;n;){if(t=jt(n),!t)return!1;if("fixed"===t.position)return isNaN(zr)?!m(n):!0;n=n.parentNode}return!1}function b(e,t){var n=jt(e);return t=t||/(auto|scroll|hidden)/,n?t.test(n.overflowY)&&t.test(n.overflowX)?qt.BOTH:t.test(n.overflowY)?qt.Y:t.test(n.overflowX)?qt.X:t.test(n.overflow)?qt.BOTH:qt.NONE:qt.NONE}function w(e,t,n){var r=Wt(t),i=b(t,n);if(i===qt.BOTH&&!Ht(e,r))return!1;if(i===qt.Y){if(e.top>=r.bottom)return!1;if(e.bottom<=r.top)return!1}if(i===qt.X){if(e.left>=r.right)return!1;if(e.right<=r.left)return!1}return!0}function _(e){return e&&e.nodeName&&"body"===e.nodeName.toLowerCase()}function E(e){if(!e)return!1;if(_(e))return!0;var t=Wt(e);if(0===t.width||0===t.height)return!1;for(var n,r=e;r&&(n=jt(r));){if("none"===n.display)return!1;if(Number(n.opacity)<=0)return!1;if("hidden"===n.visibility)return!1;r=r.parentNode}return!0}function S(e,n){if(!E(e))return!1;if(_(e))return!0;var r=Wt(e);n=n||/hidden/;for(var i=zt(e,n),o=null,a=Gt();i&&i!==a&&i!==t&&i!==o;){if(!w(r,i,n))return!1;o=i,i=zt(i,n)}if(e.getBoundingClientRect){var u=e.getBoundingClientRect(),d=u.right,l=u.bottom;if(r.fixed||(d+=c(),l+=s()),0>=d||0>=l)return!1}return!0}function x(e){var t,n,r,i,o,a,u=/(auto|scroll)/,s=Gt();if(!S(e,u))for(n=zt(e,u);n&&n!==s;)t=Wt(e),r=Wt(n),i=0,o=0,t.bottom>r.bottom&&(i+=t.bottom-r.bottom,t.top-=i,t.bottom-=i),t.top<r.top&&(a=r.top-t.top,i-=a,t.top+=a,t.bottom+=a),t.right>r.right&&(o+=t.right-r.right,t.left-=o,t.right-=o),t.left<r.left&&(a=r.left-t.left,o-=a,t.left+=a,t.right+=a),n.scrollTop+=i,n.scrollLeft+=o,n=zt(n,u)}function A(e){var n=t.createElement("script"),r=t.head||t.getElementsByTagName("head")[0]||t.body;n.type="text/javascript",e.src?n.src=e.src:n.text=e.text||e.textContent||e.innerHTML||"",r.appendChild(n),r.removeChild(n)}function T(e,n){var r,i,o=this;if(e&&e instanceof T)return e;if(!(o instanceof T))return new T(e,n);if(e)if(e.nodeType)r=[e];else if(i=/^<(\w+)\/?>$/.exec(e))r=[t.createElement(i[1])];else if(/^<[\w\W]+>$/.test(e)){var a=t.createElement("div");a.innerHTML=e,r=ft.toArray(a.childNodes)}else ft.isString(e)?(n instanceof T&&(n=n.length>0?n[0]:null),r=ht(e,n)):r=[e];else r=[];return ft.each(r,function(e,t){o[t]=e}),o.context=n,o.length=r.length,o}function I(){var e=a("dataHost");return e?"https://"+e:"https://app.pendo.io"}function C(e,t){var n=(new Date).getTime();N(t,function(r){var i=fn(t+".gif",r,{v:vt,ct:n,s:e.length});lt.ajax.post(i,e,{"Content-Type":"text/plain"})})}function N(e,t){var n=[lt.apiKey];"ptm"===e&&lt.additionalApiKeys&&(n=n.concat(lt.additionalApiKeys));for(var r=0;r<n.length;r++)t(n[r],r)}function O(e){return e>=55296&&56319>=e}function k(e){return e>=56320&&57343>=e}function L(e){if(e.length<1)return e;
6var t=e.slice(-1).charCodeAt(0);if(!O(t)&&!k(t))return e;if(1===e.length)return e.slice(0,-1);if(O(t))return e.slice(0,-1);if(k(t)){var n=e.slice(-2).charCodeAt(0);if(!O(n))return e.slice(0,-1)}return e}function R(e,t){var n,r="",i=e.nodeType;if(i===Zn.TEXT_ELEMENT||i===Zn.CDATA_SECTION_NODE)return e.nodeValue;if(!sr(e)&&(i===Zn.ELEMENT_NODE||i===Zn.DOCUMENT_NODE||i===Zn.DOCUMENT_FRAGMENT_NODE))for(e=e.firstChild;e;e=e.nextSibling){if(n=R(e,t-r.length),(r+n).length>=t)return r+L(n.substring(0,t-r.length));r+=n}return r}function D(e){return parseInt(e,10)}function P(e){return"string"==typeof e}function M(e){return"undefined"==typeof e}function M(e){return"undefined"==typeof e}function B(e,t){!function n(){lt._.map(vi,function(e){e()}),si=t(n,e)}()}function U(){Oi!=yi()&&(Oi=yi(),lt._.map(bi,function(e){e(yi())}))}function F(e){return _r&&_r.sanitizeUrl&&ft.isFunction(_r.sanitizeUrl)?_r.sanitizeUrl(e):e}function G(e){return new RegExp("^("+ft.chain(e).unique().map(function(e){return e.replace(/\./g,"\\.").replace(/^https?:/,"https?:")}).value().join("|")+")$")}function j(){var e={},t=function(e,t,n){return function(){for(var r=ft.toArray(arguments),i=0,o=t.length;o>i;++i)if(t[i].apply(this,r)===!1)return;var a=e.apply(this,r);for(i=0,o=n.length;o>i&&n[i].apply(this,r)!==!1;++i);return a}};return ft.each(["after","before"],function(n){this[n]=function(r,i){if(this[r]){var o=e[r];o||(o=e[r]={before:[],after:[]},this[r]=t(this[r],o.before,o.after)),o[n].push(i)}}},this),this}function W(){return this.shouldBeAddedToLauncher=ft.wrap(this.shouldBeAddedToLauncher,function(e){return ft.any(Ua.getState(this),function(e){return e.shouldBeAddedToLauncher})||e.apply(this,arguments)}),this}function H(e){function t(e){r.lock(),Ua.show(r,e).then(n,n)}function n(){r.unlock()}var r=this;return r.isShown=function(e){return function(){return e.apply(this,arguments)||Ua.isShownInAnotherFrame(r)}}(r.isShown),r.before("show",function(n){return Ua.hasFrames()&&!Ua.isInThisFrame(e)?(t(n),!1):void 0}),r.after("show",function(n){!r.isShown()&&Ua.hasFrames()&&Ua.isInAnotherFrame(e)&&t(n),r.isShown()&&Ua.shown(r)}),r.after("hide",function(e){n(),e&&e.onlyThisFrame||Ua.hide(r,e)}),r}function z(e){if("tooltip"===this.type){var t=this;t.attributes.height=t.attributes.height||lt.TOOLTIP_DEFAULT_HEIGHT,t.attributes.width=t.attributes.width||lt.TOOLTIP_DEFAULT_WIDTH,t.attributes.layoutDir=t.attributes.layoutDir||"DEFAULT",this.getTriggers=function(e){var t=this,n=t.getGuide(),r=t.element||zo(t);if(!r&&e)return[];var i=t.advanceMethod||"",o=i.split(",");if(this.triggers=ft.map(o,function(e){return new ie(r,e,t)}),!e&&n&&n.isMultiStep&&Aa==Fa){var a=n.findSectionForStep(t),u=n.getSubSection(a,t);this.triggers=this.triggers.concat(ft.flatten(ft.map(u,function(e){return e.getTriggers?e.getTriggers(!0):[]})))}return this.triggers},this.removeTrigger=function(e){this.triggers=ft.without(this.triggers,e),0===this.triggers.length&&(this.triggers=null)},this.canShow=function(){return fe(t)?!1:!t.isShown()&&t.canShowOnPage(lt.getCurrentUrl())&&Re(t)},this.after("render",function(){var e=this;if(Bu(e,e.elements)){var t=e.element;ft.each(e.getTriggers(),function(e){e.add()});for(var n=/(auto|scroll)/,r=zt(t,n),i=Gt();r&&r!==i;)e.attachEvent(r,"scroll",ft.throttle(ft.bind(e.onscroll,e,r,n),10)),r=zt(r,n)}}),this.reposition=function(){var e=this,t=e.attributes.width,n=e.attributes.height,r=e.attributes.layoutDir,i=e.guideElement,o=T("._pendo-guide-container_",i),a=g(e.element),u=Ju(a,n,t,r);o.removeClass("top right bottom left").removeClass("_pendo-guide-container-top_ _pendo-guide-container-right_ _pendo-guide-container-bottom_ _pendo-guide-container-left_").addClass(u.arrowPosition).addClass("_pendo-guide-container-"+u.arrowPosition+"_"),T("._pendo-guide-arrow_,._pendo-guide-arrow-border_",i).remove(),Mu(i,u),i.css({top:u.top,left:u.left,height:u.height,width:u.width,position:a.fixed?"fixed":""}),e.dim=u},this.onscroll=function(e,t){var n=this,r=Wt(n.element),i=n.dim;w(r,e,t)?(i=Ju(r,n.attributes.height,n.attributes.width,i.arrowPosition),Lt(n.elements[0],"display:block;top:"+i.top+"px;left:"+i.left+"px"),n.dim=i):Lt(n.elements[0],"display:none")},this.teardownElementEvent=function(){ft.each(this.triggers,function(e){e.remove()})},this.after("hide",function(){T("._pendo-guide-tt-region-block_").remove(),Gu=null,Wu=null,zu=null})}return this}function q(){var e=this;return/lightbox/i.test(e.type)&&(e.attributes.height=e.attributes.height||lt.LB_DEFAULT_HEIGHT,e.attributes.width=e.attributes.width||lt.LB_DEFAULT_WIDTH,e.after("render",function(){sa()?cs(e,e.elements):as(e,e.elements)}),e.reposition=function(){sa()||e.guideElement.css({"margin-left":-Math.floor(e.attributes.width/2),"margin-top":-Math.floor(e.attributes.height/2)})}),e}function K(){var e=this;return"banner"===e.type&&(e.attributes.height=e.attributes.height||go,e.attributes.position=e.attributes.position||"top",e.after("render",function(){var t=e.guideElement,n=lt.TOOLTIP_ARROW_SIZE;t.css({width:""}).addClass(vo).addClass("_pendo-guide-banner-"+e.attributes.position+"_"),ca()||t.addClass("_pendo-in_"),T("._pendo-guide-container_",t).css({bottom:n,right:n}),e.element=zo(e),e.elements.push(t[0]),t.appendTo(Gt())})),e}function Z(e){function t(){return!!u.guideElement}function n(){var t=u.guideElement;t&&!v(t[0])&&(T("._pendo-launcher_ #launcher-"+u.guideId).html("").append(t),ft.isFunction(u.script)&&u.script(u,e))}function r(){var e=u.guideElement,t=u.attributes.height;e&&e.html()||(e=T("<div>").attr("id",Zo(u)).addClass("_pendo-guide-whatsnew_").html(u.getContent()),ft.isNumber(t)&&!u.attributes.autoHeight&&e.height(t),u.seenState===d&&e.addClass(c),u.guideElement=e)}function i(){ca()||t()&&u.seenState!==d&&o(u.guideElement[0])&&(Yo(u.guideId,u.id,lt.get_visitor_id(),s),u.seenState=d,ft.delay(function(){u.guideElement.addClass(c+" out")},ft.isNumber(u.attributes.seenDelay)?u.attributes.seenDelay:l))}function o(e){if(S(e,/(auto|scroll|hidden)/)){var t=zt(e),n=Wt(t),r=Wt(e),i=n.top+Math.floor(n.height/3);return r.bottom<=n.bottom||r.top<=i}}function a(){}var u=this,s="whatsnew",c="_pendo-guide-whatsnew-seen_",d="active",l=1e3;return u.type===s&&(ft.extend(u,{isShown:ft.constant(!1),launch:a,onShown:a,render:r,seen:i}),ft.extend(e,{addToLauncher:n,isReady:t}),u.after("show",i)),u}function V(e){var t=this;if(t.pollIds&&t.pollIds.length){var r,i="_pendo-poll-selected_",o=ft.indexBy(e.polls,"id"),a=ft.map(t.pollIds,function(e){return o[e]}),u=function(e,t){return e&&t!==n?e.numericResponses?parseInt(t,10):t:void 0},s=function(){var n=e.id,r=t.id;pe(n,r,lt.get_visitor_id(),t.seenReason),Mo(n,r,"advanced"),Co={guideId:n,guideStepId:r,time:(new Date).getTime(),state:"advanced"},Qo(Co)},c=function(){var e=T("._pendo-poll_"),n=T("._pendo-poll-message_");n.length?(e.addClass("_pendo-poll-submitted_"),n.css("margin-top:-"+n.height()/2+"px"),s()):t.advance()};t.after("render",function(){var e=ht("._pendo-poll_")[0],n=ht("._pendo-poll-submit_",e)[0];n?t.attachEvent(n,"click",function(n){var r=ht("._pendo-poll-question_",e);ft.each(r,function(e,n){var r=ht("textarea,input:text,select,input:radio:checked",e);if(r&&r.length&&r[0].value){var i=a[n];t.response(i,u(i,r[0].value))}}),c()}):t.attachEvent(e,"click",function(e){var n=T(ur(e)).closest("._pendo-poll-question_ :button,._pendo-poll-question_ :radio");if(n.length){var r=a[0],i=u(r,n.attr("data-pendo-poll-value")||n.attr("value"));t.response(r,i),c()}})}),t.after("render",function(){var e=ht("._pendo-poll_ ._pendo-poll-npsrating_")[0],n=T("._pendo-poll_ ._pendo-poll-submit_"),r="_pendo-poll-npsrating-selected_";e&&(n.css({display:"none"}),t.attachEvent(e,"click",function(o){var a=ht(":radio:checked",e)[0],u=T("._pendo-poll_");T("label",e).removeClass(i),u.removeClass(r),a&&(T('label[for="'+a.id+'"]').addClass(i),u.addClass(r),n.css({display:""})),ft.isFunction(t.resize)&&t.resize()}))}),t.after("show",function(){r=(new Date).getTime()}),t.response=function(e,n){var i=me("pollResponse",t.guideId,t.id,lt.get_visitor_id());ft.extend(i.props,{poll_id:e.id,poll_response:n,duration:(new Date).getTime()-r}),vn("poll",{ct:(new Date).getTime(),v:vt,jzb:lt.squeezeAndCompress([i])})}}return t}function X(e){var t=!1;return this.guide=e,this.elements=[],this.handlers=[],this.attributes=this.attributes||{},this.getGuide=function(){return this.guide},this.getContent=function(){var e=this,t=this.getGuide(),n=t&&t.steps||[],r=ft.indexOf(n,e),i=ji();ft.isObject(i)||(i=Bi());try{var o=e.attributes.variables||{},a={step:{id:e.id,isFirst:0===r,isLast:r===n.length-1,index:r,number:r+1},guide:{id:t.id,name:t.name,publishedAt:t.publishedAt,showsAfter:t.showsAfter,percentComplete:n.length?Math.round((r+1)/n.length*100):0,stepCount:n.length},metadata:Et(i),template:o};return e.template||(e.template=ft.template(e.content||"")),e.template(a).replace(/#_pendo_g_undefined/g,"#_pendo_g_"+e.id).replace(/pendo-src="([^"]+)"/g,function(e,t){return/<%=[^>]+>/.test(t)?e:'src="'+t+'"'})}catch(u){return e.content}},this.isLocked=function(){return t},this.lock=function(){t=!0},this.unlock=function(){t=!1},this.isShown=function(){return this.elements.length>0||this.isLocked()},this.canShow=function(){var e=this;return!e.isShown()&&e.canShowOnPage(lt.getCurrentUrl())&&Ko(e)},this.canShowOnPage=function(e){return lt.testUrlForStep(this.regexUrlRule,e)},this.shouldAutoDisplay=function(){return!ft.contains(["dismissed","advanced"],this.seenState)},this.autoDisplay=function(){var e=this;e.shouldAutoDisplay()&&e.show("auto")},this.render=function(){var t=this,n=t.attributes.width,r=t.attributes.height,i=lt.TOOLTIP_ARROW_SIZE,o="_pendo-group-id-"+e.id+"_",a=T("<div>").attr("id",Zo(t)).addClass(To+" "+o),u=T("<div/>").addClass("_pendo-guide-content_").html(t.getContent()),s=T("<div/>").addClass("_pendo-guide-container_");a.width(n),a.height(r),s.css({left:i,top:i}),t.isEditable&&u.attr("contenteditable","true"),u.appendTo(s),s.appendTo(a),e&&ft.isFunction(e.isOnboarding)&&e.isOnboarding()&&a.addClass("_pendo-onboarding_"),t.guideElement=a},this.teardown=function(){Pr("guide step teardown","guide","render"),ft.each(this.handlers,function(e){gr(e.element,e.type,e.fn,!0)}),this.handlers.length=0},this.show=function(t){var n=this;e.canShowOnDevice()&&n.canShow()&&(n.render(),n.isShown()&&n.onShown(t))},this.onShown=function(t){var n=this;n.overrideElement&&T.addClass(n.overrideElement,"triggered"),ca()||(n.seenReason=t,n.seenState="active",No=(new Date).getTime(),Yo(n.guideId,n.id,lt.get_visitor_id(),t),ft.isFunction(n.script)&&n.script(n,e))},this.hide=function(e){var t=this;t.teardown(),ft.each(t.elements,function(e){e.parentNode.removeChild(e)}),t.attributes&&e&&e.stayHidden&&(t.attributes.stayHidden=e.stayHidden
6),t.elements.length=0,t.element=null,t.guideElement=null,t.overrideElement&&T.removeClass(t.overrideElement,"triggered"),is()},this.advance=function(){"advanced"!==this.seenState&&lt.onGuideAdvanced(this)},this.dismiss=function(){"dismissed"!==this.seenState&&lt.onGuideDismissed(this)},this.isPoweredByEnabled=function(){return this.hideCredits!==!0},this.attachEvent=function(e,t,n){var r={element:e,type:t,fn:n};pr(e,t,n,!0),this.handlers.push(r)},this.searchFor=function(e){return e.length<3?!1:xt(this.content,e,!0)},this.hasBeenSeen=function(){return"advanced"==this.seenState||"dismissed"==this.seenState},this.reposition=function(){},this}function J(){var e=this;if(e.attributes&&e.attributes.autoHeight){var t=function(){return"tooltip"==e.type||Yi()&&"lightbox"==e.type};e.after("render",function(){e.resize(),e.attachEvent(e.guideElement[0],"load",function(){e.resize()})}),e.resize=function(){var n=lt.TOOLTIP_ARROW_SIZE,r=e.guideElement,i=T("._pendo-guide-container_",r);t()?i.css({width:e.attributes.width-2*n,height:""}):i.css({right:n,bottom:""}),e.attributes.height=i.height()+2*n,r.height(e.attributes.height),e.reposition()}}return e}function $(e){var t=this;return t.after("render",function(){ko(t.guideElement[0],function(){(!e.isOnboarding()||confirm("Are you sure you want to stop this tutorial?"))&&lt.onGuideDismissed(t)})}),t}function Y(){var e=this;return e.hideCredits||e.after("render",function(){lt._addCredits(e.guideElement[0])}),e}function Q(){if(this.isMultiStep){ft.each(this.steps,function(e){e.after("render",function(){ft.each(e.elements,function(e){T(e).addClass("_pendo-guide-walkthrough_")})})});var e=function(e,t){if(!e)return!0;var n=ft.last(e);return n.attributes.isRequired!=t.attributes.isRequired&&n.attributes.isRequired?!0:!1},t=null;this.sections=ft.reduce(this.steps,function(n,r){return e(t,r)?(n.push(t),t=[r]):t.push(r),n},[]),this.sections=ft.compact(this.sections.concat([t])),this.findSectionForStep=function(e){return ft.find(this.sections,function(t){return ft.contains(t,e)})},this.getSubSection=function(e,t){var n=ft.indexOf(e,t);return e.slice(n+1)},this.isContinuation=function(e){return!!this.nextStep(e)};var n=432e5;this.nextStep=function(e){for(var t=null,r=this,i=0;i<r.steps.length;i++)if(r.steps[i].id===e.guideStepId){if("dismissed"===e.state)break;if("active"===e.state){t=r.steps[i];break}if(i+1<r.steps.length){t=r.steps[i+1];break}}if(t){var o=(new Date).getTime(),a=e.time;return a&&o-a>n&&!$a(r)?(Pr("Multi-step continuation has expired","guides","info"),null):t}return null},this.shouldAutoDisplay=function(){var e=this,t=e.nextStep(Co)||ft.first(e.steps);return e.hasLaunchMethod("auto")&&t&&t.shouldAutoDisplay()},this.autoDisplay=function(){var e=this;if(e.shouldAutoDisplay()){var t=e.nextStep(Co)||ft.first(e.steps);t.autoDisplay()}},this.launch=function(e){var t=ft.first(this.steps);t.show(e)},this.show=function(e){var t=this,n=t.nextStep(Co)||ft.first(t.steps);n.show(e)},this.isComplete=function(){var e=["advanced","dismissed"],t=ft.last(this.steps);return t?ft.contains(e,t.seenState):!1},this.activeStep=function(){var e=[].concat(this.steps).reverse();return ft.findWhere(e,{seenState:"active"})}}return this}function ee(){var e=this;return e.attributes&&"group"==e.attributes.type&&(e.checkForHiddenGroupSteps=function(){ft.each(e.steps,function(e){e.isShown()||e.autoDisplay()})}),e}function te(){function e(e){var n=[];return function(r){try{return r.apply(t,ft.toArray(arguments).slice(1))}catch(i){var o=5,a="ERROR in guide "+e+' (ID="'+t.id+'")';if(n.push(u()),n.length>=o){var s=ft.last(n)-ft.first(n),c=s>0?(n.length-1)/(s/6e4):1/0;if(c>=te.MAX_ERRORS_PER_MINUTE){a="Exceeded error rate limit, dropping guide.\n"+a;var d=de(),l=ft.indexOf(d,t);l>=0&&d.splice(l,1)}n.shift()}throw mn(i,a),i}}}var t=this;return ft.each(["canShow","placeBadge","show"],function(n){t[n]=ft.wrap(t[n],e(n))}),t}function ne(){if(this.elements=[],this.attributes=this.attributes||{},this.attributes.device&&this.attributes.device.type)if("all"==this.attributes.device.type)this.attributes.device={desktop:!0,mobile:!0};else{var e=this.attributes.device.type;this.attributes.device={mobile:!1,desktop:!1},this.attributes.device[e]=!0}else this.attributes.device=this.attributes.device||{};ft.each(this.steps,function(e){"mobile-lightbox"===e.type&&(this.attributes.device.desktop=!1,this.attributes.device.mobile=!0),X.create(e,this)},this),this.isActivatedByEvent=function(e){var t=this;return!!(t.hasLaunchMethod("dom")&&t.attributes&&t.attributes.activation&&ft.contains(t.attributes.activation.event,e))},this.isContinuation=function(e){return!1},this.isOnboarding=function(){return $a(this)},this.isWhatsNew=function(){var e=ft.first(this.steps);return e&&"whatsnew"===e.type},this.isHelpGuide=function(){return!this.isOnboarding()&&!this.isWhatsNew()},this.nextStep=function(e){return null},this.hasLaunchMethod=function(e){return this.launchMethod&&this.launchMethod.indexOf(e)>=0},this.shouldAutoDisplay=function(){var e=this;return e.hasLaunchMethod("auto")&&ft.any(e.steps,function(e){return e.shouldAutoDisplay()})},this.autoDisplay=function(){var e=this;e.shouldAutoDisplay()&&ft.each(e.steps,function(e){e.autoDisplay()})},this.isShown=function(){return ft.any(this.steps,function(e){return e.isShown()})},this.canShowOnDevice=function(){var e=this;if(!ca()){var t=sa(),n=!t,r=e.attributes&&e.attributes.device||{};if(n&&r.desktop===!1)return!1;if(t&&r.mobile!==!0)return!1}return!0},this.canShow=function(){var e=this;return e.canShowOnDevice()&&ft.any(e.steps,function(e){return e.canShow()})},this.launch=function(e){var t=this;t.show(e),t.isShown()&&ft.each(t.steps,function(e){e.seenState="active"})},this.show=function(e){var t=this;ft.each(t.steps,function(t){t.show(e)})},this.checkForHiddenGroupSteps=function(){},this.hide=function(e){var t=this;ft.each(t.steps,function(t){t.hide(e)})},this.hasBeenSeen=function(){var e=this;return ft.all(e.steps,function(e){return e.hasBeenSeen()})},this.canBadgeBeShown=function(){var e=this.attributes.badge;return e.isOnlyShowOnce&&this.hasBeenSeen()?!1:!0},this.placeBadge=function(){if(this.canShowOnDevice()&&this.hasLaunchMethod("badge")&&this.canBadgeBeShown()){var e=ft.first(this.steps);e&&ft.isFunction(e.fetchContent)&&e.fetchContent(),Au(this)}else Cu(this)},this.findStepById=function(e){return ft.find(this.steps,function(t){return t.id===e})},this.isPoweredByEnabled=function(){return!!ft.find(this.steps,function(e){return e.isPoweredByEnabled()})},this.searchFor=function(e){var t=this,n=null;if(xt(this.name,e,!0))n="name";else{var r=[],i=!1;if(this.attributes&&this.attributes.launcher&&this.attributes.launcher.keywords&&(r=this.attributes.launcher.keywords),r.length>0&&(i=ft.find(r,function(t){return xt(t.text,e,!0)})),i)n="tag";else{var o=ft.map(this.steps,function(t){return t.searchFor(e)}),a=ft.compact(o).length>0;a&&(n="content")}}return n?{guide:t,field:n}:!1},this.shouldBeAddedToLauncher=function(){var e=this;if(!e.steps||!e.steps.length)return!1;var t=e.steps[0];return(e.hasLaunchMethod("launcher")||e.isWhatsNew())&&t.canShowOnPage(lt.getCurrentUrl())&&e.canShowOnDevice()&&Ko(t)?!0:!1};var t="PENDO_HELPER_STEP";return this.getPositionOfStep=function(e){var n=this,r=ft.reject(n.steps,function(e){return xt(e.content,t)});return ft.indexOf(r,e)+1},this.getTotalSteps=function(){var e=this,n=ft.reject(e.steps,function(e){return xt(e.content,t)});return n.length},this.isComplete=function(){var e=["advanced","dismissed"];return ft.all(this.steps,function(t){return ft.contains(e,t.seenState)})},this.isInProgress=function(){var e=["active","advanced","dismissed"];return!this.isComplete()&&ft.any(this.steps,function(t){return ft.contains(e,t.seenState)})},this.isOnboarding=function(){return $a(this)},this.fetchContent=function(){return bt.all(ft.map(this.steps,function(e){return ft.isFunction(e.fetchContent)?e.fetchContent():void 0}))},this}function re(e){return ne.create(e)}function ie(e,t,n){this.element=e,"element"==t?this.method="click":"hover"==t?this.method="mouseover":this.method=t,this.step=n,this.guide=n.getGuide()}function oe(e){var t=bt.defer();return lt.loadResource(e,function(){t.resolve()}),t.promise}function ae(e,t){return ft.size(lt.events._handlers.validateGlobalScript)>0?lt.ajax.get(t).then(function(e){return lt.events.validateGlobalScript(e.data)}).then(function(){return e(t)}):e(t)}function ue(e,t){return t?e(t):bt.resolve()}function se(){var e=a("contentHost"),t=Si()+"//";return e?t+e:t+"cdn.pendo.io"}function ce(){var e=se();return/local\.pendo\.io/.test(e)?e+"/dist/guide.css":e+"/agent/releases/2.11.10/guide.css"}function de(){return Ao}function le(e){ft.each(de(),function(t){ft.isFunction(t.isShown)&&t.isShown()&&t.hide(e)})}function fe(e){return e&&e.attributes&&e.attributes.stayHidden}function he(e,t,n,r){var i=me({type:"guideDismissed",guideId:e,stepId:t,visitorId:n,seen_reason:r});na(i)}function pe(e,t,n,r){var i=me({type:"guideAdvanced",guideId:e,stepId:t,visitorId:n,seen_reason:r});na(i)}function ge(e){ft.isFunction(e.getTime)&&(e=e.getTime()),lt.latestDism
6issedAutoAt=e,lt._set_cookie("latestDismissedAutoAt",e,1e4)}function ve(e){ft.isFunction(e.getTime)&&(e=e.getTime()),lt.finalAdvancedAutoAt=e,lt._set_cookie("finalAdvancedAutoAt",e,1e4)}function me(e,t,n,r,i){var o=e;"object"!=typeof o&&(o={type:e,guideId:t,stepId:n,visitorId:r}),i&&(o.reason=i);var a=ft.extend({guide_id:o.guideId,guide_step_id:o.stepId},ft.omit(o,"type","guideId","stepId","visitorId"));return{type:o.type,visitor_id:o.visitorId,account_id:lt.get_account_id(),browser_time:(new Date).getTime(),url:lt.url.externalizeURL(),props:a}}function ye(e,t){var t=parseInt(t,10);return isNaN(t)||!ft.isNumber(t)?e:ft.isNumber(e)&&t>e?t:ft.isNumber(e)?e:t}function be(e){return ft.each(e,function(e,t){e.attributes||(e.attributes={}),(isNaN(e.attributes.priority)||!ft.isNumber(e.attributes.priority))&&(e.attributes.priority=t)}),e.sort(function(e,t){return t.attributes.priority-e.attributes.priority}),e}function we(e){var t=ft.find(e,function(e){return ft.isFunction(e.isShown)&&e.isShown()});if(!t)return function(){};var n=ft.chain(t.steps).filter(function(e){return e.isShown()}).indexBy("id").value();return function(e){var r=ft.findWhere(e,{id:t.id});r&&ft.each(r.steps,function(e){var t=n[e.id];t&&(e.seenState&&"active"!==e.seenState||e.show(t.seenReason))})}}function _e(e,n){var r=t.getElementById(e);if(r&&r.href&&r.href.indexOf(n)>=0)return bt.resolve();var i=bt.defer();T(r).remove();var o=lt.loadResource(n+"?ct="+u(),function(){i.resolve()});return o.id=e,i.promise}function Ee(){var e=[];e.push(_e("_pendo-default-css_",ce()));var t=lt.guideWidget||{},n=t.data||{},r=n.guideCssUrl,i="_pendo-css_";return r?e.push(_e(i,r)):T("#"+i).remove(),bt.all(e)}function Se(){var e="click",n="mouseover",r="dblclick",i=xe(e),o=ft.throttle(xe(n),100,{trailing:!1}),a=xe(r);return pr(t,e,i,!0),pr(t,n,o,!0),pr(t,r,a,!0),function(){gr(t,e,i,!0),gr(t,n,o,!0),gr(t,r,a,!0)}}function xe(e){function t(t,n){var r={click:"element",hover:"mouseover"}[e]||e;if(!t.advanceMethod||t.advanceMethod.indexOf(r)<0)return!1;if(!t.elementPathRule||!t.element)return!1;var i=t.element||ht(t.elementPathRule)[0];return i&&(i===n||ht.contains(i,n))}return function(n){if(!ma()&&!ya()){var r=ur(n),i=ft.chain(de()).filter(function(e){return e.steps&&e.steps.length}).filter(function(t){return ft.isFunction(t.isActivatedByEvent)&&t.isActivatedByEvent(e)}).find(function(e){var t=e.attributes.activation.selector?e.attributes.activation.selector:e.steps[0].elementPathRule;return t&&T(r).closest(t).length}).value();if(i){var o=ft.first(i.steps);
6o.isShown()?!ie.shouldAttachHandler(i,e)&&t(o,r)&&o.advance():$o(o,"dom")}}}}function Ae(){var e=yu();ft.each(e.steps,function(t){Te(e.guide,t)}),e.guide.checkForHiddenGroupSteps()}function Te(e,t){if(!t.isLocked()&&!Ua.isShownInAnotherFrame(t)){var n=t.element,r=T("."+To);return n&&(S(n)||r.hasClass("mouseover"))?void("tooltip"==t.type&&Xu(t)):void("tooltip"===t.type&&Me(n)||t.hide())}}function Ie(e,n){var r=xu(n),i=t.createElement("img");i.id="_pendo-badge_"+n.id,i.src=this.imageUrl,i.className="_pendo-badge "+Su;var o=this.width||13,a=this.height||13,u="width:"+o+"px;height:"+a+"px;";return Lt(i,u),this.activate=function(){n.isShown()?n.advance():$o(n,"badge")},this.show=function(){},this.hide=function(){i&&i.parentNode&&i.parentNode.removeChild(i)},this.step=ft.constant(n),this.target=ft.constant(r),this.element=ft.constant(i),this}function Ce(){return"inline"===this.position&&this.before("show",function(){var e=this.target(),t=this.element();if(this.css&&Lt(t,this.css),e&&e.tagName){var n=e.tagName.toLowerCase();/br|input|img|select|textarea/.test(n)?e.parentNode.insertBefore(t,e.nextSibling):e.appendChild(t)}}),this}function Ne(){return this.position&&"top-right"!==this.position&&"top-left"!==this.position||this.before("show",function(){var e=this.element(),t=g(this.target()),n=0,r=0,i=0;this.offsets&&(n=this.offsets.top||0,r=this.offsets.right||0,i=this.offsets.left||0);var o="position:"+(t.fixed?"fixed":"absolute")+";top:"+(t.top+n)+"px;";switch(this.position){case"top-right":o+="left:"+(t.left+t.width-r)+"px";break;case"top-left":o+="left:"+(t.left+i)+"px"}Lt(e,o),e.parentNode||T.getBody().appendChild(e)}),this}function Oe(){var e=this,t=e.element(),n=!1,r=function(t){e.activate(),vr(t)};return e.after("show",function(){n||(pr(t,"click",r),n=!0)}),e.after("hide",function(){gr(t,"click",r),n=!1}),e}function ke(){var e=this,n=e.element(),r=e.step(),i=!1;if("yes"===e.useHover){var o=function(e){for(;e;){if(/_pendo-guide_|_pendo-backdrop_/.test(e.className))return!0;e=e.parentNode}return!1},a=ft.throttle(function(e){ur(e)===n||o(ur(e))||s()},50,{trailing:!1}),u=function(e){r.isShown()||$o(r,"badge"),pr(t,"mousemove",a),vr(e)},s=function(){gr(t,"mousemove",a),r.hide()};e.after("show",function(){i||(pr(n,"mouseover",u),i=!0)}),e.after("hide",function(){gr(n,"mouseover",u),gr(t,"mousemove",a),i=!1})}return e}function Le(){var e=this,n=e.element(),r=e.target(),i=!1;if(/hover/.test(e.showOnEvent)&&!ca()){var o="inline"===e.position?"visibility:visible;":"display:inline;",a="inline"===e.position?"visibility:hidden;":"display:none;",u=function(e,t){var i=Wt(r),o=Wt(n),a={left:Math.min(i.left,o.left),top:Math.min(i.top,o.top),right:Math.max(i.right,o.right),bottom:Math.max(i.bottom,o.bottom)};return e>=a.left&&e<=a.right&&t>=a.top&&t<=a.bottom},s=ft.throttle(function(e){ur(e)===r||ur(e)===n||At(n,"triggered")||u(e.clientX,e.clientY)||d()},50,{trailing:!1}),c=function(){Lt(n,o),pr(t,"mousemove",s)},d=function(){gr(t,"mousemove",s),Lt(n,a)};e.after("show",function(){i||(pr(r,"mouseover",c),i=!0,d())}),e.after("hide",function(){i&&(gr(r,"mouseover",c),i=!1),d()})}return e}function Re(e){var t=zo(e);return Ko(e)||Me(t)}function De(e,t,n){var r={},i=t.top-e.top,o=t.left-e.left;r.top=i-n,r.left=o-n,r.height=t.height+2*n,r.width=t.width+2*n;var a={left:0,top:0};return l()&&(a=d(),r.left+=c(),r.top+=s()),r.bottom=r.top+r.height,r.right=r.left+r.width,{north:{height:Math.max(r.top,0),left:-a.left,top:-a.top,right:0},east:{top:r.top-a.top,bottom:0,right:0,left:r.right-a.left},south:{top:r.bottom-a.top,width:Math.max(r.right,0),bottom:0,left:-a.left},west:{top:r.top-a.top,height:Math.max(r.height,0),left:-a.left,width:Math.max(r.left,0)}}}function Pe(e){var t=ft.reduce(e,function(e,t){if(!S(t))return e;var n=Wt(t);return e.fixed=e.fixed&&n.fixed,ft.each([["top",Uu],["right",Fu],["bottom",Fu],["left",Uu]],function(t){
7var r=t[0],i=t[1];(!e[r]||i(n[r],e[r]))&&(e[r]=n[r])}),e},{fixed:!0});t.height=t.bottom-t.top,t.width=t.right-t.left;var n=d();return t.fixed||(t.left+=n.left,t.right+=n.left,t.top+=n.top,t.bottom+=n.top),t.fixed=!!t.fixed,t}function Me(e){var t,n,r,i,o,a=/(auto|scroll)/,u=/(auto|scroll|hidden)/,s=Gt(),c=Wt(e),d=zt(e,u);if(!E(e))return!1;for(;d&&d!==s;){if(t=Wt(d),o=b(d,a),o!==qt.NONE&&(n=0,r=0,(o===qt.Y||o===qt.BOTH)&&(c.bottom>t.bottom&&(n+=c.bottom-t.bottom,c.top-=n,c.bottom-=n),c.top<t.top&&(i=t.to
7p-c.top,n-=i,c.top+=i,c.bottom+=i)),(o===qt.X||o===qt.BOTH)&&(c.right>t.right&&(r+=c.right-t.right,c.left-=r,c.right-=r),c.left<t.left&&(i=t.left-c.left,r-=i,c.left+=i,c.right+=i))),!w(c,d,u))return!1;d=zt(d,u)}return!0}function Be(){function e(e){return r.text?(e||"").replace(new RegExp(r.text,"gi"),"<strong>$&</strong>"):e}function t(){T(fs).each(function(){this.value=""})}var n=this,r={text:"",highlight:e,clear:t};return n.data&&n.data.enableSearch&&n.data.enableSearch&&(n.data.search=r,n.before("update",je),n.before("update",function(){r.text=Ge().join(" ");var e=T("._pendo-launcher_");r.text?e.addClass(ds):e.removeClass(ds)})),n}function Ue(){if(!lt.guideWidget)return!1;var e=lt.guideWidget.data;return!!e&&!!e.enableSearch}function Fe(){return Ge().length>0}function Ge(){if(!Ue())return[];var e=T(fs)[0];if(!e)return[];var t=e.value;return t.length>0?(t=Wn.call(t),[].concat(ft.compact(t.split(" ")))):[]}function je(e){return bt.all(ft.map(e,function(e){return e.fetchContent()}))}function Ue(){if(!lt.guideWidget)return!1;var e=lt.guideWidget.data;return!!e&&!!e.enableSearch}function We(e){var t=Ge();if(0===t.length)return e;var n=ft.map(t,ft.partial(He,e));return n=ft.union.apply(ft,n)}function He(e,t){function n(e){return e.searchFor(t)}function r(e){var t=["tag","name","content"];return ft.indexOf(t,e.field)}return Pr("doing search on "+t,"launcher","search","guides"),e=e||de(),t&&0!==t.length?ft.chain(e).filter(As).map(n).compact().sortBy(r).pluck("guide").value():e}function ze(e){var t=ft.filter(e||de(),As);return We(t)}function qe(e){return St(ft.map(e,function(e){var t=e.isWhatsNew()?[]:ft.pluck(e.steps,"seenState");return{id:e.id,seenState:t}}))}function Ke(e){function n(e){var n=e.position||"bottom-right",r=t.createElement("img");s.element=r,T(r).addClass("_pendo-launcher-badge_").addClass("_pendo-launcher-badge-"+n+"_"),r.src=e.launcherBadgeUrl,Yi()&&(pr(r,"mouseover",function(e){T(r).addClass("_pendo-launcher-badge-active_")}),pr(r,"mouseout",function(e){T(r).removeClass("_pendo-launcher-badge-active_")}),T(r).css({position:"absolute"})),T.getBody().appendChild(r)}function r(){"badge"===c&&T(s.element).css("display: ;")}function i(){T(s.element).css("display: none;")}function o(){var e=s.element;if(e&&/^img$/i.test(e.nodeName)){var t=T("<div>").addClass(e.className).append(e).appendTo(Gt());e.className="",s.element=t[0]}}function a(){T.removeNode(s.element)}function u(e){e?T(s.element).addClass(ys):T(s.element).removeClass(ys)}var s=this,c=e.launchType?e.launchType:"badge";ft.extend(s,{show:r,hide:i,wrap:o,dispose:a,setActive:u}),n(e)}function Ze(e){function n(){return T(r())[0]}function r(){return"element"===e.launchType&&e.launchElement?e.launchElement:"._pendo-launcher-badge_"}function i(e){pr(t,"click",o)}function o(e){var t=ur(e),n=r(),i=T(t).closest(n);i.length&&(Ls()?cn("launcher-closed","yes",864e6):lt.guideWidget.position(t),Ms())}function a(){gr(t,"click",o),e&&e.whatsnew&&e.whatsnew.enabled&&nt()}var u=this;lt.guideWidget.removeCountBadge=function(){T("._pendo-launcher-whatsnew-count_").remove()},e&&e.elementMatch&&(e.launchElement=e.elementMatch.selection),ft.extend(u,{getLauncherTarget:n,dispose:a}),i(e)}function Ve(){var e,t="bottom-right",n="bottom-left",r="top-left",i="top-right";return this.update=function(t){var n=ze(t),r=qe(n)+St(Ge());return r!==e&&(e=r,this.updateLauncherContent(n)),Es(),n.length>0},this.updateLauncherContent=tt,this.guideStatus=function(e){return e.isComplete()?"complete":e.isInProgress()?"in-progress":"not-started"},this.render=function(){var e=this.data||{};gs=new Ke(e);var t=e.height||ps;e.enableSearch&&(t+=Yi()?50:39),this&&!this.hidePoweredBy&&(t+=40),e.addHeight&&(t+=e.addHeight),this.height=t;var n=e.width||hs;e.addWidth&&(n+=e.addWidth),this.width=n;var r=T("<div>").addClass("_pendo-launcher_");vs=r[0];var i=g(gs.element),o=Ju(i,t,n);r.css({width:n,height:t});var a=lt.TOOLTIP_ARROW_SIZE,u=T("<div/>").addClass("_pendo-guide-container_ "+o.arrowPosition).addClass("_pendo-guide-container-"+o.arrowPosition+"_").css({top:a,left:a,width:n-2*a,height:t-2*a}).appendTo(r),s=Cs(),c=$e(this.template(s)),d=T("<div/>").addClass("_pendo-guide-content_").html(c).appendTo(u);if(e.addUISection&&e.addUISection(r[0]),lt._addCloseButton(r[0],function(){Ms(),cn("launcher-closed","yes",288e5)}),d.on("click",function(e){var t=T(ur(e)).closest("._pendo-launcher-item_");if(t&&t.length){var n=/^launcher-(.+)$/.exec(Wn.call(t.attr("id"))),r
7=n&&n[1],i=Ro(r);i&&!i.isWhatsNew()&&($o(i.steps[0],"launcher"),Ms(),vr(e))}}),Yi()&&(T("._pendo-launcher-header_",r).css({padding:"10px","margin-right":"10px","margin-left":"10px"}),T("._pendo-launcher-footer_",r).css({"border-top":"1px solid #bbb"}),r.css({position:"absolute"})),r.find("[pendo-style]").each(function(){var e=this.getAttribute("pendo-style");T(this).css(e)}),r.appendTo(T.getBody()),ft.isFunction(this.script)&&this.script(this),e.autoHeight){r.css({display:"block",visibility:"hidden"});var l=lt.TOOLTIP_ARROW_SIZE;u.css({width:n-2*l,height:""}),t=o.height=u.height()+2*l,r.css({height:t,display:"",visibility:""})}},this.position=function(e){if(e){var o=this.data,a=g(e),u=Ju(a,this.height,this.width),s=T(vs),c=o.launchType?o.launchType:"badge";if("badge"===c){var d=o.position,l=[t,n,r,i];ft.indexOf(l,o.position)<0&&(d=t),ft.each(l,function(e){s.removeClass("_pendo-launcher-"+e+"_")}),s.addClass("_pendo-launcher-"+d+"_"),u.arrow=u.arrow||{},u.arrowPosition=ft.contains([t,n],d)?"bottom":"top",u.arrow.hbias=ft.contains([n,r],d)?"left":"right",u.arrow.floating=!1}else"element"===c&&s.css({top:u.top,left:u.left,height:u.height,width:u.width,position:a.fixed?"fixed":"absolute"});T("._pendo-guide-arrow_,._pendo-guide-arrow-border_",s).remove(),Qu(u,a,{width:1/0,height:1/0}),Mu(s[0],u),s.find("._pendo-guide-container_").removeClass("top left bottom right").addClass(u.arrowPosition)}},this.toggle=Ms,this}function Xe(){var e=this;if(e.data&&e.data.onboarding){var t=e.onboarding=e.onboarding||{};e.before("update",function(n){var r=ft.filter(n,$a),i=ft.filter(r,function(t){return"complete"==e.guideStatus(t)}),o=t.total=r.length;t.percentComplete=o>0?Math.round(i.length/o*100):0;var a=T("._pendo-launcher_,._pendo-launcher-badge_");o?(a.addClass("onboarding"),a.addClass("_pendo-launcher-onboarding_")):(a.removeClass("onboarding"),a.removeClass("_pendo-launcher-onboarding_"))}),e.getOnboardingState=vu}return e}function Je(){function e(e,r){var i=t(e,r);return 0===i?n(e,r):i}function t(e,t){var n=e.showsAfter||e.publishedAt||0,r=t.showsAfter||t.publishedAt||0;return r-n}function n(e,t){var n=e.name.toLowerCase(),r=t.name.toLowerCase();return n>r?1:r>n?-1:0}var r=this,i=T("<div>").addClass("_pendo-launcher-whatsnew-count_");return r.data&&r.data.whatsnew&&r.data.whatsnew.enabled&&(r.before("updateLauncherContent",function(t){var n=ft.filter(t,function(e){return e.isWhatsNew()});n.sort(e),r.data.whatsnew.guides=n}),r.after("update",function(e){var t=r.data.whatsnew.guides;ft.each(t,function(e){e.show()}),ft.find(t,function(e){return e.isReady()?void e.addToLauncher():!0});var n=ft.filter(t,function(e){return"active"!==e.steps[0].seenState}).length;n!==r.data.whatsnew.unseenCount&&(i.html(n).css({display:n?"":"none"}),r.data.whatsnew.unseenCount=n)}),r.after("render",function(){Ts()?i.appendTo(this.data.launchElement):(gs.wrap(),i.appendTo(gs.element))})),r}function $e(e){return ft.isString(e)&&(e=e.replace(/\s+(style)=/gi," pendo-style=")),e}function Ye(e,t){var n=e&&e.data,r=ft.find(t,function(e){var t=ft.first(e.steps);return t&&"launcher"===t.type});if(r&&n){var i=ft.first(r.steps);n.id=i.guideId+i.id,ft.extend(n,ft.pick(i,"contentUrl","contentUrlCss","contentUrlJs"),i.attributes)}return e}function Qe(e){var t=e&&e.data||{};return t.contentUrlJs||t.contentUrl?po.load(t).then(function(n){return t.template=n.content,ft.extend(e,n)}):bt.resolve()}function et(e,t){if(!ms){bs=new Ze(e);var n=Ve.create(lt.guideWidget);return ft.isFunction(n.template)||(n.template=e.template?ft.template(e.template):ws),n.render(),n.position(bs.getLauncherTarget()),t&&n.toggle(),n}}function tt(e){var t=lt.guideWidget,n=t.template||ws,r=Cs(e),i=T("<div>").html($e(n(r))),o=i.find("._pendo-launcher-guide-listing_"),a=i.find("._pendo-launcher-footer_").html(),u=i.find("._pendo-launcher-search-results_").html();T("._pendo-launcher_ ._pendo-launcher-guide-listing_").each(function(e,t){T(e).html(o.eq(t).html())}),T("._pendo-launcher_ ._pendo-launcher-footer_").html(a),T("._pendo-launcher_ ._pendo-launcher-search-results_").html(u)}function nt(){T("._pendo-launcher-whatsnew-count_").remove()}function rt(e){e=e||!1;var t="true"===an("debug-enabled");return e?t:t?"Yes":"No"}function it(){rt(!0)&&!Vi()&&(lt.debugging=Gs,lt.loadResource(se()+"/debugger/pendo-client-debugger.js",function(){Pr("Debug module loaded")}))}function ot(e){return rt(!0)?e?Gs:"debugging already enabled":(sn("debug-enabled","true"),it(),e?Gs:"debugging enabled")}function at(){return rt(!0)?(sn("debug-enabled","false"),lt.debugging=null,delete lt.debugging,"debugging disabled"):"debugging already disabled"}function ut(e){Pr(e,"debug")}function st(){return xr()?void lt.log("already running"):(e.pendo_options&&Er(e.pendo_options),Sr(),void Gn(Tn))}if(!e.pendo||!e.pendo.VERSION){var ct={};(function(){var e=ct,t=e._,n=Array.prototype,r=Object.prototype,i=Function.prototype,o=n.push,a=n.slice,u=n.concat,s=r.toString,c=r.hasOwnProperty,d=Array.isArray,l=Object.keys,f=i.bind,h=function(e){return e instanceof h?e:this instanceof h?void(this._wrapped=e):new h(e)};
7e._=h,h.VERSION="1.7.0-pendo";var p=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}};h.iteratee=function(e,t,n){return null==e?h.identity:h.isFunction(e)?p(e,t,n):h.isObject(e)?h.matches(e):h.property(e)},h.each=h.forEach=function(e,t,n){if(null==e)return e;t=p(t,n);var r,i=e.length;if(i===+i)for(r=0;i>r;r++)t(e[r],r,e);else{var o=h.keys(e);for(r=0,i=o.length;i>r;r++)t(e[o[r]],o[r],e)}return e},h.map=h.collect=function(e,t,n){if(null==e)return[];t=h.iteratee(t,n);for(var r,i=e.length!==+e.length&&h.keys(e),o=(i||e).length,a=Array(o),u=0;o>u;u++)r=i?i[u]:u,a[u]=t(e[r],r,e);return a};var g="Reduce of empty array with no initial value";h.reduce=h.foldl=h.inject=function(e,t,n,r){null==e&&(e=[]),t=p(t,r,4);var i,o=e.length!==+e.length&&h.keys(e),a=(o||e).length,u=0;if(arguments.length<3){if(!a)throw new TypeError(g);n=e[o?o[u++]:u++]}for(;a>u;u++)i=o?o[u]:u,n=t(n,e[i],i,e);return n},h.reduceRight=h.foldr=function(e,t,n,r){null==e&&(e=[]),t=p(t,r,4);var i,o=e.length!==+e.length&&h.keys(e),a=(o||e).length;if(arguments.length<3){if(!a)throw new TypeError(g);n=e[o?o[--a]:--a]}for(;a--;)i=o?o[a]:a,n=t(n,e[i],i,e);return n},h.find=h.detect=function(e,t,n){var r;return t=h.iteratee(t,n),h.some(e,function(e,n,i){return t(e,n,i)?(r=e,!0):void 0}),r},h.filter=h.select=function(e,t,n){var r=[];return null==e?r:(t=h.iteratee(t,n),h.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r)},h.reject=function(e,t,n){return h.filter(e,h.negate(h.iteratee(t)),n)},h.every=h.all=function(e,t,n){if(null==e)return!0;t=h.iteratee(t,n);var r,i,o=e.length!==+e.length&&h.keys(e),a=(o||e).length;for(r=0;a>r;r++)if(i=o?o[r]:r,!t(e[i],i,e))return!1;return!0},h.some=h.any=function(e,t,n){if(null==e)return!1;t=h.iteratee(t,n);var r,i,o=e.length!==+e.length&&h.keys(e),a=(o||e).length;for(r=0;a>r;r++)if(i=o?o[r]:r,t(e[i],i,e))return!0;return!1},h.contains=h.include=function(e,t){return null==e?!1:(e.length!==+e.length&&(e=h.values(e)),h.indexOf(e,t)>=0)},h.invoke=function(e,t){var n=a.call(arguments,2),r=h.isFunction(t);return h.map(e,function(e){return(r?t:e[t]).apply(e,n)})},h.pluck=function(e,t){return h.map(e,h.property(t))},h.where=function(e,t){return h.filter(e,h.matches(t))},h.findWhere=function(e,t){return h.find(e,h.matches(t))},h.max=function(e,t,n){var r,i,o=-(1/0),a=-(1/0);if(null==t&&null!=e){e=e.length===+e.length?e:h.values(e);for(var u=0,s=e.length;s>u;u++)r=e[u],r>o&&(o=r)}else t=h.iteratee(t,n),h.each(e,function(e,n,r){i=t(e,n,r),(i>a||i===-(1/0)&&o===-(1/0))&&(o=e,a=i)});return o},h.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t&&null!=e){e=e.length===+e.length?e:h.values(e);for(var u=0,s=e.length;s>u;u++)r=e[u],o>r&&(o=r)}else t=h.iteratee(t,n),h.each(e,function(e,n,r){i=t(e,n,r),(a>i||i===1/0&&o===1/0)&&(o=e,a=i)});return o},h.shuffle=function(e){for(var t,n=e&&e.length===+e.length?e:h.values(e),r=n.length,i=Array(r),o=0;r>o;o++)t=h.random(0,o),t!==o&&(i[o]=i[t]),i[t]=n[o];return i},h.sample=function(e,t,n){return null==t||n?(e.length!==+e.length&&(e=h.values(e)),e[h.random(e.length-1)]):h.shuffle(e).slice(0,Math.max(0,t))},h.sortBy=function(e,t,n){return t=h.iteratee(t,n),h.pluck(h.map(e,function(e,n,r){return{value:e,index:n,criteria:t(e,n,r)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(r>n||void 0===r)return-1}return e.index-t.index}),"value")};var v=function(e){return function(t,n,r){var i={};return n=h.iteratee(n,r),h.each(t,function(r,o){var a=n(r,o,t);e(i,r,a)}),i}};h.groupBy=v(function(e,t,n){h.has(e,n)?e[n].push(t):e[n]=[t]}),h.indexBy=v(function(e,t,n){e[n]=t}),h.countBy=v(function(e,t,n){h.has(e,n)?e[n]++:e[n]=1}),h.sortedIndex=function(e,t,n,r){n=h.iteratee(n,r,1);for(var i=n(t),o=0,a=e.length;a>o;){var u=o+a>>>1;n(e[u])<i?o=u+1:a=u}return o},h.toArray=function(e){return e?h.isArray(e)?a.call(e):e.length===+e.length?h.map(e,h.identity):h.values(e):[]},h.size=function(e){return null==e?0:e.length===+e.length?e.length:h.keys(e).length},h.partition=function(e,t,n){t=h.iteratee(t,n);var r=[],i=[];return h.each(e,function(e,n,o){(t(e,n,o)?r:i).push(e)}),[r,i]},h.first=h.head=h.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:0>t?[]:a.call(e,0,t)},h.initial=function(e,t,n){return a.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},h.last=function(e,t,n){return null==e?void 0:null==t||n?e[e.length-1]:a.call(e,Math.max(e.length-t,0))},h.rest=h.tail=h.drop=function(e,t,n){return a.call(e,null==t||n?1:t)},h.compact=function(e){return h.filter(e,h.identity)};var m=function(e,t,n,r){if(t&&h.every(e,h.isArray))return u.apply(r,e);for(var i=0,a=e.length;a>i;i++){var s=e[i];h.isArray(s)||h.isArguments(s)?t?o.apply(r,s):m(s,t,n,r):n||r.push(s)}return r};h.flatten=function(e,t){return m(e,t,!1,[])}
7,h.without=function(e){return h.difference(e,a.call(arguments,1))},h.uniq=h.unique=function(e,t,n,r){if(null==e)return[];h.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=h.iteratee(n,r));for(var i=[],o=[],a=0,u=e.length;u>a;a++){var s=e[a];if(t)a&&o===s||i.push(s),o=s;else if(n){var c=n(s,a,e);h.indexOf(o,c)<0&&(o.push(c),i.push(s))}else h.indexOf(i,s)<0&&i.push(s)}return i},h.union=function(){return h.uniq(m(arguments,!0,!0,[]))},h.intersection=function(e){if(null==e)return[];for(var t=[],n=arguments.length,r=0,i=e.length;i>r;r++){var o=e[r];if(!h.contains(t,o)){for(var a=1;n>a&&h.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},h.difference=function(e){var t=m(a.call(arguments,1),!0,!0,[]);return h.filter(e,function(e){return!h.contains(t,e)})},h.zip=function(e){if(null==e)return[];for(var t=h.max(arguments,"length").length,n=Array(t),r=0;t>r;r++)n[r]=h.pluck(arguments,r);return n},h.object=function(e,t){if(null==e)return{};for(var n={},r=0,i=e.length;i>r;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},h.indexOf=function(e,t,n){if(null==e)return-1;var r=0,i=e.length;if(n){if("number"!=typeof n)return r=h.sortedIndex(e,t),e[r]===t?r:-1;r=0>n?Math.max(0,i+n):n}for(;i>r;r++)if(e[r]===t)return r;return-1},h.lastIndexOf=function(e,t,n){if(null==e)return-1;var r=e.length;for("number"==typeof n&&(r=0>n?r+n+1:Math.min(r,n+1));--r>=0;)if(e[r]===t)return r;return-1},h.range=function(e,t,n){arguments.length<=1&&(t=e||0,e=0),n=n||1;for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;r>o;o++,e+=n)i[o]=e;return i};var y=function(){};h.bind=function(e,t){var n,r;if(f&&e.bind===f)return f.apply(e,a.call(arguments,1));if(!h.isFunction(e))throw new TypeError("Bind must be called on a function");return n=a.call(arguments,2),r=function(){if(!(this instanceof r))return e.apply(t,n.concat(a.call(arguments)));y.prototype=e.prototype;var i=new y;y.prototype=null;var o=e.apply(i,n.concat(a.call(arguments)));return h.isObject(o)?o:i}},h.partial=function(e){var t=a.call(arguments,1);return function(){for(var n=0,r=t.slice(),i=0,o=r.length;o>i;i++)r[i]===h&&(r[i]=arguments[n++]);for(;n<arguments.length;)r.push(arguments[n++]);return e.apply(this,r)}},h.bindAll=function(e){var t,n,r=arguments.length;if(1>=r)throw new Error("bindAll must be passed function names");for(t=1;r>t;t++)n=arguments[t],e[n]=h.bind(e[n],e);return e},h.memoize=function(e,t){var n=function(r){var i=n.cache,o=t?t.apply(this,arguments):r;return h.has(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},h.delay=function(e,t){var n=a.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},h.defer=function(e){return h.delay.apply(h,[e,1].concat(a.call(arguments,1)))},h.throttle=function(e,t,n){var r,i,o,a=null,u=0;n||(n={});var s=function(){u=n.leading===!1?0:h.now(),a=null,o=e.apply(r,i),a||(r=i=null)};return function(){var c=h.now();u||n.leading!==!1||(u=c);var d=t-(c-u);return r=this,i=arguments,0>=d||d>t?(clearTimeout(a),a=null,u=c,o=e.apply(r,i),a||(r=i=null)):a||n.trailing===!1||(a=setTimeout(s,d)),o}},h.debounce=function(e,t,n){var r,i,o,a,u,s=function(){var c=h.now()-a;t>c&&c>0?r=setTimeout(s,t-c):(r=null,n||(u=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=h.now();var c=n&&!r;return r||(r=setTimeout(s,t)),c&&(u=e.apply(o,i),o=i=null),u}},h.wrap=function(e,t){return h.partial(t,e)},h.negate=function(e){return function(){return!e.apply(this,arguments)}},h.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},h.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},h.before=function(e,t){var n;return function(){return--e>0?n=t.apply(this,arguments):t=null,n}},h.once=h.partial(h.before,2),h.keys=function(e){if(!h.isObject(e))return[];if(l)return l(e);var t=[];for(var n in e)h.has(e,n)&&t.push(n);return t},h.values=function(e){for(var t=h.keys(e),n=t.length,r=Array(n),i=0;n>i;i++)r[i]=e[t[i]];return r},h.pairs=function(e){for(var t=h.keys(e),n=t.length,r=Array(n),i=0;n>i;i++)r[i]=[t[i],e[t[i]]];return r},h.invert=function(e){for(var t={},n=h.keys(e),r=0,i=n.length;i>r;r++)t[e[n[r]]]=n[r];return t},h.functions=h.methods=function(e){var t=[];
7for(var n in e)h.isFunction(e[n])&&t.push(n);return t.sort()},h.extend=function(e){if(!h.isObject(e))return e;for(var t,n,r=1,i=arguments.length;i>r;r++){t=arguments[r];for(n in t)c.call(t,n)&&(e[n]=t[n])}return e},h.pick=function(e,t,n){var r,i={};if(null==e)return i;if(h.isFunction(t)){t=p(t,n);for(r in e){var o=e[r];t(o,r,e)&&(i[r]=o)}}else{var s=u.apply([],a.call(arguments,1));e=new Object(e);for(var c=0,d=s.length;d>c;c++)r=s[c],r in e&&(i[r]=e[r])}return i},h.omit=function(e,t,n){if(h.isFunction(t))t=h.negate(t);else{var r=h.map(u.apply([],a.call(arguments,1)),String);t=function(e,t){return!h.contains(r,t)}}return h.pick(e,t,n)},h.defaults=function(e){if(!h.isObject(e))return e;for(var t=1,n=arguments.length;n>t;t++){var r=arguments[t];for(var i in r)void 0===e[i]&&(e[i]=r[i])}return e},h.clone=function(e){return h.isObject(e)?h.isArray(e)?e.slice():h.extend({},e):e},h.tap=function(e,t){return t(e),e};var b=function(e,t,n,r){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return e===t;e instanceof h&&(e=e._wrapped),t instanceof h&&(t=t._wrapped);var i=s.call(e);if(i!==s.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t}if("object"!=typeof e||"object"!=typeof t)return!1;for(var o=n.length;o--;)if(n[o]===e)return r[o]===t;var a=e.constructor,u=t.constructor;if(a!==u&&"constructor"in e&&"constructor"in t&&!(h.isFunction(a)&&a instanceof a&&h.isFunction(u)&&u instanceof u))return!1;n.push(e),r.push(t);var c,d;if("[object Array]"===i){if(c=e.length,d=c===t.length)for(;c--&&(d=b(e[c],t[c],n,r)););}else{var l,f=h.keys(e);if(c=f.length,d=h.keys(t).length===c)for(;c--&&(l=f[c],d=h.has(t,l)&&b(e[l],t[l],n,r)););}return n.pop(),r.pop(),d};h.isEqual=function(e,t){return b(e,t,[],[])},h.isEmpty=function(e){if(null==e)return!0;if(h.isArray(e)||h.isString(e)||h.isArguments(e))return 0===e.length;for(var t in e)if(h.has(e,t))return!1;return!0},h.isElement=function(e){return!(!e||1!==e.nodeType)},h.isArray=d||function(e){return"[object Array]"===s.call(e)},h.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},h.each(["Arguments","Function","String","Number","Date","RegExp"],function(e){h["is"+e]=function(t){return s.call(t)==="[object "+e+"]"}}),h.isArguments(arguments)||(h.isArguments=function(e){return h.has(e,"callee")}),"function"!=typeof/./&&(h.isFunction=function(e){return"function"==typeof e||!1}),h.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},h.isNaN=function(e){return h.isNumber(e)&&e!==+e},h.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"===s.call(e)},h.isNull=function(e){return null===e},h.isUndefined=function(e){return void 0===e},h.has=function(e,t){return null!=e&&c.call(e,t)},h.noConflict=function(){return e._=t,this},h.identity=function(e){return e},h.constant=function(e){return function(){return e}},h.noop=function(){},h.property=function(e){return function(t){return t[e]}},h.matches=function(e){var t=h.pairs(e),n=t.length;return function(e){if(null==e)return!n;e=new Object(e);for(var r=0;n>r;r++){var i=t[r],o=i[0];if(i[1]!==e[o]||!(o in e))return!1}return!0}},h.times=function(e,t,n){var r=Array(Math.max(0,e));t=p(t,n,1);for(var i=0;e>i;i++)r[i]=t(i);return r},h.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},h.now=Date.now||function(){return(new Date).getTime()};var w={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},_=h.invert(w),E=function(e){var t=function(t){return e[t]},n="(?:"+h.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};h.escape=E(w),h.unescape=E(_),h.result=function(e,t){if(null==e)return void 0;var n=e[t];return h.isFunction(n)?e[t]():n};var S=0;h.uniqueId=function(e){var t=++S+"";return e?e+t:t},h.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var x=/(.)^/,A={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},T=/\\|'|\r|\n|\u2028|\u2029/g,I=function(e){return"\\"+A[e]};h.template=function(e,t,n){!t&&n&&(t=n),t=h.defaults({},t,h.templateSettings);var r=RegExp([(t.escape||x).source,(t.interpolate||x).source,(t.evaluate||x).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,function(t,n,r,a,u){return o+=e.slice(i,u).replace(T,I),i=u+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{throw new Error("Function constructor not supported")}catch(a){throw a.source=o,a}var u=function(e){return render.call(this,e,h)},s=t.variable||"obj";return u.source="function("+s+"){\n"+o+"}",u},h.chain=function(e){var t=h(e);return t._chain=!0,t};var C=function(e){return this._chain?h(e).chain():e};h.mixin=function(e){h.each(h.functions(e),function(t){var n=h[t]=e[t];h.prototype[t]=function(){var e=[this._wrapped];return o.apply(e,arguments),C.call(this,n.apply(h,e))}})},h.mixin(h),h.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=n[e];h.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],C.c
7all(this,n)}}),h.each(["concat","join","slice"],function(e){var t=n[e];h.prototype[e]=function(){return C.call(this,t.apply(this._wrapped,arguments))}}),h.prototype.value=function(){return this._wrapped}}).call({});var dt={};!function(){function t(e,t,n,r){var i,o,a,u,s,c,d,f,p,g;if((t?t.ownerDocument||t:j)!==R&&L(t),t=t||R,n=n||[],!e||"string"!=typeof e)return n;if(1!==(u=t.nodeType)&&9!==u)return[];if(P&&!r){if(i=be.exec(e))if(a=i[1]){if(9===u){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&F(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return ee.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&E.getElementsByClassName&&t.getElementsByClassName)return ee.apply(n,t.getElementsByClassName(a)),n}if(E.qsa&&(!M||!M.test(e))){if(f=d=G,p=t,g=9===u&&e,1===u&&"object"!==t.nodeName.toLowerCase()){for(c=T(e),(d=t.getAttribute("id"))?f=d.replace(_e,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",s=c.length;s--;)c[s]=f+h(c[s]);p=we.test(e)&&l(t.parentNode)||t,g=c.join(",")}if(g)try{return ee.apply(n,p.querySelectorAll(g)),n}catch(v){}finally{d||t.removeAttribute("id")}}}return C(e.replace(ce,"$1"),t,n,r)}function r(){function e(n,r){return t.push(n+" ")>S.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function i(e){return e[G]=!0,e}function o(e){var t=R.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),r=e.length;r--;)S.attrHandle[n[r]]=t}function u(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||X)-(~e.sourceIndex||X);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function c(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function d(e){return i(function(t){return t=+t,i(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&typeof e.getElementsByTagName!==V&&e}function f(){}function h(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=H++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var u,s,c=[W,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(s=t[G]||(t[G]={}),(u=s[r])&&u[0]===W&&u[1]===o)return c[2]=u[2];if(s[r]=c,c[2]=e(t,n,a))return!0}}}function g(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function v(e,n,r){for(var i=0,o=n.length;o>i;i++)t(e,n[i],r);return r}function m(e,t,n,r,i){for(var o,a=[],u=0,s=e.length,c=null!=t;s>u;u++)(o=e[u])&&(!n||n(o,r,i))&&(a.push(o),c&&t.push(u));return a}function y(e,t,n,r,o,a){return r&&!r[G]&&(r=y(r)),o&&!o[G]&&(o=y(o,a)),i(function(i,a,u,s){var c,d,l,f=[],h=[],p=a.length,g=i||v(t||"*",u.nodeType?[u]:u,[]),y=!e||!i&&t?g:m(g,f,e,u,s),b=n?o||(i?e:p||r)?[]:a:y;if(n&&n(y,b,u,s),r)for(c=m(b,h),r(c,[],u,s),d=c.length;d--;)(l=c[d])&&(b[h[d]]=!(y[h[d]]=l));if(i){if(o||e){if(o){for(c=[],d=b.length;d--;)(l=b[d])&&c.push(y[d]=l);o(null,b=[],c,s)}for(d=b.length;d--;
vendor: 4,789 bytes, lines 7-8
7)(l=b[d])&&(c=o?ne.call(i,l):f[d])>-1&&(i[c]=!(a[c]=l))}}else b=m(b===a?b.splice(p,b.length):b),o?o(null,a,b,s):ee.apply(a,b)})}function b(e){for(var t,n,r,i=e.length,o=S.relative[e[0].type],a=o||S.relative[" "],u=o?1:0,s=p(function(e){return e===t},a,!0),c=p(function(e){return ne.call(t,e)>-1},a,!0),d=[function(e,n,r){return!o&&(r||n!==N)||((t=n).nodeType?s(e,n,r):c(e,n,r))}];i>u;u++)if(n=S.relative[e[u].type])d=[p(g(d),n)];else{if(n=S.filter[e[u].type].apply(null,e[u].matches),n[G]){for(r=++u;i>r&&!S.relative[e[r].type];r++);return y(u>1&&g(d),u>1&&h(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(ce,"$1"),n,r>u&&b(e.slice(u,r)),i>r&&b(e=e.slice(r)),i>r&&h(e))}d.push(n)}return g(d)}function w(e,n){var r=n.length>0,o=e.length>0,a=function(i,a,u,s,c){var d,l,f,h=0,p="0",g=i&&[],v=[],y=N,b=i||o&&S.find.TAG("*",c),w=W+=null==y?1:Math.random()||.1,_=b.length;for(c&&(N=a!==R&&a);p!==_&&null!=(d=b[p]);p++){if(o&&d){for(l=0;f=e[l++];)if(f(d,a,u)){s.push(d);break}c&&(W=w)}r&&((d=!f&&d)&&h--,i&&g.push(d))}if(h+=p,r&&p!==h){for(l=0;f=n[l++];)f(g,v,a,u);if(i){if(h>0)for(;p--;)g[p]||v[p]||(v[p]=Y.call(s));v=m(v)}ee.apply(s,v),c&&!i&&v.length>0&&h+n.length>1&&t.uniqueSort(s)}return c&&(W=w,N=y),g};return r?i(a):a}var _,E,S,x,A,T,I,C,N,O,k,L,R,D,P,M,B,U,F,G="sizzle"+-new Date,j=e.document,W=0,H=0,z=r(),q=r(),K=r(),Z=function(e,t){return e===t&&(k=!0),0},V=typeof n,X=1<<31,J={}.hasOwnProperty,$=[],Y=$.pop,Q=$.push,ee=$.push,te=$.slice,ne=$.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},re="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",oe="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ae=oe.replace("w","w#"),ue="\\["+ie+"*("+oe+")"+ie+"*(?:([*^$|!~]?=)"+ie+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ae+")|)|)"+ie+"*\\]",se=":("+oe+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ue.replace(3,8)+")*)|.*)\\)|)",ce=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),de=new RegExp("^"+ie+"*,"+ie+"*"),le=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),fe=new RegExp("="+ie+"*([^\\]'\"]*?)"+ie+"*\\]","g"),he=new RegExp(se),pe=new RegExp("^"+ae+"$"),ge={ID:new RegExp("^#("+oe+")"),CLASS:new RegExp("^\\.("+oe+")"),TAG:new RegExp("^("+oe.replace("w","w*")+")"),ATTR:new RegExp("^"+ue),PSEUDO:new RegExp("^"+se),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+re+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},ve=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ye=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,we=/[+~]/,_e=/'|\\/g,Ee=new RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),Se=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{ee.apply($=te.call(j.childNodes),j.childNodes),$[j.childNodes.length].nodeType}catch(xe){ee={apply:$.length?function(e,t){Q.apply(e,te.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}E=t.support={},A=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},L=t.setDocument=function(e){var t,n=e?e.ownerDocument||e:j,r=n.defaultView;return n!==R&&9===n.nodeType&&n.documentElement?(R=n,D=n.documentElement,P=!A(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){L()},!1):r.browser.attachEvent&&r.attachEvent("onunload",function(){L()})),E.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),E.getElementsByTagName=o(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),E.getElementsByClassName=ye.test(n.getElementsByClassName)&&o(function(e){
8return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),E.getById=o(function(e){return D.appendChild(e).id=G,!n.getElementsByName||!n.getElementsByName(G).length}),E.getById?(S.find.ID=function(e,t){if(typeof t.getElementById!==V&&P){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},S.filter.ID=function(e){var t=e.replace(Ee,Se);return function(e){return e.getAttribute("id")===t}}):(delete S.find.ID,S.filter.ID=function(e){var t=e.replace(Ee,Se);return function(e){var n=typeof e.getAttributeNode!==V&&e.getAttributeNode("id");return n&&n.value===t}}),S.find.TAG=E.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==V?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);
vendor: 4,231 bytes, line 8
8if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},S.find.CLASS=E.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==V&&P?t.getElementsByClassName(e):void 0},B=[],M=[],(E.qsa=ye.test(n.querySelectorAll))&&(o(function(e){e.innerHTML="<select t=''><option selected=''></option></select>",e.querySelectorAll("[t^='']").length&&M.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||M.push("\\["+ie+"*(?:value|"+re+")"),e.querySelectorAll(":checked").length||M.push(":checked")}),o(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&M.push("name"+ie+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||M.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),M.push(",.*:")})),(E.matchesSelector=ye.test(U=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&o(function(e){E.disconnectedMatch=U.call(e,"div"),U.call(e,"[s!='']:x"),B.push("!=",se)}),M=M.length&&new RegExp(M.join("|")),B=B.length&&new RegExp(B.join("|")),t=ye.test(D.compareDocumentPosition),F=t||ye.test(D.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Z=t?function(e,t){if(e===t)return k=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!E.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===j&&F(j,e)?-1:t===n||t.ownerDocument===j&&F(j,t)?1:O?ne.call(O,e)-ne.call(O,t):0:4&r?-1:1)}:function(e,t){if(e===t)return k=!0,0;var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],c=[t];if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:O?ne.call(O,e)-ne.call(O,t):0;if(o===a)return u(e,t);for(r=e;r=r.parentNode;)s.unshift(r);for(r=t;r=r.parentNode;)c.unshift(r);for(;s[i]===c[i];)i++;return i?u(s[i],c[i]):s[i]===j?-1:c[i]===j?1:0},n):R},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==R&&L(e),n=n.replace(fe,"='$1']"),E.matchesSelector&&P&&(!B||!B.test(n))&&(!M||!M.test(n)))try{var r=U.call(e,n);if(r||E.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,R,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==R&&L(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==R&&L(e);var r=S.attrHandle[t.toLowerCase()],i=r&&J.call(S.attrHandle,t.toLowerCase())?r(e,t,!P):n;return i!==n?i:E.attributes||!P?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(k=!E.detectDuplicates,O=!E.sortStable&&e.slice(0),e.sort(Z),k){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return O=null,e},x=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=x(t);return n},S=t.selectors={cacheLength:50,createPseudo:i,match:ge,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(Ee,Se),e[3]=(e[4]||e[5]||"").replace(Ee,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]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,r=!e[5]&&e[2];return ge.CHILD.test(e[0])?null:(e[3]&&e[4]!==n?e[2]=e[4]:r&&he.test(r)&&(t=T(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Ee,Se).toLowerCase();return"*"===e?function(){return!0}
vendor: 5,791 bytes, line 8
8:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&z(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==V&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),u="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,s){var c,d,l,f,h,p,g=o!==a?"nextSibling":"previousSibling",v=t.parentNode,m=u&&t.nodeName.toLowerCase(),y=!s&&!u;if(v){if(o){for(;g;){for(l=t;l=l[g];)if(u?l.nodeName.toLowerCase()===m:1===l.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(d=v[G]||(v[G]={}),c=d[e]||[],h=c[0]===W&&c[1],f=c[0]===W&&c[2],l=h&&v.childNodes[h];l=++h&&l&&l[g]||(f=h=0)||p.pop();)if(1===l.nodeType&&++f&&l===t){d[e]=[W,h,f];break}}else if(y&&(c=(t[G]||(t[G]={}))[e])&&c[0]===W)f=c[1];else for(;(l=++h&&l&&l[g]||(f=h=0)||p.pop())&&((u?l.nodeName.toLowerCase()!==m:1!==l.nodeType)||!++f||(y&&((l[G]||(l[G]={}))[e]=[W,f]),l!==t)););return f-=i,f===r||f%r===0&&f/r>=0}}},PSEUDO:function(e,n){var r,o=S.pseudos[e]||S.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[G]?o(n):o.length>1?(r=[e,e,"",n],S.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=ne.call(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=I(e.replace(ce,"$1"));return r[G]?i(function(e,t,n,i){for(var o,a=r(e,null,i,[]),u=e.length;u--;)(o=a[u])&&(e[u]=!(t[u]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:i(function(e){return pe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(Ee,Se).toLowerCase(),function(t){var n;do if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===D},focus:function(e){return e===R.activeElement&&(!R.hasFocus||R.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!S.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return ve.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:d(function(){return[0]}),last:d(function(e,t){return[t-1]}),eq:d(function(e,t,n){return[0>n?n+t:n]}),even:d(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:d(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:d(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:d(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},S.pseudos.nth=S.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[_]=s(_);for(_ in{submit:!0,reset:!0})S.pseudos[_]=c(_);f.prototype=S.filters=S.pseudos,S.setFilters=new f,T=t.tokenize=function(e,n){var r,i,o,a,u,s,c,d=q[e+" "];if(d)return n?0:d.slice(0);for(u=e,s=[],c=S.preFilter;u;){(!r||(i=de.exec(u)))&&(i&&(u=u.slice(i[0].length)||u),s.push(o=[])),r=!1,(i=le.exec(u))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ce," ")}),u=u.slice(r.length));for(a in S.filter)!(i=ge[a].exec(u))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),u=u.slice(r.length));if(!r)break}return n?u.length:u?t.error(e):q(e,s).slice(0)},I=t.compile=function(e,t){var n,r=[],i=[],o=K[e+" "];if(!o){for(t||(t=T(e)),n=t.length;n--;)o=b(t[n]),o[G]?r.push(o):i.push(o);o=K(e,w(i,r)),o.selector=e}return o},C=t.select=function(e,t,n,r){var i,o,a,u,s,c="function"==typeof e&&e,d=!r&&T(e=c.selector||e);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&E.getById&&9===t.nodeType&&P&&S.relative[o[1].type]){if(t=(S.find.ID(a.matches[0].replace(Ee,Se),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=ge.needsContext.test(e)?0:o.length;i--&&(a=o[i],!S.relative[u=a.type]);)if((s=S.find[u])&&(r=s(a.matches[0].replace(Ee,Se),we.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&h(o),!e)return ee.apply(n,r),n;break}}return(c||I(e,d))(r,t,!P,n,we.test(e)&&l(t.parentNode)||t),n},E.sortStable=G.split("").sort(Z).join("")===G,E.detectDuplicates=!!k,L(),E.sortDetached=o(function(e){return 1&e.compareDocumentPosition(R.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),E.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}
8)||a("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||a(re,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),dt.Sizzle=t}();var lt=e.pendo=e.pendo||{},ft=lt._=ct._,ht=lt.Sizzle=dt.Sizzle,pt=lt.Zlib={},gt="prod",vt=lt.VERSION="2.11.10_prod",mt=function(){return navigator.userAgent},yt=function(){return Yi()?vt+"+quirksmode":vt},bt=function(){var e={},t=function(){var e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},n=function(e){var t=e&&e.then;return"object"==typeof e&&"function"==typeof t?function(){return t.apply(e,arguments)}:void 0},r=function(t,n){var r=e.defer(),i=function(e,t){setTimeout(function(){var n;try{n=e(t)}catch(i){return void r.reject(i)}n===r.promise?r.reject(new TypeError("Cannot resolve promise with itself")):r.resolve(n)},1)},a=function(e){t&&t.call?i(t,e):r.resolve(e)},u=function(e){n&&n.call?i(n,e):r.reject(e)};return{promise:r.promise,handle:function(e,t){e===o?a(t):u(t)}}},i=0,o=1,a=2;return e.defer=function(){var e,u=i,s=[],c=function(t,n){u=t,e=n,ft.each(s,function(t){t.handle(u,e)}),s=null},d=function(e){c(o,e)},l=function(e){c(a,e)},f=function(t,n){var o=r(t,n);return u===i?s.push(o):o.handle(u,e),o.promise},h=function(e){var n=t();try{e(n(p),n(l))}catch(r){n(l)(r)}},p=function(e){var t;try{t=n(e)}catch(r){return void l(r)}t?h(t):d(e)},g=t();return{resolve:g(p),reject:g(l),promise:{then:f,fail:function(e){return f(null,e)}}}},e}();bt.all=function(e){var t=bt.defer(),n=ft.isArray(e)?[]:{},r=ft.size(e),i=!1;return ft.each(e,function(e,o){bt.resolve(e).then(function(e){n[o]=e,0!==--r||i||t.resolve(n)},function(e){i||(i=!0,t.reject(e))})}),t.promise},bt.reject=function(e){var t=bt.defer();return t.reject(e),t.promise},bt.resolve=function(e){var t=bt.defer();return t.resolve(e),t.promise};var wt=function(e){return function(){try{e.apply(this,arguments)}catch(t){mn(t)}}};lt.events=function(){var e=i.call({});return ft.each(["ready","guidesFailed","guidesLoaded","validateGuide","validateLauncher","validateGlobalScript"],function(t){e[t]=function(n){return ft.isFunction(n)?e.on(t,n):e.trigger.apply(e,[t].concat(ft.toArray(arguments)))}}),e}();var _t=function(n){"complete"===t.readyState?n():pr(e,"load",n)},Et=function(e,t){if(t||(t=0),t>=200)return e;if(ft.isArray(e))return ft.map(e,function(e){return Et(e,t+1)});if(!ft.isObject(e)||ft.isDate(e)||ft.isRegExp(e)||ft.isElement(e))return ft.isString(e)?ft.escape(e):e;var n={};return ft.each(e,function(e,r){n[r]=Et(e,t+1)}),n};lt.compress=function(e){var t=lt.toUTF8Array(JSON.stringify(e)),n=new pt.Deflate(t),r=n.compress(),i=lt.fromByteArray(r);return i};var St=function(e){if("undefined"!=typeof e){ft.isString(e)||(e=JSON.stringify(e));var t=lt.toUTF8Array(e);return pt.CRC32.calc(t,0,t.length)}};lt.squeezeAndCompress=function(e){var t=lt.compress(e);return t},lt.letters="abcdefghijklmnopqrstuvwxyz",lt.charset=lt.letters+lt.letters.toUpperCase()+"1234567890",lt.randomElement=function(e){return e[Math.floor(Math.random()*e.length)]},lt.randomString=function(e){for(var t="",n=0;e>n;n++)t+=lt.randomElement(lt.charset.split(""));return t},lt.toUTF8Array=function(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);128>r?t.push(r):2048>r?t.push(192|r>>6,128|63&r):55296>r||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t};var xt=function(e,t,n){return lt.doesExist(e)&&lt.doesExist(t)?(n&&(e=e.toLowerCase(),t=t.toLowerCase()),e.indexOf(t)>-1):!1},At=function(e,t){try{var n=new RegExp("(\\s|^)"+t+"(\\s|$)");return n.test(Nt(e))}catch(r){return!1}},Tt=function(e,t){try{if(!At(e,t)){var n=Nt(e).trim()+" "+t;Ct(e,n)}}catch(r){}},It=function(e,t){try{if(At(e,t)){var n=new RegExp("(\\s|^)"+t+"(\\s|$)"),r=Nt(e).replace(n," ");Ct(e,r)}}catch(i){}},Ct=function(e,t){ft.isString(e.className)?e.className=t:e.setAttribute("class",t)},Nt=function(e){try{var t=e.className;return t=ft.isString(t)||!lt.doesExist(t)?t:e.getAttribute("class"),t||""}catch(n){return""}},Ot=function(e){function t(e){return e.replace(/\-([a-z])/gi,function(e,t){return t.toUpperCase()})}var n=t(e),r=n.substr(0,1);return n=r.toLowerCase()+n.substr(1)},kt={columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},Lt=function(e,t){if(ft.isString(t)){var n,r,i,o,a=t.split(";");for(t={},i=0;i<a.length;i++)n=a[i],o=n.indexOf(":"),r=n.substring(0,o),t[r]=n.substring(o+1)}ft.each(t,function(t,n){n=Ot(Wn.call(n)),""!==n&&(!ft.isNumber(t)||isNaN(t)||kt[n]?ft.isString(t)||(t=""+t):t=""+t+"px",e.style[n]=Wn.call(t))})},Rt=function(){if(Yi())return{width:t.documentElement.offsetWidth||0,height:t.documentElement.offsetHeight||0};
8var n=e.innerWidth||t.documentElement.clientWidth,r=e.innerHeight||t.documentElement.clientHeight;return{width:n,height:r}},Dt=function(e){var t=Rt(),n=s(),r=c();return e.top>=n&&e.left>=r&&e.top+e.height<=n+t.height&&e.left+e.width<=r+t.width},Pt=function(e,t){if("string"==typeof e){var n=ht(e);ft.map(n,function(e){It(e,t)})}else It(e,t)},Mt=function(e,t){if("string"==typeof e){var n=ht(e);ft.map(n,function(e){Tt(e,t)})}else Tt(e,t)},Bt=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},Ut=ft.compose(function(e){return Array.prototype.slice.call(e)},function(e){try{return ht(e)}catch(n){return gn("error using sizzle: "+n),t.getElementsByTagName(e)}}),Ft=function(e,t){try{var n=t.children.length+t.offsetHeight+t.offsetWidth,r=e.children.length+e.offsetHeight+e.offsetWidth;return n-r}catch(i){return Pr("error interrogating body elements: "+i),gn("error picking best body:"+i),0}},Gt=function(){try{var e=Ut("body");return e&&e.length>1?(e.sort(Ft),e[0]||t.body):t.body}catch(n){return gn("Error getting body element: "+n),t.body}},jt=function(t){try{if(e.getComputedStyle)return getComputedStyle(t);if(t.currentStyle)return t.currentStyle}catch(n){}},Wt=function(n){var r=Gt();if(null!==n){if(n===r||n===t||n===e){var i={left:e.pageXOffset||r.scrollLeft,top:e.pageYOffset||r.scrollTop,width:e.innerWidth,height:e.innerHeight};return i.right=i.left+i.width,i.bottom=i.top+i.height,i}var o=g(n);return o.right=o.left+o.width,o.bottom=o.top+o.height,o}},Ht=function(e,t){return e.top>=t.bottom?!1:e.bottom<=t.top?!1:e.left>=t.right?!1:e.right<=t.left?!1:!0},zt=function(e,t){t=t||/(auto|scroll|hidden)/;var n,r,i,o=Gt();if(e===o||!v(e))return null;for(r=e;r&&r!=o;){if(n=jt(r),!n)return null;if(i=n.position,r!==e&&t.test(n.overflow+n.overflowY+n.overflowX))return r;if("absolute"===i||"fixed"===i&&m(r))r=r.offsetParent;else{if("fixed"===i)return null;r=r.parentNode}}return o},qt={X:"x",Y:"y",BOTH:"both",NONE:"none"};ft.extend(T.prototype,{findOrCreate:function(e){return this.length>0?this:T(e)},find:function(e){var t=T();return t.context=this.context,this.each(function(){T(e,this).each(function(){t[t.length++]=this})}),t},each:function(e){for(var t=this,n=0,r=t.length;r>n;++n)e.call(t[n],t[n],n);return t},html:function(e){return e===n?this.length?this[0].innerHTML:this:this.each(function(){this.innerHTML=e})},text:function(e){return e===n?this.length?this[0].innerText:this:this.each(function(){this.innerText=e})},addClass:function(e){return e=e.split(/\s+/),this.each(function(t){ft.each(e,function(e){Tt(t,e)})})},removeClass:function(e){return e=e.split(/\s+/),this.each(function(t){ft.each(e,function(e){It(t,e)})})},hasClass:function(e){e=e.split(/\s+/);var t=!0;return this.each(function(n){ft.each(e,function(e){t=t&&At(n,e)})}),t},toggleClass:function(e){return e=e.split(/\s+/),this.each(function(t){ft.each(e,function(e){At(t,e)?It(t,e):Tt(t,e)})})},css:function(e){return this.each(function(){Lt(this,e)}),this},appendTo:function(e){return T(e).append(this),this},append:function(e){var t=this;return T(e).each(function(){t.length&&t[0].appendChild(this),v(this)&&ft.each(ht("script",this),A)}),t},prependTo:function(e){return T(e).prepend(this),this},prepend:function(e){var t=this;if(t.length){var n=t[0],r=n.childNodes[0];T(e).each(function(){r?T(this).insertBefore(r):T(this).appendTo(n)})}return t},insertBefore:function(e){var n=T(e)[0];n&&n.parentNode&&(n.parentNode.insertBefore(this[0],n),v(t,this)&&ft.each(ht("script",this),A))},remove:function(){return this.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),this},attr:function(e,t){return t!==n?(this.each(function(){this.setAttribute(e,t)}),this):this.length>0?this[0].getAttribute(e):void 0},on:function(e,t,n,r){ft.isFunction(t)&&(r=n,n=t,t=null);var i=function(e){lt.doesExist(t)?lt.dom(ur(e)).closest(t).length>0&&n.apply(this,arguments):n.apply(this,arguments)};return e=e.split(" "),this.each(function(t){ft.each(e,function(e){pr(t,e,i,r)})}),this},closest:function(e){for(var n=this[0];n&&!ht.matchesSelector(n,e);)if(n=n.parentNode,n===t)return T();return T(n)},eq:function(e){return T(this[e])},height:function(e){return this.length?e===n?this[0].offsetHeight:(this[0].style.height=e+"px",this):void 0},width:function(e){return this.length?e===n?this[0].offsetWidth:(this[0].style.width=e+"px",this):void 0},focus:function(){return this.each(function(){ft.isFunction(this.focus)&&this.focus()})}}),ft.extend(T,{removeNode:Bt,getClass:Nt,hasClass:At,addClass:Mt,removeClass:Pt,getBody:Gt,getComputedStyle:jt,getClientRect:Wt,intersectRect:Ht,getScrollParent:zt,isElementVisible:S,scrollIntoView:x});var Kt=function(e){return lt.doesExist(e)&&""!==e&&"boolean"!=typeof e&&"object"!=typeof e},Zt=function(e){return e&&"number"!=typeof e?e.substring(0,lt.TEMP_PREFIX.length)===lt.TEMP_PREFIX:!1},Vt=function(){var t=_r||e.pendo_options||{};return!t.disablePersistence},Xt="VISITOR-UNIQUE-ID",Jt=function(e){return Xt===e},$t="::",Yt=function(e){return new RegExp($t).test(e)},Qt=function(e,t){return Zt(e)?Kt(t)?Zt(t)?(lt.log("visitor is anonymous: "+t),!1):Jt(t)?(lt.log("visitor id is the default: "+t),!1):(lt.log("Re-mapping identity from "+e+" to "+t),!0):(lt.log("Not valid visitor id: "+t),!1):(lt.log("Not change an old, non-anonymous visitor id: "+e),!1)};lt.identify=wt(function(e,t){var n="object"==typeof e,r=null,i={};return i.old_visitor_id=lt.get_visitor_id(),n&&(r=e,r.visitor=r.visitor||{},r.account=r.account||{},r.parentAccount=r.parentAccount||{},e=r.visitor.id,t=r.account.id,t&&!Yt(t)&&r.parentAccount.id&&(t=""+r.parentAccount.id+$t+t),Gi(r)),Kt(e)?(lt.set_visitor_id(e),lt.doesExist(t)?lt.set_account_id(t):t=lt.get_account_id(),Qt(i.old_visitor_id,e)&&(i.visitor_id=e,i.account_id=t,Bn("identify",i)),void(i.old_visitor_id!==e&&wr())):void lt.log("Invalid visitor id "+e)}),lt.get_visitor_id=function(){var e,t=lt.visitorId;return lt.doesExist(t)&&Kt(t)||(Vt()?(e=un("visitorId"),Kt(e)||(e=lt.generate_unique_id(lt.TEMP_PREFIX),cn("visitorId",e))):e=lt.generate_unique_id(lt.TEMP_PREFIX),lt.visitorId=e),lt.visitorId},lt.set_visitor_id=function(e){lt.visitorId=""+e,Vt()&&lt.set_pendo_cookie("visitorId",lt.visitorId,lt.DEFAULT_EXPIRE_LEN,!0)},lt.get_account_id=function(){if(!lt.doesExist(lt.accountId)&&Vt()){var e=lt.read("accountId");lt.accountId=e}return lt.accountId},lt.set_account_id=function(e){lt.accountId=""+e,Vt()&&lt.write("accountId",lt.accountId,null,!1,!0)};var en={},tn=function(n){var r;r=nn()?en[n]:t.cookie;var i;return(i=new RegExp("(^|; )"+n+"=([^;
8]*)").exec(r))?e.decodeURIComponent(i[2]):null},nn=function(){var t=_r||e.pendo_options||{};return a("disableCookies")||t.disableCookies},rn=function(n,r,i,o){var a=new Date;a.setTime(a.getTime()+i);var u=n+"="+e.encodeURIComponent(r)+(i?";expires="+a.toUTCString():"")+"; path=/"+("https"===t.location.protocol||o?";secure":"");nn()?en[n]=u:t.cookie=u},on=function(e){return"_pendo_"+e+"."+lt.apiKey};lt.get_pendo_cookie=function(e){return tn(on(e))},lt.DEFAULT_EXPIRE_LEN=864e7,lt.set_pendo_cookie=function(e,t,n,r){n=n||lt.DEFAULT_EXPIRE_LEN,rn(on(e),t,n,r)};var an=function(e){return un(e,!0)},un=function(e,t){return t?tn(e):lt.get_pendo_cookie(e)},sn=function(e,t,n){return cn(e,t,n,!0)},cn=function(e,t,n,r,i){return r?void rn(e,t,n,i):lt.set_pendo_cookie(e,t,n,i)},dn=function(e){var n=on(e);t.cookie=n+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;"};!function(e,t){e.ajax=t()}(lt,function(){function t(e){var t={status:e.status};try{t.data=JSON.parse(e.responseText)}catch(n){t.data=e.responseText}return t}function n(n){var r=bt.defer(),i=e.XMLHttpRequest||ActiveXObject,o=new i("MSXML2.XMLHTTP.3.0");return o.open(n.method||"GET",n.url,!0),ft.each(n.headers,function(e,t){o.setRequestHeader(t.toLowerCase(),e)}),o.onreadystatechange=function(){4===o.readyState&&(o.status>=200&&o.status<300?r.resolve(t(o)):r.reject(t(o)))},n.data?o.send(n.data):o.send(),r.promise}function r(e){return n({method:"GET",url:e})}function i(e,t,r){return n({method:"POST",url:e,data:t,headers:r})}function o(e,t,n){return n||(n={}),n["content-type"]="application/json",t=JSON.stringify(t),i(e,t,n)}return ft.extend(n,{get:r,post:i,postJSON:o})});var ln=I(),fn=function(e,t,n){a("blockLogRemoteAddress")&&(n.log=0);var r=ln+"/data/"+e+"/"+t,i=ft.map(n,function(e,t){return t+"="+e});return i.length>0&&(r+="?"+i.join("&")),r},hn=function(e,t){var n=(new Date).getTime();vn(t,{v:vt,ct:n,jzb:e})},pn=function(e){var t=(new Date).getTime(),n=lt.squeezeAndCompress([e]);vn("guide",{ct:t,jzb:n,v:vt})},gn=function(e){e+="v"+vt,vn("log",{msg:e,version:vt})},vn=function(e,t){N(e,function(n){var r=fn(e+".gif",n,t);bn(r)})},mn=function(t,n){if(t&&(!t||!t.logged)){n||(n="pendo.io unhandled exception");try{t.logged=!0}catch(r){}var i="["+n+": "+t.message+"]";Pr(i);var o=e.pendo_options||{};t.stack&&lt.logStackTraces!==!1&&o.logStackTraces!==!1?yn(i+"\n"+t.stack):gn(i)}},yn=function(e){try{var t=ln+"/data/errorlog?apiKey="+lt.apiKey;a("blockLogRemoteAddress")&&(t+="&log=0"),lt.ajax.postJSON(t,{error:e,version:"v"+vt,visitorId:lt.get_visitor_id()}).then(function(){lt.log("successfully wrote error")},function(e){lt.log("error writing error:"+e)})}catch(n){Pr("Failed to write error to server using POST endpoint: "+n),gn("Failed to write error to server using POST endpoint: "+n)}},bn=function(e){if(Sn()){var t=new Image;t.src=e}},wn=!1,_n=function(){return wn=!0,"Pendo Agent locked.  No more events will be written."},En=function(){return wn=!1,"Pendo Agent unlocked.  Events will be written."},Sn=function(){return!wn},xn=[],An=[],Tn=12e4,In=16,Cn=1900,Nn=2e3,On=10240,kn=function(e,t){return t=t||Mn(),t.substring(0,e)},Ln=function(e,t){var n=e.url;ut("Max length exceeded for an event"),n&&n.length>Nn?(ut("shortening the URL and retrying"),e.url=kn(Nn,n),Un(e)):(ut("Couldn't write event"),gn("Single item is: "+t.length+". Dropping."),yn(t))},Rn=function(e){var t=[].concat(e);e.length=0;for(var n=[t];n.length>0;){var r=n.shift(),i=lt.squeezeAndCompress(r),o=1===r.length&&i.length>On,a=1===r.length&&i.length>Cn;if(o)Ln(r[0],i);else if(a)C(i,"ptm");else if(i.length>Cn){var u=r.length/2;n.unshift(r.slice(0,u)),n.unshift(r.slice(u))}else hn(i,"ptm"),Dn(r)}},Dn=function(e){An.push([].concat(e)),An.length>100&&(ut("Pruning earliest 50 items from history"),An.splice(0,50))},Pn=function(e){return!(!e||""===e)},Mn=function(){return lt.url.get()},Bn=function(e,t,n){var r={};if(n=lt.url.externalizeURL(n),Pn(n)){r.type=e,r.browser_time=(new Date).getTime();var i=lt.get_visitor_id();r.visitor_id=i;var o=lt.get_account_id();r.account_id=o,r.url=n,r.props=t,Un(r)}},Un=function(e){xn.push(e),xn.length>In&&Fn()},Fn=function(){if(xn.length>0)try{Rn(xn)}catch(e){mn(e,"error while flushing event cache")}},Gn=function(t){Fn(),e.setTimeout(function(){Gn(t)},t)},jn=/^\s+|\s+$/g,Wn=String.prototype.trim;Wn||(Wn=function(){return this.replace(jn,"")});var Hn={a:{events:["click"],attr:["href"]},button:{events:["click"],attr:["value","name"]},img:{events:["click"],attr:["src","alt"]},select:{events:["mouseup"],attr:["name","type","selectedIndex"]},textarea:{events:["mouseup"],attr:["name"]},'input[type="submit"]':{events:["click"],attr:["name","type","value"]},'input[type="button"]':{events:["click"],attr:["name","type","value"]},'input[type="radio"]':{events:["click"],attr:["name","type"]},'input[type="checkbox"]':{events:["click"],attr:["name","type"]},'input[type="password"]':{events:["click"],attr:["name","type"]},'input[type="text"]':{events:["click"],attr:["name","type"]}},zn=function(e){return e&&0===e.indexOf("data:")?(ut("Embedded data provided in URI."),e.substring(0,e.indexOf(","))):e+""},qn=function(e,t,n){if(!e||!e.nodeName)return null;var r=e.nodeName.toLowerCase();if("img"==r&&"src"==t||"a"==r&&"href"==t){var i=e.getAttribute(t);return F(zn(i))}var o;return o=e.getAttribute?e.getAttribute(t):e[t],n&&typeof o!=n?null:o?o:null},Kn=function(e){return lt.doesExist(e)?""+e:""},Zn={TEXT_ELEMENT:3,ELEMENT_NODE:1,DOCUMENT_NODE:9,DOCUMENT_FRAGMENT_NODE:11,CDATA_SECTION_NODE:4},Vn={test:function(){return!1}},Xn=function(e){var t={};if(!e)return t;t.tag=e.nodeName||"",t.id=Kn(e.id),t.cls=Kn(T.getClass(e)),t.title=qn(e,"title","string");var n=(t.tag||"").toLowerCase();
8"input"===n&&(n+='[type="'+e.type+'"]'),t.attrs={},Hn[n]&&ft.each(Hn[n].attr,function(n){var r=qn(e,n);lt.doesExist(r)&&(t.attrs[n]=r)});var r=a("htmlAttributes")||Vn;if(ft.isFunction(r.test)&&ft.each(e.attributes,function(n){var i=n.nodeName;r.test(i)&&(t.attrs[i.toLowerCase()]=qn(e,i))}),e.parentNode&&e.parentNode.childNodes){var i=ft.chain(e.parentNode.childNodes);t.myIndex=i.indexOf(e).value(),t.childIndex=i.filter(function(e){return e.nodeType==Zn.ELEMENT_NODE}).indexOf(e).value()}return t},Jn=function(e){return"BODY"===e.nodeName||null===e.parentNode},$n=function(e){var t,n={},r=n,i=e;if(!e)return n;do{t=i;var o=Xn(t);r.parentElem=o,r=o,i=t.parentNode}while(i&&!Jn(t));return lt.excludeAllText!==!0?n.parentElem.txt=R(e,128):n.parentElem.value&&(n.parentElem.value=null),n.parentElem},Yn=["","left","right","middle"],Qn=function(e,t){return Yn[t]},er=function(){return!0},tr=function(e){return e.which||e.button},nr=function(e){return e},rr=function(e,t){return e[t]},ir=[["button",tr,er,Qn],["altKey",rr,nr,nr],["ctrlKey",rr,nr,nr],["metaKey",rr,nr,nr],["shiftKey",rr,nr,nr]],or=function(e,t){for(var n=[],r=0;r<ir.length;r++){var i=ir[r],o=i[0],a=i[1],u=i[2],s=i[3],c=a(e,o);u(c)&&n.push(s(o,c))}return t.flags=n,t},ar={click:or},ur=function(e){return e.target||e.srcElement},sr=function(e){return!e.tagName||"textarea"==e.tagName.toLowerCase()},cr=function(e){return e.nodeType===Zn.TEXT_ELEMENT?e.parentNode:e.nodeType===Zn.CDATA_SECTION_NODE?null:e.correspondingUseElement?e.correspondingUseElement:e},dr=function(e){try{var t=ur(e),n=e.type,r={},i=ar[n];if(i&&(r=i(e,r)),t=cr(t),!t)return void Pr("Invalid HTML target","event","dom","processing");var o=$n(t);ft.extend(o,r),yr(),Bn(n,{target:o})}catch(a){mn(a,"pendo.io while handling event")}},lr=function(e){for(var n=0;n<e.length;n++)pr(t,e[n],dr,!0);a("xhrTimings")&&ro()},fr=function(t){t=t||["click","focus","submit","change"],lr(t),pr(e,"unload",function(){Fn()}),hr()},hr=function(){if("undefined"!=typeof Turbolinks){var e=Turbolinks&&Turbolinks.EVENTS&&Turbolinks.EVENTS.LOAD;e&&pr(t,e,function(){lt.url.get()===br.lastUrl&&(delete br.lastUrl,wr())})}},pr=function(t,n,r,i){if(t&&n&&r){if(t==e&&"error"==n)return void attachErrorEvent(r);i||(i=!1),t.addEventListener?t.addEventListener(n,r,i):t.attachEvent("on"+n,r)}},gr=function(e,t,n,r){e&&t&&n&&(r||(r=!1),e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n))},vr=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,e.preventDefault?e.preventDefault():e.returnValue=!1};lt.SIZE_UNIQUE_ID=11,lt.generate_unique_id=function(e){return e+lt.randomString(lt.SIZE_UNIQUE_ID)},lt.TEMP_PREFIX="_PENDO_T_",lt.doesExist=function(e){return!("undefined"==typeof e||null===e)};var mr=function(){var t=_r||e.pendo_options||{};return!t.excludeTitle},yr=wt(function(e){if(e=e||lt.url.get(),e&&e!==yr.lastUrl){yr.lastUrl=e;var n=-1;Ji(),ut("sending load event for url "+e),"undefined"!=typeof performance&&"undefined"!=typeof performance.timing&&(n=performance.timing.loadEventStart-performance.timing.fetchStart);var r;mr()&&(r=t.title),Bn("load",{load_time:n,title:r||""},e),wr(e)}}),br=function(e){var t=lt.get_visitor_id();e=e||lt.url.get(),!e||!lt.apiKey||ma()||e===br.lastUrl&&t===br.lastVisitorId||(br.lastUrl=e,br.lastVisitorId=t,lt.loadGuides(lt.apiKey,t,e).then(function(){lt.events.guidesLoaded()},function(){lt.events.guidesFailed()}))},wr=function(e){wr.pending&&clearTimeout(wr.pending),wr.pending=setTimeout(function(){delete wr.pending,br(e)},0)},_r=null,Er=wt(function(e){e||(e={}),_r=e;var t=a("apiKey");t?lt.apiKey=t:e.apiKey&&(lt.apiKey=e.apiKey);var n=a("additionalApiKeys");if(n?lt.additionalApiKeys=n:e.additionalApiKeys?lt.additionalApiKeys=e.additionalApiKeys:lt.additionalApiKeys=[],lt.additionalApiKeys&&!ft.isArray(lt.additionalApiKeys)&&(lt.additionalApiKeys=[lt.additionalApiKeys]),!lt.apiKey&&lt.additionalApiKeys&&lt.additionalApiKeys.length&&(lt.apiKey=lt.additionalApiKeys[0]),!lt.apiKey)return void ut("API key is not set, Pendo will not initialize.");
9lt.apiKey=""+lt.apiKey;for(var r=0;r<lt.additionalApiKeys.length;r++)lt.additionalApiKeys[r]=""+lt.additionalApiKeys[r];if(e.excludeAllText&&(lt.excludeAllText=e.excludeAllText),e.logStackTraces&&(lt.logStackTraces=e.logStackTraces),ft.each(e.events,function(e,t){lt.events[t]&&lt.events[t](e)}),$i(),va(),fr(),it(),e.usePendoAgentAPI!==!0&&lt.updateOptions(e),e.visitorId&&e.visitorId!=Xt)lt.identify(e.visitorId);else if(e.visitor&&e.visitor.id&&e.visitor.id!=Xt){var i=null;e.account&&e.account.id&&(i=e.account.id),lt.identify(e.visitor.id,i)}
9lt.url.watch(lt.pageLoad),yr(lt.url.get()),lt.events.ready()}),Sr=function(){var e,t,n=lt._q;if(ft.isArray(n))for(var r=0,i=n.length;i>r;++r)e=n.shift(),ft.isArray(e)&&(t=lt[e.shift()],ft.isFunction(t)&&t.apply(lt,e))},xr=function(){return lt.doesExist(lt.apiKey)},Ar=function(e,t){if(ft.isString(e)){for(var n=e.split("."),r=_r,i=0,o=n.length;o>i;++i){if(!lt.doesExist(r))return t;r=r[n[i]]}return lt.doesExist(r)?r:t}return t};lt.validateInstall=function(){if("undefined"==typeof console||!console.group)return"Please run this test in the latest version of Chrome, Firefox, Safari, or Internet Explorer";console.group("Pendo Install Validation"),lt.apiKey||console.error("No Pendo API key configured.");var e=lt.get_visitor_id();Zt(e)&&console.warn('The current visitor is not identified and will be treated as "anonymous". Is this expected? (You might have used "VISITOR-UNIQUE-ID" as the visitor ID)'),Jt(e)&&console.error("The current visitor ID matches the example visitor ID from the Pendo installation instructions.");var t=lt.get_account_id();t||console.warn("The current visitor is not associated with an account. Is this expected?"),"ACCOUNT-UNIQUE-ID"===t&&console.error("The current account ID matches the example account ID from the Pendo installation instructions.");var n=ji();ft.each(["visitor","account","parentAccount"],function(e){var t=n&&n[e],r=ft.chain(t).keys().value();r.length>0?(console.group(e+" metadata (does this look right?):"),ft.each(t,function(e,t){ft.isObject(e)&&!ft.isArray(e)?console.warn(t+" is an object and will be ignored.",e):ft.isArray(e)&&ft.any(e,ft.isObject)?console.warn(t+" contains object values. The objects will be ignored.",e):console.log(t+":",e)}),console.groupEnd()):"parentAccount"!==e&&console.warn("No "+e+" metadata found. Learn more about metadata here: http://help.pendo.io/resources/support-library/installation/metadata.html")}),console.groupEnd()};var Tr=function(e){var t=an("log-enabled");return null!==t?"true"==t:!ft.contains(["prod","rc"],e)},Ir=function(){var e=an("active-contexts");return e?e.split(","):[]},Cr=function(){return Rr()?kr?"logging already enabled":(sn("log-enabled","true"),kr=!0,"logging enabled"):"logging unavailable"},Nr=function(){return kr?(sn("log-enabled","false"),kr=!1,"logging disabled"):"logging already disabled"},Or=Ir(),kr=Tr(gt),Lr=function(e,t){return ft.compact([].concat(e,t))},Rr=function(){return"undefined"!=typeof console&&console.log!==n},Dr=function(e){return e=Lr(e),Or.length>0?ft.intersection(Or,e).length>0:!!kr||!!lt.isDebuggingEnabled(!0)},Pr=function(e,t){t=Lr(t,ft.tail(arguments,2)),Rr()&&(Dr(t)&&Hr(e),Ur(e,t))},Mr=100,Br=[],Ur=function(e,t){ft.contains(t,"debug")||(Br.length==Mr&&Br.shift(),Br.push([e,t]))},Fr=function(e){e=Lr(e),ft.each(ft.map(ft.filter(Br,function(t){return 0===e.length||ft.intersection(e,t[1]).length>0}),function(e){return e[0]}),function(e){Hr(e,"[Pendo-History] ")})},Gr=function(){return ft.union.apply(ft,ft.map(Br,function(e){return e[1]}))},jr=function(){return Or},Wr=function(e){Or=Lr(e),sn("active-contexts",Or.join(","))},Hr=function(e,t){Rr()&&(t=t||"[Agent] ",console.log(t+e))};Pr.enableLogging=Cr,Pr.disableLogging=Nr,Pr.getActiveContexts=jr,Pr.setActiveContexts=Wr,Pr.showLogHistory=Fr,Pr.getLoggedContexts=Gr;var zr,qr,Kr=function(e,t){return e=e||10,t=isNaN(qr)?!1:t?t>qr:!0,t&&e>zr},Zr=([].slice,[].push,Object.prototype.toString,function(e){return P(e)?e.toLowerCase():e}),Vr=function(e){var t=D((/msie (\d+)/.exec(Zr(e))||[])[1]);return isNaN(t)&&(t=D((/trident\/.*; rv:(\d+)/.exec(Zr(e))||[])[1])),t};zr=Vr(navigator.userAgent);var Xr=function(e,t){var n=D((/trident\/(\d+)/.exec(Zr(e))||[])[1]);return isNaN(n)&&7==t&&(n=3),n};qr=Xr(navigator.userAgent,zr);var Jr,$r,Yr={},Qr=D((/android (\d+)/.exec(Zr((e.navigator||{}).userAgent))||[])[1]),ei=/Boxee/i.test((e.navigator||{}).userAgent),ti=e.document||{},ni=ti.documentMode,ri=/^(Moz|webkit|O|ms)(?=[A-Z])/,ii=ti.body&&ti.body.style,oi=!1,ai=!1;if(ii){for(var ui in ii)if($r=ri.exec(ui)){Jr=$r[0],Jr=Jr.substr(0,1).toUpperCase()+Jr.substr(1);break}Jr||(Jr="WebkitOpacity"in ii&&"webkit"),oi=!!("transition"in ii||Jr+"Transition"in ii),ai=!!("animation"in ii||Jr+"Animation"in ii),!Qr||oi&&ai||(oi=P(ti.body.style.webkitTransition),ai=P(ti.body.style.webkitAnimation))}
9lt._.extend(lt,{sniffer:{history:!(!e.history||!e.history.pushState||4>Qr||ei),hashchange:"onhashchange"in e&&(!ni||ni>7),hasEvent:function(e){if("input"==e&&9==zr)return!1;if(M(Yr[e])){var t=ti.createElement("div");Yr[e]="on"+e in t}return Yr[e]},vendorPrefix:Jr,transitions:oi,animations:ai,android:Qr,msie:zr,msieDocumentMode:ni}});var si,ci=(e.document,e.setTimeout),di=(e.clearTimeout,function(){return e&&e.process&&e.process.versions&&e.process.versions.electron}),li=function(){return e.location},fi=function(){return e.process.env.PWD||""},hi=function(){return e.process.env.HOME||""},pi=function(){return e.process.env.npm_package_name||""},gi=function(){var e=lt.url.getWindowLocation();if(lt.url.isElectron()){var t=lt.url.electronUserDirectory(),n=lt.url.electronAppName(),r="https://"+e.href.replace(e.origin+t,n);return r=r.replace(lt.url.electronUserHomeDirectory(),""),r=r.replace("file:///","")}return e.href},vi=[],mi=function(e){return M(si)&&B(100,ci),vi.push(e),e},yi=(lt.Sizzle("base",t),function(e){var t;try{t=gi()}catch(n){}return t}),bi=[],wi=!1,_i=function(t){return Pr("Initializing Pendo URL Watcher"),wi||(lt.sniffer.hashchange&&pr(e,"hashchange",U),mi(U),wi=!0),bi.push(t),t},Ei=function(){bi=[]},Si=function(){return t&&t.location&&"http:"===t.location.protocol?"http:":"https:"},xi="queryStringWhitelist",Ai=function(t,n,r){n=n||e.location.search.substring(1),t=t||yi();var i,o;i=t.indexOf(n),o=i+n.length;var a=t.substring(0,i),u=t.substring(o),s=r||Ar(xi);ft.isFunction(s)&&(s=s()),ft.isArray(s)&&(n=Ti(n,s)),n.length||"?"!==a.charAt(a.length-1)||(a=a.substr(0,a.length-1));var c=a+n+u;return c=F(c)},Ti=function(e,t){var n=Ii(e);return n=ft.pick(n,t),Ci(n)},Ii=function(e){var t=e.split("&");return ft.reduce(t,function(e,t){return t=t.split("="),t.length>1&&(e[t[0]]=t[1]),e},{})},Ci=function(e){return ft.reduce(e,function(e,t,n){return e?e+"&"+n+"="+t:e+n+"="+t},"")};lt._.extend(lt,{url:{watch:_i,get:yi,externalizeURL:Ai,getWindowLocation:li,clear:Ei,isElectron:di,electronUserDirectory:fi,electronAppName:pi,electronUserHomeDirectory:hi}});var Ni,Oi=gi(),ki=null,Li=function(){var t=e.navigator;return((lt._.isArray(t.languages)?t.languages[0]:t.language||t.browserLanguage||t.systemLanguage||t.userLanguage)||"").split("-").join("_")},Ri="meta",Di=function(e){"object"==typeof e&&(e=St(e)),"undefined"!=typeof e&&e.toString&&(e=e.toString());var t=ft.isNumber(Ni)?Ni:lt.read(Ri);return""+t!==e?!0:!1},Pi=function(e){return ft.any(["Number","Boolean","Date","String","Null","NaN","Undefined"],function(t){return ft["is"+t](e)})},Mi=function(e){var t={};return ft.each(e,function(e,n){Pi(e)?t[n]=e:ft.isArray(e)&&(t[n]=ft.filter(e,Pi))}),t},Bi=function(e){return ft.isObject(e)||(e={}),ft.isObject(e.visitor)||(e.visitor={}),ft.isObject(e.account)||(e.account={}),ft.isObject(e.parentAccount)||(e.parentAccount={}),e.visitor.id===Xt&&(lt.log("Missing visitor id."),delete e.visitor.id),lt.doesExist(e.account.id)&&lt.doesExist(e.parentAccount.id)&&(Yt(e.account.id)?e.parentAccount.id=e.account.id.split($t)[0]:e.account.id=""+e.parentAccount.id+$t+e.account.id),lt.doesExist(e.account.id)&&(lt.set_account_id(e.account.id),e.account.id=lt.get_account_id()),lt.doesExist(e.visitor.id)&&lt.identify(e.visitor.id,e.account.id),e.visitor.id=lt.get_visitor_id(),e.visitor.language=Li(),{visitor:e.visitor,account:Mi(e.account),parentAccount:e.parentAccount,date:Ui(),version:lt.VERSION}},Ui=function(){var e=new Date,t=e.getDate(),n=e.getMonth()+1,r=e.getFullYear();return 10>t&&(t="0"+t),10>n&&(n="0"+n),e=t+"/"+n+"/"+r},Fi=function(e){return e&&lt._.keys(e).length>0},Gi=wt(function(e){if(Fi(e)){e=Bi(e),ji=function(){return e};var t=St(e);Di(t)&&(lt.write(Ri,t),ki=e,Ni=t,Bn("meta",e),wr())}}),ji=function(){};lt.loadResource=function(e,n){try{var r="text/css",i="text/javascript";ft.isString(e)&&(e={url:e}),e.type=e.type||/\.css/.test(e.url)?r:i;var o=null,a=t.getElementsByTagName("head")[0]||t.getElementsByTagName("body")[0];if(e.type===r){var u=t.createElement("link");u.type=r,u.rel="stylesheet",u.href=e.url,o=u}else{var s=t.createElement("script");s.type=i,s.async=!0,s.src=e.url,o=s}return a.appendChild(o),lt.loadWatcher(o,e.url,n),o}catch(c){return{}}},lt.loadWatcher=function(e,t,n){var r=!1;if(lt.doesExist(n)&&(e.onload=function(){r!==!0&&(r=!0,n(null,t))},e.onerror=function(){lt.tellMaster({status:"error",msg:"Failed to load script",scriptURL:t})},e.onreadystatechange=function(){r||e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(r=!0,n(null,t))},"link"===e.tagName.toLowerCase())){var i=500;setTimeout(function(){if(!r){var e=new Image;e.onload=e.onerror=function(){r!==!0&&(r=!0,n(null,t))},e.src=t}},i),setTimeout(function(){r||gn("Failed to load "+t+" within 10 seconds")},1e4)}},lt.messageLogger=function(e){var t=JSON.parse(e.data),n=e.origin;ut(lt.app_name+": Message: "+JSON.stringify(t)+" from "+n),lt.tellMaster(e.source,{status:"success",msg:"ack",originator:"messageLogger"},n)},lt.messageReceiver=function(e){try{lt.messageDispatcher(lt.messageOriginTester(lt.messageValidator(e)))}catch(t){if(!/"type":"frame:/.test(e.data)){var n="Error receiving msg: "+JSON.stringify(e.data)+", Exception: "+t;lt.log(n)}}},lt.messageValidator=function(e){var t=e.data,n=e.origin,r=e.source;if(t=JSON.parse(t),!t.type||"string"!=typeof t.type)throw new Error("Invalid Message: Missing 'type' in data format");return{data:t,origin:n,source:r}};var Wi=G([ln,"https://demo.pendo-dev.com","https://app.pendo.io","https?://([a-zA-Z0-9-]+-dot-)?pendo-(dev|test|io|"+gt+").appspot.com"]);
9lt.messageOriginTester=function(e){if(Wi.test(e.origin))return e;throw new Error("Received message from untrusted origin "+e.origin)};var Hi;lt.onConnectMessage=function(t,n){Sn()&&(xa(),_n(),Ua.stop(),Hi=n.source,e.onbeforeunload=function(){En(),Hs(),lt.tellMaster(n.source,{type:"unload"},"*")},ft.isFunction(bo)&&bo(),Ws(),lt.tellMaster(n.source,{status:"success",type:"connect"},"*"),lt.findModuleByName("selection.js")&&(lt.log("Designer Modules already loaded."),lt.tellMaster({type:"ready"})))};var zi=function(e){lt.moduleLoader(e.moduleURL)},qi=function(t){e.addEventListener("message",lt.messageLogger,!1)};lt.MESSAGE_TYPES={connect:lt.onConnectMessage,disconnect:function(e){},module:zi,debug:qi};var Ki=function(e,t){lt.tellMaster({type:"msg-type-available","msg-type":e}),lt.MESSAGE_TYPES[e]=t};lt.messageDispatcher=function(e){var t=e.data;lt.doesExist(lt.MESSAGE_TYPES[t.type])&&lt.MESSAGE_TYPES[t.type](t,e)},lt.moduleRegistry={},lt.addModule=function(e){if(lt.moduleRegistry[e]={},"undefined"!=typeof CKEDITOR)try{CKEDITOR.config.customConfig=""}catch(t){}},lt.hasModule=function(e){return lt.doesExist(lt.moduleRegistry[e])},lt.findModuleByName=function(e){if(!lt.moduleRegistry)return null;var t=function(e,t){return e.indexOf(t)>=0};for(var n in lt.moduleRegistry)if(t(n,e))return n;return null},lt.modulesWaiting=[],lt.loadModules=function(){if(!(lt.modulesWaiting.length<1)){var e=lt.modulesWaiting.shift();lt.hasModule(e)||lt.loadResource(e,function(){lt.addModule(e),lt.loadModules()})}},lt.moduleLoader=function(e){lt.modulesWaiting.push(e),lt.modulesWaiting.length>1||lt.loadModules()};var Zi=function(e,t,n){var r=ft.uniqueId("pendo-");try{if("undefined"==typeof t&&"undefined"==typeof n&&(t=e,e=Hi||Xi(),n="*"),t.guid=r,e&&ft.isFunction(e.postMessage)){var i=JSON.stringify(t);e.postMessage(i,n)}}catch(o){var a=o&&o.message||"";Pr("Failed to postMessage: "+a)}return r},Vi=function(){return e!=e.top},Xi=function(){var t=new RegExp("^"+ln.replace(/^https?:/,"https?:"));return t.test(location.href)?e.parent:e.top},Ji=function(){if(Vi()){var e=Xi();lt.tellMaster(e,{type:"load",url:location.toString()},"*")}},$i=function(){lt.app_name=t.title,Vi()&&(lt.log(lt.app_name+": listening to messages"),lt.doesExist(e.addEventListener)&&e.addEventListener("message",lt.messageReceiver,!1))},Yi=function(){return isNaN(zr)?!1:11==zr?!1:"CSS1Compat"!==t.compatMode},Qi=function(e,t){var n=e.height,r=e.width;if("top"==e.arrowPosition||"bottom"==e.arrowPosition){var i=10,o=0;return"top"==e.arrowPosition?(e.top=t.top+t.height,o=-1,e.arrow.top=3,10==zr||9>=zr&&(e.arrow.top=6)):"bottom"==e.arrowPosition&&(e.top=t.top-(n+lt.TOOLTIP_ARROW_SIZE),e.arrow.top=n-lt.TOOLTIP_ARROW_SIZE,10==zr?e.arrow.top--:9>=zr&&(e.arrow.top+=4),o=1),"left"==e.arrow.hbias?(e.left=t.left+t.width/2-(i+2*lt.TOOLTIP_ARROW_SIZE),e.arrow.left=i+lt.TOOLTIP_ARROW_SIZE):"right"==e.arrow.hbias?(e.left=t.left-r+t.width/2+(i+2*lt.TOOLTIP_ARROW_SIZE),e.arrow.left=r-3*lt.TOOLTIP_ARROW_SIZE-i):(e.left=t.left+t.width/2-r/2,e.arrow.left=r/2-lt.TOOLTIP_ARROW_SIZE),e.arrow.border.top=e.arrow.top+o,e.arrow.border.left=e.arrow.left,e}return"left"==e.arrow.hbias?(e.left=t.left+t.width,e.arrow.left=1,e.arrow.left+=5,e.arrow.border.left=e.arrow.left-1):"right"==e.arrow.hbias&&(e.left=Math.max(0,t.left-r-lt.TOOLTIP_ARROW_SIZE),e.arrow.left=r-lt.TOOLTIP_ARROW_SIZE-1,e.arrow.left+=5,e.arrow.border.left=e.arrow.left+1),e.top=t.top+t.height/2-n/2,e.arrow.top=n/2-lt.TOOLTIP_ARROW_SIZE,e.arrow.border.top=e.arrow.top,e},eo=[],to=[],In=16,Cn=1900,Nn=2e3,no=function(e,t){return t.substring(0,e)},ro=function(){pr(e,"unload",uo),function(e){XMLHttpRequest.prototype.open=function(t,n,r,i,o){var a={};this.addEventListener("readystatechange",function(){var e=arguments[0].target||arguments[0].srcElement||arguments[0].currentTarget;io(a,this.readyState,n,t,e)},!1),e.apply(this,arguments)}}(XMLHttpRequest.prototype.open)},io=function(e,t,n,r,i){if(1===t){var o=lt.get_visitor_id();e.visitor_id=o;var a=lt.get_account_id();e.account_id=a,e.browser_url=oo(lt.url.getWindowLocation().href),e.browser_time=(new Date).getTime(),e.request_method=r,e.type="xhr"}else 4===t&&(e.request_url=oo(i.responseURL),e.response_status=i.status,e.duration=(new Date).getTime()-e.browser_time,co(e))},oo=function(e){var t=e.indexOf("?"),n=-1===t?"":e.slice(t+1,e.length);return Ai(e,n,a("xhrWhitelist"))},ao=function(e,t){var n=e.request_url,r=e.browser_url;ut("Max length exceeded for an event"),n&&n.length>Nn?(ut("shortening the request URL and retrying"),e.request_url=no(Nn,n),co(e)):r&&r.length>Nn?(ut("shortening the browser URL and retrying"),e.request_url=no(Nn,r),co(e)):(ut("Couldn't write event"),gn("Single item is: "+t.length+". Dropping."),yn(t))},uo=function(e){var t=[].concat(e);e.length=0;for(var n=[t];n.length>0;){var r=n.shift(),i=lt.squeezeAndCompress(r);if(i.length>Cn)if(1===r.length)ao(r[0],i);else{var o=r.length/2;n.unshift(r.slice(0,o)),n.unshift(r.slice(o))}else hn(i,"xhr"),so(r)}},so=function(e){to.push([].concat(e)),to.length>100&&(ut("Pruning earliest 50 items from history"),to.splice(0,50))},co=function(e){eo.push(e),eo.length>In&&lo()},lo=function(){if(eo.length>0)try{uo(eo)}catch(e){mn(e,"error while flushing xhr cache")}},fo=function(){function e(){fo.lastDisplayedGuideId=null}function t(e){return e&&/auto/.test(e.launchMethod)}function n(e){return e.attributes&&e.attributes.overrideAutoThrottling}function r(e){return ft.defaults(ft.groupBy(e,function(e){return n(e)?"override":"auto"}),{override:[],auto:[]})}function i(e,t){function n(e,t){return r[t]?(e.push(r[t]),delete r[t],e):e}if(!ft.isArray(t)||!t.length)return e;var r=ft.indexBy(e,"id"),i=ft.reduce(t,n,[]);
9return ft.chain(e).pluck("id").reduce(n,i).value()}function o(e,t){if(!t)return e;for(var n=0,r=e.length;r>n;++n)if(e[n].id===t)return e.slice(n+1).concat(e.slice(0,n+1));return e}function a(e,n){return r(i(ft.filter(e,t),n))}function s(e){return Math.max(e.latestDismissedAutoAt||-(1/0),e.finalAdvancedAutoAt||-(1/0))}function c(e,t){var n=new Date(Math.max(e,0));return n.setHours(0,0,0,0),n.setDate(n.getDate()+t),n.getTime()}function d(e,t){var n=t.interval,r=(t.unit||"").toLowerCase();if(ft.isNumber(n)&&isFinite(e)){if("minute"===r)return 6e4*n+e+1;if("hour"===r)return 36e5*n+e+1;if("day"===r)return c(e,n)}else if(ft.isNumber(n))return(new Date).getTime()}function l(e,t,n){if(n&&n.enabled){var r=d(t,n);if(ft.isNumber(r)&&!isNaN(r))return e>=r}return!0}function f(e,t){return ft.find(o(e,t),function(e){return e.shouldAutoDisplay()&&e.autoDisplay(),e.isShown()})}function h(e,t){var n=fo.lastDismissedTime(t),r=fo.sortAndFilter(e,t.autoOrdering),i=fo.display(r.override,fo.lastDisplayedGuideId);return!i&&fo.canDisplay(u(),n,t.throttling)&&(i=fo.display(r.auto,fo.lastDisplayedGuideId)),fo.lastDisplayedGuideId=i?i.id:null,i}return{reset:e,canDisplay:l,display:f,lastDismissedTime:s,sortAndFilter:a,tryDisplay:h,getNextAutoDisplayTime:d}}(),ho=function(){function e(e){var t=e.getCurrentUrl(),n={};t.replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),function(e,t,r,i){n[t]=i});var r=n.pendo;return r?e.findGuideById(r):null}function t(e,t){t.showGuideById(e.id),e.shownFromPermalink=!0}function n(e){return!e.shownFromPermalink}function r(e){var t=ho.getGuideFromUrl(e);return t&&ho.shouldShowPermalinkGuide(t)?(ho.showPermalinkGuide(t,e),!0):!1}return{tryDisplay:r,getGuideFromUrl:e,showPermalinkGuide:t,shouldShowPermalinkGuide:n}}(),po=function(e){function t(t){if(!i[t.id]){var n=[],r={deferred:{}};if(t.contentUrlJs){r.deferred.content=bt.defer();var o=e.loadResource(t.contentUrlJs,function(){T.removeNode(o)});n.push(r.deferred.content.promise),t.contentUrlCss&&(r.deferred.css=bt.defer(),e.loadResource({url:t.contentUrlCss,type:"text/css"},function(){r.deferred.css.resolve()}),n.push(r.deferred.css.promise))}else{if(!t.contentUrl)return bt.reject();r.deferred.content=bt.defer();var a=e.loadResource(t.contentUrl+".js",function(){T.removeNode(a)});n.push(r.deferred.content.promise)}r.deferred.promise=bt.all(n).then(function(){return ft.omit(r,"deferred")}),i[t.id]=r}return i[t.id].deferred.promise}function n(){i={}}function r(e,t,n,r,o){if(ft.isString(n)){ft.isFunction(r)||(r=ft.template(n));var a=i[e+t];a&&a.deferred.content&&(a.content=n,a.template=r,a.script=o,a.deferred.content.resolve())}}e.guideContent=r;var i={};return{load:t,reset:n}}(lt),go=500,vo="_pendo-guide-banner_",mo=function(){function e(e){var t=this;return t.before("hide",function(){i=!0}),t.before("show",function(n){if(c()){if(i=!1,r)return t.guideId!==r||ft.contains(s,t)||s.push(t),!1;var u=l(e);if(u===a)return!1;if(u!==o){s.push(t);var f=function(){ft.each(s,function(e){e.unlock()}),s.length=0,setTimeout(Oa,0)};return t.lock(),d(e).then(function(){ft.each(s,function(e){e.unlock(),i||(e.show(n),t.isShown()||t.hide())}),f()},f),!1}}}),this.signature=function(){var e=[["content",this.content]],t=this.attributes&&this.attributes.variables;if(t){var n=f(t);n.length&&(n=ft.sortBy(n,function(e){return e[0]}),e.push(["variables",n]))}return e},t}function t(){return this.signature=function(){return ft.map(this.steps,function(e){return e.signature()})},this}function n(){var e=this,t=!1,n=function(){return ft.size(lt.events._handlers.validateLauncher)>0&&e.data.template},r=function(){var t=JSON.stringify(e.signature()),n="launcher-"+St(t);return lt.events.validateLauncher(t).then(function(){u[n]=o},function(){u[n]=a})},i=function(){var t="launcher-"+St(e.signature());return u[t]};return e.before("update",function(){return n()&&t?!1:void 0}),e.before("render",function(){if(n()){if(t)return!1;var u=i();if(u===a)return!1;if(u!==o)return t=!0,r().then(function(){t=!1,e.render(),e.update(de())},function(){t=!1}),!1}}),e.signature=function(){var e=[],t=f(this.data);return t.length&&(t=ft.chain(t).filter(function(e){return!/^contentUrl/.test(e[0])}).sortBy(function(e){return e[0]}
9).value(),e.push(["variables",t])),e},e}var r,i,o="allow",a="deny",u={},s=[],c=function(){return ft.size(lt.events._handlers.validateGuide)>0},d=function(e){return r=e.id,e.fetchContent().then(function(){var t=JSON.stringify(e.signature()),n=e.id+"-"+St(t);return lt.events.validateGuide(t,e).then(function(){r=null,u[n]=o},function(){r=null,u[n]=a})})},l=function(e){var t=e.id+"-"+St(e.signature());return u[t]},f=function(e,t){var n=[];return ft.each(e,function(e,r){var i=r;t&&(i=t+"."+i),ft.isObject(e)?ft.each(f(e,i),function(e){n.push(e)}):n.push([i,e])}),n};return{Step:e,Guide:t,Launcher:n,reset:function(){u={},r=null,s.length=0}}}(),yo=function(){function e(e){function t(){a=!0}function n(e){return i(s),a=!1,lt.doesExist(u.content)?void 0:(u.lock(),u.fetchContent().then(function(){u.unlock(),a||(u.show(e),u.isShown()||u.hide())},function(){u.unlock()}),!1)}function r(){if(!o){var e=ft.extend({id:u.guideId+u.id},ft.pick(u,"contentUrl","contentUrlCss","contentUrlJs"));o=po.load(e).then(function(e){ft.extend(u,e)})}return o}function i(t){var n=ft.indexOf(e.steps,u);ft.chain(e.steps).rest(n+1).first(t).each(function(e){e.fetchContent()}).value()}var o,a,u=this,s=3;return u.contentUrl&&(ft.extend(u,{fetchContent:r}),u.before("hide",t),u.before("show",n)),u}return e.reset=function(){po.reset()},e.reset(),e}();X.create=function(e,t){return ft.reduce(X.behaviors,function(e,n){return n.call(e,t)},e)},X.isGuideStep=function(e){return!!e&&ft.isFunction(e.render)},X.behaviors=[j,X,H,yo,mo.Step,$,Y,z,q,K,Z,V,J],te.MAX_ERRORS_PER_MINUTE=30,ne.create=function(e){return ft.reduce(ne.behaviors,function(e,t){return t.call(e)},e)},ne.behaviors=[j,ne,mo.Guide,ee,Q,te,W],ie.prototype.add=function(){(0!==ft.indexOf(this.guide.steps,this.step)||ie.shouldAttachHandler(this.guide,this.method))&&(!oa(this.guide)||aa(this.guide))&&this.setupElementEvent(this.element,this.method)},ie.prototype.remove=function(){this.teardownElementEvent(this.element,this.method)},ie.prototype.setupElementEvent=function(e,t){this.advanceFn||(this.advanceFn=ft.compose(ft.bind(this.teardownElementEvent,this,e,t),ft.bind(this.step.advance,this.step))),ie.attach(this.step,e,t,this.advanceFn)},ie.prototype.teardownElementEvent=function(e,t){Pr("detach onGuideAdvanced","guide"),gr(e,t,this.advanceFn,!0),this.step.removeTrigger(this)},ie.shouldAttachHandler=function(e,t){return!e.isActivatedByEvent(t)||e.attributes.activation.selector!==e.steps[0].elementPathRule&&!!e.attributes.activation.selector},ie.attach=function(e,t,n,r){if(e){for(var i=ie.handlers=ie.handlers||{},o=i[e.id]=i[e.id]||[],a=0;a<o.length;++a){var u=o[a];t===u[0]&&n===u[1]&&(gr(t,n,u[2],!0),o.splice(ft.indexOf(o,u),1),a--)}o.push([t,n,r]),gr(t,n,r,!0),pr(t,n,r,!0)}};var bo,wo=ft.wrap(ft.once(ft.wrap(oe,ae)),ue),_o={load:function(e,t){lt.ajax.get(e).then(function(e){ft.each(e.data,function(e,t){lt[t]=e}),t()})},buildUrl:function(e,t){return fn("guide.json",e,t)}},Eo=_o,So=[],xo=[],Ao=[],To="_pendo-guide_",Io="_pendo_g_",Co=null,No=0,Oo=function(){return ft.any(de(),function(e){return e.isShown()})},ko=function(e,t){var n=T("._pendo-close-guide_",e);if(n.length)return n[0];n=T("<button>").attr("id","_pendo-close-guide_").attr("aria-label","close").addClass("_pendo-close-guide_").html("&times;"),Yi()?zr>9&&n.css({top:3}):8===zr?n.css({top:9,right:2}):9===zr?n.css({right:2,top:3}):zr>9&&n.css({top:3});var r=T("._pendo-guide-container_",e)[0]||e;return n.appendTo(r),n[0].onclick=function(){t()},n[0]},Lo=function(e,t){for(var n=de(),r=0;r<n.length;r++)if(n[r][e]===t)return n[r];return null},Ro=function(e){return lt.findGuideBy("id",e)},Do=function(e){return lt.findGuideBy("name",e)},Po=function(e,t){return e&&e.id?(e=Ro(e.id),e.findStepById(t)):null},Mo=function(e,t,n){var r=lt.findStepInGuide(Ro(e),t);r&&(r.seenState=n)},Bo=function(e){for(var t=new RegExp("^"+Io);e;){if(ft.isString(e.id)&&t.test(e.id))return e.id.replace(t,"");e=e.parentNode}return null},Uo=function(e,t){if(e&&e.guideId&&(t=e,e=null),X.isGuideStep(t))return t;if(t){var n=Ro(t.guideId);return n&&n.findStepById(t.id)}var r=ft.find(de(),function(e){return e.isShown()});if(r){var i;return e&&(i=Bo(e.target||e.srcElement||e)),i?(t=r.findStepById(i),t||gn("findStepF
9orGuideEvent: step with id "+i)):(t=ft.find(r.steps,function(e){return e.isShown()}),t||gn("findStepForGuideEvent: no step shown")),t}},Fo=function(e){var t="element"===e.advanceMethod?"click":"mouseover",n=lt.getElementForGuideStep(e);"tooltip"===e.type&&ft.isFunction(e.teardownElementEvent)?e.teardownElementEvent(n,t):gr(n,t,Wo,!0)},Go=function(e,t){var n=null;if(e&&e instanceof Object&&e.until&&(n=e.until),t=Uo(e,t),!t||!t.id)return void xa();if(n)return void t.hide({stayHidden:!0});Fo(t);var r=t.id,i=t.guideId,o=Ro(i),a=ft.first(o&&o.steps),s=a&&a.seenReason;he(i,r,lt.get_visitor_id(),s);var c=u();Mo(i,r,"dismissed"),Co={guideId:i,guideStepId:r,time:c,state:"dismissed",seenReason:s},Qo(Co),"auto"===s&&ge(c),t.hide(),Oo()||(xa(),Oa())},jo=function(){var e=yu();e&&ft.each(e.steps,function(e){var t="element"==e.advanceMethod?"click":"mouseover",n=lt.getElementForGuideStep(e);"tooltip"===e.type&&ft.isFunction(e.teardownElementEvent)?e.teardownElementEvent(n,t):gr(n,t,Wo,!0)})},Wo=function(e,t){if(jo(),Pr("onGuideAdvanced called","guides"),t=Uo(e,t),!t)return Pr("missing step.  can't advance",["guides","error"]),xa(),void gn("onGuideAdvanced: missing step");if(e&&ft.isNumber(e.steps)&&e.steps>1){var n=e.steps-1,r=Ro(t.guideId),i=ft.indexOf(r.steps,t),o=i+n;o>=r.steps.length&&(o=r.steps.length-1);var a=o;e.skip===!0&&(a=i+1);for(var u=i;a>u;++u)t=r.steps[u],pe(r.id,t.id,lt.get_visitor_id(),t.seenReason),Mo(r.id,t.id,"advanced");return Wo(r.steps[o])}var s=t.id,c=t.guideId,r=Ro(c),d=ft.first(r&&r.steps),l=d&&d.seenReason;Pr("advancing guide"),pe(c,s,lt.get_visitor_id(),l),Pr("update guide status"),Mo(c,s,"advanced");var f=(new Date).getTime();Co={guideId:c,guideStepId:s,time:f,state:"advanced",seenReason:l},Qo(Co),d&&"auto"===d.seenReason&&ve(f),Pr("stop guide"),xa(),Pr("start guides"),Oa()},Ho=function(e,t){if(t=Uo(e,t),!t)return xa(),void gn("onGuidePrevious: missing step");var n=(t.id,t.guideId),r=Ro(n),i=ft.indexOf(r.steps,t);if(0!==i){var o="element"==t.advanceMethod?"click":"mouseover",a=lt.getElementForGuideStep(t);"tooltip"===t.type&&ft.isFunction(t.teardownElementEvent)?t.teardownElementEvent(a,o):gr(a,o,Wo,!0);var u=r.steps[i-1];Mo(t.guideId,t.id,"active"),Mo(u.guideId,u.id,"active"),Co={guideId:u.guideId,guideStepId:u.id,time:(new Date).getTime(),state:"active"},Qo(Co),xa(),Oa()}};lt._addCredits=function(e){if(!T("._pendo-credits_",e).length){var t=T("<div>").addClass("_pendo-credits_").html('<img src="'+se()+'/img/tiny-logo.png" />').css({bottom:0,right:lt.TOOLTIP_ARROW_SIZE});xo.push(t[0]),t.appendTo(e)}};var zo=function(e){return e?(e.overrideElement||aa(e.getGuide())||(e.overrideElement=Jo(e)),e.overrideElement?(ut("step has an override-element specified: "+e.overrideElement),e.overrideElement):qo(e)):(Pr("Can't get element for null step"),null)},qo=function(e){var t=e.elementPathRule||null;ut("looking for element using selector: "+t);var n;return n=t?ht(t):[Gt()],0===n.length?(ut("Couldn't find element: "+t),null):ft.first(n)},Ko=function(e){if(fe(e))return!1;if(!e.elementPathRule&&"lightbox"==e.type)return!0;var t=zo(e);return S(t)},Zo=function(e){return Io+e.id},Vo=function(e){var t=e.element,n=ft.first(ht("#"+Zo(e)));if(t&&n){var r=S(t);if(r||T.hasClass(n,"mouseover"))return void setTimeout(function(){Vo(e)},_a);e.hide?(e.hide(),Oo()||(xa(),Oa())):(xa(),Oa())}else!t&&n&&(e.hide?(e.hide(),Oo()||(xa(),Oa())):(xa(),Oa()))},Xo=function(){return!1},Jo=function(e){return ft.first(ht("#_pendo-badge_"+e.id))},$o=function(e,t){if(!e||!e.guideId)return!1;var n=Ro(e.guideId);if(!n)return!1;if(Oo()){var r=Uo();Fo(r),le()}return n.launch(t),n.isShown()},Yo=function(e,t,n,r){var i=me({type:"guideSeen",guideId:e,stepId:t,visitorId:n,reason:r});na(i)},Qo=function(e){var t=JSON.stringify(e),n=1e4;Pr("writing "+t+" to a cookie named lastStepAdvanced for "+n),lt._set_cookie("lastStepAdvanced",t,n)},ea=null,ta=function(t){e.clearTimeout(ea),ea=e.setTimeout(pa,t)},na=function(e,t){t=t||500,e.props.duration=(new Date).getTime()-No,So.push(e),ta(t)},ra=function(e,t){if("dismissed"===e.state)return null;var n=Ro(e.guideId);return n.nextStep(e,t||lt.getCurrentUrl())},ia=function(e,t){var n=Ro(e&&e.id);return n?n.shouldAutoDisplay(t):!1};lt.getCurrentUrl=function(){return lt.normalizedUrl||lt.url.get()};var oa=function(e){return e&&e.launchMethod&&e.launchMethod.indexOf("badge")>=0},aa=function(e){return e&&e.isMultiStep&&!(e.attributes&&"group"==e.attributes.type)};lt.testUrlForStep=function(e,t){if(!lt.doesExist(e))return!0;var n=new RegExp(e),r=null,i=t.indexOf("?");if(-1==i)r=t;else{var o=t.substr(0,i),a=t.substr(i+1),u=a.split("&");r=o+"?"+u.sort().join("&")}return n.test(r)},lt.showGuideByName=function(e){var t=lt.findGuideByName(e);return t?$o(ft.first(t.steps)):!1},lt.showGuideById=function(e){var t=lt.findGuideById(e);return t?$o(ft.first(t.steps)):!1};var ua=function(){var e=lt._get_cookie("lastStepAdvanced");if(e){var t=JSON.parse(e);Pr("applying cookie to guide list "+e),t[0]&&(t={guideId:t[0],guideStepId:t[1],state:"advanced",time:(new Date).getTime()});var n=t.guideId,r=t.guideStepId,i=Ro(n);if(i){var o=ft.first(i.steps);o&&t.seenReason&&(o.seenReason=t.seenReason);
9var a=lt.findStepInGuide(i,r);a&&a.seenState!=t.state&&(Pr("making sure that seenState = 'advanced' for lastStepAdvanced: "+r),a.seenState=t.state)}Pr("updating lastGuideStepSeen so that the state matches our local value for "+r),ft.extend(Co,t)}},sa=function(){return ca()&&Rt().width<=320?!0:/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(mt())},ca=function(){return"undefined"!=typeof selmo&&!!selmo.isPreviewing},da=function(){xa(),Sa(),Tu(),xs(),Fn()},la=function(){lt.guides&&(Ao.length=0,lt.guides.length=0,Ga.length=0),Na()},fa=function(){var e,t;return function(n,r,i){var a=ft.uniqueId();e=a;var u=ji();u?(Pr("sending metadata: "+JSON.stringify(u),["guides","metadata"]),r.metadata=u):Pr("no metadata to send",["guides","metadata"]);var s=lt.compress(r),c={jzb:s,v:vt,ct:(new Date).getTime()};rt(!0)&&(c.debug=!0);var d=Eo.buildUrl(n,c),l=1e3;d.length>l&&(ut("Max length exceeded for a guide.js request"),r.url=kn(l,r.url),s=lt.compress(r),d=Eo.buildUrl(n,{jzb:s,v:vt,ct:(new Date).getTime()})),d.length>Nn?(ut("Couldn't request guide.js"),gn("Guide.js url is "+d.length+" characters long. Dropping."),yn(d),i("error: guide.js url too long")):Eo.load(d,function(){a===e?(i.apply(this,arguments),t=o(lt,["guides","normalizedUrl","lastGuideStepSeen","guideWidget","throttling","autoOrdering","olark","globalJsUrl","segmentFlags","latestDismissedAutoAt","finalAdvancedAutoAt"])):ft.isFunction(t)&&t()})}}(),ha=function(e,t,n,r){var i,o=bt.defer(),a=!1;Pr("loading guides for "+n+"...","guides"),e=e||lt.apiKey,t=t||lt.get_visitor_id(),n=lt.url.externalizeURL(n);var u=we(Ao);if(da(),la(),!Pn(Mn()))return Pr("bad url:  probably local file system","guides","error"),ft.isFunction(r)&&r("error: invalid url"),o.reject(),o.promise;var s={visitorId:t,accountId:lt.get_account_id(),url:n};fa(e,s,function(){!a&&Sn()&&(Pr("successfully loaded guides for "+n,"guides"),da(),Co=lt.lastGuideStepSeen,Ao=ft.map(lt.guides,re),Ao=be(Ao),ua(),lt.latestDismissedAutoAt=ye(lt.latestDismissedAutoAt,lt._get_cookie("latestDismissedAutoAt")),lt.finalAdvancedAutoAt=ye(lt.finalAdvancedAutoAt,lt._get_cookie("finalAdvancedAutoAt")),Ua.updateGuideList(Ao),Ao.length?bt.all([Ee(),wo(lt.globalJsUrl),Qe(Ye(lt.guideWidget,Ao))]).then(function(){Bs(),u(Ao),Oa(),clearTimeout(i),ft.isFunction(r)&&r(),o.resolve()},function(){o.reject()}):o.resolve())});var c=Ar("guideTimeout")||Ar("guides.timeout");
10return ft.isNumber(c)&&(i=setTimeout(function(){a=!0,o.reject()},c)),o.promise},pa=function(){var e=[].concat(So);So=[],e.length>0&&ft.map(e,pn)},ga=function(){return So},va=function(){So=[],pr(e,"unload",pa),bo=Se();var t=Ar("guides.tooltip.arrowSize");ft.isNumber(t)&&(lt.TOOLTIP_ARROW_SIZE=t),Ua.init()},ma=function(){return Ar("guides.disabled",!1)||Ar("disableGuides",!1)},ya=function(){return Ar("guides.delay",!1)||Ar("delayGuides",!1)},ba=function(e){_r.disableGuides=e},wa=function(){function e(e){var t=wa.buildNodeFromJSON(e);t.appendTo(Gt())}function t(e){var t=lt.dom("<"+e.type+">");if(ft.each(e.props,function(n,r){"style"===r?t.attr("style",wa.buildStyleString(e.props.style)):t.attr(r,n)}),e.content&&t.text(e.content),"style"===e.type&&t.text(wa.buildStyleTagContent(e.css)),e.children)for(var n=0;n<e.children.length;n++){var r=wa.buildNodeFromJSON(e.children[n]);r.appendTo(t)}return t.appendTo("</"+e.type+">")}function n(e){var t="";return ft.each(e,function(e,n){t=t+n+":"+e+";"}),t}function r(e){for(var t="",n=0;n<e.length;n++)t+=e[n].selector+"{",ft.each(e[n].styles,function(e,n){t+=n+":"+e,t+="!important;"}),t+="}";return t}return{renderGuideFromJSON:e,buildNodeFromJSON:t,buildStyleString:n,buildStyleTagContent:r}}();lt.guidesProcessingThreadHandle=null;var _a=500,Ea=function(e){e=e||_a,lt.guidesProcessingThreadHandle=ft.delay(function(){lt.guidesProcessingThreadHandle=null,Oa()},e)},Sa=function(){lt.guidesProcessingThreadHandle&&(clearTimeout(lt.guidesProcessingThreadHandle),lt.guidesProcessingThreadHandle=null)},xa=function(){fo.reset(),is(),le();for(var e=0;e<xo.length;e++){var t=xo[e];t.parentNode.removeChild(t)}xo.length=0},Aa="default",Ta={},Ia=function(e,t){Ta[e]=t},Ca=function(e){return e&&"default"!=e?Ta[e]?void(Aa=e):void alert("Bad Mode: "+e):void(Aa="default")},Na=ft.partial(Ca,"default"),Oa=function(){if(Sa(),ma())return void Pr("guides are disabled.","guides","disabled");if(ya())return void Pr("guides are delayed.","guides","delayed");try{var e=de();if(!e||0===e.length)return;La()(e)}catch(t){mn(t,"ERROR in guide-loop")}finally{Ea()}},ka=function(){Ar("delayGuides")&&delete _r.delayGuides,Ar("guides.delay")&&delete _r.guides.delay,Oa()},La=function(){return Ta[Aa]?Ta[Aa]:Ra},Ra=function(e){Da(e),Pa(e),Ua.updateFrameVisibility(),Oo()?Ae():Ma(e)},Da=function(e){var t=ft.filter(e,oa);t.length>0;ft.each(t,function(e){e.placeBadge()})},Pa=function(e){Is(e)},Ma=function(e){if(!ho.tryDisplay(lt)){var t=ft.find(e,function(e){return e.isContinuation(Co)});return t?void t.show("continue"):void fo.tryDisplay(e,lt)}},Ba=function(){function t(e){var t=d[e.responseId];t&&(delete d[e.responseId],t.resolve(e))}function n(){d||(d={},l=i(h,t))}function r(e,t){return function(n){try{var r=a(n);r&&r.apiKey===lt.apiKey&&r.type===e&&t.call(this,r)}catch(i){mn(i)}}}function i(t,n){var i=r(t,n);return ft.isFunction(e.addEventListener)&&e.addEventListener("message",i,!1),ft.partial(o,i)}function o(t){ft.isFunction(e.removeEventListener)&&e.removeEventListener("message",t,!1)}function a(e){try{var t=JSON.parse(e.data);return t.window=function(){return e.source},t.reply=function(n){s(e.source,ft.extend({type:h,responseId:t.guid},n))},t}catch(n){}}function u(){ft.isFunction(l)&&l(),d=null}function s(e,t){return Zi(e,ft.extend({apiKey:lt.apiKey,frameId:f},t),"*")}function c(e,t,r){n();var i=s(e,t),o=bt.defer();if(d[i]=o,ft.isNumber(r))var a=setTimeout(function(){d&&delete d[i],o.reject()},r);return o.promise.then(function(){clearTimeout(a)}),o.promise}var d,l,f=lt.randomString(32),h="frame:reply";return{post:s,request:c,subscribe:i,stop:u}}(),Ua=function(){function t(){Vi()?(r(),d(),pr(e,"unload",c)):(K.load=Ba.subscribe(M,h),K.unload=Ba.subscribe(B,p),K.guideList=Ba.subscribe(U,m),K.guideShown=Ba.subscribe(G,b),K.guideHidden=Ba.subscribe(j,_))}function n(e){return ft.any(q,function(t){return t.shown&&t.shown[e.
10id]})}function r(){function t(){Ba.request(e.top,{type:M},r).then(g,n)}function n(){Na(),r=Math.min(r+r,1e3),i++<5&&t()}var r=100,i=0;t()}function i(){return!ft.isEmpty(q)}function o(e){return ft.chain(q).filter(function(e){return e&&e.state}).filter(function(t){return t.state[e.id]}).filter(function(e){return"hidden"!==e.visibility}).map(function(t){return t.state[e.id]}).value()}function a(){ft.each(K,function(e){e()}),Na(),q={},K={},H={},z={}}function u(e){return!!H[e.id]}function s(e){return!!z[e.id]}function c(){Ba.post(e.top,{type:B})}function d(){Ia(D,f),Ca(D)}function l(e){Da(e),Oo()&&Ae();var t=ze(e),n=qe(t);lt.doesExist(Z)&&n!==Z&&v(e),Z=n}function f(){}function h(e){q[e.frameId]=q[e.frameId]||{},q[e.frameId].window=e.window,q[e.frameId].shown={},e.reply()}function p(e){m({frameId:e.frameId,guide:[]}),delete q[e.frameId]}function g(e){K.showGuide=Ba.subscribe(F,T),K.hideGuides=Ba.subscribe(W,E),xa(),Ia(P,l),Ca(P),v(de())}function v(t){var n=N(t);Ba.post(e.top,{type:U,guides:n,state:ft.chain(t).filter(C).map(O).value()})}function m(e){var t=e.frameId;q[t]=q[t]||{},q[t].window=q[t].window||e.window,q[t].shown=q[t].shown||{},ft.each(q[t].guides,function(e,t){z[t]&&!--z[t]&&delete z[t]}),q[t].guides=ft.indexBy(N(e.guides),"id"),q[t].state=ft.indexBy(e.state,"id"),ft.each(q[t].guides,function(e,t){z[t]||(z[t]=0),z[t]++}),k()}function y(t){t&&Vi()&&Ba.post(e.top,{type:G,guideId:t.guideId,stepId:t.id})}function b(e){ft.each(q,function(t,n){n!==e.frameId&&Ba.post(t.window(),{type:W,guideId:e.guideId,stepId:e.stepId})}),ft.each(de(),function(t){if(t.isShown()){var n=t.findStepById(e.stepId);n?n.hide({onlyThisFrame:!0}):t.hide()}}),q[e.frameId].shown[e.stepId]=!0}function w(t,n){Vi()?Ba.post(e.top,{type:j,guideId:t.guideId,stepId:t.id,lastGuideStepSeen:Co,options:n}):ft.each(q,function(e){Ba.post(e.window(),{type:W,guideId:t.guideId,stepId:t.id,lastGuideStepSeen:Co,options:ft.extend({onlyThisFrame:!0},n)}),e.shown=e.shown||{},e.shown[t.id]=!1})}function _(e){var t=lt.findGuideById(e.guideId),n=t&&t.findStepById(e.stepId);n&&n.hide(ft.extend({},{onlyThisFrame:!0},e.options)),x(e.lastGuideStepSeen),q[e.frameId].shown[e.stepId]=!1,Oa()}function E(e){if(x(e.lastGuideStepSeen),e.guideId&&e.stepId){var t=lt.findGuideById(e.guideId),n=t&&t.findStepById(e.stepId);n&&n.hide(e.options)}else le(e.options)}function x(e){ft.extend(Co,e),Mo(Co.guideId,Co.guideStepId,Co.state),Qo(Co)}function A(e,t){function n(){var i=r.shift();return i?Ba.request(i.window(),{type:F,stepId:e.id,guideId:e.guideId,reason:t}).then(function(e){return e.error?bt.reject(e.error):e.isShown?e:n()}):bt.resolve({isShown:!1})}var r=ft.chain(q).filter(function(t){return t.guides[e.guideId]}).filter(function(e){return"hidden"!==e.visibility}
10).value();return n().then(function(t){var n=q[t.frameId];return t.isShown&&n&&(n.shown[e.id]=!0),t})}function T(e){var t=Ro(e.guideId),n=t&&t.findStepById(e.stepId);n?(n.show(e.reason),e.reply({isShown:n.isShown()})):e.reply({isShown:!1})}function I(e){var t=ft.pick(e,"id","name","launchMethod","isMultiStep","steps","attributes");return t.steps=ft.map(e.steps,function(e){return ft.pick(e,"attributes","advanceMethod","id","guideId","elementPathRule","regexUrlRule","type","seenState")}),t}function C(e){return e.steps&&e.steps.length&&"launcher"!==e.steps[0].type}function N(e){return ft.chain(e).filter(C).map(I).value()}function O(e){return{id:e.id,shouldBeAddedToLauncher:e.shouldBeAddedToLauncher()}}function k(){for(var e=de(),t=0;t<e.length;++t){var n=e[t].id;z[n]||H[n]||e.splice(t--,1)}var r=ft.indexBy(e,"id"),i=ft.chain(q).map(function(e){return ft.toArray(e.guides)}).flatten(!0).filter(function(e){return!r[e.id]}).unique("id").map(re).value();e.push.apply(e,i),be(e)}function L(e){H=ft.chain(e).pluck("id").indexBy().value(),Vi()?v(e):k()}function R(){var e=ht("iframe");ft.each(q,function(t){var n=ft.find(e,function(e){return e.contentWindow==t.window()}),r=S(n)?"visible":n?"hidden":"unknown";"visible"===t.visibility&&"hidden"===r&&Ba.post(t.window(),{type:W}),t.visibility=r})}var D="paused",P="slave",M="frame:load",B="frame:unload",U="frame:guidelist",F="frame:showguide",G="frame:guideshown",j="frame:guidehidden",W="frame:hideguide",H={},z={},q={},K={};return{init:t,stop:a,isInThisFrame:u,isInAnotherFrame:s,show:A,shown:y,hide:w,updateGuideList:L,getState:o,hasFrames:i,updateFrameVisibility:R,isShownInAnotherFrame:n};var Z}(),Fa="onboarding",Ga=[],ja=[],Wa=function(e){e=[].concat(e),ja=ft.union(ja,e)},Ha=function(e){return ft.contains(ja,e)},za=["b4eb7727-86c5-4ebd-6f2f-d5b6e55f70fd","8eead585-6d70-4a13-7912-eac8cd2c1113","38ed73be-7827-42db-5df6-3451c47f688d"],qa=function(){return ft.contains(za,lt.apiKey)},Ka=function(e){return e=e||de(),sa()||Vi()?!1:qa()?lt.guideWidget&&lt.guideWidget.data&&lt.guideWidget.data.onboarding?!1:(Ga=ft.filter(e,$a),0===Ga.length?!1:!0):!1},Za=function(){da(),_s();var e=lt.guideWidget;e&&(e.hidePoweredBy=!0,e.data&&(e.data.enableSearch=!1));var t=ft.extend({addHeight:70,addWidth:-10,addUISection:Xa},lt.guideWidget.data);et(t,!1),T(gs.element).addClass("onboarding"),T(vs).addClass("onboarding setup"),Va(ru()),Ca(Fa)},Va=function(e){e.percentComplete>0||"yes"==un("launcher-closed")},Xa=function(e){var t=["<div class='_pendo-launcher-onboarding-progress_'>","<div class='_pendo-progress-area-inner_'>","<label class='percentComplete'></label><label>% Complete</label>","<div class='_pendo-progress-bar-outer_'>","<div class='_pendo-progress-bar-inner_'></div>","</div>","</div>","</div>"].join("");T("._pendo-launcher-footer_",e).append(T(t))},Ja=function(e){T("._pendo-progress-area-inner_ label.percentComplete").html(e.percentComplete),T("._pendo-progress-bar-inner_").css("width: "+e.percentComplete+"%")},$a=function(e){return e&&e.attributes&&!!e.attributes.isOnboarding},Ya=function(e){return $a(e)&&As(e)},Qa=function(e){if(Ha(e))return!0;var t=ft.last(e.steps);return e.steps.length>1&&"lightbox"==t.type&&(t=ft.last(e.steps,2)[0]),"advanced"==t.seenState||"dismissed"==t.seenState},eu=function(e){return!1},tu=function(e){var t=ft.pluck(e.steps,"seenState"),n=ft.any(t,function(e){return"active"==e});return n?!0:2==ft.size(ft.uniq(t))},nu=function(e){return ft.any(ft.initial(ft.pluck(e.steps,"seenState")),function(e){return"dismissed"==e})?!0:ft.all(ft.pluck(e.steps,"seenState"),function(e){return"undefined"==typeof e})},ru=function(e){e=e||Ga;var t=ft.filter(e,Qa),n=ft.filter(ft.without.apply(ft,[e].concat(t)),eu),r=ft.filter(ft.without.apply(ft,[e].concat(t,n)),tu),i=ft.filter(ft.without.apply(ft,[e].concat(t,n,r)),nu),o={total:e.length,isCompleted:e.length==t.length+n.length,percentComplete:Math.round((t.length+n.length)/e.length*100),completed:t,skipped:n,inProgress:r,notStarted:i};return o},iu=function(){var e=ru(),t=T(vs);t.removeClass("setup"),e.isCompleted?t.addClass("complete"):t.removeClass("complete")},ou=function(){var e=T(vs);return e.hasClass("complete")},au=function(e){var t=ft.filter(e,Ya),n=ru();Wa(n.completed),Ja(n),uu(t),Is=function(){return!0},Ra(e),T(vs).hasClass("setup")||ou()||!n.isCompleted||(iu(),onboardingHasCompleted())};Ia(Fa,au);var uu=function(e){var t=ht("._pendo-launcher_ ._pendo-launcher-guide-listing_");return t.length?(t=t[0],ft.map(e,function(e){hu(t,e)}),e.length):(Pr("missing luancher body","launcher","guides"),!1)},su=function(e,t){return"complete"==e?"complete":t}
10,cu=function(e,t,n){n!=t&&"complete"==n&&lu(e),n!=t&&"skipped"==n&&du(e)},du=function(e){fu(e)},lu=function(e){fu(e)},fu=function(e){Ps()},hu=function(e,t){var n,r=vu(t),i=ht("#launcher-"+t.id);if(i.length){n=i[0];var o=mu(n),a=su(o,r);if(o!=a){var u=T(n);u.removeClass(gu("bad")),u.removeClass(gu(o)),u.addClass(gu(a))}cu(t,o,r)}else n=Ns(t),T(n).addClass(gu(r)),e.appendChild(n);return pu(t,r,n),n},pu=function(e,t,n){var r,i=ht("._pendo-launcher-item-status_",n);i.length?r=i[0]:(r=T("<div class='_pendo-launcher-item-status_'></div>")[0],n.appendChild(r));var o;o="skipped"==t?"Task Skipped":"in-progress"==t?"Task in Progress ("+Eu(null,e)+")":"",T(r).html(o)},gu=function(e){return"_pendo-onboarding-status-"+e+"_"},vu=function(e){return Qa(e)?"complete":eu(e)?"skipped":tu(e)?"in-progress":nu(e)?"not-started":"bad"},mu=function(e){var t=["complete","skipped","in-progress","not-started"];return e?ft.find(t,function(t){return T(e).hasClass(gu(t))}):null},yu=function(){var e,t,n,r=ft.find(de(),function(e){return e.isShown()});return r?(e=ft.find(r.steps,function(e,t){return n=t,e.isShown()}),t=ft.filter(r.steps,function(e,t){return e.isShown()}),{guide:r,steps:t,step:e,stepIndex:n}):null},bu=function(e){var t=yu();if(t){var n=t.guide.steps[t.stepIndex+1],r=function(){var e=ht(n.elementPathRule);0!==e.length&&lt._.some(e,S)?lt.onGuideAdvanced(t.step):lt.onGuideAdvanced(n)};e=e||0,setTimeout(r,e)}},wu=function(e,t){var n=yu();t=t||n.step.elementPathRule;var r=ht(t)[0],i=function(){lt.onGuideAdvanced(),gr(r,e,i,!0)};pr(r,e,i,!0)},_u=function(){T("._pendo-guide_").css("display:none;");var e=lt.getCurrentUrl(),t=yu(),n=t.guide.steps,r=ft.filter(ft.rest(n),function(e){return!!e.pageId}),i=ft.indexOf(n,ft.find(r,function(t){return lt.testUrlForStep(t.regexUrlRule,e)}));if(Pr("startingPoint is "+i),-1==i)return void T("._pendo-guide_").css("display:block;");var o=n[Math.max(0,i-1)];lt.log("found starting step to be "+o.id),lt.onGuideAdvanced(o)},Eu=function(e,t,n){if(t){if(!n){var r=[].concat(t.steps).reverse();n=ft.findWhere(r,{seenState:"active"})}}else{var i=yu();if(!i)return;t=i.guide,n=i.step}e=e||"Step <%= currPos %> of <%= total %>",e=ft.template(e);var o={currPos:t.getPositionOfStep(n),total:t.getTotalSteps()};return e(o)};lt.guideDev={getActiveGuide:yu,smartNextStep:bu,smartFirstStep:_u,advanceOn:wu,renderStepPosition:Eu},lt.badgesShown={};var Su="_pendo-badge_",xu=qo;Ie.create=function(e){var t=Ie.findStep(e);return t?ft.reduce(Ie.behaviors,function(n,r){return r.call(n,e,t)},e.attributes.badge):void 0},Ie.findStep=function(e){var t=ft.find(e.steps,function(e){return!!e.elementPathRule});return t&&e.attributes&&e.attributes.badge?t:void 0},Ie.behaviors=[j,Ie,Ce,Ne,Oe,ke,Le];var Au=function(e,t){t=t||lt.badgesShown;var r=t[e.id],i=r?r.step():Ie.findStep(e);if(i){var o=r?r.target():xu(i);i.elementPathRule&&lt.isElementVisible(o)&&lt.Sizzle.matchesSelector(o,i.elementPathRule)?(r||(r=Ie.create(e)),r.show(),t[e.id]=r):r&&(i.isShown()||(i.overrideElement=n,t[e.id]=n,r.hide()))}},Tu=function(){ft.map(lt.badgesShown,Iu),lt.badgesShown={}},Iu=function(e){e&&ft.isFunction(e.hide)&&e.hide()},Cu=function(e){var t=lt.badgesShown[e.id];t&&Iu(t)},Nu=function(e){ut("adjustBadgesForResize firing"),ft.map(lt.badgesShown,function(e){e&&e.show()})};pr(e,"resize",ft.debounce(Nu,50)),lt.TOOLTIP_DEFAULT_WIDTH=430,lt.TOOLTIP_DEFAULT_HEIGHT=200,lt.TOOLTIP_ARROW_SIZE=15;var Ou="_pendo-guide-tt_",ku="_pendo-guide-mobile-tt_",Lu=null,Ru=function(){return sa()?ku:Ou},Du=function(e){return"#_pendo_g_"+e.id},Pu=function(e,t){Lu=null;var n=g(e);if(0===n.height&&0===n.width)return null;var r=t.guideElement,i=t.attributes.height,o=t.attributes.width,a=t.attributes.layoutDir;r.addClass(Ru());var u=Ju(n,i,o,a);t&&(t.dim=u),r.css({width:u.width,height:u.height,left:u.left,top:u.top}),n.fixed&&r.css({position:"fixed"});T("._pendo-guide-container_",r).addClass(u.arrowPosition).css({top:u.content.top,left:u.content.left,width:u.content.width,height:u.content.height});return Mu(r[0],u),r[0]},Mu=function(e,t){var n=["top","right","bottom","left"],r="_pendo-guide-arrow-",i=r+"border-",o=t.arrowPosition,a=ft.chain(n).filter(function(e){return e!==o}).map(function(e){return"border-"+e+"-width:"+lt.TOOLTIP_ARROW_SIZE+"px;"}
10).value().join(""),u=T("div._pendo-guide-arrow_",e).remove().findOrCreate("<div class='_pendo-guide-arrow_'></div>"),s=T("div._pendo-guide-arrow-border_ ",e).remove().findOrCreate("<div class='_pendo-guide-arrow-border_'></div>");ft.each(n,function(e){u.removeClass(r+e+"_").removeClass(e),s.removeClass(i+e+"_").removeClass(e)}),u.addClass(r+o+"_").addClass(o).css(a+"top:"+t.arrow.top+"px;left:"+t.arrow.left+"px;"),s.addClass(i+o+"_").addClass(o).css(a+"top:"+t.arrow.border.top+"px;left:"+t.arrow.border.left+"px;"),T(e).append(u).append(s)},Bu=function(t,r){if(!Re(t))return null;r===n&&(r=xo),t.element=zo(t);var i=t.element;if(!i)return Pr("No element found for step: "+t.id),null;x(i);var o=Pu(i,t);if(null===o)return null;o.id=lt.getTooltipDivId(t),ko(o,function(){var e=t.getGuide();(!e.isOnboarding()||confirm("Are you sure you want to stop this tutorial?"))&&lt.onGuideDismissed(t)}),t.hideCredits||lt._addCredits(o),T(o).appendTo(Gt()),r.push(o),pr(o,"mouseover",lt._.partial(T.addClass,o,"mouseover")),pr(o,"mouseout",lt._.partial(T.removeClass,o,"mouseover"));var a=g(i),u=g(o),s=function(e,t){var n=Math.min(e.top,t.top),r=Math.min(e.left,t.left),i=Math.max(e.top+e.height,t.top+t.height),o=Math.max(e.left+e.width,t.left+t.width);return{height:Math.abs(i-n),width:Math.abs(o-r),top:n,left:r}}(a,u);if(Dt(s)===!1&&!u.fixed){var c=Rt(),d=s.top+s.height-c.height,l=s.left+s.width-c.width;d=0>d?0:d,l=0>l?0:l,e.scrollTo(l,d)}return Ku(t),i},Uu=function(e,t){return t>e},Fu=ft.negate(Uu),Gu=null,ju=function(e){var t=!ft.isEqual(e,Gu);return Gu=e,t},Wu=null,Hu=function(e){var t=!ft.isEqual(e,Wu);return Wu=e,t},zu=null,qu=function(e){var t=!ft.isEqual(e,zu);return zu=e,t},Ku=function(e){try{if(!e.attributes||!e.attributes.blockOutUI||!e.attributes.blockOutUI.enabled)return;var t=e.attributes.blockOutUI,n=[];n.push(e.element),n=n.concat(ft.compact(ft.flatten(ft.map([].concat(t.additionalElements),function(e){return ht(e)}))));var r=Pe(n),i=t.padding||0,o=Wt(Gt());r.fixed&&(o.top=0,o.bottom=o.height,o.left=0,o.right=o.width);var a=De(o,r,i);if(!ju(r)&&!Hu(o)&&!qu(a))return;var u={"z-index":t.zindex||1e4,position:"fixed"};t.bgColor&&(u["background-color"]=t.bgColor),t.opacity&&(u.opacity=t.opacity);var s=T("body");ft.each(a,function(e,t){s.append(Zu(t,ft.extend({},e,u)))})}catch(c){Pr("Failed to add BlockOut ui","error")}},Zu=function(e,t){var n=T("div._pendo-guide-tt-region-block_._pendo-region-"+e+"_");return n=n.length>0?n[0]:T('<div class="_pendo-guide-tt-region-block_ _pendo-region-'+e+'_"></div>'),T(n).css(t),n},Vu=function(e){var t=ft.isEqual(e,Lu);return Lu=e,!t},Xu=function(e){var t=zo(e),n=g(t);if(Ku(e),Vu(n)){var r=e.attributes.height,i=e.attributes.width,o=e.attributes.layoutDir,a=Ju(n,r,i,o),u=T(Du(e));u.css({top:a.top,left:a.left,position:n.fixed?"fixed":""}),Mu(u,a)}},Ju=function(e,t,n,r){var i=lt.TOOLTIP_ARROW_SIZE,o={arrow:{border:{}},content:{top:i,left:i}},a=lt._get_screen_dim();return o.width=Math.min(n,a.width),o.height=t,o.content.width=o.width-2*i,o.content.height=o.height-2*i,r||(r="auto"),o=$u(o,e,a,r),o=Yu(o,e,a,r),o=Qu(o,e,a)},$u=function(e,t,n,r){if("right"==r||"left"==r)return lt.log("Setting layout position to "+r),e.arrow.hbias=r,e;var i=n.width/3,o=[i,2*i];return o[0]<t.left&&t.left<o[1]?e.arrow.hbias="center":t.left<n.width/2?e.arrow.hbias="left":e.arrow.hbias="right",e},Yu=function(e,t,n,r){if(r&&"DEFAULT"!=r&&"auto"!=r&&(e.arrowPosition=r),!e.arrowPosition){var i=t.top-s(),o=(i+t.height,t.left-c()),a=o+t.width;i<n.height/3?e.arrowPosition="top":i>2*n.height/3||"center"==e.arrow.hbias?e.arrowPosition="bottom":o<e.width&&n.width-a<e.width?e.arrowPosition="top":e.arrowPosition=e.arrow.hbias}return e},Qu=function(e,t,n){var r=e.height,i=e.width;if(Yi())return Qi(e,t,n);if("top"==e.arrowPosition||"bottom"==e.arrowPosition){var o=10,a=0;"top"==e.arrowPosition?(e.top=t.top+t.height,e.arrow.top=Kr(9,6)?6:2,a=-1):"bottom"==e.arrowPosition&&(e.top=t.top-r,e.arrow.top=r-lt.TOOLTIP_ARROW_SIZE-1,e.arrow.top+=Kr(9,6)?6:0,e.arrow.top+=8==zr?-1:0,a=1);var u=o+lt.TOOLTIP_ARROW_SIZE,s=i-3*lt.TOOLTIP_ARROW_SIZE-o;if("left"==e.arrow.hbias?(e.left=t.left+t.width/2-(o+2*lt.TOOLTIP_ARROW_SIZE),e.arrow.left=u):"right"==e.arrow.hbias?(e.left=t.left-i+t.width/2+(o+2*lt.TOOLTIP_ARROW_SIZE),e.arrow.left=s):(e.left=t.left+t.width/2-i/2,e.arrow.left=i/2-lt.TOOLTIP_ARROW_SIZE),e.arrow.floating!==!1){var c=e.left+i-n.width;c-=Math.max(0,e.arrow.left+c-s),c>0&&(e.left-=c,e.arrow.left+=c);var d=-e.left;d-=Math.max(0,u-(e.arrow.left-d)),d>0&&(e.left+=d,e.arrow.left-=d)}return e.arrow.border.top=e.arrow.top+a,e.arrow.border.left=e.arrow.left,e}return"left"==e.arrow.hbias?(e.left=t.left+t.width,e.arrow.left=1,e.arrow.left+=Kr(10,6)?5:0,e.arrow.border.left=e.arrow.left-1):"right"==e.arrow.hbias&&(e.left=Math.max(0,t.left-i),e.arrow.left=i-lt.TOOLTIP_ARROW_SIZE-1,e.arrow.left+=Kr(10,6)?5:0,e.arrow.left+=7==zr&&qr>=6?1:0,e.arrow.border.left=e.arrow.left+1),e.top=t.top-r/2+t.height/2,e.arrow.top=r/2-lt.TOOLTIP_ARROW_SIZE,e.arrow.border.top=e.arrow.top,e};lt.LB_DEFAULT_WIDTH=500,lt.LB_DEFAULT_HEIGHT=500;var es="_pendo-guide-lb_",ts=function(e){return Ko(e)},ns=null,rs=function(e){return null===ns&&(ns=T("<div/>").addClass("_pendo-backdrop_").appendTo(Gt())),Yi()&&ns.css({height:"100%",width:"100%",position:"absolute"}),e&&T(ns).addClass("_pendo-onboarding_"),ns},is=function(){ns&&(ns.remove(),ns=null)},os=function(e){var t=e.guideElement,n=lt.TOOLTIP_ARROW_SIZE,r=e.attributes.height,i=e.attributes.width,o=Math.floor(i/2),a=Math.floor(r/2);t.addClass(es).css({top:"50%",left:"50%","margin-top":-a,"margin-left":-o}),T("._pendo-guide-container_",t).css({bottom:n,right:n}),Yi()&&t.css({position:"absolute"})},as=function(e,t){if(!ts(e))return null;t===n&&(t=xo);e.element=zo(e);os(e);var r=e.getGuide()?e.getGuide().isOnboarding():!1;rs(r);var i=e.guideElement;t.push(i[0]),i.appendTo(Gt())},us="_pendo-guide-mobile-lb_",ss=function(e){var t=e.guideElement;t.addClass(us)},cs=function(e,t){function r(e){e.preventDefault()}if(!ts(e))return null;t===n&&(t=xo);e.element=zo(e);ss(e);var i=rs(),o=e.guideElement,a=lt.TOOLTIP_ARROW_SIZE;o.css({width:"",height:""});var u=T("._pendo-guide-container_",o).css({bottom:a,right:a});T("._pendo-close-guide_",o).remove().prependTo(u),o.appendTo(Gt()),t.push(o[0]),pr(i[0],"touchmove",r),pr(o[
100],"touchmove",r)},ds="_pendo-launcher-searching_",ls="_pendo-launcher-search-box_",fs="."+ls+" input",hs=330,ps=310,gs=null,vs=null,ms=!1,ys="_pendo-launcher-active_",bs=null,ws=function(){return""};lt.defaultLauncher=function(e,t){ws=t},Ve.create=function(e){return ft.reduce(Ve.behaviors,function(e,t){return t.call(e)},e)},Ve.behaviors=[j,Ve,mo.Launcher,Be,Xe,Je];var _s=function(){vs&&(T.removeNode(vs),vs=null),bs&&(bs.dispose(),bs=null),gs&&(gs.dispose(),gs=null)},Es=function(){Ts()||!Rs()&&!Fe()?xs():Ss()},Ss=function(){gs&&gs.show()},xs=function(){Ts()||Ds(),gs&&gs.hide()},As=function(e){return e&&ft.isFunction(e.shouldBeAddedToLauncher)?e.shouldBeAddedToLauncher():e&&e.launchMethod&&e.launchMethod.indexOf("launcher")>=0},Ts=function(){return lt.guideWidget&&lt.guideWidget.data&&"element"===lt.guideWidget.data.launchType?!0:!1},Is=function(e){return lt.guideWidget&&ft.isFunction(lt.guideWidget.update)?lt.guideWidget.update(e):void 0},Cs=function(e){var t=ft.extend({hidePoweredBy:!1,guides:[],guide:{},step:{}},lt.guideWidget);return t.data=ft.extend({},t.data),e&&(t.guides=e),t},Ns=function(e){var n=t.createElement("div");T(n).addClass("_pendo-launcher-item_"),T(n).attr("id","launcher-"+e.id);var r=t.createElement("a");return r.href="#",r.innerHTML=e.name,n.appendChild(r),n},Os=ft.compose(Es,function(e,t){if(As(e)){var n=ht("._pendo-launcher_ ._pendo-launcher-guide-listing_")[0];if(n){var r,i=ht("#launcher-"+e.id);if(r=i.length?i[0]:Ns(e),i=i.length>0,ft.isNumber(t)){var o=ht("._pendo-launcher-item_");o[t]?r.id!=o[t].id&&n.insertBefore(r,o[t]):n.appendChild(r)}else n.appendChild(r)}}}),ks=function(){return!!vs&&!ms},Ls=function(){var e=T(vs);return e.hasClass(ys)},Rs=function(){return ht("._pendo-launcher-item_").length>0},Ds=function(){var e=T(vs);e.hasClass(ys)&&(e.removeClass(ys),gs&&gs.setActive(!1))},Ps=function(){var e=T(vs);e.hasClass(ys)||(e.addClass(ys),gs&&gs.setActive(!0))},Ms=function(){ks()&&(Ls()?Ds():Ps())},Bs=function(){try{var e=lt.guideWidget||{},t=e.data||{},n=t.device||{desktop:!0,mobile:!1,iframe:!1};if(_s(),!sa()&&!n.desktop)return;if(sa()&&!n.mobile)return;if(Vi()&&!n.iframe)return;e.enabled&&(et(t),xs(),Ka()&&Za())}catch(r){mn(r,"ERROR while initializing launcher")}};!function(){function e(e){function n(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[63&e]}var r,i,o,a=e.length%3,u="";for(r=0,o=e.length-a;o>r;r+=3)i=(e[r]<<16)+(e[r+1]<<8)+e[r+2],u+=n(i);switch(a){case 1:i=e[e.length-1],u+=t[i>>2],u+=t[i<<4&63];break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],u+=t[i>>10],u+=t[i>>4&63],u+=t[i<<2&63]}return u}var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split("");lt._.extend(lt,{fromByteArray:e})}(),function(){function e(e,t){var n=e.split("."),r=p;!(n[0]in r)&&r.execScript&&r.execScript("var "+n[0]);for(var i;n.length&&(i=n.shift());)n.length||t===f?r=r[i]?r[i]:r[i]={}:r[i]=t}function t(e,t){if(this.index="number"==typeof t?t:0,this.e=0,this.buffer=e instanceof(g?Uint8Array:Array)?e:new(g?Uint8Array:Array)(32768),2*this.buffer.length<=this.index)throw Error("invalid index");this.buffer.length<=this.index&&n(this)}function n(e){var t,n=e.buffer,r=n.length,i=new(g?Uint8Array:Array)(r<<1);if(g)i.set(n);else for(t=0;r>t;++t)i[t]=n[t];return e.buffer=i}function r(e){this.buffer=new(g?Uint16Array:Array)(2*e),this.length=0}function i(e,t){this.d=S,this.i=0,this.input=g&&e instanceof Array?new Uint8Array(e):e,this.c=0,t&&(t.lazy&&(this.i=t.lazy),"number"==typeof t.compressionType&&(this.d=t.compressionType),t.outputBuffer&&(this.a=g&&t.outputBuffer instanceof Array?new Uint8Array(t.outputBuffer):t.outputBuffer),"number"==typeof t.outputIndex&&(this.c=t.outputIndex)),this.a||(this.a=new(g?Uint8Array:Array)(32768))}function o(e,t){this.length=e,this.k=t}function a(e,t){function n(e,t){var n,r=e.k,i=[],o=0;n=I[e.length],i[o++]=65535&n,i[o++]=n>>16&255,i[o++]=n>>24;var a;switch(h){case 1===r:a=[0,r-1,0];break;case 2===r:a=[1,r-2,0];break;case 3===r:a=[2,r-3,0];break;case 4===r:a=[3,r-4,0];break;case 6>=r:a=[4,r-5,1];break;case 8>=r:a=[5,r-7,1];break;case 12>=r:a=[6,r-9,2];break;case 16>=r:a=[7,r-13,2];break;case 24>=r:a=[8,r-17,3];break;case 32>=r:a=[9,r-25,3];break;case 48>=r:a=[10,r-33,4];break;case 64>=r:a=[11,r-49,4];break;case 96>=r:a=[12,r-65,5];break;case 128>=r:a=[13,r-97,5];break;case 192>=r:a=[14,r-129,6];break;case 256>=r:a=[15,r-193,6];break;case 384>=r:a=[16,r-257,7];break;case 512>=r:a=[17,r-385,7];break;case 768>=r:a=[18,r-513,8];break;case 1024>=r:a=[19,r-769,8];break;case 1536>=r:a=[20,r-1025,9];break;case 2048>=r:a=[21,r-1537,9];break;case 3072>=r:a=[22,r-2049,10];break;case 4096>=r:a=[23,r-3073,10];break;case 6144>=r:a=[24,r-4097,11];break;case 8192>=r:a=[25,r-6145,11];break;case 12288>=r:a=[26,r-8193,12];break;case 16384>=r:a=[27,r-12289,12];break;case 24576>=r:a=[28,r-16385,13];break;case 32768>=r:a=[29,r-24577,13];break;default:throw"invalid distance"}n=a,i[o++]=n[0],i[o++]=n[1],i[o++]=n[2];var u,s;for(u=0,s=i.length;s>u;++u)m[y++]=i[u];w[i[0]]++,_[i[3]]++,b=e.length+t-1,l=null}var r,i,o,a,s,c,d,l,p,v={},m=g?new Uint16Array(2*t.length):[],y=0,b=0,w=new(g?Uint32Array:Array)(286),_=new(g?Uint32Array:Array)(30),E=e.i;if(!g){for(o=0;285>=o;)w[o++]=0;for(o=0;29>=o;)_[o++]=0}for(w[256]=1,r=0,i=t.length;i>r;++r){for(o=s=0,a=3;a>o&&r+o!==i;++o)s=s<<8|t[r+o];if(v[s]===f&&(v[s]=[]),c=v[s],!(0<b--)){for(;0<c.length&&32768<r-c[0];)c.shift();if(r+3>=i){for(l&&n(l,-1),o=0,a=i-r;a>o;++o)p=t[r+o],m[y++]=p,++w[p];break}0<c.length?(d=u(t,r,c),l?l.length<d.length?(p=t[r-1],m[y++]=p,++w[p],n(d,0)):n(l,-1):d.length<E?l=d:n(d,0)):l?n(l,-1):(p=t[r],m[y++]=p,++w[p])}c.push(r)}return m[y++]=256,w[256]++,e.m=w,e.l=_,g?m.subarray(0,y):m}function u(e,t,n){var r,i,a,u,s,c,d=0,l=e.length;u=0,c=n.length;e:for(;c>u;u++){if(r=n[c-u-1],a=3,d>3){for(s=d;s>3;s--)if(e[r+s-1]!==e[t+s-1])continue e;a=d}for(;258>a&&l>t+a&&e[r+a]===e[t+a];)++a;if(a>d&&(i=r,d=a),258===a)break}return new o(d,t-i)}function s(e,t){var n,i,o,a,u,s=e.length,d=new r(572),l=new(g?Uint8Array:Array)(s);if(!g)for(a=0;s>a;a++)l[a]=0;for(a=0;s>a;++a)0<e[a]&&d.push(a,e[a]);if(n=Array(d.length/2),i=new(g?Uint32Array:Array)(d.length/2),1===n.length)return l[d.pop().index]=1,l;for(a=0,u=d.length/2;u>a;++a)n[a]=d.pop(),i[a]=n[a].value;for(o=c(i,i.length,t),a=0,u=n.length;u>a;++a)l[n[a].index]=o[a];return l}
10function c(e,t,n){function r(e){var n=h[e][p[e]];n===t?(r(e+1),r(e+1)):--l[n],++p[e]}var i,o,a,u,s,c=new(g?Uint16Array:Array)(n),d=new(g?Uint8Array:Array)(n),l=new(g?Uint8Array:Array)(t),f=Array(n),h=Array(n),p=Array(n),v=(1<<n)-t,m=1<<n-1;for(c[n-1]=t,o=0;n>o;++o)m>v?d[o]=0:(d[o]=1,v-=m),v<<=1,c[n-2-o]=(c[n-1-o]/2|0)+t;for(c[0]=d[0],f[0]=Array(c[0]),h[0]=Array(c[0]),o=1;n>o;++o)c[o]>2*c[o-1]+d[o]&&(c[o]=2*c[o-1]+d[o]),f[o]=Array(c[o]),h[o]=Array(c[o]);for(i=0;t>i;++i)l[i]=n;for(a=0;a<c[n-1];++a)f[n-1][a]=e[a],h[n-1][a]=a;for(i=0;n>i;++i)p[i]=0;for(1===d[n-1]&&(--l[0],++p[n-1]),o=n-2;o>=0;--o){for(u=i=0,s=p[o+1],a=0;a<c[o];a++)u=f[o+1][s]+f[o+1][s+1],u>e[i]?(f[o][a]=u,h[o][a]=t,s+=2):(f[o][a]=e[i],h[o][a]=i,++i);p[o]=0,1===d[o]&&r(o)}return l}function d(e){var t,n,r,i,o=new(g?Uint16Array:Array)(e.length),a=[],u=[],s=0;for(t=0,n=e.length;n>t;t++)a[e[t]]=(0|a[e[t]])+1;for(t=1,n=16;n>=t;t++)u[t]=s,s+=0|a[t],s<<=1;for(t=0,n=e.length;n>t;t++)for(s=u[e[t]],u[e[t]]+=1,r=o[t]=0,i=e[t];i>r;r++)o[t]=o[t]<<1|1&s,s>>>=1;return o}function l(e,t){this.input=e,this.a=new(g?Uint8Array:Array)(32768),this.d=C.g;var n,r={};!t&&(t={})||"number"!=typeof t.compressionType||(this.d=t.compressionType);for(n in t)r[n]=t[n];r.outputBuffer=this.a,this.j=new i(this.input,r)}var f=void 0,h=!0,p=this,g="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array;t.prototype.b=function(e,t,r){var i,o=this.buffer,a=this.index,u=this.e,s=o[a];if(r&&t>1&&(e=t>8?(_[255&e]<<24|_[e>>>8&255]<<16|_[e>>>16&255]<<8|_[e>>>24&255])>>32-t:_[e]>>8-t),8>t+u)s=s<<t|e,u+=t;else for(i=0;t>i;++i)s=s<<1|e>>t-i-1&1,8===++u&&(u=0,o[a++]=_[s],s=0,a===o.length&&(o=n(this)));o[a]=s,this.buffer=o,this.e=u,this.index=a},t.prototype.finish=function(){var e,t=this.buffer,n=this.index;return 0<this.e&&(t[n]<<=8-this.e,t[n]=_[t[n]],n++),g?e=t.subarray(0,n):(t.length=n,e=t),e};var v,m=new(g?Uint8Array:Array)(256);for(v=0;256>v;++v){for(var y=v,b=y,w=7,y=y>>>1;y;y>>>=1)b<<=1,b|=1&y,--w;m[v]=(b<<w&255)>>>0}var _=m;r.prototype.getParent=function(e){return 2*((e-2)/4|0)},r.prototype.push=function(e,t){var n,r,i,o=this.buffer;for(n=this.length,o[this.length++]=t,o[this.length++]=e;n>0&&(r=this.getParent(n),o[n]>o[r]);)i=o[n],o[n]=o[r],o[r]=i,i=o[n+1],o[n+1]=o[r+1],o[r+1]=i,n=r;return this.length},r.prototype.pop=function(){var e,t,n,r,i,o=this.buffer;for(t=o[0],e=o[1],this.length-=2,o[0]=o[this.length],o[1]=o[this.length+1],i=0;(r=2*i+2,!(r>=this.length))&&(r+2<this.length&&o[r+2]>o[r]&&(r+=2),o[r]>o[i]);)n=o[i],o[i]=o[r],o[r]=n,n=o[i+1],o[i+1]=o[r+1],o[r+1]=n,i=r;return{index:e,value:t,length:this.length}};var E,S=2,x={NONE:0,h:1,g:S,n:3},A=[];for(E=0;288>E;E++)switch(h){case 143>=E:A.push([E+48,8]);break;case 255>=E:A.push([E-144+400,9]);break;case 279>=E:A.push([E-256+0,7]);break;case 287>=E:A.push([E-280+192,8]);break;default:throw"invalid literal: "+E}i.prototype.f=function(){var e,n,r,i,o=this.input;switch(this.d){case 0:for(r=0,i=o.length;i>r;){n=g?o.subarray(r,r+65535):o.slice(r,r+65535),r+=n.length;var u=n,c=r===i,l=f,p=f,v=f,m=f,y=f,b=this.a,w=this.c;if(g){for(b=new Uint8Array(this.a.buffer);b.length<=w+u.length+5;)b=new Uint8Array(b.length<<1);b.set(this.a)}if(l=c?1:0,b[w++]=0|l,p=u.length,v=~p+65536&65535,b[w++]=255&p,b[w++]=p>>>8&255,b[w++]=255&v,b[w++]=v>>>8&255,g)b.set(u,w),w+=u.length,b=b.subarray(0,w);else{for(m=0,y=u.length;y>m;++m)b[w++]=u[m];b.length=w}this.c=w,this.a=b}break;case 1:var _=new t(g?new Uint8Array(this.a.buffer):this.a,this.c);_.b(1,1,h),_.b(1,2,h);var E,x,T,I=a(this,o);for(E=0,x=I.length;x>E;E++)if(T=I[E],t.prototype.b.apply(_,A[T]),T>256)_.b(I[++E],I[++E],h),_.b(I[++E],5),_.b(I[++E],I[++E],h);else if(256===T)break;this.a=_.finish(),this.c=this.a.length;break;case S:var C,N,O,k,L,R,D,P,M,B,U,F,G,j,W,H=new t(g?new Uint8Array(this.a.buffer):this.a,this.c),z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],q=Array(19);for(C=S,
11H.b(1,1,h),H.b(C,2,h),N=a(this,o),R=s(this.m,15),D=d(R),P=s(this.l,7),M=d(P),O=286;O>257&&0===R[O-1];O--);for(k=30;k>1&&0===P[k-1];k--);var K,Z,V,X,J,$,Y=O,Q=k,ee=new(g?Uint32Array:Array)(Y+Q),te=new(g?Uint32Array:Array)(316),ne=new(g?Uint8Array:Array)(19);for(K=Z=0;Y>K;K++)ee[Z++]=R[K];for(K=0;Q>K;K++)ee[Z++]=P[K];if(!g)for(K=0,X=ne.length;X>K;++K)ne[K]=0;for(K=J=0,X=ee.length;X>K;K+=Z){for(Z=1;X>K+Z&&ee[K+Z]===ee[K];++Z);if(V=Z,0===ee[K])if(3>V)for(;0<V--;)te[J++]=0,ne[0]++;else for(;V>0;)$=138>V?V:138,$>V-3&&V>$&&($=V-3),10>=$?(te[J++]=17,te[J++]=$-3,ne[17]++):(te[J++]=18,te[J++]=$-11,ne[18]++),V-=$;else if(te[J++]=ee[K],ne[ee[K]]++,V--,3>V)for(;0<V--;)te[J++]=ee[K],ne[ee[K]]++;else for(;V>0;)$=6>V?V:6,$>V-3&&V>$&&($=V-3),te[J++]=16,te[J++]=$-3,ne[16]++,V-=$}for(e=g?te.subarray(0,J):te.slice(0,J),B=s(ne,7),j=0;19>j;j++)q[j]=B[z[j]];for(L=19;L>4&&0===q[L-1];L--);for(U=d(B),H.b(O-257,5,h),H.b(k-1,5,h),H.b(L-4,4,h),j=0;L>j;j++)H.b(q[j],3,h);for(j=0,W=e.length;W>j;j++)if(F=e[j],H.b(U[F],B[F],h),F>=16){switch(j++,F){case 16:G=2;break;case 17:G=3;break;case 18:G=7;break;default:throw"invalid code: "+F}H.b(e[j],G,h)}var re,ie,oe,ae,ue,se,ce,de,le=[D,R],fe=[M,P];for(ue=le[0],se=le[1],ce=fe[0],de=fe[1],re=0,ie=N.length;ie>re;++re)if(oe=N[re],H.b(ue[oe],se[oe],h),oe>256)H.b(N[++re],N[++re],h),ae=N[++re],H.b(ce[ae],de[ae],h),H.b(N[++re],N[++re],h);else if(256===oe)break;this.a=H.finish(),this.c=this.a.length;break;default:throw"invalid compression type"}return this.a};var T=function(){function e(e){switch(h){case 3===e:return[257,e-3,0];case 4===e:return[258,e-4,0];case 5===e:return[259,e-5,0];case 6===e:return[260,e-6,0];case 7===e:return[261,e-7,0];case 8===e:return[262,e-8,0];case 9===e:return[263,e-9,0];case 10===e:return[264,e-10,0];case 12>=e:return[265,e-11,1];case 14>=e:return[266,e-13,1];case 16>=e:return[267,e-15,1];case 18>=e:return[268,e-17,1];case 22>=e:return[269,e-19,2];case 26>=e:return[270,e-23,2];case 30>=e:return[271,e-27,2];case 34>=e:return[272,e-31,2];case 42>=e:return[273,e-35,3];case 50>=e:return[274,e-43,3];case 58>=e:return[275,e-51,3];case 66>=e:return[276,e-59,3];case 82>=e:return[277,e-67,4];case 98>=e:return[278,e-83,4];case 114>=e:return[279,e-99,4];case 130>=e:return[280,e-115,4];case 162>=e:return[281,e-131,5];case 194>=e:return[282,e-163,5];case 226>=e:return[283,e-195,5];case 257>=e:return[284,e-227,5];case 258===e:return[285,e-258,0];default:throw"invalid length: "+e}}var t,n,r=[];for(t=3;258>=t;t++)n=e(t),r[t]=n[2]<<24|n[1]<<16|n[0];return r}(),I=g?new Uint32Array(T):T,C=x;l.prototype.f=function(){var e,t,n,r,i,o,a=0;switch(o=this.a,e=Math.LOG2E*Math.log(32768)-8,t=e<<4|8,o[a++]=t,this.d){case C.NONE:r=0;break;case C.h:r=1;break;case C.g:r=2;break;default:throw Error("unsupported compression type")}n=r<<6|0,o[a++]=n|31-(256*t+n)%31;var u=this.input;if("string"==typeof u){var s,c,d=u.split("");for(s=0,c=d.length;c>s;
11s++)d[s]=(255&d[s].charCodeAt(0))>>>0;u=d}for(var l,f=1,h=0,p=u.length,v=0;p>0;){l=p>1024?1024:p,p-=l;do f+=u[v++],h+=f;while(--l);f%=65521,h%=65521}return i=(h<<16|f)>>>0,this.j.c=a,o=this.j.f(),a=o.length,g&&(o=new Uint8Array(o.buffer),o.length<=a+4&&(this.a=new Uint8Array(o.length+4),this.a.set(o),o=this.a),o=o.subarray(0,a+4)),o[a++]=i>>24&255,o[a++]=i>>16&255,o[a++]=i>>8&255,o[a++]=255&i,o},e("Zlib.Deflate",l),e("Zlib.Deflate.compress",function(e,t){return new l(e,t).f()}),e("Zlib.Deflate.prototype.compress",l.prototype.f);var N,O,k,L,R={NONE:C.NONE,FIXED:C.h,DYNAMIC:C.g};if(Object.keys)N=Object.keys(R);else for(O in N=[],k=0,R)N[k++]=O;for(k=0,L=N.length;L>k;++k)O=N[k],e("Zlib.Deflate.CompressionType."+O,R[O])}.call(lt),function(){function e(e,n){var r=e.split("."),i=t;!(r[0]in i)&&i.execScript&&i.execScript("var "+r[0]);for(var o;r.length&&(o=r.shift());)r.length||void 0===n?i=i[o]?i[o]:i[o]={}:i[o]=n}var t=this,n={c:function(e,t,r){return n.update(e,0,t,r)},update:function(e,t,r,i){var o=n.a,a="number"==typeof r?r:r=0,u="number"==typeof i?i:e.length;for(t^=4294967295,a=7&u;a--;++r)t=t>>>8^o[255&(t^e[r])];for(a=u>>3;a--;r+=8)t=t>>>8^o[255&(t^e[r])],t=t>>>8^o[255&(t^e[r+1])],t=t>>>8^o[255&(t^e[r+2])],t=t>>>8^o[255&(t^e[r+3])],t=t>>>8^o[255&(t^e[r+4])],t=t>>>8^o[255&(t^e[r+5])],t=t>>>8^o[255&(t^e[r+6])],t=t>>>8^o[255&(t^e[r+7])];return(4294967295^t)>>>0},d:function(e,t){return(n.a[255&(e^t)]^e>>>8)>>>0},b:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]};n.a="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array?new Uint32Array(n.b):n.b,e("Zlib.CRC32",n),e("Zlib.CRC32.calc",n.c),e("Zlib.CRC32.update",n.update)}.call(lt);var Us=ft.memoize(function(e,t){e=e||"Function",t=t?" and "+t:"",lt.log(e+" deprecated"+t)}),Fs=function(e,t,n){return function(){return Us(t,n),e.apply(null,arguments)}};lt.SHADOW_STYLE="",ft.extend(lt,{_showElementGuide:Fs(Bu,"_showElementGuide","is going away"),flushNow:Fs(Fn,"pendo.flushNow","is going away"),flushEventCache:Fs(Gn,"pendo.flushEventCache","is going away"),HOST:ln,MAX_LENGTH:Cn,MAX_NUM_EVENTS:In,_createToolTip:Fs(Pu,"pendo._createToolTip","is going away"),_get_tooltip_dimensions:Fs(Ju,"pen
11do._get_tooltip_dimensions","is going away"),_isOldIE:Fs(Kr,"pendo._isOldIE","is going away"),_logMessage:Fs(gn,"pendo._logMessage","is going away"),_sendEvent:Fs(Rn,"pendo._sendEvent","is going away"),_sendGuideEvent:Fs(pn,"pendo._sendGuideEvent","is going away"),_stopEvents:wn,_storeInCache:Fs(Un,"pendo._storeInCache","is going away"),_writeEventImgTag:Fs(hn,"pendo._writeEventImgTag","is going away"),_writeImgTag:Fs(bn,"pendo._writeImgTag","is going away"),attachEvent:Fs(pr,"pendo.attachEvent","is going away"),detachEvent:Fs(gr,"pendo.detachEvent","is going away"),getText:Fs(R,"pendo.getText","is going away"),getUA:Fs(mt,"pendo.getUA","is going away"),ifDebugThen:Fs(ft.indentity,"pendo.ifDebugThen","is gone"),send_event:Fs(Bn,"pendo.send_event","has changed to pendo.cache.createEvent"),shouldSendEvents:Fs(Sn,"pendo.shouldSendEvents","has changed to pendo.transmit.isSendingEvents"),stopSendingEvents:Fs(_n,"pendo.stopSendingEvents","has changed to pendo.transmit.stopSendEvents"),wire_page:Fs(fr,"pendo.wire_page","is going away"),findGuideBy:Lo,findGuideById:Ro,findStepInGuide:Po,_updateGuideStepStatus:Mo,_addCloseButton:ko,initialize:Er,getEventCache:ga,processEventCache:pa,isGuideShown:Oo,_getNextStepInMultistep:ra,badgeDiv:gs&&gs.element,launcherToolTipDiv:vs,updateOptions:Gi,createLauncher:et,initLauncher:Bs,_addGuideToLauncher:Os,isAnonymousVisitor:Zt,DEFAULT_VISITOR_ID:Xt,shouldIdentityChange:Qt,read:un,write:cn,_delete_cookie:dn,_set_cookie:rn,_get_cookie:tn,get_cookie_key:on,ENV:gt,eventCache:xn,_getOpacityStyles:Fs(function(){},"pendo._getOpacityStyles","is going away"),setStyle:Lt,_createGuideEvent:me,seenGuide:Yo,dismissedGuide:he,advancedGuide:pe,seenTime:No,placeBadge:Au,isBadge:oa,showPreview:Fs(Xo,"pendo.showPreview","is going away"),removeAllBadges:Tu,tellMaster:Zi,DEFAULT_TIMER_LENGTH:_a,registerMessageHandler:Ki,_get_offset:g,_shouldAutoDisplayGuide:ia,removeBadge:Iu,_showLightboxGuide:as,_showGuide:$o,getElementForGuideStep:zo,isElementVisible:S,getTooltipDivId:Zo,setupWatchOnTooltip:Vo,detectMaster:Vi,listenToMaster:$i,start:_t,SEND_INTERVAL:Tn,stageGuideEvent:na,startStagedTimer:ta,isURLValid:Pn,getURL:Mn,_get_screen_dim:Rt,_isInViewport:Dt,_getCss3Prop:Ot,waitThenStartGuides:Ea});var Gs={getEventCache:function(){return[].concat(xn)},getAllGuides:function(){return[].concat(de())},getAutoGuides:function(){return fo.sortAndFilter(de(),lt.autoOrdering)},getBadgeGuides:function(){return ft.filter(de(),oa)},getLauncherGuides:function(){return ft.filter(de(),As)},getEventHistory:function(){return An},getOriginalOptions:function(){return _r},getBody:T.getBody,isMobileUserAgent:sa,areGuidesDelayed:ya,getMetadata:function(){return ji()},isStagingServer:function(){return"undefined"==typeof PendoConfig?!1:r(PendoConfig)},AutoDisplay:fo};ft.extend(ut,Gs),lt.getVersion=yt,lt.isReady=xr,lt.pageLoad=yr,lt.getVisitorId=lt.get_visitor_id,lt.getAccountId=lt.get_account_id,lt.flushNow=Fn,lt.initGuides=va,lt.loadGuides=ha,lt.findGuideByName=Do,lt.hideGuides=le,lt.onGuideDismissed=Go,lt.onGuideAdvanced=Wo,lt.onGuidePrevious=Ho,lt.startGuides=ka,lt.stopGuides=xa,lt.toggleLauncher=Ms,lt.showLauncher=Ps,lt.hideLauncher=Ds,lt.removeLauncher=_s,lt.defaultCssUrl=ce(),lt.renderGuideFromJSON=wa.renderGuideFromJSON,lt.areGuidesDisabled=ma,lt.setGuidesDisabled=ba,lt.dom=T,lt.log=Pr,lt.enableLogging=Cr,lt.disableLogging=Nr,lt.setActiveContexts=Wr,lt.showLogHistory=Fr,lt.getLoggedContexts=Gr,lt.isDebuggingEnabled=rt,lt.enableDebugging=ot,lt.disableDebugging=at;var js={dom:T,placeBadge:Au,showPreview:Xo,stopGuides:xa,removeAllBadges:Tu,_:ft,sizzle:ht,tellMaster:Zi,tell:Zi,log:Pr,attachEvent:pr,createLauncher:et,removeLauncher:_s,addGuideToLauncher:Os,updateLauncherContent:tt,DEFAULT_TIMER_LENGTH:_a,getOffsetPosition:g,getScreenDimensions:Rt,registerMessageHandler:Ki,whenLoadedCall:_t,loadResource:lt.loadResource,loadGuideCss:Ee,GuideFactory:re,GuideStep:X,extractElementTreeContext:$n},Ws=function(){js.areGuidesEnabled=!ma(),lt.designer||(lt.designer=js)},Hs=function(){lt.designer&&(lt.designer=null,delete lt.designer)},zs=function(){function n(){e.addEventListener&&e.addEventListener("message",i)}function r(){e.addEventListener&&e.removeEventListener("message",i)}function i(e){var n=e.data;
11switch(n.type){case"pendo-launch-designer":o();break;case"set_designer_width":f(n.value);break;case"collapse_designer":var r=t.getElementById("pendo-designer-container");h(),l(r)}}function o(){c("designer-styles",E);var n=g+"/designer/latest/plugin.js";d("designer-shims",n);var r="pendo-designer-communication-iframe";if(!t.getElementById(r)){var i=g+"/designer/latest/communication.html",o=u(r,i,"border-width:0;height:0;width:0;");t.body.appendChild(o),a(o)}if(!t.getElementById("pendo-designer-container")){var l=g+"/designer/latest/designer.html",f=u("pendo-designer-iframe",l);f.setAttribute("name","pendo-designer-embedded");var h=s(f);t.body.appendChild(h)}var v=e.setInterval(function(){e.pendo.DESIGNER_VERSION&&(p(),clearInterval(v))},100)}function a(t){e.addEventListener("message",function(e){"pendo-designer"===e.data.destination&&t.contentWindow.postMessage(e.data,"*")}),e.addEventListener("keyup",function(e){27===e.keyCode&&t.contentWindow.postMessage({type:"escape",destination:"pendo-designer"},"*")})}function u(e,n,r){var i=t.createElement("iframe");return i.setAttribute("id",e),r&&i.setAttribute("style",r),i.setAttribute("sandbox","allow-scripts allow-same-origin allow-top-navigation allow-forms allow-pointer-lock allow-popups"),i.src=n,i}function s(e){var n=t.createElement("div");n.setAttribute("id","pendo-designer-pulltab"),n.setAttribute("class","pendo-nonselect-element");var r=t.createElement("div");return r.setAttribute("id","pendo-designer-container"),r.appendChild(n),r.appendChild(e),n.addEventListener("click",function(){l(r)}),r}function c(e,n){if(!t.getElementById(e)){var r=t.createElement("style");r.setAttribute("id",e),r.type="text/css";var i=t.createTextNode(n);r.appendChild(i),t.getElementsByTagName("head")[0].appendChild(r)}}function d(e,n){if(!t.getElementById(e)){var r=t.createElement("script");r.setAttribute("id",e),r.src=n,t.body.appendChild(r)}}function l(e){e.classList.contains("closed")?(e.classList.remove("closed"),e.style.width=null):(e.style.width="370px",e.classList.add("closed"))}function f(e){var n=t.getElementById("pendo-designer-container");n&&n.setAttribute("class",e)}function h(){var e=t.getElementById("pendo-designer-container");e.style.height=null}function p(){e.postMessage({type:"connect",source:"pendo-designer-content-script",destination:"pendo-designer-agent"},"*")}var g=lt.HOST,v="@keyframes pendoExtensionSlideIn{from{transform:translate3d(-300px,0,0)}to{transform:translate3d(0,0,0);}}",m="#pendo-designer-container{animation-duration:375ms;animation-name:pendoExtensionSlideIn;animation-timing-function:cubic-bezier(0.4,0.0,0.2,1);transition:left 375ms;box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23);height:100vh;width:370px;position:fixed;top:0;left:0;z-index:100000000000;}",y="#pendo-designer-container.fullscreen{width:100%;opacity:0.98;}",b="#pendo-designer-container.closed{left:-370px;}",w="#pendo-designer-iframe{background:#3a3c45;border:0px;height:100%;left:0;position:absolute;z-index:100000000002;top:0;transition:pendoExtensionSlideIn;width:100%;}",_="#pendo-designer-pulltab{width:40px;height:40px;box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23);border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;top:55px;right:-40px;position:absolute;z-index:100000000001;background-color:#ec2059;display:flex;align-items:center;justify-content:center;background-image:url('"+g+"/designer/latest/img/pendo-chevron-white.png');background-size:20px;background-position:8px;background-repeat:no-repeat;}",E=v+m+y+b+w+_;return{listen:n,stopListening:r,launchDesigner:o}}();lt.designerv2=zs,lt.designerv2.listen(),ft.each(["identify","updateOptions","pageLoad"],function(e){var t=lt[e];lt[e]=function(){try{if(xr())t.apply(this,arguments);else{var n=lt._q=lt._q||[];n.push([e].concat(Array.prototype.slice.call(arguments,0)))}}catch(r){mn(r)}}}),_t(st)}}()}(window,document);
12})({
13
14
15
16
17
18  stagingServers: [/ulasevent18-dev-ed\.lightning\.force\.com/,/ulasevent18-dev-ed--dev606\.na73\.visual\.force\.com/],
19  stagingAgentUrl: "https://pendo-io-static.storage.googleapis.com/agent/static/e3cfc096-605e-4f72-6226-04a1fe5fb047/pendo-staging.js",
20
21  xhrTimings: false,
22  xhrWhitelist: null,
23  htmlAttributes: /^(tabindex|data-id|data-memberId|data-conId|data-assignId|data-parent|data-attendeeid|data-name)$/i,
24  apiKey: "e3cfc096-605e-4f72-6226-04a1fe5fb047"
25});

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.