1this.driver=this.driver||{},this.driver.js=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t={},n;function r(e={}){t={animate:!0,duration:400,allowClose:!0,allowScroll:!0,overlayClickBehavior:`close`,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:[`next`,`previous`,`close`],disableButtons:[],overlayColor:`#000`,...e}}function i(e){return e?t[e]:t}function a(e){n=e}function o(){return n}var s={};function c(e,t){s[e]=t}function l(e){s[e]?.()}function u(){s={}}function d(e){let t=window.getComputedStyle(e);return[t.overflow,t.overflowX,t.overflowY].some(e=>e===`auto`||e===`scroll`)}function f(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}function p(e){let t=`a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])`;return e.flatMap(e=>{let n=e.matches(t),r=Array.from(e.querySelectorAll(t));return[...n?[e]:[],...r]}).filter(e=>getComputedStyle(e).pointerEvents!==`none`&&_(e))}function m(e){if(!e||g(e))return;let t=i(`smoothScroll`),n=e.offsetHeight>window.innerHeight;e.scrollIntoView({behavior:!t||h(e)?`auto`:`smooth`,inline:`center`,block:n?`start`:`center`})}function h(e){if(!e||!e.parentElement)return;let t=e.parentElement;return t.scrollHeight>t.clientHeight}function g(e){let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function _(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}var v={};function y(e,t){v[e]=t}function b(e){return e?v[e]:v}function x(){v={}}function S(e,t,n,r){let i=b(`__activeStagePosition`),a=i||n.getBoundingClientRect(),o=r.getBoundingClientRect();i={x:f(e,a.x,o.x-a.x,t),y:f(e,a.y,o.y-a.y,t),width:f(e,a.width,o.width-a.width,t),height:f(e,a.height,o.height-a.height,t)},E(i),y(`__activeStagePosition`,i)}function C(e){if(!e)return;let t=e.getBoundingClientRect(),n={x:t.x,y:t.y,width:t.width,height:t.height};y(`__activeStagePosition`,n),E(n)}function w(){let e=b(`__activeStagePosition`),t=b(`__overlaySvg`);if(!e)return;if(!t){console.warn(`No stage svg found.`);return}let n=window.innerWidth,r=window.innerHeight;t.setAttribute(`viewBox`,`0 0 ${n} ${r}`)}function T(e){let t=D(e);document.body.appendChild(t),X(t,e=>{e.target.tagName===`path`&&l(`overlayClick`)}),y(`__overlaySvg`,t)}function E(e){let t=b(`__overlaySvg`);if(!t){T(e);return}let n=t.firstElementChild;if(n?.tagName!==`path`)throw Error(`no path element found in stage svg`);n.setAttribute(`d`,O(e))}function D(e){let t=window.innerWidth,n=window.innerHeight,r=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);r.classList.add(`driver-overlay`,`driver-overlay-animated`),r.setAttribute(`viewBox`,`0 0 ${t} ${n}`),r.setAttribute(`xmlSpace`,`preserve`),r.setAttribute(`xmlnsXlink`,`http://www.w3.org/1999/xlink`),r.setAttribute(`version`,`1.1`),r.setAttribute(`preserveAspectRatio`,`xMinYMin slice`),r.style.fillRule=`evenodd`,r.style.clipRule=`evenodd`,r.style.strokeLinejoin=`round`,r.style.strokeMiterlimit=`2`,r.style.zIndex=`10000`,r.style.position=`fixed`,r.style.top=`0`,r.style.left=`0`,r.style.width=`100%`,r.style.height=`100%`;let a=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return a.setAttribute(`d`,O(e)),a.style.fill=i(`overlayColor`)||`rgb(0,0,0)`,a.style.opacity=`${i(`overlayOpacity`)}`,a.style.pointerEvents=`auto`,a.style.cursor=`auto`,r.appendChild(a),r}function O(e){let t=window.innerWidth,n=window.innerHeight,r=i(`stagePadding`)||0,a=i(`stageRadius`)||0,o=e.width+r*2,s=e.height+r*2,c=Math.min(a,o/2,s/2),l=Math.floor(Math.max(c,0)),u=e.x-r+l,d=e.y-r,f=o-l*2,p=s-l*2;return`M${t},0L0,0L0,${n}L${t},${n}L${t},0Z 2 M${u},${d} h${f} a${l},${l} 0 0 1 ${l},${l} v${p} a${l},${l} 0 0 1 -${l},${l} h-${f} a${l},${l} 0 0 1 -${l},-${l} v-${p} a${l},${l} 0 0 1 ${l},-${l} z`}function k(){let e=b(`__overlaySvg`);e&&(Z(e),e.remove())}function A(){let e=b(`popover`);if(!e?.wrapper)return;let t=e.wrapper.getBoundingClientRect(),n=i(`stagePadding`)||0,r=i(`popoverOffset`)||0;return{width:t.width+n+r,height:t.height+n+r,realWidth:t.width,realHeight:t.height}}function j(e,t){let{elementDimensions:n,popoverDimensions:r,popoverPadding:i,popoverArrowDimensions:a}=t;return e===`start`?Math.max(Math.min(n.top-i,window.innerHeight-r.realHeight-a.width),a.width):e===`end`?Math.max(Math.min(n.top-r?.realHeight+n.height+i,window.innerHeight-r?.realHeight-a.width),a.width):e===`center`?Math.max(Math.min(n.top+n.height/2-r?.realHeight/2,window.innerHeight-r?.realHeight-a.width),a.width):0}function M(e,t){let{elementDimensions:n,popoverDimensions:r,popoverPadding:i,popoverArrowDimensions:a}=t;return e===`start`?Math.max(Math.min(n.left-i,window.innerWidth-r.realWidth-a.width),a.width):e===`end`?Math.max(Math.min(n.left-r?.realWidth+n.width+i,window.innerWidth-r?.realWidth-a.width),a.width):e===`center`?Math.max(Math.min(n.left+n.width/2-r?.realWidth/2,window.innerWidth-r?.realWidth-a.width),a.width):0}function N(e,t){let n=b(`popover`);if(!n)return;let{align:r=`start`,side:a=`bottom`}=t?.popover||{},o=r,s=e.id===`driver-dummy-element`?`over`:a,c=i(`stagePadding`)||0,l=A(),u=n.arrow.getBoundingClientRect(),d=e.getBoundingClientRect(),f=d.top-l.he
2ight,p=f>=0,m=window.innerHeight-(d.bottom+l.height),h=m>=0,g=d.left-l.width,_=g>=0,v=window.innerWidth-(d.right+l.width),y=v>=0,x=!p&&!h&&!_&&!y,S=s;if(s===`top`&&p?y=_=h=!1:s===`bottom`&&h?y=_=p=!1:s===`left`&&_?y=p=h=!1:s===`right`&&y&&(_=p=h=!1),s===`over`){let e=window.innerWidth/2-l.realWidth/2,t=window.innerHeight/2-l.realHeight/2;n.wrapper.style.left=`${e}px`,n.wrapper.style.right=`auto`,n.wrapper.style.top=`${t}px`,n.wrapper.style.bottom=`auto`}else if(x){let e=window.innerWidth/2-l?.realWidth/2;n.wrapper.style.left=`${e}px`,n.wrapper.style.right=`auto`,n.wrapper.style.bottom=`10px`,n.wrapper.style.top=`auto`}else if(_){let e=Math.min(g,window.innerWidth-l?.realWidth-u.width),t=j(o,{elementDimensions:d,popoverDimensions:l,popoverPadding:c,popoverArrowDimensions:u});n.wrapper.style.left=`${e}px`,n.wrapper.style.top=`${t}px`,n.wrapper.style.bottom=`auto`,n.wrapper.style.right=`auto`,S=`left`}else if(y){let e=Math.min(v,window.innerWidth-l?.realWidth-u.width),t=j(o,{elementDimensions:d,popoverDimensions:l,popoverPadding:c,popoverArrowDimensions:u});n.wrapper.style.right=`${e}px`,n.wrapper.style.top=`${t}px`,n.wrapper.style.bottom=`auto`,n.wrapper.style.left=`auto`,S=`right`}else if(p){let e=Math.min(f,window.innerHeight-l.realHeight-u.width),t=M(o,{elementDimensions:d,popoverDimensions:l,popoverPadding:c,popoverArrowDimensions:u});n.wrapper.style.top=`${e}px`,n.wrapper.style.left=`${t}px`,n.wrapper.style.bottom=`auto`,n.wrapper.style.right=`auto`,S=`top`}else if(h){let e=Math.min(m,window.innerHeight-l?.realHeight-u.width),t=M(o,{elementDimensions:d,popoverDimensions:l,popoverPadding:c,popoverArrowDimensions:u});n.wrapper.style.left=`${t}px`,n.wrapper.style.bottom=`${e}px`,n.wrapper.style.top=`auto`,n.wrapper.style.right=`auto`,S=`bottom`}z(x?`over`:S,o,e),[...n.wrapper.classList].filter(e=>e.startsWith(`driver-popover-side-`)||e.startsWith(`driver-popover-align-`)).forEach(e=>n.wrapper.classList.remove(e)),n.wrapper.classList.add(`driver-popover-side-${S}`),n.wrapper.classList.add(`driver-popover-align-${o}`)}var P=10,F=15;function I(e,t,n,r,i){let a=r-n;return e<=n&&t>=r?i===`start`?20:i===`end`?a-F-P/2:a/2:(Math.min(Math.max(e,n),r)+Math.min(Math.max(t,n),r))/2-n}function L(e,t){let n=F,r=t-F-P;if(r<n)return Math.max(0,(t-P)/2);let i=e-P/2;return Math.min(Math.max(i,n),r)}function R(e,t,n){return e===`left`||e===`right`?t.bottom>n.top&&t.top<n.bottom?e:t.bottom<=n.top?`bottom`:`top`:t.right>n.left&&t.left<n.right?e:t.right<=n.left?`right`:`left`}function z(e,t,n){let r=b(`popover`);if(!r)return;let i=r.arrow;if(i.className=`driver-popover-arrow`,i.style.top=``,i.style.right=``,i.style.bottom=``,i.style.left=``,e===`over`){i.classList.add(`driver-popover-arrow-none`);return}let a=n.getBoundingClientRect(),o=r.wrapper.getBoundingClientRect(),s=R(e,a,o);if(i.classList.add(`driver-popover-arrow-side-${s}`),s===`left`||s===`right`){let e=I(a.top,a.bottom,o.top,o.bottom,t);i.style.top=`${L(e,o.height)}px`}else{let e=I(a.left,a.right,o.left,o.right,t);i.style.left=`${L(e,o.width)}px`}}function B(){let e=document.getElementById(`driver-dummy-element`);if(e)return e;let t=document.createElement(`div`);return t.id=`driver-dummy-element`,t.style.width=`0`,t.style.height=`0`,t.style.pointerEvents=`none`,t.style.opacity=`0`,t.style.position=`fixed`,t.style.top=`50%`,t.style.left=`50%`,document.body.appendChild(t),t}function V(e){let{element:t}=e,n=typeof t==`function`?t():typeof t==`string`?document.querySelector(t):t;n||(n=B()),U(n,e)}function H(){let e=b(`__activeElement`),t=b(`__activeStep`);e&&(C(e),w(),N(e,t))}function U(e,t){let n=i(`duration`)||400,r=Date.now(),a=b(`__activeStep`),s=b(`__activeElement`)||e,c=!s||s===e,l=e.id===`driver-dummy-element`,u=s.id===`driver-dummy-element`,f=i(`animate`),p=t.onHighlightStarted||i(`onHighlightStarted`),h=t?.onHighlighted||i(`onHighlighted`),g=a?.onDeselected||i(`onDeselected`),_=i(),v=b();!c&&g&&g(u?void 0:s,a,{config:_,state:v,driver:o()}),p&&p(l?void 0:e,t,{config:_,state:v,driver:o()});let x=!c&&f,w=!1;te(),y(`previousStep`,a),y(`previousElement`,s),y(`activeStep`,t),y(`activeElement`,e);let T=()=>{if(b(`__transitionCallback`)!==T)return;let c=Date.now()-r,u=n-c<=n/2;t.popover&&u&&!w&&x&&($(e,t),w=!0),i(`animate`)&&c<n?S(c,n,s,e):(C(e),h&&h(l?void 0:e,t,{config:i(),state:b(),driver:o()}),y(`__transitionCallback`,void 0),y(`__previousStep`,a),y(`__previousElement`,s),y(`__activeStep`,t),y(`__activeElement`,e)),window.requestAnimationFrame(T)};y(`__transitionCallback`,T),window.requestAnimationFrame(T),m(e),!x&&t.popover&&$(e,t),document.querySelectorAll(`.driver-active-element-parent`).forEach(e
2=>{e.classList.remove(`driver-active-element-parent`,`driver-active-element-parent-no-scroll`)}),s.classList.remove(`driver-active-element`,`driver-no-interaction`),s.removeAttribute(`aria-haspopup`),s.removeAttribute(`aria-expanded`),s.removeAttribute(`aria-controls`),(t.disableActiveInteraction??i(`disableActiveInteraction`))&&e.classList.add(`driver-no-interaction`);let E=e.parentElement;E&&E!==document.body&&(E.classList.add(`driver-active-element-parent`),d(E)&&E.classList.add(`driver-active-element-parent-no-scroll`)),e.classList.add(`driver-active-element`),e.setAttribute(`aria-haspopup`,`dialog`),e.setAttribute(`aria-expanded`,`true`),e.setAttribute(`aria-controls`,`driver-popover-content`)}function W(){document.getElementById(`driver-dummy-element`)?.remove(),document.querySelectorAll(`.driver-active-element`).forEach(e=>{let t=e.parentElement;t&&t!==document.body&&t.classList.remove(`driver-active-element-parent`,`driver-active-element-parent-no-scroll`),e.classList.remove(`driver-active-element`,`driver-no-interaction`),e.removeAttribute(`aria-haspopup`),e.removeAttribute(`aria-expanded`),e.removeAttribute(`aria-controls`)})}function G(){let e=b(`__resizeTimeout`);e&&window.cancelAnimationFrame(e),y(`__resizeTimeout`,window.requestAnimationFrame(H))}
2function K(e){if(!b(`isInitialized`)||!(e.key===`Tab`||e.keyCode===9))return;let t=b(`__activeElement`),n=b(`popover`)?.wrapper,r=p([...n?[n]:[],...t?[t]:[]]),i=r[0],a=r[r.length-1];e.preventDefault(),e.shiftKey?(r[r.indexOf(document.activeElement)-1]||a)?.focus():(r[r.indexOf(document.activeElement)+1]||i)?.focus()}function q(e){(i(`allowKeyboardControl`)??!0)&&(e.key===`Escape`?l(`escapePress`):e.key===`ArrowRight`?l(`arrowRightPress`):e.key===`ArrowLeft`&&l(`arrowLeftPress`))}var J=[`pointerdown`,`mousedown`,`pointerup`,`mouseup`,`click`],Y=new WeakMap;function X(e,t,n){Z(e);let r=r=>{let i=r.target;e.contains(i)&&((!n||n(i))&&(r.preventDefault(),r.stopPropagation(),r.stopImmediatePropagation()),r.type===`click`&&t?.(r))};for(let e of J)document.addEventListener(e,r,!0);Y.set(e,r)}function Z(e){let t=Y.get(e);if(t){for(let e of J)document.removeEventListener(e,t,!0);Y.delete(e)}}function Q(){window.addEventListener(`keyup`,q,!1),window.addEventListener(`keydown`,K,!1),window.addEventListener(`resize`,G),window.addEventListener(`scroll`,G)}function ee(){window.removeEventListener(`keyup`,q),window.removeEventListener(`keydown`,K),window.removeEventListener(`resize`,G),window.removeEventListener(`scroll`,G)}function te(){let e=b(`popover`);e&&(e.wrapper.style.display=`none`)}function $(e,t){let n=b(`popover`);n&&(Z(n.wrapper),n.wrapper.remove()),n=ne(),document.body.appendChild(n.wrapper);let{title:r,description:a,showButtons:s,disableButtons:c,showProgress:u,nextBtnText:d=i(`nextBtnText`)||`Next`,prevBtnText:f=i(`prevBtnText`)||`Previous`,progressText:h=i(`progressText`)||`{current} of {total}`}=t.popover||{};n.nextButton.innerHTML=d,n.previousButton.innerHTML=f,n.progress.innerHTML=h;let g=i(`steps`)||[],_=b(`activeIndex`),v=_!==void 0&&_===g.length-1;v&&n.nextButton.classList.add(`driver-popover-done-btn`),r?(n.title.innerHTML=r,n.title.style.display=`block`):n.title.style.display=`none`,a?(n.description.innerHTML=a,n.description.style.display=`block`):n.description.style.display=`none`;let x=s||i(`showButtons`),S=u||i(`showProgress`)||!1,C=x?.includes(`next`)||x?.includes(`previous`)||S;n.closeButton.style.display=x.includes(`close`)?`block`:`none`,C?(n.footer.style.display=`flex`,n.progress.style.display=S?`block`:`none`,n.nextButton.style.display=x.includes(`next`)?`block`:`none`,n.previousButton.style.display=x.includes(`previous`)?`block`:`none`):n.footer.style.display=`none`;let w=c||i(`disableButtons`)||[];w?.includes(`next`)&&(n.nextButton.disabled=!0,n.nextButton.classList.add(`driver-popover-btn-disabled`)),w?.includes(`previous`)&&(n.previousButton.disabled=!0,n.previousButton.classList.add(`driver-popover-btn-disabled`)),w?.includes(`close`)&&(n.closeButton.disabled=!0,n.closeButton.classList.add(`driver-popover-btn-disabled`));let T=n.wrapper;T.style.display=`block`,T.style.left=``,T.style.top=``,T.style.bottom=``,T.style.right=``,T.id=`driver-popover-content`,T.setAttribute(`role`,`dialog`),T.setAttribute(`aria-labelledby`,`driver-popover-title`),T.setAttribute(`aria-describedby`,`driver-popover-description`);let E=n.arrow;E.className=`driver-popover-arrow`,T.className=`driver-popover ${t.popover?.popoverClass||i(`popoverClass`)||``}`.trim(),X(n.wrapper,n=>{let r=n.target,a=t.popover?.onNextClick||i(`onNextClick`),s=t.popover?.onPrevClick||i(`onPrevClick`),c=t.popover?.onCloseClick||i(`onCloseClick`),u=t.popover?.onDoneClick||i(`onDoneClick`);if(r.closest(`.driver-popover-next-btn`))return v&&u?u(e,t,{config:i(),state:b(),driver:o()}):a?a(e,t,{config:i(),state:b(),driver:o()}):l(`nextClick`);if(r.closest(`.driver-popover-prev-btn`))return s?s(e,t,{config:i(),state:b(),driver:o()}):l(`prevClick`);if(r.closest(`.driver-popover-close-btn`))return c?c(e,t,{config:i(),state:b(),driver:o()}):l(`closeClick`)},e=>n?.description.contains(e)||n?.title.contains(e)?!1:!!e.closest(`.driver-popover-prev-btn, .driver-popover-next-btn, .driver-popover-close-btn`)),y(`popover`,n);let D=t.popover?.onPopoverRender||i(`onPopoverRender`);D&&D(n,{config:i(),state:b(),driver:o()}),N(e,t),m(T);let O=p([T,...e.classList.contains(`driver-dummy-element`)?[]:[e]]);O.length>0&&O[0].focus()}function ne(){let e=document.createElement(`div`);e.classList.add(`driver-popover`);let t=document.createElement(`div`);t.classList.add(`driver-popover-arrow`);let n=document.createElement(`header`);n.id=`driver-popover-title`,n.classList.add(`driver-popover-title`),n.style.display=`none`,n.innerText=`Popover Title`;let r=document.createElement(`div`);r.id=`driver-popover-description`,r.classList.add(`driver-popover-description`),r.style.display=`none`,r.innerText=`Popover description is here`;let i=document.createElement(`button`);i.type=`button`,i.classList.add(`driver-popover-close-btn`),i.setAttribute(`aria-label`,`Close`),i.innerHTML=`×`;let a=document.createElement(`footer`);a.classList.add(`driver-popover-footer`);let o=document.createElement(`span`);o.classList.add(`driver-popover-progress-text`),o.innerText=``;let s=document.createElement(`span`);s.classList.add(`driver-popover-navigation-btns`);let c=document.createElement(`button`);c.type=`button`,c.classList.add(`driver-popover-prev-btn`,`driver-popover-footer-btn`),c.innerHTML=`Previous`;let l=document.createElement(`button`);return l.type=`button`,l.classList.add(`driver-popover-next-btn`,`driver-popover-footer-btn`),l.innerHTML=`Next`,s.appendChild(c),s.appendChild(l),a.appendChild(o),a.appendChild(s),e.appendChild(i),e.appendChild(t),e.appendChild(n),e.appendChild(r),e.a
2ppendChild(a),{wrapper:e,arrow:t,title:n,description:r,footer:a,previousButton:c,nextButton:l,closeButton:i,footerButtons:s,progress:o}}function re(){let e=b(`popover`);e&&(Z(e.wrapper),e.wrapper.parentElement?.removeChild(e.wrapper))}function ie(e={}){r(e);function t(){i(`allowClose`)&&g()}function n(){let e=i(`overlayClickBehavior`);if(i(`allowClose`)&&e===`close`){g();return}if(typeof e==`function`){let t=b(`__activeStep`);e(b(`__activeElement`),t,{config:i(),state:b(),driver:o()});return}if(e===`nextStep`){let e=b(`activeStep`),t=b(`activeElement`),n=i(`steps`)||[],r=b(`activeIndex`)===n.length-1,a=e?.popover?.onDoneClick||i(`onDoneClick`);if(r&&a){a(t,e,{config:i(),state:b(),driver:o()});return}let c=e?.popover?.onNextClick||i(`onNextClick`);if(c){c(t,e,{config:i(),state:b(),driver:o()});return}s()}}function s(){let e=b(`activeIndex`),t=i(`steps`)||[];if(e===void 0)return;let n=e+1;t[n]?h(n):g()}function l(){let e=b(`activeIndex`),t=i(`steps`)||[];if(e===void 0)return;let n=e-1;t[n]?h(n):g()}function d(e){(i(`steps`)||[])[e]?h(e):g()}function f(){if(b(`__transitionCallback`))return;let e=b(`activeIndex`),t=b(`__activeStep`),n=b(`__activeElement`);if(e===void 0||t===void 0||!(i(`steps`)||[])[e-1])return;let r=t.popover?.onPrevClick||i(`onPrevClick`);if(r)return r(n,t,{config:i(),state:b(),driver:o()});l()}function p(){if(b(`__transitionCallback`))return;let e=b(`activeIndex`),t=b(`__activeStep`),n=b(`__activeElement`);if(e===void 0||t===void 0)return;let r=e===(i(`steps`)||[]).length-1,a=t.popover?.onDoneClick||i(`onDoneClick`);if(r&&a)return a(n,t,{config:i(),state:b(),driver:o()});let c=t.popover?.onNextClick||i(`onNextClick`);if(c)return c(n,t,{config:i(),state:b(),driver:o()});s()}function m(){b(`isInitialized`)||(y(`isInitialized`,!0),document.body.classList.add(`driver-active`,i(`animate`)?`driver-fade`:`driver-simple`),i(`allowScroll`)||document.body.classList.add(`driver-no-scroll`),document.body.style.setProperty(`--driver-animation-duration`,`${i(`duration`)||400}ms`),Q(),c(`overlayClick`,n),c(`escapePress`,t),c(`closeClick`,t),c(`arrowLeftPress`,f),c(`arrowRightPress`,p))}function h(e=0){let t=i(`steps`);if(!t){console.error(`No steps to drive through`),g();return}if(!t[e]){g();return}y(`__activeOnDestroyed`,document.activeElement),y(`activeIndex`,e);let n=t[e],r=t[e+1],a=t[e-1],o=n.popover?.doneBtnText||i(`doneBtnText`)||`Done`,s=i(`allowClose`),c=n.popover?.showProgress===void 0?i(`showProgress`):n.popover?.showProgress,l=(n.popover?.progressText||i(`progressText`)||`{{current}} of {{total}}`).replace(`{{current}}`,`${e+1}`).replace(`{{total}}`,`${t.length}`),u=n.popover?.showButtons||i(`showButtons`),d=[`next`,`previous`,...s?[`close`]:[]].filter(e=>!u?.length||u.includes(e)),f=n.popover?.onNextClick||i(`onNextClick`),p=n.popover?.onPrevClick||i(`onPrevClick`),m=n.popover?.onCloseClick||i(`onCloseClick`);V({...n,popover:{showButtons:d,nextBtnText:r?void 0:o,disableButtons:[...a?[]:[`previous`]],showProgress:c,onNextClick:f||(()=>{r?h(e+1):g()}),onPrevClick:p||(()=>{h(e-1)}),onCloseClick:m||(()=>{g()}),...n?.popover||{},progressText:l}})}function g(e=!0){let t=b(`__activeElement`),n=b(`__activeStep`),r=b(`__activeOnDestroyed`),a=i(`onDestroyStarted`);if(e&&a){a(!t||t?.id===`driver-dummy-element`?void 0:t,n,{config:i(),state:b(),driver:o()});return}let s=n?.onDeselected||i(`onDeselected`),c=i(`onDestroyed`);document.body.classList.remove(`driver-active`,`driver-fade`,`driver-simple`,`driver-no-scroll`),document.body.style.removeProperty(`--driver-animation-duration`),ee(),re(),W(),k(),u();let l=b();if(x(),t&&n){let e=t.id===`driver-dummy-element`;s&&s(e?void 0:t,n,{config:i(),state:l,driver:o()}),c&&c(e?void 0:t,n,{config:i(),state:l,driver:o()})}r&&r.focus()}let _={isActive:()=>b(`isInitialized`)||!1,refresh:G,drive:(e=0)=>{m(),h(e)},setConfig:r,setSteps:e=>{x(),r({...i(),steps:e})},getConfig:i,getState:b,getActiveIndex:()=>b(`activeIndex`),isFirstStep:()=>b(`activeIndex`)===0,isLastStep:()=>{let e=i(`steps`)||[],t=b(`activeIndex`);return t!==void 0&&t===e.length-1},getActiveStep:()=>b(`activeStep`),getActiveElement:()=>b(`activeElement`),getPreviousElement:()=>b(`previousElement`),getPreviousStep:()=>b(`previousStep`),getNextStep:()=>{let e=i(`steps`)||[],t=b(`activeIndex`);return t===void 0?void 0:e[t+1]},moveNext:s,movePrevious:l,moveTo:d,hasNextStep:()=>{let e=i(`steps`)||[],t=b(`activeIndex`);return t!==void 0&&!!e[t+1]},hasPreviousStep:()=>{let e=i(`steps`)||[],t=b(`activeIndex`);return t!==void 0&&!!e[t-1]},highlight:e=>{m(),V({...e,popover:e.popover?{showButtons:[],showProgress:!1,progressText:``,...e.popover}:void 0})},destroy:()=>{g(!1)}};return a(_),_}return e.driver=ie,e})({});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.