New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

shepherd.js

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shepherd.js - npm Package Compare versions

Comparing version 7.0.4 to 7.1.0

.github/workflows/publish-github-pages.yml

122

dist/js/shepherd.esm.min.js

@@ -1,4 +0,122 @@

/*! shepherd.js 7.0.4 */
/*! shepherd.js 7.1.0 */
function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function e(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t){return t instanceof HTMLElement}function s(t){return"function"==typeof t}function a(t){return"string"==typeof t}function c(t){return void 0===t}var l=function(){function t(){}var e=t.prototype;return e.on=function(t,e,n,o){return void 0===o&&(o=!1),c(this.bindings)&&(this.bindings={}),c(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:o}),this},e.once=function(t,e,n){return this.on(t,e,n,!0)},e.off=function(t,e){var n=this;return c(this.bindings)||c(this.bindings[t])||(c(e)?delete this.bindings[t]:this.bindings[t].forEach((function(o,i){o.handler===e&&n.bindings[t].splice(i,1)}))),this},e.trigger=function(t){for(var e=this,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return!c(this.bindings)&&this.bindings[t]&&this.bindings[t].forEach((function(n,i){var r=n.ctx,s=n.handler,a=n.once,c=r||e;s.apply(c,o),a&&e.bindings[t].splice(i,1)})),this},t}();function u(t){for(var e=Object.getOwnPropertyNames(t.constructor.prototype),n=0;n<e.length;n++){var o=e[n],i=t[o];"constructor"!==o&&"function"==typeof i&&(t[o]=i.bind(t))}return t}function f(t){var e=t.options.advanceOn||{},n=e.event,o=e.selector;if(!n)return console.error("advanceOn was defined, but no event name was passed.");var i,r=function(t,e){return function(n){if(e.isOpen()){var o=e.el&&n.currentTarget===e.el;(!c(t)&&n.currentTarget.matches(t)||o)&&e.tour.next()}}}(o,t);try{i=document.querySelector(o)}catch(t){}if(!c(o)&&!i)return console.error("No element was found for the selector supplied to advanceOn: "+o);i?(i.addEventListener(n,r),t.on("destroy",(function(){return i.removeEventListener(n,r)}))):(document.body.addEventListener(n,r,!0),t.on("destroy",(function(){return document.body.removeEventListener(n,r,!0)})))}function p(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function d(t){if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e?e.defaultView:window}return t}function h(t){var e=d(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function m(t){return t instanceof d(t).Element}function v(t){return t instanceof d(t).HTMLElement}function g(t){return t?(t.nodeName||"").toLowerCase():null}function b(t){return(m(t)?t.ownerDocument:t.document).documentElement}function y(t){return p(b(t)).left+h(t).scrollLeft}function x(t,e,n){var o;void 0===n&&(n=!1);var i,r=p(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return n||("body"!==g(e)&&(s=(i=e)!==d(i)&&v(i)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(i):h(i)),v(e)?((a=p(e)).x+=e.clientLeft,a.y+=e.clientTop):(o=b(e))&&(a.x=y(o))),{x:r.left+s.scrollLeft-a.x,y:r.top+s.scrollTop-a.y,width:r.width,height:r.height}}function w(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function O(t){return"html"===g(t)?t:t.parentNode||t.host||document.ownerDocument||document.documentElement}function $(t){return d(t).getComputedStyle(t)}function E(t,e){void 0===e&&(e=[]);var n=function t(e){if(["html","body","#document"].indexOf(g(e))>=0)return e.ownerDocument.body;if(v(e)){var n=$(e),o=n.overflow,i=n.overflowX,r=n.overflowY;if(/auto|scroll|overlay|hidden/.test(o+r+i))return e}return t(O(e))}(t),o="body"===g(n),i=o?d(n):n,r=e.concat(i);return o?r:r.concat(E(O(i)))}function S(t){return["table","td","th"].indexOf(g(t))>=0}function T(t){var e;return!v(t)||!(e=t.offsetParent)||void 0!==window.InstallTrigger&&"fixed"===$(e).position?null:e}function I(t){for(var e=d(t),n=T(t);n&&S(n);)n=T(n);return n&&"body"===g(n)&&"static"===$(n).position?e:n||e}var _="top",j="bottom",L="right",k="left",M=[_,j,L,k],P=M.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),C=[].concat(M,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),A=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(t){var e=new Map,n=new Set,o=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(i){n.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var i=e.get(o);i&&t(i)}})),o.push(i)}(t)})),o}function D(t){return t.split("-")[0]}var H={placement:"bottom",modifiers:[],strategy:"absolute"};function F(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function N(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,o=void 0===n?[]:n,i=e.defaultOptions,r=void 0===i?H:i;return function(t,e,n){void 0===n&&(n=r);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},H,{},r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],l=!1,u={state:a,setOptions:function(n){f(),a.options=Object.assign({},r,{},a.options,{},n),a.scrollParents={reference:m(t)?E(t):[],popper:E(e)};var i,s,l=function(t){var e=B(t);return A.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((i=[].concat(o,a.options.modifiers),s=i.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,{},e,{options:Object.assign({},n.options,{},e.options),data:Object.assign({},n.data,{},e.data)}):e,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return a.orderedModifiers=l.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,o=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var r=i({state:a,name:e,instance:u,options:o});c.push(r||function(){})}})),u.update()},forceUpdate:function(){if(!l){var t=a.elements,e=t.reference,n=t.popper;if(F(e,n)){a.rects={reference:x(e,I(n),"fixed"===a.options.strategy),popper:w(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var i=a.orderedModifiers[o],r=i.fn,s=i.options,c=void 0===s?{}:s,f=i.name;"function"==typeof r&&(a=r({state:a,options:c,name:f,instance:u})||a)}else a.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(t){u.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(i())}))}))),s}),destroy:function(){f(),l=!0}};if(!F(t,e))return u;function f(){c.forEach((function(t){return t()})),c=[]}return u.setOptions(n).then((function(t){!l&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}var R={passive:!0};function W(t){return t.split("-")[1]}function Y(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function q(t){var e,n=t.reference,o=t.element,i=t.placement,r=i?D(i):null,s=i?W(i):null,a=n.x+n.width/2-o.width/2,c=n.y+n.height/2-o.height/2;switch(r){case _:e={x:a,y:n.y-o.height};break;case j:e={x:a,y:n.y+n.height};break;case L:e={x:n.x+n.width,y:c};break;case k:e={x:n.x-o.width,y:c};break;default:e={x:n.x,y:n.y}}var l=r?Y(r):null;if(null!=l){var u="y"===l?"height":"width";switch(s){case"start":e[l]=Math.floor(e[l])-Math.floor(n[u]/2-o[u]/2);break;case"end":e[l]=Math.floor(e[l])+Math.ceil(n[u]/2-o[u]/2)}}return e}var X={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V(t){var e,n=t.popper,o=t.popperRect,i=t.placement,r=t.offsets,s=t.position,a=t.gpuAcceleration,c=t.adaptive,l=function(t){var e=t.x,n=t.y,o=window.devicePixelRatio||1;return{x:Math.round(e*o)/o||0,y:Math.round(n*o)/o||0}}(r),u=l.x,f=l.y,p=r.hasOwnProperty("x"),h=r.hasOwnProperty("y"),m=k,v=_,g=window;if(c){var y=I(n);y===d(n)&&(y=b(n)),i===_&&(v=j,f-=y.clientHeight-o.height,f*=a?1:-1),i===k&&(m=L,u-=y.clientWidth-o.width,u*=a?1:-1)}var x,w=Object.assign({position:s},c&&X);return a?Object.assign({},w,((x={})[v]=h?"0":"",x[m]=p?"0":"",x.transform=(g.devicePixelRatio||1)<2?"translate("+u+"px, "+f+"px)":"translate3d("+u+"px, "+f+"px, 0)",x)):Object.assign({},w,((e={})[v]=h?f+"px":"",e[m]=p?u+"px":"",e.transform="",e))}var U={left:"right",right:"left",bottom:"top",top:"bottom"};function z(t){return t.replace(/left|right|bottom|top/g,(function(t){return U[t]}))}var Z={start:"end",end:"start"};function K(t){return t.replace(/start|end/g,(function(t){return Z[t]}))}function G(t){return parseFloat(t)||0}function J(t){var e=d(t),n=function(t){var e=v(t)?$(t):{};return{top:G(e.borderTopWidth),right:G(e.borderRightWidth),bottom:G(e.borderBottomWidth),left:G(e.borderLeftWidth)}}(t),o="html"===g(t),i=y(t),r=t.clientWidth+n.right,s=t.clientHeight+n.bottom;return o&&e.innerHeight-t.clientHeight>50&&(s=e.innerHeight-n.bottom),{top:o?0:t.clientTop,right:t.clientLeft>n.left?n.right:o?e.innerWidth-r-i:t.offsetWidth-r,bottom:o?e.innerHeight-s:t.offsetHeight-s,left:o?i:t.clientLeft}}function Q(t,e){var n=Boolean(e.getRootNode&&e.getRootNode().host);if(t.contains(e))return!0;if(n){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function tt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function et(t,e){return"viewport"===e?tt(function(t){var e=d(t);return{width:e.innerWidth,height:e.innerHeight,x:0,y:0}}(t)):v(e)?p(e):tt(function(t){var e=d(t),n=h(t),o=x(b(t),e);return o.height=Math.max(o.height,e.innerHeight),o.width=Math.max(o.width,e.innerWidth),o.x=-n.scrollLeft,o.y=-n.scrollTop,o}(b(t)))}function nt(t,e,n){var o="clippingParents"===e?function(t){var e=E(t),n=["absolute","fixed"].indexOf($(t).position)>=0&&v(t)?I(t):t;return m(n)?e.filter((function(t){return m(t)&&Q(t,n)})):[]}(t):[].concat(e),i=[].concat(o,[n]),r=i[0],s=i.reduce((function(e,n){var o=et(t,n),i=J(v(n)?n:b(t));return e.top=Math.max(o.top+i.top,e.top),e.right=Math.min(o.right-i.right,e.right),e.bottom=Math.min(o.bottom-i.bottom,e.bottom),e.left=Math.max(o.left+i.left,e.left),e}),et(t,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ot(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},t)}function it(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function rt(t,e){void 0===e&&(e={});var n=e,o=n.placement,i=void 0===o?t.placement:o,r=n.boundary,s=void 0===r?"clippingParents":r,a=n.rootBoundary,c=void 0===a?"viewport":a,l=n.elementContext,u=void 0===l?"popper":l,f=n.altBoundary,d=void 0!==f&&f,h=n.padding,v=void 0===h?0:h,g=ot("number"!=typeof v?v:it(v,M)),y="popper"===u?"reference":"popper",x=t.elements.reference,w=t.rects.popper,O=t.elements[d?y:u],$=nt(m(O)?O:b(t.elements.popper),s,c),E=p(x),S=q({reference:E,element:w,strategy:"absolute",placement:i}),T=tt(Object.assign({},w,{},S)),I="popper"===u?T:E,k={top:$.top-I.top+g.top,bottom:I.bottom-$.bottom+g.bottom,left:$.left-I.left+g.left,right:I.right-$.right+g.right},P=t.modifiersData.offset;if("popper"===u&&P){var C=P[i];Object.keys(k).forEach((function(t){var e=[L,j].indexOf(t)>=0?1:-1,n=[_,j].indexOf(t)>=0?"y":"x";k[t]+=C[n]*e}))}return k}function st(t,e,n){return Math.max(t,Math.min(e,n))}function at(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ct(t){return[_,L,j,k].some((function(e){return t[e]>=0}))}var lt,ut=N({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,i=o.scroll,r=void 0===i||i,s=o.resize,a=void 0===s||s,c=d(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&l.forEach((function(t){t.addEventListener("scroll",n.update,R)})),a&&c.addEventListener("resize",n.update,R),function(){r&&l.forEach((function(t){t.removeEventListener("scroll",n.update,R)})),a&&c.removeEventListener("resize",n.update,R)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=q({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,o=n.gpuAcceleration,i=void 0===o||o,r=n.adaptive,s=void 0===r||r,a={placement:D(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i};e.styles.popper=Object.assign({},e.styles.popper,{},V(Object.assign({},a,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s}))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,{},V(Object.assign({},a,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},i=e.elements[t];v(i)&&g(i)&&(Object.assign(i.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:"absolute",left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],i=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});v(o)&&g(o)&&(Object.assign(o.style,r),Object.keys(i).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,o=t.name,i=n.offset,r=void 0===i?[0,0]:i,s=C.reduce((function(t,n){return t[n]=function(t,e,n){var o=D(t),i=[k,_].indexOf(o)>=0?-1:1,r="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*i,[k,L].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,r),t}),{}),a=s[e.placement],c=a.x,l=a.y;e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l,e.modifiersData[o]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var i=n.fallbackPlacements,r=n.padding,s=n.boundary,a=n.rootBoundary,c=n.flipVariations,l=void 0===c||c,u=e.options.placement,f=D(u),p=i||(f===u||!l?[z(u)]:function(t){if("auto"===D(t))return[];var e=z(t);return[K(t),e,K(e)]}(u)),d=[u].concat(p).reduce((function(t,n){return t.concat("auto"===D(n)?function(t,e){void 0===e&&(e={});var n=e,o=n.placement,i=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,c=W(o),l=(c?a?P:P.filter((function(t){return W(t)===c})):M).reduce((function(e,n){return e[n]=rt(t,{placement:n,boundary:i,rootBoundary:r,padding:s})[D(n)],e}),{});return Object.keys(l).sort((function(t,e){return l[t]-l[e]}))}(e,{placement:n,boundary:s,rootBoundary:a,padding:r,flipVariations:l}):n)}),[]),h=e.rects.reference,m=e.rects.popper,v=new Map,g=!0,b=d[0],y=0;y<d.length;y++){var x=d[y],w=D(x),O="start"===W(x),$=[_,j].indexOf(w)>=0,E=$?"width":"height",S=rt(e,{placement:x,boundary:s,rootBoundary:a,padding:r}),T=$?O?L:k:O?j:_;h[E]>m[E]&&(T=z(T));var I=z(T),C=[S[w]<=0,S[T]<=0,S[I]<=0];if(C.every((function(t){return t}))){b=x,g=!1;break}v.set(x,C)}if(g)for(var A=function(t){var e=d.find((function(e){var n=v.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return b=e,"break"},B=l?3:1;B>0;B--){if("break"===A(B))break}e.placement!==b&&(e.modifiersData[o]._skip=!0,e.placement=b,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,o=t.name,i=n.mainAxis,r=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,u=n.padding,f=n.tether,p=void 0===f||f,d=n.tetherOffset,h=void 0===d?0:d,m=rt(e,{boundary:c,rootBoundary:l,padding:u}),v=D(e.placement),g=W(e.placement),b=!g,y=Y(v),x="x"===y?"y":"x",O=e.modifiersData.popperOffsets,$=e.rects.reference,E=e.rects.popper,S="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,T={x:0,y:0};if(r){var I="y"===y?_:k,M="y"===y?j:L,P="y"===y?"height":"width",C=O[y],A=O[y]+m[I],B=O[y]-m[M],H=p?-E[P]/2:0,F="start"===g?$[P]:E[P],N="start"===g?-E[P]:-$[P],R=e.elements.arrow,q=p&&R?w(R):{width:0,height:0},X=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=X[I],U=X[M],z=st(0,$[P],q[P]),Z=b?$[P]/2-H-z-V-S:F-z-V-S,K=b?-$[P]/2+H+z+U+S:N+z+U+S,G=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,J=O[y]+Z-G,Q=O[y]+K-G,tt=st(p?Math.min(A,J):A,C,p?Math.max(B,Q):B);O[y]=tt,T[y]=tt-C}if(a){var et="x"===y?_:k,nt="x"===y?j:L,ot=O[x],it=st(ot+m[et],ot,ot-m[nt]);e.modifiersData.popperOffsets[x]=it,T[x]=it-ot}e.modifiersData[o]=T},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,o=t.name,i=n.elements.arrow,r=n.modifiersData.popperOffsets,s=D(n.placement),a=Y(s),c=[k,L].indexOf(s)>=0?"height":"width";if(i){var l=n.modifiersData[o+"#persistent"].padding,u=w(i),f="y"===a?_:k,p="y"===a?j:L,d=(n.rects.reference[c]+n.rects.reference[a]-r[a]-n.rects.popper[c])/2-(r[a]-n.rects.reference[a])/2,h=st(l[f],n.rects.popper[c]/2-u[c]/2+d,n.rects.popper[c]-u[c]-l[p]),m=a;n.modifiersData[o]=((e={})[m]=h,e)}},effect:function(t){var e=t.state,n=t.options,o=t.name,i=n.element,r=void 0===i?"[data-popper-arrow]":i,s=n.padding,a=void 0===s?0:s;("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&Q(e.elements.popper,r)&&(e.elements.arrow=r,e.modifiersData[o+"#persistent"]={padding:ot("number"!=typeof a?a:it(a,M))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,o=e.rects.reference,i=e.rects.popper,r=e.modifiersData.preventOverflow,s=rt(e,{elementContext:"reference"}),a=rt(e,{altBoundary:!0}),c=at(s,o),l=at(a,i,r),u=ct(c),f=ct(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]});function ft(t){var e=[{name:"applyStyles",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){if("popper"===t){var n=e.attributes[t]||{},o=e.elements[t];Object.assign(o.style,{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)}))}}))}},{name:"computeStyles",options:{adaptive:!1}}],o=t.shepherdElementComponent.getElement(),i=function(t){return{placement:"top",strategy:"fixed",modifiers:[],onFirstUpdate:function(){t.el.focus()}}}(t);return o.classList.add("shepherd-centered"),i=n({},i,{modifiers:Array.from(new Set([].concat(i.modifiers,e)))})}function pt(t){return a(t)&&""!==t?"-"!==t.charAt(t.length-1)?t+"-":t:""}function dt(t){var e=t.options.attachTo||{},n=Object.assign({},e);if(a(e.element)){try{n.element=document.querySelector(e.element)}catch(t){}n.element||console.error("The element for this Shepherd step was not found "+e.element)}return n}function ht(t){t.tooltip&&t.tooltip.destroy();var e=dt(t),n=function(t,e){var n={modifiers:[{name:"preventOverflow",options:{altAxis:!0}}],strategy:"absolute",onFirstUpdate:function(){e.el.focus()}},o=document.body;t.element&&t.on?(n.placement=t.on||"right",o=t.element):n=ft(e);if(e.options.popperOptions){if(e.options.popperOptions.modifiers&&e.options.popperOptions.modifiers.length>0){var i=e.options.popperOptions.modifiers.map((function(t){return t.name})),r=n.modifiers.filter((function(t){return!i.includes(t.name)}));n.modifiers=Array.from(new Set([].concat(r,e.options.popperOptions.modifiers)))}n=Object.assign(e.options.popperOptions,n)}return{element:e.el,popperOptions:n,target:o}}(e,t),o=n.element,i=n.popperOptions,r=n.target;t.tooltip=ut(r,o,i),t.target=e.element}function mt(){var t=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?n:3&n|8).toString(16)}))}function vt(){}function gt(t,e){for(var n in e)t[n]=e[n];return t}function bt(t){return t()}function yt(){return Object.create(null)}function xt(t){t.forEach(bt)}function wt(t){return"function"==typeof t}function Ot(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function $t(t,e){t.appendChild(e)}function Et(t,e,n){t.insertBefore(e,n||null)}function St(t){t.parentNode.removeChild(t)}function Tt(t){return document.createElement(t)}function It(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function _t(t){return document.createTextNode(t)}function jt(){return _t(" ")}function Lt(t,e,n,o){return t.addEventListener(e,n,o),function(){return t.removeEventListener(e,n,o)}}function kt(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Mt(t,e){var n=Object.getOwnPropertyDescriptors(t.__proto__);for(var o in e)null==e[o]?t.removeAttribute(o):"style"===o?t.style.cssText=e[o]:"__value"===o||n[o]&&n[o].set?t[o]=e[o]:kt(t,o,e[o])}function Pt(t,e,n){t.classList[n?"add":"remove"](e)}function Ct(t){lt=t}function At(){if(!lt)throw new Error("Function called outside component initialization");return lt}function Bt(t){At().$$.after_update.push(t)}var Dt=[],Ht=[],Ft=[],Nt=[],Rt=Promise.resolve(),Wt=!1;function Yt(t){Ft.push(t)}var qt=!1,Xt=new Set;function Vt(){if(!qt){qt=!0;do{for(var t=0;t<Dt.length;t+=1){var e=Dt[t];Ct(e),Ut(e.$$)}for(Dt.length=0;Ht.length;)Ht.pop()();for(var n=0;n<Ft.length;n+=1){var o=Ft[n];Xt.has(o)||(Xt.add(o),o())}Ft.length=0}while(Dt.length);for(;Nt.length;)Nt.pop()();Wt=!1,qt=!1,Xt.clear()}}function Ut(t){if(null!==t.fragment){t.update(),xt(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Yt)}}var zt,Zt=new Set;function Kt(){zt={r:0,c:[],p:zt}}function Gt(){zt.r||xt(zt.c),zt=zt.p}function Jt(t,e){t&&t.i&&(Zt.delete(t),t.i(e))}function Qt(t,e,n,o){if(t&&t.o){if(Zt.has(t))return;Zt.add(t),zt.c.push((function(){Zt.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}function te(t){t&&t.c()}function ee(t,e,n){var o=t.$$,i=o.fragment,r=o.on_mount,s=o.on_destroy,a=o.after_update;i&&i.m(e,n),Yt((function(){var e=r.map(bt).filter(wt);s?s.push.apply(s,e):xt(e),t.$$.on_mount=[]})),a.forEach(Yt)}function ne(t,e){var n=t.$$;null!==n.fragment&&(xt(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function oe(t,e){-1===t.$$.dirty[0]&&(Dt.push(t),Wt||(Wt=!0,Rt.then(Vt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ie(t,e,n,o,i,r,s){void 0===s&&(s=[-1]);var a=lt;Ct(t);var c=e.props||{},l=t.$$={fragment:null,ctx:null,props:r,update:vt,not_equal:i,bound:yt(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:[]),callbacks:yt(),dirty:s},u=!1;l.ctx=n?n(t,c,(function(e,n){var o=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return l.ctx&&i(l.ctx[e],l.ctx[e]=o)&&(l.bound[e]&&l.bound[e](o),u&&oe(t,e)),n})):[],l.update(),u=!0,xt(l.before_update),l.fragment=!!o&&o(l.ctx),e.target&&(e.hydrate?l.fragment&&l.fragment.l(function(t){return Array.from(t.childNodes)}(e.target)):l.fragment&&l.fragment.c(),e.intro&&Jt(t.$$.fragment),ee(t,e.target,e.anchor),Vt()),Ct(a)}var re=function(){function t(){}var e=t.prototype;return e.$destroy=function(){ne(this,1),this.$destroy=vt},e.$on=function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}},e.$set=function(){},t}();function se(t){var e,n,o,i,r;return{c:function(){e=Tt("button"),n=_t(t[3]),kt(e,"aria-label",o=t[4]?t[4]:null),kt(e,"class",i=(t[1]||"")+" shepherd-button "+(t[2]?"shepherd-button-secondary":"")),e.disabled=t[5],kt(e,"tabindex","0")},m:function(o,i){Et(o,e,i),$t(e,n),r=Lt(e,"click",(function(){wt(t[0])&&t[0].apply(this,arguments)}))},p:function(r,s){var a=s[0];t=r,8&a&&function(t,e){e=""+e,t.data!==e&&(t.data=e)}(n,t[3]),16&a&&o!==(o=t[4]?t[4]:null)&&kt(e,"aria-label",o),6&a&&i!==(i=(t[1]||"")+" shepherd-button "+(t[2]?"shepherd-button-secondary":""))&&kt(e,"class",i),32&a&&(e.disabled=t[5])},i:vt,o:vt,d:function(t){t&&St(e),r()}}}function ae(t,e,n){var o,i,r,a,c,l,u=e.config,f=e.step;return t.$set=function(t){"config"in t&&n(6,u=t.config),"step"in t&&n(7,f=t.step)},t.$$.update=function(){192&t.$$.dirty&&(n(0,o=u.action?u.action.bind(f.tour):null),n(1,i=u.classes),n(2,r=u.secondary),n(3,a=u.text),n(4,c=u.label),n(5,l=!!u.disabled&&function(t){return s(t)?t.call(f):t}(u.disabled)))},[o,i,r,a,c,l,u,f]}var ce=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,ae,se,Ot,{config:6,step:7}),n}return o(e,t),e}(re);function le(t,e,n){var o=t.slice();return o[2]=e[n],o}function ue(t){for(var e,n,o=t[1],i=[],r=0;r<o.length;r+=1)i[r]=fe(le(t,o,r));var s=function(t){return Qt(i[t],1,1,(function(){i[t]=null}))};return{c:function(){for(var t=0;t<i.length;t+=1)i[t].c();e=_t("")},m:function(t,o){for(var r=0;r<i.length;r+=1)i[r].m(t,o);Et(t,e,o),n=!0},p:function(t,n){if(3&n){var r;for(o=t[1],r=0;r<o.length;r+=1){var a=le(t,o,r);i[r]?(i[r].p(a,n),Jt(i[r],1)):(i[r]=fe(a),i[r].c(),Jt(i[r],1),i[r].m(e.parentNode,e))}for(Kt(),r=o.length;r<i.length;r+=1)s(r);Gt()}},i:function(t){if(!n){for(var e=0;e<o.length;e+=1)Jt(i[e]);n=!0}},o:function(t){i=i.filter(Boolean);for(var e=0;e<i.length;e+=1)Qt(i[e]);n=!1},d:function(t){!function(t,e){for(var n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}(i,t),t&&St(e)}}}function fe(t){var e,n=new ce({props:{config:t[2],step:t[0]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};2&e&&(o.config=t[2]),1&e&&(o.step=t[0]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function pe(t){var e,n,o=t[1]&&ue(t);return{c:function(){e=Tt("footer"),o&&o.c(),kt(e,"class","shepherd-footer")},m:function(t,i){Et(t,e,i),o&&o.m(e,null),n=!0},p:function(t,n){var i=n[0];t[1]?o?(o.p(t,i),Jt(o,1)):((o=ue(t)).c(),Jt(o,1),o.m(e,null)):o&&(Kt(),Qt(o,1,1,(function(){o=null})),Gt())},i:function(t){n||(Jt(o),n=!0)},o:function(t){Qt(o),n=!1},d:function(t){t&&St(e),o&&o.d()}}}function de(t,e,n){var o,i=e.step;return t.$set=function(t){"step"in t&&n(0,i=t.step)},t.$$.update=function(){1&t.$$.dirty&&n(1,o=i.options.buttons)},[i,o]}var he=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,de,pe,Ot,{step:0}),n}return o(e,t),e}(re);function me(t){var e,n,o,i;return{c:function(){e=Tt("button"),(n=Tt("span")).textContent="×",kt(n,"aria-hidden","true"),kt(e,"aria-label",o=t[0].label?t[0].label:"Close Tour"),kt(e,"class","shepherd-cancel-icon"),kt(e,"type","button")},m:function(o,r){Et(o,e,r),$t(e,n),i=Lt(e,"click",t[1])},p:function(t,n){1&n[0]&&o!==(o=t[0].label?t[0].label:"Close Tour")&&kt(e,"aria-label",o)},i:vt,o:vt,d:function(t){t&&St(e),i()}}}function ve(t,e,n){var o=e.cancelIcon,i=e.step;return t.$set=function(t){"cancelIcon"in t&&n(0,o=t.cancelIcon),"step"in t&&n(2,i=t.step)},[o,function(t){t.preventDefault(),i.cancel()},i]}var ge=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,ve,me,Ot,{cancelIcon:0,step:2}),n}return o(e,t),e}(re);function be(t){var e;return{c:function(){kt(e=Tt("h3"),"id",t[1]),kt(e,"class","shepherd-title")},m:function(n,o){Et(n,e,o),t[3](e)},p:function(t,n){2&n[0]&&kt(e,"id",t[1])},i:vt,o:vt,d:function(n){n&&St(e),t[3](null)}}}function ye(t,e,n){var o=e.labelId,i=e.element,r=e.title;return Bt((function(){s(r)&&n(2,r=r()),n(0,i.innerHTML=r,i)})),t.$set=function(t){"labelId"in t&&n(1,o=t.labelId),"element"in t&&n(0,i=t.element),"title"in t&&n(2,r=t.title)},[i,o,r,function(t){Ht[t?"unshift":"push"]((function(){n(0,i=t)}))}]}var xe=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,ye,be,Ot,{labelId:1,element:0,title:2}),n}return o(e,t),e}(re);function we(t){var e,n=new xe({props:{labelId:t[0],title:t[2]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};1&e&&(o.labelId=t[0]),4&e&&(o.title=t[2]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function Oe(t){var e,n=new ge({props:{cancelIcon:t[3],step:t[1]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};8&e&&(o.cancelIcon=t[3]),2&e&&(o.step=t[1]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function $e(t){var e,n,o,i=t[2]&&we(t),r=t[3]&&t[3].enabled&&Oe(t);return{c:function(){e=Tt("header"),i&&i.c(),n=jt(),r&&r.c(),kt(e,"class","shepherd-header")},m:function(t,s){Et(t,e,s),i&&i.m(e,null),$t(e,n),r&&r.m(e,null),o=!0},p:function(t,o){var s=o[0];t[2]?i?(i.p(t,s),Jt(i,1)):((i=we(t)).c(),Jt(i,1),i.m(e,n)):i&&(Kt(),Qt(i,1,1,(function(){i=null})),Gt()),t[3]&&t[3].enabled?r?(r.p(t,s),Jt(r,1)):((r=Oe(t)).c(),Jt(r,1),r.m(e,null)):r&&(Kt(),Qt(r,1,1,(function(){r=null})),Gt())},i:function(t){o||(Jt(i),Jt(r),o=!0)},o:function(t){Qt(i),Qt(r),o=!1},d:function(t){t&&St(e),i&&i.d(),r&&r.d()}}}function Ee(t,e,n){var o,i,r=e.labelId,s=e.step;return t.$set=function(t){"labelId"in t&&n(0,r=t.labelId),"step"in t&&n(1,s=t.step)},t.$$.update=function(){2&t.$$.dirty&&(n(2,o=s.options.title),n(3,i=s.options.cancelIcon))},[r,s,o,i]}var Se=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,Ee,$e,Ot,{labelId:0,step:1}),n}return o(e,t),e}(re);function Te(t){var e;return{c:function(){kt(e=Tt("div"),"class","shepherd-text"),kt(e,"id",t[1])},m:function(n,o){Et(n,e,o),t[3](e)},p:function(t,n){2&n[0]&&kt(e,"id",t[1])},i:vt,o:vt,d:function(n){n&&St(e),t[3](null)}}}function Ie(t,e,n){var o=e.descriptionId,i=e.element,a=e.step;return Bt((function(){var t=a.options.text;s(t)&&(t=t.call(a)),r(t)?i.appendChild(t):n(0,i.innerHTML=t,i)})),t.$set=function(t){"descriptionId"in t&&n(1,o=t.descriptionId),"element"in t&&n(0,i=t.element),"step"in t&&n(2,a=t.step)},[i,o,a,function(t){Ht[t?"unshift":"push"]((function(){n(0,i=t)}))}]}var _e=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,Ie,Te,Ot,{descriptionId:1,element:0,step:2}),n}return o(e,t),e}(re);function je(t){var e,n=new _e({props:{descriptionId:t[0],step:t[2]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};1&e&&(o.descriptionId=t[0]),4&e&&(o.step=t[2]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function Le(t){var e,n=new he({props:{step:t[2]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};4&e&&(o.step=t[2]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function ke(t){var e,n,o,i,r=!c(t[2].options.text),s=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length,a=new Se({props:{labelId:t[1],step:t[2]}}),l=r&&je(t),u=s&&Le(t);return{c:function(){e=Tt("div"),te(a.$$.fragment),n=jt(),l&&l.c(),o=jt(),u&&u.c(),kt(e,"class","shepherd-content")},m:function(t,r){Et(t,e,r),ee(a,e,null),$t(e,n),l&&l.m(e,null),$t(e,o),u&&u.m(e,null),i=!0},p:function(t,n){var i=n[0],f={};2&i&&(f.labelId=t[1]),4&i&&(f.step=t[2]),a.$set(f),4&i&&(r=!c(t[2].options.text)),r?l?(l.p(t,i),Jt(l,1)):((l=je(t)).c(),Jt(l,1),l.m(e,o)):l&&(Kt(),Qt(l,1,1,(function(){l=null})),Gt()),4&i&&(s=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length),s?u?(u.p(t,i),Jt(u,1)):((u=Le(t)).c(),Jt(u,1),u.m(e,null)):u&&(Kt(),Qt(u,1,1,(function(){u=null})),Gt())},i:function(t){i||(Jt(a.$$.fragment,t),Jt(l),Jt(u),i=!0)},o:function(t){Qt(a.$$.fragment,t),Qt(l),Qt(u),i=!1},d:function(t){t&&St(e),ne(a),l&&l.d(),u&&u.d()}}}function Me(t,e,n){var o=e.descriptionId,i=e.labelId,r=e.step;return t.$set=function(t){"descriptionId"in t&&n(0,o=t.descriptionId),"labelId"in t&&n(1,i=t.labelId),"step"in t&&n(2,r=t.step)},[o,i,r]}var Pe=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,Me,ke,Ot,{descriptionId:0,labelId:1,step:2}),n}return o(e,t),e}(re);function Ce(t){var e;return{c:function(){kt(e=Tt("div"),"class","shepherd-arrow"),kt(e,"data-popper-arrow","")},m:function(t,n){Et(t,e,n)},d:function(t){t&&St(e)}}}function Ae(t){for(var e,n,o,i,r=t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element&&Ce(),s=new Pe({props:{descriptionId:t[2],labelId:t[3],step:t[4]}}),a=[{"aria-describedby":c(t[4].options.text)?null:t[2]},{"aria-labelledby":t[4].options.title?t[3]:null},t[1],{role:"dialog"},{tabindex:"0"}],l={},u=0;u<a.length;u+=1)l=gt(l,a[u]);return{c:function(){e=Tt("div"),r&&r.c(),n=jt(),te(s.$$.fragment),Mt(e,l),Pt(e,"shepherd-has-cancel-icon",t[5]),Pt(e,"shepherd-has-title",t[6]),Pt(e,"shepherd-element",!0)},m:function(a,c){Et(a,e,c),r&&r.m(e,null),$t(e,n),ee(s,e,null),t[17](e),o=!0,i=Lt(e,"keydown",t[7])},p:function(t,o){var i=o[0];t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element?r||((r=Ce()).c(),r.m(e,n)):r&&(r.d(1),r=null);var l={};4&i&&(l.descriptionId=t[2]),8&i&&(l.labelId=t[3]),16&i&&(l.step=t[4]),s.$set(l),Mt(e,function(t,e){for(var n={},o={},i={$$scope:1},r=t.length;r--;){var s=t[r],a=e[r];if(a){for(var c in s)c in a||(o[c]=1);for(var l in a)i[l]||(n[l]=a[l],i[l]=1);t[r]=a}else for(var u in s)i[u]=1}for(var f in o)f in n||(n[f]=void 0);return n}(a,[20&i&&{"aria-describedby":c(t[4].options.text)?null:t[2]},24&i&&{"aria-labelledby":t[4].options.title?t[3]:null},2&i&&t[1],{role:"dialog"},{tabindex:"0"}])),Pt(e,"shepherd-has-cancel-icon",t[5]),Pt(e,"shepherd-has-title",t[6]),Pt(e,"shepherd-element",!0)},i:function(t){o||(Jt(s.$$.fragment,t),o=!0)},o:function(t){Qt(s.$$.fragment,t),o=!1},d:function(n){n&&St(e),r&&r.d(),ne(s),t[17](null),i()}}}function Be(t){return t.split(" ").filter((function(t){return!!t.length}))}function De(t,e,n){var o,i,r,s,c=e.classPrefix,l=e.element,u=e.descriptionId,f=e.firstFocusableElement,p=e.focusableElements,d=e.labelId,h=e.lastFocusableElement,m=e.step,v=e.dataStepId;function g(){b(r),y(r=m.options.classes)}function b(t){if(a(t)){var e,n=Be(t);if(n.length)(e=l.classList).remove.apply(e,n)}}function y(t){if(a(t)){var e,n=Be(t);if(n.length)(e=l.classList).add.apply(e,n)}}s=function(){var t;n(1,((t={})["data-"+c+"shepherd-step-id"]=m.id,v=t)),n(9,p=l.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')),n(8,f=p[0]),n(10,h=p[p.length-1])},At().$$.on_mount.push(s),Bt((function(){r!==m.options.classes&&g()}));return t.$set=function(t){"classPrefix"in t&&n(11,c=t.classPrefix),"element"in t&&n(0,l=t.element),"descriptionId"in t&&n(2,u=t.descriptionId),"firstFocusableElement"in t&&n(8,f=t.firstFocusableElement),"focusableElements"in t&&n(9,p=t.focusableElements),"labelId"in t&&n(3,d=t.labelId),"lastFocusableElement"in t&&n(10,h=t.lastFocusableElement),"step"in t&&n(4,m=t.step),"dataStepId"in t&&n(1,v=t.dataStepId)},t.$$.update=function(){16&t.$$.dirty&&(n(5,o=m.options&&m.options.cancelIcon&&m.options.cancelIcon.enabled),n(6,i=m.options&&m.options.title))},[l,v,u,d,m,o,i,function(t){var e=m.tour;switch(t.keyCode){case 9:if(0===p.length){t.preventDefault();break}t.shiftKey?document.activeElement===f&&(t.preventDefault(),h.focus()):document.activeElement===h&&(t.preventDefault(),f.focus());break;case 27:e.options.exitOnEsc&&m.cancel();break;case 37:e.options.keyboardNavigation&&e.back();break;case 39:e.options.keyboardNavigation&&e.next()}},f,p,h,c,function(){return l},r,g,b,y,function(t){Ht[t?"unshift":"push"]((function(){n(0,l=t)}))}]}var He=function(t){function n(e){var n;return ie(i(n=t.call(this)||this),e,De,Ae,Ot,{classPrefix:11,element:0,descriptionId:2,firstFocusableElement:8,focusableElements:9,labelId:3,lastFocusableElement:10,step:4,dataStepId:1,getElement:12}),n}return o(n,t),e(n,[{key:"getElement",get:function(){return this.$$.ctx[12]}}]),n}(re);var Fe=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t,e){t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style&&!0!==t.__forceSmoothScrollPolyfill__)){var n,o=t.HTMLElement||t.Element,i={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:o.prototype.scroll||a,scrollIntoView:o.prototype.scrollIntoView},r=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,s=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?h.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):i.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?i.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},o.prototype.scroll=o.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var t=arguments[0].left,e=arguments[0].top;h.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},o.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},o.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var n=p(this),o=n.getBoundingClientRect(),r=this.getBoundingClientRect();n!==e.body?(h.call(this,n,n.scrollLeft+r.left-o.left,n.scrollTop+r.top-o.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})):t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function a(t,e){this.scrollLeft=t,this.scrollTop=e}function c(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function l(t,e){return"Y"===e?t.clientHeight+s<t.scrollHeight:"X"===e?t.clientWidth+s<t.scrollWidth:void 0}function u(e,n){var o=t.getComputedStyle(e,null)["overflow"+n];return"auto"===o||"scroll"===o}function f(t){var e=l(t,"Y")&&u(t,"Y"),n=l(t,"X")&&u(t,"X");return e||n}function p(t){for(;t!==e.body&&!1===f(t);)t=t.parentNode||t.host;return t}function d(e){var n,o,i,s,a=(r()-e.startTime)/468;s=a=a>1?1:a,n=.5*(1-Math.cos(Math.PI*s)),o=e.startX+(e.x-e.startX)*n,i=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,o,i),o===e.x&&i===e.y||t.requestAnimationFrame(d.bind(t,e))}function h(n,o,s){var c,l,u,f,p=r();n===e.body?(c=t,l=t.scrollX||t.pageXOffset,u=t.scrollY||t.pageYOffset,f=i.scroll):(c=n,l=n.scrollLeft,u=n.scrollTop,f=a),d({scrollable:c,method:f,startTime:p,startX:l,startY:u,x:o,y:s})}}}}));Fe.polyfill;Fe.polyfill();var Ne=function(t){function e(e,n){var o;return void 0===n&&(n={}),(o=t.call(this,e,n)||this).tour=e,o.classPrefix=o.tour.options?pt(o.tour.options.classPrefix):"",o.styles=e.styles,u(i(o)),o._setOptions(n),i(o)||i(o)}o(e,t);var n=e.prototype;return n.cancel=function(){this.tour.cancel(),this.trigger("cancel")},n.complete=function(){this.tour.complete(),this.trigger("complete")},n.destroy=function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),r(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")},n.getTour=function(){return this.tour},n.hide=function(){this.tour.modal.hide(),this.trigger("before-hide"),this.el&&(this.el.hidden=!0),this.target&&this._updateStepTargetOnHide(),this.trigger("hide")},n.isOpen=function(){return Boolean(this.el&&!this.el.hidden)},n.show=function(){var t=this;if(s(this.options.beforeShowPromise)){var e=this.options.beforeShowPromise();if(!c(e))return e.then((function(){return t._show()}))}this._show()},n.updateStepOptions=function(t){Object.assign(this.options,t),this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})},n._createTooltipContent=function(){var t=this.id+"-description",e=this.id+"-label";return this.shepherdElementComponent=new He({target:document.body,props:{classPrefix:this.classPrefix,descriptionId:t,labelId:e,step:this,styles:this.styles}}),this.shepherdElementComponent.getElement()},n._scrollTo=function(t){var e=dt(this).element;s(this.options.scrollToHandler)?this.options.scrollToHandler(e):r(e)&&"function"==typeof e.scrollIntoView&&e.scrollIntoView(t)},n._getClassOptions=function(t){var e=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,n=t.classes?t.classes:"",o=e&&e.classes?e.classes:"",i=[].concat(n.split(" "),o.split(" ")),r=new Set(i);return Array.from(r).join(" ").trim()},n._setOptions=function(t){var e=this;void 0===t&&(t={});var n=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;this.options=Object.assign({arrow:!0},n,t);var o=this.options.when;this.options.classes=this._getClassOptions(t),this.destroy(),this.id=this.options.id||"step-"+mt(),o&&Object.keys(o).forEach((function(t){e.on(t,o[t],e)}))},n._setupElements=function(){c(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&f(this),ht(this)},n._show=function(){var t=this;this.trigger("before-show"),this._setupElements(),this.tour.modal.setupForStep(this),this._styleTargetElementForStep(this),this.el.hidden=!1,this.options.scrollTo&&setTimeout((function(){t._scrollTo(t.options.scrollTo)})),this.el.hidden=!1;var e=this.shepherdElementComponent.getElement(),n=this.target||document.body;n.classList.add(this.classPrefix+"shepherd-enabled"),n.classList.add(this.classPrefix+"shepherd-target"),e.classList.add("shepherd-enabled"),this.trigger("show")},n._styleTargetElementForStep=function(t){var e=t.target;e&&(t.options.highlightClass&&e.classList.add(t.options.highlightClass),!1===t.options.canClickTarget&&e.classList.add("shepherd-target-click-disabled"))},n._updateStepTargetOnHide=function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove(this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target")},e}(l);function Re(t){var e,n,o,i,r;return{c:function(){e=It("svg"),kt(n=It("path"),"d",o="M "+t[1].x+" "+t[1].y+" H "+(t[1].width+t[1].x)+" V "+(t[1].height+t[1].y)+" H "+t[1].x+" L "+t[1].x+" 0 Z M 0 0 H "+window.innerWidth+" V "+window.innerHeight+" H 0 L 0 0 Z"),kt(e,"class",i=(t[2]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m:function(o,i){Et(o,e,i),$t(e,n),t[16](e),r=Lt(e,"touchmove",t[3])},p:function(t,r){var s=r[0];2&s&&o!==(o="M "+t[1].x+" "+t[1].y+" H "+(t[1].width+t[1].x)+" V "+(t[1].height+t[1].y)+" H "+t[1].x+" L "+t[1].x+" 0 Z M 0 0 H "+window.innerWidth+" V "+window.innerHeight+" H 0 L 0 0 Z")&&kt(n,"d",o),4&s&&i!==(i=(t[2]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&kt(e,"class",i)},i:vt,o:vt,d:function(n){n&&St(e),t[16](null),r()}}}function We(t,e,n){var o=e.element,i=e.openingProperties,r=mt(),s=!1,a=void 0;c();function c(){n(1,i={height:0,x:0,y:0,width:0})}function l(){n(2,s=!1),h()}function u(t,e,o){if(void 0===o&&(o=0),t.getBoundingClientRect){var r=function(t,e){var n=t.getBoundingClientRect(),o=n.y||n.top,i=n.bottom||o+n.height;if(e){var r=e.getBoundingClientRect(),s=r.y||r.top,a=r.bottom||s+r.height;o=Math.max(o,s),i=Math.min(i,a)}return{y:o,height:Math.max(i-o,0)}}(t,e),s=r.y,a=r.height,c=t.getBoundingClientRect(),l=c.x,u=c.width,f=c.left;n(1,i={x:(l||f)-o,y:s-o,width:u+2*o,height:a+2*o})}}function f(){n(2,s=!0)}var p=function(t){t.preventDefault()};function d(){window.addEventListener("touchmove",p,{passive:!1})}function h(){a&&(cancelAnimationFrame(a),a=void 0),window.removeEventListener("touchmove",p,{passive:!1})}function m(t){var e=t.options.modalOverlayOpeningPadding;if(t.target){var n=function t(e){if(!e)return null;var n=e instanceof HTMLElement&&window.getComputedStyle(e).overflowY;return"hidden"!==n&&"visible"!==n&&e.scrollHeight>=e.clientHeight?e:t(e.parentElement)}(t.target);!function o(){a=void 0,u(t.target,n,e),a=requestAnimationFrame(o)}(),d()}else c()}return t.$set=function(t){"element"in t&&n(0,o=t.element),"openingProperties"in t&&n(1,i=t.openingProperties)},[o,i,s,function(t){t.stopPropagation()},function(){return o},c,l,u,function(t){h(),t.tour.options.useModalOverlay?(m(t),f()):l()},f,a,r,p,d,h,m,function(t){Ht[t?"unshift":"push"]((function(){n(0,o=t)}))}]}var Ye=function(t){function n(e){var n;return ie(i(n=t.call(this)||this),e,We,Re,Ot,{element:0,openingProperties:1,getElement:4,closeModalOpening:5,hide:6,positionModalOpening:7,setupForStep:8,show:9}),n}return o(n,t),e(n,[{key:"getElement",get:function(){return this.$$.ctx[4]}},{key:"closeModalOpening",get:function(){return this.$$.ctx[5]}},{key:"hide",get:function(){return this.$$.ctx[6]}},{key:"positionModalOpening",get:function(){return this.$$.ctx[7]}},{key:"setupForStep",get:function(){return this.$$.ctx[8]}},{key:"show",get:function(){return this.$$.ctx[9]}}]),n}(re),qe=new l,Xe=function(t){function e(e){var n;void 0===e&&(e={}),u(i(n=t.call(this,e)||this));n.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},e),n.classPrefix=pt(n.options.classPrefix),n.steps=[],n.addSteps(n.options.steps);return["active","cancel","complete","inactive","show","start"].map((function(t){var e;e=t,n.on(e,(function(t){(t=t||{}).tour=i(n),qe.trigger(e,t)}))})),n.modal=new Ye({target:e.modalContainer||document.body,props:{classPrefix:n.classPrefix,styles:n.styles}}),n._setTourID(),i(n)||i(n)}o(e,t);var n=e.prototype;return n.addStep=function(t,e){var n=t;return n instanceof Ne?n.tour=this:n=new Ne(this,n),c(e)?this.steps.push(n):this.steps.splice(e,0,n),n},n.addSteps=function(t){var e=this;return Array.isArray(t)&&t.forEach((function(t){e.addStep(t)})),this},n.back=function(){var t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)},n.cancel=function(){if(this.options.confirmCancel){var t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(t)&&this._done("cancel")}else this._done("cancel")},n.complete=function(){this._done("complete")},n.getById=function(t){return this.steps.find((function(e){return e.id===t}))},n.getCurrentStep=function(){return this.currentStep},n.hide=function(){var t=this.getCurrentStep();if(t)return t.hide()},n.isActive=function(){return qe.activeTour===this},n.next=function(){var t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)},n.removeStep=function(t){var e=this,n=this.getCurrentStep();this.steps.some((function(n,o){if(n.id===t)return n.isOpen()&&n.hide(),n.destroy(),e.steps.splice(o,1),!0})),n&&n.id===t&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())},n.show=function(t,e){void 0===t&&(t=0),void 0===e&&(e=!0);var n=a(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),s(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,e):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show()))},n.start=function(){this.trigger("start"),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this._setupActiveTour(),this.next()},n._done=function(t){var e,n=this.steps.indexOf(this.currentStep);Array.isArray(this.steps)&&this.steps.forEach((function(t){return t.destroy()})),(e=this)&&e.steps.forEach((function(t){t.options&&!1===t.options.canClickTarget&&t.options.attachTo&&t.target instanceof HTMLElement&&t.target.classList.remove("shepherd-target-click-disabled")})),this.trigger(t,{index:n}),qe.activeTour=null,this.trigger("inactive",{tour:this}),this.modal.hide(),r(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()},n._setupActiveTour=function(){this.trigger("active",{tour:this}),qe.activeTour=this},n._skipStep=function(t,e){var n=this.steps.indexOf(t),o=e?n+1:n-1;this.show(o,e)},n._updateStateBeforeShow=function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()},n._setTourID=function(){var t=this.options.tourName||"tour";this.id=t+"--"+mt()},e}(l);Object.assign(qe,{Tour:Xe,Step:Ne});export default qe;
function aa(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}function ba(a,b,c){b&&aa(a.prototype,b);c&&aa(a,c);return a}function ca(){ca=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],d;for(d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a};return ca.apply(this,arguments)}
function t(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}function u(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function x(a){return"function"===typeof a}function da(a){return"string"===typeof a}
var ea=function(){function a(){}var b=a.prototype;b.on=function(a,b,e,f){void 0===f&&(f=!1);void 0===this.bindings&&(this.bindings={});void 0===this.bindings[a]&&(this.bindings[a]=[]);this.bindings[a].push({handler:b,ctx:e,once:f});return this};b.once=function(a,b,e){return this.on(a,b,e,!0)};b.off=function(a,b){var c=this;if(void 0===this.bindings||void 0===this.bindings[a])return this;void 0===b?delete this.bindings[a]:this.bindings[a].forEach(function(d,e){d.handler===b&&c.bindings[a].splice(e,
1)});return this};b.trigger=function(a){for(var b=this,c=arguments.length,f=Array(1<c?c-1:0),g=1;g<c;g++)f[g-1]=arguments[g];void 0!==this.bindings&&this.bindings[a]&&this.bindings[a].forEach(function(c,d){var e=c.once;c.handler.apply(c.ctx||b,f);e&&b.bindings[a].splice(d,1)});return this};return a}();function fa(a){for(var b=Object.getOwnPropertyNames(a.constructor.prototype),c=0;c<b.length;c++){var d=b[c],e=a[d];"constructor"!==d&&"function"===typeof e&&(a[d]=e.bind(a))}return a}
function ha(a,b){return function(c){if(b.isOpen()){var d=b.el&&c.currentTarget===b.el;(void 0!==a&&c.currentTarget.matches(a)||d)&&b.tour.next()}}}
function ja(a){var b=a.options.advanceOn||{},c=b.event;b=b.selector;if(c){var d=ha(b,a);try{var e=document.querySelector(b)}catch(f){}if(void 0===b||e)e?(e.addEventListener(c,d),a.on("destroy",function(){return e.removeEventListener(c,d)})):(document.body.addEventListener(c,d,!0),a.on("destroy",function(){return document.body.removeEventListener(c,d,!0)}));else return console.error("No element was found for the selector supplied to advanceOn: "+b)}else return console.error("advanceOn was defined, but no event name was passed.")}
function ka(a){a=a.getBoundingClientRect();return{width:a.width,height:a.height,top:a.top,right:a.right,bottom:a.bottom,left:a.left,x:a.left,y:a.top}}function z(a){return"[object Window]"!==a.toString()?(a=a.ownerDocument)?a.defaultView:window:a}function la(a){a=z(a);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function ma(a){var b=z(a).Element;return a instanceof b||a instanceof Element}function B(a){var b=z(a).HTMLElement;return a instanceof b||a instanceof HTMLElement}
function C(a){return a?(a.nodeName||"").toLowerCase():null}function D(a){return(ma(a)?a.ownerDocument:a.document).documentElement}function na(a){return ka(D(a)).left+la(a).scrollLeft}
function oa(a,b,c){void 0===c&&(c=!1);a=ka(a);var d={scrollLeft:0,scrollTop:0},e={x:0,y:0};if(!c)if("body"!==C(b)&&(d=b!==z(b)&&B(b)?{scrollLeft:b.scrollLeft,scrollTop:b.scrollTop}:la(b)),B(b))e=ka(b),e.x+=b.clientLeft,e.y+=b.clientTop;else if(b=D(b))e.x=na(b);return{x:a.left+d.scrollLeft-e.x,y:a.top+d.scrollTop-e.y,width:a.width,height:a.height}}function pa(a){return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}}
function qa(a){return"html"===C(a)?a:a.parentNode||a.host||document.ownerDocument||document.documentElement}function getComputedStyle(a){return z(a).getComputedStyle(a)}function ra(a){if(0<=["html","body","#document"].indexOf(C(a)))return a.ownerDocument.body;if(B(a)){var b=getComputedStyle(a);if(/auto|scroll|overlay|hidden/.test(b.overflow+b.overflowY+b.overflowX))return a}return ra(qa(a))}
function sa(a,b){void 0===b&&(b=[]);var c=ra(a);c=(a="body"===C(c))?z(c):c;b=b.concat(c);return a?b:b.concat(sa(qa(c)))}function ta(a){var b;return!B(a)||!(b=a.offsetParent)||"undefined"!==typeof window.InstallTrigger&&"fixed"===getComputedStyle(b).position?null:b}function ua(a){var b=z(a);for(a=ta(a);a&&0<=["table","td","th"].indexOf(C(a));)a=ta(a);return a&&"body"===C(a)&&"static"===getComputedStyle(a).position?b:a||b}
var top="top",va=[top,"bottom","right","left"],wa=va.reduce(function(a,b){return a.concat([b+"-start",b+"-end"])},[]),xa=[].concat(va,["auto"]).reduce(function(a,b){return a.concat([b,b+"-start",b+"-end"])},[]),ya="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" ");
function za(a){function b(a){d.add(a.name);[].concat(a.requires||[],a.requiresIfExists||[]).forEach(function(a){d.has(a)||(a=c.get(a))&&b(a)});e.push(a)}var c=new Map,d=new Set,e=[];a.forEach(function(a){c.set(a.name,a)});a.forEach(function(a){d.has(a.name)||b(a)});return e}function Aa(a){var b=za(a);return ya.reduce(function(a,d){return a.concat(b.filter(function(a){return a.phase===d}))},[])}
function Ba(a){var b;return function(){b||(b=new Promise(function(c){Promise.resolve().then(function(){b=void 0;c(a())})}));return b}}function E(a){return a.split("-")[0]}function Ca(a){var b=a.reduce(function(a,b){var c=a[b.name];a[b.name]=c?Object.assign({},c,{},b,{options:Object.assign({},c.options,{},b.options),data:Object.assign({},c.data,{},b.data)}):b;return a},{});return Object.keys(b).map(function(a){return b[a]})}var Da={placement:"bottom",modifiers:[],strategy:"absolute"};
function Ea(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return!b.some(function(a){return!(a&&"function"===typeof a.getBoundingClientRect)})}var Fa={passive:!0};function Ga(a){return 0<=["top","bottom"].indexOf(a)?"x":"y"}
function Ha(a){var b=a.reference,c=a.element,d=(a=a.placement)?E(a):null;a=a?a.split("-")[1]:null;var e=b.x+b.width/2-c.width/2,f=b.y+b.height/2-c.height/2;switch(d){case top:e={x:e,y:b.y-c.height};break;case "bottom":e={x:e,y:b.y+b.height};break;case "right":e={x:b.x+b.width,y:f};break;case "left":e={x:b.x-c.width,y:f};break;default:e={x:b.x,y:b.y}}d=d?Ga(d):null;if(null!=d)switch(f="y"===d?"height":"width",a){case "start":e[d]=Math.floor(e[d])-Math.floor(b[f]/2-c[f]/2);break;case "end":e[d]=Math.floor(e[d])+
Math.ceil(b[f]/2-c[f]/2)}return e}var Ia={top:"auto",right:"auto",bottom:"auto",left:"auto"};
function Ja(a){var b,c=a.popper,d=a.popperRect,e=a.placement,f=a.offsets,g=a.position,k=a.gpuAcceleration,l=a.adaptive,h=window.devicePixelRatio||1;a=Math.round(f.x*h)/h||0;h=Math.round(f.y*h)/h||0;var m=f.hasOwnProperty("x");f=f.hasOwnProperty("y");var p="left",n=top,q=window;if(l){var r=ua(c);r===z(c)&&(r=D(c));e===top&&(n="bottom",h-=r.clientHeight-d.height,h*=k?1:-1);"left"===e&&(p="right",a-=r.clientWidth-d.width,a*=k?1:-1)}c=Object.assign({position:g},l&&Ia);if(k){var v;return Object.assign({},
c,(v={},v[n]=f?"0":"",v[p]=m?"0":"",v.transform=2>(q.devicePixelRatio||1)?"translate("+a+"px, "+h+"px)":"translate3d("+a+"px, "+h+"px, 0)",v))}return Object.assign({},c,(b={},b[n]=f?h+"px":"",b[p]=m?a+"px":"",b.transform="",b))}var Ka={left:"right",right:"left",bottom:"top",top:"bottom"};function La(a){return a.replace(/left|right|bottom|top/g,function(a){return Ka[a]})}var Ma={start:"end",end:"start"};function Na(a){return a.replace(/start|end/g,function(a){return Ma[a]})}
function Oa(a,b){var c=!(!b.getRootNode||!b.getRootNode().host);if(a.contains(b))return!0;if(c){do{if(b&&a.isSameNode(b))return!0;b=b.parentNode||b.host}while(b)}return!1}function Pa(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}
function Qa(a,b){if("viewport"===b)a=z(a),a=Pa({width:a.innerWidth,height:a.innerHeight,x:0,y:0});else if(B(b))a=ka(b);else{var c=D(a);a=z(c);b=la(c);c=oa(D(c),a);c.height=Math.max(c.height,a.innerHeight);c.width=Math.max(c.width,a.innerWidth);c.x=-b.scrollLeft;c.y=-b.scrollTop;a=Pa(c)}return a}function Ra(a){var b=sa(a),c=0<=["absolute","fixed"].indexOf(getComputedStyle(a).position)&&B(a)?ua(a):a;return ma(c)?b.filter(function(a){return ma(a)&&Oa(a,c)}):[]}
function Sa(a,b,c){b="clippingParents"===b?Ra(a):[].concat(b);c=[].concat(b,[c]);c=c.reduce(function(b,c){var d=Qa(a,c);c=B(c)?c:D(a);var e=z(c);var k=B(c)?getComputedStyle(c):{};parseFloat(k.borderTopWidth);var l=parseFloat(k.borderRightWidth)||0;var h=parseFloat(k.borderBottomWidth)||0;var m=parseFloat(k.borderLeftWidth)||0;k="html"===C(c);var p=na(c),n=c.clientWidth+l,q=c.clientHeight+h;k&&50<e.innerHeight-c.clientHeight&&(q=e.innerHeight-h);h=k?0:c.clientTop;l=c.clientLeft>m?l:k?e.innerWidth-
n-p:c.offsetWidth-n;e=k?e.innerHeight-q:c.offsetHeight-q;c=k?p:c.clientLeft;b.top=Math.max(d.top+h,b.top);b.right=Math.min(d.right-l,b.right);b.bottom=Math.min(d.bottom-e,b.bottom);b.left=Math.max(d.left+c,b.left);return b},Qa(a,c[0]));c.width=c.right-c.left;c.height=c.bottom-c.top;c.x=c.left;c.y=c.top;return c}function Ta(a){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},a)}function Ua(a,b){return b.reduce(function(b,d){b[d]=a;return b},{})}
function Va(a,b){void 0===b&&(b={});var c=b;b=c.placement;b=void 0===b?a.placement:b;var d=c.boundary,e=void 0===d?"clippingParents":d;d=c.rootBoundary;var f=void 0===d?"viewport":d;d=c.elementContext;d=void 0===d?"popper":d;var g=c.altBoundary,k=void 0===g?!1:g;c=c.padding;c=void 0===c?0:c;c=Ta("number"!==typeof c?c:Ua(c,va));var l=a.elements.reference;g=a.rects.popper;k=a.elements[k?"popper"===d?"reference":"popper":d];e=Sa(ma(k)?k:D(a.elements.popper),e,f);f=ka(l);k=Ha({reference:f,element:g,strategy:"absolute",
placement:b});g=Pa(Object.assign({},g,{},k));f="popper"===d?g:f;var h={top:e.top-f.top+c.top,bottom:f.bottom-e.bottom+c.bottom,left:e.left-f.left+c.left,right:f.right-e.right+c.right};a=a.modifiersData.offset;if("popper"===d&&a){var m=a[b];Object.keys(h).forEach(function(a){var b=0<=["right","bottom"].indexOf(a)?1:-1,c=0<=[top,"bottom"].indexOf(a)?"y":"x";h[a]+=m[c]*b})}return h}
function Wa(a,b){void 0===b&&(b={});var c=b.boundary,d=b.rootBoundary,e=b.padding,f=b.flipVariations,g=b.placement.split("-")[1],k=(g?f?wa:wa.filter(function(a){return a.split("-")[1]===g}):va).reduce(function(b,f){b[f]=Va(a,{placement:f,boundary:c,rootBoundary:d,padding:e})[E(f)];return b},{});return Object.keys(k).sort(function(a,b){return k[a]-k[b]})}function Xa(a){if("auto"===E(a))return[];var b=La(a);return[Na(a),b,Na(b)]}
function Ya(a,b,c){void 0===c&&(c={x:0,y:0});return{top:a.top-b.height-c.y,right:a.right-b.width+c.x,bottom:a.bottom-b.height+c.y,left:a.left-b.width-c.x}}function Za(a){return[top,"right","bottom","left"].some(function(b){return 0<=a[b]})}
var $a=function(a){void 0===a&&(a={});var b=a.defaultModifiers,c=void 0===b?[]:b;a=a.defaultOptions;var d=void 0===a?Da:a;return function(a,b,g){function e(){h.orderedModifiers.forEach(function(a){var b=a.name,c=a.options;c=void 0===c?{}:c;a=a.effect;"function"===typeof a&&(b=a({state:h,name:b,instance:n,options:c}),m.push(b||function(){}))})}function f(){m.forEach(function(a){return a()});m=[]}void 0===g&&(g=d);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},Da,{},d),modifiersData:{},
elements:{reference:a,popper:b},attributes:{},styles:{}},m=[],p=!1,n={state:h,setOptions:function(g){f();h.options=Object.assign({},d,{},h.options,{},g);h.scrollParents={reference:ma(a)?sa(a):[],popper:sa(b)};g=Aa(Ca([].concat(c,h.options.modifiers)));h.orderedModifiers=g.filter(function(a){return a.enabled});e();return n.update()},forceUpdate:function(){if(!p){var a=h.elements,b=a.reference;a=a.popper;if(Ea(b,a))for(h.rects={reference:oa(b,ua(a),"fixed"===h.options.strategy),popper:pa(a)},h.reset=
!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(a){return h.modifiersData[a.name]=Object.assign({},a.data)}),b=0;b<h.orderedModifiers.length;b++)if(!0===h.reset)h.reset=!1,b=-1;else{var c=h.orderedModifiers[b];a=c.fn;var d=c.options;d=void 0===d?{}:d;c=c.name;"function"===typeof a&&(h=a({state:h,options:d,name:c,instance:n})||h)}}},update:Ba(function(){return new Promise(function(a){n.forceUpdate();a(h)})}),destroy:function(){f();p=!0}};if(!Ea(a,b))return n;n.setOptions(g).then(function(a){if(!p&&
g.onFirstUpdate)g.onFirstUpdate(a)});return n}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(a){var b=a.state,c=a.instance;a=a.options;var d=a.scroll,e=void 0===d?!0:d;a=a.resize;var f=void 0===a?!0:a,g=z(b.elements.popper),k=[].concat(b.scrollParents.reference,b.scrollParents.popper);e&&k.forEach(function(a){a.addEventListener("scroll",c.update,Fa)});f&&g.addEventListener("resize",c.update,Fa);return function(){e&&k.forEach(function(a){a.removeEventListener("scroll",
c.update,Fa)});f&&g.removeEventListener("resize",c.update,Fa)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(a){var b=a.state;b.modifiersData[a.name]=Ha({reference:b.rects.reference,element:b.rects.popper,strategy:"absolute",placement:b.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(a){var b=a.state,c=a.options;a=c.gpuAcceleration;a=void 0===a?!0:a;c=c.adaptive;c=void 0===c?!0:c;a={placement:E(b.placement),popper:b.elements.popper,popperRect:b.rects.popper,
gpuAcceleration:a};b.styles.popper=Object.assign({},b.styles.popper,{},Ja(Object.assign({},a,{offsets:b.modifiersData.popperOffsets,position:b.options.strategy,adaptive:c})));null!=b.modifiersData.arrow&&(b.styles.arrow=Object.assign({},b.styles.arrow,{},Ja(Object.assign({},a,{offsets:b.modifiersData.arrow,position:"absolute",adaptive:!1}))));b.attributes.popper=Object.assign({},b.attributes.popper,{"data-popper-placement":b.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(a){var b=
a.state;Object.keys(b.elements).forEach(function(a){var c=b.styles[a]||{},e=b.attributes[a]||{},f=b.elements[a];B(f)&&C(f)&&(Object.assign(f.style,c),Object.keys(e).forEach(function(a){var b=e[a];!1===b?f.removeAttribute(a):f.setAttribute(a,!0===b?"":b)}))})},effect:function(a){var b=a.state,c={popper:{position:"absolute",left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(b.elements.popper.style,c.popper);b.elements.arrow&&Object.assign(b.elements.arrow.style,c.arrow);
return function(){Object.keys(b.elements).forEach(function(a){var d=b.elements[a],f=b.attributes[a]||{};a=Object.keys(b.styles.hasOwnProperty(a)?b.styles[a]:c[a]).reduce(function(a,b){a[b]="";return a},{});B(d)&&C(d)&&(Object.assign(d.style,a),Object.keys(f).forEach(function(a){d.removeAttribute(a)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(a){var b=a.state,c=a.name;a=a.options.offset;var d=void 0===a?[0,0]:a;a=xa.reduce(function(a,
c){var e=b.rects;var f=E(c);var g=0<=["left",top].indexOf(f)?-1:1,k="function"===typeof d?d(Object.assign({},e,{placement:c})):d;e=k[0];k=k[1];e=e||0;k=(k||0)*g;f=0<=["left","right"].indexOf(f)?{x:k,y:e}:{x:e,y:k};a[c]=f;return a},{});var e=a[b.placement],f=e.y;b.modifiersData.popperOffsets.x+=e.x;b.modifiersData.popperOffsets.y+=f;b.modifiersData[c]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(a){var b=a.state,c=a.options;a=a.name;if(!b.modifiersData[a]._skip){var d=c.fallbackPlacements,
e=c.padding,f=c.boundary,g=c.rootBoundary,k=c.altBoundary;c=c.flipVariations;var l=void 0===c?!0:c;c=b.options.placement;var h=E(c);d=d||(h!==c&&l?Xa(c):[La(c)]);var m=[c].concat(d).reduce(function(a,c){return a.concat("auto"===E(c)?Wa(b,{placement:c,boundary:f,rootBoundary:g,padding:e,flipVariations:l}):c)},[]);d=b.rects.reference;c=b.rects.popper;var p=new Map;h=!0;for(var n=m[0],q=0;q<m.length;q++){var r=m[q],v=E(r),w="start"===r.split("-")[1],y=0<=[top,"bottom"].indexOf(v),A=y?"width":"height",
T=Va(b,{placement:r,boundary:f,rootBoundary:g,altBoundary:k,padding:e});w=y?w?"right":"left":w?"bottom":top;d[A]>c[A]&&(w=La(w));A=La(w);v=[0>=T[v],0>=T[w],0>=T[A]];if(v.every(function(a){return a})){n=r;h=!1;break}p.set(r,v)}if(h)for(k=function(a){var b=m.find(function(b){if(b=p.get(b))return b.slice(0,a).every(function(a){return a})});if(b)return n=b,"break"},d=l?3:1;0<d&&"break"!==k(d);d--);b.placement!==n&&(b.modifiersData[a]._skip=!0,b.placement=n,b.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},
{name:"preventOverflow",enabled:!0,phase:"main",fn:function(a){var b=a.state,c=a.options;a=a.name;var d=c.mainAxis,e=void 0===d?!0:d;d=c.altAxis;d=void 0===d?!1:d;var f=c.tether;f=void 0===f?!0:f;var g=c.tetherOffset,k=void 0===g?0:g;c=Va(b,{boundary:c.boundary,rootBoundary:c.rootBoundary,padding:c.padding,altBoundary:c.altBoundary});g=E(b.placement);var l=b.placement.split("-")[1],h=!l,m=Ga(g);g="x"===m?"y":"x";var p=b.modifiersData.popperOffsets,n=b.rects.reference,q=b.rects.popper,r="function"===
typeof k?k(Object.assign({},b.rects,{placement:b.placement})):k;k={x:0,y:0};if(e){var v="y"===m?top:"left",w="y"===m?"bottom":"right",y="y"===m?"height":"width";e=p[m];var A=p[m]+c[v],T=p[m]-c[w],O=f?-q[y]/2:0,ia="start"===l?n[y]:q[y];l="start"===l?-q[y]:-n[y];q=b.elements.arrow;q=f&&q?pa(q):{width:0,height:0};var P=b.modifiersData["arrow#persistent"]?b.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0};v=P[v];w=P[w];q=Math.max(0,Math.min(n[y],q[y]));ia=h?n[y]/2-O-q-v-r:ia-
q-v-r;h=h?-n[y]/2+O+q+w+r:l+q+w+r;r=b.elements.arrow&&ua(b.elements.arrow);n=b.modifiersData.offset?b.modifiersData.offset[b.placement][m]:0;r=p[m]+ia-n-(r?"y"===m?r.clientTop||0:r.clientLeft||0:0);h=p[m]+h-n;f=Math.max(f?Math.min(A,r):A,Math.min(e,f?Math.max(T,h):T));p[m]=f;k[m]=f-e}d&&(d=p[g],f=Math.max(d+c["x"===m?top:"left"],Math.min(d,d-c["x"===m?"bottom":"right"])),b.modifiersData.popperOffsets[g]=f,k[g]=f-d);b.modifiersData[a]=k},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",
fn:function(a){var b,c=a.state;a=a.name;var d=c.elements.arrow,e=c.modifiersData.popperOffsets,f=E(c.placement),g=Ga(f);f=0<=["left","right"].indexOf(f)?"height":"width";if(d){var k=c.modifiersData[a+"#persistent"].padding;d=pa(d);var l="y"===g?top:"left",h="y"===g?"bottom":"right",m=c.rects.reference[f]+c.rects.reference[g]-e[g]-c.rects.popper[f];e=e[g]-c.rects.reference[g];var p=c.elements.arrow&&ua(c.elements.arrow);f=Math.max(k[l],Math.min(c.rects.popper[f]/2-d[f]/2+(m/2-e/2-(p?"y"===g?p.clientLeft||
0:p.clientTop||0:0)),c.rects.popper[f]-d[f]-k[h]));c.modifiersData[a]=(b={},b[g]=f,b)}},effect:function(a){var b=a.state,c=a.options;a=a.name;var d=c.element;d=void 0===d?"[data-popper-arrow]":d;c=c.padding;c=void 0===c?0:c;if("string"===typeof d&&(d=b.elements.popper.querySelector(d),!d))return;Oa(b.elements.popper,d)&&(b.elements.arrow=d,b.modifiersData[a+"#persistent"]={padding:Ta("number"!==typeof c?c:Ua(c,va))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,
phase:"main",requiresIfExists:["preventOverflow"],fn:function(a){var b=a.state;a=a.name;var c=b.rects.reference,d=b.rects.popper,e=b.modifiersData.preventOverflow,f=Va(b,{elementContext:"reference"}),g=Va(b,{altBoundary:!0});c=Ya(f,c);d=Ya(g,d,e);e=Za(c);g=Za(d);b.modifiersData[a]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:e,hasPopperEscaped:g};b.attributes.popper=Object.assign({},b.attributes.popper,{"data-popper-reference-hidden":e,"data-popper-escaped":g})}}]});
function ab(){return[{name:"applyStyles",fn:function(a){var b=a.state;Object.keys(b.elements).forEach(function(a){if("popper"===a){var c=b.attributes[a]||{},e=b.elements[a];Object.assign(e.style,{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"});Object.keys(c).forEach(function(a){var b=c[a];!1===b?e.removeAttribute(a):e.setAttribute(a,!0===b?"":b)})}})}},{name:"computeStyles",options:{adaptive:!1}}]}
function bb(a){var b=ab(),c=a.shepherdElementComponent.getElement();a=cb(a);c.classList.add("shepherd-centered");return a=ca({},a,{modifiers:Array.from(new Set([].concat(a.modifiers,b)))})}function cb(a){return{placement:"top",strategy:"fixed",modifiers:[],onFirstUpdate:function(){a.el.focus()}}}function db(a){return da(a)&&""!==a?"-"!==a.charAt(a.length-1)?a+"-":a:""}
function eb(a){a=a.options.attachTo||{};var b=Object.assign({},a);if(da(a.element)){try{b.element=document.querySelector(a.element)}catch(c){}b.element||console.error("The element for this Shepherd step was not found "+a.element)}return b}function fb(){var a=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(b){var c=(a+16*Math.random())%16|0;a=Math.floor(a/16);return("x"==b?c:c&3|8).toString(16)})}
function gb(a,b){var c={modifiers:[{name:"preventOverflow",options:{altAxis:!0}}],strategy:"absolute",onFirstUpdate:function(){b.el.focus()}},d=document.body;a.element&&a.on?(c.placement=a.on||"right",d=a.element):c=bb(b);if(b.options.popperOptions){if(b.options.popperOptions.modifiers&&0<b.options.popperOptions.modifiers.length){var e=b.options.popperOptions.modifiers.map(function(a){return a.name});a=c.modifiers.filter(function(a){return!e.includes(a.name)});c.modifiers=Array.from(new Set([].concat(a,
b.options.popperOptions.modifiers)))}c=Object.assign(b.options.popperOptions,c)}return{element:b.el,popperOptions:c,target:d}}function F(){}function hb(a,b){for(var c in b)a[c]=b[c];return a}function G(a){return a()}function ib(a){return"function"===typeof a}function H(a,b){return a!=a?b==b:a!==b||a&&"object"===typeof a||"function"===typeof a}function I(a){a.parentNode.removeChild(a)}function jb(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}
function kb(a,b,c,d){a.addEventListener(b,c,d);return function(){return a.removeEventListener(b,c,d)}}function J(a,b,c){null==c?a.removeAttribute(b):a.getAttribute(b)!==c&&a.setAttribute(b,c)}function lb(a,b){var c=Object.getOwnPropertyDescriptors(a.__proto__),d;for(d in b)null==b[d]?a.removeAttribute(d):"style"===d?a.style.cssText=b[d]:"__value"===d||c[d]&&c[d].set?a[d]=b[d]:J(a,d,b[d])}function K(a,b,c){a.classList[c?"add":"remove"](b)}var L;
function mb(){if(!L)throw Error("Function called outside component initialization");return L}var nb=[],M=[],ob=[],pb=[],qb=Promise.resolve(),rb=!1;function sb(a){ob.push(a)}var tb=!1,ub=new Set;
function vb(){if(!tb){tb=!0;do{for(var a=0;a<nb.length;a+=1){var b=nb[a];L=b;b=b.$$;if(null!==b.fragment){b.update();b.before_update.forEach(G);var c=b.dirty;b.dirty=[-1];b.fragment&&b.fragment.p(b.ctx,c);b.after_update.forEach(sb)}}for(nb.length=0;M.length;)M.pop()();for(a=0;a<ob.length;a+=1)b=ob[a],ub.has(b)||(ub.add(b),b());ob.length=0}while(nb.length);for(;pb.length;)pb.pop()();tb=rb=!1;ub.clear()}}var wb=new Set,N;function Q(){N={r:0,c:[],p:N}}function R(){N.r||N.c.forEach(G);N=N.p}
function S(a,b){a&&a.i&&(wb.delete(a),a.i(b))}function U(a,b,c,d){a&&a.o&&!wb.has(a)&&(wb.add(a),N.c.push(function(){wb.delete(a);d&&(c&&a.d(1),d())}),a.o(b))}function V(a){a&&a.c()}function W(a,b,c){var d=a.$$,e=d.fragment,f=d.on_mount,g=d.on_destroy;d=d.after_update;e&&e.m(b,c);sb(function(){var b=f.map(G).filter(ib);g?g.push.apply(g,b):b.forEach(G);a.$$.on_mount=[]});d.forEach(sb)}
function X(a,b){a=a.$$;null!==a.fragment&&(a.on_destroy.forEach(G),a.fragment&&a.fragment.d(b),a.on_destroy=a.fragment=null,a.ctx=[])}
function Y(a,b,c,d,e,f,g){void 0===g&&(g=[-1]);var k=L;L=a;var l=b.props||{},h=a.$$={fragment:null,ctx:null,props:f,update:F,not_equal:e,bound:Object.create(null),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(k?k.$$.context:[]),callbacks:Object.create(null),dirty:g},m=!1;h.ctx=c?c(a,l,function(b,c){var d=(2>=arguments.length?0:arguments.length-2)?2>=arguments.length?void 0:arguments[2]:c;if(h.ctx&&e(h.ctx[b],h.ctx[b]=d)){if(h.bound[b])h.bound[b](d);m&&(-1===a.$$.dirty[0]&&
(nb.push(a),rb||(rb=!0,qb.then(vb)),a.$$.dirty.fill(0)),a.$$.dirty[b/31|0]|=1<<b%31)}return c}):[];h.update();m=!0;h.before_update.forEach(G);h.fragment=d?d(h.ctx):!1;b.target&&(b.hydrate?(c=Array.from(b.target.childNodes),h.fragment&&h.fragment.l(c),c.forEach(I)):h.fragment&&h.fragment.c(),b.intro&&S(a.$$.fragment),W(a,b.target,b.anchor),vb());L=k}
var Z=function(){function a(){}var b=a.prototype;b.$destroy=function(){X(this,1);this.$destroy=F};b.$on=function(a,b){var c=this.$$.callbacks[a]||(this.$$.callbacks[a]=[]);c.push(b);return function(){var a=c.indexOf(b);-1!==a&&c.splice(a,1)}};b.$set=function(){};return a}();
function xb(a){var b,c,d,e,f;return{c:function(){b=document.createElement("button");c=document.createTextNode(a[3]);J(b,"aria-label",d=a[4]?a[4]:null);J(b,"class",e=(a[1]||"")+" shepherd-button "+(a[2]?"shepherd-button-secondary":""));b.disabled=a[5];J(b,"tabindex","0")},m:function(d,e,l){d.insertBefore(b,e||null);b.appendChild(c);l&&f();f=kb(b,"click",function(){ib(a[0])&&a[0].apply(this,arguments)})},p:function(f,k){k=k[0];a=f;k&8&&(f=a[3],f=""+f,c.data!==f&&(c.data=f));k&16&&d!==(d=a[4]?a[4]:null)&&
J(b,"aria-label",d);k&6&&e!==(e=(a[1]||"")+" shepherd-button "+(a[2]?"shepherd-button-secondary":""))&&J(b,"class",e);k&32&&(b.disabled=a[5])},i:F,o:F,d:function(a){a&&I(b);f()}}}
function yb(a,b,c){var d=b.config,e=b.step,f,g,k,l,h,m;a.$set=function(a){"config"in a&&c(6,d=a.config);"step"in a&&c(7,e=a.step)};a.$$.update=function(){if(a.$$.dirty&192){c(0,f=d.action?d.action.bind(e.tour):null);c(1,g=d.classes);c(2,k=d.secondary);c(3,l=d.text);c(4,h=d.label);if(d.disabled){var b=d.disabled;b=x(b)?b.call(e):b}else b=!1;c(5,m=b)}};return[f,g,k,l,h,m,d,e]}var zb=function(a){function b(b){var c=a.call(this)||this;Y(u(c),b,yb,xb,H,{config:6,step:7});return c}t(b,a);return b}(Z);
function Ab(a,b,c){a=a.slice();a[2]=b[c];return a}
function Bb(a){function b(a){return U(f[a],1,1,function(){f[a]=null})}for(var c,d,e=a[1],f=[],g=0;g<e.length;g+=1)f[g]=Cb(Ab(a,e,g));return{c:function(){for(var a=0;a<f.length;a+=1)f[a].c();c=document.createTextNode("")},m:function(a,b){for(var e=0;e<f.length;e+=1)f[e].m(a,b);a.insertBefore(c,b||null);d=!0},p:function(a,d){if(d&3){e=a[1];var g;for(g=0;g<e.length;g+=1){var k=Ab(a,e,g);f[g]?(f[g].p(k,d),S(f[g],1)):(f[g]=Cb(k),f[g].c(),S(f[g],1),f[g].m(c.parentNode,c))}Q();for(g=e.length;g<f.length;g+=
1)b(g);R()}},i:function(){if(!d){for(var a=0;a<e.length;a+=1)S(f[a]);d=!0}},o:function(){f=f.filter(Boolean);for(var a=0;a<f.length;a+=1)U(f[a]);d=!1},d:function(a){for(var b=f,d=0;d<b.length;d+=1)b[d]&&b[d].d(a);a&&I(c)}}}
function Cb(a){var b,c=new zb({props:{config:a[2],step:a[0]}});return{c:function(){V(c.$$.fragment)},m:function(a,e){W(c,a,e);b=!0},p:function(a,b){var d={};b&2&&(d.config=a[2]);b&1&&(d.step=a[0]);c.$set(d)},i:function(a){b||(S(c.$$.fragment,a),b=!0)},o:function(a){U(c.$$.fragment,a);b=!1},d:function(a){X(c,a)}}}
function Db(a){var b,c,d=a[1]&&Bb(a);return{c:function(){b=document.createElement("footer");d&&d.c();J(b,"class","shepherd-footer")},m:function(a,f){a.insertBefore(b,f||null);d&&d.m(b,null);c=!0},p:function(a,c){c=c[0];a[1]?d?(d.p(a,c),S(d,1)):(d=Bb(a),d.c(),S(d,1),d.m(b,null)):d&&(Q(),U(d,1,1,function(){d=null}),R())},i:function(){c||(S(d),c=!0)},o:function(){U(d);c=!1},d:function(a){a&&I(b);d&&d.d()}}}
function Eb(a,b,c){var d=b.step;a.$set=function(a){"step"in a&&c(0,d=a.step)};var e;a.$$.update=function(){a.$$.dirty&1&&c(1,e=d.options.buttons)};return[d,e]}var Fb=function(a){function b(b){var c=a.call(this)||this;Y(u(c),b,Eb,Db,H,{step:0});return c}t(b,a);return b}(Z);
function Gb(a){var b,c,d,e;return{c:function(){b=document.createElement("button");c=document.createElement("span");c.textContent="\u00d7";J(c,"aria-hidden","true");J(b,"aria-label",d=a[0].label?a[0].label:"Close Tour");J(b,"class","shepherd-cancel-icon");J(b,"type","button")},m:function(d,g,k){d.insertBefore(b,g||null);b.appendChild(c);k&&e();e=kb(b,"click",a[1])},p:function(a,c){c[0]&1&&d!==(d=a[0].label?a[0].label:"Close Tour")&&J(b,"aria-label",d)},i:F,o:F,d:function(a){a&&I(b);e()}}}
function Hb(a,b,c){var d=b.cancelIcon,e=b.step;a.$set=function(a){"cancelIcon"in a&&c(0,d=a.cancelIcon);"step"in a&&c(2,e=a.step)};return[d,function(a){a.preventDefault();e.cancel()},e]}var Ib=function(a){function b(b){var c=a.call(this)||this;Y(u(c),b,Hb,Gb,H,{cancelIcon:0,step:2});return c}t(b,a);return b}(Z);
function Jb(a){var b;return{c:function(){b=document.createElement("h3");J(b,"id",a[1]);J(b,"class","shepherd-title")},m:function(c,d){c.insertBefore(b,d||null);a[3](b)},p:function(a,d){d[0]&2&&J(b,"id",a[1])},i:F,o:F,d:function(c){c&&I(b);a[3](null)}}}
function Kb(a,b,c){var d=b.labelId,e=b.element,f=b.title;mb().$$.after_update.push(function(){x(f)&&c(2,f=f());c(0,e.innerHTML=f,e)});a.$set=function(a){"labelId"in a&&c(1,d=a.labelId);"element"in a&&c(0,e=a.element);"title"in a&&c(2,f=a.title)};return[e,d,f,function(a){M[a?"unshift":"push"](function(){c(0,e=a)})}]}var Lb=function(a){function b(b){var c=a.call(this)||this;Y(u(c),b,Kb,Jb,H,{labelId:1,element:0,title:2});return c}t(b,a);return b}(Z);
function Mb(a){var b,c=new Lb({props:{labelId:a[0],title:a[2]}});return{c:function(){V(c.$$.fragment)},m:function(a,e){W(c,a,e);b=!0},p:function(a,b){var d={};b&1&&(d.labelId=a[0]);b&4&&(d.title=a[2]);c.$set(d)},i:function(a){b||(S(c.$$.fragment,a),b=!0)},o:function(a){U(c.$$.fragment,a);b=!1},d:function(a){X(c,a)}}}
function Nb(a){var b,c=new Ib({props:{cancelIcon:a[3],step:a[1]}});return{c:function(){V(c.$$.fragment)},m:function(a,e){W(c,a,e);b=!0},p:function(a,b){var d={};b&8&&(d.cancelIcon=a[3]);b&2&&(d.step=a[1]);c.$set(d)},i:function(a){b||(S(c.$$.fragment,a),b=!0)},o:function(a){U(c.$$.fragment,a);b=!1},d:function(a){X(c,a)}}}
function Ob(a){var b,c,d,e=a[2]&&Mb(a),f=a[3]&&a[3].enabled&&Nb(a);return{c:function(){b=document.createElement("header");e&&e.c();c=document.createTextNode(" ");f&&f.c();J(b,"class","shepherd-header")},m:function(a,k){a.insertBefore(b,k||null);e&&e.m(b,null);b.appendChild(c);f&&f.m(b,null);d=!0},p:function(a,d){d=d[0];a[2]?e?(e.p(a,d),S(e,1)):(e=Mb(a),e.c(),S(e,1),e.m(b,c)):e&&(Q(),U(e,1,1,function(){e=null}),R());a[3]&&a[3].enabled?f?(f.p(a,d),S(f,1)):(f=Nb(a),f.c(),S(f,1),f.m(b,null)):f&&(Q(),
U(f,1,1,function(){f=null}),R())},i:function(){d||(S(e),S(f),d=!0)},o:function(){U(e);U(f);d=!1},d:function(a){a&&I(b);e&&e.d();f&&f.d()}}}function Pb(a,b,c){var d=b.labelId,e=b.step,f,g;a.$set=function(a){"labelId"in a&&c(0,d=a.labelId);"step"in a&&c(1,e=a.step)};a.$$.update=function(){a.$$.dirty&2&&(c(2,f=e.options.title),c(3,g=e.options.cancelIcon))};return[d,e,f,g]}var Qb=function(a){function b(b){var c=a.call(this)||this;Y(u(c),b,Pb,Ob,H,{labelId:0,step:1});return c}t(b,a);return b}(Z);
function Rb(a){var b;return{c:function(){b=document.createElement("div");J(b,"class","shepherd-text");J(b,"id",a[1])},m:function(c,d){c.insertBefore(b,d||null);a[3](b)},p:function(a,d){d[0]&2&&J(b,"id",a[1])},i:F,o:F,d:function(c){c&&I(b);a[3](null)}}}
function Sb(a,b,c){var d=b.descriptionId,e=b.element,f=b.step;mb().$$.after_update.push(function(){var a=f.options.text;x(a)&&(a=a.call(f));a instanceof HTMLElement?e.appendChild(a):c(0,e.innerHTML=a,e)});a.$set=function(a){"descriptionId"in a&&c(1,d=a.descriptionId);"element"in a&&c(0,e=a.element);"step"in a&&c(2,f=a.step)};return[e,d,f,function(a){M[a?"unshift":"push"](function(){c(0,e=a)})}]}
var Tb=function(a){function b(b){var c=a.call(this)||this;Y(u(c),b,Sb,Rb,H,{descriptionId:1,element:0,step:2});return c}t(b,a);return b}(Z);function Ub(a){var b,c=new Tb({props:{descriptionId:a[0],step:a[2]}});return{c:function(){V(c.$$.fragment)},m:function(a,e){W(c,a,e);b=!0},p:function(a,b){var d={};b&1&&(d.descriptionId=a[0]);b&4&&(d.step=a[2]);c.$set(d)},i:function(a){b||(S(c.$$.fragment,a),b=!0)},o:function(a){U(c.$$.fragment,a);b=!1},d:function(a){X(c,a)}}}
function Vb(a){var b,c=new Fb({props:{step:a[2]}});return{c:function(){V(c.$$.fragment)},m:function(a,e){W(c,a,e);b=!0},p:function(a,b){var d={};b&4&&(d.step=a[2]);c.$set(d)},i:function(a){b||(S(c.$$.fragment,a),b=!0)},o:function(a){U(c.$$.fragment,a);b=!1},d:function(a){X(c,a)}}}
function Wb(a){var b,c,d=void 0!==a[2].options.text,e,f=Array.isArray(a[2].options.buttons)&&a[2].options.buttons.length,g,k=new Qb({props:{labelId:a[1],step:a[2]}}),l=d&&Ub(a),h=f&&Vb(a);return{c:function(){b=document.createElement("div");V(k.$$.fragment);c=document.createTextNode(" ");l&&l.c();e=document.createTextNode(" ");h&&h.c();J(b,"class","shepherd-content")},m:function(a,d){a.insertBefore(b,d||null);W(k,b,null);b.appendChild(c);l&&l.m(b,null);b.appendChild(e);h&&h.m(b,null);g=!0},p:function(a,
c){c=c[0];var g={};c&2&&(g.labelId=a[1]);c&4&&(g.step=a[2]);k.$set(g);c&4&&(d=void 0!==a[2].options.text);d?l?(l.p(a,c),S(l,1)):(l=Ub(a),l.c(),S(l,1),l.m(b,e)):l&&(Q(),U(l,1,1,function(){l=null}),R());c&4&&(f=Array.isArray(a[2].options.buttons)&&a[2].options.buttons.length);f?h?(h.p(a,c),S(h,1)):(h=Vb(a),h.c(),S(h,1),h.m(b,null)):h&&(Q(),U(h,1,1,function(){h=null}),R())},i:function(a){g||(S(k.$$.fragment,a),S(l),S(h),g=!0)},o:function(a){U(k.$$.fragment,a);U(l);U(h);g=!1},d:function(a){a&&I(b);X(k);
l&&l.d();h&&h.d()}}}function Xb(a,b,c){var d=b.descriptionId,e=b.labelId,f=b.step;a.$set=function(a){"descriptionId"in a&&c(0,d=a.descriptionId);"labelId"in a&&c(1,e=a.labelId);"step"in a&&c(2,f=a.step)};return[d,e,f]}var Yb=function(a){function b(b){var c=a.call(this)||this;Y(u(c),b,Xb,Wb,H,{descriptionId:0,labelId:1,step:2});return c}t(b,a);return b}(Z);
function Zb(){var a;return{c:function(){a=document.createElement("div");J(a,"class","shepherd-arrow");J(a,"data-popper-arrow","")},m:function(b,c){b.insertBefore(a,c||null)},d:function(b){b&&I(a)}}}
function $b(a){for(var b,c,d,e,f=a[4].options.arrow&&a[4].options.attachTo&&a[4].options.attachTo.element&&Zb(),g=new Yb({props:{descriptionId:a[2],labelId:a[3],step:a[4]}}),k=[{"aria-describedby":void 0!==a[4].options.text?a[2]:null},{"aria-labelledby":a[4].options.title?a[3]:null},a[1],{role:"dialog"},{tabindex:"0"}],l={},h=0;h<k.length;h+=1)l=hb(l,k[h]);return{c:function(){b=document.createElement("div");f&&f.c();c=document.createTextNode(" ");V(g.$$.fragment);lb(b,l);K(b,"shepherd-has-cancel-icon",
a[5]);K(b,"shepherd-has-title",a[6]);K(b,"shepherd-element",!0)},m:function(h,k,l){h.insertBefore(b,k||null);f&&f.m(b,null);b.appendChild(c);W(g,b,null);a[17](b);d=!0;l&&e();e=kb(b,"keydown",a[7])},p:function(a,d){var e=d[0];a[4].options.arrow&&a[4].options.attachTo&&a[4].options.attachTo.element?f||(f=Zb(),f.c(),f.m(b,c)):f&&(f.d(1),f=null);d={};e&4&&(d.descriptionId=a[2]);e&8&&(d.labelId=a[3]);e&16&&(d.step=a[4]);g.$set(d);d=b;e=[e&20&&{"aria-describedby":void 0!==a[4].options.text?a[2]:null},e&
24&&{"aria-labelledby":a[4].options.title?a[3]:null},e&2&&a[1],{role:"dialog"},{tabindex:"0"}];for(var h={},r={},l={$$scope:1},w=k.length;w--;){var m=k[w],A=e[w];if(A){for(var p in m)p in A||(r[p]=1);for(var O in A)l[O]||(h[O]=A[O],l[O]=1);k[w]=A}else for(var ia in m)l[ia]=1}for(var P in r)P in h||(h[P]=void 0);lb(d,h);K(b,"shepherd-has-cancel-icon",a[5]);K(b,"shepherd-has-title",a[6]);K(b,"shepherd-element",!0)},i:function(a){d||(S(g.$$.fragment,a),d=!0)},o:function(a){U(g.$$.fragment,a);d=!1},d:function(c){c&&
I(b);f&&f.d();X(g);a[17](null);e()}}}function ac(a){return a.split(" ").filter(function(a){return!!a.length})}
function bc(a,b,c){function d(){e(y);y=q.options.classes;f(y)}function e(a){if(da(a)&&(a=ac(a),a.length)){var b;(b=k.classList).remove.apply(b,a)}}function f(a){if(da(a)&&(a=ac(a),a.length)){var b;(b=k.classList).add.apply(b,a)}}var g=b.classPrefix,k=b.element,l=b.descriptionId,h=b.firstFocusableElement,m=b.focusableElements,p=b.labelId,n=b.lastFocusableElement,q=b.step,r=b.dataStepId,v,w,y;mb().$$.on_mount.push(function(){var a;c(1,r=(a={},a["data-"+g+"shepherd-step-id"]=q.id,a));c(9,m=k.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'));
c(8,h=m[0]);c(10,n=m[m.length-1])});mb().$$.after_update.push(function(){y!==q.options.classes&&d()});a.$set=function(a){"classPrefix"in a&&c(11,g=a.classPrefix);"element"in a&&c(0,k=a.element);"descriptionId"in a&&c(2,l=a.descriptionId);"firstFocusableElement"in a&&c(8,h=a.firstFocusableElement);"focusableElements"in a&&c(9,m=a.focusableElements);"labelId"in a&&c(3,p=a.labelId);"lastFocusableElement"in a&&c(10,n=a.lastFocusableElement);"step"in a&&c(4,q=a.step);"dataStepId"in a&&c(1,r=a.dataStepId)};
a.$$.update=function(){a.$$.dirty&16&&(c(5,v=q.options&&q.options.cancelIcon&&q.options.cancelIcon.enabled),c(6,w=q.options&&q.options.title))};return[k,r,l,p,q,v,w,function(a){var b=q.tour;switch(a.keyCode){case 9:if(0===m.length){a.preventDefault();break}a.shiftKey?document.activeElement===h&&(a.preventDefault(),n.focus()):document.activeElement===n&&(a.preventDefault(),h.focus());break;case 27:b.options.exitOnEsc&&q.cancel();break;case 37:b.options.keyboardNavigation&&b.back();break;case 39:b.options.keyboardNavigation&&
b.next()}},h,m,n,g,function(){return k},y,d,e,f,function(a){M[a?"unshift":"push"](function(){c(0,k=a)})}]}var cc=function(a){function b(b){var c=a.call(this)||this;Y(u(c),b,bc,$b,H,{classPrefix:11,element:0,descriptionId:2,firstFocusableElement:8,focusableElements:9,labelId:3,lastFocusableElement:10,step:4,dataStepId:1,getElement:12});return c}t(b,a);ba(b,[{key:"getElement",get:function(){return this.$$.ctx[12]}}]);return b}(Z),dc=void 0;
(dc={exports:{}},function(a){(function(){a.exports={polyfill:function(){function a(a,b){this.scrollLeft=a;this.scrollTop=b}function c(a){if(null===a||"object"!==typeof a||void 0===a.behavior||"auto"===a.behavior||"instant"===a.behavior)return!0;if("object"===typeof a&&"smooth"===a.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+a.behavior+" is not a valid value for enumeration ScrollBehavior.");}function d(a,b){if("Y"===b)return a.clientHeight+q<a.scrollHeight;if("X"===b)return a.clientWidth+
q<a.scrollWidth}function e(a,b){a=l.getComputedStyle(a,null)["overflow"+b];return"auto"===a||"scroll"===a}function f(a){var b=d(a,"Y")&&e(a,"Y");a=d(a,"X")&&e(a,"X");return b||a}function g(a){var b=(n()-a.startTime)/468;var c=.5*(1-Math.cos(Math.PI*(1<b?1:b)));b=a.startX+(a.x-a.startX)*c;c=a.startY+(a.y-a.startY)*c;a.method.call(a.scrollable,b,c);b===a.x&&c===a.y||l.requestAnimationFrame(g.bind(l,a))}function k(b,c,d){var e=n();if(b===h.body){var f=l;var k=l.scrollX||l.pageXOffset;b=l.scrollY||l.pageYOffset;
var r=p.scroll}else f=b,k=b.scrollLeft,b=b.scrollTop,r=a;g({scrollable:f,method:r,startTime:e,startX:k,startY:b,x:c,y:d})}var l=window,h=document;if(!("scrollBehavior"in h.documentElement.style&&!0!==l.__forceSmoothScrollPolyfill__)){var m=l.HTMLElement||l.Element,p={scroll:l.scroll||l.scrollTo,scrollBy:l.scrollBy,elementScroll:m.prototype.scroll||a,scrollIntoView:m.prototype.scrollIntoView},n=l.performance&&l.performance.now?l.performance.now.bind(l.performance):Date.now,q=/MSIE |Trident\/|Edge\//.test(l.navigator.userAgent)?
1:0;l.scroll=l.scrollTo=function(a,b){void 0!==a&&(!0===c(a)?p.scroll.call(l,void 0!==a.left?a.left:"object"!==typeof a?a:l.scrollX||l.pageXOffset,void 0!==a.top?a.top:void 0!==b?b:l.scrollY||l.pageYOffset):k.call(l,h.body,void 0!==a.left?~~a.left:l.scrollX||l.pageXOffset,void 0!==a.top?~~a.top:l.scrollY||l.pageYOffset))};l.scrollBy=function(a,b){void 0!==a&&(c(a)?p.scrollBy.call(l,void 0!==a.left?a.left:"object"!==typeof a?a:0,void 0!==a.top?a.top:void 0!==b?b:0):k.call(l,h.body,~~a.left+(l.scrollX||
l.pageXOffset),~~a.top+(l.scrollY||l.pageYOffset)))};m.prototype.scroll=m.prototype.scrollTo=function(a,b){if(void 0!==a)if(!0===c(a)){if("number"===typeof a&&void 0===b)throw new SyntaxError("Value could not be converted");p.elementScroll.call(this,void 0!==a.left?~~a.left:"object"!==typeof a?~~a:this.scrollLeft,void 0!==a.top?~~a.top:void 0!==b?~~b:this.scrollTop)}else b=a.left,a=a.top,k.call(this,this,"undefined"===typeof b?this.scrollLeft:~~b,"undefined"===typeof a?this.scrollTop:~~a)};m.prototype.scrollBy=
function(a,b){void 0!==a&&(!0===c(a)?p.elementScroll.call(this,void 0!==a.left?~~a.left+this.scrollLeft:~~a+this.scrollLeft,void 0!==a.top?~~a.top+this.scrollTop:~~b+this.scrollTop):this.scroll({left:~~a.left+this.scrollLeft,top:~~a.top+this.scrollTop,behavior:a.behavior}))};m.prototype.scrollIntoView=function(a){if(!0===c(a))p.scrollIntoView.call(this,void 0===a?!0:a);else{for(a=this;a!==h.body&&!1===f(a);)a=a.parentNode||a.host;var b=a.getBoundingClientRect(),d=this.getBoundingClientRect();a!==
h.body?(k.call(this,a,a.scrollLeft+d.left-b.left,a.scrollTop+d.top-b.top),"fixed"!==l.getComputedStyle(a).position&&l.scrollBy({left:b.left,top:b.top,behavior:"smooth"})):l.scrollBy({left:d.left,top:d.top,behavior:"smooth"})}}}}}})()}(dc,dc.exports),dc.exports).polyfill();
var ec=function(a){function b(b,c){void 0===c&&(c={});var d=a.call(this,b,c)||this;d.tour=b;d.classPrefix=d.tour.options?db(d.tour.options.classPrefix):"";d.styles=b.styles;fa(u(d));d._setOptions(c);return u(d)||u(d)}t(b,a);var c=b.prototype;c.cancel=function(){this.tour.cancel();this.trigger("cancel")};c.complete=function(){this.tour.complete();this.trigger("complete")};c.destroy=function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null);this.el instanceof HTMLElement&&this.el.parentNode&&
(this.el.parentNode.removeChild(this.el),this.el=null);this.target&&this._updateStepTargetOnHide();this.trigger("destroy")};c.getTour=function(){return this.tour};c.hide=function(){this.tour.modal.hide();this.trigger("before-hide");this.el&&(this.el.hidden=!0);this.target&&this._updateStepTargetOnHide();this.trigger("hide")};c.isOpen=function(){return!(!this.el||this.el.hidden)};c.show=function(){var a=this;if(x(this.options.beforeShowPromise)){var b=this.options.beforeShowPromise();if(void 0!==b)return b.then(function(){return a._show()})}this._show()};
c.updateStepOptions=function(a){Object.assign(this.options,a);this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})};c._createTooltipContent=function(){this.shepherdElementComponent=new cc({target:document.body,props:{classPrefix:this.classPrefix,descriptionId:this.id+"-description",labelId:this.id+"-label",step:this,styles:this.styles}});return this.shepherdElementComponent.getElement()};c._scrollTo=function(a){var b=eb(this).element;x(this.options.scrollToHandler)?this.options.scrollToHandler(b):
b instanceof HTMLElement&&"function"===typeof b.scrollIntoView&&b.scrollIntoView(a)};c._getClassOptions=function(a){var b=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;b=b&&b.classes?b.classes:"";a=[].concat((a.classes?a.classes:"").split(" "),b.split(" "));a=new Set(a);return Array.from(a).join(" ").trim()};c._setOptions=function(a){var b=this;void 0===a&&(a={});this.options=Object.assign({arrow:!0},this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,a);var c=
this.options.when;this.options.classes=this._getClassOptions(a);this.destroy();this.id=this.options.id||"step-"+fb();c&&Object.keys(c).forEach(function(a){b.on(a,c[a],b)})};c._setupElements=function(){void 0!==this.el&&this.destroy();this.el=this._createTooltipContent();this.options.advanceOn&&ja(this);this.tooltip&&this.tooltip.destroy();var a=eb(this),b=gb(a,this);this.tooltip=$a(b.target,b.element,b.popperOptions);this.target=a.element};c._show=function(){var a=this;this.trigger("before-show");
this._setupElements();this.tour.modal.setupForStep(this);this._styleTargetElementForStep(this);this.el.hidden=!1;this.options.scrollTo&&setTimeout(function(){a._scrollTo(a.options.scrollTo)});this.el.hidden=!1;var b=this.shepherdElementComponent.getElement(),c=this.target||document.body;c.classList.add(this.classPrefix+"shepherd-enabled");c.classList.add(this.classPrefix+"shepherd-target");b.classList.add("shepherd-enabled");this.trigger("show")};c._styleTargetElementForStep=function(a){var b=a.target;
b&&(a.options.highlightClass&&b.classList.add(a.options.highlightClass),!1===a.options.canClickTarget&&b.classList.add("shepherd-target-click-disabled"))};c._updateStepTargetOnHide=function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass);this.target.classList.remove(this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target")};return b}(ea);
function fc(a){a&&a.steps.forEach(function(a){a.options&&!1===a.options.canClickTarget&&a.options.attachTo&&a.target instanceof HTMLElement&&a.target.classList.remove("shepherd-target-click-disabled")})}
function gc(a){var b,c,d,e;return{c:function(){b=jb("svg");c=jb("path");J(c,"d",a[2]);J(b,"class",d=(a[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m:function(d,g,k){d.insertBefore(b,g||null);b.appendChild(c);a[17](b);k&&e();e=kb(b,"touchmove",a[3])},p:function(a,e){e=e[0];e&4&&J(c,"d",a[2]);e&2&&d!==(d=(a[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&J(b,"class",d)},i:F,o:F,d:function(c){c&&I(b);a[17](null);e()}}}
function hc(a){if(!a)return null;var b=a instanceof HTMLElement&&window.getComputedStyle(a).overflowY;return"hidden"!==b&&"visible"!==b&&a.scrollHeight>=a.clientHeight?a:hc(a.parentElement)}
function ic(a,b,c){function d(a){a.preventDefault()}function e(){c(4,n={width:0,height:0,x:0,y:0,r:0})}function f(){c(1,q=!1);h()}function g(a,b,d,e){void 0===d&&(d=0);void 0===e&&(e=0);if(a.getBoundingClientRect){var f=a.getBoundingClientRect();var g=f.y||f.top;f=f.bottom||g+f.height;if(b){var h=b.getBoundingClientRect();b=h.y||h.top;h=h.bottom||b+h.height;g=Math.max(g,b);f=Math.min(f,h)}b=g;g=Math.max(f-g,0);a=a.getBoundingClientRect();f=a.left;c(4,n={width:a.width+2*d,height:g+2*d,x:(a.x||f)-d,
y:b-d,r:e})}}function k(){c(1,q=!0)}function l(){window.addEventListener("touchmove",d,{passive:!1})}function h(){r&&(cancelAnimationFrame(r),r=void 0);window.removeEventListener("touchmove",d,{passive:!1})}function m(a){var b=a.options,c=b.modalOverlayOpeningPadding,d=b.modalOverlayOpeningRadius;if(a.target){var f=hc(a.target);(function P(){r=void 0;g(a.target,f,c,d);r=requestAnimationFrame(P)})();l()}else e()}var p=b.element,n=b.openingProperties;b=fb();var q=!1,r=void 0,v;e();a.$set=function(a){"element"in
a&&c(0,p=a.element);"openingProperties"in a&&c(4,n=a.openingProperties)};a.$$.update=function(){if(a.$$.dirty&16){var b=n.x;b=void 0===b?0:b;var d=n.y;d=void 0===d?0:d;var e=n.r;e=void 0===e?0:e;var f=window,g=f.innerWidth;f=f.innerHeight;c(2,v="M"+g+","+f+"H0V0H"+g+"V"+f+"ZM"+(b+e)+","+d+"a"+e+","+e+",0,0,0-"+e+","+e+"V"+(n.height+d-e)+"a"+e+","+e+",0,0,0,"+e+","+e+"H"+(n.width+b-e)+"a"+e+","+e+",0,0,0,"+e+"-"+e+"V"+(d+e)+"a"+e+","+e+",0,0,0-"+e+"-"+e+"Z")}};return[p,q,v,function(a){a.stopPropagation()},
n,function(){return p},e,f,g,function(a){h();a.tour.options.useModalOverlay?(m(a),k()):f()},k,r,b,d,l,h,m,function(a){M[a?"unshift":"push"](function(){c(0,p=a)})}]}
var jc=function(a){function b(b){var c=a.call(this)||this;Y(u(c),b,ic,gc,H,{element:0,openingProperties:4,getElement:5,closeModalOpening:6,hide:7,positionModalOpening:8,setupForStep:9,show:10});return c}t(b,a);ba(b,[{key:"getElement",get:function(){return this.$$.ctx[5]}},{key:"closeModalOpening",get:function(){return this.$$.ctx[6]}},{key:"hide",get:function(){return this.$$.ctx[7]}},{key:"positionModalOpening",get:function(){return this.$$.ctx[8]}},{key:"setupForStep",get:function(){return this.$$.ctx[9]}},
{key:"show",get:function(){return this.$$.ctx[10]}}]);return b}(Z),kc=new ea,lc=function(a){function b(b){void 0===b&&(b={});var c=a.call(this,b)||this;fa(u(c));c.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},b);c.classPrefix=db(c.options.classPrefix);c.steps=[];c.addSteps(c.options.steps);"active cancel complete inactive show start".split(" ").map(function(a){(function(a){c.on(a,function(b){b=b||{};b.tour=u(c);kc.trigger(a,b)})})(a)});c.modal=new jc({target:b.modalContainer||document.body,
props:{classPrefix:c.classPrefix,styles:c.styles}});c._setTourID();return u(c)||u(c)}t(b,a);var c=b.prototype;c.addStep=function(a,b){a instanceof ec?a.tour=this:a=new ec(this,a);void 0!==b?this.steps.splice(b,0,a):this.steps.push(a);return a};c.addSteps=function(a){var b=this;Array.isArray(a)&&a.forEach(function(a){b.addStep(a)});return this};c.back=function(){var a=this.steps.indexOf(this.currentStep);this.show(a-1,!1)};c.cancel=function(){this.options.confirmCancel?window.confirm(this.options.confirmCancelMessage||
"Are you sure you want to stop the tour?")&&this._done("cancel"):this._done("cancel")};c.complete=function(){this._done("complete")};c.getById=function(a){return this.steps.find(function(b){return b.id===a})};c.getCurrentStep=function(){return this.currentStep};c.hide=function(){var a=this.getCurrentStep();if(a)return a.hide()};c.isActive=function(){return kc.activeTour===this};c.next=function(){var a=this.steps.indexOf(this.currentStep);a===this.steps.length-1?this.complete():this.show(a+1,!0)};
c.removeStep=function(a){var b=this,c=this.getCurrentStep();this.steps.some(function(c,d){if(c.id===a)return c.isOpen()&&c.hide(),c.destroy(),b.steps.splice(d,1),!0});c&&c.id===a&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())};c.show=function(a,b){void 0===a&&(a=0);void 0===b&&(b=!0);if(a=da(a)?this.getById(a):this.steps[a])this._updateStateBeforeShow(),x(a.options.showOn)&&!a.options.showOn()?this._skipStep(a,b):(this.trigger("show",{step:a,previous:this.currentStep}),this.currentStep=
a,a.show())};c.start=function(){this.trigger("start");this.focusedElBeforeOpen=document.activeElement;this.currentStep=null;this._setupActiveTour();this.next()};c._done=function(a){var b=this.steps.indexOf(this.currentStep);Array.isArray(this.steps)&&this.steps.forEach(function(a){return a.destroy()});fc(this);this.trigger(a,{index:b});kc.activeTour=null;this.trigger("inactive",{tour:this});this.modal.hide();"cancel"!==a&&"complete"!==a||!this.modal||(a=document.querySelector(".shepherd-modal-overlay-container"))&&
a.remove();this.focusedElBeforeOpen instanceof HTMLElement&&this.focusedElBeforeOpen.focus()};c._setupActiveTour=function(){this.trigger("active",{tour:this});kc.activeTour=this};c._skipStep=function(a,b){a=this.steps.indexOf(a);this.show(b?a+1:a-1,b)};c._updateStateBeforeShow=function(){this.currentStep&&this.currentStep.hide();this.isActive()||this._setupActiveTour()};c._setTourID=function(){this.id=(this.options.tourName||"tour")+"--"+fb()};return b}(ea);Object.assign(kc,{Tour:lc,Step:ec});
export default kc
//# sourceMappingURL=shepherd.esm.min.js.map

@@ -1,4 +0,102 @@

/*! shepherd.js 7.0.4 */
/*! shepherd.js 7.1.0 */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Shepherd=e()}(this,(function(){"use strict";function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function e(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t){return t instanceof HTMLElement}function s(t){return"function"==typeof t}function a(t){return"string"==typeof t}function c(t){return void 0===t}var l=function(){function t(){}var e=t.prototype;return e.on=function(t,e,n,o){return void 0===o&&(o=!1),c(this.bindings)&&(this.bindings={}),c(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:o}),this},e.once=function(t,e,n){return this.on(t,e,n,!0)},e.off=function(t,e){var n=this;return c(this.bindings)||c(this.bindings[t])||(c(e)?delete this.bindings[t]:this.bindings[t].forEach((function(o,i){o.handler===e&&n.bindings[t].splice(i,1)}))),this},e.trigger=function(t){for(var e=this,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return!c(this.bindings)&&this.bindings[t]&&this.bindings[t].forEach((function(n,i){var r=n.ctx,s=n.handler,a=n.once,c=r||e;s.apply(c,o),a&&e.bindings[t].splice(i,1)})),this},t}();function f(t){for(var e=Object.getOwnPropertyNames(t.constructor.prototype),n=0;n<e.length;n++){var o=e[n],i=t[o];"constructor"!==o&&"function"==typeof i&&(t[o]=i.bind(t))}return t}function u(t){var e=t.options.advanceOn||{},n=e.event,o=e.selector;if(!n)return console.error("advanceOn was defined, but no event name was passed.");var i,r=function(t,e){return function(n){if(e.isOpen()){var o=e.el&&n.currentTarget===e.el;(!c(t)&&n.currentTarget.matches(t)||o)&&e.tour.next()}}}(o,t);try{i=document.querySelector(o)}catch(t){}if(!c(o)&&!i)return console.error("No element was found for the selector supplied to advanceOn: "+o);i?(i.addEventListener(n,r),t.on("destroy",(function(){return i.removeEventListener(n,r)}))):(document.body.addEventListener(n,r,!0),t.on("destroy",(function(){return document.body.removeEventListener(n,r,!0)})))}function p(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function d(t){if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e?e.defaultView:window}return t}function h(t){var e=d(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function m(t){return t instanceof d(t).Element}function v(t){return t instanceof d(t).HTMLElement}function g(t){return t?(t.nodeName||"").toLowerCase():null}function b(t){return(m(t)?t.ownerDocument:t.document).documentElement}function y(t){return p(b(t)).left+h(t).scrollLeft}function x(t,e,n){var o;void 0===n&&(n=!1);var i,r=p(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return n||("body"!==g(e)&&(s=(i=e)!==d(i)&&v(i)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(i):h(i)),v(e)?((a=p(e)).x+=e.clientLeft,a.y+=e.clientTop):(o=b(e))&&(a.x=y(o))),{x:r.left+s.scrollLeft-a.x,y:r.top+s.scrollTop-a.y,width:r.width,height:r.height}}function w(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function O(t){return"html"===g(t)?t:t.parentNode||t.host||document.ownerDocument||document.documentElement}function $(t){return d(t).getComputedStyle(t)}function E(t,e){void 0===e&&(e=[]);var n=function t(e){if(["html","body","#document"].indexOf(g(e))>=0)return e.ownerDocument.body;if(v(e)){var n=$(e),o=n.overflow,i=n.overflowX,r=n.overflowY;if(/auto|scroll|overlay|hidden/.test(o+r+i))return e}return t(O(e))}(t),o="body"===g(n),i=o?d(n):n,r=e.concat(i);return o?r:r.concat(E(O(i)))}function S(t){return["table","td","th"].indexOf(g(t))>=0}function T(t){var e;return!v(t)||!(e=t.offsetParent)||void 0!==window.InstallTrigger&&"fixed"===$(e).position?null:e}function I(t){for(var e=d(t),n=T(t);n&&S(n);)n=T(n);return n&&"body"===g(n)&&"static"===$(n).position?e:n||e}var _="top",j="bottom",L="right",k="left",M=[_,j,L,k],P=M.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),C=[].concat(M,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),A=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(t){var e=new Map,n=new Set,o=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(i){n.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var i=e.get(o);i&&t(i)}})),o.push(i)}(t)})),o}function D(t){return t.split("-")[0]}var H={placement:"bottom",modifiers:[],strategy:"absolute"};function F(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function N(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,o=void 0===n?[]:n,i=e.defaultOptions,r=void 0===i?H:i;return function(t,e,n){void 0===n&&(n=r);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},H,{},r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],l=!1,f={state:a,setOptions:function(n){u(),a.options=Object.assign({},r,{},a.options,{},n),a.scrollParents={reference:m(t)?E(t):[],popper:E(e)};var i,s,l=function(t){var e=B(t);return A.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((i=[].concat(o,a.options.modifiers),s=i.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,{},e,{options:Object.assign({},n.options,{},e.options),data:Object.assign({},n.data,{},e.data)}):e,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return a.orderedModifiers=l.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,o=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var r=i({state:a,name:e,instance:f,options:o});c.push(r||function(){})}})),f.update()},forceUpdate:function(){if(!l){var t=a.elements,e=t.reference,n=t.popper;if(F(e,n)){a.rects={reference:x(e,I(n),"fixed"===a.options.strategy),popper:w(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var i=a.orderedModifiers[o],r=i.fn,s=i.options,c=void 0===s?{}:s,u=i.name;"function"==typeof r&&(a=r({state:a,options:c,name:u,instance:f})||a)}else a.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(t){f.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(i())}))}))),s}),destroy:function(){u(),l=!0}};if(!F(t,e))return f;function u(){c.forEach((function(t){return t()})),c=[]}return f.setOptions(n).then((function(t){!l&&n.onFirstUpdate&&n.onFirstUpdate(t)})),f}}var R={passive:!0};function W(t){return t.split("-")[1]}function Y(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function q(t){var e,n=t.reference,o=t.element,i=t.placement,r=i?D(i):null,s=i?W(i):null,a=n.x+n.width/2-o.width/2,c=n.y+n.height/2-o.height/2;switch(r){case _:e={x:a,y:n.y-o.height};break;case j:e={x:a,y:n.y+n.height};break;case L:e={x:n.x+n.width,y:c};break;case k:e={x:n.x-o.width,y:c};break;default:e={x:n.x,y:n.y}}var l=r?Y(r):null;if(null!=l){var f="y"===l?"height":"width";switch(s){case"start":e[l]=Math.floor(e[l])-Math.floor(n[f]/2-o[f]/2);break;case"end":e[l]=Math.floor(e[l])+Math.ceil(n[f]/2-o[f]/2)}}return e}var X={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V(t){var e,n=t.popper,o=t.popperRect,i=t.placement,r=t.offsets,s=t.position,a=t.gpuAcceleration,c=t.adaptive,l=function(t){var e=t.x,n=t.y,o=window.devicePixelRatio||1;return{x:Math.round(e*o)/o||0,y:Math.round(n*o)/o||0}}(r),f=l.x,u=l.y,p=r.hasOwnProperty("x"),h=r.hasOwnProperty("y"),m=k,v=_,g=window;if(c){var y=I(n);y===d(n)&&(y=b(n)),i===_&&(v=j,u-=y.clientHeight-o.height,u*=a?1:-1),i===k&&(m=L,f-=y.clientWidth-o.width,f*=a?1:-1)}var x,w=Object.assign({position:s},c&&X);return a?Object.assign({},w,((x={})[v]=h?"0":"",x[m]=p?"0":"",x.transform=(g.devicePixelRatio||1)<2?"translate("+f+"px, "+u+"px)":"translate3d("+f+"px, "+u+"px, 0)",x)):Object.assign({},w,((e={})[v]=h?u+"px":"",e[m]=p?f+"px":"",e.transform="",e))}var U={left:"right",right:"left",bottom:"top",top:"bottom"};function z(t){return t.replace(/left|right|bottom|top/g,(function(t){return U[t]}))}var Z={start:"end",end:"start"};function K(t){return t.replace(/start|end/g,(function(t){return Z[t]}))}function G(t){return parseFloat(t)||0}function J(t){var e=d(t),n=function(t){var e=v(t)?$(t):{};return{top:G(e.borderTopWidth),right:G(e.borderRightWidth),bottom:G(e.borderBottomWidth),left:G(e.borderLeftWidth)}}(t),o="html"===g(t),i=y(t),r=t.clientWidth+n.right,s=t.clientHeight+n.bottom;return o&&e.innerHeight-t.clientHeight>50&&(s=e.innerHeight-n.bottom),{top:o?0:t.clientTop,right:t.clientLeft>n.left?n.right:o?e.innerWidth-r-i:t.offsetWidth-r,bottom:o?e.innerHeight-s:t.offsetHeight-s,left:o?i:t.clientLeft}}function Q(t,e){var n=Boolean(e.getRootNode&&e.getRootNode().host);if(t.contains(e))return!0;if(n){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function tt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function et(t,e){return"viewport"===e?tt(function(t){var e=d(t);return{width:e.innerWidth,height:e.innerHeight,x:0,y:0}}(t)):v(e)?p(e):tt(function(t){var e=d(t),n=h(t),o=x(b(t),e);return o.height=Math.max(o.height,e.innerHeight),o.width=Math.max(o.width,e.innerWidth),o.x=-n.scrollLeft,o.y=-n.scrollTop,o}(b(t)))}function nt(t,e,n){var o="clippingParents"===e?function(t){var e=E(t),n=["absolute","fixed"].indexOf($(t).position)>=0&&v(t)?I(t):t;return m(n)?e.filter((function(t){return m(t)&&Q(t,n)})):[]}(t):[].concat(e),i=[].concat(o,[n]),r=i[0],s=i.reduce((function(e,n){var o=et(t,n),i=J(v(n)?n:b(t));return e.top=Math.max(o.top+i.top,e.top),e.right=Math.min(o.right-i.right,e.right),e.bottom=Math.min(o.bottom-i.bottom,e.bottom),e.left=Math.max(o.left+i.left,e.left),e}),et(t,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ot(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},t)}function it(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function rt(t,e){void 0===e&&(e={});var n=e,o=n.placement,i=void 0===o?t.placement:o,r=n.boundary,s=void 0===r?"clippingParents":r,a=n.rootBoundary,c=void 0===a?"viewport":a,l=n.elementContext,f=void 0===l?"popper":l,u=n.altBoundary,d=void 0!==u&&u,h=n.padding,v=void 0===h?0:h,g=ot("number"!=typeof v?v:it(v,M)),y="popper"===f?"reference":"popper",x=t.elements.reference,w=t.rects.popper,O=t.elements[d?y:f],$=nt(m(O)?O:b(t.elements.popper),s,c),E=p(x),S=q({reference:E,element:w,strategy:"absolute",placement:i}),T=tt(Object.assign({},w,{},S)),I="popper"===f?T:E,k={top:$.top-I.top+g.top,bottom:I.bottom-$.bottom+g.bottom,left:$.left-I.left+g.left,right:I.right-$.right+g.right},P=t.modifiersData.offset;if("popper"===f&&P){var C=P[i];Object.keys(k).forEach((function(t){var e=[L,j].indexOf(t)>=0?1:-1,n=[_,j].indexOf(t)>=0?"y":"x";k[t]+=C[n]*e}))}return k}function st(t,e,n){return Math.max(t,Math.min(e,n))}function at(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function ct(t){return[_,L,j,k].some((function(e){return t[e]>=0}))}var lt,ft=N({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,i=o.scroll,r=void 0===i||i,s=o.resize,a=void 0===s||s,c=d(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&l.forEach((function(t){t.addEventListener("scroll",n.update,R)})),a&&c.addEventListener("resize",n.update,R),function(){r&&l.forEach((function(t){t.removeEventListener("scroll",n.update,R)})),a&&c.removeEventListener("resize",n.update,R)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=q({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,o=n.gpuAcceleration,i=void 0===o||o,r=n.adaptive,s=void 0===r||r,a={placement:D(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i};e.styles.popper=Object.assign({},e.styles.popper,{},V(Object.assign({},a,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s}))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,{},V(Object.assign({},a,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},i=e.elements[t];v(i)&&g(i)&&(Object.assign(i.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:"absolute",left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],i=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});v(o)&&g(o)&&(Object.assign(o.style,r),Object.keys(i).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,o=t.name,i=n.offset,r=void 0===i?[0,0]:i,s=C.reduce((function(t,n){return t[n]=function(t,e,n){var o=D(t),i=[k,_].indexOf(o)>=0?-1:1,r="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*i,[k,L].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,r),t}),{}),a=s[e.placement],c=a.x,l=a.y;e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l,e.modifiersData[o]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var i=n.fallbackPlacements,r=n.padding,s=n.boundary,a=n.rootBoundary,c=n.flipVariations,l=void 0===c||c,f=e.options.placement,u=D(f),p=i||(u===f||!l?[z(f)]:function(t){if("auto"===D(t))return[];var e=z(t);return[K(t),e,K(e)]}(f)),d=[f].concat(p).reduce((function(t,n){return t.concat("auto"===D(n)?function(t,e){void 0===e&&(e={});var n=e,o=n.placement,i=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,c=W(o),l=(c?a?P:P.filter((function(t){return W(t)===c})):M).reduce((function(e,n){return e[n]=rt(t,{placement:n,boundary:i,rootBoundary:r,padding:s})[D(n)],e}),{});return Object.keys(l).sort((function(t,e){return l[t]-l[e]}))}(e,{placement:n,boundary:s,rootBoundary:a,padding:r,flipVariations:l}):n)}),[]),h=e.rects.reference,m=e.rects.popper,v=new Map,g=!0,b=d[0],y=0;y<d.length;y++){var x=d[y],w=D(x),O="start"===W(x),$=[_,j].indexOf(w)>=0,E=$?"width":"height",S=rt(e,{placement:x,boundary:s,rootBoundary:a,padding:r}),T=$?O?L:k:O?j:_;h[E]>m[E]&&(T=z(T));var I=z(T),C=[S[w]<=0,S[T]<=0,S[I]<=0];if(C.every((function(t){return t}))){b=x,g=!1;break}v.set(x,C)}if(g)for(var A=function(t){var e=d.find((function(e){var n=v.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return b=e,"break"},B=l?3:1;B>0;B--){if("break"===A(B))break}e.placement!==b&&(e.modifiersData[o]._skip=!0,e.placement=b,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,o=t.name,i=n.mainAxis,r=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,f=n.padding,u=n.tether,p=void 0===u||u,d=n.tetherOffset,h=void 0===d?0:d,m=rt(e,{boundary:c,rootBoundary:l,padding:f}),v=D(e.placement),g=W(e.placement),b=!g,y=Y(v),x="x"===y?"y":"x",O=e.modifiersData.popperOffsets,$=e.rects.reference,E=e.rects.popper,S="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,T={x:0,y:0};if(r){var I="y"===y?_:k,M="y"===y?j:L,P="y"===y?"height":"width",C=O[y],A=O[y]+m[I],B=O[y]-m[M],H=p?-E[P]/2:0,F="start"===g?$[P]:E[P],N="start"===g?-E[P]:-$[P],R=e.elements.arrow,q=p&&R?w(R):{width:0,height:0},X=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=X[I],U=X[M],z=st(0,$[P],q[P]),Z=b?$[P]/2-H-z-V-S:F-z-V-S,K=b?-$[P]/2+H+z+U+S:N+z+U+S,G=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,J=O[y]+Z-G,Q=O[y]+K-G,tt=st(p?Math.min(A,J):A,C,p?Math.max(B,Q):B);O[y]=tt,T[y]=tt-C}if(a){var et="x"===y?_:k,nt="x"===y?j:L,ot=O[x],it=st(ot+m[et],ot,ot-m[nt]);e.modifiersData.popperOffsets[x]=it,T[x]=it-ot}e.modifiersData[o]=T},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,o=t.name,i=n.elements.arrow,r=n.modifiersData.popperOffsets,s=D(n.placement),a=Y(s),c=[k,L].indexOf(s)>=0?"height":"width";if(i){var l=n.modifiersData[o+"#persistent"].padding,f=w(i),u="y"===a?_:k,p="y"===a?j:L,d=(n.rects.reference[c]+n.rects.reference[a]-r[a]-n.rects.popper[c])/2-(r[a]-n.rects.reference[a])/2,h=st(l[u],n.rects.popper[c]/2-f[c]/2+d,n.rects.popper[c]-f[c]-l[p]),m=a;n.modifiersData[o]=((e={})[m]=h,e)}},effect:function(t){var e=t.state,n=t.options,o=t.name,i=n.element,r=void 0===i?"[data-popper-arrow]":i,s=n.padding,a=void 0===s?0:s;("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&Q(e.elements.popper,r)&&(e.elements.arrow=r,e.modifiersData[o+"#persistent"]={padding:ot("number"!=typeof a?a:it(a,M))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,o=e.rects.reference,i=e.rects.popper,r=e.modifiersData.preventOverflow,s=rt(e,{elementContext:"reference"}),a=rt(e,{altBoundary:!0}),c=at(s,o),l=at(a,i,r),f=ct(c),u=ct(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:f,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":u})}}]});function ut(t){var e=[{name:"applyStyles",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){if("popper"===t){var n=e.attributes[t]||{},o=e.elements[t];Object.assign(o.style,{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)}))}}))}},{name:"computeStyles",options:{adaptive:!1}}],o=t.shepherdElementComponent.getElement(),i=function(t){return{placement:"top",strategy:"fixed",modifiers:[],onFirstUpdate:function(){t.el.focus()}}}(t);return o.classList.add("shepherd-centered"),i=n({},i,{modifiers:Array.from(new Set([].concat(i.modifiers,e)))})}function pt(t){return a(t)&&""!==t?"-"!==t.charAt(t.length-1)?t+"-":t:""}function dt(t){var e=t.options.attachTo||{},n=Object.assign({},e);if(a(e.element)){try{n.element=document.querySelector(e.element)}catch(t){}n.element||console.error("The element for this Shepherd step was not found "+e.element)}return n}function ht(t){t.tooltip&&t.tooltip.destroy();var e=dt(t),n=function(t,e){var n={modifiers:[{name:"preventOverflow",options:{altAxis:!0}}],strategy:"absolute",onFirstUpdate:function(){e.el.focus()}},o=document.body;t.element&&t.on?(n.placement=t.on||"right",o=t.element):n=ut(e);if(e.options.popperOptions){if(e.options.popperOptions.modifiers&&e.options.popperOptions.modifiers.length>0){var i=e.options.popperOptions.modifiers.map((function(t){return t.name})),r=n.modifiers.filter((function(t){return!i.includes(t.name)}));n.modifiers=Array.from(new Set([].concat(r,e.options.popperOptions.modifiers)))}n=Object.assign(e.options.popperOptions,n)}return{element:e.el,popperOptions:n,target:o}}(e,t),o=n.element,i=n.popperOptions,r=n.target;t.tooltip=ft(r,o,i),t.target=e.element}function mt(){var t=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?n:3&n|8).toString(16)}))}function vt(){}function gt(t,e){for(var n in e)t[n]=e[n];return t}function bt(t){return t()}function yt(){return Object.create(null)}function xt(t){t.forEach(bt)}function wt(t){return"function"==typeof t}function Ot(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function $t(t,e){t.appendChild(e)}function Et(t,e,n){t.insertBefore(e,n||null)}function St(t){t.parentNode.removeChild(t)}function Tt(t){return document.createElement(t)}function It(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function _t(t){return document.createTextNode(t)}function jt(){return _t(" ")}function Lt(t,e,n,o){return t.addEventListener(e,n,o),function(){return t.removeEventListener(e,n,o)}}function kt(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Mt(t,e){var n=Object.getOwnPropertyDescriptors(t.__proto__);for(var o in e)null==e[o]?t.removeAttribute(o):"style"===o?t.style.cssText=e[o]:"__value"===o||n[o]&&n[o].set?t[o]=e[o]:kt(t,o,e[o])}function Pt(t,e,n){t.classList[n?"add":"remove"](e)}function Ct(t){lt=t}function At(){if(!lt)throw new Error("Function called outside component initialization");return lt}function Bt(t){At().$$.after_update.push(t)}var Dt=[],Ht=[],Ft=[],Nt=[],Rt=Promise.resolve(),Wt=!1;function Yt(t){Ft.push(t)}var qt=!1,Xt=new Set;function Vt(){if(!qt){qt=!0;do{for(var t=0;t<Dt.length;t+=1){var e=Dt[t];Ct(e),Ut(e.$$)}for(Dt.length=0;Ht.length;)Ht.pop()();for(var n=0;n<Ft.length;n+=1){var o=Ft[n];Xt.has(o)||(Xt.add(o),o())}Ft.length=0}while(Dt.length);for(;Nt.length;)Nt.pop()();Wt=!1,qt=!1,Xt.clear()}}function Ut(t){if(null!==t.fragment){t.update(),xt(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Yt)}}var zt,Zt=new Set;function Kt(){zt={r:0,c:[],p:zt}}function Gt(){zt.r||xt(zt.c),zt=zt.p}function Jt(t,e){t&&t.i&&(Zt.delete(t),t.i(e))}function Qt(t,e,n,o){if(t&&t.o){if(Zt.has(t))return;Zt.add(t),zt.c.push((function(){Zt.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}function te(t){t&&t.c()}function ee(t,e,n){var o=t.$$,i=o.fragment,r=o.on_mount,s=o.on_destroy,a=o.after_update;i&&i.m(e,n),Yt((function(){var e=r.map(bt).filter(wt);s?s.push.apply(s,e):xt(e),t.$$.on_mount=[]})),a.forEach(Yt)}function ne(t,e){var n=t.$$;null!==n.fragment&&(xt(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function oe(t,e){-1===t.$$.dirty[0]&&(Dt.push(t),Wt||(Wt=!0,Rt.then(Vt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ie(t,e,n,o,i,r,s){void 0===s&&(s=[-1]);var a=lt;Ct(t);var c=e.props||{},l=t.$$={fragment:null,ctx:null,props:r,update:vt,not_equal:i,bound:yt(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:[]),callbacks:yt(),dirty:s},f=!1;l.ctx=n?n(t,c,(function(e,n){var o=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return l.ctx&&i(l.ctx[e],l.ctx[e]=o)&&(l.bound[e]&&l.bound[e](o),f&&oe(t,e)),n})):[],l.update(),f=!0,xt(l.before_update),l.fragment=!!o&&o(l.ctx),e.target&&(e.hydrate?l.fragment&&l.fragment.l(function(t){return Array.from(t.childNodes)}(e.target)):l.fragment&&l.fragment.c(),e.intro&&Jt(t.$$.fragment),ee(t,e.target,e.anchor),Vt()),Ct(a)}var re=function(){function t(){}var e=t.prototype;return e.$destroy=function(){ne(this,1),this.$destroy=vt},e.$on=function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}},e.$set=function(){},t}();function se(t){var e,n,o,i,r;return{c:function(){e=Tt("button"),n=_t(t[3]),kt(e,"aria-label",o=t[4]?t[4]:null),kt(e,"class",i=(t[1]||"")+" shepherd-button "+(t[2]?"shepherd-button-secondary":"")),e.disabled=t[5],kt(e,"tabindex","0")},m:function(o,i){Et(o,e,i),$t(e,n),r=Lt(e,"click",(function(){wt(t[0])&&t[0].apply(this,arguments)}))},p:function(r,s){var a=s[0];t=r,8&a&&function(t,e){e=""+e,t.data!==e&&(t.data=e)}(n,t[3]),16&a&&o!==(o=t[4]?t[4]:null)&&kt(e,"aria-label",o),6&a&&i!==(i=(t[1]||"")+" shepherd-button "+(t[2]?"shepherd-button-secondary":""))&&kt(e,"class",i),32&a&&(e.disabled=t[5])},i:vt,o:vt,d:function(t){t&&St(e),r()}}}function ae(t,e,n){var o,i,r,a,c,l,f=e.config,u=e.step;return t.$set=function(t){"config"in t&&n(6,f=t.config),"step"in t&&n(7,u=t.step)},t.$$.update=function(){192&t.$$.dirty&&(n(0,o=f.action?f.action.bind(u.tour):null),n(1,i=f.classes),n(2,r=f.secondary),n(3,a=f.text),n(4,c=f.label),n(5,l=!!f.disabled&&function(t){return s(t)?t.call(u):t}(f.disabled)))},[o,i,r,a,c,l,f,u]}var ce=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,ae,se,Ot,{config:6,step:7}),n}return o(e,t),e}(re);function le(t,e,n){var o=t.slice();return o[2]=e[n],o}function fe(t){for(var e,n,o=t[1],i=[],r=0;r<o.length;r+=1)i[r]=ue(le(t,o,r));var s=function(t){return Qt(i[t],1,1,(function(){i[t]=null}))};return{c:function(){for(var t=0;t<i.length;t+=1)i[t].c();e=_t("")},m:function(t,o){for(var r=0;r<i.length;r+=1)i[r].m(t,o);Et(t,e,o),n=!0},p:function(t,n){if(3&n){var r;for(o=t[1],r=0;r<o.length;r+=1){var a=le(t,o,r);i[r]?(i[r].p(a,n),Jt(i[r],1)):(i[r]=ue(a),i[r].c(),Jt(i[r],1),i[r].m(e.parentNode,e))}for(Kt(),r=o.length;r<i.length;r+=1)s(r);Gt()}},i:function(t){if(!n){for(var e=0;e<o.length;e+=1)Jt(i[e]);n=!0}},o:function(t){i=i.filter(Boolean);for(var e=0;e<i.length;e+=1)Qt(i[e]);n=!1},d:function(t){!function(t,e){for(var n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}(i,t),t&&St(e)}}}function ue(t){var e,n=new ce({props:{config:t[2],step:t[0]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};2&e&&(o.config=t[2]),1&e&&(o.step=t[0]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function pe(t){var e,n,o=t[1]&&fe(t);return{c:function(){e=Tt("footer"),o&&o.c(),kt(e,"class","shepherd-footer")},m:function(t,i){Et(t,e,i),o&&o.m(e,null),n=!0},p:function(t,n){var i=n[0];t[1]?o?(o.p(t,i),Jt(o,1)):((o=fe(t)).c(),Jt(o,1),o.m(e,null)):o&&(Kt(),Qt(o,1,1,(function(){o=null})),Gt())},i:function(t){n||(Jt(o),n=!0)},o:function(t){Qt(o),n=!1},d:function(t){t&&St(e),o&&o.d()}}}function de(t,e,n){var o,i=e.step;return t.$set=function(t){"step"in t&&n(0,i=t.step)},t.$$.update=function(){1&t.$$.dirty&&n(1,o=i.options.buttons)},[i,o]}var he=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,de,pe,Ot,{step:0}),n}return o(e,t),e}(re);function me(t){var e,n,o,i;return{c:function(){e=Tt("button"),(n=Tt("span")).textContent="×",kt(n,"aria-hidden","true"),kt(e,"aria-label",o=t[0].label?t[0].label:"Close Tour"),kt(e,"class","shepherd-cancel-icon"),kt(e,"type","button")},m:function(o,r){Et(o,e,r),$t(e,n),i=Lt(e,"click",t[1])},p:function(t,n){1&n[0]&&o!==(o=t[0].label?t[0].label:"Close Tour")&&kt(e,"aria-label",o)},i:vt,o:vt,d:function(t){t&&St(e),i()}}}function ve(t,e,n){var o=e.cancelIcon,i=e.step;return t.$set=function(t){"cancelIcon"in t&&n(0,o=t.cancelIcon),"step"in t&&n(2,i=t.step)},[o,function(t){t.preventDefault(),i.cancel()},i]}var ge=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,ve,me,Ot,{cancelIcon:0,step:2}),n}return o(e,t),e}(re);function be(t){var e;return{c:function(){kt(e=Tt("h3"),"id",t[1]),kt(e,"class","shepherd-title")},m:function(n,o){Et(n,e,o),t[3](e)},p:function(t,n){2&n[0]&&kt(e,"id",t[1])},i:vt,o:vt,d:function(n){n&&St(e),t[3](null)}}}function ye(t,e,n){var o=e.labelId,i=e.element,r=e.title;return Bt((function(){s(r)&&n(2,r=r()),n(0,i.innerHTML=r,i)})),t.$set=function(t){"labelId"in t&&n(1,o=t.labelId),"element"in t&&n(0,i=t.element),"title"in t&&n(2,r=t.title)},[i,o,r,function(t){Ht[t?"unshift":"push"]((function(){n(0,i=t)}))}]}var xe=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,ye,be,Ot,{labelId:1,element:0,title:2}),n}return o(e,t),e}(re);function we(t){var e,n=new xe({props:{labelId:t[0],title:t[2]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};1&e&&(o.labelId=t[0]),4&e&&(o.title=t[2]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function Oe(t){var e,n=new ge({props:{cancelIcon:t[3],step:t[1]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};8&e&&(o.cancelIcon=t[3]),2&e&&(o.step=t[1]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function $e(t){var e,n,o,i=t[2]&&we(t),r=t[3]&&t[3].enabled&&Oe(t);return{c:function(){e=Tt("header"),i&&i.c(),n=jt(),r&&r.c(),kt(e,"class","shepherd-header")},m:function(t,s){Et(t,e,s),i&&i.m(e,null),$t(e,n),r&&r.m(e,null),o=!0},p:function(t,o){var s=o[0];t[2]?i?(i.p(t,s),Jt(i,1)):((i=we(t)).c(),Jt(i,1),i.m(e,n)):i&&(Kt(),Qt(i,1,1,(function(){i=null})),Gt()),t[3]&&t[3].enabled?r?(r.p(t,s),Jt(r,1)):((r=Oe(t)).c(),Jt(r,1),r.m(e,null)):r&&(Kt(),Qt(r,1,1,(function(){r=null})),Gt())},i:function(t){o||(Jt(i),Jt(r),o=!0)},o:function(t){Qt(i),Qt(r),o=!1},d:function(t){t&&St(e),i&&i.d(),r&&r.d()}}}function Ee(t,e,n){var o,i,r=e.labelId,s=e.step;return t.$set=function(t){"labelId"in t&&n(0,r=t.labelId),"step"in t&&n(1,s=t.step)},t.$$.update=function(){2&t.$$.dirty&&(n(2,o=s.options.title),n(3,i=s.options.cancelIcon))},[r,s,o,i]}var Se=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,Ee,$e,Ot,{labelId:0,step:1}),n}return o(e,t),e}(re);function Te(t){var e;return{c:function(){kt(e=Tt("div"),"class","shepherd-text"),kt(e,"id",t[1])},m:function(n,o){Et(n,e,o),t[3](e)},p:function(t,n){2&n[0]&&kt(e,"id",t[1])},i:vt,o:vt,d:function(n){n&&St(e),t[3](null)}}}function Ie(t,e,n){var o=e.descriptionId,i=e.element,a=e.step;return Bt((function(){var t=a.options.text;s(t)&&(t=t.call(a)),r(t)?i.appendChild(t):n(0,i.innerHTML=t,i)})),t.$set=function(t){"descriptionId"in t&&n(1,o=t.descriptionId),"element"in t&&n(0,i=t.element),"step"in t&&n(2,a=t.step)},[i,o,a,function(t){Ht[t?"unshift":"push"]((function(){n(0,i=t)}))}]}var _e=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,Ie,Te,Ot,{descriptionId:1,element:0,step:2}),n}return o(e,t),e}(re);function je(t){var e,n=new _e({props:{descriptionId:t[0],step:t[2]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};1&e&&(o.descriptionId=t[0]),4&e&&(o.step=t[2]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function Le(t){var e,n=new he({props:{step:t[2]}});return{c:function(){te(n.$$.fragment)},m:function(t,o){ee(n,t,o),e=!0},p:function(t,e){var o={};4&e&&(o.step=t[2]),n.$set(o)},i:function(t){e||(Jt(n.$$.fragment,t),e=!0)},o:function(t){Qt(n.$$.fragment,t),e=!1},d:function(t){ne(n,t)}}}function ke(t){var e,n,o,i,r=!c(t[2].options.text),s=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length,a=new Se({props:{labelId:t[1],step:t[2]}}),l=r&&je(t),f=s&&Le(t);return{c:function(){e=Tt("div"),te(a.$$.fragment),n=jt(),l&&l.c(),o=jt(),f&&f.c(),kt(e,"class","shepherd-content")},m:function(t,r){Et(t,e,r),ee(a,e,null),$t(e,n),l&&l.m(e,null),$t(e,o),f&&f.m(e,null),i=!0},p:function(t,n){var i=n[0],u={};2&i&&(u.labelId=t[1]),4&i&&(u.step=t[2]),a.$set(u),4&i&&(r=!c(t[2].options.text)),r?l?(l.p(t,i),Jt(l,1)):((l=je(t)).c(),Jt(l,1),l.m(e,o)):l&&(Kt(),Qt(l,1,1,(function(){l=null})),Gt()),4&i&&(s=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length),s?f?(f.p(t,i),Jt(f,1)):((f=Le(t)).c(),Jt(f,1),f.m(e,null)):f&&(Kt(),Qt(f,1,1,(function(){f=null})),Gt())},i:function(t){i||(Jt(a.$$.fragment,t),Jt(l),Jt(f),i=!0)},o:function(t){Qt(a.$$.fragment,t),Qt(l),Qt(f),i=!1},d:function(t){t&&St(e),ne(a),l&&l.d(),f&&f.d()}}}function Me(t,e,n){var o=e.descriptionId,i=e.labelId,r=e.step;return t.$set=function(t){"descriptionId"in t&&n(0,o=t.descriptionId),"labelId"in t&&n(1,i=t.labelId),"step"in t&&n(2,r=t.step)},[o,i,r]}var Pe=function(t){function e(e){var n;return ie(i(n=t.call(this)||this),e,Me,ke,Ot,{descriptionId:0,labelId:1,step:2}),n}return o(e,t),e}(re);function Ce(t){var e;return{c:function(){kt(e=Tt("div"),"class","shepherd-arrow"),kt(e,"data-popper-arrow","")},m:function(t,n){Et(t,e,n)},d:function(t){t&&St(e)}}}function Ae(t){for(var e,n,o,i,r=t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element&&Ce(),s=new Pe({props:{descriptionId:t[2],labelId:t[3],step:t[4]}}),a=[{"aria-describedby":c(t[4].options.text)?null:t[2]},{"aria-labelledby":t[4].options.title?t[3]:null},t[1],{role:"dialog"},{tabindex:"0"}],l={},f=0;f<a.length;f+=1)l=gt(l,a[f]);return{c:function(){e=Tt("div"),r&&r.c(),n=jt(),te(s.$$.fragment),Mt(e,l),Pt(e,"shepherd-has-cancel-icon",t[5]),Pt(e,"shepherd-has-title",t[6]),Pt(e,"shepherd-element",!0)},m:function(a,c){Et(a,e,c),r&&r.m(e,null),$t(e,n),ee(s,e,null),t[17](e),o=!0,i=Lt(e,"keydown",t[7])},p:function(t,o){var i=o[0];t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element?r||((r=Ce()).c(),r.m(e,n)):r&&(r.d(1),r=null);var l={};4&i&&(l.descriptionId=t[2]),8&i&&(l.labelId=t[3]),16&i&&(l.step=t[4]),s.$set(l),Mt(e,function(t,e){for(var n={},o={},i={$$scope:1},r=t.length;r--;){var s=t[r],a=e[r];if(a){for(var c in s)c in a||(o[c]=1);for(var l in a)i[l]||(n[l]=a[l],i[l]=1);t[r]=a}else for(var f in s)i[f]=1}for(var u in o)u in n||(n[u]=void 0);return n}(a,[20&i&&{"aria-describedby":c(t[4].options.text)?null:t[2]},24&i&&{"aria-labelledby":t[4].options.title?t[3]:null},2&i&&t[1],{role:"dialog"},{tabindex:"0"}])),Pt(e,"shepherd-has-cancel-icon",t[5]),Pt(e,"shepherd-has-title",t[6]),Pt(e,"shepherd-element",!0)},i:function(t){o||(Jt(s.$$.fragment,t),o=!0)},o:function(t){Qt(s.$$.fragment,t),o=!1},d:function(n){n&&St(e),r&&r.d(),ne(s),t[17](null),i()}}}function Be(t){return t.split(" ").filter((function(t){return!!t.length}))}function De(t,e,n){var o,i,r,s,c=e.classPrefix,l=e.element,f=e.descriptionId,u=e.firstFocusableElement,p=e.focusableElements,d=e.labelId,h=e.lastFocusableElement,m=e.step,v=e.dataStepId;function g(){b(r),y(r=m.options.classes)}function b(t){if(a(t)){var e,n=Be(t);if(n.length)(e=l.classList).remove.apply(e,n)}}function y(t){if(a(t)){var e,n=Be(t);if(n.length)(e=l.classList).add.apply(e,n)}}s=function(){var t;n(1,((t={})["data-"+c+"shepherd-step-id"]=m.id,v=t)),n(9,p=l.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')),n(8,u=p[0]),n(10,h=p[p.length-1])},At().$$.on_mount.push(s),Bt((function(){r!==m.options.classes&&g()}));return t.$set=function(t){"classPrefix"in t&&n(11,c=t.classPrefix),"element"in t&&n(0,l=t.element),"descriptionId"in t&&n(2,f=t.descriptionId),"firstFocusableElement"in t&&n(8,u=t.firstFocusableElement),"focusableElements"in t&&n(9,p=t.focusableElements),"labelId"in t&&n(3,d=t.labelId),"lastFocusableElement"in t&&n(10,h=t.lastFocusableElement),"step"in t&&n(4,m=t.step),"dataStepId"in t&&n(1,v=t.dataStepId)},t.$$.update=function(){16&t.$$.dirty&&(n(5,o=m.options&&m.options.cancelIcon&&m.options.cancelIcon.enabled),n(6,i=m.options&&m.options.title))},[l,v,f,d,m,o,i,function(t){var e=m.tour;switch(t.keyCode){case 9:if(0===p.length){t.preventDefault();break}t.shiftKey?document.activeElement===u&&(t.preventDefault(),h.focus()):document.activeElement===h&&(t.preventDefault(),u.focus());break;case 27:e.options.exitOnEsc&&m.cancel();break;case 37:e.options.keyboardNavigation&&e.back();break;case 39:e.options.keyboardNavigation&&e.next()}},u,p,h,c,function(){return l},r,g,b,y,function(t){Ht[t?"unshift":"push"]((function(){n(0,l=t)}))}]}var He=function(t){function n(e){var n;return ie(i(n=t.call(this)||this),e,De,Ae,Ot,{classPrefix:11,element:0,descriptionId:2,firstFocusableElement:8,focusableElements:9,labelId:3,lastFocusableElement:10,step:4,dataStepId:1,getElement:12}),n}return o(n,t),e(n,[{key:"getElement",get:function(){return this.$$.ctx[12]}}]),n}(re);var Fe=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t,e){t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style&&!0!==t.__forceSmoothScrollPolyfill__)){var n,o=t.HTMLElement||t.Element,i={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:o.prototype.scroll||a,scrollIntoView:o.prototype.scrollIntoView},r=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,s=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?h.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):i.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?i.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},o.prototype.scroll=o.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var t=arguments[0].left,e=arguments[0].top;h.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},o.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},o.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var n=p(this),o=n.getBoundingClientRect(),r=this.getBoundingClientRect();n!==e.body?(h.call(this,n,n.scrollLeft+r.left-o.left,n.scrollTop+r.top-o.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})):t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function a(t,e){this.scrollLeft=t,this.scrollTop=e}function c(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function l(t,e){return"Y"===e?t.clientHeight+s<t.scrollHeight:"X"===e?t.clientWidth+s<t.scrollWidth:void 0}function f(e,n){var o=t.getComputedStyle(e,null)["overflow"+n];return"auto"===o||"scroll"===o}function u(t){var e=l(t,"Y")&&f(t,"Y"),n=l(t,"X")&&f(t,"X");return e||n}function p(t){for(;t!==e.body&&!1===u(t);)t=t.parentNode||t.host;return t}function d(e){var n,o,i,s,a=(r()-e.startTime)/468;s=a=a>1?1:a,n=.5*(1-Math.cos(Math.PI*s)),o=e.startX+(e.x-e.startX)*n,i=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,o,i),o===e.x&&i===e.y||t.requestAnimationFrame(d.bind(t,e))}function h(n,o,s){var c,l,f,u,p=r();n===e.body?(c=t,l=t.scrollX||t.pageXOffset,f=t.scrollY||t.pageYOffset,u=i.scroll):(c=n,l=n.scrollLeft,f=n.scrollTop,u=a),d({scrollable:c,method:u,startTime:p,startX:l,startY:f,x:o,y:s})}}}}));Fe.polyfill;Fe.polyfill();var Ne=function(t){function e(e,n){var o;return void 0===n&&(n={}),(o=t.call(this,e,n)||this).tour=e,o.classPrefix=o.tour.options?pt(o.tour.options.classPrefix):"",o.styles=e.styles,f(i(o)),o._setOptions(n),i(o)||i(o)}o(e,t);var n=e.prototype;return n.cancel=function(){this.tour.cancel(),this.trigger("cancel")},n.complete=function(){this.tour.complete(),this.trigger("complete")},n.destroy=function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),r(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")},n.getTour=function(){return this.tour},n.hide=function(){this.tour.modal.hide(),this.trigger("before-hide"),this.el&&(this.el.hidden=!0),this.target&&this._updateStepTargetOnHide(),this.trigger("hide")},n.isOpen=function(){return Boolean(this.el&&!this.el.hidden)},n.show=function(){var t=this;if(s(this.options.beforeShowPromise)){var e=this.options.beforeShowPromise();if(!c(e))return e.then((function(){return t._show()}))}this._show()},n.updateStepOptions=function(t){Object.assign(this.options,t),this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})},n._createTooltipContent=function(){var t=this.id+"-description",e=this.id+"-label";return this.shepherdElementComponent=new He({target:document.body,props:{classPrefix:this.classPrefix,descriptionId:t,labelId:e,step:this,styles:this.styles}}),this.shepherdElementComponent.getElement()},n._scrollTo=function(t){var e=dt(this).element;s(this.options.scrollToHandler)?this.options.scrollToHandler(e):r(e)&&"function"==typeof e.scrollIntoView&&e.scrollIntoView(t)},n._getClassOptions=function(t){var e=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,n=t.classes?t.classes:"",o=e&&e.classes?e.classes:"",i=[].concat(n.split(" "),o.split(" ")),r=new Set(i);return Array.from(r).join(" ").trim()},n._setOptions=function(t){var e=this;void 0===t&&(t={});var n=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;this.options=Object.assign({arrow:!0},n,t);var o=this.options.when;this.options.classes=this._getClassOptions(t),this.destroy(),this.id=this.options.id||"step-"+mt(),o&&Object.keys(o).forEach((function(t){e.on(t,o[t],e)}))},n._setupElements=function(){c(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&u(this),ht(this)},n._show=function(){var t=this;this.trigger("before-show"),this._setupElements(),this.tour.modal.setupForStep(this),this._styleTargetElementForStep(this),this.el.hidden=!1,this.options.scrollTo&&setTimeout((function(){t._scrollTo(t.options.scrollTo)})),this.el.hidden=!1;var e=this.shepherdElementComponent.getElement(),n=this.target||document.body;n.classList.add(this.classPrefix+"shepherd-enabled"),n.classList.add(this.classPrefix+"shepherd-target"),e.classList.add("shepherd-enabled"),this.trigger("show")},n._styleTargetElementForStep=function(t){var e=t.target;e&&(t.options.highlightClass&&e.classList.add(t.options.highlightClass),!1===t.options.canClickTarget&&e.classList.add("shepherd-target-click-disabled"))},n._updateStepTargetOnHide=function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove(this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target")},e}(l);function Re(t){var e,n,o,i,r;return{c:function(){e=It("svg"),kt(n=It("path"),"d",o="M "+t[1].x+" "+t[1].y+" H "+(t[1].width+t[1].x)+" V "+(t[1].height+t[1].y)+" H "+t[1].x+" L "+t[1].x+" 0 Z M 0 0 H "+window.innerWidth+" V "+window.innerHeight+" H 0 L 0 0 Z"),kt(e,"class",i=(t[2]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m:function(o,i){Et(o,e,i),$t(e,n),t[16](e),r=Lt(e,"touchmove",t[3])},p:function(t,r){var s=r[0];2&s&&o!==(o="M "+t[1].x+" "+t[1].y+" H "+(t[1].width+t[1].x)+" V "+(t[1].height+t[1].y)+" H "+t[1].x+" L "+t[1].x+" 0 Z M 0 0 H "+window.innerWidth+" V "+window.innerHeight+" H 0 L 0 0 Z")&&kt(n,"d",o),4&s&&i!==(i=(t[2]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&kt(e,"class",i)},i:vt,o:vt,d:function(n){n&&St(e),t[16](null),r()}}}function We(t,e,n){var o=e.element,i=e.openingProperties,r=mt(),s=!1,a=void 0;c();function c(){n(1,i={height:0,x:0,y:0,width:0})}function l(){n(2,s=!1),h()}function f(t,e,o){if(void 0===o&&(o=0),t.getBoundingClientRect){var r=function(t,e){var n=t.getBoundingClientRect(),o=n.y||n.top,i=n.bottom||o+n.height;if(e){var r=e.getBoundingClientRect(),s=r.y||r.top,a=r.bottom||s+r.height;o=Math.max(o,s),i=Math.min(i,a)}return{y:o,height:Math.max(i-o,0)}}(t,e),s=r.y,a=r.height,c=t.getBoundingClientRect(),l=c.x,f=c.width,u=c.left;n(1,i={x:(l||u)-o,y:s-o,width:f+2*o,height:a+2*o})}}function u(){n(2,s=!0)}var p=function(t){t.preventDefault()};function d(){window.addEventListener("touchmove",p,{passive:!1})}function h(){a&&(cancelAnimationFrame(a),a=void 0),window.removeEventListener("touchmove",p,{passive:!1})}function m(t){var e=t.options.modalOverlayOpeningPadding;if(t.target){var n=function t(e){if(!e)return null;var n=e instanceof HTMLElement&&window.getComputedStyle(e).overflowY;return"hidden"!==n&&"visible"!==n&&e.scrollHeight>=e.clientHeight?e:t(e.parentElement)}(t.target);!function o(){a=void 0,f(t.target,n,e),a=requestAnimationFrame(o)}(),d()}else c()}return t.$set=function(t){"element"in t&&n(0,o=t.element),"openingProperties"in t&&n(1,i=t.openingProperties)},[o,i,s,function(t){t.stopPropagation()},function(){return o},c,l,f,function(t){h(),t.tour.options.useModalOverlay?(m(t),u()):l()},u,a,r,p,d,h,m,function(t){Ht[t?"unshift":"push"]((function(){n(0,o=t)}))}]}var Ye=function(t){function n(e){var n;return ie(i(n=t.call(this)||this),e,We,Re,Ot,{element:0,openingProperties:1,getElement:4,closeModalOpening:5,hide:6,positionModalOpening:7,setupForStep:8,show:9}),n}return o(n,t),e(n,[{key:"getElement",get:function(){return this.$$.ctx[4]}},{key:"closeModalOpening",get:function(){return this.$$.ctx[5]}},{key:"hide",get:function(){return this.$$.ctx[6]}},{key:"positionModalOpening",get:function(){return this.$$.ctx[7]}},{key:"setupForStep",get:function(){return this.$$.ctx[8]}},{key:"show",get:function(){return this.$$.ctx[9]}}]),n}(re),qe=new l,Xe=function(t){function e(e){var n;void 0===e&&(e={}),f(i(n=t.call(this,e)||this));n.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},e),n.classPrefix=pt(n.options.classPrefix),n.steps=[],n.addSteps(n.options.steps);return["active","cancel","complete","inactive","show","start"].map((function(t){var e;e=t,n.on(e,(function(t){(t=t||{}).tour=i(n),qe.trigger(e,t)}))})),n.modal=new Ye({target:e.modalContainer||document.body,props:{classPrefix:n.classPrefix,styles:n.styles}}),n._setTourID(),i(n)||i(n)}o(e,t);var n=e.prototype;return n.addStep=function(t,e){var n=t;return n instanceof Ne?n.tour=this:n=new Ne(this,n),c(e)?this.steps.push(n):this.steps.splice(e,0,n),n},n.addSteps=function(t){var e=this;return Array.isArray(t)&&t.forEach((function(t){e.addStep(t)})),this},n.back=function(){var t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)},n.cancel=function(){if(this.options.confirmCancel){var t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(t)&&this._done("cancel")}else this._done("cancel")},n.complete=function(){this._done("complete")},n.getById=function(t){return this.steps.find((function(e){return e.id===t}))},n.getCurrentStep=function(){return this.currentStep},n.hide=function(){var t=this.getCurrentStep();if(t)return t.hide()},n.isActive=function(){return qe.activeTour===this},n.next=function(){var t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)},n.removeStep=function(t){var e=this,n=this.getCurrentStep();this.steps.some((function(n,o){if(n.id===t)return n.isOpen()&&n.hide(),n.destroy(),e.steps.splice(o,1),!0})),n&&n.id===t&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())},n.show=function(t,e){void 0===t&&(t=0),void 0===e&&(e=!0);var n=a(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),s(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,e):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show()))},n.start=function(){this.trigger("start"),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this._setupActiveTour(),this.next()},n._done=function(t){var e,n=this.steps.indexOf(this.currentStep);Array.isArray(this.steps)&&this.steps.forEach((function(t){return t.destroy()})),(e=this)&&e.steps.forEach((function(t){t.options&&!1===t.options.canClickTarget&&t.options.attachTo&&t.target instanceof HTMLElement&&t.target.classList.remove("shepherd-target-click-disabled")})),this.trigger(t,{index:n}),qe.activeTour=null,this.trigger("inactive",{tour:this}),this.modal.hide(),r(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()},n._setupActiveTour=function(){this.trigger("active",{tour:this}),qe.activeTour=this},n._skipStep=function(t,e){var n=this.steps.indexOf(t),o=e?n+1:n-1;this.show(o,e)},n._updateStateBeforeShow=function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()},n._setTourID=function(){var t=this.options.tourName||"tour";this.id=t+"--"+mt()},e}(l);return Object.assign(qe,{Tour:Xe,Step:Ne}),qe}));
'use strict';(function(P,Q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=Q():"function"===typeof define&&define.amd?define(Q):(P=P||self,P.Shepherd=Q())})(this,function(){function P(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}function Q(a,b,c){b&&P(a.prototype,b);c&&P(a,c);return a}function ra(){ra=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=
arguments[b],d;for(d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a};return ra.apply(this,arguments)}function C(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}function x(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function R(a){return"function"===typeof a}function Z(a){return"string"===typeof a}function Da(a){for(var b=Object.getOwnPropertyNames(a.constructor.prototype),c=
0;c<b.length;c++){var d=b[c],e=a[d];"constructor"!==d&&"function"===typeof e&&(a[d]=e.bind(a))}return a}function lb(a,b){return function(c){if(b.isOpen()){var d=b.el&&c.currentTarget===b.el;(void 0!==a&&c.currentTarget.matches(a)||d)&&b.tour.next()}}}function mb(a){var b=a.options.advanceOn||{},c=b.event;b=b.selector;if(c){var d=lb(b,a);try{var e=document.querySelector(b)}catch(f){}if(void 0===b||e)e?(e.addEventListener(c,d),a.on("destroy",function(){return e.removeEventListener(c,d)})):(document.body.addEventListener(c,
d,!0),a.on("destroy",function(){return document.body.removeEventListener(c,d,!0)}));else return console.error("No element was found for the selector supplied to advanceOn: "+b)}else return console.error("advanceOn was defined, but no event name was passed.")}function aa(a){a=a.getBoundingClientRect();return{width:a.width,height:a.height,top:a.top,right:a.right,bottom:a.bottom,left:a.left,x:a.left,y:a.top}}function A(a){return"[object Window]"!==a.toString()?(a=a.ownerDocument)?a.defaultView:window:
a}function sa(a){a=A(a);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function ba(a){var b=A(a).Element;return a instanceof b||a instanceof Element}function D(a){var b=A(a).HTMLElement;return a instanceof b||a instanceof HTMLElement}function F(a){return a?(a.nodeName||"").toLowerCase():null}function M(a){return(ba(a)?a.ownerDocument:a.document).documentElement}function Ea(a){return aa(M(a)).left+sa(a).scrollLeft}function Fa(a,b,c){void 0===c&&(c=!1);a=aa(a);var d={scrollLeft:0,scrollTop:0},
e={x:0,y:0};if(!c)if("body"!==F(b)&&(d=b!==A(b)&&D(b)?{scrollLeft:b.scrollLeft,scrollTop:b.scrollTop}:sa(b)),D(b))e=aa(b),e.x+=b.clientLeft,e.y+=b.clientTop;else if(b=M(b))e.x=Ea(b);return{x:a.left+d.scrollLeft-e.x,y:a.top+d.scrollTop-e.y,width:a.width,height:a.height}}function ta(a){return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}}function Ga(a){return"html"===F(a)?a:a.parentNode||a.host||document.ownerDocument||document.documentElement}function ca(a){return A(a).getComputedStyle(a)}
function Ha(a){if(0<=["html","body","#document"].indexOf(F(a)))return a.ownerDocument.body;if(D(a)){var b=ca(a);if(/auto|scroll|overlay|hidden/.test(b.overflow+b.overflowY+b.overflowX))return a}return Ha(Ga(a))}function ja(a,b){void 0===b&&(b=[]);var c=Ha(a);c=(a="body"===F(c))?A(c):c;b=b.concat(c);return a?b:b.concat(ja(Ga(c)))}function Ia(a){var b;return!D(a)||!(b=a.offsetParent)||"undefined"!==typeof window.InstallTrigger&&"fixed"===ca(b).position?null:b}function da(a){var b=A(a);for(a=Ia(a);a&&
0<=["table","td","th"].indexOf(F(a));)a=Ia(a);return a&&"body"===F(a)&&"static"===ca(a).position?b:a||b}function nb(a){function b(a){d.add(a.name);[].concat(a.requires||[],a.requiresIfExists||[]).forEach(function(a){d.has(a)||(a=c.get(a))&&b(a)});e.push(a)}var c=new Map,d=new Set,e=[];a.forEach(function(a){c.set(a.name,a)});a.forEach(function(a){d.has(a.name)||b(a)});return e}function ob(a){var b=nb(a);return pb.reduce(function(a,d){return a.concat(b.filter(function(a){return a.phase===d}))},[])}
function qb(a){var b;return function(){b||(b=new Promise(function(c){Promise.resolve().then(function(){b=void 0;c(a())})}));return b}}function E(a){return a.split("-")[0]}function rb(a){var b=a.reduce(function(a,b){var c=a[b.name];a[b.name]=c?Object.assign({},c,{},b,{options:Object.assign({},c.options,{},b.options),data:Object.assign({},c.data,{},b.data)}):b;return a},{});return Object.keys(b).map(function(a){return b[a]})}function Ja(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];
return!b.some(function(a){return!(a&&"function"===typeof a.getBoundingClientRect)})}function ua(a){return 0<=["top","bottom"].indexOf(a)?"x":"y"}function Ka(a){var b=a.reference,c=a.element,d=(a=a.placement)?E(a):null;a=a?a.split("-")[1]:null;var e=b.x+b.width/2-c.width/2,f=b.y+b.height/2-c.height/2;switch(d){case "top":e={x:e,y:b.y-c.height};break;case "bottom":e={x:e,y:b.y+b.height};break;case "right":e={x:b.x+b.width,y:f};break;case "left":e={x:b.x-c.width,y:f};break;default:e={x:b.x,y:b.y}}d=
d?ua(d):null;if(null!=d)switch(f="y"===d?"height":"width",a){case "start":e[d]=Math.floor(e[d])-Math.floor(b[f]/2-c[f]/2);break;case "end":e[d]=Math.floor(e[d])+Math.ceil(b[f]/2-c[f]/2)}return e}function La(a){var b,c=a.popper,d=a.popperRect,e=a.placement,f=a.offsets,h=a.position,k=a.gpuAcceleration,l=a.adaptive,g=window.devicePixelRatio||1;a=Math.round(f.x*g)/g||0;g=Math.round(f.y*g)/g||0;var m=f.hasOwnProperty("x");f=f.hasOwnProperty("y");var p="left",t="top",q=window;if(l){var y=da(c);y===A(c)&&
(y=M(c));"top"===e&&(t="bottom",g-=y.clientHeight-d.height,g*=k?1:-1);"left"===e&&(p="right",a-=y.clientWidth-d.width,a*=k?1:-1)}c=Object.assign({position:h},l&&sb);if(k){var u;return Object.assign({},c,(u={},u[t]=f?"0":"",u[p]=m?"0":"",u.transform=2>(q.devicePixelRatio||1)?"translate("+a+"px, "+g+"px)":"translate3d("+a+"px, "+g+"px, 0)",u))}return Object.assign({},c,(b={},b[t]=f?g+"px":"",b[p]=m?a+"px":"",b.transform="",b))}function ka(a){return a.replace(/left|right|bottom|top/g,function(a){return tb[a]})}
function Ma(a){return a.replace(/start|end/g,function(a){return ub[a]})}function Na(a,b){var c=!(!b.getRootNode||!b.getRootNode().host);if(a.contains(b))return!0;if(c){do{if(b&&a.isSameNode(b))return!0;b=b.parentNode||b.host}while(b)}return!1}function va(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function Oa(a,b){if("viewport"===b)a=A(a),a=va({width:a.innerWidth,height:a.innerHeight,x:0,y:0});else if(D(b))a=aa(b);else{var c=M(a);a=A(c);b=sa(c);c=Fa(M(c),
a);c.height=Math.max(c.height,a.innerHeight);c.width=Math.max(c.width,a.innerWidth);c.x=-b.scrollLeft;c.y=-b.scrollTop;a=va(c)}return a}function vb(a){var b=ja(a),c=0<=["absolute","fixed"].indexOf(ca(a).position)&&D(a)?da(a):a;return ba(c)?b.filter(function(a){return ba(a)&&Na(a,c)}):[]}function wb(a,b,c){b="clippingParents"===b?vb(a):[].concat(b);c=[].concat(b,[c]);c=c.reduce(function(b,c){var d=Oa(a,c);c=D(c)?c:M(a);var e=A(c);var k=D(c)?ca(c):{};parseFloat(k.borderTopWidth);var l=parseFloat(k.borderRightWidth)||
0;var g=parseFloat(k.borderBottomWidth)||0;var m=parseFloat(k.borderLeftWidth)||0;k="html"===F(c);var p=Ea(c),t=c.clientWidth+l,q=c.clientHeight+g;k&&50<e.innerHeight-c.clientHeight&&(q=e.innerHeight-g);g=k?0:c.clientTop;l=c.clientLeft>m?l:k?e.innerWidth-t-p:c.offsetWidth-t;e=k?e.innerHeight-q:c.offsetHeight-q;c=k?p:c.clientLeft;b.top=Math.max(d.top+g,b.top);b.right=Math.min(d.right-l,b.right);b.bottom=Math.min(d.bottom-e,b.bottom);b.left=Math.max(d.left+c,b.left);return b},Oa(a,c[0]));c.width=c.right-
c.left;c.height=c.bottom-c.top;c.x=c.left;c.y=c.top;return c}function Pa(a){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},a)}function Qa(a,b){return b.reduce(function(b,d){b[d]=a;return b},{})}function ea(a,b){void 0===b&&(b={});var c=b;b=c.placement;b=void 0===b?a.placement:b;var d=c.boundary,e=void 0===d?"clippingParents":d;d=c.rootBoundary;var f=void 0===d?"viewport":d;d=c.elementContext;d=void 0===d?"popper":d;var h=c.altBoundary,k=void 0===h?!1:h;c=c.padding;c=void 0===c?0:c;c=Pa("number"!==
typeof c?c:Qa(c,fa));var l=a.elements.reference;h=a.rects.popper;k=a.elements[k?"popper"===d?"reference":"popper":d];e=wb(ba(k)?k:M(a.elements.popper),e,f);f=aa(l);k=Ka({reference:f,element:h,strategy:"absolute",placement:b});h=va(Object.assign({},h,{},k));f="popper"===d?h:f;var g={top:e.top-f.top+c.top,bottom:f.bottom-e.bottom+c.bottom,left:e.left-f.left+c.left,right:f.right-e.right+c.right};a=a.modifiersData.offset;if("popper"===d&&a){var m=a[b];Object.keys(g).forEach(function(a){var b=0<=["right",
"bottom"].indexOf(a)?1:-1,c=0<=["top","bottom"].indexOf(a)?"y":"x";g[a]+=m[c]*b})}return g}function xb(a,b){void 0===b&&(b={});var c=b.boundary,d=b.rootBoundary,e=b.padding,f=b.flipVariations,h=b.placement.split("-")[1],k=(h?f?Ra:Ra.filter(function(a){return a.split("-")[1]===h}):fa).reduce(function(b,f){b[f]=ea(a,{placement:f,boundary:c,rootBoundary:d,padding:e})[E(f)];return b},{});return Object.keys(k).sort(function(a,b){return k[a]-k[b]})}function yb(a){if("auto"===E(a))return[];var b=ka(a);return[Ma(a),
b,Ma(b)]}function Sa(a,b,c){void 0===c&&(c={x:0,y:0});return{top:a.top-b.height-c.y,right:a.right-b.width+c.x,bottom:a.bottom-b.height+c.y,left:a.left-b.width-c.x}}function Ta(a){return["top","right","bottom","left"].some(function(b){return 0<=a[b]})}function zb(){return[{name:"applyStyles",fn:function(a){var b=a.state;Object.keys(b.elements).forEach(function(a){if("popper"===a){var c=b.attributes[a]||{},e=b.elements[a];Object.assign(e.style,{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"});
Object.keys(c).forEach(function(a){var b=c[a];!1===b?e.removeAttribute(a):e.setAttribute(a,!0===b?"":b)})}})}},{name:"computeStyles",options:{adaptive:!1}}]}function Ab(a){var b=zb(),c=a.shepherdElementComponent.getElement();a=Bb(a);c.classList.add("shepherd-centered");return a=ra({},a,{modifiers:Array.from(new Set([].concat(a.modifiers,b)))})}function Bb(a){return{placement:"top",strategy:"fixed",modifiers:[],onFirstUpdate:function(){a.el.focus()}}}function Ua(a){return Z(a)&&""!==a?"-"!==a.charAt(a.length-
1)?a+"-":a:""}function Va(a){a=a.options.attachTo||{};var b=Object.assign({},a);if(Z(a.element)){try{b.element=document.querySelector(a.element)}catch(c){}b.element||console.error("The element for this Shepherd step was not found "+a.element)}return b}function wa(){var a=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(b){var c=(a+16*Math.random())%16|0;a=Math.floor(a/16);return("x"==b?c:c&3|8).toString(16)})}function Cb(a,b){var c={modifiers:[{name:"preventOverflow",
options:{altAxis:!0}}],strategy:"absolute",onFirstUpdate:function(){b.el.focus()}},d=document.body;a.element&&a.on?(c.placement=a.on||"right",d=a.element):c=Ab(b);if(b.options.popperOptions){if(b.options.popperOptions.modifiers&&0<b.options.popperOptions.modifiers.length){var e=b.options.popperOptions.modifiers.map(function(a){return a.name});a=c.modifiers.filter(function(a){return!e.includes(a.name)});c.modifiers=Array.from(new Set([].concat(a,b.options.popperOptions.modifiers)))}c=Object.assign(b.options.popperOptions,
c)}return{element:b.el,popperOptions:c,target:d}}function z(){}function Db(a,b){for(var c in b)a[c]=b[c];return a}function S(a){return a()}function Wa(a){return"function"===typeof a}function G(a,b){return a!=a?b==b:a!==b||a&&"object"===typeof a||"function"===typeof a}function B(a){a.parentNode.removeChild(a)}function Xa(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}function la(a,b,c,d){a.addEventListener(b,c,d);return function(){return a.removeEventListener(b,c,d)}}function r(a,
b,c){null==c?a.removeAttribute(b):a.getAttribute(b)!==c&&a.setAttribute(b,c)}function Ya(a,b){var c=Object.getOwnPropertyDescriptors(a.__proto__),d;for(d in b)null==b[d]?a.removeAttribute(d):"style"===d?a.style.cssText=b[d]:"__value"===d||c[d]&&c[d].set?a[d]=b[d]:r(a,d,b[d])}function T(a,b,c){a.classList[c?"add":"remove"](b)}function ma(){if(!U)throw Error("Function called outside component initialization");return U}function xa(a){na.push(a)}function Za(){if(!ya){ya=!0;do{for(var a=0;a<ha.length;a+=
1){var b=ha[a];U=b;b=b.$$;if(null!==b.fragment){b.update();b.before_update.forEach(S);var c=b.dirty;b.dirty=[-1];b.fragment&&b.fragment.p(b.ctx,c);b.after_update.forEach(xa)}}for(ha.length=0;V.length;)V.pop()();for(a=0;a<na.length;a+=1)b=na[a],za.has(b)||(za.add(b),b());na.length=0}while(ha.length);for(;$a.length;)$a.pop()();ya=Aa=!1;za.clear()}}function W(){N={r:0,c:[],p:N}}function X(){N.r||N.c.forEach(S);N=N.p}function n(a,b){a&&a.i&&(oa.delete(a),a.i(b))}function v(a,b,c,d){a&&a.o&&!oa.has(a)&&
(oa.add(a),N.c.push(function(){oa.delete(a);d&&(c&&a.d(1),d())}),a.o(b))}function O(a){a&&a.c()}function J(a,b,c){var d=a.$$,e=d.fragment,f=d.on_mount,h=d.on_destroy;d=d.after_update;e&&e.m(b,c);xa(function(){var b=f.map(S).filter(Wa);h?h.push.apply(h,b):b.forEach(S);a.$$.on_mount=[]});d.forEach(xa)}function K(a,b){a=a.$$;null!==a.fragment&&(a.on_destroy.forEach(S),a.fragment&&a.fragment.d(b),a.on_destroy=a.fragment=null,a.ctx=[])}function H(a,b,c,d,e,f,h){void 0===h&&(h=[-1]);var k=U;U=a;var l=b.props||
{},g=a.$$={fragment:null,ctx:null,props:f,update:z,not_equal:e,bound:Object.create(null),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(k?k.$$.context:[]),callbacks:Object.create(null),dirty:h},m=!1;g.ctx=c?c(a,l,function(b,c){var d=(2>=arguments.length?0:arguments.length-2)?2>=arguments.length?void 0:arguments[2]:c;if(g.ctx&&e(g.ctx[b],g.ctx[b]=d)){if(g.bound[b])g.bound[b](d);m&&(-1===a.$$.dirty[0]&&(ha.push(a),Aa||(Aa=!0,Eb.then(Za)),a.$$.dirty.fill(0)),a.$$.dirty[b/
31|0]|=1<<b%31)}return c}):[];g.update();m=!0;g.before_update.forEach(S);g.fragment=d?d(g.ctx):!1;b.target&&(b.hydrate?(c=Array.from(b.target.childNodes),g.fragment&&g.fragment.l(c),c.forEach(B)):g.fragment&&g.fragment.c(),b.intro&&n(a.$$.fragment),J(a,b.target,b.anchor),Za());U=k}function Fb(a){var b,c,d,e,f;return{c:function(){b=document.createElement("button");c=document.createTextNode(a[3]);r(b,"aria-label",d=a[4]?a[4]:null);r(b,"class",e=(a[1]||"")+" shepherd-button "+(a[2]?"shepherd-button-secondary":
""));b.disabled=a[5];r(b,"tabindex","0")},m:function(d,e,l){d.insertBefore(b,e||null);b.appendChild(c);l&&f();f=la(b,"click",function(){Wa(a[0])&&a[0].apply(this,arguments)})},p:function(f,k){k=k[0];a=f;k&8&&(f=a[3],f=""+f,c.data!==f&&(c.data=f));k&16&&d!==(d=a[4]?a[4]:null)&&r(b,"aria-label",d);k&6&&e!==(e=(a[1]||"")+" shepherd-button "+(a[2]?"shepherd-button-secondary":""))&&r(b,"class",e);k&32&&(b.disabled=a[5])},i:z,o:z,d:function(a){a&&B(b);f()}}}function Gb(a,b,c){var d=b.config,e=b.step,f,
h,k,l,g,m;a.$set=function(a){"config"in a&&c(6,d=a.config);"step"in a&&c(7,e=a.step)};a.$$.update=function(){if(a.$$.dirty&192){c(0,f=d.action?d.action.bind(e.tour):null);c(1,h=d.classes);c(2,k=d.secondary);c(3,l=d.text);c(4,g=d.label);if(d.disabled){var b=d.disabled;b=R(b)?b.call(e):b}else b=!1;c(5,m=b)}};return[f,h,k,l,g,m,d,e]}function ab(a,b,c){a=a.slice();a[2]=b[c];return a}function bb(a){for(var b,c,d=a[1],e=[],f=0;f<d.length;f+=1)e[f]=cb(ab(a,d,f));var h=function(a){return v(e[a],1,1,function(){e[a]=
null})};return{c:function(){for(var a=0;a<e.length;a+=1)e[a].c();b=document.createTextNode("")},m:function(a,d){for(var f=0;f<e.length;f+=1)e[f].m(a,d);a.insertBefore(b,d||null);c=!0},p:function(a,c){if(c&3){d=a[1];var f;for(f=0;f<d.length;f+=1){var k=ab(a,d,f);e[f]?(e[f].p(k,c),n(e[f],1)):(e[f]=cb(k),e[f].c(),n(e[f],1),e[f].m(b.parentNode,b))}W();for(f=d.length;f<e.length;f+=1)h(f);X()}},i:function(a){if(!c){for(a=0;a<d.length;a+=1)n(e[a]);c=!0}},o:function(a){e=e.filter(Boolean);for(a=0;a<e.length;a+=
1)v(e[a]);c=!1},d:function(a){for(var c=e,d=0;d<c.length;d+=1)c[d]&&c[d].d(a);a&&B(b)}}}function cb(a){var b,c=new Hb({props:{config:a[2],step:a[0]}});return{c:function(){O(c.$$.fragment)},m:function(a,e){J(c,a,e);b=!0},p:function(a,b){var d={};b&2&&(d.config=a[2]);b&1&&(d.step=a[0]);c.$set(d)},i:function(a){b||(n(c.$$.fragment,a),b=!0)},o:function(a){v(c.$$.fragment,a);b=!1},d:function(a){K(c,a)}}}function Ib(a){var b,c,d=a[1]&&bb(a);return{c:function(){b=document.createElement("footer");d&&d.c();
r(b,"class","shepherd-footer")},m:function(a,f){a.insertBefore(b,f||null);d&&d.m(b,null);c=!0},p:function(a,c){c=c[0];a[1]?d?(d.p(a,c),n(d,1)):(d=bb(a),d.c(),n(d,1),d.m(b,null)):d&&(W(),v(d,1,1,function(){d=null}),X())},i:function(a){c||(n(d),c=!0)},o:function(a){v(d);c=!1},d:function(a){a&&B(b);d&&d.d()}}}function Jb(a,b,c){var d=b.step;a.$set=function(a){"step"in a&&c(0,d=a.step)};var e;a.$$.update=function(){a.$$.dirty&1&&c(1,e=d.options.buttons)};return[d,e]}function Kb(a){var b,c,d,e;return{c:function(){b=
document.createElement("button");c=document.createElement("span");c.textContent="\u00d7";r(c,"aria-hidden","true");r(b,"aria-label",d=a[0].label?a[0].label:"Close Tour");r(b,"class","shepherd-cancel-icon");r(b,"type","button")},m:function(d,h,k){d.insertBefore(b,h||null);b.appendChild(c);k&&e();e=la(b,"click",a[1])},p:function(a,c){c[0]&1&&d!==(d=a[0].label?a[0].label:"Close Tour")&&r(b,"aria-label",d)},i:z,o:z,d:function(a){a&&B(b);e()}}}function Lb(a,b,c){var d=b.cancelIcon,e=b.step;a.$set=function(a){"cancelIcon"in
a&&c(0,d=a.cancelIcon);"step"in a&&c(2,e=a.step)};return[d,function(a){a.preventDefault();e.cancel()},e]}function Mb(a){var b;return{c:function(){b=document.createElement("h3");r(b,"id",a[1]);r(b,"class","shepherd-title")},m:function(c,d){c.insertBefore(b,d||null);a[3](b)},p:function(a,d){d[0]&2&&r(b,"id",a[1])},i:z,o:z,d:function(c){c&&B(b);a[3](null)}}}function Nb(a,b,c){var d=b.labelId,e=b.element,f=b.title;ma().$$.after_update.push(function(){R(f)&&c(2,f=f());c(0,e.innerHTML=f,e)});a.$set=function(a){"labelId"in
a&&c(1,d=a.labelId);"element"in a&&c(0,e=a.element);"title"in a&&c(2,f=a.title)};return[e,d,f,function(a){V[a?"unshift":"push"](function(){c(0,e=a)})}]}function db(a){var b,c=new Ob({props:{labelId:a[0],title:a[2]}});return{c:function(){O(c.$$.fragment)},m:function(a,e){J(c,a,e);b=!0},p:function(a,b){var d={};b&1&&(d.labelId=a[0]);b&4&&(d.title=a[2]);c.$set(d)},i:function(a){b||(n(c.$$.fragment,a),b=!0)},o:function(a){v(c.$$.fragment,a);b=!1},d:function(a){K(c,a)}}}function eb(a){var b,c=new Pb({props:{cancelIcon:a[3],
step:a[1]}});return{c:function(){O(c.$$.fragment)},m:function(a,e){J(c,a,e);b=!0},p:function(a,b){var d={};b&8&&(d.cancelIcon=a[3]);b&2&&(d.step=a[1]);c.$set(d)},i:function(a){b||(n(c.$$.fragment,a),b=!0)},o:function(a){v(c.$$.fragment,a);b=!1},d:function(a){K(c,a)}}}function Qb(a){var b,c,d,e=a[2]&&db(a),f=a[3]&&a[3].enabled&&eb(a);return{c:function(){b=document.createElement("header");e&&e.c();c=document.createTextNode(" ");f&&f.c();r(b,"class","shepherd-header")},m:function(a,k){a.insertBefore(b,
k||null);e&&e.m(b,null);b.appendChild(c);f&&f.m(b,null);d=!0},p:function(a,d){d=d[0];a[2]?e?(e.p(a,d),n(e,1)):(e=db(a),e.c(),n(e,1),e.m(b,c)):e&&(W(),v(e,1,1,function(){e=null}),X());a[3]&&a[3].enabled?f?(f.p(a,d),n(f,1)):(f=eb(a),f.c(),n(f,1),f.m(b,null)):f&&(W(),v(f,1,1,function(){f=null}),X())},i:function(a){d||(n(e),n(f),d=!0)},o:function(a){v(e);v(f);d=!1},d:function(a){a&&B(b);e&&e.d();f&&f.d()}}}function Rb(a,b,c){var d=b.labelId,e=b.step,f,h;a.$set=function(a){"labelId"in a&&c(0,d=a.labelId);
"step"in a&&c(1,e=a.step)};a.$$.update=function(){a.$$.dirty&2&&(c(2,f=e.options.title),c(3,h=e.options.cancelIcon))};return[d,e,f,h]}function Sb(a){var b;return{c:function(){b=document.createElement("div");r(b,"class","shepherd-text");r(b,"id",a[1])},m:function(c,d){c.insertBefore(b,d||null);a[3](b)},p:function(a,d){d[0]&2&&r(b,"id",a[1])},i:z,o:z,d:function(c){c&&B(b);a[3](null)}}}function Tb(a,b,c){var d=b.descriptionId,e=b.element,f=b.step;ma().$$.after_update.push(function(){var a=f.options.text;
R(a)&&(a=a.call(f));a instanceof HTMLElement?e.appendChild(a):c(0,e.innerHTML=a,e)});a.$set=function(a){"descriptionId"in a&&c(1,d=a.descriptionId);"element"in a&&c(0,e=a.element);"step"in a&&c(2,f=a.step)};return[e,d,f,function(a){V[a?"unshift":"push"](function(){c(0,e=a)})}]}function fb(a){var b,c=new Ub({props:{descriptionId:a[0],step:a[2]}});return{c:function(){O(c.$$.fragment)},m:function(a,e){J(c,a,e);b=!0},p:function(a,b){var d={};b&1&&(d.descriptionId=a[0]);b&4&&(d.step=a[2]);c.$set(d)},i:function(a){b||
(n(c.$$.fragment,a),b=!0)},o:function(a){v(c.$$.fragment,a);b=!1},d:function(a){K(c,a)}}}function gb(a){var b,c=new Vb({props:{step:a[2]}});return{c:function(){O(c.$$.fragment)},m:function(a,e){J(c,a,e);b=!0},p:function(a,b){var d={};b&4&&(d.step=a[2]);c.$set(d)},i:function(a){b||(n(c.$$.fragment,a),b=!0)},o:function(a){v(c.$$.fragment,a);b=!1},d:function(a){K(c,a)}}}function Wb(a){var b,c,d=void 0!==a[2].options.text,e,f=Array.isArray(a[2].options.buttons)&&a[2].options.buttons.length,h,k=new Xb({props:{labelId:a[1],
step:a[2]}}),l=d&&fb(a),g=f&&gb(a);return{c:function(){b=document.createElement("div");O(k.$$.fragment);c=document.createTextNode(" ");l&&l.c();e=document.createTextNode(" ");g&&g.c();r(b,"class","shepherd-content")},m:function(a,d){a.insertBefore(b,d||null);J(k,b,null);b.appendChild(c);l&&l.m(b,null);b.appendChild(e);g&&g.m(b,null);h=!0},p:function(a,c){c=c[0];var h={};c&2&&(h.labelId=a[1]);c&4&&(h.step=a[2]);k.$set(h);c&4&&(d=void 0!==a[2].options.text);d?l?(l.p(a,c),n(l,1)):(l=fb(a),l.c(),n(l,
1),l.m(b,e)):l&&(W(),v(l,1,1,function(){l=null}),X());c&4&&(f=Array.isArray(a[2].options.buttons)&&a[2].options.buttons.length);f?g?(g.p(a,c),n(g,1)):(g=gb(a),g.c(),n(g,1),g.m(b,null)):g&&(W(),v(g,1,1,function(){g=null}),X())},i:function(a){h||(n(k.$$.fragment,a),n(l),n(g),h=!0)},o:function(a){v(k.$$.fragment,a);v(l);v(g);h=!1},d:function(a){a&&B(b);K(k);l&&l.d();g&&g.d()}}}function Yb(a,b,c){var d=b.descriptionId,e=b.labelId,f=b.step;a.$set=function(a){"descriptionId"in a&&c(0,d=a.descriptionId);
"labelId"in a&&c(1,e=a.labelId);"step"in a&&c(2,f=a.step)};return[d,e,f]}function hb(a){var b;return{c:function(){b=document.createElement("div");r(b,"class","shepherd-arrow");r(b,"data-popper-arrow","")},m:function(a,d){a.insertBefore(b,d||null)},d:function(a){a&&B(b)}}}function Zb(a){for(var b,c,d,e,f=a[4].options.arrow&&a[4].options.attachTo&&a[4].options.attachTo.element&&hb(),h=new $b({props:{descriptionId:a[2],labelId:a[3],step:a[4]}}),k=[{"aria-describedby":void 0!==a[4].options.text?a[2]:
null},{"aria-labelledby":a[4].options.title?a[3]:null},a[1],{role:"dialog"},{tabindex:"0"}],l={},g=0;g<k.length;g+=1)l=Db(l,k[g]);return{c:function(){b=document.createElement("div");f&&f.c();c=document.createTextNode(" ");O(h.$$.fragment);Ya(b,l);T(b,"shepherd-has-cancel-icon",a[5]);T(b,"shepherd-has-title",a[6]);T(b,"shepherd-element",!0)},m:function(g,k,l){g.insertBefore(b,k||null);f&&f.m(b,null);b.appendChild(c);J(h,b,null);a[17](b);d=!0;l&&e();e=la(b,"keydown",a[7])},p:function(a,d){var e=d[0];
a[4].options.arrow&&a[4].options.attachTo&&a[4].options.attachTo.element?f||(f=hb(),f.c(),f.m(b,c)):f&&(f.d(1),f=null);d={};e&4&&(d.descriptionId=a[2]);e&8&&(d.labelId=a[3]);e&16&&(d.step=a[4]);h.$set(d);d=b;e=[e&20&&{"aria-describedby":void 0!==a[4].options.text?a[2]:null},e&24&&{"aria-labelledby":a[4].options.title?a[3]:null},e&2&&a[1],{role:"dialog"},{tabindex:"0"}];for(var g={},l={},u={$$scope:1},w=k.length;w--;){var m=k[w],ia=e[w];if(ia){for(var p in m)p in ia||(l[p]=1);for(var pa in ia)u[pa]||
(g[pa]=ia[pa],u[pa]=1);k[w]=ia}else for(var r in m)u[r]=1}for(var n in l)n in g||(g[n]=void 0);Ya(d,g);T(b,"shepherd-has-cancel-icon",a[5]);T(b,"shepherd-has-title",a[6]);T(b,"shepherd-element",!0)},i:function(a){d||(n(h.$$.fragment,a),d=!0)},o:function(a){v(h.$$.fragment,a);d=!1},d:function(c){c&&B(b);f&&f.d();K(h);a[17](null);e()}}}function ib(a){return a.split(" ").filter(function(a){return!!a.length})}function bc(a,b,c){function d(){e(L);L=q.options.classes;f(L)}function e(a){if(Z(a)&&(a=ib(a),
a.length)){var b;(b=k.classList).remove.apply(b,a)}}function f(a){if(Z(a)&&(a=ib(a),a.length)){var b;(b=k.classList).add.apply(b,a)}}var h=b.classPrefix,k=b.element,l=b.descriptionId,g=b.firstFocusableElement,m=b.focusableElements,p=b.labelId,t=b.lastFocusableElement,q=b.step,y=b.dataStepId,u,w,L;ma().$$.on_mount.push(function(){var a;c(1,y=(a={},a["data-"+h+"shepherd-step-id"]=q.id,a));c(9,m=k.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'));
c(8,g=m[0]);c(10,t=m[m.length-1])});ma().$$.after_update.push(function(){L!==q.options.classes&&d()});a.$set=function(a){"classPrefix"in a&&c(11,h=a.classPrefix);"element"in a&&c(0,k=a.element);"descriptionId"in a&&c(2,l=a.descriptionId);"firstFocusableElement"in a&&c(8,g=a.firstFocusableElement);"focusableElements"in a&&c(9,m=a.focusableElements);"labelId"in a&&c(3,p=a.labelId);"lastFocusableElement"in a&&c(10,t=a.lastFocusableElement);"step"in a&&c(4,q=a.step);"dataStepId"in a&&c(1,y=a.dataStepId)};
a.$$.update=function(){a.$$.dirty&16&&(c(5,u=q.options&&q.options.cancelIcon&&q.options.cancelIcon.enabled),c(6,w=q.options&&q.options.title))};return[k,y,l,p,q,u,w,function(a){var b=q.tour;switch(a.keyCode){case 9:if(0===m.length){a.preventDefault();break}a.shiftKey?document.activeElement===g&&(a.preventDefault(),t.focus()):document.activeElement===t&&(a.preventDefault(),g.focus());break;case 27:b.options.exitOnEsc&&q.cancel();break;case 37:b.options.keyboardNavigation&&b.back();break;case 39:b.options.keyboardNavigation&&
b.next()}},g,m,t,h,function(){return k},L,d,e,f,function(a){V[a?"unshift":"push"](function(){c(0,k=a)})}]}function cc(a){a&&a.steps.forEach(function(a){a.options&&!1===a.options.canClickTarget&&a.options.attachTo&&a.target instanceof HTMLElement&&a.target.classList.remove("shepherd-target-click-disabled")})}function dc(a){var b,c,d,e;return{c:function(){b=Xa("svg");c=Xa("path");r(c,"d",a[2]);r(b,"class",d=(a[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m:function(d,h,k){d.insertBefore(b,
h||null);b.appendChild(c);a[17](b);k&&e();e=la(b,"touchmove",a[3])},p:function(a,e){e=e[0];e&4&&r(c,"d",a[2]);e&2&&d!==(d=(a[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&r(b,"class",d)},i:z,o:z,d:function(c){c&&B(b);a[17](null);e()}}}function jb(a){if(!a)return null;var b=a instanceof HTMLElement&&window.getComputedStyle(a).overflowY;return"hidden"!==b&&"visible"!==b&&a.scrollHeight>=a.clientHeight?a:jb(a.parentElement)}function ec(a,b,c){function d(){c(4,p={width:0,height:0,
x:0,y:0,r:0})}function e(){c(1,t=!1);l()}function f(a,b,d,e){void 0===d&&(d=0);void 0===e&&(e=0);if(a.getBoundingClientRect){var f=a.getBoundingClientRect();var g=f.y||f.top;f=f.bottom||g+f.height;if(b){var u=b.getBoundingClientRect();b=u.y||u.top;u=u.bottom||b+u.height;g=Math.max(g,b);f=Math.min(f,u)}b=g;g=Math.max(f-g,0);a=a.getBoundingClientRect();f=a.left;c(4,p={width:a.width+2*d,height:g+2*d,x:(a.x||f)-d,y:b-d,r:e})}}function h(){c(1,t=!0)}function k(){window.addEventListener("touchmove",u,{passive:!1})}
function l(){q&&(cancelAnimationFrame(q),q=void 0);window.removeEventListener("touchmove",u,{passive:!1})}function g(a){var b=a.options,c=b.modalOverlayOpeningPadding,e=b.modalOverlayOpeningRadius;if(a.target){var g=jb(a.target);(function ac(){q=void 0;f(a.target,g,c,e);q=requestAnimationFrame(ac)})();k()}else d()}var m=b.element,p=b.openingProperties;b=wa();var t=!1,q=void 0,y;d();var u=function(a){a.preventDefault()};a.$set=function(a){"element"in a&&c(0,m=a.element);"openingProperties"in a&&c(4,
p=a.openingProperties)};a.$$.update=function(){if(a.$$.dirty&16){var b=p.x;b=void 0===b?0:b;var d=p.y;d=void 0===d?0:d;var e=p.r;e=void 0===e?0:e;var f=window,g=f.innerWidth;f=f.innerHeight;c(2,y="M"+g+","+f+"H0V0H"+g+"V"+f+"ZM"+(b+e)+","+d+"a"+e+","+e+",0,0,0-"+e+","+e+"V"+(p.height+d-e)+"a"+e+","+e+",0,0,0,"+e+","+e+"H"+(p.width+b-e)+"a"+e+","+e+",0,0,0,"+e+"-"+e+"V"+(d+e)+"a"+e+","+e+",0,0,0-"+e+"-"+e+"Z")}};return[m,t,y,function(a){a.stopPropagation()},p,function(){return m},d,e,f,function(a){l();
a.tour.options.useModalOverlay?(g(a),h()):e()},h,q,b,u,k,l,g,function(a){V[a?"unshift":"push"](function(){c(0,m=a)})}]}var Ba=function(){function a(){}var b=a.prototype;b.on=function(a,b,e,f){void 0===f&&(f=!1);void 0===this.bindings&&(this.bindings={});void 0===this.bindings[a]&&(this.bindings[a]=[]);this.bindings[a].push({handler:b,ctx:e,once:f});return this};b.once=function(a,b,e){return this.on(a,b,e,!0)};b.off=function(a,b){var c=this;if(void 0===this.bindings||void 0===this.bindings[a])return this;
void 0===b?delete this.bindings[a]:this.bindings[a].forEach(function(d,e){d.handler===b&&c.bindings[a].splice(e,1)});return this};b.trigger=function(a){for(var b=this,c=arguments.length,f=Array(1<c?c-1:0),h=1;h<c;h++)f[h-1]=arguments[h];void 0!==this.bindings&&this.bindings[a]&&this.bindings[a].forEach(function(c,d){var e=c.once;c.handler.apply(c.ctx||b,f);e&&b.bindings[a].splice(d,1)});return this};return a}(),fa=["top","bottom","right","left"],Ra=fa.reduce(function(a,b){return a.concat([b+"-start",
b+"-end"])},[]),fc=[].concat(fa,["auto"]).reduce(function(a,b){return a.concat([b,b+"-start",b+"-end"])},[]),pb="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),kb={placement:"bottom",modifiers:[],strategy:"absolute"},qa={passive:!0},sb={top:"auto",right:"auto",bottom:"auto",left:"auto"},tb={left:"right",right:"left",bottom:"top",top:"bottom"},ub={start:"end",end:"start"},gc=function(a){void 0===a&&(a={});var b=a.defaultModifiers,c=void 0===b?[]:b;a=a.defaultOptions;
var d=void 0===a?kb:a;return function(a,b,h){function e(){g.orderedModifiers.forEach(function(a){var b=a.name,c=a.options;c=void 0===c?{}:c;a=a.effect;"function"===typeof a&&(b=a({state:g,name:b,instance:t,options:c}),m.push(b||function(){}))})}function f(){m.forEach(function(a){return a()});m=[]}void 0===h&&(h=d);var g={placement:"bottom",orderedModifiers:[],options:Object.assign({},kb,{},d),modifiersData:{},elements:{reference:a,popper:b},attributes:{},styles:{}},m=[],p=!1,t={state:g,setOptions:function(h){f();
g.options=Object.assign({},d,{},g.options,{},h);g.scrollParents={reference:ba(a)?ja(a):[],popper:ja(b)};h=ob(rb([].concat(c,g.options.modifiers)));g.orderedModifiers=h.filter(function(a){return a.enabled});e();return t.update()},forceUpdate:function(){if(!p){var a=g.elements,b=a.reference;a=a.popper;if(Ja(b,a))for(g.rects={reference:Fa(b,da(a),"fixed"===g.options.strategy),popper:ta(a)},g.reset=!1,g.placement=g.options.placement,g.orderedModifiers.forEach(function(a){return g.modifiersData[a.name]=
Object.assign({},a.data)}),b=0;b<g.orderedModifiers.length;b++)if(!0===g.reset)g.reset=!1,b=-1;else{var c=g.orderedModifiers[b];a=c.fn;var d=c.options;d=void 0===d?{}:d;c=c.name;"function"===typeof a&&(g=a({state:g,options:d,name:c,instance:t})||g)}}},update:qb(function(){return new Promise(function(a){t.forceUpdate();a(g)})}),destroy:function(){f();p=!0}};if(!Ja(a,b))return t;t.setOptions(h).then(function(a){if(!p&&h.onFirstUpdate)h.onFirstUpdate(a)});return t}}({defaultModifiers:[{name:"eventListeners",
enabled:!0,phase:"write",fn:function(){},effect:function(a){var b=a.state,c=a.instance;a=a.options;var d=a.scroll,e=void 0===d?!0:d;a=a.resize;var f=void 0===a?!0:a,h=A(b.elements.popper),k=[].concat(b.scrollParents.reference,b.scrollParents.popper);e&&k.forEach(function(a){a.addEventListener("scroll",c.update,qa)});f&&h.addEventListener("resize",c.update,qa);return function(){e&&k.forEach(function(a){a.removeEventListener("scroll",c.update,qa)});f&&h.removeEventListener("resize",c.update,qa)}},data:{}},
{name:"popperOffsets",enabled:!0,phase:"read",fn:function(a){var b=a.state;b.modifiersData[a.name]=Ka({reference:b.rects.reference,element:b.rects.popper,strategy:"absolute",placement:b.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(a){var b=a.state,c=a.options;a=c.gpuAcceleration;a=void 0===a?!0:a;c=c.adaptive;c=void 0===c?!0:c;a={placement:E(b.placement),popper:b.elements.popper,popperRect:b.rects.popper,gpuAcceleration:a};b.styles.popper=Object.assign({},
b.styles.popper,{},La(Object.assign({},a,{offsets:b.modifiersData.popperOffsets,position:b.options.strategy,adaptive:c})));null!=b.modifiersData.arrow&&(b.styles.arrow=Object.assign({},b.styles.arrow,{},La(Object.assign({},a,{offsets:b.modifiersData.arrow,position:"absolute",adaptive:!1}))));b.attributes.popper=Object.assign({},b.attributes.popper,{"data-popper-placement":b.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(a){var b=a.state;Object.keys(b.elements).forEach(function(a){var c=
b.styles[a]||{},e=b.attributes[a]||{},f=b.elements[a];D(f)&&F(f)&&(Object.assign(f.style,c),Object.keys(e).forEach(function(a){var b=e[a];!1===b?f.removeAttribute(a):f.setAttribute(a,!0===b?"":b)}))})},effect:function(a){var b=a.state,c={popper:{position:"absolute",left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(b.elements.popper.style,c.popper);b.elements.arrow&&Object.assign(b.elements.arrow.style,c.arrow);return function(){Object.keys(b.elements).forEach(function(a){var d=
b.elements[a],f=b.attributes[a]||{};a=Object.keys(b.styles.hasOwnProperty(a)?b.styles[a]:c[a]).reduce(function(a,b){a[b]="";return a},{});D(d)&&F(d)&&(Object.assign(d.style,a),Object.keys(f).forEach(function(a){d.removeAttribute(a)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(a){var b=a.state,c=a.name;a=a.options.offset;var d=void 0===a?[0,0]:a;a=fc.reduce(function(a,c){var e=b.rects;var f=E(c);var h=0<=["left","top"].indexOf(f)?
-1:1,k="function"===typeof d?d(Object.assign({},e,{placement:c})):d;e=k[0];k=k[1];e=e||0;k=(k||0)*h;f=0<=["left","right"].indexOf(f)?{x:k,y:e}:{x:e,y:k};a[c]=f;return a},{});var e=a[b.placement],f=e.y;b.modifiersData.popperOffsets.x+=e.x;b.modifiersData.popperOffsets.y+=f;b.modifiersData[c]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(a){var b=a.state,c=a.options;a=a.name;if(!b.modifiersData[a]._skip){var d=c.fallbackPlacements,e=c.padding,f=c.boundary,h=c.rootBoundary,k=c.altBoundary;c=c.flipVariations;
var l=void 0===c?!0:c;c=b.options.placement;var g=E(c);d=d||(g!==c&&l?yb(c):[ka(c)]);var m=[c].concat(d).reduce(function(a,c){return a.concat("auto"===E(c)?xb(b,{placement:c,boundary:f,rootBoundary:h,padding:e,flipVariations:l}):c)},[]);d=b.rects.reference;c=b.rects.popper;var p=new Map;g=!0;for(var t=m[0],q=0;q<m.length;q++){var y=m[q],u=E(y),w="start"===y.split("-")[1],L=0<=["top","bottom"].indexOf(u),n=L?"width":"height",r=ea(b,{placement:y,boundary:f,rootBoundary:h,altBoundary:k,padding:e});w=
L?w?"right":"left":w?"bottom":"top";d[n]>c[n]&&(w=ka(w));n=ka(w);u=[0>=r[u],0>=r[w],0>=r[n]];if(u.every(function(a){return a})){t=y;g=!1;break}p.set(y,u)}if(g)for(k=function(a){var b=m.find(function(b){if(b=p.get(b))return b.slice(0,a).every(function(a){return a})});if(b)return t=b,"break"},d=l?3:1;0<d&&"break"!==k(d);d--);b.placement!==t&&(b.modifiersData[a]._skip=!0,b.placement=t,b.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(a){var b=
a.state,c=a.options;a=a.name;var d=c.mainAxis,e=void 0===d?!0:d;d=c.altAxis;d=void 0===d?!1:d;var f=c.tether;f=void 0===f?!0:f;var h=c.tetherOffset,k=void 0===h?0:h;c=ea(b,{boundary:c.boundary,rootBoundary:c.rootBoundary,padding:c.padding,altBoundary:c.altBoundary});h=E(b.placement);var l=b.placement.split("-")[1],g=!l,m=ua(h);h="x"===m?"y":"x";var p=b.modifiersData.popperOffsets,t=b.rects.reference,q=b.rects.popper,n="function"===typeof k?k(Object.assign({},b.rects,{placement:b.placement})):k;k=
{x:0,y:0};if(e){var u="y"===m?"top":"left",w="y"===m?"bottom":"right",r="y"===m?"height":"width";e=p[m];var v=p[m]+c[u],x=p[m]-c[w],A=f?-q[r]/2:0,z="start"===l?t[r]:q[r];l="start"===l?-q[r]:-t[r];q=b.elements.arrow;q=f&&q?ta(q):{width:0,height:0};var B=b.modifiersData["arrow#persistent"]?b.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0};u=B[u];w=B[w];q=Math.max(0,Math.min(t[r],q[r]));z=g?t[r]/2-A-q-u-n:z-q-u-n;g=g?-t[r]/2+A+q+w+n:l+q+w+n;n=b.elements.arrow&&da(b.elements.arrow);
t=b.modifiersData.offset?b.modifiersData.offset[b.placement][m]:0;n=p[m]+z-t-(n?"y"===m?n.clientTop||0:n.clientLeft||0:0);g=p[m]+g-t;f=Math.max(f?Math.min(v,n):v,Math.min(e,f?Math.max(x,g):x));p[m]=f;k[m]=f-e}d&&(d=p[h],f=Math.max(d+c["x"===m?"top":"left"],Math.min(d,d-c["x"===m?"bottom":"right"])),b.modifiersData.popperOffsets[h]=f,k[h]=f-d);b.modifiersData[a]=k},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(a){var b,c=a.state;a=a.name;var d=c.elements.arrow,e=c.modifiersData.popperOffsets,
f=E(c.placement),h=ua(f);f=0<=["left","right"].indexOf(f)?"height":"width";if(d){var k=c.modifiersData[a+"#persistent"].padding;d=ta(d);var l="y"===h?"top":"left",g="y"===h?"bottom":"right",m=c.rects.reference[f]+c.rects.reference[h]-e[h]-c.rects.popper[f];e=e[h]-c.rects.reference[h];var p=c.elements.arrow&&da(c.elements.arrow);f=Math.max(k[l],Math.min(c.rects.popper[f]/2-d[f]/2+(m/2-e/2-(p?"y"===h?p.clientLeft||0:p.clientTop||0:0)),c.rects.popper[f]-d[f]-k[g]));c.modifiersData[a]=(b={},b[h]=f,b)}},
effect:function(a){var b=a.state,c=a.options;a=a.name;var d=c.element;d=void 0===d?"[data-popper-arrow]":d;c=c.padding;c=void 0===c?0:c;if("string"===typeof d&&(d=b.elements.popper.querySelector(d),!d))return;Na(b.elements.popper,d)&&(b.elements.arrow=d,b.modifiersData[a+"#persistent"]={padding:Pa("number"!==typeof c?c:Qa(c,fa))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(a){var b=a.state;
a=a.name;var c=b.rects.reference,d=b.rects.popper,e=b.modifiersData.preventOverflow,f=ea(b,{elementContext:"reference"}),h=ea(b,{altBoundary:!0});c=Sa(f,c);d=Sa(h,d,e);e=Ta(c);h=Ta(d);b.modifiersData[a]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:e,hasPopperEscaped:h};b.attributes.popper=Object.assign({},b.attributes.popper,{"data-popper-reference-hidden":e,"data-popper-escaped":h})}}]}),U,ha=[],V=[],na=[],$a=[],Eb=Promise.resolve(),Aa=!1,ya=!1,za=new Set,oa=new Set,N,I=function(){function a(){}
var b=a.prototype;b.$destroy=function(){K(this,1);this.$destroy=z};b.$on=function(a,b){var c=this.$$.callbacks[a]||(this.$$.callbacks[a]=[]);c.push(b);return function(){var a=c.indexOf(b);-1!==a&&c.splice(a,1)}};b.$set=function(){};return a}(),Hb=function(a){function b(b){var c=a.call(this)||this;H(x(c),b,Gb,Fb,G,{config:6,step:7});return c}C(b,a);return b}(I),Vb=function(a){function b(b){var c=a.call(this)||this;H(x(c),b,Jb,Ib,G,{step:0});return c}C(b,a);return b}(I),Pb=function(a){function b(b){var c=
a.call(this)||this;H(x(c),b,Lb,Kb,G,{cancelIcon:0,step:2});return c}C(b,a);return b}(I),Ob=function(a){function b(b){var c=a.call(this)||this;H(x(c),b,Nb,Mb,G,{labelId:1,element:0,title:2});return c}C(b,a);return b}(I),Xb=function(a){function b(b){var c=a.call(this)||this;H(x(c),b,Rb,Qb,G,{labelId:0,step:1});return c}C(b,a);return b}(I),Ub=function(a){function b(b){var c=a.call(this)||this;H(x(c),b,Tb,Sb,G,{descriptionId:1,element:0,step:2});return c}C(b,a);return b}(I),$b=function(a){function b(b){var c=
a.call(this)||this;H(x(c),b,Yb,Wb,G,{descriptionId:0,labelId:1,step:2});return c}C(b,a);return b}(I),hc=function(a){function b(b){var c=a.call(this)||this;H(x(c),b,bc,Zb,G,{classPrefix:11,element:0,descriptionId:2,firstFocusableElement:8,focusableElements:9,labelId:3,lastFocusableElement:10,step:4,dataStepId:1,getElement:12});return c}C(b,a);Q(b,[{key:"getElement",get:function(){return this.$$.ctx[12]}}]);return b}(I);(function(a,b){return b={exports:{}},a(b,b.exports),b.exports})(function(a,b){(function(){a.exports=
{polyfill:function(){function a(a,b){this.scrollLeft=a;this.scrollTop=b}function b(a){if(null===a||"object"!==typeof a||void 0===a.behavior||"auto"===a.behavior||"instant"===a.behavior)return!0;if("object"===typeof a&&"smooth"===a.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+a.behavior+" is not a valid value for enumeration ScrollBehavior.");}function e(a,b){if("Y"===b)return a.clientHeight+r<a.scrollHeight;if("X"===b)return a.clientWidth+r<a.scrollWidth}function f(a,
b){a=g.getComputedStyle(a,null)["overflow"+b];return"auto"===a||"scroll"===a}function h(a){var b=e(a,"Y")&&f(a,"Y");a=e(a,"X")&&f(a,"X");return b||a}function k(a){var b=(q()-a.startTime)/468;var c=.5*(1-Math.cos(Math.PI*(1<b?1:b)));b=a.startX+(a.x-a.startX)*c;c=a.startY+(a.y-a.startY)*c;a.method.call(a.scrollable,b,c);b===a.x&&c===a.y||g.requestAnimationFrame(k.bind(g,a))}function l(b,c,d){var e=q();if(b===m.body){var f=g;var h=g.scrollX||g.pageXOffset;b=g.scrollY||g.pageYOffset;var u=n.scroll}else f=
b,h=b.scrollLeft,b=b.scrollTop,u=a;k({scrollable:f,method:u,startTime:e,startX:h,startY:b,x:c,y:d})}var g=window,m=document;if(!("scrollBehavior"in m.documentElement.style&&!0!==g.__forceSmoothScrollPolyfill__)){var p=g.HTMLElement||g.Element,n={scroll:g.scroll||g.scrollTo,scrollBy:g.scrollBy,elementScroll:p.prototype.scroll||a,scrollIntoView:p.prototype.scrollIntoView},q=g.performance&&g.performance.now?g.performance.now.bind(g.performance):Date.now,r=/MSIE |Trident\/|Edge\//.test(g.navigator.userAgent)?
1:0;g.scroll=g.scrollTo=function(a,c){void 0!==a&&(!0===b(a)?n.scroll.call(g,void 0!==a.left?a.left:"object"!==typeof a?a:g.scrollX||g.pageXOffset,void 0!==a.top?a.top:void 0!==c?c:g.scrollY||g.pageYOffset):l.call(g,m.body,void 0!==a.left?~~a.left:g.scrollX||g.pageXOffset,void 0!==a.top?~~a.top:g.scrollY||g.pageYOffset))};g.scrollBy=function(a,c){void 0!==a&&(b(a)?n.scrollBy.call(g,void 0!==a.left?a.left:"object"!==typeof a?a:0,void 0!==a.top?a.top:void 0!==c?c:0):l.call(g,m.body,~~a.left+(g.scrollX||
g.pageXOffset),~~a.top+(g.scrollY||g.pageYOffset)))};p.prototype.scroll=p.prototype.scrollTo=function(a,c){if(void 0!==a)if(!0===b(a)){if("number"===typeof a&&void 0===c)throw new SyntaxError("Value could not be converted");n.elementScroll.call(this,void 0!==a.left?~~a.left:"object"!==typeof a?~~a:this.scrollLeft,void 0!==a.top?~~a.top:void 0!==c?~~c:this.scrollTop)}else c=a.left,a=a.top,l.call(this,this,"undefined"===typeof c?this.scrollLeft:~~c,"undefined"===typeof a?this.scrollTop:~~a)};p.prototype.scrollBy=
function(a,c){void 0!==a&&(!0===b(a)?n.elementScroll.call(this,void 0!==a.left?~~a.left+this.scrollLeft:~~a+this.scrollLeft,void 0!==a.top?~~a.top+this.scrollTop:~~c+this.scrollTop):this.scroll({left:~~a.left+this.scrollLeft,top:~~a.top+this.scrollTop,behavior:a.behavior}))};p.prototype.scrollIntoView=function(a){if(!0===b(a))n.scrollIntoView.call(this,void 0===a?!0:a);else{for(a=this;a!==m.body&&!1===h(a);)a=a.parentNode||a.host;var c=a.getBoundingClientRect(),d=this.getBoundingClientRect();a!==
m.body?(l.call(this,a,a.scrollLeft+d.left-c.left,a.scrollTop+d.top-c.top),"fixed"!==g.getComputedStyle(a).position&&g.scrollBy({left:c.left,top:c.top,behavior:"smooth"})):g.scrollBy({left:d.left,top:d.top,behavior:"smooth"})}}}}}})()}).polyfill();var Ca=function(a){function b(b,c){void 0===c&&(c={});var d=a.call(this,b,c)||this;d.tour=b;d.classPrefix=d.tour.options?Ua(d.tour.options.classPrefix):"";d.styles=b.styles;Da(x(d));d._setOptions(c);return x(d)||x(d)}C(b,a);var c=b.prototype;c.cancel=function(){this.tour.cancel();
this.trigger("cancel")};c.complete=function(){this.tour.complete();this.trigger("complete")};c.destroy=function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null);this.el instanceof HTMLElement&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null);this.target&&this._updateStepTargetOnHide();this.trigger("destroy")};c.getTour=function(){return this.tour};c.hide=function(){this.tour.modal.hide();this.trigger("before-hide");this.el&&(this.el.hidden=!0);this.target&&this._updateStepTargetOnHide();
this.trigger("hide")};c.isOpen=function(){return!(!this.el||this.el.hidden)};c.show=function(){var a=this;if(R(this.options.beforeShowPromise)){var b=this.options.beforeShowPromise();if(void 0!==b)return b.then(function(){return a._show()})}this._show()};c.updateStepOptions=function(a){Object.assign(this.options,a);this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})};c._createTooltipContent=function(){this.shepherdElementComponent=new hc({target:document.body,props:{classPrefix:this.classPrefix,
descriptionId:this.id+"-description",labelId:this.id+"-label",step:this,styles:this.styles}});return this.shepherdElementComponent.getElement()};c._scrollTo=function(a){var b=Va(this).element;R(this.options.scrollToHandler)?this.options.scrollToHandler(b):b instanceof HTMLElement&&"function"===typeof b.scrollIntoView&&b.scrollIntoView(a)};c._getClassOptions=function(a){var b=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;b=b&&b.classes?b.classes:"";a=[].concat((a.classes?a.classes:
"").split(" "),b.split(" "));a=new Set(a);return Array.from(a).join(" ").trim()};c._setOptions=function(a){var b=this;void 0===a&&(a={});this.options=Object.assign({arrow:!0},this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,a);var c=this.options.when;this.options.classes=this._getClassOptions(a);this.destroy();this.id=this.options.id||"step-"+wa();c&&Object.keys(c).forEach(function(a){b.on(a,c[a],b)})};c._setupElements=function(){void 0!==this.el&&this.destroy();this.el=this._createTooltipContent();
this.options.advanceOn&&mb(this);this.tooltip&&this.tooltip.destroy();var a=Va(this),b=Cb(a,this);this.tooltip=gc(b.target,b.element,b.popperOptions);this.target=a.element};c._show=function(){var a=this;this.trigger("before-show");this._setupElements();this.tour.modal.setupForStep(this);this._styleTargetElementForStep(this);this.el.hidden=!1;this.options.scrollTo&&setTimeout(function(){a._scrollTo(a.options.scrollTo)});this.el.hidden=!1;var b=this.shepherdElementComponent.getElement(),c=this.target||
document.body;c.classList.add(this.classPrefix+"shepherd-enabled");c.classList.add(this.classPrefix+"shepherd-target");b.classList.add("shepherd-enabled");this.trigger("show")};c._styleTargetElementForStep=function(a){var b=a.target;b&&(a.options.highlightClass&&b.classList.add(a.options.highlightClass),!1===a.options.canClickTarget&&b.classList.add("shepherd-target-click-disabled"))};c._updateStepTargetOnHide=function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass);
this.target.classList.remove(this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target")};return b}(Ba),ic=function(a){function b(b){var c=a.call(this)||this;H(x(c),b,ec,dc,G,{element:0,openingProperties:4,getElement:5,closeModalOpening:6,hide:7,positionModalOpening:8,setupForStep:9,show:10});return c}C(b,a);Q(b,[{key:"getElement",get:function(){return this.$$.ctx[5]}},{key:"closeModalOpening",get:function(){return this.$$.ctx[6]}},{key:"hide",get:function(){return this.$$.ctx[7]}},{key:"positionModalOpening",
get:function(){return this.$$.ctx[8]}},{key:"setupForStep",get:function(){return this.$$.ctx[9]}},{key:"show",get:function(){return this.$$.ctx[10]}}]);return b}(I),Y=new Ba,jc=function(a){function b(b){void 0===b&&(b={});var c=a.call(this,b)||this;Da(x(c));c.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},b);c.classPrefix=Ua(c.options.classPrefix);c.steps=[];c.addSteps(c.options.steps);"active cancel complete inactive show start".split(" ").map(function(a){(function(a){c.on(a,function(b){b=
b||{};b.tour=x(c);Y.trigger(a,b)})})(a)});c.modal=new ic({target:b.modalContainer||document.body,props:{classPrefix:c.classPrefix,styles:c.styles}});c._setTourID();return x(c)||x(c)}C(b,a);var c=b.prototype;c.addStep=function(a,b){a instanceof Ca?a.tour=this:a=new Ca(this,a);void 0!==b?this.steps.splice(b,0,a):this.steps.push(a);return a};c.addSteps=function(a){var b=this;Array.isArray(a)&&a.forEach(function(a){b.addStep(a)});return this};c.back=function(){var a=this.steps.indexOf(this.currentStep);
this.show(a-1,!1)};c.cancel=function(){this.options.confirmCancel?window.confirm(this.options.confirmCancelMessage||"Are you sure you want to stop the tour?")&&this._done("cancel"):this._done("cancel")};c.complete=function(){this._done("complete")};c.getById=function(a){return this.steps.find(function(b){return b.id===a})};c.getCurrentStep=function(){return this.currentStep};c.hide=function(){var a=this.getCurrentStep();if(a)return a.hide()};c.isActive=function(){return Y.activeTour===this};c.next=
function(){var a=this.steps.indexOf(this.currentStep);a===this.steps.length-1?this.complete():this.show(a+1,!0)};c.removeStep=function(a){var b=this,c=this.getCurrentStep();this.steps.some(function(c,d){if(c.id===a)return c.isOpen()&&c.hide(),c.destroy(),b.steps.splice(d,1),!0});c&&c.id===a&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())};c.show=function(a,b){void 0===a&&(a=0);void 0===b&&(b=!0);if(a=Z(a)?this.getById(a):this.steps[a])this._updateStateBeforeShow(),R(a.options.showOn)&&
!a.options.showOn()?this._skipStep(a,b):(this.trigger("show",{step:a,previous:this.currentStep}),this.currentStep=a,a.show())};c.start=function(){this.trigger("start");this.focusedElBeforeOpen=document.activeElement;this.currentStep=null;this._setupActiveTour();this.next()};c._done=function(a){var b=this.steps.indexOf(this.currentStep);Array.isArray(this.steps)&&this.steps.forEach(function(a){return a.destroy()});cc(this);this.trigger(a,{index:b});Y.activeTour=null;this.trigger("inactive",{tour:this});
this.modal.hide();"cancel"!==a&&"complete"!==a||!this.modal||(a=document.querySelector(".shepherd-modal-overlay-container"))&&a.remove();this.focusedElBeforeOpen instanceof HTMLElement&&this.focusedElBeforeOpen.focus()};c._setupActiveTour=function(){this.trigger("active",{tour:this});Y.activeTour=this};c._skipStep=function(a,b){a=this.steps.indexOf(a);this.show(b?a+1:a-1,b)};c._updateStateBeforeShow=function(){this.currentStep&&this.currentStep.hide();this.isActive()||this._setupActiveTour()};c._setTourID=
function(){this.id=(this.options.tourName||"tour")+"--"+wa()};return b}(Ba);Object.assign(Y,{Tour:jc,Step:Ca});return Y})
//# sourceMappingURL=shepherd.min.js.map

@@ -216,2 +216,3 @@ ### Rollup/Webpack Based Builds

- `modalOverlayOpeningPadding`: An amount of padding to add around the modal overlay opening
- `modalOverlayOpeningRadius`: An amount of border radius to add around the modal overlay opening
- `popperOptions`: Extra options to pass to [Popper](https://popper.js.org/docs/v2/constructors/#options)

@@ -218,0 +219,0 @@ - `showOn`: A function that, when it returns true, will show the step. If it returns false, the step will be skipped.

@@ -8,1 +8,24 @@ ### Disable Scroll

starting the tour, then `bodyScrollLock.clearAllBodyScrollLocks();` after stopping the tour.
### Progress Indicator
Using the already exposed API, you could add a progress indicator of your chosing
for each step to let your users know how far into a tour they may be.
The example below uses the [Step](https://shepherdjs.dev/docs/Step.html) `options`
object and adds to `when` on the `show` event. Within that, we create an element
to render in the header with text of what step out of all potential steps is now
being show.
```javascript
when: {
show() {
const header = document.querySelector('.shepherd-header');
const progress = document.createElement('span');
progress.style['margin-right'] = '315px';
progress.innerText = `${shepherd.steps.indexOf(shepherd.currentStep) + 1}/${shepherd.steps.length}`;
header.insertBefore(progress, document.querySelector('.shepherd-cancel-icon'));
}
}
```

43

package.json
{
"name": "shepherd.js",
"version": "7.0.4",
"version": "7.1.0",
"repository": {

@@ -33,3 +33,4 @@ "type": "git",

"cy:open": "./node_modules/.bin/cypress open",
"cy:run": "./node_modules/.bin/cypress run",
"cy:run:chrome": "cypress run --browser chrome",
"cy:run:firefox": "cypress run --browser firefox",
"lint:js": "eslint . --ext js",

@@ -39,6 +40,8 @@ "rewrite-paths": "replace 'SF:.*src' 'SF:src' coverage/lcov.info",

"start-test-server": "http-server -p 9002",
"pretest:ci": "yarn build",
"test": "yarn lint:js && yarn test:ci",
"test:ci": "yarn test:unit:ci && yarn test:cy:ci",
"test:cy:ci": "yarn build && start-server-and-test start-test-server http://localhost:9002 cy:run",
"test:cy:watch": "yarn build && start-server-and-test start-test-server http://localhost:9002 cy:open",
"test:ci": "yarn test:unit:ci && yarn test:cy:ci:chrome && yarn test:cy:ci:firefox",
"test:cy:ci:chrome": "start-server-and-test start-test-server http://localhost:9002 cy:run:chrome",
"test:cy:ci:firefox": "start-server-and-test start-test-server http://localhost:9002 cy:run:firefox",
"test:cy:watch": "start-server-and-test start-test-server http://localhost:9002 cy:open",
"test:unit:ci": "jest --coverage",

@@ -55,10 +58,11 @@ "test:unit:watch": "jest --watch",

"dependencies": {
"@popperjs/core": "^2.0.6",
"@popperjs/core": "^2.1.1",
"smoothscroll-polyfill": "^0.4.4"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"@babel/preset-env": "^7.8.6",
"@ampproject/rollup-plugin-closure-compiler": "^0.24.0",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/svelte": "^1.11.0",
"@testing-library/svelte": "^3.0.0",
"autoprefixer": "^9.7.4",

@@ -71,7 +75,7 @@ "babel-core": "^7.0.0-bridge.0",

"cssnano": "^4.1.10",
"cypress": "^4.1.0",
"cypress": "^4.2.0",
"cypress-plugin-tab": "^1.0.5",
"del": "^5.1.0",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.8.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-ship-shape": "^0.7.1",

@@ -93,5 +97,5 @@ "eslint-plugin-svelte3": "^2.7.3",

"rimraf": "^3.0.2",
"rollup": "^1.32.0",
"rollup": "^1.32.1",
"rollup-plugin-analyzer": "^3.2.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-browsersync": "^1.1.0",

@@ -104,12 +108,11 @@ "rollup-plugin-commonjs": "^10.1.0",

"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.1.1",
"rollup-plugin-postcss": "^2.5.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-scss": "^2.1.0",
"rollup-plugin-svelte": "^5.1.1",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-visualizer": "^3.3.1",
"sinon": "^9.0.0",
"start-server-and-test": "^1.10.8",
"svelte": "^3.19.1",
"svelte-preprocess": "^3.4.0",
"rollup-plugin-visualizer": "^3.3.2",
"sinon": "^9.0.1",
"start-server-and-test": "^1.10.11",
"svelte": "^3.20.1",
"svelte-preprocess": "^3.5.0",
"tailwindcss": "^1.2.0"

@@ -116,0 +119,0 @@ },

@@ -27,3 +27,3 @@ <p align="center">

<img
src="/demo/assets/img/demo.png"
src="https://shepherdjs.dev/landing/assets/img/demo.png"
alt="Guide your users through a tour of your app"

@@ -36,26 +36,7 @@ style="height: auto; max-width: 800px; width: 100%;"/>

| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
| --------- | --------- | --------- | --------- |
| Edge| last 2 versions| last 2 versions| last 2 versions
IE 11
----------------------------------------------------------
Shepherd v6.x no longer ships with the required polyfills to work with IE 11 out of the box,
however, if you are supporting IE 11 already, you are probably shipping some polyfills.
The only required polyfills are `Object.assign`, `Symbol`, and `element.matches` for things to work.
Our demo app includes the polyfills using [Polyfill.io](https://polyfill.io/v3/), but Babel, core-js, etc would all work.
```html
<script src="https://polyfill.io/v3/polyfill.min.js?features=Object.assign%2CSymbol%2CElement.prototype.matches"></script>
```
You will also need a [Web Components polyfill](https://www.webcomponents.org/polyfills), which we include with:
```html
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2.2.10/webcomponents-bundle.js"></script>
```
**Note:** This library is constantly evolving, and we do not regularly test in IE, so it is possible other polyfills or workarounds are also necessary.
Documentation

@@ -62,0 +43,0 @@ ----------------------------------------------------------

import babel from 'rollup-plugin-babel';
import browsersync from 'rollup-plugin-browsersync';
import commonjs from 'rollup-plugin-commonjs';
import compiler from '@ampproject/rollup-plugin-closure-compiler';
import { eslint } from 'rollup-plugin-eslint';

@@ -12,3 +13,2 @@ import filesize from 'rollup-plugin-filesize';

import svelte from 'rollup-plugin-svelte';
import { terser } from 'rollup-plugin-terser';
import visualizer from 'rollup-plugin-visualizer';

@@ -139,3 +139,3 @@

}),
terser(),
compiler(),
license({

@@ -142,0 +142,0 @@ banner

@@ -24,3 +24,3 @@ import { Evented } from './evented.js';

* It should be an object with the properties `element` and `on`, where `element` is an element selector string
* or a DOM element and `on` is the optional direction to place the Tippy tooltip.
* or a DOM element and `on` is the optional direction to place the Popper tooltip.
*

@@ -102,2 +102,3 @@ * ```js

* @param {Number} options.modalOverlayOpeningPadding An amount of padding to add around the modal overlay opening
* @param {Number} options.modalOverlayOpeningRadius An amount of border radius to add around the modal overlay opening
* @return {Step} The newly created Step instance

@@ -104,0 +105,0 @@ */

@@ -291,2 +291,12 @@ import { Evented } from './evented.js';

if (event === 'cancel' || event === 'complete') {
if (this.modal) {
const modalContainer = document.querySelector('.shepherd-modal-overlay-container');
if (modalContainer) {
modalContainer.remove();
}
}
}
// Focus the element that was focused before the tour started

@@ -293,0 +303,0 @@ if (isElement(this.focusedElBeforeOpen)) {

@@ -133,2 +133,7 @@ import Tour from './tour';

/**
* An amount of border radius to add around the modal overlay opening
*/
modalOverlayOpeningRadius?: number;
/**
* Extra [options to pass to Popper]{@link https://popper.js.org/docs/v2/}

@@ -135,0 +140,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc