Socket
Socket
Sign inDemoInstall

@yurii.avice/intro.js

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.3 to 6.0.4

6

intro.js
/*!
* Intro.js v6.0.0
* Intro.js v6.0.4
* https://introjs.com

@@ -8,5 +8,5 @@ *

*
* Date: Thu, 02 Feb 2023 12:03:35 GMT
* Date: Tue, 07 Feb 2023 11:17:13 GMT
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).introJs=e()}(this,(function(){"use strict";function t(){t=function(){return e};var e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),s=new j(r||[]);return i(a,"_invoke",{value:_(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p={};function f(){}function d(){}function m(){}var b={};l(b,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(A([])));v&&v!==n&&r.call(v,a)&&(b=v);var y=m.prototype=f.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function n(i,o,a,s){var c=h(t[i],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function k(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,p;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=m,i(y,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},e.awrap=function(t){return{__await:t}},w(x.prototype),l(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(y),l(y,c,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=A,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)}))}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,c=(s={},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"introjs-stamp";return s[e]=s[e]||0,void 0===t[e]&&(t[e]=s[e]++),t[e]});function l(t,e,n){if(t)for(var r=0,i=t.length;r<i;r++)e(t[r],r);"function"==typeof n&&n()}var u=new function(){var t="introjs_event";this._id=function(t,e,n,r){return e+c(n)+(r?"_".concat(c(r)):"")},this.on=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=function(t){return r.call(i||e,t||window.event)};"addEventListener"in e?e.addEventListener(n,s,o):"attachEvent"in e&&e.attachEvent("on".concat(n),s),e[t]=e[t]||{},e[t][a]=s},this.off=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=e[t]&&e[t][a];s&&("removeEventListener"in e?e.removeEventListener(n,s,o):"detachEvent"in e&&e.detachEvent("on".concat(n),s),e[t][a]=null)}};function h(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";n.match(e)||t.setAttribute("class","".concat(n," ").concat(e))}else{if(void 0!==t.classList)l(e.split(" "),(function(e){t.classList.add(e)}));else t.className.match(e)||(t.className+=" ".concat(e))}}function p(t,e){var n="";return t.currentStyle?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function f(t){var e=t.element;h(e,"introjs-showElement");var n=p(e,"position");"absolute"!==n&&"relative"!==n&&"sticky"!==n&&"fixed"!==n&&h(e,"introjs-relativePosition")}function d(t){var e=t.element;if(this._options.scrollToElement){var n=function(t){var e=window.getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var i=t;i=i.parentElement;)if(e=window.getComputedStyle(i),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function m(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function b(t,e,n){var r,i=e.element;if("off"!==t&&(this._options.scrollToElement&&(r="tooltip"===t?n.getBoundingClientRect():i.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(i)))){var o=m().height;r.bottom-(r.bottom-r.top)<0||i.clientHeight>o?window.scrollBy(0,r.top-(o/2-r.height/2)-this._options.scrollPadding):window.scrollBy(0,r.top-(o/2-r.height/2)+this._options.scrollPadding)}}function g(t){t.setAttribute("role","button"),t.tabIndex=0}function v(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===p(t,"position")||v(e))}function y(t,e){var n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft;e=e||n;var a=t.getBoundingClientRect(),s=e.getBoundingClientRect(),c=p(e,"position"),l={width:a.width,height:a.height};return"body"!==e.tagName.toLowerCase()&&"relative"===c||"sticky"===c?Object.assign(l,{top:a.top-s.top,left:a.left-s.left}):v(t)?Object.assign(l,{top:a.top,left:a.left}):Object.assign(l,{top:a.top+i,left:a.left+o})}function w(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function x(t,e){var n="";if(t.style.cssText&&(n+=t.style.cssText),"string"==typeof e)n+=e;else for(var r in e)n+="".concat(r,":").concat(e[r],";");t.style.cssText=n}function _(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introItems[this._currentStep],n=y(e.element,this._targetElement),r=this._options.helperElementPadding;v(e.element)?h(t,"introjs-fixedTooltip"):w(t,"introjs-fixedTooltip"),"floating"===e.position&&(r=0),x(t,{width:"".concat(n.width+r,"px"),height:"".concat(n.height+r,"px"),top:"".concat(n.top-r/2,"px"),left:"".concat(n.left-r/2,"px")})}}function k(t,e,n,r,i){return t.left+e+n.width>r.width?(i.style.left="".concat(r.width-n.width-t.left,"px"),!1):(i.style.left="".concat(e,"px"),!0)}function C(t,e,n,r){return t.left+t.width-e-n.width<0?(r.style.left="".concat(-t.left,"px"),!1):(r.style.right="".concat(e,"px"),!0)}function S(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function j(t,e,n){var r=this._options.positionPrecedence.slice(),i=this._options.screenPadding,o=m(),a=y(e).height+10+2*i,s=y(e).width+10+2*i,c=t.getBoundingClientRect(),l="floating";c.bottom+a>o.height&&S(r,"bottom"),c.top-a<0&&S(r,"top"),c.right+s>o.width&&S(r,"right"),c.left-s<0&&S(r,"left");var u,h,p=-1!==(h=(u=n||"").indexOf("-"))?u.substr(h):"";return n&&(n=n.split("-")[0]),r.length&&(l=r.includes(n)?n:r[0]),["top","bottom"].includes(l)&&(l+=function(t,e,n,r){var i=n.width,o=e/2,a=Math.min(i,window.screen.width),s=["-left-aligned","-middle-aligned","-right-aligned"];return a-t<e&&S(s,"-left-aligned"),(t<o||a-t<o)&&S(s,"-middle-aligned"),t<e&&S(s,"-right-aligned"),s.length?s.includes(r)?r:s[0]:"-middle-aligned"}(c.left,s,o,p)),l}function A(t,e,n,r){var i,o,a,s,c,l="";if(r=r||!1,e.style.top=null,e.style.right=null,e.style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=null,n.style.display="inherit",this._introItems[this._currentStep]){l="string"==typeof(i=this._introItems[this._currentStep]).tooltipClass?i.tooltipClass:this._options.tooltipClass,e.className=["introjs-tooltip",l].filter(Boolean).join(" "),e.setAttribute("role","dialog"),"floating"!==(c=this._introItems[this._currentStep].position)&&this._options.autoPosition&&(c=j.call(this,t,e,c)),a=y(t),o=y(e),s=m(),h(e,"introjs-".concat(c));var u=a.width/2-o.width/2;switch(c){case"top-right-aligned":n.className="introjs-arrow bottom-right";var p=0;C(a,p,o,e),e.style.bottom="".concat(a.height+20,"px");break;case"top-middle-aligned":n.className="introjs-arrow bottom-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.bottom="".concat(a.height+20,"px");break;case"top-left-aligned":case"top":n.className="introjs-arrow bottom",k(a,r?0:15,o,s,e),e.style.bottom="".concat(a.height+20,"px");break;case"right":e.style.left="".concat(a.width+20,"px"),a.top+o.height>s.height?(n.className="introjs-arrow left-bottom",e.style.top="-".concat(o.height-a.height-20,"px")):n.className="introjs-arrow left";break;case"left":r||!0!==this._options.showStepNumbers||(e.style.top="15px"),a.top+o.height>s.height?(e.style.top="-".concat(o.height-a.height-20,"px"),n.className="introjs-arrow right-bottom"):n.className="introjs-arrow right",e.style.right="".concat(a.width+20,"px");break;case"floating":n.style.display="none",e.style.left="50%",e.style.top="50%",e.style.marginLeft="-".concat(o.width/2,"px"),e.style.marginTop="-".concat(o.height/2,"px");break;case"bottom-right-aligned":n.className="introjs-arrow top-right",C(a,p=0,o,e),e.style.top="".concat(a.height+20,"px");break;case"bottom-middle-aligned":n.className="introjs-arrow top-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.top="".concat(a.height+20,"px");break;default:n.className="introjs-arrow top",k(a,0,o,s,e),e.style.top="".concat(a.height+20,"px")}}}function E(){l(document.querySelectorAll(".introjs-showElement"),(function(t){w(t,/introjs-[a-zA-Z]+/g)}))}function N(t,e){var n=document.createElement(t);e=e||{};var r=/^(?:role|data-|aria-)/;for(var i in e){var o=e[i];"style"===i?x(n,o):i.match(r)?n.setAttribute(i,o):n[i]=o}return n}function L(t,e,n){if(n){var r=e.style.opacity||"1";x(e,{opacity:"0"}),window.setTimeout((function(){x(e,{opacity:r})}),10)}t.appendChild(e)}function T(){return parseInt(this._currentStep+1,10)/this._introItems.length*100}function I(){var t=document.querySelector(".introjs-disableInteraction");null===t&&(t=N("div",{className:"introjs-disableInteraction"}),this._targetElement.appendChild(t)),_.call(this,t)}function P(t){var e=this,n=N("div",{className:"introjs-bullets"});!1===this._options.showBullets&&(n.style.display="none");var r=N("ul");r.setAttribute("role","tablist");var i=function(){e.goToStep(this.getAttribute("data-step-number"))};return l(this._introItems,(function(e,n){var o=e.step,a=N("li"),s=N("a");a.setAttribute("role","presentation"),s.setAttribute("role","tab"),s.onclick=i,n===t.step-1&&(s.className="active"),g(s),s.innerHTML="&nbsp;",s.setAttribute("data-step-number",o),a.appendChild(s),r.appendChild(a)})),n.appendChild(r),n}function q(t,e){if(this._options.showBullets){var n=document.querySelector(".introjs-bullets");n&&n.parentNode.replaceChild(P.call(this,e),n)}}function O(t,e){this._options.showBullets&&(t.querySelector(".introjs-bullets li > a.active").className="",t.querySelector('.introjs-bullets li > a[data-step-number="'.concat(e.step,'"]')).className="active")}function B(){var t=N("div");t.className="introjs-progress",!1===this._options.showProgress&&(t.style.display="none");var e=N("div",{className:"introjs-progressbar"});return this._options.progressBarAdditionalClass&&(e.className+=" "+this._options.progressBarAdditionalClass),e.setAttribute("role","progress"),e.setAttribute("aria-valuemin",0),e.setAttribute("aria-valuemax",100),e.setAttribute("aria-valuenow",T.call(this)),e.style.cssText="width:".concat(T.call(this),"%;"),t.appendChild(e),t}function H(t){t.querySelector(".introjs-progress .introjs-progressbar").style.cssText="width:".concat(T.call(this),"%;"),t.querySelector(".introjs-progress .introjs-progressbar").setAttribute("aria-valuenow",T.call(this))}function R(t){return M.apply(this,arguments)}function M(){return(M=r(t().mark((function e(n){var i,o,a,s,c,l,u,p,m,v,y,w,k,C,S,j,T,q,R,M,F,D,G,V,W,$=this;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===this._introChangeCallback){e.next=3;break}return e.next=3,this._introChangeCallback.call(this,n.element);case 3:if(i=this,o=document.querySelector(".introjs-helperLayer"),a=document.querySelector(".introjs-tooltipReferenceLayer"),s="introjs-helperLayer","string"==typeof n.highlightClass&&(s+=" ".concat(n.highlightClass)),"string"==typeof this._options.highlightClass&&(s+=" ".concat(this._options.highlightClass)),null!==o&&null!==a?(p=a.querySelector(".introjs-helperNumberLayer"),m=a.querySelector(".introjs-tooltiptext"),v=a.querySelector(".introjs-tooltip-title"),y=a.querySelector(".introjs-arrow"),w=a.querySelector(".introjs-tooltip"),u=a.querySelector(".introjs-skipbutton"),l=a.querySelector(".introjs-prevbutton"),c=a.querySelector(".introjs-nextbutton"),o.className=s,w.style.opacity=0,w.style.display="none",d.call(i,n),_.call(i,o),_.call(i,a),E(),i._lastShowElementTimer&&window.clearTimeout(i._lastShowElementTimer),i._lastShowElementTimer=window.setTimeout((function(){null!==p&&(p.innerHTML="".concat(n.step," ").concat($._options.stepNumbersOfLabel," ").concat($._introItems.length)),m.innerHTML=n.intro,v.innerHTML=n.title,w.style.display="block",A.call(i,n.element,w,y),O.call(i,a,n),H.call(i,a),w.style.opacity=1,(null!=c&&/introjs-donebutton/gi.test(c.className)||null!=c)&&c.focus(),b.call(i,n.scrollTo,n,m)}),350)):(k=N("div",{className:s}),C=N("div",{className:"introjs-tooltipReferenceLayer"}),S=N("div",{className:"introjs-arrow"}),j=N("div",{className:"introjs-tooltip"}),T=N("div",{className:"introjs-tooltiptext"}),q=N("div",{className:"introjs-tooltip-header"}),R=N("h1",{className:"introjs-tooltip-title"}),M=N("div"),x(k,{"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(i._options.overlayOpacity.toString(),") 0 0 0 5000px")}),d.call(i,n),_.call(i,k),_.call(i,C),L(this._targetElement,k,!0),L(this._targetElement,C),T.innerHTML=n.intro,R.innerHTML=n.title,M.className="introjs-tooltipbuttons",!1===this._options.showButtons&&(M.style.display="none"),q.appendChild(R),j.appendChild(q),j.appendChild(T),this._options.dontShowAgain&&(F=N("div",{className:"introjs-dontShowAgain"}),(D=N("input",{type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain"})).onchange=function(t){$.setDontShowAgain(t.target.checked)},(G=N("label",{htmlFor:"introjs-dontShowAgain"})).innerText=this._options.dontShowAgainLabel,F.appendChild(D),F.appendChild(G),j.appendChild(F)),j.appendChild(P.call(this,n)),j.appendChild(B.call(this)),V=N("div"),!0===this._options.showStepNumbers&&(V.className="introjs-helperNumberLayer",V.innerHTML="".concat(n.step," ").concat(this._options.stepNumbersOfLabel," ").concat(this._introItems.length),j.appendChild(V)),j.appendChild(S),C.appendChild(j),(c=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i._introItems.length-1===i._currentStep){t.next=5;break}return t.next=3,z.call(i);case 3:t.next=11;break;case 5:if(!/introjs-donebutton/gi.test(c.className)){t.next=11;break}if("function"!=typeof i._introCompleteCallback){t.next=9;break}return t.next=9,i._introCompleteCallback.call(i,i._currentStep,"done");case 9:return t.next=11,xt.call(i,i._targetElement);case 11:case"end":return t.stop()}}),e)}))),g(c),c.innerHTML=this._options.nextLabel,(l=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0===i._currentStep){t.next=3;break}return t.next=3,Y.call(i);case 3:case"end":return t.stop()}}),e)}))),g(l),l.innerHTML=this._options.prevLabel,g(u=N("a",{className:"introjs-skipbutton"})),u.innerHTML=this._options.skipLabel,u.onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i._introItems.length-1!==i._currentStep||"function"!=typeof i._introCompleteCallback){t.next=3;break}return t.next=3,i._introCompleteCallback.call(i,i._currentStep,"skip");case 3:if("function"!=typeof i._introSkipCallback){t.next=6;break}return t.next=6,i._introSkipCallback.call(i);case 6:return t.next=8,xt.call(i,i._targetElement);case 8:case"end":return t.stop()}}),e)}))),q.appendChild(u),this._introItems.length>1&&M.appendChild(l),M.appendChild(c),j.appendChild(M),A.call(i,n.element,j,S),b.call(this,n.scrollTo,n,j)),(W=i._targetElement.querySelector(".introjs-disableInteraction"))&&W.parentNode.removeChild(W),n.disableInteraction&&I.call(i),0===this._currentStep&&this._introItems.length>1?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel),!0===this._options.hidePrev?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-hidden")),null!=c&&h(c,"introjs-fullbutton")):null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-disabled"))):this._introItems.length-1===this._currentStep||1===this._introItems.length?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),!0===this._options.hideNext?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-hidden")),null!=l&&h(l,"introjs-fullbutton")):null!=c&&(!0===this._options.nextToDone?(c.innerHTML=this._options.doneLabel,h(c,"".concat(this._options.buttonClass," introjs-nextbutton introjs-donebutton"))):c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-disabled"))):(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel)),null!=l&&l.setAttribute("role","button"),null!=c&&c.setAttribute("role","button"),null!=u&&u.setAttribute("role","button"),null!=c&&c.focus(),f(n),void 0===this._introAfterChangeCallback){e.next=22;break}return e.next=22,this._introAfterChangeCallback.call(this,n.element);case 22:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function F(t){return D.apply(this,arguments)}function D(){return(D=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStep=n-2,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function G(t){return V.apply(this,arguments)}function V(){return(V=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStepNumber=n,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function z(){return W.apply(this,arguments)}function W(){return W=r(t().mark((function e(){var n,r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="forward",void 0!==this._currentStepNumber&&l(this._introItems,(function(t,e){t.step===i._currentStepNumber&&(i._currentStep=e-1,i._currentStepNumber=void 0)})),void 0===this._currentStep?this._currentStep=0:++this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=9;break}return t.next=8,this._introBeforeChangeCallback.call(this,n&&n.element);case 8:r=t.sent;case 9:if(!1!==r){t.next=12;break}return--this._currentStep,t.abrupt("return",!1);case 12:if(!(this._introItems.length<=this._currentStep)){t.next=19;break}if("function"!=typeof this._introCompleteCallback){t.next=16;break}return t.next=16,this._introCompleteCallback.call(this,this._currentStep,"end");case 16:return t.next=18,xt.call(this,this._targetElement);case 18:return t.abrupt("return");case 19:return t.next=21,R.call(this,n);case 21:case"end":return t.stop()}}),e,this)}))),W.apply(this,arguments)}function Y(){return $.apply(this,arguments)}function $(){return $=r(t().mark((function e(){var n,r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="backward",0!==this._currentStep){t.next=3;break}return t.abrupt("return",!1);case 3:if(--this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=10;break}return t.next=9,this._introBeforeChangeCallback.call(this,n&&n.element);case 9:r=t.sent;case 10:if(!1!==r){t.next=13;break}return++this._currentStep,t.abrupt("return",!1);case 13:return t.next=15,R.call(this,n);case 15:case"end":return t.stop()}}),e,this)}))),$.apply(this,arguments)}function Q(){return this._currentStep}function U(t){return X.apply(this,arguments)}function X(){return(X=r(t().mark((function e(n){var r,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(r=void 0===n.code?n.which:n.code)&&(r=null===n.charCode?n.keyCode:n.charCode),"Escape"!==r&&27!==r||!0!==this._options.exitOnEsc){t.next=7;break}return t.next=5,xt.call(this,this._targetElement);case 5:t.next=39;break;case 7:if("ArrowLeft"!==r&&37!==r){t.next=12;break}return t.next=10,Y.call(this);case 10:t.next=39;break;case 12:if("ArrowRight"!==r&&39!==r){t.next=17;break}return t.next=15,z.call(this);case 15:t.next=39;break;case 17:if("Enter"!==r&&"NumpadEnter"!==r&&13!==r){t.next=39;break}if(!(i=n.target||n.srcElement)||!i.className.match("introjs-prevbutton")){t.next=24;break}return t.next=22,Y.call(this);case 22:t.next=38;break;case 24:if(!i||!i.className.match("introjs-skipbutton")){t.next=32;break}if(this._introItems.length-1!==this._currentStep||"function"!=typeof this._introCompleteCallback){t.next=28;break}return t.next=28,this._introCompleteCallback.call(this,this._currentStep,"skip");case 28:return t.next=30,xt.call(this,this._targetElement);case 30:t.next=38;break;case 32:if(!i||!i.getAttribute("data-step-number")){t.next=36;break}i.click(),t.next=38;break;case 36:return t.next=38,z.call(this);case 38:n.preventDefault?n.preventDefault():n.returnValue=!1;case 39:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function J(t){if(null===t||"object"!==e(t)||void 0!==t.nodeType)return t;var n={};for(var r in t)void 0!==window.jQuery&&t[r]instanceof window.jQuery?n[r]=t[r]:n[r]=J(t[r]);return n}function Z(t,e){var n,r=this;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){t.apply(r,o)}),e)}}function K(t){var e=document.querySelector(".introjs-hints");return e?e.querySelectorAll(t):[]}function tt(t){return et.apply(this,arguments)}function et(){return(et=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=K('.introjs-hint[data-step="'.concat(n,'"]'))[0],ft.call(this),r&&h(r,"introjs-hidehint"),void 0===this._hintCloseCallback){t.next=6;break}return t.next=6,this._hintCloseCallback.call(this,n);case 6:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function nt(){var e=this;l(K(".introjs-hint"),function(){var n=r(t().mark((function n(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(e,r.getAttribute("data-step"));case 2:case"end":return t.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}())}function rt(){return it.apply(this,arguments)}function it(){return(it=r(t().mark((function e(){var n,r=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=K(".introjs-hint"))||!n.length){t.next=5;break}l(n,(function(t){ot.call(r,t.getAttribute("data-step"))})),t.next=7;break;case 5:return t.next=7,dt.call(this,this._targetElement);case 7:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ot(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&w(e,/introjs-hidehint/g)}function at(){var t=this;l(K(".introjs-hint"),(function(e){st.call(t,e.getAttribute("data-step"))})),u.off(document,"click",ft,this,!1),u.off(window,"resize",bt,this,!0),this._hintsAutoRefreshFunction&&u.off(window,"scroll",this._hintsAutoRefreshFunction,this,!0)}function st(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&e.parentNode.removeChild(e)}function ct(){return lt.apply(this,arguments)}function lt(){return(lt=r(t().mark((function e(){var n,r,i,o=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this,null===(r=document.querySelector(".introjs-hints"))&&(r=N("div",{className:"introjs-hints"})),i=function(t){return function(e){var r=e||window.event;r.stopPropagation&&r.stopPropagation(),null!==r.cancelBubble&&(r.cancelBubble=!0),ht.call(n,t)}},l(this._introItems,(function(t,e){if(!document.querySelector('.introjs-hint[data-step="'.concat(e,'"]'))){var n=N("a",{className:"introjs-hint"});g(n),n.onclick=i(e),t.hintAnimation||h(n,"introjs-hint-no-anim"),v(t.element)&&h(n,"introjs-fixedhint");var a=N("div",{className:"introjs-hint-dot"}),s=N("div",{className:"introjs-hint-pulse"});n.appendChild(a),n.appendChild(s),n.setAttribute("data-step",e),t.targetElement=t.element,t.element=n,ut.call(o,t.hintPosition,n,t.targetElement),r.appendChild(n)}})),document.body.appendChild(r),void 0===this._hintsAddedCallback){t.next=9;break}return t.next=9,this._hintsAddedCallback.call(this);case 9:this._options.hintAutoRefreshInterval>=0&&(this._hintsAutoRefreshFunction=Z((function(){return bt.call(o)}),this._options.hintAutoRefreshInterval),u.on(window,"scroll",this._hintsAutoRefreshFunction,this,!0));case 10:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ut(t,e,n){var r=e.style,i=y.call(this,n),o=20,a=20;switch(t){default:case"top-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top,"px");break;case"top-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top,"px");break;case"bottom-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"bottom-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"middle-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"bottom-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"top-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top,"px")}}function ht(t){return pt.apply(this,arguments)}function pt(){return(pt=r(t().mark((function e(n){var r,i,o,a,s,c,l,u,h;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=document.querySelector('.introjs-hint[data-step="'.concat(n,'"]')),i=this._introItems[n],void 0===this._hintClickCallback){t.next=5;break}return t.next=5,this._hintClickCallback.call(this,r,i,n);case 5:if(o=ft.call(this),parseInt(o,10)!==n){t.next=8;break}return t.abrupt("return");case 8:a=N("div",{className:"introjs-tooltip"}),s=N("div"),c=N("div"),l=N("div"),a.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},s.className="introjs-tooltiptext",(u=N("p")).innerHTML=i.hint,s.appendChild(u),this._options.hintShowButton&&((h=N("a")).className=this._options.buttonClass,h.setAttribute("role","button"),h.innerHTML=this._options.hintButtonLabel,h.onclick=tt.bind(this,n),s.appendChild(h)),c.className="introjs-arrow",a.appendChild(c),a.appendChild(s),this._currentStep=r.getAttribute("data-step"),l.className="introjs-tooltipReferenceLayer introjs-hintReference",l.setAttribute("data-step",r.getAttribute("data-step")),_.call(this,l),l.appendChild(a),document.body.appendChild(l),A.call(this,r,a,c,!0);case 28:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ft(){var t=document.querySelector(".introjs-hintReference");if(t){var e=t.getAttribute("data-step");return t.parentNode.removeChild(t),e}}function dt(t){return mt.apply(this,arguments)}function mt(){return(mt=r(t().mark((function e(n){var r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._introItems=[],!this._options.hints){t.next=5;break}l(this._options.hints,(function(t){var e=J(t);"string"==typeof e.element&&(e.element=document.querySelector(e.element)),e.hintPosition=e.hintPosition||i._options.hintPosition,e.hintAnimation=e.hintAnimation||i._options.hintAnimation,null!==e.element&&i._introItems.push(e)})),t.next=9;break;case 5:if((r=n.querySelectorAll("*[data-hint]"))&&r.length){t.next=8;break}return t.abrupt("return",!1);case 8:l(r,(function(t){var e=t.getAttribute("data-hint-animation");e=e?"true"===e:i._options.hintAnimation,i._introItems.push({element:t,hint:t.getAttribute("data-hint"),hintPosition:t.getAttribute("data-hint-position")||i._options.hintPosition,hintAnimation:e,tooltipClass:t.getAttribute("data-tooltip-class"),position:t.getAttribute("data-position")||i._options.tooltipPosition})}));case 9:return t.next=11,ct.call(this);case 11:u.on(document,"click",ft,this,!1),u.on(window,"resize",bt,this,!0);case 13:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function bt(){var t=this;l(this._introItems,(function(e){var n=e.targetElement,r=e.hintPosition,i=e.element;void 0!==n&&ut.call(t,r,i,n)}))}function gt(t){var e=this,n=t.querySelectorAll("*[data-intro]"),r=[];if(this._options.steps)l(this._options.steps,(function(t){var n=J(t);if(n.step=r.length+1,n.title=n.title||"","string"==typeof n.element&&(n.element=document.querySelector(n.element)),void 0===n.element||null===n.element){var i=document.querySelector(".introjsFloatingElement");null===i&&(i=N("div",{className:"introjsFloatingElement"}),document.body.appendChild(i)),n.element=i,n.position="floating"}n.position=n.position||e._options.tooltipPosition,n.scrollTo=n.scrollTo||e._options.scrollTo,void 0===n.disableInteraction&&(n.disableInteraction=e._options.disableInteraction),null!==n.element&&r.push(n)}));else{var i;if(n.length<1)return[];l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&"none"!==t.style.display){var n=parseInt(t.getAttribute("data-step"),10);i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,n>0&&(r[n-1]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:parseInt(t.getAttribute("data-step"),10),tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i})}}));var o=0;l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&null===t.getAttribute("data-step")){for(;void 0!==r[o];)o++;i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,r[o]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:o+1,tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i}}}))}for(var a=[],s=0;s<r.length;s++)r[s]&&a.push(r[s]);return(r=a).sort((function(t,e){return t.step-e.step})),r}function vt(t){var e=document.querySelector(".introjs-tooltipReferenceLayer"),n=document.querySelector(".introjs-helperLayer"),r=document.querySelector(".introjs-disableInteraction");if(_.call(this,n),_.call(this,e),_.call(this,r),t&&(this._introItems=gt.call(this,this._targetElement),q.call(this,e,this._introItems[this._currentStep]),H.call(this,e)),void 0!==this._currentStep&&null!==this._currentStep){var i=document.querySelector(".introjs-arrow"),o=document.querySelector(".introjs-tooltip");o&&i&&A.call(this,this._introItems[this._currentStep].element,o,i)}return bt.call(this),this}function yt(){vt.call(this)}function wt(t,e){if(t&&t.parentElement){var n=t.parentElement;e?(x(t,{opacity:"0"}),window.setTimeout((function(){try{n.removeChild(t)}catch(t){}}),500)):n.removeChild(t)}}function xt(t,e){return _t.apply(this,arguments)}function _t(){return(_t=r(t().mark((function e(n,r){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!0,void 0===this._introBeforeExitCallback){t.next=5;break}return t.next=4,this._introBeforeExitCallback.call(this);case 4:i=t.sent;case 5:if(r||!1!==i){t.next=7;break}return t.abrupt("return");case 7:if((o=n.querySelectorAll(".introjs-overlay"))&&o.length&&l(o,(function(t){return wt(t)})),wt(n.querySelector(".introjs-helperLayer"),!0),wt(n.querySelector(".introjs-tooltipReferenceLayer")),wt(n.querySelector(".introjs-disableInteraction")),wt(document.querySelector(".introjsFloatingElement")),E(),u.off(window,"keydown",U,this,!0),u.off(window,"resize",yt,this,!0),void 0===this._introExitCallback){t.next=23;break}return t.next=23,this._introExitCallback.call(this);case 23:this._currentStep=void 0;case 24:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function kt(e){var n=this,i=N("div",{className:"introjs-overlay"});return x(i,{top:0,bottom:0,left:0,right:0,position:"fixed"}),e.appendChild(i),!0===this._options.exitOnOverlayClick&&(x(i,{cursor:"pointer"}),i.onclick=r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,e);case 2:case"end":return t.stop()}}),r)})))),!0}function Ct(t){return St.apply(this,arguments)}function St(){return(St=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isActive()){t.next=2;break}return t.abrupt("return");case 2:if(void 0===this._introStartCallback){t.next=5;break}return t.next=5,this._introStartCallback.call(this,n);case 5:if(0!==(r=gt.call(this,n)).length){t.next=8;break}return t.abrupt("return",!1);case 8:if(this._introItems=r,!kt.call(this,n)){t.next=14;break}return t.next=12,z.call(this);case 12:this._options.keyboardNavigation&&u.on(window,"keydown",U,this,!0),u.on(window,"resize",yt,this,!0);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function jt(t,e,n){var r,o=(i(r={},t,e),i(r,"path","/"),r);if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),o.expires=a.toUTCString()}var s=[];for(var c in o)s.push("".concat(c,"=").concat(o[c]));return document.cookie=s.join("; "),At(t)}function At(t){return(e={},document.cookie.split(";").forEach((function(t){var n=o(t.split("="),2),r=n[0],i=n[1];e[r.trim()]=i})),e)[t];var e}var Et="true";function Nt(t){t?jt(this._options.dontShowAgainCookie,Et,this._options.dontShowAgainCookieDays):jt(this._options.dontShowAgainCookie,"",-1)}function Lt(){var t=At(this._options.dontShowAgainCookie);return t&&t===Et}function Tt(t){this._targetElement=t,this._introItems=[],this._options={isActive:!0,nextLabel:"Next",prevLabel:"Back",skipLabel:"×",doneLabel:"Done",hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",progressBarAdditionalClass:!1,screenPadding:20}}var It=function t(n){var r;if("object"===e(n))r=new Tt(n);else if("string"==typeof n){var i=document.querySelector(n);if(!i)throw new Error("There is no element with given selector.");r=new Tt(i)}else r=new Tt(document.body);return t.instances[c(r,"introjs-instance")]=r,r};return It.instances={},It.fn=Tt.prototype={isActive:function(){return(!this._options.dontShowAgain||!Lt.call(this))&&this._options.isActive},clone:function(){return new Tt(this)},setOption:function(t,e){return this._options[t]=e,this},setOptions:function(t){return this._options=function(t,e){var n,r={};for(n in t)r[n]=t[n];for(n in e)r[n]=e[n];return r}(this._options,t),this},start:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ct.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},goToStep:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,F.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},addStep:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},addSteps:function(t){if(t.length){for(var e=0;e<t.length;e++)this.addStep(t[e]);return this}},goToStepNumber:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,G.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},nextStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,z.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},previousStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},currentStep:function(){return Q.call(this)},exit:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,n._targetElement,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},refresh:function(t){return vt.call(this,t),this},setDontShowAgain:function(t){return Nt.call(this,t),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},onhintsadded:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},onhintclick:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},onhintclose:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},onstart:function(t){if("function"!=typeof t)throw new Error("Provided callback for onstart was not a function.");return this._introStartCallback=t,this},onexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},onskip:function(t){if("function"!=typeof t)throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},onbeforeexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},addHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,dt.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},hideHint:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},hideHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},showHint:function(t){return ot.call(this,t),this},showHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,rt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},removeHints:function(){return at.call(this),this},removeHint:function(t){return st().call(this,t),this},showHintDialog:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ht.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()}},It}));
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).introJs=e()}(this,(function(){"use strict";function t(){t=function(){return e};var e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),s=new j(r||[]);return i(a,"_invoke",{value:_(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p={};function f(){}function d(){}function m(){}var b={};l(b,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(A([])));v&&v!==n&&r.call(v,a)&&(b=v);var y=m.prototype=f.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function n(i,o,a,s){var c=h(t[i],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function k(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,p;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=m,i(y,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},e.awrap=function(t){return{__await:t}},w(x.prototype),l(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(y),l(y,c,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=A,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)}))}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,c=(s={},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"introjs-stamp";return s[e]=s[e]||0,void 0===t[e]&&(t[e]=s[e]++),t[e]});function l(t,e,n){if(t)for(var r=0,i=t.length;r<i;r++)e(t[r],r);"function"==typeof n&&n()}var u=new function(){var t="introjs_event";this._id=function(t,e,n,r){return e+c(n)+(r?"_".concat(c(r)):"")},this.on=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=function(t){return r.call(i||e,t||window.event)};"addEventListener"in e?e.addEventListener(n,s,o):"attachEvent"in e&&e.attachEvent("on".concat(n),s),e[t]=e[t]||{},e[t][a]=s},this.off=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=e[t]&&e[t][a];s&&("removeEventListener"in e?e.removeEventListener(n,s,o):"detachEvent"in e&&e.detachEvent("on".concat(n),s),e[t][a]=null)}};function h(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";n.match(e)||t.setAttribute("class","".concat(n," ").concat(e))}else{if(void 0!==t.classList)l(e.split(" "),(function(e){t.classList.add(e)}));else t.className.match(e)||(t.className+=" ".concat(e))}}function p(t,e){var n="";return t.currentStyle?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function f(t){var e=t.element;h(e,"introjs-showElement");var n=p(e,"position");"absolute"!==n&&"relative"!==n&&"sticky"!==n&&"fixed"!==n&&h(e,"introjs-relativePosition")}function d(t){var e=t.element;if(this._options.scrollToElement){var n=function(t){var e=window.getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var i=t;i=i.parentElement;)if(e=window.getComputedStyle(i),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function m(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function b(t,e,n){var r,i=e.element;if("off"!==t&&(this._options.scrollToElement&&(r="tooltip"===t?n.getBoundingClientRect():i.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(i)))){var o=m().height;r.bottom-(r.bottom-r.top)<0||i.clientHeight>o?window.scrollBy(0,r.top-(o/2-r.height/2)-this._options.scrollPadding):window.scrollBy(0,r.top-(o/2-r.height/2)+this._options.scrollPadding)}}function g(t){t.setAttribute("role","button"),t.tabIndex=0}function v(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===p(t,"position")||v(e))}function y(t,e){var n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft;e=e||n;var a=t.getBoundingClientRect(),s=e.getBoundingClientRect(),c=p(e,"position"),l={width:a.width,height:a.height};return"body"!==e.tagName.toLowerCase()&&"relative"===c||"sticky"===c?Object.assign(l,{top:a.top-s.top,left:a.left-s.left}):v(t)?Object.assign(l,{top:a.top,left:a.left}):Object.assign(l,{top:a.top+i,left:a.left+o})}function w(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function x(t,e){var n="";if(t.style.cssText&&(n+=t.style.cssText),"string"==typeof e)n+=e;else for(var r in e)n+="".concat(r,":").concat(e[r],";");t.style.cssText=n}function _(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introItems[this._currentStep],n=y(e.element,this._targetElement),r=this._options.helperElementPadding;v(e.element)?h(t,"introjs-fixedTooltip"):w(t,"introjs-fixedTooltip"),"floating"===e.position&&(r=0),x(t,{width:"".concat(n.width+r,"px"),height:"".concat(n.height+r,"px"),top:"".concat(n.top-r/2,"px"),left:"".concat(n.left-r/2,"px")})}}function k(t,e,n,r,i){return t.left+e+n.width>r.width?(i.style.left="".concat(r.width-n.width-t.left,"px"),!1):(i.style.left="".concat(e,"px"),!0)}function C(t,e,n,r){return t.left+t.width-e-n.width<0?(r.style.left="".concat(-t.left,"px"),!1):(r.style.right="".concat(e,"px"),!0)}function S(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function j(t,e,n){var r=this._options.positionPrecedence.slice(),i=this._options.screenPadding,o=m(),a=y(e).height+10+2*i,s=y(e).width+10+2*i,c=t.getBoundingClientRect(),l="floating";c.bottom+a>o.height&&S(r,"bottom"),c.top-a<0&&S(r,"top"),c.right+s>o.width&&S(r,"right"),c.left-s<0&&S(r,"left");var u,h,p=-1!==(h=(u=n||"").indexOf("-"))?u.substr(h):"";return n&&(n=n.split("-")[0]),r.length&&(l=r.includes(n)?n:r[0]),["top","bottom"].includes(l)&&(l+=function(t,e,n,r){var i=n.width,o=e/2,a=Math.min(i,window.screen.width),s=["-left-aligned","-middle-aligned","-right-aligned"];return a-t<e&&S(s,"-left-aligned"),(t<o||a-t<o)&&S(s,"-middle-aligned"),t<e&&S(s,"-right-aligned"),s.length?s.includes(r)?r:s[0]:"-middle-aligned"}(c.left,s,o,p)),l}function A(t,e,n,r){var i,o,a,s,c,l="";if(r=r||!1,e.style.top=null,e.style.right=null,e.style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=null,n.style.display="inherit",this._introItems[this._currentStep]){l="string"==typeof(i=this._introItems[this._currentStep]).tooltipClass?i.tooltipClass:this._options.tooltipClass,e.className=["introjs-tooltip",l].filter(Boolean).join(" "),e.setAttribute("role","dialog"),"floating"!==(c=this._introItems[this._currentStep].position)&&this._options.autoPosition&&(c=j.call(this,t,e,c)),a=y(t),o=y(e),s=m(),h(e,"introjs-".concat(c));var u=a.width/2-o.width/2;switch(c){case"top-right-aligned":n.className="introjs-arrow bottom-right";var p=0;C(a,p,o,e),e.style.bottom="".concat(a.height+20,"px");break;case"top-middle-aligned":n.className="introjs-arrow bottom-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.bottom="".concat(a.height+20,"px");break;case"top-left-aligned":case"top":n.className="introjs-arrow bottom",k(a,r?0:15,o,s,e),e.style.bottom="".concat(a.height+20,"px");break;case"right":e.style.left="".concat(a.width+20,"px"),a.top+o.height>s.height?(n.className="introjs-arrow left-bottom",e.style.top="-".concat(o.height-a.height-20,"px")):n.className="introjs-arrow left";break;case"left":r||!0!==this._options.showStepNumbers||(e.style.top="15px"),a.top+o.height>s.height?(e.style.top="-".concat(o.height-a.height-20,"px"),n.className="introjs-arrow right-bottom"):n.className="introjs-arrow right",e.style.right="".concat(a.width+20,"px");break;case"floating":n.style.display="none",e.style.left="50%",e.style.top="50%",e.style.marginLeft="-".concat(o.width/2,"px"),e.style.marginTop="-".concat(o.height/2,"px");break;case"bottom-right-aligned":n.className="introjs-arrow top-right",C(a,p=0,o,e),e.style.top="".concat(a.height+20,"px");break;case"bottom-middle-aligned":n.className="introjs-arrow top-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.top="".concat(a.height+20,"px");break;default:n.className="introjs-arrow top",k(a,0,o,s,e),e.style.top="".concat(a.height+20,"px")}}}function E(){l(document.querySelectorAll(".introjs-showElement"),(function(t){w(t,/introjs-[a-zA-Z]+/g)}))}function N(t,e){var n=document.createElement(t);e=e||{};var r=/^(?:role|data-|aria-)/;for(var i in e){var o=e[i];"style"===i?x(n,o):i.match(r)?n.setAttribute(i,o):n[i]=o}return n}function L(t,e,n){if(n){var r=e.style.opacity||"1";x(e,{opacity:"0"}),window.setTimeout((function(){x(e,{opacity:r})}),10)}t.appendChild(e)}function T(){return parseInt(this._currentStep+1,10)/this._introItems.length*100}function I(){var t=document.querySelector(".introjs-disableInteraction");null===t&&(t=N("div",{className:"introjs-disableInteraction"}),this._targetElement.appendChild(t)),_.call(this,t)}function P(t){var e=this,n=N("div",{className:"introjs-bullets"});!1===this._options.showBullets&&(n.style.display="none");var r=N("ul");r.setAttribute("role","tablist");var i=function(){e.goToStep(this.getAttribute("data-step-number"))};return l(this._introItems,(function(e,n){var o=e.step,a=N("li"),s=N("a");a.setAttribute("role","presentation"),s.setAttribute("role","tab"),s.onclick=i,n===t.step-1&&(s.className="active"),g(s),s.innerHTML="&nbsp;",s.setAttribute("data-step-number",o),a.appendChild(s),r.appendChild(a)})),n.appendChild(r),n}function q(t,e){if(this._options.showBullets){var n=document.querySelector(".introjs-bullets");n&&n.parentNode.replaceChild(P.call(this,e),n)}}function O(t,e){this._options.showBullets&&(t.querySelector(".introjs-bullets li > a.active").className="",t.querySelector('.introjs-bullets li > a[data-step-number="'.concat(e.step,'"]')).className="active")}function B(){var t=N("div");t.className="introjs-progress",!1===this._options.showProgress&&(t.style.display="none");var e=N("div",{className:"introjs-progressbar"});return this._options.progressBarAdditionalClass&&(e.className+=" "+this._options.progressBarAdditionalClass),e.setAttribute("role","progress"),e.setAttribute("aria-valuemin",0),e.setAttribute("aria-valuemax",100),e.setAttribute("aria-valuenow",T.call(this)),e.style.cssText="width:".concat(T.call(this),"%;"),t.appendChild(e),t}function H(t){t.querySelector(".introjs-progress .introjs-progressbar").style.cssText="width:".concat(T.call(this),"%;"),t.querySelector(".introjs-progress .introjs-progressbar").setAttribute("aria-valuenow",T.call(this))}function R(t){return M.apply(this,arguments)}function M(){return(M=r(t().mark((function e(n){var i,o,a,s,c,l,u,p,m,v,y,w,k,C,S,j,T,q,R,M,D,F,G,V,W,$=this;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===this._introChangeCallback){e.next=3;break}return e.next=3,this._introChangeCallback.call(this,n.element);case 3:if(i=this,o=document.querySelector(".introjs-helperLayer"),a=document.querySelector(".introjs-tooltipReferenceLayer"),s="introjs-helperLayer","string"==typeof n.highlightClass&&(s+=" ".concat(n.highlightClass)),"string"==typeof this._options.highlightClass&&(s+=" ".concat(this._options.highlightClass)),null!==o&&null!==a?(p=a.querySelector(".introjs-helperNumberLayer"),m=a.querySelector(".introjs-tooltiptext"),v=a.querySelector(".introjs-tooltip-title"),y=a.querySelector(".introjs-arrow"),w=a.querySelector(".introjs-tooltip"),u=a.querySelector(".introjs-skipbutton"),l=a.querySelector(".introjs-prevbutton"),c=a.querySelector(".introjs-nextbutton"),o.className=s,w.style.opacity=0,w.style.display="none",d.call(i,n),_.call(i,o),_.call(i,a),E(),i._lastShowElementTimer&&window.clearTimeout(i._lastShowElementTimer),i._lastShowElementTimer=window.setTimeout((function(){null!==p&&(p.innerHTML="".concat(n.step," ").concat($._options.stepNumbersOfLabel," ").concat($._introItems.length)),m.innerHTML=n.intro,v.innerHTML=n.title,w.style.display="block",A.call(i,n.element,w,y),O.call(i,a,n),H.call(i,a),w.style.opacity=1,(null!=c&&/introjs-donebutton/gi.test(c.className)||null!=c)&&c.focus(),b.call(i,n.scrollTo,n,m)}),350)):(k=N("div",{className:s}),C=N("div",{className:"introjs-tooltipReferenceLayer"}),S=N("div",{className:"introjs-arrow"}),j=N("div",{className:"introjs-tooltip"}),T=N("div",{className:"introjs-tooltiptext"}),q=N("div",{className:"introjs-tooltip-header"}),R=N("h1",{className:"introjs-tooltip-title"}),M=N("div"),x(k,{"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(i._options.overlayOpacity.toString(),") 0 0 0 5000px")}),d.call(i,n),_.call(i,k),_.call(i,C),L(this._targetElement,k,!0),L(this._targetElement,C),T.innerHTML=n.intro,R.innerHTML=n.title,M.className="introjs-tooltipbuttons",!1===this._options.showButtons&&(M.style.display="none"),q.appendChild(R),j.appendChild(q),j.appendChild(T),this._options.dontShowAgain&&(D=N("div",{className:"introjs-dontShowAgain"}),(F=N("input",{type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain"})).onchange=function(t){$.setDontShowAgain(t.target.checked)},(G=N("label",{htmlFor:"introjs-dontShowAgain"})).innerText=this._options.dontShowAgainLabel,D.appendChild(F),D.appendChild(G),j.appendChild(D)),j.appendChild(P.call(this,n)),j.appendChild(B.call(this)),V=N("div"),!0===this._options.showStepNumbers&&(V.className="introjs-helperNumberLayer",V.innerHTML="".concat(n.step," ").concat(this._options.stepNumbersOfLabel," ").concat(this._introItems.length),j.appendChild(V)),j.appendChild(S),C.appendChild(j),(c=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i._introItems.length-1===i._currentStep){t.next=6;break}return $._options.onClickNext(),t.next=4,z.call(i);case 4:t.next=13;break;case 6:if(!/introjs-donebutton/gi.test(c.className)){t.next=13;break}if($._options.onClickDone(),"function"!=typeof i._introCompleteCallback){t.next=11;break}return t.next=11,i._introCompleteCallback.call(i,i._currentStep,"done");case 11:return t.next=13,xt.call(i,i._targetElement);case 13:case"end":return t.stop()}}),e)}))),g(c),c.innerHTML=this._options.nextLabel,(l=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if($._options.onClickPrev(),0===i._currentStep){t.next=4;break}return t.next=4,Y.call(i);case 4:case"end":return t.stop()}}),e)}))),g(l),l.innerHTML=this._options.prevLabel,g(u=N("a",{className:"introjs-skipbutton"})),u.innerHTML=this._options.skipLabel,u.onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if($._options.onClickSkip(),i._introItems.length-1!==i._currentStep||"function"!=typeof i._introCompleteCallback){t.next=4;break}return t.next=4,i._introCompleteCallback.call(i,i._currentStep,"skip");case 4:if("function"!=typeof i._introSkipCallback){t.next=7;break}return t.next=7,i._introSkipCallback.call(i);case 7:return t.next=9,xt.call(i,i._targetElement);case 9:case"end":return t.stop()}}),e)}))),q.appendChild(u),this._introItems.length>1&&M.appendChild(l),M.appendChild(c),j.appendChild(M),A.call(i,n.element,j,S),b.call(this,n.scrollTo,n,j)),(W=i._targetElement.querySelector(".introjs-disableInteraction"))&&W.parentNode.removeChild(W),n.disableInteraction&&I.call(i),0===this._currentStep&&this._introItems.length>1?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel),!0===this._options.hidePrev?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-hidden")),null!=c&&h(c,"introjs-fullbutton")):null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-disabled"))):this._introItems.length-1===this._currentStep||1===this._introItems.length?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),!0===this._options.hideNext?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-hidden")),null!=l&&h(l,"introjs-fullbutton")):null!=c&&(!0===this._options.nextToDone?(c.innerHTML=this._options.doneLabel,h(c,"".concat(this._options.buttonClass," introjs-nextbutton introjs-donebutton"))):c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-disabled"))):(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel)),null!=l&&l.setAttribute("role","button"),null!=c&&c.setAttribute("role","button"),null!=u&&u.setAttribute("role","button"),null!=c&&c.focus(),f(n),void 0===this._introAfterChangeCallback){e.next=22;break}return e.next=22,this._introAfterChangeCallback.call(this,n.element);case 22:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function D(t){return F.apply(this,arguments)}function F(){return(F=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStep=n-2,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function G(t){return V.apply(this,arguments)}function V(){return(V=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStepNumber=n,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function z(){return W.apply(this,arguments)}function W(){return W=r(t().mark((function e(){var n,r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="forward",void 0!==this._currentStepNumber&&l(this._introItems,(function(t,e){t.step===i._currentStepNumber&&(i._currentStep=e-1,i._currentStepNumber=void 0)})),void 0===this._currentStep?this._currentStep=0:++this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=9;break}return t.next=8,this._introBeforeChangeCallback.call(this,n&&n.element);case 8:r=t.sent;case 9:if(!1!==r){t.next=12;break}return--this._currentStep,t.abrupt("return",!1);case 12:if(!(this._introItems.length<=this._currentStep)){t.next=19;break}if("function"!=typeof this._introCompleteCallback){t.next=16;break}return t.next=16,this._introCompleteCallback.call(this,this._currentStep,"end");case 16:return t.next=18,xt.call(this,this._targetElement);case 18:return t.abrupt("return");case 19:return t.next=21,R.call(this,n);case 21:case"end":return t.stop()}}),e,this)}))),W.apply(this,arguments)}function Y(){return $.apply(this,arguments)}function $(){return $=r(t().mark((function e(){var n,r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="backward",0!==this._currentStep){t.next=3;break}return t.abrupt("return",!1);case 3:if(--this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=10;break}return t.next=9,this._introBeforeChangeCallback.call(this,n&&n.element);case 9:r=t.sent;case 10:if(!1!==r){t.next=13;break}return++this._currentStep,t.abrupt("return",!1);case 13:return t.next=15,R.call(this,n);case 15:case"end":return t.stop()}}),e,this)}))),$.apply(this,arguments)}function Q(){return this._currentStep}function U(t){return X.apply(this,arguments)}function X(){return(X=r(t().mark((function e(n){var r,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(r=void 0===n.code?n.which:n.code)&&(r=null===n.charCode?n.keyCode:n.charCode),"Escape"!==r&&27!==r||!0!==this._options.exitOnEsc){t.next=7;break}return t.next=5,xt.call(this,this._targetElement);case 5:t.next=39;break;case 7:if("ArrowLeft"!==r&&37!==r){t.next=12;break}return t.next=10,Y.call(this);case 10:t.next=39;break;case 12:if("ArrowRight"!==r&&39!==r){t.next=17;break}return t.next=15,z.call(this);case 15:t.next=39;break;case 17:if("Enter"!==r&&"NumpadEnter"!==r&&13!==r){t.next=39;break}if(!(i=n.target||n.srcElement)||!i.className.match("introjs-prevbutton")){t.next=24;break}return t.next=22,Y.call(this);case 22:t.next=38;break;case 24:if(!i||!i.className.match("introjs-skipbutton")){t.next=32;break}if(this._introItems.length-1!==this._currentStep||"function"!=typeof this._introCompleteCallback){t.next=28;break}return t.next=28,this._introCompleteCallback.call(this,this._currentStep,"skip");case 28:return t.next=30,xt.call(this,this._targetElement);case 30:t.next=38;break;case 32:if(!i||!i.getAttribute("data-step-number")){t.next=36;break}i.click(),t.next=38;break;case 36:return t.next=38,z.call(this);case 38:n.preventDefault?n.preventDefault():n.returnValue=!1;case 39:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function J(t){if(null===t||"object"!==e(t)||void 0!==t.nodeType)return t;var n={};for(var r in t)void 0!==window.jQuery&&t[r]instanceof window.jQuery?n[r]=t[r]:n[r]=J(t[r]);return n}function Z(t,e){var n,r=this;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){t.apply(r,o)}),e)}}function K(t){var e=document.querySelector(".introjs-hints");return e?e.querySelectorAll(t):[]}function tt(t){return et.apply(this,arguments)}function et(){return(et=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=K('.introjs-hint[data-step="'.concat(n,'"]'))[0],ft.call(this),r&&h(r,"introjs-hidehint"),void 0===this._hintCloseCallback){t.next=6;break}return t.next=6,this._hintCloseCallback.call(this,n);case 6:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function nt(){var e=this;l(K(".introjs-hint"),function(){var n=r(t().mark((function n(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(e,r.getAttribute("data-step"));case 2:case"end":return t.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}())}function rt(){return it.apply(this,arguments)}function it(){return(it=r(t().mark((function e(){var n,r=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=K(".introjs-hint"))||!n.length){t.next=5;break}l(n,(function(t){ot.call(r,t.getAttribute("data-step"))})),t.next=7;break;case 5:return t.next=7,dt.call(this,this._targetElement);case 7:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ot(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&w(e,/introjs-hidehint/g)}function at(){var t=this;l(K(".introjs-hint"),(function(e){st.call(t,e.getAttribute("data-step"))})),u.off(document,"click",ft,this,!1),u.off(window,"resize",bt,this,!0),this._hintsAutoRefreshFunction&&u.off(window,"scroll",this._hintsAutoRefreshFunction,this,!0)}function st(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&e.parentNode.removeChild(e)}function ct(){return lt.apply(this,arguments)}function lt(){return(lt=r(t().mark((function e(){var n,r,i,o=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this,null===(r=document.querySelector(".introjs-hints"))&&(r=N("div",{className:"introjs-hints"})),i=function(t){return function(e){var r=e||window.event;r.stopPropagation&&r.stopPropagation(),null!==r.cancelBubble&&(r.cancelBubble=!0),ht.call(n,t)}},l(this._introItems,(function(t,e){if(!document.querySelector('.introjs-hint[data-step="'.concat(e,'"]'))){var n=N("a",{className:"introjs-hint"});g(n),n.onclick=i(e),t.hintAnimation||h(n,"introjs-hint-no-anim"),v(t.element)&&h(n,"introjs-fixedhint");var a=N("div",{className:"introjs-hint-dot"}),s=N("div",{className:"introjs-hint-pulse"});n.appendChild(a),n.appendChild(s),n.setAttribute("data-step",e),t.targetElement=t.element,t.element=n,ut.call(o,t.hintPosition,n,t.targetElement),r.appendChild(n)}})),document.body.appendChild(r),void 0===this._hintsAddedCallback){t.next=9;break}return t.next=9,this._hintsAddedCallback.call(this);case 9:this._options.hintAutoRefreshInterval>=0&&(this._hintsAutoRefreshFunction=Z((function(){return bt.call(o)}),this._options.hintAutoRefreshInterval),u.on(window,"scroll",this._hintsAutoRefreshFunction,this,!0));case 10:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ut(t,e,n){var r=e.style,i=y.call(this,n),o=20,a=20;switch(t){default:case"top-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top,"px");break;case"top-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top,"px");break;case"bottom-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"bottom-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"middle-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"bottom-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"top-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top,"px")}}function ht(t){return pt.apply(this,arguments)}function pt(){return(pt=r(t().mark((function e(n){var r,i,o,a,s,c,l,u,h;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=document.querySelector('.introjs-hint[data-step="'.concat(n,'"]')),i=this._introItems[n],void 0===this._hintClickCallback){t.next=5;break}return t.next=5,this._hintClickCallback.call(this,r,i,n);case 5:if(o=ft.call(this),parseInt(o,10)!==n){t.next=8;break}return t.abrupt("return");case 8:a=N("div",{className:"introjs-tooltip"}),s=N("div"),c=N("div"),l=N("div"),a.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},s.className="introjs-tooltiptext",(u=N("p")).innerHTML=i.hint,s.appendChild(u),this._options.hintShowButton&&((h=N("a")).className=this._options.buttonClass,h.setAttribute("role","button"),h.innerHTML=this._options.hintButtonLabel,h.onclick=tt.bind(this,n),s.appendChild(h)),c.className="introjs-arrow",a.appendChild(c),a.appendChild(s),this._currentStep=r.getAttribute("data-step"),l.className="introjs-tooltipReferenceLayer introjs-hintReference",l.setAttribute("data-step",r.getAttribute("data-step")),_.call(this,l),l.appendChild(a),document.body.appendChild(l),A.call(this,r,a,c,!0);case 28:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ft(){var t=document.querySelector(".introjs-hintReference");if(t){var e=t.getAttribute("data-step");return t.parentNode.removeChild(t),e}}function dt(t){return mt.apply(this,arguments)}function mt(){return(mt=r(t().mark((function e(n){var r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._introItems=[],!this._options.hints){t.next=5;break}l(this._options.hints,(function(t){var e=J(t);"string"==typeof e.element&&(e.element=document.querySelector(e.element)),e.hintPosition=e.hintPosition||i._options.hintPosition,e.hintAnimation=e.hintAnimation||i._options.hintAnimation,null!==e.element&&i._introItems.push(e)})),t.next=9;break;case 5:if((r=n.querySelectorAll("*[data-hint]"))&&r.length){t.next=8;break}return t.abrupt("return",!1);case 8:l(r,(function(t){var e=t.getAttribute("data-hint-animation");e=e?"true"===e:i._options.hintAnimation,i._introItems.push({element:t,hint:t.getAttribute("data-hint"),hintPosition:t.getAttribute("data-hint-position")||i._options.hintPosition,hintAnimation:e,tooltipClass:t.getAttribute("data-tooltip-class"),position:t.getAttribute("data-position")||i._options.tooltipPosition})}));case 9:return t.next=11,ct.call(this);case 11:u.on(document,"click",ft,this,!1),u.on(window,"resize",bt,this,!0);case 13:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function bt(){var t=this;l(this._introItems,(function(e){var n=e.targetElement,r=e.hintPosition,i=e.element;void 0!==n&&ut.call(t,r,i,n)}))}function gt(t){var e=this,n=t.querySelectorAll("*[data-intro]"),r=[];if(this._options.steps)l(this._options.steps,(function(t){var n=J(t);if(n.step=r.length+1,n.title=n.title||"","string"==typeof n.element&&(n.element=document.querySelector(n.element)),void 0===n.element||null===n.element){var i=document.querySelector(".introjsFloatingElement");null===i&&(i=N("div",{className:"introjsFloatingElement"}),document.body.appendChild(i)),n.element=i,n.position="floating"}n.position=n.position||e._options.tooltipPosition,n.scrollTo=n.scrollTo||e._options.scrollTo,void 0===n.disableInteraction&&(n.disableInteraction=e._options.disableInteraction),null!==n.element&&r.push(n)}));else{var i;if(n.length<1)return[];l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&"none"!==t.style.display){var n=parseInt(t.getAttribute("data-step"),10);i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,n>0&&(r[n-1]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:parseInt(t.getAttribute("data-step"),10),tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i})}}));var o=0;l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&null===t.getAttribute("data-step")){for(;void 0!==r[o];)o++;i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,r[o]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:o+1,tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i}}}))}for(var a=[],s=0;s<r.length;s++)r[s]&&a.push(r[s]);return(r=a).sort((function(t,e){return t.step-e.step})),r}function vt(t){var e=document.querySelector(".introjs-tooltipReferenceLayer"),n=document.querySelector(".introjs-helperLayer"),r=document.querySelector(".introjs-disableInteraction");if(_.call(this,n),_.call(this,e),_.call(this,r),t&&(this._introItems=gt.call(this,this._targetElement),q.call(this,e,this._introItems[this._currentStep]),H.call(this,e)),void 0!==this._currentStep&&null!==this._currentStep){var i=document.querySelector(".introjs-arrow"),o=document.querySelector(".introjs-tooltip");o&&i&&A.call(this,this._introItems[this._currentStep].element,o,i)}return bt.call(this),this}function yt(){vt.call(this)}function wt(t,e){if(t&&t.parentElement){var n=t.parentElement;e?(x(t,{opacity:"0"}),window.setTimeout((function(){try{n.removeChild(t)}catch(t){}}),500)):n.removeChild(t)}}function xt(t,e){return _t.apply(this,arguments)}function _t(){return(_t=r(t().mark((function e(n,r){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!0,void 0===this._introBeforeExitCallback){t.next=5;break}return t.next=4,this._introBeforeExitCallback.call(this);case 4:i=t.sent;case 5:if(r||!1!==i){t.next=7;break}return t.abrupt("return");case 7:if((o=n.querySelectorAll(".introjs-overlay"))&&o.length&&l(o,(function(t){return wt(t)})),wt(n.querySelector(".introjs-helperLayer"),!0),wt(n.querySelector(".introjs-tooltipReferenceLayer")),wt(n.querySelector(".introjs-disableInteraction")),wt(document.querySelector(".introjsFloatingElement")),E(),u.off(window,"keydown",U,this,!0),u.off(window,"resize",yt,this,!0),void 0===this._introExitCallback){t.next=23;break}return t.next=23,this._introExitCallback.call(this);case 23:this._currentStep=void 0;case 24:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function kt(e){var n=this,i=N("div",{className:"introjs-overlay"});return x(i,{top:0,bottom:0,left:0,right:0,position:"fixed"}),e.appendChild(i),!0===this._options.exitOnOverlayClick&&(x(i,{cursor:"pointer"}),i.onclick=r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,e);case 2:case"end":return t.stop()}}),r)})))),!0}function Ct(t){return St.apply(this,arguments)}function St(){return(St=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isActive()){t.next=2;break}return t.abrupt("return");case 2:if(void 0===this._introStartCallback){t.next=5;break}return t.next=5,this._introStartCallback.call(this,n);case 5:if(0!==(r=gt.call(this,n)).length){t.next=8;break}return t.abrupt("return",!1);case 8:if(this._introItems=r,!kt.call(this,n)){t.next=14;break}return t.next=12,z.call(this);case 12:this._options.keyboardNavigation&&u.on(window,"keydown",U,this,!0),u.on(window,"resize",yt,this,!0);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function jt(t,e,n){var r,o=(i(r={},t,e),i(r,"path","/"),r);if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),o.expires=a.toUTCString()}var s=[];for(var c in o)s.push("".concat(c,"=").concat(o[c]));return document.cookie=s.join("; "),At(t)}function At(t){return(e={},document.cookie.split(";").forEach((function(t){var n=o(t.split("="),2),r=n[0],i=n[1];e[r.trim()]=i})),e)[t];var e}var Et="true";function Nt(t){t?jt(this._options.dontShowAgainCookie,Et,this._options.dontShowAgainCookieDays):jt(this._options.dontShowAgainCookie,"",-1)}function Lt(){var t=At(this._options.dontShowAgainCookie);return t&&t===Et}function Tt(t){this._targetElement=t,this._introItems=[],this._options={isActive:!0,nextLabel:"Next",onClickNext:function(){},prevLabel:"Back",onClickPrev:function(){},skipLabel:"×",onClickSkip:function(){},doneLabel:"Done",onClickDone:function(){},hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",progressBarAdditionalClass:!1,screenPadding:20}}var It=function t(n){var r;if("object"===e(n))r=new Tt(n);else if("string"==typeof n){var i=document.querySelector(n);if(!i)throw new Error("There is no element with given selector.");r=new Tt(i)}else r=new Tt(document.body);return t.instances[c(r,"introjs-instance")]=r,r};return It.instances={},It.fn=Tt.prototype={isActive:function(){return(!this._options.dontShowAgain||!Lt.call(this))&&this._options.isActive},clone:function(){return new Tt(this)},setOption:function(t,e){return this._options[t]=e,this},setOptions:function(t){return this._options=function(t,e){var n,r={};for(n in t)r[n]=t[n];for(n in e)r[n]=e[n];return r}(this._options,t),this},start:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ct.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},goToStep:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,D.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},addStep:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},addSteps:function(t){if(t.length){for(var e=0;e<t.length;e++)this.addStep(t[e]);return this}},goToStepNumber:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,G.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},nextStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,z.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},previousStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},currentStep:function(){return Q.call(this)},exit:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,n._targetElement,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},refresh:function(t){return vt.call(this,t),this},setDontShowAgain:function(t){return Nt.call(this,t),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},onhintsadded:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},onhintclick:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},onhintclose:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},onstart:function(t){if("function"!=typeof t)throw new Error("Provided callback for onstart was not a function.");return this._introStartCallback=t,this},onexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},onskip:function(t){if("function"!=typeof t)throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},onbeforeexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},addHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,dt.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},hideHint:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},hideHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},showHint:function(t){return ot.call(this,t),this},showHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,rt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},removeHints:function(){return at.call(this),this},removeHint:function(t){return st().call(this,t),this},showHintDialog:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ht.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()}},It}));
//# sourceMappingURL=intro.js.map
/*!
* Intro.js v6.0.0
* Intro.js v6.0.4
* https://introjs.com

@@ -8,5 +8,5 @@ *

*
* Date: Thu, 02 Feb 2023 12:03:35 GMT
* Date: Tue, 07 Feb 2023 11:17:13 GMT
*/
function t(){t=function(){return e};var e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),s=new j(r||[]);return i(a,"_invoke",{value:_(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p={};function f(){}function d(){}function m(){}var b={};l(b,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(A([])));v&&v!==n&&r.call(v,a)&&(b=v);var y=m.prototype=f.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function n(i,o,a,s){var c=h(t[i],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function k(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,p;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=m,i(y,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},e.awrap=function(t){return{__await:t}},w(x.prototype),l(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(y),l(y,c,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=A,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)}))}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,c=(s={},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"introjs-stamp";return s[e]=s[e]||0,void 0===t[e]&&(t[e]=s[e]++),t[e]});function l(t,e,n){if(t)for(var r=0,i=t.length;r<i;r++)e(t[r],r);"function"==typeof n&&n()}var u=new function(){var t="introjs_event";this._id=function(t,e,n,r){return e+c(n)+(r?"_".concat(c(r)):"")},this.on=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=function(t){return r.call(i||e,t||window.event)};"addEventListener"in e?e.addEventListener(n,s,o):"attachEvent"in e&&e.attachEvent("on".concat(n),s),e[t]=e[t]||{},e[t][a]=s},this.off=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=e[t]&&e[t][a];s&&("removeEventListener"in e?e.removeEventListener(n,s,o):"detachEvent"in e&&e.detachEvent("on".concat(n),s),e[t][a]=null)}};function h(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";n.match(e)||t.setAttribute("class","".concat(n," ").concat(e))}else{if(void 0!==t.classList)l(e.split(" "),(function(e){t.classList.add(e)}));else t.className.match(e)||(t.className+=" ".concat(e))}}function p(t,e){var n="";return t.currentStyle?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function f(t){var e=t.element;h(e,"introjs-showElement");var n=p(e,"position");"absolute"!==n&&"relative"!==n&&"sticky"!==n&&"fixed"!==n&&h(e,"introjs-relativePosition")}function d(t){var e=t.element;if(this._options.scrollToElement){var n=function(t){var e=window.getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var i=t;i=i.parentElement;)if(e=window.getComputedStyle(i),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function m(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function b(t,e,n){var r,i=e.element;if("off"!==t&&(this._options.scrollToElement&&(r="tooltip"===t?n.getBoundingClientRect():i.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(i)))){var o=m().height;r.bottom-(r.bottom-r.top)<0||i.clientHeight>o?window.scrollBy(0,r.top-(o/2-r.height/2)-this._options.scrollPadding):window.scrollBy(0,r.top-(o/2-r.height/2)+this._options.scrollPadding)}}function g(t){t.setAttribute("role","button"),t.tabIndex=0}function v(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===p(t,"position")||v(e))}function y(t,e){var n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft;e=e||n;var a=t.getBoundingClientRect(),s=e.getBoundingClientRect(),c=p(e,"position"),l={width:a.width,height:a.height};return"body"!==e.tagName.toLowerCase()&&"relative"===c||"sticky"===c?Object.assign(l,{top:a.top-s.top,left:a.left-s.left}):v(t)?Object.assign(l,{top:a.top,left:a.left}):Object.assign(l,{top:a.top+i,left:a.left+o})}function w(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function x(t,e){var n="";if(t.style.cssText&&(n+=t.style.cssText),"string"==typeof e)n+=e;else for(var r in e)n+="".concat(r,":").concat(e[r],";");t.style.cssText=n}function _(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introItems[this._currentStep],n=y(e.element,this._targetElement),r=this._options.helperElementPadding;v(e.element)?h(t,"introjs-fixedTooltip"):w(t,"introjs-fixedTooltip"),"floating"===e.position&&(r=0),x(t,{width:"".concat(n.width+r,"px"),height:"".concat(n.height+r,"px"),top:"".concat(n.top-r/2,"px"),left:"".concat(n.left-r/2,"px")})}}function k(t,e,n,r,i){return t.left+e+n.width>r.width?(i.style.left="".concat(r.width-n.width-t.left,"px"),!1):(i.style.left="".concat(e,"px"),!0)}function C(t,e,n,r){return t.left+t.width-e-n.width<0?(r.style.left="".concat(-t.left,"px"),!1):(r.style.right="".concat(e,"px"),!0)}function S(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function j(t,e,n){var r=this._options.positionPrecedence.slice(),i=this._options.screenPadding,o=m(),a=y(e).height+10+2*i,s=y(e).width+10+2*i,c=t.getBoundingClientRect(),l="floating";c.bottom+a>o.height&&S(r,"bottom"),c.top-a<0&&S(r,"top"),c.right+s>o.width&&S(r,"right"),c.left-s<0&&S(r,"left");var u,h,p=-1!==(h=(u=n||"").indexOf("-"))?u.substr(h):"";return n&&(n=n.split("-")[0]),r.length&&(l=r.includes(n)?n:r[0]),["top","bottom"].includes(l)&&(l+=function(t,e,n,r){var i=n.width,o=e/2,a=Math.min(i,window.screen.width),s=["-left-aligned","-middle-aligned","-right-aligned"];return a-t<e&&S(s,"-left-aligned"),(t<o||a-t<o)&&S(s,"-middle-aligned"),t<e&&S(s,"-right-aligned"),s.length?s.includes(r)?r:s[0]:"-middle-aligned"}(c.left,s,o,p)),l}function A(t,e,n,r){var i,o,a,s,c,l="";if(r=r||!1,e.style.top=null,e.style.right=null,e.style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=null,n.style.display="inherit",this._introItems[this._currentStep]){l="string"==typeof(i=this._introItems[this._currentStep]).tooltipClass?i.tooltipClass:this._options.tooltipClass,e.className=["introjs-tooltip",l].filter(Boolean).join(" "),e.setAttribute("role","dialog"),"floating"!==(c=this._introItems[this._currentStep].position)&&this._options.autoPosition&&(c=j.call(this,t,e,c)),a=y(t),o=y(e),s=m(),h(e,"introjs-".concat(c));var u=a.width/2-o.width/2;switch(c){case"top-right-aligned":n.className="introjs-arrow bottom-right";var p=0;C(a,p,o,e),e.style.bottom="".concat(a.height+20,"px");break;case"top-middle-aligned":n.className="introjs-arrow bottom-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.bottom="".concat(a.height+20,"px");break;case"top-left-aligned":case"top":n.className="introjs-arrow bottom",k(a,r?0:15,o,s,e),e.style.bottom="".concat(a.height+20,"px");break;case"right":e.style.left="".concat(a.width+20,"px"),a.top+o.height>s.height?(n.className="introjs-arrow left-bottom",e.style.top="-".concat(o.height-a.height-20,"px")):n.className="introjs-arrow left";break;case"left":r||!0!==this._options.showStepNumbers||(e.style.top="15px"),a.top+o.height>s.height?(e.style.top="-".concat(o.height-a.height-20,"px"),n.className="introjs-arrow right-bottom"):n.className="introjs-arrow right",e.style.right="".concat(a.width+20,"px");break;case"floating":n.style.display="none",e.style.left="50%",e.style.top="50%",e.style.marginLeft="-".concat(o.width/2,"px"),e.style.marginTop="-".concat(o.height/2,"px");break;case"bottom-right-aligned":n.className="introjs-arrow top-right",C(a,p=0,o,e),e.style.top="".concat(a.height+20,"px");break;case"bottom-middle-aligned":n.className="introjs-arrow top-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.top="".concat(a.height+20,"px");break;default:n.className="introjs-arrow top",k(a,0,o,s,e),e.style.top="".concat(a.height+20,"px")}}}function E(){l(document.querySelectorAll(".introjs-showElement"),(function(t){w(t,/introjs-[a-zA-Z]+/g)}))}function N(t,e){var n=document.createElement(t);e=e||{};var r=/^(?:role|data-|aria-)/;for(var i in e){var o=e[i];"style"===i?x(n,o):i.match(r)?n.setAttribute(i,o):n[i]=o}return n}function L(t,e,n){if(n){var r=e.style.opacity||"1";x(e,{opacity:"0"}),window.setTimeout((function(){x(e,{opacity:r})}),10)}t.appendChild(e)}function T(){return parseInt(this._currentStep+1,10)/this._introItems.length*100}function I(){var t=document.querySelector(".introjs-disableInteraction");null===t&&(t=N("div",{className:"introjs-disableInteraction"}),this._targetElement.appendChild(t)),_.call(this,t)}function P(t){var e=this,n=N("div",{className:"introjs-bullets"});!1===this._options.showBullets&&(n.style.display="none");var r=N("ul");r.setAttribute("role","tablist");var i=function(){e.goToStep(this.getAttribute("data-step-number"))};return l(this._introItems,(function(e,n){var o=e.step,a=N("li"),s=N("a");a.setAttribute("role","presentation"),s.setAttribute("role","tab"),s.onclick=i,n===t.step-1&&(s.className="active"),g(s),s.innerHTML="&nbsp;",s.setAttribute("data-step-number",o),a.appendChild(s),r.appendChild(a)})),n.appendChild(r),n}function q(t,e){if(this._options.showBullets){var n=document.querySelector(".introjs-bullets");n&&n.parentNode.replaceChild(P.call(this,e),n)}}function O(t,e){this._options.showBullets&&(t.querySelector(".introjs-bullets li > a.active").className="",t.querySelector('.introjs-bullets li > a[data-step-number="'.concat(e.step,'"]')).className="active")}function B(){var t=N("div");t.className="introjs-progress",!1===this._options.showProgress&&(t.style.display="none");var e=N("div",{className:"introjs-progressbar"});return this._options.progressBarAdditionalClass&&(e.className+=" "+this._options.progressBarAdditionalClass),e.setAttribute("role","progress"),e.setAttribute("aria-valuemin",0),e.setAttribute("aria-valuemax",100),e.setAttribute("aria-valuenow",T.call(this)),e.style.cssText="width:".concat(T.call(this),"%;"),t.appendChild(e),t}function H(t){t.querySelector(".introjs-progress .introjs-progressbar").style.cssText="width:".concat(T.call(this),"%;"),t.querySelector(".introjs-progress .introjs-progressbar").setAttribute("aria-valuenow",T.call(this))}function R(t){return M.apply(this,arguments)}function M(){return(M=r(t().mark((function e(n){var i,o,a,s,c,l,u,p,m,v,y,w,k,C,S,j,T,q,R,M,F,D,G,V,W,$=this;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===this._introChangeCallback){e.next=3;break}return e.next=3,this._introChangeCallback.call(this,n.element);case 3:if(i=this,o=document.querySelector(".introjs-helperLayer"),a=document.querySelector(".introjs-tooltipReferenceLayer"),s="introjs-helperLayer","string"==typeof n.highlightClass&&(s+=" ".concat(n.highlightClass)),"string"==typeof this._options.highlightClass&&(s+=" ".concat(this._options.highlightClass)),null!==o&&null!==a?(p=a.querySelector(".introjs-helperNumberLayer"),m=a.querySelector(".introjs-tooltiptext"),v=a.querySelector(".introjs-tooltip-title"),y=a.querySelector(".introjs-arrow"),w=a.querySelector(".introjs-tooltip"),u=a.querySelector(".introjs-skipbutton"),l=a.querySelector(".introjs-prevbutton"),c=a.querySelector(".introjs-nextbutton"),o.className=s,w.style.opacity=0,w.style.display="none",d.call(i,n),_.call(i,o),_.call(i,a),E(),i._lastShowElementTimer&&window.clearTimeout(i._lastShowElementTimer),i._lastShowElementTimer=window.setTimeout((function(){null!==p&&(p.innerHTML="".concat(n.step," ").concat($._options.stepNumbersOfLabel," ").concat($._introItems.length)),m.innerHTML=n.intro,v.innerHTML=n.title,w.style.display="block",A.call(i,n.element,w,y),O.call(i,a,n),H.call(i,a),w.style.opacity=1,(null!=c&&/introjs-donebutton/gi.test(c.className)||null!=c)&&c.focus(),b.call(i,n.scrollTo,n,m)}),350)):(k=N("div",{className:s}),C=N("div",{className:"introjs-tooltipReferenceLayer"}),S=N("div",{className:"introjs-arrow"}),j=N("div",{className:"introjs-tooltip"}),T=N("div",{className:"introjs-tooltiptext"}),q=N("div",{className:"introjs-tooltip-header"}),R=N("h1",{className:"introjs-tooltip-title"}),M=N("div"),x(k,{"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(i._options.overlayOpacity.toString(),") 0 0 0 5000px")}),d.call(i,n),_.call(i,k),_.call(i,C),L(this._targetElement,k,!0),L(this._targetElement,C),T.innerHTML=n.intro,R.innerHTML=n.title,M.className="introjs-tooltipbuttons",!1===this._options.showButtons&&(M.style.display="none"),q.appendChild(R),j.appendChild(q),j.appendChild(T),this._options.dontShowAgain&&(F=N("div",{className:"introjs-dontShowAgain"}),(D=N("input",{type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain"})).onchange=function(t){$.setDontShowAgain(t.target.checked)},(G=N("label",{htmlFor:"introjs-dontShowAgain"})).innerText=this._options.dontShowAgainLabel,F.appendChild(D),F.appendChild(G),j.appendChild(F)),j.appendChild(P.call(this,n)),j.appendChild(B.call(this)),V=N("div"),!0===this._options.showStepNumbers&&(V.className="introjs-helperNumberLayer",V.innerHTML="".concat(n.step," ").concat(this._options.stepNumbersOfLabel," ").concat(this._introItems.length),j.appendChild(V)),j.appendChild(S),C.appendChild(j),(c=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i._introItems.length-1===i._currentStep){t.next=5;break}return t.next=3,z.call(i);case 3:t.next=11;break;case 5:if(!/introjs-donebutton/gi.test(c.className)){t.next=11;break}if("function"!=typeof i._introCompleteCallback){t.next=9;break}return t.next=9,i._introCompleteCallback.call(i,i._currentStep,"done");case 9:return t.next=11,xt.call(i,i._targetElement);case 11:case"end":return t.stop()}}),e)}))),g(c),c.innerHTML=this._options.nextLabel,(l=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0===i._currentStep){t.next=3;break}return t.next=3,Y.call(i);case 3:case"end":return t.stop()}}),e)}))),g(l),l.innerHTML=this._options.prevLabel,g(u=N("a",{className:"introjs-skipbutton"})),u.innerHTML=this._options.skipLabel,u.onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i._introItems.length-1!==i._currentStep||"function"!=typeof i._introCompleteCallback){t.next=3;break}return t.next=3,i._introCompleteCallback.call(i,i._currentStep,"skip");case 3:if("function"!=typeof i._introSkipCallback){t.next=6;break}return t.next=6,i._introSkipCallback.call(i);case 6:return t.next=8,xt.call(i,i._targetElement);case 8:case"end":return t.stop()}}),e)}))),q.appendChild(u),this._introItems.length>1&&M.appendChild(l),M.appendChild(c),j.appendChild(M),A.call(i,n.element,j,S),b.call(this,n.scrollTo,n,j)),(W=i._targetElement.querySelector(".introjs-disableInteraction"))&&W.parentNode.removeChild(W),n.disableInteraction&&I.call(i),0===this._currentStep&&this._introItems.length>1?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel),!0===this._options.hidePrev?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-hidden")),null!=c&&h(c,"introjs-fullbutton")):null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-disabled"))):this._introItems.length-1===this._currentStep||1===this._introItems.length?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),!0===this._options.hideNext?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-hidden")),null!=l&&h(l,"introjs-fullbutton")):null!=c&&(!0===this._options.nextToDone?(c.innerHTML=this._options.doneLabel,h(c,"".concat(this._options.buttonClass," introjs-nextbutton introjs-donebutton"))):c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-disabled"))):(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel)),null!=l&&l.setAttribute("role","button"),null!=c&&c.setAttribute("role","button"),null!=u&&u.setAttribute("role","button"),null!=c&&c.focus(),f(n),void 0===this._introAfterChangeCallback){e.next=22;break}return e.next=22,this._introAfterChangeCallback.call(this,n.element);case 22:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function F(t){return D.apply(this,arguments)}function D(){return(D=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStep=n-2,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function G(t){return V.apply(this,arguments)}function V(){return(V=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStepNumber=n,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function z(){return W.apply(this,arguments)}function W(){return W=r(t().mark((function e(){var n,r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="forward",void 0!==this._currentStepNumber&&l(this._introItems,(function(t,e){t.step===i._currentStepNumber&&(i._currentStep=e-1,i._currentStepNumber=void 0)})),void 0===this._currentStep?this._currentStep=0:++this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=9;break}return t.next=8,this._introBeforeChangeCallback.call(this,n&&n.element);case 8:r=t.sent;case 9:if(!1!==r){t.next=12;break}return--this._currentStep,t.abrupt("return",!1);case 12:if(!(this._introItems.length<=this._currentStep)){t.next=19;break}if("function"!=typeof this._introCompleteCallback){t.next=16;break}return t.next=16,this._introCompleteCallback.call(this,this._currentStep,"end");case 16:return t.next=18,xt.call(this,this._targetElement);case 18:return t.abrupt("return");case 19:return t.next=21,R.call(this,n);case 21:case"end":return t.stop()}}),e,this)}))),W.apply(this,arguments)}function Y(){return $.apply(this,arguments)}function $(){return $=r(t().mark((function e(){var n,r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="backward",0!==this._currentStep){t.next=3;break}return t.abrupt("return",!1);case 3:if(--this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=10;break}return t.next=9,this._introBeforeChangeCallback.call(this,n&&n.element);case 9:r=t.sent;case 10:if(!1!==r){t.next=13;break}return++this._currentStep,t.abrupt("return",!1);case 13:return t.next=15,R.call(this,n);case 15:case"end":return t.stop()}}),e,this)}))),$.apply(this,arguments)}function Q(){return this._currentStep}function U(t){return X.apply(this,arguments)}function X(){return(X=r(t().mark((function e(n){var r,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(r=void 0===n.code?n.which:n.code)&&(r=null===n.charCode?n.keyCode:n.charCode),"Escape"!==r&&27!==r||!0!==this._options.exitOnEsc){t.next=7;break}return t.next=5,xt.call(this,this._targetElement);case 5:t.next=39;break;case 7:if("ArrowLeft"!==r&&37!==r){t.next=12;break}return t.next=10,Y.call(this);case 10:t.next=39;break;case 12:if("ArrowRight"!==r&&39!==r){t.next=17;break}return t.next=15,z.call(this);case 15:t.next=39;break;case 17:if("Enter"!==r&&"NumpadEnter"!==r&&13!==r){t.next=39;break}if(!(i=n.target||n.srcElement)||!i.className.match("introjs-prevbutton")){t.next=24;break}return t.next=22,Y.call(this);case 22:t.next=38;break;case 24:if(!i||!i.className.match("introjs-skipbutton")){t.next=32;break}if(this._introItems.length-1!==this._currentStep||"function"!=typeof this._introCompleteCallback){t.next=28;break}return t.next=28,this._introCompleteCallback.call(this,this._currentStep,"skip");case 28:return t.next=30,xt.call(this,this._targetElement);case 30:t.next=38;break;case 32:if(!i||!i.getAttribute("data-step-number")){t.next=36;break}i.click(),t.next=38;break;case 36:return t.next=38,z.call(this);case 38:n.preventDefault?n.preventDefault():n.returnValue=!1;case 39:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function Z(t){if(null===t||"object"!==e(t)||void 0!==t.nodeType)return t;var n={};for(var r in t)void 0!==window.jQuery&&t[r]instanceof window.jQuery?n[r]=t[r]:n[r]=Z(t[r]);return n}function J(t,e){var n,r=this;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){t.apply(r,o)}),e)}}function K(t){var e=document.querySelector(".introjs-hints");return e?e.querySelectorAll(t):[]}function tt(t){return et.apply(this,arguments)}function et(){return(et=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=K('.introjs-hint[data-step="'.concat(n,'"]'))[0],ft.call(this),r&&h(r,"introjs-hidehint"),void 0===this._hintCloseCallback){t.next=6;break}return t.next=6,this._hintCloseCallback.call(this,n);case 6:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function nt(){var e=this;l(K(".introjs-hint"),function(){var n=r(t().mark((function n(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(e,r.getAttribute("data-step"));case 2:case"end":return t.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}())}function rt(){return it.apply(this,arguments)}function it(){return(it=r(t().mark((function e(){var n,r=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=K(".introjs-hint"))||!n.length){t.next=5;break}l(n,(function(t){ot.call(r,t.getAttribute("data-step"))})),t.next=7;break;case 5:return t.next=7,dt.call(this,this._targetElement);case 7:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ot(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&w(e,/introjs-hidehint/g)}function at(){var t=this;l(K(".introjs-hint"),(function(e){st.call(t,e.getAttribute("data-step"))})),u.off(document,"click",ft,this,!1),u.off(window,"resize",bt,this,!0),this._hintsAutoRefreshFunction&&u.off(window,"scroll",this._hintsAutoRefreshFunction,this,!0)}function st(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&e.parentNode.removeChild(e)}function ct(){return lt.apply(this,arguments)}function lt(){return(lt=r(t().mark((function e(){var n,r,i,o=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this,null===(r=document.querySelector(".introjs-hints"))&&(r=N("div",{className:"introjs-hints"})),i=function(t){return function(e){var r=e||window.event;r.stopPropagation&&r.stopPropagation(),null!==r.cancelBubble&&(r.cancelBubble=!0),ht.call(n,t)}},l(this._introItems,(function(t,e){if(!document.querySelector('.introjs-hint[data-step="'.concat(e,'"]'))){var n=N("a",{className:"introjs-hint"});g(n),n.onclick=i(e),t.hintAnimation||h(n,"introjs-hint-no-anim"),v(t.element)&&h(n,"introjs-fixedhint");var a=N("div",{className:"introjs-hint-dot"}),s=N("div",{className:"introjs-hint-pulse"});n.appendChild(a),n.appendChild(s),n.setAttribute("data-step",e),t.targetElement=t.element,t.element=n,ut.call(o,t.hintPosition,n,t.targetElement),r.appendChild(n)}})),document.body.appendChild(r),void 0===this._hintsAddedCallback){t.next=9;break}return t.next=9,this._hintsAddedCallback.call(this);case 9:this._options.hintAutoRefreshInterval>=0&&(this._hintsAutoRefreshFunction=J((function(){return bt.call(o)}),this._options.hintAutoRefreshInterval),u.on(window,"scroll",this._hintsAutoRefreshFunction,this,!0));case 10:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ut(t,e,n){var r=e.style,i=y.call(this,n),o=20,a=20;switch(t){default:case"top-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top,"px");break;case"top-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top,"px");break;case"bottom-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"bottom-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"middle-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"bottom-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"top-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top,"px")}}function ht(t){return pt.apply(this,arguments)}function pt(){return(pt=r(t().mark((function e(n){var r,i,o,a,s,c,l,u,h;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=document.querySelector('.introjs-hint[data-step="'.concat(n,'"]')),i=this._introItems[n],void 0===this._hintClickCallback){t.next=5;break}return t.next=5,this._hintClickCallback.call(this,r,i,n);case 5:if(o=ft.call(this),parseInt(o,10)!==n){t.next=8;break}return t.abrupt("return");case 8:a=N("div",{className:"introjs-tooltip"}),s=N("div"),c=N("div"),l=N("div"),a.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},s.className="introjs-tooltiptext",(u=N("p")).innerHTML=i.hint,s.appendChild(u),this._options.hintShowButton&&((h=N("a")).className=this._options.buttonClass,h.setAttribute("role","button"),h.innerHTML=this._options.hintButtonLabel,h.onclick=tt.bind(this,n),s.appendChild(h)),c.className="introjs-arrow",a.appendChild(c),a.appendChild(s),this._currentStep=r.getAttribute("data-step"),l.className="introjs-tooltipReferenceLayer introjs-hintReference",l.setAttribute("data-step",r.getAttribute("data-step")),_.call(this,l),l.appendChild(a),document.body.appendChild(l),A.call(this,r,a,c,!0);case 28:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ft(){var t=document.querySelector(".introjs-hintReference");if(t){var e=t.getAttribute("data-step");return t.parentNode.removeChild(t),e}}function dt(t){return mt.apply(this,arguments)}function mt(){return(mt=r(t().mark((function e(n){var r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._introItems=[],!this._options.hints){t.next=5;break}l(this._options.hints,(function(t){var e=Z(t);"string"==typeof e.element&&(e.element=document.querySelector(e.element)),e.hintPosition=e.hintPosition||i._options.hintPosition,e.hintAnimation=e.hintAnimation||i._options.hintAnimation,null!==e.element&&i._introItems.push(e)})),t.next=9;break;case 5:if((r=n.querySelectorAll("*[data-hint]"))&&r.length){t.next=8;break}return t.abrupt("return",!1);case 8:l(r,(function(t){var e=t.getAttribute("data-hint-animation");e=e?"true"===e:i._options.hintAnimation,i._introItems.push({element:t,hint:t.getAttribute("data-hint"),hintPosition:t.getAttribute("data-hint-position")||i._options.hintPosition,hintAnimation:e,tooltipClass:t.getAttribute("data-tooltip-class"),position:t.getAttribute("data-position")||i._options.tooltipPosition})}));case 9:return t.next=11,ct.call(this);case 11:u.on(document,"click",ft,this,!1),u.on(window,"resize",bt,this,!0);case 13:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function bt(){var t=this;l(this._introItems,(function(e){var n=e.targetElement,r=e.hintPosition,i=e.element;void 0!==n&&ut.call(t,r,i,n)}))}function gt(t){var e=this,n=t.querySelectorAll("*[data-intro]"),r=[];if(this._options.steps)l(this._options.steps,(function(t){var n=Z(t);if(n.step=r.length+1,n.title=n.title||"","string"==typeof n.element&&(n.element=document.querySelector(n.element)),void 0===n.element||null===n.element){var i=document.querySelector(".introjsFloatingElement");null===i&&(i=N("div",{className:"introjsFloatingElement"}),document.body.appendChild(i)),n.element=i,n.position="floating"}n.position=n.position||e._options.tooltipPosition,n.scrollTo=n.scrollTo||e._options.scrollTo,void 0===n.disableInteraction&&(n.disableInteraction=e._options.disableInteraction),null!==n.element&&r.push(n)}));else{var i;if(n.length<1)return[];l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&"none"!==t.style.display){var n=parseInt(t.getAttribute("data-step"),10);i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,n>0&&(r[n-1]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:parseInt(t.getAttribute("data-step"),10),tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i})}}));var o=0;l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&null===t.getAttribute("data-step")){for(;void 0!==r[o];)o++;i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,r[o]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:o+1,tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i}}}))}for(var a=[],s=0;s<r.length;s++)r[s]&&a.push(r[s]);return(r=a).sort((function(t,e){return t.step-e.step})),r}function vt(t){var e=document.querySelector(".introjs-tooltipReferenceLayer"),n=document.querySelector(".introjs-helperLayer"),r=document.querySelector(".introjs-disableInteraction");if(_.call(this,n),_.call(this,e),_.call(this,r),t&&(this._introItems=gt.call(this,this._targetElement),q.call(this,e,this._introItems[this._currentStep]),H.call(this,e)),void 0!==this._currentStep&&null!==this._currentStep){var i=document.querySelector(".introjs-arrow"),o=document.querySelector(".introjs-tooltip");o&&i&&A.call(this,this._introItems[this._currentStep].element,o,i)}return bt.call(this),this}function yt(){vt.call(this)}function wt(t,e){if(t&&t.parentElement){var n=t.parentElement;e?(x(t,{opacity:"0"}),window.setTimeout((function(){try{n.removeChild(t)}catch(t){}}),500)):n.removeChild(t)}}function xt(t,e){return _t.apply(this,arguments)}function _t(){return(_t=r(t().mark((function e(n,r){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!0,void 0===this._introBeforeExitCallback){t.next=5;break}return t.next=4,this._introBeforeExitCallback.call(this);case 4:i=t.sent;case 5:if(r||!1!==i){t.next=7;break}return t.abrupt("return");case 7:if((o=n.querySelectorAll(".introjs-overlay"))&&o.length&&l(o,(function(t){return wt(t)})),wt(n.querySelector(".introjs-helperLayer"),!0),wt(n.querySelector(".introjs-tooltipReferenceLayer")),wt(n.querySelector(".introjs-disableInteraction")),wt(document.querySelector(".introjsFloatingElement")),E(),u.off(window,"keydown",U,this,!0),u.off(window,"resize",yt,this,!0),void 0===this._introExitCallback){t.next=23;break}return t.next=23,this._introExitCallback.call(this);case 23:this._currentStep=void 0;case 24:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function kt(e){var n=this,i=N("div",{className:"introjs-overlay"});return x(i,{top:0,bottom:0,left:0,right:0,position:"fixed"}),e.appendChild(i),!0===this._options.exitOnOverlayClick&&(x(i,{cursor:"pointer"}),i.onclick=r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,e);case 2:case"end":return t.stop()}}),r)})))),!0}function Ct(t){return St.apply(this,arguments)}function St(){return(St=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isActive()){t.next=2;break}return t.abrupt("return");case 2:if(void 0===this._introStartCallback){t.next=5;break}return t.next=5,this._introStartCallback.call(this,n);case 5:if(0!==(r=gt.call(this,n)).length){t.next=8;break}return t.abrupt("return",!1);case 8:if(this._introItems=r,!kt.call(this,n)){t.next=14;break}return t.next=12,z.call(this);case 12:this._options.keyboardNavigation&&u.on(window,"keydown",U,this,!0),u.on(window,"resize",yt,this,!0);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function jt(t,e,n){var r,o=(i(r={},t,e),i(r,"path","/"),r);if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),o.expires=a.toUTCString()}var s=[];for(var c in o)s.push("".concat(c,"=").concat(o[c]));return document.cookie=s.join("; "),At(t)}function At(t){return(e={},document.cookie.split(";").forEach((function(t){var n=o(t.split("="),2),r=n[0],i=n[1];e[r.trim()]=i})),e)[t];var e}function Et(t){t?jt(this._options.dontShowAgainCookie,"true",this._options.dontShowAgainCookieDays):jt(this._options.dontShowAgainCookie,"",-1)}function Nt(){var t=At(this._options.dontShowAgainCookie);return t&&"true"===t}function Lt(t){this._targetElement=t,this._introItems=[],this._options={isActive:!0,nextLabel:"Next",prevLabel:"Back",skipLabel:"×",doneLabel:"Done",hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",progressBarAdditionalClass:!1,screenPadding:20}}var Tt=function t(n){var r;if("object"===e(n))r=new Lt(n);else if("string"==typeof n){var i=document.querySelector(n);if(!i)throw new Error("There is no element with given selector.");r=new Lt(i)}else r=new Lt(document.body);return t.instances[c(r,"introjs-instance")]=r,r};Tt.instances={},Tt.fn=Lt.prototype={isActive:function(){return(!this._options.dontShowAgain||!Nt.call(this))&&this._options.isActive},clone:function(){return new Lt(this)},setOption:function(t,e){return this._options[t]=e,this},setOptions:function(t){return this._options=function(t,e){var n,r={};for(n in t)r[n]=t[n];for(n in e)r[n]=e[n];return r}(this._options,t),this},start:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ct.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},goToStep:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,F.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},addStep:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},addSteps:function(t){if(t.length){for(var e=0;e<t.length;e++)this.addStep(t[e]);return this}},goToStepNumber:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,G.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},nextStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,z.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},previousStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},currentStep:function(){return Q.call(this)},exit:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,n._targetElement,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},refresh:function(t){return vt.call(this,t),this},setDontShowAgain:function(t){return Et.call(this,t),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},onhintsadded:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},onhintclick:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},onhintclose:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},onstart:function(t){if("function"!=typeof t)throw new Error("Provided callback for onstart was not a function.");return this._introStartCallback=t,this},onexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},onskip:function(t){if("function"!=typeof t)throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},onbeforeexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},addHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,dt.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},hideHint:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},hideHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},showHint:function(t){return ot.call(this,t),this},showHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,rt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},removeHints:function(){return at.call(this),this},removeHint:function(t){return st().call(this,t),this},showHintDialog:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ht.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()}};export{Tt as default};
function t(){t=function(){return e};var e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),s=new j(r||[]);return i(a,"_invoke",{value:_(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p={};function f(){}function d(){}function m(){}var b={};l(b,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(A([])));v&&v!==n&&r.call(v,a)&&(b=v);var y=m.prototype=f.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function n(i,o,a,s){var c=h(t[i],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function k(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,p;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=m,i(y,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},e.awrap=function(t){return{__await:t}},w(x.prototype),l(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(y),l(y,c,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=A,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)}))}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,c=(s={},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"introjs-stamp";return s[e]=s[e]||0,void 0===t[e]&&(t[e]=s[e]++),t[e]});function l(t,e,n){if(t)for(var r=0,i=t.length;r<i;r++)e(t[r],r);"function"==typeof n&&n()}var u=new function(){var t="introjs_event";this._id=function(t,e,n,r){return e+c(n)+(r?"_".concat(c(r)):"")},this.on=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=function(t){return r.call(i||e,t||window.event)};"addEventListener"in e?e.addEventListener(n,s,o):"attachEvent"in e&&e.attachEvent("on".concat(n),s),e[t]=e[t]||{},e[t][a]=s},this.off=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=e[t]&&e[t][a];s&&("removeEventListener"in e?e.removeEventListener(n,s,o):"detachEvent"in e&&e.detachEvent("on".concat(n),s),e[t][a]=null)}};function h(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";n.match(e)||t.setAttribute("class","".concat(n," ").concat(e))}else{if(void 0!==t.classList)l(e.split(" "),(function(e){t.classList.add(e)}));else t.className.match(e)||(t.className+=" ".concat(e))}}function p(t,e){var n="";return t.currentStyle?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function f(t){var e=t.element;h(e,"introjs-showElement");var n=p(e,"position");"absolute"!==n&&"relative"!==n&&"sticky"!==n&&"fixed"!==n&&h(e,"introjs-relativePosition")}function d(t){var e=t.element;if(this._options.scrollToElement){var n=function(t){var e=window.getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var i=t;i=i.parentElement;)if(e=window.getComputedStyle(i),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function m(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function b(t,e,n){var r,i=e.element;if("off"!==t&&(this._options.scrollToElement&&(r="tooltip"===t?n.getBoundingClientRect():i.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(i)))){var o=m().height;r.bottom-(r.bottom-r.top)<0||i.clientHeight>o?window.scrollBy(0,r.top-(o/2-r.height/2)-this._options.scrollPadding):window.scrollBy(0,r.top-(o/2-r.height/2)+this._options.scrollPadding)}}function g(t){t.setAttribute("role","button"),t.tabIndex=0}function v(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===p(t,"position")||v(e))}function y(t,e){var n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft;e=e||n;var a=t.getBoundingClientRect(),s=e.getBoundingClientRect(),c=p(e,"position"),l={width:a.width,height:a.height};return"body"!==e.tagName.toLowerCase()&&"relative"===c||"sticky"===c?Object.assign(l,{top:a.top-s.top,left:a.left-s.left}):v(t)?Object.assign(l,{top:a.top,left:a.left}):Object.assign(l,{top:a.top+i,left:a.left+o})}function w(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function x(t,e){var n="";if(t.style.cssText&&(n+=t.style.cssText),"string"==typeof e)n+=e;else for(var r in e)n+="".concat(r,":").concat(e[r],";");t.style.cssText=n}function _(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introItems[this._currentStep],n=y(e.element,this._targetElement),r=this._options.helperElementPadding;v(e.element)?h(t,"introjs-fixedTooltip"):w(t,"introjs-fixedTooltip"),"floating"===e.position&&(r=0),x(t,{width:"".concat(n.width+r,"px"),height:"".concat(n.height+r,"px"),top:"".concat(n.top-r/2,"px"),left:"".concat(n.left-r/2,"px")})}}function k(t,e,n,r,i){return t.left+e+n.width>r.width?(i.style.left="".concat(r.width-n.width-t.left,"px"),!1):(i.style.left="".concat(e,"px"),!0)}function C(t,e,n,r){return t.left+t.width-e-n.width<0?(r.style.left="".concat(-t.left,"px"),!1):(r.style.right="".concat(e,"px"),!0)}function S(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function j(t,e,n){var r=this._options.positionPrecedence.slice(),i=this._options.screenPadding,o=m(),a=y(e).height+10+2*i,s=y(e).width+10+2*i,c=t.getBoundingClientRect(),l="floating";c.bottom+a>o.height&&S(r,"bottom"),c.top-a<0&&S(r,"top"),c.right+s>o.width&&S(r,"right"),c.left-s<0&&S(r,"left");var u,h,p=-1!==(h=(u=n||"").indexOf("-"))?u.substr(h):"";return n&&(n=n.split("-")[0]),r.length&&(l=r.includes(n)?n:r[0]),["top","bottom"].includes(l)&&(l+=function(t,e,n,r){var i=n.width,o=e/2,a=Math.min(i,window.screen.width),s=["-left-aligned","-middle-aligned","-right-aligned"];return a-t<e&&S(s,"-left-aligned"),(t<o||a-t<o)&&S(s,"-middle-aligned"),t<e&&S(s,"-right-aligned"),s.length?s.includes(r)?r:s[0]:"-middle-aligned"}(c.left,s,o,p)),l}function A(t,e,n,r){var i,o,a,s,c,l="";if(r=r||!1,e.style.top=null,e.style.right=null,e.style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=null,n.style.display="inherit",this._introItems[this._currentStep]){l="string"==typeof(i=this._introItems[this._currentStep]).tooltipClass?i.tooltipClass:this._options.tooltipClass,e.className=["introjs-tooltip",l].filter(Boolean).join(" "),e.setAttribute("role","dialog"),"floating"!==(c=this._introItems[this._currentStep].position)&&this._options.autoPosition&&(c=j.call(this,t,e,c)),a=y(t),o=y(e),s=m(),h(e,"introjs-".concat(c));var u=a.width/2-o.width/2;switch(c){case"top-right-aligned":n.className="introjs-arrow bottom-right";var p=0;C(a,p,o,e),e.style.bottom="".concat(a.height+20,"px");break;case"top-middle-aligned":n.className="introjs-arrow bottom-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.bottom="".concat(a.height+20,"px");break;case"top-left-aligned":case"top":n.className="introjs-arrow bottom",k(a,r?0:15,o,s,e),e.style.bottom="".concat(a.height+20,"px");break;case"right":e.style.left="".concat(a.width+20,"px"),a.top+o.height>s.height?(n.className="introjs-arrow left-bottom",e.style.top="-".concat(o.height-a.height-20,"px")):n.className="introjs-arrow left";break;case"left":r||!0!==this._options.showStepNumbers||(e.style.top="15px"),a.top+o.height>s.height?(e.style.top="-".concat(o.height-a.height-20,"px"),n.className="introjs-arrow right-bottom"):n.className="introjs-arrow right",e.style.right="".concat(a.width+20,"px");break;case"floating":n.style.display="none",e.style.left="50%",e.style.top="50%",e.style.marginLeft="-".concat(o.width/2,"px"),e.style.marginTop="-".concat(o.height/2,"px");break;case"bottom-right-aligned":n.className="introjs-arrow top-right",C(a,p=0,o,e),e.style.top="".concat(a.height+20,"px");break;case"bottom-middle-aligned":n.className="introjs-arrow top-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.top="".concat(a.height+20,"px");break;default:n.className="introjs-arrow top",k(a,0,o,s,e),e.style.top="".concat(a.height+20,"px")}}}function E(){l(document.querySelectorAll(".introjs-showElement"),(function(t){w(t,/introjs-[a-zA-Z]+/g)}))}function N(t,e){var n=document.createElement(t);e=e||{};var r=/^(?:role|data-|aria-)/;for(var i in e){var o=e[i];"style"===i?x(n,o):i.match(r)?n.setAttribute(i,o):n[i]=o}return n}function L(t,e,n){if(n){var r=e.style.opacity||"1";x(e,{opacity:"0"}),window.setTimeout((function(){x(e,{opacity:r})}),10)}t.appendChild(e)}function T(){return parseInt(this._currentStep+1,10)/this._introItems.length*100}function I(){var t=document.querySelector(".introjs-disableInteraction");null===t&&(t=N("div",{className:"introjs-disableInteraction"}),this._targetElement.appendChild(t)),_.call(this,t)}function P(t){var e=this,n=N("div",{className:"introjs-bullets"});!1===this._options.showBullets&&(n.style.display="none");var r=N("ul");r.setAttribute("role","tablist");var i=function(){e.goToStep(this.getAttribute("data-step-number"))};return l(this._introItems,(function(e,n){var o=e.step,a=N("li"),s=N("a");a.setAttribute("role","presentation"),s.setAttribute("role","tab"),s.onclick=i,n===t.step-1&&(s.className="active"),g(s),s.innerHTML="&nbsp;",s.setAttribute("data-step-number",o),a.appendChild(s),r.appendChild(a)})),n.appendChild(r),n}function q(t,e){if(this._options.showBullets){var n=document.querySelector(".introjs-bullets");n&&n.parentNode.replaceChild(P.call(this,e),n)}}function O(t,e){this._options.showBullets&&(t.querySelector(".introjs-bullets li > a.active").className="",t.querySelector('.introjs-bullets li > a[data-step-number="'.concat(e.step,'"]')).className="active")}function B(){var t=N("div");t.className="introjs-progress",!1===this._options.showProgress&&(t.style.display="none");var e=N("div",{className:"introjs-progressbar"});return this._options.progressBarAdditionalClass&&(e.className+=" "+this._options.progressBarAdditionalClass),e.setAttribute("role","progress"),e.setAttribute("aria-valuemin",0),e.setAttribute("aria-valuemax",100),e.setAttribute("aria-valuenow",T.call(this)),e.style.cssText="width:".concat(T.call(this),"%;"),t.appendChild(e),t}function H(t){t.querySelector(".introjs-progress .introjs-progressbar").style.cssText="width:".concat(T.call(this),"%;"),t.querySelector(".introjs-progress .introjs-progressbar").setAttribute("aria-valuenow",T.call(this))}function R(t){return M.apply(this,arguments)}function M(){return(M=r(t().mark((function e(n){var i,o,a,s,c,l,u,p,m,v,y,w,k,C,S,j,T,q,R,M,D,F,G,V,W,$=this;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===this._introChangeCallback){e.next=3;break}return e.next=3,this._introChangeCallback.call(this,n.element);case 3:if(i=this,o=document.querySelector(".introjs-helperLayer"),a=document.querySelector(".introjs-tooltipReferenceLayer"),s="introjs-helperLayer","string"==typeof n.highlightClass&&(s+=" ".concat(n.highlightClass)),"string"==typeof this._options.highlightClass&&(s+=" ".concat(this._options.highlightClass)),null!==o&&null!==a?(p=a.querySelector(".introjs-helperNumberLayer"),m=a.querySelector(".introjs-tooltiptext"),v=a.querySelector(".introjs-tooltip-title"),y=a.querySelector(".introjs-arrow"),w=a.querySelector(".introjs-tooltip"),u=a.querySelector(".introjs-skipbutton"),l=a.querySelector(".introjs-prevbutton"),c=a.querySelector(".introjs-nextbutton"),o.className=s,w.style.opacity=0,w.style.display="none",d.call(i,n),_.call(i,o),_.call(i,a),E(),i._lastShowElementTimer&&window.clearTimeout(i._lastShowElementTimer),i._lastShowElementTimer=window.setTimeout((function(){null!==p&&(p.innerHTML="".concat(n.step," ").concat($._options.stepNumbersOfLabel," ").concat($._introItems.length)),m.innerHTML=n.intro,v.innerHTML=n.title,w.style.display="block",A.call(i,n.element,w,y),O.call(i,a,n),H.call(i,a),w.style.opacity=1,(null!=c&&/introjs-donebutton/gi.test(c.className)||null!=c)&&c.focus(),b.call(i,n.scrollTo,n,m)}),350)):(k=N("div",{className:s}),C=N("div",{className:"introjs-tooltipReferenceLayer"}),S=N("div",{className:"introjs-arrow"}),j=N("div",{className:"introjs-tooltip"}),T=N("div",{className:"introjs-tooltiptext"}),q=N("div",{className:"introjs-tooltip-header"}),R=N("h1",{className:"introjs-tooltip-title"}),M=N("div"),x(k,{"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(i._options.overlayOpacity.toString(),") 0 0 0 5000px")}),d.call(i,n),_.call(i,k),_.call(i,C),L(this._targetElement,k,!0),L(this._targetElement,C),T.innerHTML=n.intro,R.innerHTML=n.title,M.className="introjs-tooltipbuttons",!1===this._options.showButtons&&(M.style.display="none"),q.appendChild(R),j.appendChild(q),j.appendChild(T),this._options.dontShowAgain&&(D=N("div",{className:"introjs-dontShowAgain"}),(F=N("input",{type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain"})).onchange=function(t){$.setDontShowAgain(t.target.checked)},(G=N("label",{htmlFor:"introjs-dontShowAgain"})).innerText=this._options.dontShowAgainLabel,D.appendChild(F),D.appendChild(G),j.appendChild(D)),j.appendChild(P.call(this,n)),j.appendChild(B.call(this)),V=N("div"),!0===this._options.showStepNumbers&&(V.className="introjs-helperNumberLayer",V.innerHTML="".concat(n.step," ").concat(this._options.stepNumbersOfLabel," ").concat(this._introItems.length),j.appendChild(V)),j.appendChild(S),C.appendChild(j),(c=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i._introItems.length-1===i._currentStep){t.next=6;break}return $._options.onClickNext(),t.next=4,z.call(i);case 4:t.next=13;break;case 6:if(!/introjs-donebutton/gi.test(c.className)){t.next=13;break}if($._options.onClickDone(),"function"!=typeof i._introCompleteCallback){t.next=11;break}return t.next=11,i._introCompleteCallback.call(i,i._currentStep,"done");case 11:return t.next=13,xt.call(i,i._targetElement);case 13:case"end":return t.stop()}}),e)}))),g(c),c.innerHTML=this._options.nextLabel,(l=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if($._options.onClickPrev(),0===i._currentStep){t.next=4;break}return t.next=4,Y.call(i);case 4:case"end":return t.stop()}}),e)}))),g(l),l.innerHTML=this._options.prevLabel,g(u=N("a",{className:"introjs-skipbutton"})),u.innerHTML=this._options.skipLabel,u.onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if($._options.onClickSkip(),i._introItems.length-1!==i._currentStep||"function"!=typeof i._introCompleteCallback){t.next=4;break}return t.next=4,i._introCompleteCallback.call(i,i._currentStep,"skip");case 4:if("function"!=typeof i._introSkipCallback){t.next=7;break}return t.next=7,i._introSkipCallback.call(i);case 7:return t.next=9,xt.call(i,i._targetElement);case 9:case"end":return t.stop()}}),e)}))),q.appendChild(u),this._introItems.length>1&&M.appendChild(l),M.appendChild(c),j.appendChild(M),A.call(i,n.element,j,S),b.call(this,n.scrollTo,n,j)),(W=i._targetElement.querySelector(".introjs-disableInteraction"))&&W.parentNode.removeChild(W),n.disableInteraction&&I.call(i),0===this._currentStep&&this._introItems.length>1?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel),!0===this._options.hidePrev?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-hidden")),null!=c&&h(c,"introjs-fullbutton")):null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-disabled"))):this._introItems.length-1===this._currentStep||1===this._introItems.length?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),!0===this._options.hideNext?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-hidden")),null!=l&&h(l,"introjs-fullbutton")):null!=c&&(!0===this._options.nextToDone?(c.innerHTML=this._options.doneLabel,h(c,"".concat(this._options.buttonClass," introjs-nextbutton introjs-donebutton"))):c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-disabled"))):(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel)),null!=l&&l.setAttribute("role","button"),null!=c&&c.setAttribute("role","button"),null!=u&&u.setAttribute("role","button"),null!=c&&c.focus(),f(n),void 0===this._introAfterChangeCallback){e.next=22;break}return e.next=22,this._introAfterChangeCallback.call(this,n.element);case 22:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function D(t){return F.apply(this,arguments)}function F(){return(F=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStep=n-2,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function G(t){return V.apply(this,arguments)}function V(){return(V=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStepNumber=n,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function z(){return W.apply(this,arguments)}function W(){return W=r(t().mark((function e(){var n,r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="forward",void 0!==this._currentStepNumber&&l(this._introItems,(function(t,e){t.step===i._currentStepNumber&&(i._currentStep=e-1,i._currentStepNumber=void 0)})),void 0===this._currentStep?this._currentStep=0:++this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=9;break}return t.next=8,this._introBeforeChangeCallback.call(this,n&&n.element);case 8:r=t.sent;case 9:if(!1!==r){t.next=12;break}return--this._currentStep,t.abrupt("return",!1);case 12:if(!(this._introItems.length<=this._currentStep)){t.next=19;break}if("function"!=typeof this._introCompleteCallback){t.next=16;break}return t.next=16,this._introCompleteCallback.call(this,this._currentStep,"end");case 16:return t.next=18,xt.call(this,this._targetElement);case 18:return t.abrupt("return");case 19:return t.next=21,R.call(this,n);case 21:case"end":return t.stop()}}),e,this)}))),W.apply(this,arguments)}function Y(){return $.apply(this,arguments)}function $(){return $=r(t().mark((function e(){var n,r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="backward",0!==this._currentStep){t.next=3;break}return t.abrupt("return",!1);case 3:if(--this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=10;break}return t.next=9,this._introBeforeChangeCallback.call(this,n&&n.element);case 9:r=t.sent;case 10:if(!1!==r){t.next=13;break}return++this._currentStep,t.abrupt("return",!1);case 13:return t.next=15,R.call(this,n);case 15:case"end":return t.stop()}}),e,this)}))),$.apply(this,arguments)}function Q(){return this._currentStep}function U(t){return X.apply(this,arguments)}function X(){return(X=r(t().mark((function e(n){var r,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(r=void 0===n.code?n.which:n.code)&&(r=null===n.charCode?n.keyCode:n.charCode),"Escape"!==r&&27!==r||!0!==this._options.exitOnEsc){t.next=7;break}return t.next=5,xt.call(this,this._targetElement);case 5:t.next=39;break;case 7:if("ArrowLeft"!==r&&37!==r){t.next=12;break}return t.next=10,Y.call(this);case 10:t.next=39;break;case 12:if("ArrowRight"!==r&&39!==r){t.next=17;break}return t.next=15,z.call(this);case 15:t.next=39;break;case 17:if("Enter"!==r&&"NumpadEnter"!==r&&13!==r){t.next=39;break}if(!(i=n.target||n.srcElement)||!i.className.match("introjs-prevbutton")){t.next=24;break}return t.next=22,Y.call(this);case 22:t.next=38;break;case 24:if(!i||!i.className.match("introjs-skipbutton")){t.next=32;break}if(this._introItems.length-1!==this._currentStep||"function"!=typeof this._introCompleteCallback){t.next=28;break}return t.next=28,this._introCompleteCallback.call(this,this._currentStep,"skip");case 28:return t.next=30,xt.call(this,this._targetElement);case 30:t.next=38;break;case 32:if(!i||!i.getAttribute("data-step-number")){t.next=36;break}i.click(),t.next=38;break;case 36:return t.next=38,z.call(this);case 38:n.preventDefault?n.preventDefault():n.returnValue=!1;case 39:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function Z(t){if(null===t||"object"!==e(t)||void 0!==t.nodeType)return t;var n={};for(var r in t)void 0!==window.jQuery&&t[r]instanceof window.jQuery?n[r]=t[r]:n[r]=Z(t[r]);return n}function J(t,e){var n,r=this;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){t.apply(r,o)}),e)}}function K(t){var e=document.querySelector(".introjs-hints");return e?e.querySelectorAll(t):[]}function tt(t){return et.apply(this,arguments)}function et(){return(et=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=K('.introjs-hint[data-step="'.concat(n,'"]'))[0],ft.call(this),r&&h(r,"introjs-hidehint"),void 0===this._hintCloseCallback){t.next=6;break}return t.next=6,this._hintCloseCallback.call(this,n);case 6:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function nt(){var e=this;l(K(".introjs-hint"),function(){var n=r(t().mark((function n(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(e,r.getAttribute("data-step"));case 2:case"end":return t.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}())}function rt(){return it.apply(this,arguments)}function it(){return(it=r(t().mark((function e(){var n,r=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=K(".introjs-hint"))||!n.length){t.next=5;break}l(n,(function(t){ot.call(r,t.getAttribute("data-step"))})),t.next=7;break;case 5:return t.next=7,dt.call(this,this._targetElement);case 7:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ot(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&w(e,/introjs-hidehint/g)}function at(){var t=this;l(K(".introjs-hint"),(function(e){st.call(t,e.getAttribute("data-step"))})),u.off(document,"click",ft,this,!1),u.off(window,"resize",bt,this,!0),this._hintsAutoRefreshFunction&&u.off(window,"scroll",this._hintsAutoRefreshFunction,this,!0)}function st(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&e.parentNode.removeChild(e)}function ct(){return lt.apply(this,arguments)}function lt(){return(lt=r(t().mark((function e(){var n,r,i,o=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this,null===(r=document.querySelector(".introjs-hints"))&&(r=N("div",{className:"introjs-hints"})),i=function(t){return function(e){var r=e||window.event;r.stopPropagation&&r.stopPropagation(),null!==r.cancelBubble&&(r.cancelBubble=!0),ht.call(n,t)}},l(this._introItems,(function(t,e){if(!document.querySelector('.introjs-hint[data-step="'.concat(e,'"]'))){var n=N("a",{className:"introjs-hint"});g(n),n.onclick=i(e),t.hintAnimation||h(n,"introjs-hint-no-anim"),v(t.element)&&h(n,"introjs-fixedhint");var a=N("div",{className:"introjs-hint-dot"}),s=N("div",{className:"introjs-hint-pulse"});n.appendChild(a),n.appendChild(s),n.setAttribute("data-step",e),t.targetElement=t.element,t.element=n,ut.call(o,t.hintPosition,n,t.targetElement),r.appendChild(n)}})),document.body.appendChild(r),void 0===this._hintsAddedCallback){t.next=9;break}return t.next=9,this._hintsAddedCallback.call(this);case 9:this._options.hintAutoRefreshInterval>=0&&(this._hintsAutoRefreshFunction=J((function(){return bt.call(o)}),this._options.hintAutoRefreshInterval),u.on(window,"scroll",this._hintsAutoRefreshFunction,this,!0));case 10:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ut(t,e,n){var r=e.style,i=y.call(this,n),o=20,a=20;switch(t){default:case"top-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top,"px");break;case"top-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top,"px");break;case"bottom-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"bottom-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"middle-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"bottom-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"top-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top,"px")}}function ht(t){return pt.apply(this,arguments)}function pt(){return(pt=r(t().mark((function e(n){var r,i,o,a,s,c,l,u,h;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=document.querySelector('.introjs-hint[data-step="'.concat(n,'"]')),i=this._introItems[n],void 0===this._hintClickCallback){t.next=5;break}return t.next=5,this._hintClickCallback.call(this,r,i,n);case 5:if(o=ft.call(this),parseInt(o,10)!==n){t.next=8;break}return t.abrupt("return");case 8:a=N("div",{className:"introjs-tooltip"}),s=N("div"),c=N("div"),l=N("div"),a.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},s.className="introjs-tooltiptext",(u=N("p")).innerHTML=i.hint,s.appendChild(u),this._options.hintShowButton&&((h=N("a")).className=this._options.buttonClass,h.setAttribute("role","button"),h.innerHTML=this._options.hintButtonLabel,h.onclick=tt.bind(this,n),s.appendChild(h)),c.className="introjs-arrow",a.appendChild(c),a.appendChild(s),this._currentStep=r.getAttribute("data-step"),l.className="introjs-tooltipReferenceLayer introjs-hintReference",l.setAttribute("data-step",r.getAttribute("data-step")),_.call(this,l),l.appendChild(a),document.body.appendChild(l),A.call(this,r,a,c,!0);case 28:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ft(){var t=document.querySelector(".introjs-hintReference");if(t){var e=t.getAttribute("data-step");return t.parentNode.removeChild(t),e}}function dt(t){return mt.apply(this,arguments)}function mt(){return(mt=r(t().mark((function e(n){var r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._introItems=[],!this._options.hints){t.next=5;break}l(this._options.hints,(function(t){var e=Z(t);"string"==typeof e.element&&(e.element=document.querySelector(e.element)),e.hintPosition=e.hintPosition||i._options.hintPosition,e.hintAnimation=e.hintAnimation||i._options.hintAnimation,null!==e.element&&i._introItems.push(e)})),t.next=9;break;case 5:if((r=n.querySelectorAll("*[data-hint]"))&&r.length){t.next=8;break}return t.abrupt("return",!1);case 8:l(r,(function(t){var e=t.getAttribute("data-hint-animation");e=e?"true"===e:i._options.hintAnimation,i._introItems.push({element:t,hint:t.getAttribute("data-hint"),hintPosition:t.getAttribute("data-hint-position")||i._options.hintPosition,hintAnimation:e,tooltipClass:t.getAttribute("data-tooltip-class"),position:t.getAttribute("data-position")||i._options.tooltipPosition})}));case 9:return t.next=11,ct.call(this);case 11:u.on(document,"click",ft,this,!1),u.on(window,"resize",bt,this,!0);case 13:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function bt(){var t=this;l(this._introItems,(function(e){var n=e.targetElement,r=e.hintPosition,i=e.element;void 0!==n&&ut.call(t,r,i,n)}))}function gt(t){var e=this,n=t.querySelectorAll("*[data-intro]"),r=[];if(this._options.steps)l(this._options.steps,(function(t){var n=Z(t);if(n.step=r.length+1,n.title=n.title||"","string"==typeof n.element&&(n.element=document.querySelector(n.element)),void 0===n.element||null===n.element){var i=document.querySelector(".introjsFloatingElement");null===i&&(i=N("div",{className:"introjsFloatingElement"}),document.body.appendChild(i)),n.element=i,n.position="floating"}n.position=n.position||e._options.tooltipPosition,n.scrollTo=n.scrollTo||e._options.scrollTo,void 0===n.disableInteraction&&(n.disableInteraction=e._options.disableInteraction),null!==n.element&&r.push(n)}));else{var i;if(n.length<1)return[];l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&"none"!==t.style.display){var n=parseInt(t.getAttribute("data-step"),10);i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,n>0&&(r[n-1]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:parseInt(t.getAttribute("data-step"),10),tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i})}}));var o=0;l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&null===t.getAttribute("data-step")){for(;void 0!==r[o];)o++;i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,r[o]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:o+1,tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i}}}))}for(var a=[],s=0;s<r.length;s++)r[s]&&a.push(r[s]);return(r=a).sort((function(t,e){return t.step-e.step})),r}function vt(t){var e=document.querySelector(".introjs-tooltipReferenceLayer"),n=document.querySelector(".introjs-helperLayer"),r=document.querySelector(".introjs-disableInteraction");if(_.call(this,n),_.call(this,e),_.call(this,r),t&&(this._introItems=gt.call(this,this._targetElement),q.call(this,e,this._introItems[this._currentStep]),H.call(this,e)),void 0!==this._currentStep&&null!==this._currentStep){var i=document.querySelector(".introjs-arrow"),o=document.querySelector(".introjs-tooltip");o&&i&&A.call(this,this._introItems[this._currentStep].element,o,i)}return bt.call(this),this}function yt(){vt.call(this)}function wt(t,e){if(t&&t.parentElement){var n=t.parentElement;e?(x(t,{opacity:"0"}),window.setTimeout((function(){try{n.removeChild(t)}catch(t){}}),500)):n.removeChild(t)}}function xt(t,e){return _t.apply(this,arguments)}function _t(){return(_t=r(t().mark((function e(n,r){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!0,void 0===this._introBeforeExitCallback){t.next=5;break}return t.next=4,this._introBeforeExitCallback.call(this);case 4:i=t.sent;case 5:if(r||!1!==i){t.next=7;break}return t.abrupt("return");case 7:if((o=n.querySelectorAll(".introjs-overlay"))&&o.length&&l(o,(function(t){return wt(t)})),wt(n.querySelector(".introjs-helperLayer"),!0),wt(n.querySelector(".introjs-tooltipReferenceLayer")),wt(n.querySelector(".introjs-disableInteraction")),wt(document.querySelector(".introjsFloatingElement")),E(),u.off(window,"keydown",U,this,!0),u.off(window,"resize",yt,this,!0),void 0===this._introExitCallback){t.next=23;break}return t.next=23,this._introExitCallback.call(this);case 23:this._currentStep=void 0;case 24:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function kt(e){var n=this,i=N("div",{className:"introjs-overlay"});return x(i,{top:0,bottom:0,left:0,right:0,position:"fixed"}),e.appendChild(i),!0===this._options.exitOnOverlayClick&&(x(i,{cursor:"pointer"}),i.onclick=r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,e);case 2:case"end":return t.stop()}}),r)})))),!0}function Ct(t){return St.apply(this,arguments)}function St(){return(St=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isActive()){t.next=2;break}return t.abrupt("return");case 2:if(void 0===this._introStartCallback){t.next=5;break}return t.next=5,this._introStartCallback.call(this,n);case 5:if(0!==(r=gt.call(this,n)).length){t.next=8;break}return t.abrupt("return",!1);case 8:if(this._introItems=r,!kt.call(this,n)){t.next=14;break}return t.next=12,z.call(this);case 12:this._options.keyboardNavigation&&u.on(window,"keydown",U,this,!0),u.on(window,"resize",yt,this,!0);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function jt(t,e,n){var r,o=(i(r={},t,e),i(r,"path","/"),r);if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),o.expires=a.toUTCString()}var s=[];for(var c in o)s.push("".concat(c,"=").concat(o[c]));return document.cookie=s.join("; "),At(t)}function At(t){return(e={},document.cookie.split(";").forEach((function(t){var n=o(t.split("="),2),r=n[0],i=n[1];e[r.trim()]=i})),e)[t];var e}function Et(t){t?jt(this._options.dontShowAgainCookie,"true",this._options.dontShowAgainCookieDays):jt(this._options.dontShowAgainCookie,"",-1)}function Nt(){var t=At(this._options.dontShowAgainCookie);return t&&"true"===t}function Lt(t){this._targetElement=t,this._introItems=[],this._options={isActive:!0,nextLabel:"Next",onClickNext:function(){},prevLabel:"Back",onClickPrev:function(){},skipLabel:"×",onClickSkip:function(){},doneLabel:"Done",onClickDone:function(){},hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",progressBarAdditionalClass:!1,screenPadding:20}}var Tt=function t(n){var r;if("object"===e(n))r=new Lt(n);else if("string"==typeof n){var i=document.querySelector(n);if(!i)throw new Error("There is no element with given selector.");r=new Lt(i)}else r=new Lt(document.body);return t.instances[c(r,"introjs-instance")]=r,r};Tt.instances={},Tt.fn=Lt.prototype={isActive:function(){return(!this._options.dontShowAgain||!Nt.call(this))&&this._options.isActive},clone:function(){return new Lt(this)},setOption:function(t,e){return this._options[t]=e,this},setOptions:function(t){return this._options=function(t,e){var n,r={};for(n in t)r[n]=t[n];for(n in e)r[n]=e[n];return r}(this._options,t),this},start:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ct.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},goToStep:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,D.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},addStep:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},addSteps:function(t){if(t.length){for(var e=0;e<t.length;e++)this.addStep(t[e]);return this}},goToStepNumber:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,G.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},nextStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,z.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},previousStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},currentStep:function(){return Q.call(this)},exit:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,n._targetElement,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},refresh:function(t){return vt.call(this,t),this},setDontShowAgain:function(t){return Et.call(this,t),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},onhintsadded:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},onhintclick:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},onhintclose:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},onstart:function(t){if("function"!=typeof t)throw new Error("Provided callback for onstart was not a function.");return this._introStartCallback=t,this},onexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},onskip:function(t){if("function"!=typeof t)throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},onbeforeexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},addHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,dt.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},hideHint:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},hideHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},showHint:function(t){return ot.call(this,t),this},showHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,rt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},removeHints:function(){return at.call(this),this},removeHint:function(t){return st().call(this,t),this},showHintDialog:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ht.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()}};export{Tt as default};
//# sourceMappingURL=intro.module.js.map
/*!
* Intro.js v6.0.0
* Intro.js v6.0.4
* https://introjs.com

@@ -8,5 +8,5 @@ *

*
* Date: Thu, 02 Feb 2023 12:03:35 GMT
* Date: Tue, 07 Feb 2023 11:17:13 GMT
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).introJs=e()}(this,(function(){"use strict";function t(){t=function(){return e};var e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),s=new j(r||[]);return i(a,"_invoke",{value:_(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p={};function f(){}function d(){}function m(){}var b={};l(b,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(A([])));v&&v!==n&&r.call(v,a)&&(b=v);var y=m.prototype=f.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function n(i,o,a,s){var c=h(t[i],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function k(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,p;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=m,i(y,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},e.awrap=function(t){return{__await:t}},w(x.prototype),l(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(y),l(y,c,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=A,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)}))}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,c=(s={},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"introjs-stamp";return s[e]=s[e]||0,void 0===t[e]&&(t[e]=s[e]++),t[e]});function l(t,e,n){if(t)for(var r=0,i=t.length;r<i;r++)e(t[r],r);"function"==typeof n&&n()}var u=new function(){var t="introjs_event";this._id=function(t,e,n,r){return e+c(n)+(r?"_".concat(c(r)):"")},this.on=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=function(t){return r.call(i||e,t||window.event)};"addEventListener"in e?e.addEventListener(n,s,o):"attachEvent"in e&&e.attachEvent("on".concat(n),s),e[t]=e[t]||{},e[t][a]=s},this.off=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=e[t]&&e[t][a];s&&("removeEventListener"in e?e.removeEventListener(n,s,o):"detachEvent"in e&&e.detachEvent("on".concat(n),s),e[t][a]=null)}};function h(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";n.match(e)||t.setAttribute("class","".concat(n," ").concat(e))}else{if(void 0!==t.classList)l(e.split(" "),(function(e){t.classList.add(e)}));else t.className.match(e)||(t.className+=" ".concat(e))}}function p(t,e){var n="";return t.currentStyle?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function f(t){var e=t.element;h(e,"introjs-showElement");var n=p(e,"position");"absolute"!==n&&"relative"!==n&&"sticky"!==n&&"fixed"!==n&&h(e,"introjs-relativePosition")}function d(t){var e=t.element;if(this._options.scrollToElement){var n=function(t){var e=window.getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var i=t;i=i.parentElement;)if(e=window.getComputedStyle(i),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function m(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function b(t,e,n){var r,i=e.element;if("off"!==t&&(this._options.scrollToElement&&(r="tooltip"===t?n.getBoundingClientRect():i.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(i)))){var o=m().height;r.bottom-(r.bottom-r.top)<0||i.clientHeight>o?window.scrollBy(0,r.top-(o/2-r.height/2)-this._options.scrollPadding):window.scrollBy(0,r.top-(o/2-r.height/2)+this._options.scrollPadding)}}function g(t){t.setAttribute("role","button"),t.tabIndex=0}function v(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===p(t,"position")||v(e))}function y(t,e){var n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft;e=e||n;var a=t.getBoundingClientRect(),s=e.getBoundingClientRect(),c=p(e,"position"),l={width:a.width,height:a.height};return"body"!==e.tagName.toLowerCase()&&"relative"===c||"sticky"===c?Object.assign(l,{top:a.top-s.top,left:a.left-s.left}):v(t)?Object.assign(l,{top:a.top,left:a.left}):Object.assign(l,{top:a.top+i,left:a.left+o})}function w(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function x(t,e){var n="";if(t.style.cssText&&(n+=t.style.cssText),"string"==typeof e)n+=e;else for(var r in e)n+="".concat(r,":").concat(e[r],";");t.style.cssText=n}function _(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introItems[this._currentStep],n=y(e.element,this._targetElement),r=this._options.helperElementPadding;v(e.element)?h(t,"introjs-fixedTooltip"):w(t,"introjs-fixedTooltip"),"floating"===e.position&&(r=0),x(t,{width:"".concat(n.width+r,"px"),height:"".concat(n.height+r,"px"),top:"".concat(n.top-r/2,"px"),left:"".concat(n.left-r/2,"px")})}}function k(t,e,n,r,i){return t.left+e+n.width>r.width?(i.style.left="".concat(r.width-n.width-t.left,"px"),!1):(i.style.left="".concat(e,"px"),!0)}function C(t,e,n,r){return t.left+t.width-e-n.width<0?(r.style.left="".concat(-t.left,"px"),!1):(r.style.right="".concat(e,"px"),!0)}function S(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function j(t,e,n){var r=this._options.positionPrecedence.slice(),i=this._options.screenPadding,o=m(),a=y(e).height+10+2*i,s=y(e).width+10+2*i,c=t.getBoundingClientRect(),l="floating";c.bottom+a>o.height&&S(r,"bottom"),c.top-a<0&&S(r,"top"),c.right+s>o.width&&S(r,"right"),c.left-s<0&&S(r,"left");var u,h,p=-1!==(h=(u=n||"").indexOf("-"))?u.substr(h):"";return n&&(n=n.split("-")[0]),r.length&&(l=r.includes(n)?n:r[0]),["top","bottom"].includes(l)&&(l+=function(t,e,n,r){var i=n.width,o=e/2,a=Math.min(i,window.screen.width),s=["-left-aligned","-middle-aligned","-right-aligned"];return a-t<e&&S(s,"-left-aligned"),(t<o||a-t<o)&&S(s,"-middle-aligned"),t<e&&S(s,"-right-aligned"),s.length?s.includes(r)?r:s[0]:"-middle-aligned"}(c.left,s,o,p)),l}function A(t,e,n,r){var i,o,a,s,c,l="";if(r=r||!1,e.style.top=null,e.style.right=null,e.style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=null,n.style.display="inherit",this._introItems[this._currentStep]){l="string"==typeof(i=this._introItems[this._currentStep]).tooltipClass?i.tooltipClass:this._options.tooltipClass,e.className=["introjs-tooltip",l].filter(Boolean).join(" "),e.setAttribute("role","dialog"),"floating"!==(c=this._introItems[this._currentStep].position)&&this._options.autoPosition&&(c=j.call(this,t,e,c)),a=y(t),o=y(e),s=m(),h(e,"introjs-".concat(c));var u=a.width/2-o.width/2;switch(c){case"top-right-aligned":n.className="introjs-arrow bottom-right";var p=0;C(a,p,o,e),e.style.bottom="".concat(a.height+20,"px");break;case"top-middle-aligned":n.className="introjs-arrow bottom-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.bottom="".concat(a.height+20,"px");break;case"top-left-aligned":case"top":n.className="introjs-arrow bottom",k(a,r?0:15,o,s,e),e.style.bottom="".concat(a.height+20,"px");break;case"right":e.style.left="".concat(a.width+20,"px"),a.top+o.height>s.height?(n.className="introjs-arrow left-bottom",e.style.top="-".concat(o.height-a.height-20,"px")):n.className="introjs-arrow left";break;case"left":r||!0!==this._options.showStepNumbers||(e.style.top="15px"),a.top+o.height>s.height?(e.style.top="-".concat(o.height-a.height-20,"px"),n.className="introjs-arrow right-bottom"):n.className="introjs-arrow right",e.style.right="".concat(a.width+20,"px");break;case"floating":n.style.display="none",e.style.left="50%",e.style.top="50%",e.style.marginLeft="-".concat(o.width/2,"px"),e.style.marginTop="-".concat(o.height/2,"px");break;case"bottom-right-aligned":n.className="introjs-arrow top-right",C(a,p=0,o,e),e.style.top="".concat(a.height+20,"px");break;case"bottom-middle-aligned":n.className="introjs-arrow top-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.top="".concat(a.height+20,"px");break;default:n.className="introjs-arrow top",k(a,0,o,s,e),e.style.top="".concat(a.height+20,"px")}}}function E(){l(document.querySelectorAll(".introjs-showElement"),(function(t){w(t,/introjs-[a-zA-Z]+/g)}))}function N(t,e){var n=document.createElement(t);e=e||{};var r=/^(?:role|data-|aria-)/;for(var i in e){var o=e[i];"style"===i?x(n,o):i.match(r)?n.setAttribute(i,o):n[i]=o}return n}function L(t,e,n){if(n){var r=e.style.opacity||"1";x(e,{opacity:"0"}),window.setTimeout((function(){x(e,{opacity:r})}),10)}t.appendChild(e)}function T(){return parseInt(this._currentStep+1,10)/this._introItems.length*100}function I(){var t=document.querySelector(".introjs-disableInteraction");null===t&&(t=N("div",{className:"introjs-disableInteraction"}),this._targetElement.appendChild(t)),_.call(this,t)}function P(t){var e=this,n=N("div",{className:"introjs-bullets"});!1===this._options.showBullets&&(n.style.display="none");var r=N("ul");r.setAttribute("role","tablist");var i=function(){e.goToStep(this.getAttribute("data-step-number"))};return l(this._introItems,(function(e,n){var o=e.step,a=N("li"),s=N("a");a.setAttribute("role","presentation"),s.setAttribute("role","tab"),s.onclick=i,n===t.step-1&&(s.className="active"),g(s),s.innerHTML="&nbsp;",s.setAttribute("data-step-number",o),a.appendChild(s),r.appendChild(a)})),n.appendChild(r),n}function q(t,e){if(this._options.showBullets){var n=document.querySelector(".introjs-bullets");n&&n.parentNode.replaceChild(P.call(this,e),n)}}function O(t,e){this._options.showBullets&&(t.querySelector(".introjs-bullets li > a.active").className="",t.querySelector('.introjs-bullets li > a[data-step-number="'.concat(e.step,'"]')).className="active")}function B(){var t=N("div");t.className="introjs-progress",!1===this._options.showProgress&&(t.style.display="none");var e=N("div",{className:"introjs-progressbar"});return this._options.progressBarAdditionalClass&&(e.className+=" "+this._options.progressBarAdditionalClass),e.setAttribute("role","progress"),e.setAttribute("aria-valuemin",0),e.setAttribute("aria-valuemax",100),e.setAttribute("aria-valuenow",T.call(this)),e.style.cssText="width:".concat(T.call(this),"%;"),t.appendChild(e),t}function H(t){t.querySelector(".introjs-progress .introjs-progressbar").style.cssText="width:".concat(T.call(this),"%;"),t.querySelector(".introjs-progress .introjs-progressbar").setAttribute("aria-valuenow",T.call(this))}function R(t){return M.apply(this,arguments)}function M(){return(M=r(t().mark((function e(n){var i,o,a,s,c,l,u,p,m,v,y,w,k,C,S,j,T,q,R,M,F,D,G,V,W,$=this;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===this._introChangeCallback){e.next=3;break}return e.next=3,this._introChangeCallback.call(this,n.element);case 3:if(i=this,o=document.querySelector(".introjs-helperLayer"),a=document.querySelector(".introjs-tooltipReferenceLayer"),s="introjs-helperLayer","string"==typeof n.highlightClass&&(s+=" ".concat(n.highlightClass)),"string"==typeof this._options.highlightClass&&(s+=" ".concat(this._options.highlightClass)),null!==o&&null!==a?(p=a.querySelector(".introjs-helperNumberLayer"),m=a.querySelector(".introjs-tooltiptext"),v=a.querySelector(".introjs-tooltip-title"),y=a.querySelector(".introjs-arrow"),w=a.querySelector(".introjs-tooltip"),u=a.querySelector(".introjs-skipbutton"),l=a.querySelector(".introjs-prevbutton"),c=a.querySelector(".introjs-nextbutton"),o.className=s,w.style.opacity=0,w.style.display="none",d.call(i,n),_.call(i,o),_.call(i,a),E(),i._lastShowElementTimer&&window.clearTimeout(i._lastShowElementTimer),i._lastShowElementTimer=window.setTimeout((function(){null!==p&&(p.innerHTML="".concat(n.step," ").concat($._options.stepNumbersOfLabel," ").concat($._introItems.length)),m.innerHTML=n.intro,v.innerHTML=n.title,w.style.display="block",A.call(i,n.element,w,y),O.call(i,a,n),H.call(i,a),w.style.opacity=1,(null!=c&&/introjs-donebutton/gi.test(c.className)||null!=c)&&c.focus(),b.call(i,n.scrollTo,n,m)}),350)):(k=N("div",{className:s}),C=N("div",{className:"introjs-tooltipReferenceLayer"}),S=N("div",{className:"introjs-arrow"}),j=N("div",{className:"introjs-tooltip"}),T=N("div",{className:"introjs-tooltiptext"}),q=N("div",{className:"introjs-tooltip-header"}),R=N("h1",{className:"introjs-tooltip-title"}),M=N("div"),x(k,{"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(i._options.overlayOpacity.toString(),") 0 0 0 5000px")}),d.call(i,n),_.call(i,k),_.call(i,C),L(this._targetElement,k,!0),L(this._targetElement,C),T.innerHTML=n.intro,R.innerHTML=n.title,M.className="introjs-tooltipbuttons",!1===this._options.showButtons&&(M.style.display="none"),q.appendChild(R),j.appendChild(q),j.appendChild(T),this._options.dontShowAgain&&(F=N("div",{className:"introjs-dontShowAgain"}),(D=N("input",{type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain"})).onchange=function(t){$.setDontShowAgain(t.target.checked)},(G=N("label",{htmlFor:"introjs-dontShowAgain"})).innerText=this._options.dontShowAgainLabel,F.appendChild(D),F.appendChild(G),j.appendChild(F)),j.appendChild(P.call(this,n)),j.appendChild(B.call(this)),V=N("div"),!0===this._options.showStepNumbers&&(V.className="introjs-helperNumberLayer",V.innerHTML="".concat(n.step," ").concat(this._options.stepNumbersOfLabel," ").concat(this._introItems.length),j.appendChild(V)),j.appendChild(S),C.appendChild(j),(c=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i._introItems.length-1===i._currentStep){t.next=5;break}return t.next=3,z.call(i);case 3:t.next=11;break;case 5:if(!/introjs-donebutton/gi.test(c.className)){t.next=11;break}if("function"!=typeof i._introCompleteCallback){t.next=9;break}return t.next=9,i._introCompleteCallback.call(i,i._currentStep,"done");case 9:return t.next=11,xt.call(i,i._targetElement);case 11:case"end":return t.stop()}}),e)}))),g(c),c.innerHTML=this._options.nextLabel,(l=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0===i._currentStep){t.next=3;break}return t.next=3,Y.call(i);case 3:case"end":return t.stop()}}),e)}))),g(l),l.innerHTML=this._options.prevLabel,g(u=N("a",{className:"introjs-skipbutton"})),u.innerHTML=this._options.skipLabel,u.onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i._introItems.length-1!==i._currentStep||"function"!=typeof i._introCompleteCallback){t.next=3;break}return t.next=3,i._introCompleteCallback.call(i,i._currentStep,"skip");case 3:if("function"!=typeof i._introSkipCallback){t.next=6;break}return t.next=6,i._introSkipCallback.call(i);case 6:return t.next=8,xt.call(i,i._targetElement);case 8:case"end":return t.stop()}}),e)}))),q.appendChild(u),this._introItems.length>1&&M.appendChild(l),M.appendChild(c),j.appendChild(M),A.call(i,n.element,j,S),b.call(this,n.scrollTo,n,j)),(W=i._targetElement.querySelector(".introjs-disableInteraction"))&&W.parentNode.removeChild(W),n.disableInteraction&&I.call(i),0===this._currentStep&&this._introItems.length>1?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel),!0===this._options.hidePrev?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-hidden")),null!=c&&h(c,"introjs-fullbutton")):null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-disabled"))):this._introItems.length-1===this._currentStep||1===this._introItems.length?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),!0===this._options.hideNext?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-hidden")),null!=l&&h(l,"introjs-fullbutton")):null!=c&&(!0===this._options.nextToDone?(c.innerHTML=this._options.doneLabel,h(c,"".concat(this._options.buttonClass," introjs-nextbutton introjs-donebutton"))):c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-disabled"))):(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel)),null!=l&&l.setAttribute("role","button"),null!=c&&c.setAttribute("role","button"),null!=u&&u.setAttribute("role","button"),null!=c&&c.focus(),f(n),void 0===this._introAfterChangeCallback){e.next=22;break}return e.next=22,this._introAfterChangeCallback.call(this,n.element);case 22:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function F(t){return D.apply(this,arguments)}function D(){return(D=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStep=n-2,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function G(t){return V.apply(this,arguments)}function V(){return(V=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStepNumber=n,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function z(){return W.apply(this,arguments)}function W(){return W=r(t().mark((function e(){var n,r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="forward",void 0!==this._currentStepNumber&&l(this._introItems,(function(t,e){t.step===i._currentStepNumber&&(i._currentStep=e-1,i._currentStepNumber=void 0)})),void 0===this._currentStep?this._currentStep=0:++this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=9;break}return t.next=8,this._introBeforeChangeCallback.call(this,n&&n.element);case 8:r=t.sent;case 9:if(!1!==r){t.next=12;break}return--this._currentStep,t.abrupt("return",!1);case 12:if(!(this._introItems.length<=this._currentStep)){t.next=19;break}if("function"!=typeof this._introCompleteCallback){t.next=16;break}return t.next=16,this._introCompleteCallback.call(this,this._currentStep,"end");case 16:return t.next=18,xt.call(this,this._targetElement);case 18:return t.abrupt("return");case 19:return t.next=21,R.call(this,n);case 21:case"end":return t.stop()}}),e,this)}))),W.apply(this,arguments)}function Y(){return $.apply(this,arguments)}function $(){return $=r(t().mark((function e(){var n,r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="backward",0!==this._currentStep){t.next=3;break}return t.abrupt("return",!1);case 3:if(--this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=10;break}return t.next=9,this._introBeforeChangeCallback.call(this,n&&n.element);case 9:r=t.sent;case 10:if(!1!==r){t.next=13;break}return++this._currentStep,t.abrupt("return",!1);case 13:return t.next=15,R.call(this,n);case 15:case"end":return t.stop()}}),e,this)}))),$.apply(this,arguments)}function Q(){return this._currentStep}function U(t){return X.apply(this,arguments)}function X(){return(X=r(t().mark((function e(n){var r,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(r=void 0===n.code?n.which:n.code)&&(r=null===n.charCode?n.keyCode:n.charCode),"Escape"!==r&&27!==r||!0!==this._options.exitOnEsc){t.next=7;break}return t.next=5,xt.call(this,this._targetElement);case 5:t.next=39;break;case 7:if("ArrowLeft"!==r&&37!==r){t.next=12;break}return t.next=10,Y.call(this);case 10:t.next=39;break;case 12:if("ArrowRight"!==r&&39!==r){t.next=17;break}return t.next=15,z.call(this);case 15:t.next=39;break;case 17:if("Enter"!==r&&"NumpadEnter"!==r&&13!==r){t.next=39;break}if(!(i=n.target||n.srcElement)||!i.className.match("introjs-prevbutton")){t.next=24;break}return t.next=22,Y.call(this);case 22:t.next=38;break;case 24:if(!i||!i.className.match("introjs-skipbutton")){t.next=32;break}if(this._introItems.length-1!==this._currentStep||"function"!=typeof this._introCompleteCallback){t.next=28;break}return t.next=28,this._introCompleteCallback.call(this,this._currentStep,"skip");case 28:return t.next=30,xt.call(this,this._targetElement);case 30:t.next=38;break;case 32:if(!i||!i.getAttribute("data-step-number")){t.next=36;break}i.click(),t.next=38;break;case 36:return t.next=38,z.call(this);case 38:n.preventDefault?n.preventDefault():n.returnValue=!1;case 39:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function J(t){if(null===t||"object"!==e(t)||void 0!==t.nodeType)return t;var n={};for(var r in t)void 0!==window.jQuery&&t[r]instanceof window.jQuery?n[r]=t[r]:n[r]=J(t[r]);return n}function Z(t,e){var n,r=this;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){t.apply(r,o)}),e)}}function K(t){var e=document.querySelector(".introjs-hints");return e?e.querySelectorAll(t):[]}function tt(t){return et.apply(this,arguments)}function et(){return(et=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=K('.introjs-hint[data-step="'.concat(n,'"]'))[0],ft.call(this),r&&h(r,"introjs-hidehint"),void 0===this._hintCloseCallback){t.next=6;break}return t.next=6,this._hintCloseCallback.call(this,n);case 6:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function nt(){var e=this;l(K(".introjs-hint"),function(){var n=r(t().mark((function n(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(e,r.getAttribute("data-step"));case 2:case"end":return t.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}())}function rt(){return it.apply(this,arguments)}function it(){return(it=r(t().mark((function e(){var n,r=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=K(".introjs-hint"))||!n.length){t.next=5;break}l(n,(function(t){ot.call(r,t.getAttribute("data-step"))})),t.next=7;break;case 5:return t.next=7,dt.call(this,this._targetElement);case 7:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ot(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&w(e,/introjs-hidehint/g)}function at(){var t=this;l(K(".introjs-hint"),(function(e){st.call(t,e.getAttribute("data-step"))})),u.off(document,"click",ft,this,!1),u.off(window,"resize",bt,this,!0),this._hintsAutoRefreshFunction&&u.off(window,"scroll",this._hintsAutoRefreshFunction,this,!0)}function st(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&e.parentNode.removeChild(e)}function ct(){return lt.apply(this,arguments)}function lt(){return(lt=r(t().mark((function e(){var n,r,i,o=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this,null===(r=document.querySelector(".introjs-hints"))&&(r=N("div",{className:"introjs-hints"})),i=function(t){return function(e){var r=e||window.event;r.stopPropagation&&r.stopPropagation(),null!==r.cancelBubble&&(r.cancelBubble=!0),ht.call(n,t)}},l(this._introItems,(function(t,e){if(!document.querySelector('.introjs-hint[data-step="'.concat(e,'"]'))){var n=N("a",{className:"introjs-hint"});g(n),n.onclick=i(e),t.hintAnimation||h(n,"introjs-hint-no-anim"),v(t.element)&&h(n,"introjs-fixedhint");var a=N("div",{className:"introjs-hint-dot"}),s=N("div",{className:"introjs-hint-pulse"});n.appendChild(a),n.appendChild(s),n.setAttribute("data-step",e),t.targetElement=t.element,t.element=n,ut.call(o,t.hintPosition,n,t.targetElement),r.appendChild(n)}})),document.body.appendChild(r),void 0===this._hintsAddedCallback){t.next=9;break}return t.next=9,this._hintsAddedCallback.call(this);case 9:this._options.hintAutoRefreshInterval>=0&&(this._hintsAutoRefreshFunction=Z((function(){return bt.call(o)}),this._options.hintAutoRefreshInterval),u.on(window,"scroll",this._hintsAutoRefreshFunction,this,!0));case 10:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ut(t,e,n){var r=e.style,i=y.call(this,n),o=20,a=20;switch(t){default:case"top-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top,"px");break;case"top-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top,"px");break;case"bottom-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"bottom-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"middle-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"bottom-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"top-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top,"px")}}function ht(t){return pt.apply(this,arguments)}function pt(){return(pt=r(t().mark((function e(n){var r,i,o,a,s,c,l,u,h;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=document.querySelector('.introjs-hint[data-step="'.concat(n,'"]')),i=this._introItems[n],void 0===this._hintClickCallback){t.next=5;break}return t.next=5,this._hintClickCallback.call(this,r,i,n);case 5:if(o=ft.call(this),parseInt(o,10)!==n){t.next=8;break}return t.abrupt("return");case 8:a=N("div",{className:"introjs-tooltip"}),s=N("div"),c=N("div"),l=N("div"),a.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},s.className="introjs-tooltiptext",(u=N("p")).innerHTML=i.hint,s.appendChild(u),this._options.hintShowButton&&((h=N("a")).className=this._options.buttonClass,h.setAttribute("role","button"),h.innerHTML=this._options.hintButtonLabel,h.onclick=tt.bind(this,n),s.appendChild(h)),c.className="introjs-arrow",a.appendChild(c),a.appendChild(s),this._currentStep=r.getAttribute("data-step"),l.className="introjs-tooltipReferenceLayer introjs-hintReference",l.setAttribute("data-step",r.getAttribute("data-step")),_.call(this,l),l.appendChild(a),document.body.appendChild(l),A.call(this,r,a,c,!0);case 28:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ft(){var t=document.querySelector(".introjs-hintReference");if(t){var e=t.getAttribute("data-step");return t.parentNode.removeChild(t),e}}function dt(t){return mt.apply(this,arguments)}function mt(){return(mt=r(t().mark((function e(n){var r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._introItems=[],!this._options.hints){t.next=5;break}l(this._options.hints,(function(t){var e=J(t);"string"==typeof e.element&&(e.element=document.querySelector(e.element)),e.hintPosition=e.hintPosition||i._options.hintPosition,e.hintAnimation=e.hintAnimation||i._options.hintAnimation,null!==e.element&&i._introItems.push(e)})),t.next=9;break;case 5:if((r=n.querySelectorAll("*[data-hint]"))&&r.length){t.next=8;break}return t.abrupt("return",!1);case 8:l(r,(function(t){var e=t.getAttribute("data-hint-animation");e=e?"true"===e:i._options.hintAnimation,i._introItems.push({element:t,hint:t.getAttribute("data-hint"),hintPosition:t.getAttribute("data-hint-position")||i._options.hintPosition,hintAnimation:e,tooltipClass:t.getAttribute("data-tooltip-class"),position:t.getAttribute("data-position")||i._options.tooltipPosition})}));case 9:return t.next=11,ct.call(this);case 11:u.on(document,"click",ft,this,!1),u.on(window,"resize",bt,this,!0);case 13:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function bt(){var t=this;l(this._introItems,(function(e){var n=e.targetElement,r=e.hintPosition,i=e.element;void 0!==n&&ut.call(t,r,i,n)}))}function gt(t){var e=this,n=t.querySelectorAll("*[data-intro]"),r=[];if(this._options.steps)l(this._options.steps,(function(t){var n=J(t);if(n.step=r.length+1,n.title=n.title||"","string"==typeof n.element&&(n.element=document.querySelector(n.element)),void 0===n.element||null===n.element){var i=document.querySelector(".introjsFloatingElement");null===i&&(i=N("div",{className:"introjsFloatingElement"}),document.body.appendChild(i)),n.element=i,n.position="floating"}n.position=n.position||e._options.tooltipPosition,n.scrollTo=n.scrollTo||e._options.scrollTo,void 0===n.disableInteraction&&(n.disableInteraction=e._options.disableInteraction),null!==n.element&&r.push(n)}));else{var i;if(n.length<1)return[];l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&"none"!==t.style.display){var n=parseInt(t.getAttribute("data-step"),10);i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,n>0&&(r[n-1]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:parseInt(t.getAttribute("data-step"),10),tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i})}}));var o=0;l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&null===t.getAttribute("data-step")){for(;void 0!==r[o];)o++;i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,r[o]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:o+1,tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i}}}))}for(var a=[],s=0;s<r.length;s++)r[s]&&a.push(r[s]);return(r=a).sort((function(t,e){return t.step-e.step})),r}function vt(t){var e=document.querySelector(".introjs-tooltipReferenceLayer"),n=document.querySelector(".introjs-helperLayer"),r=document.querySelector(".introjs-disableInteraction");if(_.call(this,n),_.call(this,e),_.call(this,r),t&&(this._introItems=gt.call(this,this._targetElement),q.call(this,e,this._introItems[this._currentStep]),H.call(this,e)),void 0!==this._currentStep&&null!==this._currentStep){var i=document.querySelector(".introjs-arrow"),o=document.querySelector(".introjs-tooltip");o&&i&&A.call(this,this._introItems[this._currentStep].element,o,i)}return bt.call(this),this}function yt(){vt.call(this)}function wt(t,e){if(t&&t.parentElement){var n=t.parentElement;e?(x(t,{opacity:"0"}),window.setTimeout((function(){try{n.removeChild(t)}catch(t){}}),500)):n.removeChild(t)}}function xt(t,e){return _t.apply(this,arguments)}function _t(){return(_t=r(t().mark((function e(n,r){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!0,void 0===this._introBeforeExitCallback){t.next=5;break}return t.next=4,this._introBeforeExitCallback.call(this);case 4:i=t.sent;case 5:if(r||!1!==i){t.next=7;break}return t.abrupt("return");case 7:if((o=n.querySelectorAll(".introjs-overlay"))&&o.length&&l(o,(function(t){return wt(t)})),wt(n.querySelector(".introjs-helperLayer"),!0),wt(n.querySelector(".introjs-tooltipReferenceLayer")),wt(n.querySelector(".introjs-disableInteraction")),wt(document.querySelector(".introjsFloatingElement")),E(),u.off(window,"keydown",U,this,!0),u.off(window,"resize",yt,this,!0),void 0===this._introExitCallback){t.next=23;break}return t.next=23,this._introExitCallback.call(this);case 23:this._currentStep=void 0;case 24:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function kt(e){var n=this,i=N("div",{className:"introjs-overlay"});return x(i,{top:0,bottom:0,left:0,right:0,position:"fixed"}),e.appendChild(i),!0===this._options.exitOnOverlayClick&&(x(i,{cursor:"pointer"}),i.onclick=r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,e);case 2:case"end":return t.stop()}}),r)})))),!0}function Ct(t){return St.apply(this,arguments)}function St(){return(St=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isActive()){t.next=2;break}return t.abrupt("return");case 2:if(void 0===this._introStartCallback){t.next=5;break}return t.next=5,this._introStartCallback.call(this,n);case 5:if(0!==(r=gt.call(this,n)).length){t.next=8;break}return t.abrupt("return",!1);case 8:if(this._introItems=r,!kt.call(this,n)){t.next=14;break}return t.next=12,z.call(this);case 12:this._options.keyboardNavigation&&u.on(window,"keydown",U,this,!0),u.on(window,"resize",yt,this,!0);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function jt(t,e,n){var r,o=(i(r={},t,e),i(r,"path","/"),r);if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),o.expires=a.toUTCString()}var s=[];for(var c in o)s.push("".concat(c,"=").concat(o[c]));return document.cookie=s.join("; "),At(t)}function At(t){return(e={},document.cookie.split(";").forEach((function(t){var n=o(t.split("="),2),r=n[0],i=n[1];e[r.trim()]=i})),e)[t];var e}var Et="true";function Nt(t){t?jt(this._options.dontShowAgainCookie,Et,this._options.dontShowAgainCookieDays):jt(this._options.dontShowAgainCookie,"",-1)}function Lt(){var t=At(this._options.dontShowAgainCookie);return t&&t===Et}function Tt(t){this._targetElement=t,this._introItems=[],this._options={isActive:!0,nextLabel:"Next",prevLabel:"Back",skipLabel:"×",doneLabel:"Done",hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",progressBarAdditionalClass:!1,screenPadding:20}}var It=function t(n){var r;if("object"===e(n))r=new Tt(n);else if("string"==typeof n){var i=document.querySelector(n);if(!i)throw new Error("There is no element with given selector.");r=new Tt(i)}else r=new Tt(document.body);return t.instances[c(r,"introjs-instance")]=r,r};return It.instances={},It.fn=Tt.prototype={isActive:function(){return(!this._options.dontShowAgain||!Lt.call(this))&&this._options.isActive},clone:function(){return new Tt(this)},setOption:function(t,e){return this._options[t]=e,this},setOptions:function(t){return this._options=function(t,e){var n,r={};for(n in t)r[n]=t[n];for(n in e)r[n]=e[n];return r}(this._options,t),this},start:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ct.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},goToStep:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,F.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},addStep:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},addSteps:function(t){if(t.length){for(var e=0;e<t.length;e++)this.addStep(t[e]);return this}},goToStepNumber:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,G.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},nextStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,z.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},previousStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},currentStep:function(){return Q.call(this)},exit:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,n._targetElement,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},refresh:function(t){return vt.call(this,t),this},setDontShowAgain:function(t){return Nt.call(this,t),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},onhintsadded:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},onhintclick:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},onhintclose:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},onstart:function(t){if("function"!=typeof t)throw new Error("Provided callback for onstart was not a function.");return this._introStartCallback=t,this},onexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},onskip:function(t){if("function"!=typeof t)throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},onbeforeexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},addHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,dt.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},hideHint:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},hideHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},showHint:function(t){return ot.call(this,t),this},showHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,rt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},removeHints:function(){return at.call(this),this},removeHint:function(t){return st().call(this,t),this},showHintDialog:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ht.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()}},It}));
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).introJs=e()}(this,(function(){"use strict";function t(){t=function(){return e};var e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),s=new j(r||[]);return i(a,"_invoke",{value:_(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p={};function f(){}function d(){}function m(){}var b={};l(b,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(A([])));v&&v!==n&&r.call(v,a)&&(b=v);var y=m.prototype=f.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function n(i,o,a,s){var c=h(t[i],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function k(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,p;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=m,i(y,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:d,configurable:!0}),d.displayName=l(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},e.awrap=function(t){return{__await:t}},w(x.prototype),l(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(y),l(y,c,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=A,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)}))}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,c=(s={},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"introjs-stamp";return s[e]=s[e]||0,void 0===t[e]&&(t[e]=s[e]++),t[e]});function l(t,e,n){if(t)for(var r=0,i=t.length;r<i;r++)e(t[r],r);"function"==typeof n&&n()}var u=new function(){var t="introjs_event";this._id=function(t,e,n,r){return e+c(n)+(r?"_".concat(c(r)):"")},this.on=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=function(t){return r.call(i||e,t||window.event)};"addEventListener"in e?e.addEventListener(n,s,o):"attachEvent"in e&&e.attachEvent("on".concat(n),s),e[t]=e[t]||{},e[t][a]=s},this.off=function(e,n,r,i,o){var a=this._id.apply(this,arguments),s=e[t]&&e[t][a];s&&("removeEventListener"in e?e.removeEventListener(n,s,o):"detachEvent"in e&&e.detachEvent("on".concat(n),s),e[t][a]=null)}};function h(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";n.match(e)||t.setAttribute("class","".concat(n," ").concat(e))}else{if(void 0!==t.classList)l(e.split(" "),(function(e){t.classList.add(e)}));else t.className.match(e)||(t.className+=" ".concat(e))}}function p(t,e){var n="";return t.currentStyle?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function f(t){var e=t.element;h(e,"introjs-showElement");var n=p(e,"position");"absolute"!==n&&"relative"!==n&&"sticky"!==n&&"fixed"!==n&&h(e,"introjs-relativePosition")}function d(t){var e=t.element;if(this._options.scrollToElement){var n=function(t){var e=window.getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var i=t;i=i.parentElement;)if(e=window.getComputedStyle(i),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function m(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function b(t,e,n){var r,i=e.element;if("off"!==t&&(this._options.scrollToElement&&(r="tooltip"===t?n.getBoundingClientRect():i.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(i)))){var o=m().height;r.bottom-(r.bottom-r.top)<0||i.clientHeight>o?window.scrollBy(0,r.top-(o/2-r.height/2)-this._options.scrollPadding):window.scrollBy(0,r.top-(o/2-r.height/2)+this._options.scrollPadding)}}function g(t){t.setAttribute("role","button"),t.tabIndex=0}function v(t){var e=t.parentNode;return!(!e||"HTML"===e.nodeName)&&("fixed"===p(t,"position")||v(e))}function y(t,e){var n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft;e=e||n;var a=t.getBoundingClientRect(),s=e.getBoundingClientRect(),c=p(e,"position"),l={width:a.width,height:a.height};return"body"!==e.tagName.toLowerCase()&&"relative"===c||"sticky"===c?Object.assign(l,{top:a.top-s.top,left:a.left-s.left}):v(t)?Object.assign(l,{top:a.top,left:a.left}):Object.assign(l,{top:a.top+i,left:a.left+o})}function w(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function x(t,e){var n="";if(t.style.cssText&&(n+=t.style.cssText),"string"==typeof e)n+=e;else for(var r in e)n+="".concat(r,":").concat(e[r],";");t.style.cssText=n}function _(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introItems[this._currentStep],n=y(e.element,this._targetElement),r=this._options.helperElementPadding;v(e.element)?h(t,"introjs-fixedTooltip"):w(t,"introjs-fixedTooltip"),"floating"===e.position&&(r=0),x(t,{width:"".concat(n.width+r,"px"),height:"".concat(n.height+r,"px"),top:"".concat(n.top-r/2,"px"),left:"".concat(n.left-r/2,"px")})}}function k(t,e,n,r,i){return t.left+e+n.width>r.width?(i.style.left="".concat(r.width-n.width-t.left,"px"),!1):(i.style.left="".concat(e,"px"),!0)}function C(t,e,n,r){return t.left+t.width-e-n.width<0?(r.style.left="".concat(-t.left,"px"),!1):(r.style.right="".concat(e,"px"),!0)}function S(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function j(t,e,n){var r=this._options.positionPrecedence.slice(),i=this._options.screenPadding,o=m(),a=y(e).height+10+2*i,s=y(e).width+10+2*i,c=t.getBoundingClientRect(),l="floating";c.bottom+a>o.height&&S(r,"bottom"),c.top-a<0&&S(r,"top"),c.right+s>o.width&&S(r,"right"),c.left-s<0&&S(r,"left");var u,h,p=-1!==(h=(u=n||"").indexOf("-"))?u.substr(h):"";return n&&(n=n.split("-")[0]),r.length&&(l=r.includes(n)?n:r[0]),["top","bottom"].includes(l)&&(l+=function(t,e,n,r){var i=n.width,o=e/2,a=Math.min(i,window.screen.width),s=["-left-aligned","-middle-aligned","-right-aligned"];return a-t<e&&S(s,"-left-aligned"),(t<o||a-t<o)&&S(s,"-middle-aligned"),t<e&&S(s,"-right-aligned"),s.length?s.includes(r)?r:s[0]:"-middle-aligned"}(c.left,s,o,p)),l}function A(t,e,n,r){var i,o,a,s,c,l="";if(r=r||!1,e.style.top=null,e.style.right=null,e.style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=null,n.style.display="inherit",this._introItems[this._currentStep]){l="string"==typeof(i=this._introItems[this._currentStep]).tooltipClass?i.tooltipClass:this._options.tooltipClass,e.className=["introjs-tooltip",l].filter(Boolean).join(" "),e.setAttribute("role","dialog"),"floating"!==(c=this._introItems[this._currentStep].position)&&this._options.autoPosition&&(c=j.call(this,t,e,c)),a=y(t),o=y(e),s=m(),h(e,"introjs-".concat(c));var u=a.width/2-o.width/2;switch(c){case"top-right-aligned":n.className="introjs-arrow bottom-right";var p=0;C(a,p,o,e),e.style.bottom="".concat(a.height+20,"px");break;case"top-middle-aligned":n.className="introjs-arrow bottom-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.bottom="".concat(a.height+20,"px");break;case"top-left-aligned":case"top":n.className="introjs-arrow bottom",k(a,r?0:15,o,s,e),e.style.bottom="".concat(a.height+20,"px");break;case"right":e.style.left="".concat(a.width+20,"px"),a.top+o.height>s.height?(n.className="introjs-arrow left-bottom",e.style.top="-".concat(o.height-a.height-20,"px")):n.className="introjs-arrow left";break;case"left":r||!0!==this._options.showStepNumbers||(e.style.top="15px"),a.top+o.height>s.height?(e.style.top="-".concat(o.height-a.height-20,"px"),n.className="introjs-arrow right-bottom"):n.className="introjs-arrow right",e.style.right="".concat(a.width+20,"px");break;case"floating":n.style.display="none",e.style.left="50%",e.style.top="50%",e.style.marginLeft="-".concat(o.width/2,"px"),e.style.marginTop="-".concat(o.height/2,"px");break;case"bottom-right-aligned":n.className="introjs-arrow top-right",C(a,p=0,o,e),e.style.top="".concat(a.height+20,"px");break;case"bottom-middle-aligned":n.className="introjs-arrow top-middle",r&&(u+=5),C(a,u,o,e)&&(e.style.right=null,k(a,u,o,s,e)),e.style.top="".concat(a.height+20,"px");break;default:n.className="introjs-arrow top",k(a,0,o,s,e),e.style.top="".concat(a.height+20,"px")}}}function E(){l(document.querySelectorAll(".introjs-showElement"),(function(t){w(t,/introjs-[a-zA-Z]+/g)}))}function N(t,e){var n=document.createElement(t);e=e||{};var r=/^(?:role|data-|aria-)/;for(var i in e){var o=e[i];"style"===i?x(n,o):i.match(r)?n.setAttribute(i,o):n[i]=o}return n}function L(t,e,n){if(n){var r=e.style.opacity||"1";x(e,{opacity:"0"}),window.setTimeout((function(){x(e,{opacity:r})}),10)}t.appendChild(e)}function T(){return parseInt(this._currentStep+1,10)/this._introItems.length*100}function I(){var t=document.querySelector(".introjs-disableInteraction");null===t&&(t=N("div",{className:"introjs-disableInteraction"}),this._targetElement.appendChild(t)),_.call(this,t)}function P(t){var e=this,n=N("div",{className:"introjs-bullets"});!1===this._options.showBullets&&(n.style.display="none");var r=N("ul");r.setAttribute("role","tablist");var i=function(){e.goToStep(this.getAttribute("data-step-number"))};return l(this._introItems,(function(e,n){var o=e.step,a=N("li"),s=N("a");a.setAttribute("role","presentation"),s.setAttribute("role","tab"),s.onclick=i,n===t.step-1&&(s.className="active"),g(s),s.innerHTML="&nbsp;",s.setAttribute("data-step-number",o),a.appendChild(s),r.appendChild(a)})),n.appendChild(r),n}function q(t,e){if(this._options.showBullets){var n=document.querySelector(".introjs-bullets");n&&n.parentNode.replaceChild(P.call(this,e),n)}}function O(t,e){this._options.showBullets&&(t.querySelector(".introjs-bullets li > a.active").className="",t.querySelector('.introjs-bullets li > a[data-step-number="'.concat(e.step,'"]')).className="active")}function B(){var t=N("div");t.className="introjs-progress",!1===this._options.showProgress&&(t.style.display="none");var e=N("div",{className:"introjs-progressbar"});return this._options.progressBarAdditionalClass&&(e.className+=" "+this._options.progressBarAdditionalClass),e.setAttribute("role","progress"),e.setAttribute("aria-valuemin",0),e.setAttribute("aria-valuemax",100),e.setAttribute("aria-valuenow",T.call(this)),e.style.cssText="width:".concat(T.call(this),"%;"),t.appendChild(e),t}function H(t){t.querySelector(".introjs-progress .introjs-progressbar").style.cssText="width:".concat(T.call(this),"%;"),t.querySelector(".introjs-progress .introjs-progressbar").setAttribute("aria-valuenow",T.call(this))}function R(t){return M.apply(this,arguments)}function M(){return(M=r(t().mark((function e(n){var i,o,a,s,c,l,u,p,m,v,y,w,k,C,S,j,T,q,R,M,D,F,G,V,W,$=this;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===this._introChangeCallback){e.next=3;break}return e.next=3,this._introChangeCallback.call(this,n.element);case 3:if(i=this,o=document.querySelector(".introjs-helperLayer"),a=document.querySelector(".introjs-tooltipReferenceLayer"),s="introjs-helperLayer","string"==typeof n.highlightClass&&(s+=" ".concat(n.highlightClass)),"string"==typeof this._options.highlightClass&&(s+=" ".concat(this._options.highlightClass)),null!==o&&null!==a?(p=a.querySelector(".introjs-helperNumberLayer"),m=a.querySelector(".introjs-tooltiptext"),v=a.querySelector(".introjs-tooltip-title"),y=a.querySelector(".introjs-arrow"),w=a.querySelector(".introjs-tooltip"),u=a.querySelector(".introjs-skipbutton"),l=a.querySelector(".introjs-prevbutton"),c=a.querySelector(".introjs-nextbutton"),o.className=s,w.style.opacity=0,w.style.display="none",d.call(i,n),_.call(i,o),_.call(i,a),E(),i._lastShowElementTimer&&window.clearTimeout(i._lastShowElementTimer),i._lastShowElementTimer=window.setTimeout((function(){null!==p&&(p.innerHTML="".concat(n.step," ").concat($._options.stepNumbersOfLabel," ").concat($._introItems.length)),m.innerHTML=n.intro,v.innerHTML=n.title,w.style.display="block",A.call(i,n.element,w,y),O.call(i,a,n),H.call(i,a),w.style.opacity=1,(null!=c&&/introjs-donebutton/gi.test(c.className)||null!=c)&&c.focus(),b.call(i,n.scrollTo,n,m)}),350)):(k=N("div",{className:s}),C=N("div",{className:"introjs-tooltipReferenceLayer"}),S=N("div",{className:"introjs-arrow"}),j=N("div",{className:"introjs-tooltip"}),T=N("div",{className:"introjs-tooltiptext"}),q=N("div",{className:"introjs-tooltip-header"}),R=N("h1",{className:"introjs-tooltip-title"}),M=N("div"),x(k,{"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(i._options.overlayOpacity.toString(),") 0 0 0 5000px")}),d.call(i,n),_.call(i,k),_.call(i,C),L(this._targetElement,k,!0),L(this._targetElement,C),T.innerHTML=n.intro,R.innerHTML=n.title,M.className="introjs-tooltipbuttons",!1===this._options.showButtons&&(M.style.display="none"),q.appendChild(R),j.appendChild(q),j.appendChild(T),this._options.dontShowAgain&&(D=N("div",{className:"introjs-dontShowAgain"}),(F=N("input",{type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain"})).onchange=function(t){$.setDontShowAgain(t.target.checked)},(G=N("label",{htmlFor:"introjs-dontShowAgain"})).innerText=this._options.dontShowAgainLabel,D.appendChild(F),D.appendChild(G),j.appendChild(D)),j.appendChild(P.call(this,n)),j.appendChild(B.call(this)),V=N("div"),!0===this._options.showStepNumbers&&(V.className="introjs-helperNumberLayer",V.innerHTML="".concat(n.step," ").concat(this._options.stepNumbersOfLabel," ").concat(this._introItems.length),j.appendChild(V)),j.appendChild(S),C.appendChild(j),(c=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i._introItems.length-1===i._currentStep){t.next=6;break}return $._options.onClickNext(),t.next=4,z.call(i);case 4:t.next=13;break;case 6:if(!/introjs-donebutton/gi.test(c.className)){t.next=13;break}if($._options.onClickDone(),"function"!=typeof i._introCompleteCallback){t.next=11;break}return t.next=11,i._introCompleteCallback.call(i,i._currentStep,"done");case 11:return t.next=13,xt.call(i,i._targetElement);case 13:case"end":return t.stop()}}),e)}))),g(c),c.innerHTML=this._options.nextLabel,(l=N("a")).onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if($._options.onClickPrev(),0===i._currentStep){t.next=4;break}return t.next=4,Y.call(i);case 4:case"end":return t.stop()}}),e)}))),g(l),l.innerHTML=this._options.prevLabel,g(u=N("a",{className:"introjs-skipbutton"})),u.innerHTML=this._options.skipLabel,u.onclick=r(t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if($._options.onClickSkip(),i._introItems.length-1!==i._currentStep||"function"!=typeof i._introCompleteCallback){t.next=4;break}return t.next=4,i._introCompleteCallback.call(i,i._currentStep,"skip");case 4:if("function"!=typeof i._introSkipCallback){t.next=7;break}return t.next=7,i._introSkipCallback.call(i);case 7:return t.next=9,xt.call(i,i._targetElement);case 9:case"end":return t.stop()}}),e)}))),q.appendChild(u),this._introItems.length>1&&M.appendChild(l),M.appendChild(c),j.appendChild(M),A.call(i,n.element,j,S),b.call(this,n.scrollTo,n,j)),(W=i._targetElement.querySelector(".introjs-disableInteraction"))&&W.parentNode.removeChild(W),n.disableInteraction&&I.call(i),0===this._currentStep&&this._introItems.length>1?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel),!0===this._options.hidePrev?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-hidden")),null!=c&&h(c,"introjs-fullbutton")):null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton introjs-disabled"))):this._introItems.length-1===this._currentStep||1===this._introItems.length?(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),!0===this._options.hideNext?(null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-hidden")),null!=l&&h(l,"introjs-fullbutton")):null!=c&&(!0===this._options.nextToDone?(c.innerHTML=this._options.doneLabel,h(c,"".concat(this._options.buttonClass," introjs-nextbutton introjs-donebutton"))):c.className="".concat(this._options.buttonClass," introjs-nextbutton introjs-disabled"))):(null!=l&&(l.className="".concat(this._options.buttonClass," introjs-prevbutton")),null!=c&&(c.className="".concat(this._options.buttonClass," introjs-nextbutton"),c.innerHTML=this._options.nextLabel)),null!=l&&l.setAttribute("role","button"),null!=c&&c.setAttribute("role","button"),null!=u&&u.setAttribute("role","button"),null!=c&&c.focus(),f(n),void 0===this._introAfterChangeCallback){e.next=22;break}return e.next=22,this._introAfterChangeCallback.call(this,n.element);case 22:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function D(t){return F.apply(this,arguments)}function F(){return(F=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStep=n-2,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function G(t){return V.apply(this,arguments)}function V(){return(V=r(t().mark((function e(n){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._currentStepNumber=n,void 0===this._introItems){t.next=4;break}return t.next=4,z.call(this);case 4:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function z(){return W.apply(this,arguments)}function W(){return W=r(t().mark((function e(){var n,r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="forward",void 0!==this._currentStepNumber&&l(this._introItems,(function(t,e){t.step===i._currentStepNumber&&(i._currentStep=e-1,i._currentStepNumber=void 0)})),void 0===this._currentStep?this._currentStep=0:++this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=9;break}return t.next=8,this._introBeforeChangeCallback.call(this,n&&n.element);case 8:r=t.sent;case 9:if(!1!==r){t.next=12;break}return--this._currentStep,t.abrupt("return",!1);case 12:if(!(this._introItems.length<=this._currentStep)){t.next=19;break}if("function"!=typeof this._introCompleteCallback){t.next=16;break}return t.next=16,this._introCompleteCallback.call(this,this._currentStep,"end");case 16:return t.next=18,xt.call(this,this._targetElement);case 18:return t.abrupt("return");case 19:return t.next=21,R.call(this,n);case 21:case"end":return t.stop()}}),e,this)}))),W.apply(this,arguments)}function Y(){return $.apply(this,arguments)}function $(){return $=r(t().mark((function e(){var n,r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._direction="backward",0!==this._currentStep){t.next=3;break}return t.abrupt("return",!1);case 3:if(--this._currentStep,n=this._introItems[this._currentStep],r=!0,void 0===this._introBeforeChangeCallback){t.next=10;break}return t.next=9,this._introBeforeChangeCallback.call(this,n&&n.element);case 9:r=t.sent;case 10:if(!1!==r){t.next=13;break}return++this._currentStep,t.abrupt("return",!1);case 13:return t.next=15,R.call(this,n);case 15:case"end":return t.stop()}}),e,this)}))),$.apply(this,arguments)}function Q(){return this._currentStep}function U(t){return X.apply(this,arguments)}function X(){return(X=r(t().mark((function e(n){var r,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(r=void 0===n.code?n.which:n.code)&&(r=null===n.charCode?n.keyCode:n.charCode),"Escape"!==r&&27!==r||!0!==this._options.exitOnEsc){t.next=7;break}return t.next=5,xt.call(this,this._targetElement);case 5:t.next=39;break;case 7:if("ArrowLeft"!==r&&37!==r){t.next=12;break}return t.next=10,Y.call(this);case 10:t.next=39;break;case 12:if("ArrowRight"!==r&&39!==r){t.next=17;break}return t.next=15,z.call(this);case 15:t.next=39;break;case 17:if("Enter"!==r&&"NumpadEnter"!==r&&13!==r){t.next=39;break}if(!(i=n.target||n.srcElement)||!i.className.match("introjs-prevbutton")){t.next=24;break}return t.next=22,Y.call(this);case 22:t.next=38;break;case 24:if(!i||!i.className.match("introjs-skipbutton")){t.next=32;break}if(this._introItems.length-1!==this._currentStep||"function"!=typeof this._introCompleteCallback){t.next=28;break}return t.next=28,this._introCompleteCallback.call(this,this._currentStep,"skip");case 28:return t.next=30,xt.call(this,this._targetElement);case 30:t.next=38;break;case 32:if(!i||!i.getAttribute("data-step-number")){t.next=36;break}i.click(),t.next=38;break;case 36:return t.next=38,z.call(this);case 38:n.preventDefault?n.preventDefault():n.returnValue=!1;case 39:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function J(t){if(null===t||"object"!==e(t)||void 0!==t.nodeType)return t;var n={};for(var r in t)void 0!==window.jQuery&&t[r]instanceof window.jQuery?n[r]=t[r]:n[r]=J(t[r]);return n}function Z(t,e){var n,r=this;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){t.apply(r,o)}),e)}}function K(t){var e=document.querySelector(".introjs-hints");return e?e.querySelectorAll(t):[]}function tt(t){return et.apply(this,arguments)}function et(){return(et=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=K('.introjs-hint[data-step="'.concat(n,'"]'))[0],ft.call(this),r&&h(r,"introjs-hidehint"),void 0===this._hintCloseCallback){t.next=6;break}return t.next=6,this._hintCloseCallback.call(this,n);case 6:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function nt(){var e=this;l(K(".introjs-hint"),function(){var n=r(t().mark((function n(r){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(e,r.getAttribute("data-step"));case 2:case"end":return t.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}())}function rt(){return it.apply(this,arguments)}function it(){return(it=r(t().mark((function e(){var n,r=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=K(".introjs-hint"))||!n.length){t.next=5;break}l(n,(function(t){ot.call(r,t.getAttribute("data-step"))})),t.next=7;break;case 5:return t.next=7,dt.call(this,this._targetElement);case 7:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ot(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&w(e,/introjs-hidehint/g)}function at(){var t=this;l(K(".introjs-hint"),(function(e){st.call(t,e.getAttribute("data-step"))})),u.off(document,"click",ft,this,!1),u.off(window,"resize",bt,this,!0),this._hintsAutoRefreshFunction&&u.off(window,"scroll",this._hintsAutoRefreshFunction,this,!0)}function st(t){var e=K('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&e.parentNode.removeChild(e)}function ct(){return lt.apply(this,arguments)}function lt(){return(lt=r(t().mark((function e(){var n,r,i,o=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this,null===(r=document.querySelector(".introjs-hints"))&&(r=N("div",{className:"introjs-hints"})),i=function(t){return function(e){var r=e||window.event;r.stopPropagation&&r.stopPropagation(),null!==r.cancelBubble&&(r.cancelBubble=!0),ht.call(n,t)}},l(this._introItems,(function(t,e){if(!document.querySelector('.introjs-hint[data-step="'.concat(e,'"]'))){var n=N("a",{className:"introjs-hint"});g(n),n.onclick=i(e),t.hintAnimation||h(n,"introjs-hint-no-anim"),v(t.element)&&h(n,"introjs-fixedhint");var a=N("div",{className:"introjs-hint-dot"}),s=N("div",{className:"introjs-hint-pulse"});n.appendChild(a),n.appendChild(s),n.setAttribute("data-step",e),t.targetElement=t.element,t.element=n,ut.call(o,t.hintPosition,n,t.targetElement),r.appendChild(n)}})),document.body.appendChild(r),void 0===this._hintsAddedCallback){t.next=9;break}return t.next=9,this._hintsAddedCallback.call(this);case 9:this._options.hintAutoRefreshInterval>=0&&(this._hintsAutoRefreshFunction=Z((function(){return bt.call(o)}),this._options.hintAutoRefreshInterval),u.on(window,"scroll",this._hintsAutoRefreshFunction,this,!0));case 10:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ut(t,e,n){var r=e.style,i=y.call(this,n),o=20,a=20;switch(t){default:case"top-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top,"px");break;case"top-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top,"px");break;case"bottom-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"bottom-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"middle-left":r.left="".concat(i.left,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-right":r.left="".concat(i.left+i.width-o,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"middle-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+(i.height-a)/2,"px");break;case"bottom-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top+i.height-a,"px");break;case"top-middle":r.left="".concat(i.left+(i.width-o)/2,"px"),r.top="".concat(i.top,"px")}}function ht(t){return pt.apply(this,arguments)}function pt(){return(pt=r(t().mark((function e(n){var r,i,o,a,s,c,l,u,h;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=document.querySelector('.introjs-hint[data-step="'.concat(n,'"]')),i=this._introItems[n],void 0===this._hintClickCallback){t.next=5;break}return t.next=5,this._hintClickCallback.call(this,r,i,n);case 5:if(o=ft.call(this),parseInt(o,10)!==n){t.next=8;break}return t.abrupt("return");case 8:a=N("div",{className:"introjs-tooltip"}),s=N("div"),c=N("div"),l=N("div"),a.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},s.className="introjs-tooltiptext",(u=N("p")).innerHTML=i.hint,s.appendChild(u),this._options.hintShowButton&&((h=N("a")).className=this._options.buttonClass,h.setAttribute("role","button"),h.innerHTML=this._options.hintButtonLabel,h.onclick=tt.bind(this,n),s.appendChild(h)),c.className="introjs-arrow",a.appendChild(c),a.appendChild(s),this._currentStep=r.getAttribute("data-step"),l.className="introjs-tooltipReferenceLayer introjs-hintReference",l.setAttribute("data-step",r.getAttribute("data-step")),_.call(this,l),l.appendChild(a),document.body.appendChild(l),A.call(this,r,a,c,!0);case 28:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function ft(){var t=document.querySelector(".introjs-hintReference");if(t){var e=t.getAttribute("data-step");return t.parentNode.removeChild(t),e}}function dt(t){return mt.apply(this,arguments)}function mt(){return(mt=r(t().mark((function e(n){var r,i=this;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._introItems=[],!this._options.hints){t.next=5;break}l(this._options.hints,(function(t){var e=J(t);"string"==typeof e.element&&(e.element=document.querySelector(e.element)),e.hintPosition=e.hintPosition||i._options.hintPosition,e.hintAnimation=e.hintAnimation||i._options.hintAnimation,null!==e.element&&i._introItems.push(e)})),t.next=9;break;case 5:if((r=n.querySelectorAll("*[data-hint]"))&&r.length){t.next=8;break}return t.abrupt("return",!1);case 8:l(r,(function(t){var e=t.getAttribute("data-hint-animation");e=e?"true"===e:i._options.hintAnimation,i._introItems.push({element:t,hint:t.getAttribute("data-hint"),hintPosition:t.getAttribute("data-hint-position")||i._options.hintPosition,hintAnimation:e,tooltipClass:t.getAttribute("data-tooltip-class"),position:t.getAttribute("data-position")||i._options.tooltipPosition})}));case 9:return t.next=11,ct.call(this);case 11:u.on(document,"click",ft,this,!1),u.on(window,"resize",bt,this,!0);case 13:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function bt(){var t=this;l(this._introItems,(function(e){var n=e.targetElement,r=e.hintPosition,i=e.element;void 0!==n&&ut.call(t,r,i,n)}))}function gt(t){var e=this,n=t.querySelectorAll("*[data-intro]"),r=[];if(this._options.steps)l(this._options.steps,(function(t){var n=J(t);if(n.step=r.length+1,n.title=n.title||"","string"==typeof n.element&&(n.element=document.querySelector(n.element)),void 0===n.element||null===n.element){var i=document.querySelector(".introjsFloatingElement");null===i&&(i=N("div",{className:"introjsFloatingElement"}),document.body.appendChild(i)),n.element=i,n.position="floating"}n.position=n.position||e._options.tooltipPosition,n.scrollTo=n.scrollTo||e._options.scrollTo,void 0===n.disableInteraction&&(n.disableInteraction=e._options.disableInteraction),null!==n.element&&r.push(n)}));else{var i;if(n.length<1)return[];l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&"none"!==t.style.display){var n=parseInt(t.getAttribute("data-step"),10);i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,n>0&&(r[n-1]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:parseInt(t.getAttribute("data-step"),10),tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i})}}));var o=0;l(n,(function(t){if((!e._options.group||t.getAttribute("data-intro-group")===e._options.group)&&null===t.getAttribute("data-step")){for(;void 0!==r[o];)o++;i=t.hasAttribute("data-disable-interaction")?!!t.getAttribute("data-disable-interaction"):e._options.disableInteraction,r[o]={element:t,title:t.getAttribute("data-title")||"",intro:t.getAttribute("data-intro"),step:o+1,tooltipClass:t.getAttribute("data-tooltip-class"),highlightClass:t.getAttribute("data-highlight-class"),position:t.getAttribute("data-position")||e._options.tooltipPosition,scrollTo:t.getAttribute("data-scroll-to")||e._options.scrollTo,disableInteraction:i}}}))}for(var a=[],s=0;s<r.length;s++)r[s]&&a.push(r[s]);return(r=a).sort((function(t,e){return t.step-e.step})),r}function vt(t){var e=document.querySelector(".introjs-tooltipReferenceLayer"),n=document.querySelector(".introjs-helperLayer"),r=document.querySelector(".introjs-disableInteraction");if(_.call(this,n),_.call(this,e),_.call(this,r),t&&(this._introItems=gt.call(this,this._targetElement),q.call(this,e,this._introItems[this._currentStep]),H.call(this,e)),void 0!==this._currentStep&&null!==this._currentStep){var i=document.querySelector(".introjs-arrow"),o=document.querySelector(".introjs-tooltip");o&&i&&A.call(this,this._introItems[this._currentStep].element,o,i)}return bt.call(this),this}function yt(){vt.call(this)}function wt(t,e){if(t&&t.parentElement){var n=t.parentElement;e?(x(t,{opacity:"0"}),window.setTimeout((function(){try{n.removeChild(t)}catch(t){}}),500)):n.removeChild(t)}}function xt(t,e){return _t.apply(this,arguments)}function _t(){return(_t=r(t().mark((function e(n,r){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!0,void 0===this._introBeforeExitCallback){t.next=5;break}return t.next=4,this._introBeforeExitCallback.call(this);case 4:i=t.sent;case 5:if(r||!1!==i){t.next=7;break}return t.abrupt("return");case 7:if((o=n.querySelectorAll(".introjs-overlay"))&&o.length&&l(o,(function(t){return wt(t)})),wt(n.querySelector(".introjs-helperLayer"),!0),wt(n.querySelector(".introjs-tooltipReferenceLayer")),wt(n.querySelector(".introjs-disableInteraction")),wt(document.querySelector(".introjsFloatingElement")),E(),u.off(window,"keydown",U,this,!0),u.off(window,"resize",yt,this,!0),void 0===this._introExitCallback){t.next=23;break}return t.next=23,this._introExitCallback.call(this);case 23:this._currentStep=void 0;case 24:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function kt(e){var n=this,i=N("div",{className:"introjs-overlay"});return x(i,{top:0,bottom:0,left:0,right:0,position:"fixed"}),e.appendChild(i),!0===this._options.exitOnOverlayClick&&(x(i,{cursor:"pointer"}),i.onclick=r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,e);case 2:case"end":return t.stop()}}),r)})))),!0}function Ct(t){return St.apply(this,arguments)}function St(){return(St=r(t().mark((function e(n){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isActive()){t.next=2;break}return t.abrupt("return");case 2:if(void 0===this._introStartCallback){t.next=5;break}return t.next=5,this._introStartCallback.call(this,n);case 5:if(0!==(r=gt.call(this,n)).length){t.next=8;break}return t.abrupt("return",!1);case 8:if(this._introItems=r,!kt.call(this,n)){t.next=14;break}return t.next=12,z.call(this);case 12:this._options.keyboardNavigation&&u.on(window,"keydown",U,this,!0),u.on(window,"resize",yt,this,!0);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),e,this)})))).apply(this,arguments)}function jt(t,e,n){var r,o=(i(r={},t,e),i(r,"path","/"),r);if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),o.expires=a.toUTCString()}var s=[];for(var c in o)s.push("".concat(c,"=").concat(o[c]));return document.cookie=s.join("; "),At(t)}function At(t){return(e={},document.cookie.split(";").forEach((function(t){var n=o(t.split("="),2),r=n[0],i=n[1];e[r.trim()]=i})),e)[t];var e}var Et="true";function Nt(t){t?jt(this._options.dontShowAgainCookie,Et,this._options.dontShowAgainCookieDays):jt(this._options.dontShowAgainCookie,"",-1)}function Lt(){var t=At(this._options.dontShowAgainCookie);return t&&t===Et}function Tt(t){this._targetElement=t,this._introItems=[],this._options={isActive:!0,nextLabel:"Next",onClickNext:function(){},prevLabel:"Back",onClickPrev:function(){},skipLabel:"×",onClickSkip:function(){},doneLabel:"Done",onClickDone:function(){},hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",progressBarAdditionalClass:!1,screenPadding:20}}var It=function t(n){var r;if("object"===e(n))r=new Tt(n);else if("string"==typeof n){var i=document.querySelector(n);if(!i)throw new Error("There is no element with given selector.");r=new Tt(i)}else r=new Tt(document.body);return t.instances[c(r,"introjs-instance")]=r,r};return It.instances={},It.fn=Tt.prototype={isActive:function(){return(!this._options.dontShowAgain||!Lt.call(this))&&this._options.isActive},clone:function(){return new Tt(this)},setOption:function(t,e){return this._options[t]=e,this},setOptions:function(t){return this._options=function(t,e){var n,r={};for(n in t)r[n]=t[n];for(n in e)r[n]=e[n];return r}(this._options,t),this},start:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ct.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},goToStep:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,D.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},addStep:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},addSteps:function(t){if(t.length){for(var e=0;e<t.length;e++)this.addStep(t[e]);return this}},goToStepNumber:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,G.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},nextStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,z.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},previousStep:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},currentStep:function(){return Q.call(this)},exit:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xt.call(n,n._targetElement,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},refresh:function(t){return vt.call(this,t),this},setDontShowAgain:function(t){return Nt.call(this,t),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},onhintsadded:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},onhintclick:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},onhintclose:function(t){if("function"!=typeof t)throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},onstart:function(t){if("function"!=typeof t)throw new Error("Provided callback for onstart was not a function.");return this._introStartCallback=t,this},onexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},onskip:function(t){if("function"!=typeof t)throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},onbeforeexit:function(t){if("function"!=typeof t)throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},addHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,dt.call(e,e._targetElement);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},hideHint:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tt.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()},hideHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},showHint:function(t){return ot.call(this,t),this},showHints:function(){var e=this;return r(t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,rt.call(e);case 2:return t.abrupt("return",e);case 3:case"end":return t.stop()}}),n)})))()},removeHints:function(){return at.call(this),this},removeHint:function(t){return st().call(this,t),this},showHintDialog:function(e){var n=this;return r(t().mark((function r(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ht.call(n,e);case 2:return t.abrupt("return",n);case 3:case"end":return t.stop()}}),r)})))()}},It}));
//# sourceMappingURL=intro.min.js.map
{
"name": "@yurii.avice/intro.js",
"version": "6.0.3",
"description": "User Onboarding and Product Walkthrough Library(Fork)",
"version": "6.0.4",
"description": "User Onboarding and Product Walkthrough Library",
"keywords": [

@@ -6,0 +6,0 @@ "onboarding",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc