/*! * Intro.js v8.3.1 * https://introjs.com * * Copyright (C) 2012-2025 Afshin Mehrabani (@afshinmeh). * https://introjs.com * * Date: Sun, 06 Jul 2025 09:03:05 GMT */ function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function a(t){var e=u();return function(){var n,r=l(t);if(e){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function s(t,e,n){return(e=m(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(u=function(){return!!t})()}function c(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function f(){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 h(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function d(){d=function(){return e};var t,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",l=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),s=new j(r||[]);return i(a,"_invoke",{value:O(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=c;var h="suspendedStart",v="executing",p="completed",g={};function b(){}function m(){}function y(){}var w={};u(w,a,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(L([])));x&&x!==n&&r.call(x,a)&&(w=x);var S=y.prototype=b.prototype=Object.create(w);function C(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(i,o,a,s){var l=f(t[i],t,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==typeof c&&r.call(c,"__await")?e.resolve(c.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(c).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(l.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 O(e,n,r){var i=h;return function(o,a){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=E(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=v;var u=f(e,n,r);if("normal"===u.type){if(i=r.done?p:"suspendedYield",u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=p,r.method="throw",r.arg=u.arg)}}}function E(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=f(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function A(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 P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),g}},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;P(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}function p(t,n){return e(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,n)||w(t,n)||f()}function g(t){return e(t)||c(t)||w(t)||f()}function b(e){return function(e){if(Array.isArray(e))return t(e)}(e)||c(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function y(t){return y="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},y(t)}function w(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}function k(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i0){var r,i=o(n);try{for(i.s();!(r=i.n()).done;){var a=S(r.value);"string"==typeof a.element&&(a.element=C(a.element)),a.hintPosition=a.hintPosition||t.getOption("hintPosition"),a.hintAnimation=a.hintAnimation||t.getOption("hintAnimation"),null!==a.element&&t.addHint(a)}}catch(t){i.e(t)}finally{i.f()}}else{var s=Array.from(_("*[".concat("data-hint","]"),e));if(!s||!s.length)return!1;for(var l=0,u=s;l1?e-1:0),r=1;r2?s-2:0),u=2;u1?e-1:0),r=1;r1?e-1:0),r=1;ro.height&&Ct(a,"bottom"),e.absoluteTop-r<0&&Ct(a,"top"),e.absoluteRight+n>o.width&&Ct(a,"right"),e.absoluteLeft-n<0&&Ct(a,"left"),i&&(i=i.split("-")[0]),a.length&&(s=a[0],a.includes(i)&&(s=i)),"top"===s||"bottom"===s){var l,u=[];"top"===s?(l="top-middle-aligned",u=["top-left-aligned","top-middle-aligned","top-right-aligned"]):(l="bottom-middle-aligned",u=["bottom-left-aligned","bottom-middle-aligned","bottom-right-aligned"]),s=function(t,e,n,r){var i=e/2,o=Math.min(n,window.screen.width);return o-te.width?(i.val="".concat(e.width-r-t.left,"px"),!1):(i.val="".concat(n,"px"),!0)}var Pt=function(t,e){var n=t.position,r=t.element,i=t.refreshes,o=t.hintMode,a=void 0!==o&&o,s=t.showStepNumbers,l=void 0!==s&&s,u=t.transitionDuration,c=void 0===u?0:u,f=t.positionPrecedence,h=void 0===f?[]:f,d=t.className,v=t.autoPosition,p=void 0===v||v,g=t.onClick,b=ut.state("auto"),m=ut.state("auto"),y=ut.state("auto"),w=ut.state("auto"),k=ut.state("0"),x=ut.state("0"),S=ut.state(0),C=ut.state(250),_=ut.state(300),O=ut.state(n),E=ut.state(St()),A=ut.state(dt(r)),P=ut.derive((function(){return A.val.top+C.val>E.val.height}));ut.derive((function(){void 0!==i.val&&(E.val=St(),A.val=dt(r))})),ut.derive((function(){void 0!==O.val&&"floating"!==n&&p&&_.val&&C.val&&A.val&&E.val&&(O.val=_t(h,A.val,_.val,C.val,n,E.val))})),ut.derive((function(){void 0!==_.val&&void 0!==C.val&&void 0!==P.val&&void 0!==O.val&&void 0!==A.val&&void 0!==E.val&&function(t,e,n,r,i,o,a,s,l,u,c,f,h,d){o.val="auto",a.val="auto",s.val="auto",l.val="auto",u.val="0",c.val="0";var v=e.width/2-r/2;switch(t){case"top-right-aligned":var p=0;Et(e,p,r,s,l),a.val="".concat(e.height+20,"px");break;case"top-middle-aligned":d&&(v+=5),Et(e,v,r,s,l)&&(l.val=void 0,At(e,n,v,r,s)),a.val="".concat(e.height+20,"px");break;case"top-left-aligned":case"top":At(e,n,d?0:15,r,s),a.val="".concat(e.height+20,"px");break;case"right":s.val="".concat(e.width+20,"px"),f.val&&(o.val="-".concat(i-e.height-20,"px"));break;case"left":d||!0!==h||(o.val="15px"),f.val&&(o.val="-".concat(i-e.height-20,"px")),l.val="".concat(e.width+20,"px");break;case"floating":s.val="50%",o.val="50%",u.val="-".concat(r/2,"px"),c.val="-".concat(i/2,"px");break;case"bottom-right-aligned":Et(e,p=0,r,s,l),o.val="".concat(e.height+20,"px");break;case"bottom-middle-aligned":d&&(v+=5),Et(e,v,r,s,l)&&(l.val="",At(e,n,v,r,s)),o.val="".concat(e.height+20,"px");break;default:At(e,n,0,r,s),o.val="".concat(e.height+20,"px")}}(O.val,A.val,E.val,_.val,C.val,b,y,w,m,k,x,P,l,a)}));var j,L,N=Ot({style:function(){return"top: ".concat(b.val,"; right: ").concat(m.val,"; bottom: ").concat(y.val,"; left: ").concat(w.val,"; margin-left: ").concat(k.val,"; margin-top: ").concat(x.val,";opacity: ").concat(S.val)},className:function(){return"".concat("introjs-tooltip"," introjs-").concat(O.val," ").concat(d||"")},role:"dialog",onclick:null!=g?g:null},[(j={tooltipPosition:O,tooltipBottomOverflow:P},L=ut.derive((function(){var t=["introjs-arrow"];switch(j.tooltipPosition.val){case"top-right-aligned":t.push("bottom-right");break;case"top-middle-aligned":t.push("bottom-middle");break;case"top-left-aligned":case"top":t.push("bottom");break;case"right":j.tooltipBottomOverflow.val?t.push("left-bottom"):t.push("left");break;case"left":j.tooltipBottomOverflow.val?t.push("right-bottom"):t.push("right");break;case"floating":break;case"bottom-right-aligned":t.push("top-right");break;case"bottom-middle-aligned":t.push("top-middle");break;default:t.push("top")}return t})),Ot({className:function(){var t;return null===(t=L.val)||void 0===t?void 0:t.filter(Boolean).join(" ")},style:function(){return"display: ".concat("floating"===j.tooltipPosition.val?"none":"block",";")}})),[e]]);return setTimeout((function(){S.val=1}),c),setTimeout((function(){C.val=N.offsetHeight,_.val=N.offsetWidth}),1),N},jt=ut.tags.div,Lt=function(t){var e=t.text,n=t.tooltipRenderAsHtml,r=t.className,i=jt({className:r});return ut.derive((function(){var t=i;if(t)if(t.innerHTML="",n&&e){var r=document.createRange().createContextualFragment(e);t.appendChild(r)}else t.textContent=e})),i},Nt=ut.tags,Ht=Nt.a,Tt=Nt.div,Rt=ut.tags.div,Bt=function(t){var e=t.activeHintSignal,n=t.targetElement,r=t.helperElementPadding,i=k(t,["activeHintSignal","targetElement","helperElementPadding"]),o=e.val;return function(){var t;if(null==e.val)return null;if(o!==e.val)return null;var a=Rt((s(t={},"data-step",e.val),s(t,"className","".concat("introjs-tooltipReferenceLayer"," ").concat("introjs-hintReference")),t),function(t){var e=t.hintItem,n=t.closeButtonEnabled,r=t.closeButtonOnClick,i=t.closeButtonLabel,o=t.closeButtonClassName,a=t.className,s=t.renderAsHtml,l=k(t,["hintItem","closeButtonEnabled","closeButtonOnClick","closeButtonLabel","closeButtonClassName","className","renderAsHtml"]),u=e.hint;return Pt(Object.assign(Object.assign({},l),{element:e.hintTooltipElement,position:e.position,hintMode:!0,onClick:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}}),[Tt({className:"".concat("introjs-tooltiptext"," ").concat(a||"")},Lt({text:u||"",tooltipRenderAsHtml:s,className:"introjs-tooltiptext"}),n?Ht({className:o,role:"button",onclick:function(){return r(e)}},i):null)])}(i));return setTimeout((function(){xt(n,a,i.hintItem.hintTooltipElement,r)}),1),a}},Dt=ut.tags.div,It=function(t,e){return function(n){var r=n||window.event;r&&r.stopPropagation&&r.stopPropagation(),r&&null!==r.cancelBubble&&(r.cancelBubble=!0),t.showHintDialog(e)}},Vt=function(){function t(e,r){n(this,t),this._hints=[],this._activeHintSignal=ut.state(void 0),this._refreshesSignal=ut.state(0),this.callbacks={},this._targetElement=B(e),this._options=r?A(this._options,r):{hints:[],isActive:!0,tooltipPosition:"bottom",tooltipClass:"",hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",helperElementPadding:10,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],tooltipRenderAsHtml:!0}}return i(t,[{key:"callback",value:function(t){var e=this.callbacks[t];if(P(e))return e}},{key:"getTargetElement",value:function(){return this._targetElement}},{key:"getHints",value:function(){return this._hints}},{key:"getHint",value:function(t){return this._hints[t]}},{key:"setHints",value:function(t){return this._hints=t,this}},{key:"addHint",value:function(t){return t.isActive=ut.state(!0),this._hints.push(t),this}},{key:"getActiveHintSignal",value:function(){return this._activeHintSignal}},{key:"getRefreshesSignal",value:function(){return this._refreshesSignal}},{key:"isRendered",value:function(){return void 0!==this._root}},{key:"createRoot",value:function(){this._root=function(t){var e,n=t.hint,r=[],i=o(n.getHints().entries());try{for(i.s();!(e=i.n()).done;){var a=p(e.value,2),s=a[0],l=a[1],u=bt({index:s,hintItem:l,onClick:It(n,s),refreshesSignal:n.getRefreshesSignal()});l.hintTooltipElement=u,r.push(u)}}catch(t){i.e(t)}finally{i.f()}var c=Dt.apply(void 0,[{className:ct}].concat(r));return ut.derive((function(){var t=n.getActiveHintSignal();if(void 0!==t.val){var e=t.val,r=n.getHints()[e];if(r){var i=Bt({activeHintSignal:t,hintItem:r,helperElementPadding:n.getOption("helperElementPadding"),targetElement:n.getTargetElement(),refreshes:n.getRefreshesSignal(),showStepNumbers:!1,autoPosition:n.getOption("autoPosition"),positionPrecedence:n.getOption("positionPrecedence"),closeButtonEnabled:n.getOption("hintShowButton"),closeButtonLabel:n.getOption("hintButtonLabel"),closeButtonClassName:n.getOption("buttonClass"),closeButtonOnClick:function(t){return D(n,t)},className:n.getOption("tooltipClass")});ut.add(c,i)}}})),c}({hint:this}),ut.add(this._targetElement,this._root)}},{key:"recreateRoot",value:function(){this._root&&(this._root.remove(),this.createRoot())}},{key:"render",value:function(){var t;return x(this,void 0,void 0,d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.isActive()){e.next=2;break}return e.abrupt("return",this);case 2:if(!this.isRendered()){e.next=4;break}return e.abrupt("return",this);case 4:return O(this),this.createRoot(),null===(t=this.callback("hintsAdded"))||void 0===t||t.call(this),this.enableHintAutoRefresh(),this.enableCloseDialogOnWindowClick(),e.abrupt("return",this);case 10:case"end":return e.stop()}}),e,this)})))}},{key:"enableCloseDialogOnWindowClick",value:function(){var t=this;this._windowClickFunction=function(){t._activeHintSignal.val=void 0},R.on(document,"click",this._windowClickFunction,!1)}},{key:"disableCloseDialogOnWindowClick",value:function(){this._windowClickFunction&&R.off(document,"click",this._windowClickFunction,!1)}},{key:"addHints",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.render());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"hideHint",value:function(t){return x(this,void 0,void 0,d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=this.getHint(t))){e.next=4;break}return e.next=4,D(this,n);case 4:return e.abrupt("return",this);case 5:case"end":return e.stop()}}),e,this)})))}},{key:"hideHints",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),t,this)})))}},{key:"showHint",value:function(t){var e=this.getHint(t);return e&&F(e),this}},{key:"showHints",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,V(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),t,this)})))}},{key:"destroy",value:function(){return this._root&&(this._root.remove(),this._root=void 0),this.disableHintAutoRefresh(),this.disableCloseDialogOnWindowClick(),this}},{key:"removeHints",value:function(){return this.destroy(),this}},{key:"removeHint",value:function(t){return this._hints=this._hints.filter((function(e,n){return n!==t})),this.recreateRoot(),this}},{key:"showHintDialog",value:function(t){var e;return x(this,void 0,void 0,d().mark((function n(){var r;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=this.getHint(t)){n.next=3;break}return n.abrupt("return");case 3:if(this._activeHintSignal.val===t){n.next=9;break}return this._activeHintSignal.val=t,n.next=7,null===(e=this.callback("hintClick"))||void 0===e?void 0:e.call(this,r);case 7:n.next=10;break;case 9:this._activeHintSignal.val=void 0;case 10:return n.abrupt("return",this);case 11:case"end":return n.stop()}}),n,this)})))}},{key:"hideHintDialog",value:function(){return this._activeHintSignal.val=void 0,this}},{key:"refresh",value:function(){return this.isRendered()?(void 0!==this._refreshesSignal.val&&(this._refreshesSignal.val+=1),this):this}},{key:"enableHintAutoRefresh",value:function(){var t,e,n,r=this,i=this.getOption("hintAutoRefreshInterval");return i>=0&&(this._hintsAutoRefreshFunction=(t=function(){return r.refresh()},e=i,function(){for(var r=arguments.length,i=new Array(r),o=0;o0?n[h-1]=v:l.push(v)}}for(var p=0;l.length>0;p++)if(void 0===n[p]){var g=l.shift();if(!g)break;g.step=p+1,n[p]=g}}return(n=n.filter((function(t){return t}))).sort((function(t,e){return t.step-e.step})),n};var Kt=function(t){return x(void 0,void 0,void 0,d().mark((function e(){var n,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isActive()){e.next=2;break}return e.abrupt("return",!1);case 2:if(!t.hasStarted()){e.next=4;break}return e.abrupt("return",!1);case 4:return e.next=6,null===(n=t.callback("start"))||void 0===n?void 0:n.call(t,t.getTargetElement());case 6:if(0!==(r=Jt(t)).length){e.next=9;break}return e.abrupt("return",!1);case 9:return t.setSteps(r),e.next=12,Wt(t);case 12:return e.abrupt("return",!0);case 13:case"end":return e.stop()}}),e)})))};function Yt(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return x(this,void 0,void 0,d().mark((function i(){var o,a;return d().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return o=t.getTargetElement(),a=!0,i.next=4,null===(e=t.callback("beforeExit"))||void 0===e?void 0:e.call(t,o);case 4:if(a=i.sent,r||!1!==a){i.next=7;break}return i.abrupt("return",!1);case 7:return Gt(),i.next=10,null===(n=t.callback("exit"))||void 0===n?void 0:n.call(t);case 10:return t.resetCurrentStep(),i.abrupt("return",!0);case 12:case"end":return i.stop()}}),i)})))}function Qt(t,e,n){var r,i=(s(r={},t,e),s(r,"path","/"),s(r,"expires",void 0),r);if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),i.expires=o.toUTCString()}var a=[];for(var l in i)a.push("".concat(l,"=").concat(i[l]));return document.cookie=a.join("; "),qt(t)}function qt(t){return(e={},document.cookie.split(";").forEach((function(t){var n=p(t.split("="),2),r=n[0],i=n[1];e[r.trim()]=i})),e)[t];var e}function Ut(t,e,n){t?Qt(e,"true",n):Qt(e,"",-1)}var Xt=function(t,e,n,r){xt(t,e,n.element,"floating"===n.position?0:r)};function Zt(t,e){if(t){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 $t(t,e,n,r,i){var o;if("off"!==e&&(t&&(o="tooltip"===e?i.getBoundingClientRect():r.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(r)))){var a=St().height;o.bottom-(o.bottom-o.top)<0||r.clientHeight>a?window.scrollBy(0,o.top-(a/2-o.height/2)-n):window.scrollBy(0,o.top-(a/2-o.height/2)+n)}}var te=ut.tags,ee=te.h1,ne=te.div,re=te.input,ie=te.label,oe=te.ul,ae=te.li,se=te.a,le=function(t){var e=t.label,n=t.onClick,r=t.disabled,i=t.className;return se({role:"button",tabIndex:0,ariaDisabled:null!=r&&r,onclick:n,className:null!=i?i:""},[e])},ue=function(t){var e=t.steps,n=t.currentStep,r=t.buttonClass,i=t.nextToDone,o=t.doneLabel,a=t.hideNext,s=t.nextLabel,l=t.onNextClick,u=t.hidePrev,c=t.prevLabel,f=t.onPrevClick;return ne({className:"introjs-tooltipbuttons"},e.length>1?function(t){var e=t.label,n=t.steps,r=t.currentStep,i=t.hidePrev,o=t.hideNext,a=t.onClick,s=t.buttonClass,l=0===r&&n.length>1,u=l&&!i,c=l&&i,f=(r===n.length-1||1===n.length)&&o;return le({label:e,onClick:a,disabled:u,className:function(){var t=[s,"introjs-prevbutton"];return f&&t.push("introjs-fullbutton"),u&&t.push("introjs-disabled"),c&&t.push("introjs-hidden"),t.filter(Boolean).join(" ")}})}({label:c,steps:e,currentStep:n,hidePrev:u,hideNext:a,onClick:f,buttonClass:r}):null,function(t){var e=t.steps,n=t.currentStep,r=t.nextLabel,i=t.doneLabel,o=t.hideNext,a=t.hidePrev,s=t.nextToDone,l=t.onClick,u=t.buttonClass,c=0===n&&e.length>1&&a,f=n===e.length-1||1===e.length,h=ut.derive((function(){return f&&!o&&!s})),d=ut.derive((function(){return f&&!o&&s})),v=le({label:d.val?i:r,onClick:l,className:function(){var t=[u,"introjs-nextbutton"];return d.val&&t.push("introjs-donebutton"),h.val&&t.push("introjs-disabled"),c&&t.push("introjs-fullbutton"),t.filter(Boolean).join(" ")}});return setTimeout((function(){v.focus()}),1),v}({currentStep:n,steps:e,doneLabel:o,nextLabel:s,onClick:l,hideNext:a,hidePrev:u,nextToDone:i,buttonClass:r}))},ce=function(t){var e=t.step,n=t.currentStep,r=t.steps,i=t.onBulletClick,o=t.bullets,a=t.buttons,l=t.nextLabel,u=t.onNextClick,c=t.prevLabel,f=t.onPrevClick,h=t.skipLabel,d=t.onSkipClick,v=t.buttonClass,p=t.nextToDone,g=t.doneLabel,m=t.hideNext,y=t.hidePrev,w=t.progress,x=t.progressBarAdditionalClass,S=t.stepNumbers,C=t.stepNumbersOfLabel,_=t.scrollToElement,O=t.scrollPadding,E=t.dontShowAgain,A=t.onDontShowAgainChange,P=t.dontShowAgainLabel,j=t.renderAsHtml,L=k(t,["step","currentStep","steps","onBulletClick","bullets","buttons","nextLabel","onNextClick","prevLabel","onPrevClick","skipLabel","onSkipClick","buttonClass","nextToDone","doneLabel","hideNext","hidePrev","progress","progressBarAdditionalClass","stepNumbers","stepNumbersOfLabel","scrollToElement","scrollPadding","dontShowAgain","onDontShowAgainChange","dontShowAgainLabel","renderAsHtml"]),N=[],H=e.title,T=e.intro,R=e.position;N.push(function(t){var e=t.title,n=t.skipLabel,r=t.onSkipClick;return ne({className:"introjs-tooltip-header"},[ee({className:"introjs-tooltip-title"},e),le({className:"introjs-skipbutton",label:n,onClick:r})])}({title:H,skipLabel:h,onSkipClick:d})),N.push(Lt({text:T,tooltipRenderAsHtml:j,className:"introjs-tooltiptext"})),E&&N.push(function(t){var e=t.dontShowAgainLabel,n=t.onDontShowAgainChange;return ne({className:"introjs-dontShowAgain"},[re({type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain",onchange:function(t){n(t.target.checked)}}),ie({for:"introjs-dontShowAgain"},e)])}({dontShowAgainLabel:P,onDontShowAgainChange:A})),o&&N.push(function(t){var e=t.step,n=t.steps,r=t.onBulletClick;return ne({className:"introjs-bullets"},[oe({role:"tablist"},b(n.map((function(t){var n=t.step;return ae({role:"presentation"},[se(s({role:"tab",className:function(){return"".concat(e.step===n?"active":"")},onclick:function(t){var e=t.target.getAttribute("data-step-number");e&&r(parseInt(e,10))},innerHTML:" "},"data-step-number",n))])}))))])}({step:e,steps:r,onBulletClick:i})),w&&N.push(function(t){var e=t.steps,n=t.currentStep,r=t.progressBarAdditionalClass,i=(n+1)/e.length*100;return ne({className:"introjs-progress"},[ne({className:"".concat("introjs-progressbar"," ").concat(r||""),role:"progress","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":function(){return i.toString()},style:"width:".concat(i,"%;")})])}({steps:r,currentStep:n,progressBarAdditionalClass:x})),S&&N.push(function(t){var e=t.step,n=t.steps,r=t.stepNumbersOfLabel;return ne({className:"introjs-helperNumberLayer"},["".concat(e.step," ").concat(r," ").concat(n.length)])}({step:e,steps:r,stepNumbersOfLabel:C})),a&&N.push(ue({steps:r,currentStep:n,nextLabel:l,onNextClick:u,prevLabel:c,onPrevClick:f,buttonClass:v,nextToDone:p,doneLabel:g,hideNext:m,hidePrev:y}));var B=Pt(Object.assign(Object.assign({},L),{element:e.element,hintMode:!1,position:R}),N);return function(t){var e=t.step,n=t.tooltip,r=t.scrollToElement,i=t.scrollPadding;Zt(r,e.element),$t(r,e.scrollTo,i,e.element,n)}({step:e,tooltip:B,scrollToElement:_,scrollPadding:O}),B},fe=ut.tags.div,he=ut.tags.div,de=ut.tags.div,ve=ut.tags.div,pe=ut.tags.div,ge=function(t){var e=t.tour,n=e.getCurrentStepSignal(),r=e.getRefreshesSignal(),i=e.getSteps(),o=function(t){var e=t.currentStep,n=t.steps,r=t.refreshes,i=t.targetElement,o=t.tourHighlightClass,a=t.overlayOpacity,s=t.helperLayerPadding,l=ut.derive((function(){return void 0!==e.val?n[e.val]:null})),u=he({className:function(){return function(t){var e=t.step,n=t.tourHighlightClass,r="introjs-helperLayer";return e.val&&"string"==typeof e.val.highlightClass&&(r+=" ".concat(e.val.highlightClass)),"string"==typeof n&&(r+=" ".concat(n)),r}({step:l,tourHighlightClass:o})},style:kt({"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(a.toString(),") 0 0 0 5000px")})});return ut.derive((function(){l.val&&void 0!==r.val&&Xt(i,u,l.val,s)})),u}({currentStep:n,steps:i,refreshes:r,targetElement:e.getTargetElement(),tourHighlightClass:e.getOption("highlightClass"),overlayOpacity:e.getOption("overlayOpacity"),helperLayerPadding:e.getOption("helperElementPadding")}),a=ut.state(0),s=0,l=pe({className:"introjs-tour",style:function(){return kt({opacity:"".concat(a.val)})}},o,(function(){if(void 0===n.val)return null;var t=ut.derive((function(){return void 0!==n.val?i[n.val]:null}));if(!t.val)return null;var o=function(t){var e=t.exitOnOverlayClick,n=t.onExitTour,r=ve({className:"introjs-overlay",style:kt({top:0,bottom:0,left:0,right:0,position:"fixed",cursor:e?"pointer":"auto"})});return e&&(r.onclick=function(){return x(void 0,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n();case 2:case"end":return t.stop()}}),t)})))}),r}({exitOnOverlayClick:!0===e.getOption("exitOnOverlayClick"),onExitTour:function(){return x(void 0,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.exit());case 1:case"end":return t.stop()}}),t)})))}}),a=function(t){var e=t.targetElement,n=t.helperElementPadding,r=k(t,["targetElement","helperElementPadding"]),i=fe({className:"introjs-tooltipReferenceLayer"},ce(r));return ut.derive((function(){null!=r.refreshes.val&&Xt(e,i,r.step,n)})),i}({step:t.val,targetElement:e.getTargetElement(),refreshes:r,helperElementPadding:e.getOption("helperElementPadding"),transitionDuration:s,positionPrecedence:e.getOption("positionPrecedence"),autoPosition:e.getOption("autoPosition"),showStepNumbers:e.getOption("showStepNumbers"),steps:e.getSteps(),currentStep:n.val,onBulletClick:function(t){e.goToStep(t)},bullets:e.getOption("showBullets"),buttons:e.getOption("showButtons"),nextLabel:e.getOption("nextLabel"),onNextClick:function(t){return x(void 0,void 0,void 0,d().mark((function n(){var r;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.isLastStep()){n.next=5;break}return n.next=3,Wt(e);case 3:n.next=10;break;case 5:if(!new RegExp("introjs-donebutton","gi").test(t.target.className)){n.next=10;break}return n.next=8,null===(r=e.callback("complete"))||void 0===r?void 0:r.call(e,e.getCurrentStep(),"done");case 8:return n.next=10,e.exit();case 10:case"end":return n.stop()}}),n)})))},prevLabel:e.getOption("prevLabel"),onPrevClick:function(){return x(void 0,void 0,void 0,d().mark((function t(){var n;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(void 0!==(n=e.getCurrentStep())&&n>0)){t.next=4;break}return t.next=4,Mt(e);case 4:case"end":return t.stop()}}),t)})))},skipLabel:e.getOption("skipLabel"),onSkipClick:function(){return x(void 0,void 0,void 0,d().mark((function t(){var n,r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.isLastStep()){t.next=3;break}return t.next=3,null===(n=e.callback("complete"))||void 0===n?void 0:n.call(e,e.getCurrentStep(),"skip");case 3:return t.next=5,null===(r=e.callback("skip"))||void 0===r?void 0:r.call(e,e.getCurrentStep());case 5:return t.next=7,e.exit();case 7:case"end":return t.stop()}}),t)})))},buttonClass:e.getOption("buttonClass"),nextToDone:e.getOption("nextToDone"),doneLabel:e.getOption("doneLabel"),hideNext:e.getOption("hideNext"),hidePrev:e.getOption("hidePrev"),className:e.getOption("tooltipClass"),progress:e.getOption("showProgress"),progressBarAdditionalClass:e.getOption("progressBarAdditionalClass"),stepNumbers:e.getOption("showStepNumbers"),stepNumbersOfLabel:e.getOption("stepNumbersOfLabel"),scrollToElement:e.getOption("scrollToElement"),scrollPadding:e.getOption("scrollPadding"),dontShowAgain:e.getOption("dontShowAgain"),onDontShowAgainChange:function(t){e.setDontShowAgain(t)},dontShowAgainLabel:e.getOption("dontShowAgainLabel"),renderAsHtml:e.getOption("tooltipRenderAsHtml")}),l=t.val.disableInteraction?function(t){var e=t.currentStep,n=t.steps,r=t.refreshes,i=t.targetElement,o=t.helperElementPadding,a=ut.derive((function(){return void 0!==e.val?n[e.val]:null}));return function(){if(!a.val)return null;var t=de({className:"introjs-disableInteraction"});return ut.derive((function(){a.val&&null!=r.val&&Xt(i,t,a.val,o)})),t}}({currentStep:n,steps:e.getSteps(),refreshes:r,targetElement:e.getTargetElement(),helperElementPadding:e.getOption("helperElementPadding")}):null;return s=300,pe(o,a,l)}));return ut.derive((function(){void 0===n.val&&(a.val=0,setTimeout((function(){l.remove()}),250))})),setTimeout((function(){a.val=1}),1),l},be=ut.tags.div,me=function(){function t(e,r){n(this,t),this._steps=[],this._currentStepSignal=ut.state(void 0),this._refreshesSignal=ut.state(0),this.callbacks={},this._targetElement=B(e),this._options=r?A(this._options,r):{steps:[],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,buttonClass:"introjs-button",progressBarAdditionalClass:"",tooltipRenderAsHtml:!0}}return i(t,[{key:"callback",value:function(t){var e=this.callbacks[t];if(P(e))return e}},{key:"goToStep",value:function(t){return x(this,void 0,void 0,d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setCurrentStep(t-2),e.next=3,Wt(this);case 3:return e.abrupt("return",this);case 4:case"end":return e.stop()}}),e,this)})))}},{key:"goToStepNumber",value:function(t){return x(this,void 0,void 0,d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=0;case 1:if(!(n=this._currentStepSignal.val?this._direction="forward":this._direction="backward",this._currentStepSignal.val=t,this}},{key:"incrementCurrentStep",value:function(){var t=this.getCurrentStep();return void 0===t?this.setCurrentStep(0):this.setCurrentStep(t+1),this}},{key:"decrementCurrentStep",value:function(){var t=this.getCurrentStep();return void 0!==t&&t>0&&this.setCurrentStep(t-1),this}},{key:"getDirection",value:function(){return this._direction}},{key:"nextStep",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Wt(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),t,this)})))}},{key:"previousStep",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Mt(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),t,this)})))}},{key:"isEnd",value:function(){var t=this.getCurrentStep();return void 0!==t&&t>=this._steps.length}},{key:"isLastStep",value:function(){return this.getCurrentStep()===this._steps.length-1}},{key:"getTargetElement",value:function(){return this._targetElement}},{key:"setOptions",value:function(t){return this._options=A(this._options,t),this}},{key:"setOption",value:function(t,e){return this._options=E(this._options,t,e),this}},{key:"getOption",value:function(t){return this._options[t]}},{key:"clone",value:function(){return new t(this._targetElement,this._options)}},{key:"isActive",value:function(){return(!this.getOption("dontShowAgain")||(t=this.getOption("dontShowAgainCookie"),""===(e=qt(t))||"true"!==e))&&this.getOption("isActive");var t,e}},{key:"hasStarted",value:function(){return void 0!==this.getCurrentStep()}},{key:"setDontShowAgain",value:function(t){return Ut(t,this.getOption("dontShowAgainCookie"),this.getOption("dontShowAgainCookieDays")),this}},{key:"enableKeyboardNavigation",value:function(){var t=this;return this.getOption("keyboardNavigation")&&(this._keyboardNavigationHandler=function(e){return function(t,e){var n;return x(this,void 0,void 0,d().mark((function r(){var i,o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null===(i=void 0===e.code?e.which:e.code)&&(i=null===e.charCode?e.keyCode:e.charCode),"Escape"!==i&&27!==i||!0!==t.getOption("exitOnEsc")){r.next=7;break}return r.next=5,t.exit();case 5:r.next=39;break;case 7:if("ArrowLeft"!==i&&37!==i){r.next=12;break}return r.next=10,Mt(t);case 10:r.next=39;break;case 12:if("ArrowRight"!==i&&39!==i){r.next=17;break}return r.next=15,Wt(t);case 15:r.next=39;break;case 17:if("Enter"!==i&&"NumpadEnter"!==i&&13!==i){r.next=39;break}if(!(o=e.target||e.srcElement)||!o.className.match("introjs-prevbutton")){r.next=24;break}return r.next=22,Mt(t);case 22:r.next=38;break;case 24:if(!o||!o.className.match("introjs-skipbutton")){r.next=32;break}if(!t.isEnd()){r.next=28;break}return r.next=28,null===(n=t.callback("complete"))||void 0===n?void 0:n.call(t,t.getCurrentStep(),"skip");case 28:return r.next=30,t.exit();case 30:r.next=38;break;case 32:if(!o||!o.getAttribute("data-step-number")){r.next=36;break}o.click(),r.next=38;break;case 36:return r.next=38,Wt(t);case 38:e.preventDefault?e.preventDefault():e.returnValue=!1;case 39:case"end":return r.stop()}}),r)})))}(t,e)},R.on(window,"keydown",this._keyboardNavigationHandler,!0)),this}},{key:"disableKeyboardNavigation",value:function(){return this._keyboardNavigationHandler&&(R.off(window,"keydown",this._keyboardNavigationHandler,!0),this._keyboardNavigationHandler=void 0),this}},{key:"enableRefreshOnResize",value:function(){var t=this;this._refreshOnResizeHandler=function(e){return t.refresh()},R.on(window,"resize",this._refreshOnResizeHandler,!0)}},{key:"disableRefreshOnResize",value:function(){this._refreshOnResizeHandler&&(R.off(window,"resize",this._refreshOnResizeHandler,!0),this._refreshOnResizeHandler=void 0)}},{key:"appendFloatingElement",value:function(){var t,e,n;return this._floatingElement||(this._floatingElement=(t={currentStep:this.getCurrentStepSignal()},e=t.currentStep,n=be({className:"introjsFloatingElement"}),ut.derive((function(){void 0===e.val&&n.remove()})),n),ut.add(this.getTargetElement(),this._floatingElement)),this._floatingElement}},{key:"createRoot",value:function(){this._root||(this._root=ge({tour:this}),ut.add(this.getTargetElement(),this._root))}},{key:"recreateRoot",value:function(){this._root&&(this._root.remove(),this._root=void 0,this.createRoot())}},{key:"start",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Kt(this);case 2:if(!t.sent){t.next=6;break}this.createRoot(),this.enableKeyboardNavigation(),this.enableRefreshOnResize();case 6:return t.abrupt("return",this);case 7:case"end":return t.stop()}}),t,this)})))}},{key:"exit",value:function(t){return x(this,void 0,void 0,d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yt(this,null!=t&&t);case 2:if(!e.sent){e.next=5;break}this.disableKeyboardNavigation(),this.disableRefreshOnResize();case 5:return e.abrupt("return",this);case 6:case"end":return e.stop()}}),e,this)})))}},{key:"refresh",value:function(t){return void 0===this.getCurrentStep()||(void 0!==this._refreshesSignal.val&&(this._refreshesSignal.val+=1),t&&(this.setSteps(Jt(this)),this.recreateRoot())),this}},{key:"onbeforechange",value:function(t){return this.onBeforeChange(t)}},{key:"onBeforeChange",value:function(t){if(!P(t))throw new Error("Provided callback for onBeforeChange was not a function");return this.callbacks.beforeChange=t,this}},{key:"onchange",value:function(t){this.onChange(t)}},{key:"onChange",value:function(t){if(!P(t))throw new Error("Provided callback for onChange was not a function.");return this.callbacks.change=t,this}},{key:"onafterchange",value:function(t){this.onAfterChange(t)}},{key:"onAfterChange",value:function(t){if(!P(t))throw new Error("Provided callback for onAfterChange was not a function");return this.callbacks.afterChange=t,this}},{key:"oncomplete",value:function(t){return this.onComplete(t)}},{key:"onComplete",value:function(t){if(!P(t))throw new Error("Provided callback for oncomplete was not a function.");return this.callbacks.complete=t,this}},{key:"onstart",value:function(t){return this.onStart(t)}},{key:"onStart",value:function(t){if(!P(t))throw new Error("Provided callback for onstart was not a function.");return this.callbacks.start=t,this}},{key:"onexit",value:function(t){return this.onExit(t)}},{key:"onExit",value:function(t){if(!P(t))throw new Error("Provided callback for onexit was not a function.");return this.callbacks.exit=t,this}},{key:"onskip",value:function(t){return this.onSkip(t)}},{key:"onSkip",value:function(t){if(!P(t))throw new Error("Provided callback for onskip was not a function.");return this.callbacks.skip=t,this}},{key:"onbeforeexit",value:function(t){return this.onBeforeExit(t)}},{key:"onBeforeExit",value:function(t){if(!P(t))throw new Error("Provided callback for onbeforeexit was not a function.");return this.callbacks.beforeExit=t,this}}]),t}(),ye=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(r,me);var e=a(r);function r(){return n(this,r),e.apply(this,arguments)}return i(r,[{key:"addHints",value:function(){console.error("introJs().addHints() is deprecated, please use introJs.hint.addHints() instead.")}},{key:"addHint",value:function(){console.error("introJs().addHint() is deprecated, please use introJs.hint.addHint() instead.")}},{key:"removeHints",value:function(){console.error("introJs().removeHints() is deprecated, please use introJs.hint.removeHints() instead.")}}]),r}(),we=function(t){return console.warn("introJs() is deprecated. Please use introJs.tour() or introJs.hint() instead."),new ye(t)};we.tour=function(t){return new me(t)},we.hint=function(t){return new Vt(t)},we.version="8.3.1";export{we as default}; //# sourceMappingURL=intro.module.js.map