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.3 to 7.0.4

4

dist/js/shepherd.esm.min.js

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

/*! shepherd.js 7.0.3 */
/*! shepherd.js 7.0.4 */
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 r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function a(t,e,n){return(a=s()?Reflect.construct:function(t,e,n){var o=[null];o.push.apply(o,e);var r=new(Function.bind.apply(t,o));return n&&i(r,n.prototype),r}).apply(null,arguments)}function c(t){var e="function"==typeof Map?new Map:void 0;return(c=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,o)}function o(){return a(t,arguments,r(this).constructor)}return o.prototype=Object.create(t.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),i(o,t)})(t)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t){return t instanceof HTMLElement}function f(t){return"function"==typeof t}function p(t){return"string"==typeof t}function d(t){return void 0===t}var h=function(){function t(){}var e=t.prototype;return e.on=function(t,e,n,o){return void 0===o&&(o=!1),d(this.bindings)&&(this.bindings={}),d(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 d(this.bindings)||d(this.bindings[t])||(d(e)?delete this.bindings[t]:this.bindings[t].forEach((function(o,r){o.handler===e&&n.bindings[t].splice(r,1)}))),this},e.trigger=function(t){for(var e=this,n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return!d(this.bindings)&&this.bindings[t]&&this.bindings[t].forEach((function(n,r){var i=n.ctx,s=n.handler,a=n.once,c=i||e;s.apply(c,o),a&&e.bindings[t].splice(r,1)})),this},t}();function m(t){for(var e=Object.getOwnPropertyNames(t.constructor.prototype),n=0;n<e.length;n++){var o=e[n],r=t[o];"constructor"!==o&&"function"==typeof r&&(t[o]=r.bind(t))}return t}function v(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 r,i=function(t,e){return function(n){if(e.isOpen()){var o=e.el&&n.currentTarget===e.el;(!d(t)&&n.currentTarget.matches(t)||o)&&e.tour.next()}}}(o,t);try{r=document.querySelector(o)}catch(t){}if(!d(o)&&!r)return console.error("No element was found for the selector supplied to advanceOn: "+o);r?(r.addEventListener(n,i),t.on("destroy",(function(){return r.removeEventListener(n,i)}))):(document.body.addEventListener(n,i,!0),t.on("destroy",(function(){return document.body.removeEventListener(n,i,!0)})))}function g(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 b(t){if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e?e.defaultView:window}return t}function y(t){var e=b(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function x(t){return t instanceof b(t).Element}function w(t){return t instanceof b(t).HTMLElement}function O(t){return t?(t.nodeName||"").toLowerCase():null}function $(t){return(x(t)?t.ownerDocument:t.document).documentElement}function E(t){return g($(t)).left+y(t).scrollLeft}function S(t,e,n){var o;void 0===n&&(n=!1);var r,i=g(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return n||("body"!==O(e)&&(s=(r=e)!==b(r)&&w(r)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(r):y(r)),w(e)?((a=g(e)).x+=e.clientLeft,a.y+=e.clientTop):(o=$(e))&&(a.x=E(o))),{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}function T(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function _(t){return"html"===O(t)?t:t.parentNode||t.host||document.ownerDocument||document.documentElement}function I(t){return b(t).getComputedStyle(t)}function j(t,e){void 0===e&&(e=[]);var n=function t(e){if(["html","body","#document"].indexOf(O(e))>=0)return e.ownerDocument.body;if(w(e)){var n=I(e),o=n.overflow,r=n.overflowX,i=n.overflowY;if(/auto|scroll|overlay|hidden/.test(o+i+r))return e}return t(_(e))}(t),o="body"===O(n),r=o?b(n):n,i=e.concat(r);return o?i:i.concat(j(_(r)))}function L(t){return["table","td","th"].indexOf(O(t))>=0}function M(t){var e;return!w(t)||!(e=t.offsetParent)||void 0!==window.InstallTrigger&&"fixed"===I(e).position?null:e}function k(t){for(var e=b(t),n=M(t);n&&L(n);)n=M(n);return n&&"body"===O(n)&&"static"===I(n).position?e:n||e}var P="top",C="bottom",D="right",A="left",B=[P,C,D,A],H=B.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),R=[].concat(B,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),F=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function N(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(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var r=e.get(o);r&&t(r)}})),o.push(r)}(t)})),o}function W(t){return t.split("-")[0]}var Y={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){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 X(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,o=void 0===n?[]:n,r=e.defaultOptions,i=void 0===r?Y:r;return function(t,e,n){void 0===n&&(n=i);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Y,{},i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],u=!1,l={state:a,setOptions:function(n){f(),a.options=Object.assign({},i,{},a.options,{},n),a.scrollParents={reference:x(t)?j(t):[],popper:j(e)};var r,s,u=function(t){var e=N(t);return F.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((r=[].concat(o,a.options.modifiers),s=r.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=u.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,o=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var i=r({state:a,name:e,instance:l,options:o});c.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!u){var t=a.elements,e=t.reference,n=t.popper;if(q(e,n)){a.rects={reference:S(e,k(n),"fixed"===a.options.strategy),popper:T(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 r=a.orderedModifiers[o],i=r.fn,s=r.options,c=void 0===s?{}:s,f=r.name;"function"==typeof i&&(a=i({state:a,options:c,name:f,instance:l})||a)}else a.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(t){l.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(r())}))}))),s}),destroy:function(){f(),u=!0}};if(!q(t,e))return l;function f(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(n).then((function(t){!u&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var V={passive:!0};function U(t){return t.split("-")[1]}function z(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Z(t){var e,n=t.reference,o=t.element,r=t.placement,i=r?W(r):null,s=r?U(r):null,a=n.x+n.width/2-o.width/2,c=n.y+n.height/2-o.height/2;switch(i){case P:e={x:a,y:n.y-o.height};break;case C:e={x:a,y:n.y+n.height};break;case D:e={x:n.x+n.width,y:c};break;case A:e={x:n.x-o.width,y:c};break;default:e={x:n.x,y:n.y}}var u=i?z(i):null;if(null!=u){var l="y"===u?"height":"width";switch(s){case"start":e[u]=Math.floor(e[u])-Math.floor(n[l]/2-o[l]/2);break;case"end":e[u]=Math.floor(e[u])+Math.ceil(n[l]/2-o[l]/2)}}return e}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(t){var e,n=t.popper,o=t.popperRect,r=t.placement,i=t.offsets,s=t.position,a=t.gpuAcceleration,c=t.adaptive,u=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}}(i),l=u.x,f=u.y,p=i.hasOwnProperty("x"),d=i.hasOwnProperty("y"),h=A,m=P,v=window;if(c){var g=k(n);g===b(n)&&(g=$(n)),r===P&&(m=C,f-=g.clientHeight-o.height,f*=a?1:-1),r===A&&(h=D,l-=g.clientWidth-o.width,l*=a?1:-1)}var y,x=Object.assign({position:s},c&&K);return a?Object.assign({},x,((y={})[m]=d?"0":"",y[h]=p?"0":"",y.transform=(v.devicePixelRatio||1)<2?"translate("+l+"px, "+f+"px)":"translate3d("+l+"px, "+f+"px, 0)",y)):Object.assign({},x,((e={})[m]=d?f+"px":"",e[h]=p?l+"px":"",e.transform="",e))}var J={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(t){return t.replace(/left|right|bottom|top/g,(function(t){return J[t]}))}var tt={start:"end",end:"start"};function et(t){return t.replace(/start|end/g,(function(t){return tt[t]}))}function nt(t){return parseFloat(t)||0}function ot(t){var e=b(t),n=function(t){var e=w(t)?I(t):{};return{top:nt(e.borderTopWidth),right:nt(e.borderRightWidth),bottom:nt(e.borderBottomWidth),left:nt(e.borderLeftWidth)}}(t),o="html"===O(t),r=E(t),i=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-i-r:t.offsetWidth-i,bottom:o?e.innerHeight-s:t.offsetHeight-s,left:o?r:t.clientLeft}}function rt(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 it(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function st(t,e){return"viewport"===e?it(function(t){var e=b(t);return{width:e.innerWidth,height:e.innerHeight,x:0,y:0}}(t)):w(e)?g(e):it(function(t){var e=b(t),n=y(t),o=S($(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}($(t)))}function at(t,e,n){var o="clippingParents"===e?function(t){var e=j(t),n=["absolute","fixed"].indexOf(I(t).position)>=0&&w(t)?k(t):t;return x(n)?e.filter((function(t){return x(t)&&rt(t,n)})):[]}(t):[].concat(e),r=[].concat(o,[n]),i=r[0],s=r.reduce((function(e,n){var o=st(t,n),r=ot(w(n)?n:$(t));return e.top=Math.max(o.top+r.top,e.top),e.right=Math.min(o.right-r.right,e.right),e.bottom=Math.min(o.bottom-r.bottom,e.bottom),e.left=Math.max(o.left+r.left,e.left),e}),st(t,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ct(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},t)}function ut(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function lt(t,e){void 0===e&&(e={});var n=e,o=n.placement,r=void 0===o?t.placement:o,i=n.boundary,s=void 0===i?"clippingParents":i,a=n.rootBoundary,c=void 0===a?"viewport":a,u=n.elementContext,l=void 0===u?"popper":u,f=n.altBoundary,p=void 0!==f&&f,d=n.padding,h=void 0===d?0:d,m=ct("number"!=typeof h?h:ut(h,B)),v="popper"===l?"reference":"popper",b=t.elements.reference,y=t.rects.popper,w=t.elements[p?v:l],O=at(x(w)?w:$(t.elements.popper),s,c),E=g(b),S=Z({reference:E,element:y,strategy:"absolute",placement:r}),T=it(Object.assign({},y,{},S)),_="popper"===l?T:E,I={top:O.top-_.top+m.top,bottom:_.bottom-O.bottom+m.bottom,left:O.left-_.left+m.left,right:_.right-O.right+m.right},j=t.modifiersData.offset;if("popper"===l&&j){var L=j[r];Object.keys(I).forEach((function(t){var e=[D,C].indexOf(t)>=0?1:-1,n=[P,C].indexOf(t)>=0?"y":"x";I[t]+=L[n]*e}))}return I}function ft(t,e,n){return Math.max(t,Math.min(e,n))}function pt(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 dt(t){return[P,D,C,A].some((function(e){return t[e]>=0}))}var ht,mt=X({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,r=o.scroll,i=void 0===r||r,s=o.resize,a=void 0===s||s,c=b(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach((function(t){t.addEventListener("scroll",n.update,V)})),a&&c.addEventListener("resize",n.update,V),function(){i&&u.forEach((function(t){t.removeEventListener("scroll",n.update,V)})),a&&c.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Z({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,r=void 0===o||o,i=n.adaptive,s=void 0===i||i,a={placement:W(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r};e.styles.popper=Object.assign({},e.styles.popper,{},G(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,{},G(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]||{},r=e.elements[t];w(r)&&O(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?r.removeAttribute(t):r.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],r=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});w(o)&&O(o)&&(Object.assign(o.style,i),Object.keys(r).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,r=n.offset,i=void 0===r?[0,0]:r,s=R.reduce((function(t,n){return t[n]=function(t,e,n){var o=W(t),r=[A,P].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*r,[A,D].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,i),t}),{}),a=s[e.placement],c=a.x,u=a.y;e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=u,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 r=n.fallbackPlacements,i=n.padding,s=n.boundary,a=n.rootBoundary,c=n.flipVariations,u=void 0===c||c,l=e.options.placement,f=W(l),p=r||(f===l||!u?[Q(l)]:function(t){if("auto"===W(t))return[];var e=Q(t);return[et(t),e,et(e)]}(l)),d=[l].concat(p).reduce((function(t,n){return t.concat("auto"===W(n)?function(t,e){void 0===e&&(e={});var n=e,o=n.placement,r=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,c=U(o),u=(c?a?H:H.filter((function(t){return U(t)===c})):B).reduce((function(e,n){return e[n]=lt(t,{placement:n,boundary:r,rootBoundary:i,padding:s})[W(n)],e}),{});return Object.keys(u).sort((function(t,e){return u[t]-u[e]}))}(e,{placement:n,boundary:s,rootBoundary:a,padding:i,flipVariations:u}):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=W(x),O="start"===U(x),$=[P,C].indexOf(w)>=0,E=$?"width":"height",S=lt(e,{placement:x,boundary:s,rootBoundary:a,padding:i}),T=$?O?D:A:O?C:P;h[E]>m[E]&&(T=Q(T));var _=Q(T),I=[S[w]<=0,S[T]<=0,S[_]<=0];if(I.every((function(t){return t}))){b=x,g=!1;break}v.set(x,I)}if(g)for(var j=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"},L=u?3:1;L>0;L--){if("break"===j(L))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,r=n.mainAxis,i=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,u=n.rootBoundary,l=n.padding,f=n.tether,p=void 0===f||f,d=n.tetherOffset,h=void 0===d?0:d,m=lt(e,{boundary:c,rootBoundary:u,padding:l}),v=W(e.placement),g=U(e.placement),b=!g,y=z(v),x="x"===y?"y":"x",w=e.modifiersData.popperOffsets,O=e.rects.reference,$=e.rects.popper,E="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,S={x:0,y:0};if(i){var _="y"===y?P:A,I="y"===y?C:D,j="y"===y?"height":"width",L=w[y],M=w[y]+m[_],k=w[y]-m[I],B=p?-$[j]/2:0,H="start"===g?O[j]:$[j],R="start"===g?-$[j]:-O[j],F=e.elements.arrow,N=p&&F?T(F):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=Y[_],X=Y[I],V=ft(0,O[j],N[j]),Z=b?O[j]/2-B-V-q-E:H-V-q-E,K=b?-O[j]/2+B+V+X+E:R+V+X+E,G=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,J=w[y]+Z-G,Q=w[y]+K-G,tt=ft(p?Math.min(M,J):M,L,p?Math.max(k,Q):k);w[y]=tt,S[y]=tt-L}if(a){var et="x"===y?P:A,nt="x"===y?C:D,ot=w[x],rt=ft(ot+m[et],ot,ot-m[nt]);e.modifiersData.popperOffsets[x]=rt,S[x]=rt-ot}e.modifiersData[o]=S},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,o=t.name,r=n.elements.arrow,i=n.modifiersData.popperOffsets,s=W(n.placement),a=z(s),c=[A,D].indexOf(s)>=0?"height":"width";if(r){var u=n.modifiersData[o+"#persistent"].padding,l=T(r),f="y"===a?P:A,p="y"===a?C:D,d=(n.rects.reference[c]+n.rects.reference[a]-i[a]-n.rects.popper[c])/2-(i[a]-n.rects.reference[a])/2,h=ft(u[f],n.rects.popper[c]/2-l[c]/2+d,n.rects.popper[c]-l[c]-u[p]),m=a;n.modifiersData[o]=((e={})[m]=h,e)}},effect:function(t){var e=t.state,n=t.options,o=t.name,r=n.element,i=void 0===r?"[data-popper-arrow]":r,s=n.padding,a=void 0===s?0:s;("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&rt(e.elements.popper,i)&&(e.elements.arrow=i,e.modifiersData[o+"#persistent"]={padding:ct("number"!=typeof a?a:ut(a,B))})},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,r=e.rects.popper,i=e.modifiersData.preventOverflow,s=lt(e,{elementContext:"reference"}),a=lt(e,{altBoundary:!0}),c=pt(s,o),u=pt(a,r,i),l=dt(c),f=dt(u);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]});function vt(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(),r=function(t){return{placement:"top",strategy:"fixed",modifiers:[],onFirstUpdate:function(){t.el.focus()}}}(t);return o.classList.add("shepherd-centered"),r=n({},r,{modifiers:Array.from(new Set([].concat(r.modifiers,e)))})}function gt(t){return p(t)&&""!==t?"-"!==t.charAt(t.length-1)?t+"-":t:""}function bt(t){var e=t.options.attachTo||{},n=Object.assign({},e);if(p(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 yt(t){t.tooltip&&t.tooltip.destroy();var e=bt(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=vt(e);if(e.options.popperOptions){if(e.options.popperOptions.modifiers&&e.options.popperOptions.modifiers.length>0){var r=e.options.popperOptions.modifiers.map((function(t){return t.name})),i=n.modifiers.filter((function(t){return!r.includes(t.name)}));n.modifiers=[].concat(e.options.popperOptions.modifiers,i),delete e.options.popperOptions.modifiers}n=Object.assign(n,e.options.popperOptions)}return{element:e.el,popperOptions:n,target:o}}(e,t),o=n.element,r=n.popperOptions,i=n.target;t.tooltip=mt(i,o,r),t.target=e.element}function xt(){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 wt(){}function Ot(t,e){for(var n in e)t[n]=e[n];return t}function $t(t){return t()}function Et(){return Object.create(null)}function St(t){t.forEach($t)}function Tt(t){return"function"==typeof t}function _t(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function It(t,e){t.appendChild(e)}function jt(t,e,n){t.insertBefore(e,n||null)}function Lt(t){t.parentNode.removeChild(t)}function Mt(t){return document.createElement(t)}function kt(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Pt(t){return document.createTextNode(t)}function Ct(){return Pt(" ")}function Dt(t,e,n,o){return t.addEventListener(e,n,o),function(){return t.removeEventListener(e,n,o)}}function At(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Bt(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]:At(t,o,e[o])}function Ht(t,e,n){t.classList[n?"add":"remove"](e)}function Rt(t){ht=t}function Ft(){if(!ht)throw new Error("Function called outside component initialization");return ht}function Nt(t){Ft().$$.after_update.push(t)}var Wt=[],Yt=[],qt=[],Xt=[],Vt=Promise.resolve(),Ut=!1;function zt(t){qt.push(t)}var Zt=!1,Kt=new Set;function Gt(){if(!Zt){Zt=!0;do{for(var t=0;t<Wt.length;t+=1){var e=Wt[t];Rt(e),Jt(e.$$)}for(Wt.length=0;Yt.length;)Yt.pop()();for(var n=0;n<qt.length;n+=1){var o=qt[n];Kt.has(o)||(Kt.add(o),o())}qt.length=0}while(Wt.length);for(;Xt.length;)Xt.pop()();Ut=!1,Zt=!1,Kt.clear()}}function Jt(t){if(null!==t.fragment){t.update(),St(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(zt)}}var Qt,te=new Set;function ee(){Qt={r:0,c:[],p:Qt}}function ne(){Qt.r||St(Qt.c),Qt=Qt.p}function oe(t,e){t&&t.i&&(te.delete(t),t.i(e))}function re(t,e,n,o){if(t&&t.o){if(te.has(t))return;te.add(t),Qt.c.push((function(){te.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}function ie(t){t&&t.c()}function se(t,e,n){var o=t.$$,r=o.fragment,i=o.on_mount,s=o.on_destroy,a=o.after_update;r&&r.m(e,n),zt((function(){var e=i.map($t).filter(Tt);s?s.push.apply(s,e):St(e),t.$$.on_mount=[]})),a.forEach(zt)}function ae(t,e){var n=t.$$;null!==n.fragment&&(St(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ce(t,e){-1===t.$$.dirty[0]&&(Wt.push(t),Ut||(Ut=!0,Vt.then(Gt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ue(t,e,n,o,r,i,s){void 0===s&&(s=[-1]);var a=ht;Rt(t);var c=e.props||{},u=t.$$={fragment:null,ctx:null,props:i,update:wt,not_equal:r,bound:Et(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:[]),callbacks:Et(),dirty:s},l=!1;u.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 u.ctx&&r(u.ctx[e],u.ctx[e]=o)&&(u.bound[e]&&u.bound[e](o),l&&ce(t,e)),n})):[],u.update(),l=!0,St(u.before_update),u.fragment=!!o&&o(u.ctx),e.target&&(e.hydrate?u.fragment&&u.fragment.l(function(t){return Array.from(t.childNodes)}(e.target)):u.fragment&&u.fragment.c(),e.intro&&oe(t.$$.fragment),se(t,e.target,e.anchor),Gt()),Rt(a)}"function"==typeof HTMLElement&&c(HTMLElement);var le=function(){function t(){}var e=t.prototype;return e.$destroy=function(){ae(this,1),this.$destroy=wt},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 fe(t){var e,n,o,r,i;return{c:function(){e=Mt("button"),n=Pt(t[3]),At(e,"aria-label",o=t[4]?t[4]:null),At(e,"class",r=(t[1]||"")+" shepherd-button "+(t[2]?"shepherd-button-secondary":"")),e.disabled=t[5],At(e,"tabindex","0")},m:function(o,r){jt(o,e,r),It(e,n),i=Dt(e,"click",(function(){Tt(t[0])&&t[0].apply(this,arguments)}))},p:function(i,s){var a=s[0];t=i,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)&&At(e,"aria-label",o),6&a&&r!==(r=(t[1]||"")+" shepherd-button "+(t[2]?"shepherd-button-secondary":""))&&At(e,"class",r),32&a&&(e.disabled=t[5])},i:wt,o:wt,d:function(t){t&&Lt(e),i()}}}function pe(t,e,n){var o,r,i,s,a,c,u=e.config,l=e.step;return t.$set=function(t){"config"in t&&n(6,u=t.config),"step"in t&&n(7,l=t.step)},t.$$.update=function(){192&t.$$.dirty&&(n(0,o=u.action?u.action.bind(l.tour):null),n(1,r=u.classes),n(2,i=u.secondary),n(3,s=u.text),n(4,a=u.label),n(5,c=!!u.disabled&&function(t){return f(t)?t.call(l):t}(u.disabled)))},[o,r,i,s,a,c,u,l]}var de=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,pe,fe,_t,{config:6,step:7}),n}return o(e,t),e}(le);function he(t,e,n){var o=t.slice();return o[2]=e[n],o}function me(t){for(var e,n,o=t[1],r=[],i=0;i<o.length;i+=1)r[i]=ve(he(t,o,i));var s=function(t){return re(r[t],1,1,(function(){r[t]=null}))};return{c:function(){for(var t=0;t<r.length;t+=1)r[t].c();e=Pt("")},m:function(t,o){for(var i=0;i<r.length;i+=1)r[i].m(t,o);jt(t,e,o),n=!0},p:function(t,n){if(3&n){var i;for(o=t[1],i=0;i<o.length;i+=1){var a=he(t,o,i);r[i]?(r[i].p(a,n),oe(r[i],1)):(r[i]=ve(a),r[i].c(),oe(r[i],1),r[i].m(e.parentNode,e))}for(ee(),i=o.length;i<r.length;i+=1)s(i);ne()}},i:function(t){if(!n){for(var e=0;e<o.length;e+=1)oe(r[e]);n=!0}},o:function(t){r=r.filter(Boolean);for(var e=0;e<r.length;e+=1)re(r[e]);n=!1},d:function(t){!function(t,e){for(var n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}(r,t),t&&Lt(e)}}}function ve(t){var e,n=new de({props:{config:t[2],step:t[0]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(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||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function ge(t){var e,n,o=t[1]&&me(t);return{c:function(){e=Mt("footer"),o&&o.c(),At(e,"class","shepherd-footer")},m:function(t,r){jt(t,e,r),o&&o.m(e,null),n=!0},p:function(t,n){var r=n[0];t[1]?o?(o.p(t,r),oe(o,1)):((o=me(t)).c(),oe(o,1),o.m(e,null)):o&&(ee(),re(o,1,1,(function(){o=null})),ne())},i:function(t){n||(oe(o),n=!0)},o:function(t){re(o),n=!1},d:function(t){t&&Lt(e),o&&o.d()}}}function be(t,e,n){var o,r=e.step;return t.$set=function(t){"step"in t&&n(0,r=t.step)},t.$$.update=function(){1&t.$$.dirty&&n(1,o=r.options.buttons)},[r,o]}var ye=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,be,ge,_t,{step:0}),n}return o(e,t),e}(le);function xe(t){var e,n,o,r;return{c:function(){e=Mt("button"),(n=Mt("span")).textContent="×",At(n,"aria-hidden","true"),At(e,"aria-label",o=t[0].label?t[0].label:"Close Tour"),At(e,"class","shepherd-cancel-icon"),At(e,"type","button")},m:function(o,i){jt(o,e,i),It(e,n),r=Dt(e,"click",t[1])},p:function(t,n){1&n[0]&&o!==(o=t[0].label?t[0].label:"Close Tour")&&At(e,"aria-label",o)},i:wt,o:wt,d:function(t){t&&Lt(e),r()}}}function we(t,e,n){var o=e.cancelIcon,r=e.step;return t.$set=function(t){"cancelIcon"in t&&n(0,o=t.cancelIcon),"step"in t&&n(2,r=t.step)},[o,function(t){t.preventDefault(),r.cancel()},r]}var Oe=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,we,xe,_t,{cancelIcon:0,step:2}),n}return o(e,t),e}(le);function $e(t){var e;return{c:function(){At(e=Mt("h3"),"id",t[1]),At(e,"class","shepherd-title")},m:function(n,o){jt(n,e,o),t[3](e)},p:function(t,n){2&n[0]&&At(e,"id",t[1])},i:wt,o:wt,d:function(n){n&&Lt(e),t[3](null)}}}function Ee(t,e,n){var o=e.labelId,r=e.element,i=e.title;return Nt((function(){f(i)&&n(2,i=i()),n(0,r.innerHTML=i,r)})),t.$set=function(t){"labelId"in t&&n(1,o=t.labelId),"element"in t&&n(0,r=t.element),"title"in t&&n(2,i=t.title)},[r,o,i,function(t){Yt[t?"unshift":"push"]((function(){n(0,r=t)}))}]}var Se=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,Ee,$e,_t,{labelId:1,element:0,title:2}),n}return o(e,t),e}(le);function Te(t){var e,n=new Se({props:{labelId:t[0],title:t[2]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(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||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function _e(t){var e,n=new Oe({props:{cancelIcon:t[3],step:t[1]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(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||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function Ie(t){var e,n,o,r=t[2]&&Te(t),i=t[3]&&t[3].enabled&&_e(t);return{c:function(){e=Mt("header"),r&&r.c(),n=Ct(),i&&i.c(),At(e,"class","shepherd-header")},m:function(t,s){jt(t,e,s),r&&r.m(e,null),It(e,n),i&&i.m(e,null),o=!0},p:function(t,o){var s=o[0];t[2]?r?(r.p(t,s),oe(r,1)):((r=Te(t)).c(),oe(r,1),r.m(e,n)):r&&(ee(),re(r,1,1,(function(){r=null})),ne()),t[3]&&t[3].enabled?i?(i.p(t,s),oe(i,1)):((i=_e(t)).c(),oe(i,1),i.m(e,null)):i&&(ee(),re(i,1,1,(function(){i=null})),ne())},i:function(t){o||(oe(r),oe(i),o=!0)},o:function(t){re(r),re(i),o=!1},d:function(t){t&&Lt(e),r&&r.d(),i&&i.d()}}}function je(t,e,n){var o,r,i=e.labelId,s=e.step;return t.$set=function(t){"labelId"in t&&n(0,i=t.labelId),"step"in t&&n(1,s=t.step)},t.$$.update=function(){2&t.$$.dirty&&(n(2,o=s.options.title),n(3,r=s.options.cancelIcon))},[i,s,o,r]}var Le=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,je,Ie,_t,{labelId:0,step:1}),n}return o(e,t),e}(le);function Me(t){var e;return{c:function(){At(e=Mt("div"),"class","shepherd-text"),At(e,"id",t[1])},m:function(n,o){jt(n,e,o),t[3](e)},p:function(t,n){2&n[0]&&At(e,"id",t[1])},i:wt,o:wt,d:function(n){n&&Lt(e),t[3](null)}}}function ke(t,e,n){var o=e.descriptionId,r=e.element,i=e.step;return Nt((function(){var t=i.options.text;f(t)&&(t=t.call(i)),l(t)?r.appendChild(t):n(0,r.innerHTML=t,r)})),t.$set=function(t){"descriptionId"in t&&n(1,o=t.descriptionId),"element"in t&&n(0,r=t.element),"step"in t&&n(2,i=t.step)},[r,o,i,function(t){Yt[t?"unshift":"push"]((function(){n(0,r=t)}))}]}var Pe=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,ke,Me,_t,{descriptionId:1,element:0,step:2}),n}return o(e,t),e}(le);function Ce(t){var e,n=new Pe({props:{descriptionId:t[0],step:t[2]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(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||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function De(t){var e,n=new ye({props:{step:t[2]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(n,t,o),e=!0},p:function(t,e){var o={};4&e&&(o.step=t[2]),n.$set(o)},i:function(t){e||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function Ae(t){var e,n,o,r,i=!d(t[2].options.text),s=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length,a=new Le({props:{labelId:t[1],step:t[2]}}),c=i&&Ce(t),u=s&&De(t);return{c:function(){e=Mt("div"),ie(a.$$.fragment),n=Ct(),c&&c.c(),o=Ct(),u&&u.c(),At(e,"class","shepherd-content")},m:function(t,i){jt(t,e,i),se(a,e,null),It(e,n),c&&c.m(e,null),It(e,o),u&&u.m(e,null),r=!0},p:function(t,n){var r=n[0],l={};2&r&&(l.labelId=t[1]),4&r&&(l.step=t[2]),a.$set(l),4&r&&(i=!d(t[2].options.text)),i?c?(c.p(t,r),oe(c,1)):((c=Ce(t)).c(),oe(c,1),c.m(e,o)):c&&(ee(),re(c,1,1,(function(){c=null})),ne()),4&r&&(s=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length),s?u?(u.p(t,r),oe(u,1)):((u=De(t)).c(),oe(u,1),u.m(e,null)):u&&(ee(),re(u,1,1,(function(){u=null})),ne())},i:function(t){r||(oe(a.$$.fragment,t),oe(c),oe(u),r=!0)},o:function(t){re(a.$$.fragment,t),re(c),re(u),r=!1},d:function(t){t&&Lt(e),ae(a),c&&c.d(),u&&u.d()}}}function Be(t,e,n){var o=e.descriptionId,r=e.labelId,i=e.step;return t.$set=function(t){"descriptionId"in t&&n(0,o=t.descriptionId),"labelId"in t&&n(1,r=t.labelId),"step"in t&&n(2,i=t.step)},[o,r,i]}var He=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,Be,Ae,_t,{descriptionId:0,labelId:1,step:2}),n}return o(e,t),e}(le);function Re(t){var e;return{c:function(){At(e=Mt("div"),"class","shepherd-arrow"),At(e,"data-popper-arrow","")},m:function(t,n){jt(t,e,n)},d:function(t){t&&Lt(e)}}}function Fe(t){for(var e,n,o,r,i=t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element&&Re(),s=new He({props:{descriptionId:t[2],labelId:t[3],step:t[4]}}),a=[{"aria-describedby":d(t[4].options.text)?null:t[2]},{"aria-labelledby":t[4].options.title?t[3]:null},t[1],{role:"dialog"},{tabindex:"0"}],c={},u=0;u<a.length;u+=1)c=Ot(c,a[u]);return{c:function(){e=Mt("div"),i&&i.c(),n=Ct(),ie(s.$$.fragment),Bt(e,c),Ht(e,"shepherd-has-cancel-icon",t[5]),Ht(e,"shepherd-has-title",t[6]),Ht(e,"shepherd-element",!0)},m:function(a,c){jt(a,e,c),i&&i.m(e,null),It(e,n),se(s,e,null),t[17](e),o=!0,r=Dt(e,"keydown",t[7])},p:function(t,o){var r=o[0];t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element?i||((i=Re()).c(),i.m(e,n)):i&&(i.d(1),i=null);var c={};4&r&&(c.descriptionId=t[2]),8&r&&(c.labelId=t[3]),16&r&&(c.step=t[4]),s.$set(c),Bt(e,function(t,e){for(var n={},o={},r={$$scope:1},i=t.length;i--;){var s=t[i],a=e[i];if(a){for(var c in s)c in a||(o[c]=1);for(var u in a)r[u]||(n[u]=a[u],r[u]=1);t[i]=a}else for(var l in s)r[l]=1}for(var f in o)f in n||(n[f]=void 0);return n}(a,[20&r&&{"aria-describedby":d(t[4].options.text)?null:t[2]},24&r&&{"aria-labelledby":t[4].options.title?t[3]:null},2&r&&t[1],{role:"dialog"},{tabindex:"0"}])),Ht(e,"shepherd-has-cancel-icon",t[5]),Ht(e,"shepherd-has-title",t[6]),Ht(e,"shepherd-element",!0)},i:function(t){o||(oe(s.$$.fragment,t),o=!0)},o:function(t){re(s.$$.fragment,t),o=!1},d:function(n){n&&Lt(e),i&&i.d(),ae(s),t[17](null),r()}}}function Ne(t){return t.split(" ").filter((function(t){return!!t.length}))}function We(t,e,n){var o,r,i,s,a=e.classPrefix,c=e.element,u=e.descriptionId,l=e.firstFocusableElement,f=e.focusableElements,d=e.labelId,h=e.lastFocusableElement,m=e.step,v=e.dataStepId;function g(){b(i),y(i=m.options.classes)}function b(t){if(p(t)){var e,n=Ne(t);if(n.length)(e=c.classList).remove.apply(e,n)}}function y(t){if(p(t)){var e,n=Ne(t);if(n.length)(e=c.classList).add.apply(e,n)}}s=function(){var t;n(1,((t={})["data-"+a+"shepherd-step-id"]=m.id,v=t)),n(9,f=c.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')),n(8,l=f[0]),n(10,h=f[f.length-1])},Ft().$$.on_mount.push(s),Nt((function(){i!==m.options.classes&&g()}));return t.$set=function(t){"classPrefix"in t&&n(11,a=t.classPrefix),"element"in t&&n(0,c=t.element),"descriptionId"in t&&n(2,u=t.descriptionId),"firstFocusableElement"in t&&n(8,l=t.firstFocusableElement),"focusableElements"in t&&n(9,f=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,r=m.options&&m.options.title))},[c,v,u,d,m,o,r,function(t){var e=m.tour;switch(t.keyCode){case 9:if(0===f.length){t.preventDefault();break}t.shiftKey?document.activeElement===l&&(t.preventDefault(),h.focus()):document.activeElement===h&&(t.preventDefault(),l.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()}},l,f,h,a,function(){return c},i,g,b,y,function(t){Yt[t?"unshift":"push"]((function(){n(0,c=t)}))}]}var Ye=function(t){function n(e){var n;return ue(u(n=t.call(this)||this),e,We,Fe,_t,{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}(le);var qe=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,r={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:o.prototype.scroll||a,scrollIntoView:o.prototype.scrollIntoView},i=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):r.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])?r.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");r.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}):r.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(),i=this.getBoundingClientRect();n!==e.body?(h.call(this,n,n.scrollLeft+i.left-o.left,n.scrollTop+i.top-o.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})):t.scrollBy({left:i.left,top:i.top,behavior:"smooth"})}else r.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 u(t,e){return"Y"===e?t.clientHeight+s<t.scrollHeight:"X"===e?t.clientWidth+s<t.scrollWidth:void 0}function l(e,n){var o=t.getComputedStyle(e,null)["overflow"+n];return"auto"===o||"scroll"===o}function f(t){var e=u(t,"Y")&&l(t,"Y"),n=u(t,"X")&&l(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,r,s,a=(i()-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,r=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,o,r),o===e.x&&r===e.y||t.requestAnimationFrame(d.bind(t,e))}function h(n,o,s){var c,u,l,f,p=i();n===e.body?(c=t,u=t.scrollX||t.pageXOffset,l=t.scrollY||t.pageYOffset,f=r.scroll):(c=n,u=n.scrollLeft,l=n.scrollTop,f=a),d({scrollable:c,method:f,startTime:p,startX:u,startY:l,x:o,y:s})}}}}));qe.polyfill;qe.polyfill();var Xe=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?gt(o.tour.options.classPrefix):"",o.styles=e.styles,m(u(o)),o._setOptions(n),u(o)||u(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),l(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(f(this.options.beforeShowPromise)){var e=this.options.beforeShowPromise();if(!d(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 Ye({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=bt(this).element;f(this.options.scrollToHandler)?this.options.scrollToHandler(e):l(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:"",r=[].concat(n.split(" "),o.split(" ")),i=new Set(r);return Array.from(i).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-"+xt(),o&&Object.keys(o).forEach((function(t){e.on(t,o[t],e)}))},n._setupElements=function(){d(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&v(this),yt(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();(this.target||document.body).classList.add(this.classPrefix+"shepherd-enabled",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}(h);function Ve(t){var e,n,o,r,i;return{c:function(){e=kt("svg"),At(n=kt("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"),At(e,"class",r=(t[2]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m:function(o,r){jt(o,e,r),It(e,n),t[16](e),i=Dt(e,"touchmove",t[3])},p:function(t,i){var s=i[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")&&At(n,"d",o),4&s&&r!==(r=(t[2]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&At(e,"class",r)},i:wt,o:wt,d:function(n){n&&Lt(e),t[16](null),i()}}}function Ue(t,e,n){var o=e.element,r=e.openingProperties,i=xt(),s=!1,a=void 0;c();function c(){n(1,r={height:0,x:0,y:0,width:0})}function u(){n(2,s=!1),h()}function l(t,e,o){if(void 0===o&&(o=0),t.getBoundingClientRect){var i=function(t,e){var n=t.getBoundingClientRect(),o=n.y||n.top,r=n.bottom||o+n.height;if(e){var i=e.getBoundingClientRect(),s=i.y||i.top,a=i.bottom||s+i.height;o=Math.max(o,s),r=Math.min(r,a)}return{y:o,height:Math.max(r-o,0)}}(t,e),s=i.y,a=i.height,c=t.getBoundingClientRect(),u=c.x,l=c.width,f=c.left;n(1,r={x:(u||f)-o,y:s-o,width:l+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,l(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,r=t.openingProperties)},[o,r,s,function(t){t.stopPropagation()},function(){return o},c,u,l,function(t){h(),t.tour.options.useModalOverlay?(m(t),f()):u()},f,a,i,p,d,h,m,function(t){Yt[t?"unshift":"push"]((function(){n(0,o=t)}))}]}var ze=function(t){function n(e){var n;return ue(u(n=t.call(this)||this),e,Ue,Ve,_t,{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}(le),Ze=new h,Ke=function(t){function e(e){var n;void 0===e&&(e={}),m(u(n=t.call(this,e)||this));n.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},e),n.classPrefix=gt(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=u(n),Ze.trigger(e,t)}))})),n.modal=new ze({target:e.modalContainer||document.body,props:{classPrefix:n.classPrefix,styles:n.styles}}),n._setTourID(),u(n)||u(n)}o(e,t);var n=e.prototype;return n.addStep=function(t,e){var n=t;return n instanceof Xe?n.tour=this:n=new Xe(this,n),d(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 Ze.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=p(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),f(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}),Ze.activeTour=null,this.trigger("inactive",{tour:this}),this.modal.hide(),l(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()},n._setupActiveTour=function(){this.trigger("active",{tour:this}),Ze.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+"--"+xt()},e}(h);Object.assign(Ze,{Tour:Ke,Step:Xe});export default Ze;
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;
//# sourceMappingURL=shepherd.esm.min.js.map

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

/*! shepherd.js 7.0.3 */
/*! shepherd.js 7.0.4 */
!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 r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function a(t,e,n){return(a=s()?Reflect.construct:function(t,e,n){var o=[null];o.push.apply(o,e);var r=new(Function.bind.apply(t,o));return n&&i(r,n.prototype),r}).apply(null,arguments)}function c(t){var e="function"==typeof Map?new Map:void 0;return(c=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,o)}function o(){return a(t,arguments,r(this).constructor)}return o.prototype=Object.create(t.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),i(o,t)})(t)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return t instanceof HTMLElement}function l(t){return"function"==typeof t}function p(t){return"string"==typeof t}function d(t){return void 0===t}var h=function(){function t(){}var e=t.prototype;return e.on=function(t,e,n,o){return void 0===o&&(o=!1),d(this.bindings)&&(this.bindings={}),d(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 d(this.bindings)||d(this.bindings[t])||(d(e)?delete this.bindings[t]:this.bindings[t].forEach((function(o,r){o.handler===e&&n.bindings[t].splice(r,1)}))),this},e.trigger=function(t){for(var e=this,n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return!d(this.bindings)&&this.bindings[t]&&this.bindings[t].forEach((function(n,r){var i=n.ctx,s=n.handler,a=n.once,c=i||e;s.apply(c,o),a&&e.bindings[t].splice(r,1)})),this},t}();function m(t){for(var e=Object.getOwnPropertyNames(t.constructor.prototype),n=0;n<e.length;n++){var o=e[n],r=t[o];"constructor"!==o&&"function"==typeof r&&(t[o]=r.bind(t))}return t}function v(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 r,i=function(t,e){return function(n){if(e.isOpen()){var o=e.el&&n.currentTarget===e.el;(!d(t)&&n.currentTarget.matches(t)||o)&&e.tour.next()}}}(o,t);try{r=document.querySelector(o)}catch(t){}if(!d(o)&&!r)return console.error("No element was found for the selector supplied to advanceOn: "+o);r?(r.addEventListener(n,i),t.on("destroy",(function(){return r.removeEventListener(n,i)}))):(document.body.addEventListener(n,i,!0),t.on("destroy",(function(){return document.body.removeEventListener(n,i,!0)})))}function g(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 b(t){if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e?e.defaultView:window}return t}function y(t){var e=b(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function x(t){return t instanceof b(t).Element}function w(t){return t instanceof b(t).HTMLElement}function O(t){return t?(t.nodeName||"").toLowerCase():null}function $(t){return(x(t)?t.ownerDocument:t.document).documentElement}function E(t){return g($(t)).left+y(t).scrollLeft}function S(t,e,n){var o;void 0===n&&(n=!1);var r,i=g(t),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return n||("body"!==O(e)&&(s=(r=e)!==b(r)&&w(r)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(r):y(r)),w(e)?((a=g(e)).x+=e.clientLeft,a.y+=e.clientTop):(o=$(e))&&(a.x=E(o))),{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}function T(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function _(t){return"html"===O(t)?t:t.parentNode||t.host||document.ownerDocument||document.documentElement}function I(t){return b(t).getComputedStyle(t)}function j(t,e){void 0===e&&(e=[]);var n=function t(e){if(["html","body","#document"].indexOf(O(e))>=0)return e.ownerDocument.body;if(w(e)){var n=I(e),o=n.overflow,r=n.overflowX,i=n.overflowY;if(/auto|scroll|overlay|hidden/.test(o+i+r))return e}return t(_(e))}(t),o="body"===O(n),r=o?b(n):n,i=e.concat(r);return o?i:i.concat(j(_(r)))}function L(t){return["table","td","th"].indexOf(O(t))>=0}function M(t){var e;return!w(t)||!(e=t.offsetParent)||void 0!==window.InstallTrigger&&"fixed"===I(e).position?null:e}function k(t){for(var e=b(t),n=M(t);n&&L(n);)n=M(n);return n&&"body"===O(n)&&"static"===I(n).position?e:n||e}var P="top",C="bottom",D="right",A="left",B=[P,C,D,A],H=B.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),R=[].concat(B,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),F=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function N(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(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var r=e.get(o);r&&t(r)}})),o.push(r)}(t)})),o}function W(t){return t.split("-")[0]}var Y={placement:"bottom",modifiers:[],strategy:"absolute"};function q(){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 X(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,o=void 0===n?[]:n,r=e.defaultOptions,i=void 0===r?Y:r;return function(t,e,n){void 0===n&&(n=i);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Y,{},i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],u=!1,f={state:a,setOptions:function(n){l(),a.options=Object.assign({},i,{},a.options,{},n),a.scrollParents={reference:x(t)?j(t):[],popper:j(e)};var r,s,u=function(t){var e=N(t);return F.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((r=[].concat(o,a.options.modifiers),s=r.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=u.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,o=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var i=r({state:a,name:e,instance:f,options:o});c.push(i||function(){})}})),f.update()},forceUpdate:function(){if(!u){var t=a.elements,e=t.reference,n=t.popper;if(q(e,n)){a.rects={reference:S(e,k(n),"fixed"===a.options.strategy),popper:T(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 r=a.orderedModifiers[o],i=r.fn,s=r.options,c=void 0===s?{}:s,l=r.name;"function"==typeof i&&(a=i({state:a,options:c,name:l,instance:f})||a)}else a.reset=!1,o=-1}}},update:(r=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(r())}))}))),s}),destroy:function(){l(),u=!0}};if(!q(t,e))return f;function l(){c.forEach((function(t){return t()})),c=[]}return f.setOptions(n).then((function(t){!u&&n.onFirstUpdate&&n.onFirstUpdate(t)})),f}}var V={passive:!0};function U(t){return t.split("-")[1]}function z(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Z(t){var e,n=t.reference,o=t.element,r=t.placement,i=r?W(r):null,s=r?U(r):null,a=n.x+n.width/2-o.width/2,c=n.y+n.height/2-o.height/2;switch(i){case P:e={x:a,y:n.y-o.height};break;case C:e={x:a,y:n.y+n.height};break;case D:e={x:n.x+n.width,y:c};break;case A:e={x:n.x-o.width,y:c};break;default:e={x:n.x,y:n.y}}var u=i?z(i):null;if(null!=u){var f="y"===u?"height":"width";switch(s){case"start":e[u]=Math.floor(e[u])-Math.floor(n[f]/2-o[f]/2);break;case"end":e[u]=Math.floor(e[u])+Math.ceil(n[f]/2-o[f]/2)}}return e}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(t){var e,n=t.popper,o=t.popperRect,r=t.placement,i=t.offsets,s=t.position,a=t.gpuAcceleration,c=t.adaptive,u=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}}(i),f=u.x,l=u.y,p=i.hasOwnProperty("x"),d=i.hasOwnProperty("y"),h=A,m=P,v=window;if(c){var g=k(n);g===b(n)&&(g=$(n)),r===P&&(m=C,l-=g.clientHeight-o.height,l*=a?1:-1),r===A&&(h=D,f-=g.clientWidth-o.width,f*=a?1:-1)}var y,x=Object.assign({position:s},c&&K);return a?Object.assign({},x,((y={})[m]=d?"0":"",y[h]=p?"0":"",y.transform=(v.devicePixelRatio||1)<2?"translate("+f+"px, "+l+"px)":"translate3d("+f+"px, "+l+"px, 0)",y)):Object.assign({},x,((e={})[m]=d?l+"px":"",e[h]=p?f+"px":"",e.transform="",e))}var J={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(t){return t.replace(/left|right|bottom|top/g,(function(t){return J[t]}))}var tt={start:"end",end:"start"};function et(t){return t.replace(/start|end/g,(function(t){return tt[t]}))}function nt(t){return parseFloat(t)||0}function ot(t){var e=b(t),n=function(t){var e=w(t)?I(t):{};return{top:nt(e.borderTopWidth),right:nt(e.borderRightWidth),bottom:nt(e.borderBottomWidth),left:nt(e.borderLeftWidth)}}(t),o="html"===O(t),r=E(t),i=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-i-r:t.offsetWidth-i,bottom:o?e.innerHeight-s:t.offsetHeight-s,left:o?r:t.clientLeft}}function rt(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 it(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function st(t,e){return"viewport"===e?it(function(t){var e=b(t);return{width:e.innerWidth,height:e.innerHeight,x:0,y:0}}(t)):w(e)?g(e):it(function(t){var e=b(t),n=y(t),o=S($(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}($(t)))}function at(t,e,n){var o="clippingParents"===e?function(t){var e=j(t),n=["absolute","fixed"].indexOf(I(t).position)>=0&&w(t)?k(t):t;return x(n)?e.filter((function(t){return x(t)&&rt(t,n)})):[]}(t):[].concat(e),r=[].concat(o,[n]),i=r[0],s=r.reduce((function(e,n){var o=st(t,n),r=ot(w(n)?n:$(t));return e.top=Math.max(o.top+r.top,e.top),e.right=Math.min(o.right-r.right,e.right),e.bottom=Math.min(o.bottom-r.bottom,e.bottom),e.left=Math.max(o.left+r.left,e.left),e}),st(t,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ct(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},t)}function ut(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ft(t,e){void 0===e&&(e={});var n=e,o=n.placement,r=void 0===o?t.placement:o,i=n.boundary,s=void 0===i?"clippingParents":i,a=n.rootBoundary,c=void 0===a?"viewport":a,u=n.elementContext,f=void 0===u?"popper":u,l=n.altBoundary,p=void 0!==l&&l,d=n.padding,h=void 0===d?0:d,m=ct("number"!=typeof h?h:ut(h,B)),v="popper"===f?"reference":"popper",b=t.elements.reference,y=t.rects.popper,w=t.elements[p?v:f],O=at(x(w)?w:$(t.elements.popper),s,c),E=g(b),S=Z({reference:E,element:y,strategy:"absolute",placement:r}),T=it(Object.assign({},y,{},S)),_="popper"===f?T:E,I={top:O.top-_.top+m.top,bottom:_.bottom-O.bottom+m.bottom,left:O.left-_.left+m.left,right:_.right-O.right+m.right},j=t.modifiersData.offset;if("popper"===f&&j){var L=j[r];Object.keys(I).forEach((function(t){var e=[D,C].indexOf(t)>=0?1:-1,n=[P,C].indexOf(t)>=0?"y":"x";I[t]+=L[n]*e}))}return I}function lt(t,e,n){return Math.max(t,Math.min(e,n))}function pt(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 dt(t){return[P,D,C,A].some((function(e){return t[e]>=0}))}var ht,mt=X({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,r=o.scroll,i=void 0===r||r,s=o.resize,a=void 0===s||s,c=b(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach((function(t){t.addEventListener("scroll",n.update,V)})),a&&c.addEventListener("resize",n.update,V),function(){i&&u.forEach((function(t){t.removeEventListener("scroll",n.update,V)})),a&&c.removeEventListener("resize",n.update,V)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Z({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,r=void 0===o||o,i=n.adaptive,s=void 0===i||i,a={placement:W(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r};e.styles.popper=Object.assign({},e.styles.popper,{},G(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,{},G(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]||{},r=e.elements[t];w(r)&&O(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?r.removeAttribute(t):r.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],r=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});w(o)&&O(o)&&(Object.assign(o.style,i),Object.keys(r).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,r=n.offset,i=void 0===r?[0,0]:r,s=R.reduce((function(t,n){return t[n]=function(t,e,n){var o=W(t),r=[A,P].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*r,[A,D].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,i),t}),{}),a=s[e.placement],c=a.x,u=a.y;e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=u,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 r=n.fallbackPlacements,i=n.padding,s=n.boundary,a=n.rootBoundary,c=n.flipVariations,u=void 0===c||c,f=e.options.placement,l=W(f),p=r||(l===f||!u?[Q(f)]:function(t){if("auto"===W(t))return[];var e=Q(t);return[et(t),e,et(e)]}(f)),d=[f].concat(p).reduce((function(t,n){return t.concat("auto"===W(n)?function(t,e){void 0===e&&(e={});var n=e,o=n.placement,r=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,c=U(o),u=(c?a?H:H.filter((function(t){return U(t)===c})):B).reduce((function(e,n){return e[n]=ft(t,{placement:n,boundary:r,rootBoundary:i,padding:s})[W(n)],e}),{});return Object.keys(u).sort((function(t,e){return u[t]-u[e]}))}(e,{placement:n,boundary:s,rootBoundary:a,padding:i,flipVariations:u}):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=W(x),O="start"===U(x),$=[P,C].indexOf(w)>=0,E=$?"width":"height",S=ft(e,{placement:x,boundary:s,rootBoundary:a,padding:i}),T=$?O?D:A:O?C:P;h[E]>m[E]&&(T=Q(T));var _=Q(T),I=[S[w]<=0,S[T]<=0,S[_]<=0];if(I.every((function(t){return t}))){b=x,g=!1;break}v.set(x,I)}if(g)for(var j=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"},L=u?3:1;L>0;L--){if("break"===j(L))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,r=n.mainAxis,i=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,u=n.rootBoundary,f=n.padding,l=n.tether,p=void 0===l||l,d=n.tetherOffset,h=void 0===d?0:d,m=ft(e,{boundary:c,rootBoundary:u,padding:f}),v=W(e.placement),g=U(e.placement),b=!g,y=z(v),x="x"===y?"y":"x",w=e.modifiersData.popperOffsets,O=e.rects.reference,$=e.rects.popper,E="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,S={x:0,y:0};if(i){var _="y"===y?P:A,I="y"===y?C:D,j="y"===y?"height":"width",L=w[y],M=w[y]+m[_],k=w[y]-m[I],B=p?-$[j]/2:0,H="start"===g?O[j]:$[j],R="start"===g?-$[j]:-O[j],F=e.elements.arrow,N=p&&F?T(F):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=Y[_],X=Y[I],V=lt(0,O[j],N[j]),Z=b?O[j]/2-B-V-q-E:H-V-q-E,K=b?-O[j]/2+B+V+X+E:R+V+X+E,G=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,J=w[y]+Z-G,Q=w[y]+K-G,tt=lt(p?Math.min(M,J):M,L,p?Math.max(k,Q):k);w[y]=tt,S[y]=tt-L}if(a){var et="x"===y?P:A,nt="x"===y?C:D,ot=w[x],rt=lt(ot+m[et],ot,ot-m[nt]);e.modifiersData.popperOffsets[x]=rt,S[x]=rt-ot}e.modifiersData[o]=S},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,o=t.name,r=n.elements.arrow,i=n.modifiersData.popperOffsets,s=W(n.placement),a=z(s),c=[A,D].indexOf(s)>=0?"height":"width";if(r){var u=n.modifiersData[o+"#persistent"].padding,f=T(r),l="y"===a?P:A,p="y"===a?C:D,d=(n.rects.reference[c]+n.rects.reference[a]-i[a]-n.rects.popper[c])/2-(i[a]-n.rects.reference[a])/2,h=lt(u[l],n.rects.popper[c]/2-f[c]/2+d,n.rects.popper[c]-f[c]-u[p]),m=a;n.modifiersData[o]=((e={})[m]=h,e)}},effect:function(t){var e=t.state,n=t.options,o=t.name,r=n.element,i=void 0===r?"[data-popper-arrow]":r,s=n.padding,a=void 0===s?0:s;("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&rt(e.elements.popper,i)&&(e.elements.arrow=i,e.modifiersData[o+"#persistent"]={padding:ct("number"!=typeof a?a:ut(a,B))})},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,r=e.rects.popper,i=e.modifiersData.preventOverflow,s=ft(e,{elementContext:"reference"}),a=ft(e,{altBoundary:!0}),c=pt(s,o),u=pt(a,r,i),f=dt(c),l=dt(u);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:l},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}}]});function vt(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(),r=function(t){return{placement:"top",strategy:"fixed",modifiers:[],onFirstUpdate:function(){t.el.focus()}}}(t);return o.classList.add("shepherd-centered"),r=n({},r,{modifiers:Array.from(new Set([].concat(r.modifiers,e)))})}function gt(t){return p(t)&&""!==t?"-"!==t.charAt(t.length-1)?t+"-":t:""}function bt(t){var e=t.options.attachTo||{},n=Object.assign({},e);if(p(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 yt(t){t.tooltip&&t.tooltip.destroy();var e=bt(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=vt(e);if(e.options.popperOptions){if(e.options.popperOptions.modifiers&&e.options.popperOptions.modifiers.length>0){var r=e.options.popperOptions.modifiers.map((function(t){return t.name})),i=n.modifiers.filter((function(t){return!r.includes(t.name)}));n.modifiers=[].concat(e.options.popperOptions.modifiers,i),delete e.options.popperOptions.modifiers}n=Object.assign(n,e.options.popperOptions)}return{element:e.el,popperOptions:n,target:o}}(e,t),o=n.element,r=n.popperOptions,i=n.target;t.tooltip=mt(i,o,r),t.target=e.element}function xt(){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 wt(){}function Ot(t,e){for(var n in e)t[n]=e[n];return t}function $t(t){return t()}function Et(){return Object.create(null)}function St(t){t.forEach($t)}function Tt(t){return"function"==typeof t}function _t(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function It(t,e){t.appendChild(e)}function jt(t,e,n){t.insertBefore(e,n||null)}function Lt(t){t.parentNode.removeChild(t)}function Mt(t){return document.createElement(t)}function kt(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Pt(t){return document.createTextNode(t)}function Ct(){return Pt(" ")}function Dt(t,e,n,o){return t.addEventListener(e,n,o),function(){return t.removeEventListener(e,n,o)}}function At(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Bt(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]:At(t,o,e[o])}function Ht(t,e,n){t.classList[n?"add":"remove"](e)}function Rt(t){ht=t}function Ft(){if(!ht)throw new Error("Function called outside component initialization");return ht}function Nt(t){Ft().$$.after_update.push(t)}var Wt=[],Yt=[],qt=[],Xt=[],Vt=Promise.resolve(),Ut=!1;function zt(t){qt.push(t)}var Zt=!1,Kt=new Set;function Gt(){if(!Zt){Zt=!0;do{for(var t=0;t<Wt.length;t+=1){var e=Wt[t];Rt(e),Jt(e.$$)}for(Wt.length=0;Yt.length;)Yt.pop()();for(var n=0;n<qt.length;n+=1){var o=qt[n];Kt.has(o)||(Kt.add(o),o())}qt.length=0}while(Wt.length);for(;Xt.length;)Xt.pop()();Ut=!1,Zt=!1,Kt.clear()}}function Jt(t){if(null!==t.fragment){t.update(),St(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(zt)}}var Qt,te=new Set;function ee(){Qt={r:0,c:[],p:Qt}}function ne(){Qt.r||St(Qt.c),Qt=Qt.p}function oe(t,e){t&&t.i&&(te.delete(t),t.i(e))}function re(t,e,n,o){if(t&&t.o){if(te.has(t))return;te.add(t),Qt.c.push((function(){te.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}function ie(t){t&&t.c()}function se(t,e,n){var o=t.$$,r=o.fragment,i=o.on_mount,s=o.on_destroy,a=o.after_update;r&&r.m(e,n),zt((function(){var e=i.map($t).filter(Tt);s?s.push.apply(s,e):St(e),t.$$.on_mount=[]})),a.forEach(zt)}function ae(t,e){var n=t.$$;null!==n.fragment&&(St(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ce(t,e){-1===t.$$.dirty[0]&&(Wt.push(t),Ut||(Ut=!0,Vt.then(Gt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ue(t,e,n,o,r,i,s){void 0===s&&(s=[-1]);var a=ht;Rt(t);var c=e.props||{},u=t.$$={fragment:null,ctx:null,props:i,update:wt,not_equal:r,bound:Et(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(a?a.$$.context:[]),callbacks:Et(),dirty:s},f=!1;u.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 u.ctx&&r(u.ctx[e],u.ctx[e]=o)&&(u.bound[e]&&u.bound[e](o),f&&ce(t,e)),n})):[],u.update(),f=!0,St(u.before_update),u.fragment=!!o&&o(u.ctx),e.target&&(e.hydrate?u.fragment&&u.fragment.l(function(t){return Array.from(t.childNodes)}(e.target)):u.fragment&&u.fragment.c(),e.intro&&oe(t.$$.fragment),se(t,e.target,e.anchor),Gt()),Rt(a)}"function"==typeof HTMLElement&&c(HTMLElement);var fe=function(){function t(){}var e=t.prototype;return e.$destroy=function(){ae(this,1),this.$destroy=wt},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 le(t){var e,n,o,r,i;return{c:function(){e=Mt("button"),n=Pt(t[3]),At(e,"aria-label",o=t[4]?t[4]:null),At(e,"class",r=(t[1]||"")+" shepherd-button "+(t[2]?"shepherd-button-secondary":"")),e.disabled=t[5],At(e,"tabindex","0")},m:function(o,r){jt(o,e,r),It(e,n),i=Dt(e,"click",(function(){Tt(t[0])&&t[0].apply(this,arguments)}))},p:function(i,s){var a=s[0];t=i,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)&&At(e,"aria-label",o),6&a&&r!==(r=(t[1]||"")+" shepherd-button "+(t[2]?"shepherd-button-secondary":""))&&At(e,"class",r),32&a&&(e.disabled=t[5])},i:wt,o:wt,d:function(t){t&&Lt(e),i()}}}function pe(t,e,n){var o,r,i,s,a,c,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,r=u.classes),n(2,i=u.secondary),n(3,s=u.text),n(4,a=u.label),n(5,c=!!u.disabled&&function(t){return l(t)?t.call(f):t}(u.disabled)))},[o,r,i,s,a,c,u,f]}var de=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,pe,le,_t,{config:6,step:7}),n}return o(e,t),e}(fe);function he(t,e,n){var o=t.slice();return o[2]=e[n],o}function me(t){for(var e,n,o=t[1],r=[],i=0;i<o.length;i+=1)r[i]=ve(he(t,o,i));var s=function(t){return re(r[t],1,1,(function(){r[t]=null}))};return{c:function(){for(var t=0;t<r.length;t+=1)r[t].c();e=Pt("")},m:function(t,o){for(var i=0;i<r.length;i+=1)r[i].m(t,o);jt(t,e,o),n=!0},p:function(t,n){if(3&n){var i;for(o=t[1],i=0;i<o.length;i+=1){var a=he(t,o,i);r[i]?(r[i].p(a,n),oe(r[i],1)):(r[i]=ve(a),r[i].c(),oe(r[i],1),r[i].m(e.parentNode,e))}for(ee(),i=o.length;i<r.length;i+=1)s(i);ne()}},i:function(t){if(!n){for(var e=0;e<o.length;e+=1)oe(r[e]);n=!0}},o:function(t){r=r.filter(Boolean);for(var e=0;e<r.length;e+=1)re(r[e]);n=!1},d:function(t){!function(t,e){for(var n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}(r,t),t&&Lt(e)}}}function ve(t){var e,n=new de({props:{config:t[2],step:t[0]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(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||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function ge(t){var e,n,o=t[1]&&me(t);return{c:function(){e=Mt("footer"),o&&o.c(),At(e,"class","shepherd-footer")},m:function(t,r){jt(t,e,r),o&&o.m(e,null),n=!0},p:function(t,n){var r=n[0];t[1]?o?(o.p(t,r),oe(o,1)):((o=me(t)).c(),oe(o,1),o.m(e,null)):o&&(ee(),re(o,1,1,(function(){o=null})),ne())},i:function(t){n||(oe(o),n=!0)},o:function(t){re(o),n=!1},d:function(t){t&&Lt(e),o&&o.d()}}}function be(t,e,n){var o,r=e.step;return t.$set=function(t){"step"in t&&n(0,r=t.step)},t.$$.update=function(){1&t.$$.dirty&&n(1,o=r.options.buttons)},[r,o]}var ye=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,be,ge,_t,{step:0}),n}return o(e,t),e}(fe);function xe(t){var e,n,o,r;return{c:function(){e=Mt("button"),(n=Mt("span")).textContent="×",At(n,"aria-hidden","true"),At(e,"aria-label",o=t[0].label?t[0].label:"Close Tour"),At(e,"class","shepherd-cancel-icon"),At(e,"type","button")},m:function(o,i){jt(o,e,i),It(e,n),r=Dt(e,"click",t[1])},p:function(t,n){1&n[0]&&o!==(o=t[0].label?t[0].label:"Close Tour")&&At(e,"aria-label",o)},i:wt,o:wt,d:function(t){t&&Lt(e),r()}}}function we(t,e,n){var o=e.cancelIcon,r=e.step;return t.$set=function(t){"cancelIcon"in t&&n(0,o=t.cancelIcon),"step"in t&&n(2,r=t.step)},[o,function(t){t.preventDefault(),r.cancel()},r]}var Oe=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,we,xe,_t,{cancelIcon:0,step:2}),n}return o(e,t),e}(fe);function $e(t){var e;return{c:function(){At(e=Mt("h3"),"id",t[1]),At(e,"class","shepherd-title")},m:function(n,o){jt(n,e,o),t[3](e)},p:function(t,n){2&n[0]&&At(e,"id",t[1])},i:wt,o:wt,d:function(n){n&&Lt(e),t[3](null)}}}function Ee(t,e,n){var o=e.labelId,r=e.element,i=e.title;return Nt((function(){l(i)&&n(2,i=i()),n(0,r.innerHTML=i,r)})),t.$set=function(t){"labelId"in t&&n(1,o=t.labelId),"element"in t&&n(0,r=t.element),"title"in t&&n(2,i=t.title)},[r,o,i,function(t){Yt[t?"unshift":"push"]((function(){n(0,r=t)}))}]}var Se=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,Ee,$e,_t,{labelId:1,element:0,title:2}),n}return o(e,t),e}(fe);function Te(t){var e,n=new Se({props:{labelId:t[0],title:t[2]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(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||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function _e(t){var e,n=new Oe({props:{cancelIcon:t[3],step:t[1]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(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||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function Ie(t){var e,n,o,r=t[2]&&Te(t),i=t[3]&&t[3].enabled&&_e(t);return{c:function(){e=Mt("header"),r&&r.c(),n=Ct(),i&&i.c(),At(e,"class","shepherd-header")},m:function(t,s){jt(t,e,s),r&&r.m(e,null),It(e,n),i&&i.m(e,null),o=!0},p:function(t,o){var s=o[0];t[2]?r?(r.p(t,s),oe(r,1)):((r=Te(t)).c(),oe(r,1),r.m(e,n)):r&&(ee(),re(r,1,1,(function(){r=null})),ne()),t[3]&&t[3].enabled?i?(i.p(t,s),oe(i,1)):((i=_e(t)).c(),oe(i,1),i.m(e,null)):i&&(ee(),re(i,1,1,(function(){i=null})),ne())},i:function(t){o||(oe(r),oe(i),o=!0)},o:function(t){re(r),re(i),o=!1},d:function(t){t&&Lt(e),r&&r.d(),i&&i.d()}}}function je(t,e,n){var o,r,i=e.labelId,s=e.step;return t.$set=function(t){"labelId"in t&&n(0,i=t.labelId),"step"in t&&n(1,s=t.step)},t.$$.update=function(){2&t.$$.dirty&&(n(2,o=s.options.title),n(3,r=s.options.cancelIcon))},[i,s,o,r]}var Le=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,je,Ie,_t,{labelId:0,step:1}),n}return o(e,t),e}(fe);function Me(t){var e;return{c:function(){At(e=Mt("div"),"class","shepherd-text"),At(e,"id",t[1])},m:function(n,o){jt(n,e,o),t[3](e)},p:function(t,n){2&n[0]&&At(e,"id",t[1])},i:wt,o:wt,d:function(n){n&&Lt(e),t[3](null)}}}function ke(t,e,n){var o=e.descriptionId,r=e.element,i=e.step;return Nt((function(){var t=i.options.text;l(t)&&(t=t.call(i)),f(t)?r.appendChild(t):n(0,r.innerHTML=t,r)})),t.$set=function(t){"descriptionId"in t&&n(1,o=t.descriptionId),"element"in t&&n(0,r=t.element),"step"in t&&n(2,i=t.step)},[r,o,i,function(t){Yt[t?"unshift":"push"]((function(){n(0,r=t)}))}]}var Pe=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,ke,Me,_t,{descriptionId:1,element:0,step:2}),n}return o(e,t),e}(fe);function Ce(t){var e,n=new Pe({props:{descriptionId:t[0],step:t[2]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(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||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function De(t){var e,n=new ye({props:{step:t[2]}});return{c:function(){ie(n.$$.fragment)},m:function(t,o){se(n,t,o),e=!0},p:function(t,e){var o={};4&e&&(o.step=t[2]),n.$set(o)},i:function(t){e||(oe(n.$$.fragment,t),e=!0)},o:function(t){re(n.$$.fragment,t),e=!1},d:function(t){ae(n,t)}}}function Ae(t){var e,n,o,r,i=!d(t[2].options.text),s=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length,a=new Le({props:{labelId:t[1],step:t[2]}}),c=i&&Ce(t),u=s&&De(t);return{c:function(){e=Mt("div"),ie(a.$$.fragment),n=Ct(),c&&c.c(),o=Ct(),u&&u.c(),At(e,"class","shepherd-content")},m:function(t,i){jt(t,e,i),se(a,e,null),It(e,n),c&&c.m(e,null),It(e,o),u&&u.m(e,null),r=!0},p:function(t,n){var r=n[0],f={};2&r&&(f.labelId=t[1]),4&r&&(f.step=t[2]),a.$set(f),4&r&&(i=!d(t[2].options.text)),i?c?(c.p(t,r),oe(c,1)):((c=Ce(t)).c(),oe(c,1),c.m(e,o)):c&&(ee(),re(c,1,1,(function(){c=null})),ne()),4&r&&(s=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length),s?u?(u.p(t,r),oe(u,1)):((u=De(t)).c(),oe(u,1),u.m(e,null)):u&&(ee(),re(u,1,1,(function(){u=null})),ne())},i:function(t){r||(oe(a.$$.fragment,t),oe(c),oe(u),r=!0)},o:function(t){re(a.$$.fragment,t),re(c),re(u),r=!1},d:function(t){t&&Lt(e),ae(a),c&&c.d(),u&&u.d()}}}function Be(t,e,n){var o=e.descriptionId,r=e.labelId,i=e.step;return t.$set=function(t){"descriptionId"in t&&n(0,o=t.descriptionId),"labelId"in t&&n(1,r=t.labelId),"step"in t&&n(2,i=t.step)},[o,r,i]}var He=function(t){function e(e){var n;return ue(u(n=t.call(this)||this),e,Be,Ae,_t,{descriptionId:0,labelId:1,step:2}),n}return o(e,t),e}(fe);function Re(t){var e;return{c:function(){At(e=Mt("div"),"class","shepherd-arrow"),At(e,"data-popper-arrow","")},m:function(t,n){jt(t,e,n)},d:function(t){t&&Lt(e)}}}function Fe(t){for(var e,n,o,r,i=t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element&&Re(),s=new He({props:{descriptionId:t[2],labelId:t[3],step:t[4]}}),a=[{"aria-describedby":d(t[4].options.text)?null:t[2]},{"aria-labelledby":t[4].options.title?t[3]:null},t[1],{role:"dialog"},{tabindex:"0"}],c={},u=0;u<a.length;u+=1)c=Ot(c,a[u]);return{c:function(){e=Mt("div"),i&&i.c(),n=Ct(),ie(s.$$.fragment),Bt(e,c),Ht(e,"shepherd-has-cancel-icon",t[5]),Ht(e,"shepherd-has-title",t[6]),Ht(e,"shepherd-element",!0)},m:function(a,c){jt(a,e,c),i&&i.m(e,null),It(e,n),se(s,e,null),t[17](e),o=!0,r=Dt(e,"keydown",t[7])},p:function(t,o){var r=o[0];t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element?i||((i=Re()).c(),i.m(e,n)):i&&(i.d(1),i=null);var c={};4&r&&(c.descriptionId=t[2]),8&r&&(c.labelId=t[3]),16&r&&(c.step=t[4]),s.$set(c),Bt(e,function(t,e){for(var n={},o={},r={$$scope:1},i=t.length;i--;){var s=t[i],a=e[i];if(a){for(var c in s)c in a||(o[c]=1);for(var u in a)r[u]||(n[u]=a[u],r[u]=1);t[i]=a}else for(var f in s)r[f]=1}for(var l in o)l in n||(n[l]=void 0);return n}(a,[20&r&&{"aria-describedby":d(t[4].options.text)?null:t[2]},24&r&&{"aria-labelledby":t[4].options.title?t[3]:null},2&r&&t[1],{role:"dialog"},{tabindex:"0"}])),Ht(e,"shepherd-has-cancel-icon",t[5]),Ht(e,"shepherd-has-title",t[6]),Ht(e,"shepherd-element",!0)},i:function(t){o||(oe(s.$$.fragment,t),o=!0)},o:function(t){re(s.$$.fragment,t),o=!1},d:function(n){n&&Lt(e),i&&i.d(),ae(s),t[17](null),r()}}}function Ne(t){return t.split(" ").filter((function(t){return!!t.length}))}function We(t,e,n){var o,r,i,s,a=e.classPrefix,c=e.element,u=e.descriptionId,f=e.firstFocusableElement,l=e.focusableElements,d=e.labelId,h=e.lastFocusableElement,m=e.step,v=e.dataStepId;function g(){b(i),y(i=m.options.classes)}function b(t){if(p(t)){var e,n=Ne(t);if(n.length)(e=c.classList).remove.apply(e,n)}}function y(t){if(p(t)){var e,n=Ne(t);if(n.length)(e=c.classList).add.apply(e,n)}}s=function(){var t;n(1,((t={})["data-"+a+"shepherd-step-id"]=m.id,v=t)),n(9,l=c.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')),n(8,f=l[0]),n(10,h=l[l.length-1])},Ft().$$.on_mount.push(s),Nt((function(){i!==m.options.classes&&g()}));return t.$set=function(t){"classPrefix"in t&&n(11,a=t.classPrefix),"element"in t&&n(0,c=t.element),"descriptionId"in t&&n(2,u=t.descriptionId),"firstFocusableElement"in t&&n(8,f=t.firstFocusableElement),"focusableElements"in t&&n(9,l=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,r=m.options&&m.options.title))},[c,v,u,d,m,o,r,function(t){var e=m.tour;switch(t.keyCode){case 9:if(0===l.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,l,h,a,function(){return c},i,g,b,y,function(t){Yt[t?"unshift":"push"]((function(){n(0,c=t)}))}]}var Ye=function(t){function n(e){var n;return ue(u(n=t.call(this)||this),e,We,Fe,_t,{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}(fe);var qe=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,r={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:o.prototype.scroll||a,scrollIntoView:o.prototype.scrollIntoView},i=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):r.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])?r.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");r.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}):r.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(),i=this.getBoundingClientRect();n!==e.body?(h.call(this,n,n.scrollLeft+i.left-o.left,n.scrollTop+i.top-o.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})):t.scrollBy({left:i.left,top:i.top,behavior:"smooth"})}else r.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 u(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 l(t){var e=u(t,"Y")&&f(t,"Y"),n=u(t,"X")&&f(t,"X");return e||n}function p(t){for(;t!==e.body&&!1===l(t);)t=t.parentNode||t.host;return t}function d(e){var n,o,r,s,a=(i()-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,r=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,o,r),o===e.x&&r===e.y||t.requestAnimationFrame(d.bind(t,e))}function h(n,o,s){var c,u,f,l,p=i();n===e.body?(c=t,u=t.scrollX||t.pageXOffset,f=t.scrollY||t.pageYOffset,l=r.scroll):(c=n,u=n.scrollLeft,f=n.scrollTop,l=a),d({scrollable:c,method:l,startTime:p,startX:u,startY:f,x:o,y:s})}}}}));qe.polyfill;qe.polyfill();var Xe=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?gt(o.tour.options.classPrefix):"",o.styles=e.styles,m(u(o)),o._setOptions(n),u(o)||u(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),f(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(l(this.options.beforeShowPromise)){var e=this.options.beforeShowPromise();if(!d(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 Ye({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=bt(this).element;l(this.options.scrollToHandler)?this.options.scrollToHandler(e):f(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:"",r=[].concat(n.split(" "),o.split(" ")),i=new Set(r);return Array.from(i).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-"+xt(),o&&Object.keys(o).forEach((function(t){e.on(t,o[t],e)}))},n._setupElements=function(){d(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&v(this),yt(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();(this.target||document.body).classList.add(this.classPrefix+"shepherd-enabled",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}(h);function Ve(t){var e,n,o,r,i;return{c:function(){e=kt("svg"),At(n=kt("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"),At(e,"class",r=(t[2]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m:function(o,r){jt(o,e,r),It(e,n),t[16](e),i=Dt(e,"touchmove",t[3])},p:function(t,i){var s=i[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")&&At(n,"d",o),4&s&&r!==(r=(t[2]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&At(e,"class",r)},i:wt,o:wt,d:function(n){n&&Lt(e),t[16](null),i()}}}function Ue(t,e,n){var o=e.element,r=e.openingProperties,i=xt(),s=!1,a=void 0;c();function c(){n(1,r={height:0,x:0,y:0,width:0})}function u(){n(2,s=!1),h()}function f(t,e,o){if(void 0===o&&(o=0),t.getBoundingClientRect){var i=function(t,e){var n=t.getBoundingClientRect(),o=n.y||n.top,r=n.bottom||o+n.height;if(e){var i=e.getBoundingClientRect(),s=i.y||i.top,a=i.bottom||s+i.height;o=Math.max(o,s),r=Math.min(r,a)}return{y:o,height:Math.max(r-o,0)}}(t,e),s=i.y,a=i.height,c=t.getBoundingClientRect(),u=c.x,f=c.width,l=c.left;n(1,r={x:(u||l)-o,y:s-o,width:f+2*o,height:a+2*o})}}function l(){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,r=t.openingProperties)},[o,r,s,function(t){t.stopPropagation()},function(){return o},c,u,f,function(t){h(),t.tour.options.useModalOverlay?(m(t),l()):u()},l,a,i,p,d,h,m,function(t){Yt[t?"unshift":"push"]((function(){n(0,o=t)}))}]}var ze=function(t){function n(e){var n;return ue(u(n=t.call(this)||this),e,Ue,Ve,_t,{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}(fe),Ze=new h,Ke=function(t){function e(e){var n;void 0===e&&(e={}),m(u(n=t.call(this,e)||this));n.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},e),n.classPrefix=gt(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=u(n),Ze.trigger(e,t)}))})),n.modal=new ze({target:e.modalContainer||document.body,props:{classPrefix:n.classPrefix,styles:n.styles}}),n._setTourID(),u(n)||u(n)}o(e,t);var n=e.prototype;return n.addStep=function(t,e){var n=t;return n instanceof Xe?n.tour=this:n=new Xe(this,n),d(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 Ze.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=p(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),l(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}),Ze.activeTour=null,this.trigger("inactive",{tour:this}),this.modal.hide(),f(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()},n._setupActiveTour=function(){this.trigger("active",{tour:this}),Ze.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+"--"+xt()},e}(h);return Object.assign(Ze,{Tour:Ke,Step:Xe}),Ze}));
!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}));
//# sourceMappingURL=shepherd.min.js.map
{
"name": "shepherd.js",
"version": "7.0.3",
"version": "7.0.4",
"repository": {

@@ -57,4 +57,4 @@ "type": "git",

"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@babel/core": "^7.8.6",
"@babel/preset-env": "^7.8.6",
"@testing-library/jest-dom": "^5.1.1",

@@ -69,7 +69,7 @@ "@testing-library/svelte": "^1.11.0",

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

@@ -86,3 +86,3 @@ "eslint-plugin-svelte3": "^2.7.3",

"mutationobserver-shim": "^0.3.3",
"patch-package": "^6.2.0",
"patch-package": "^6.2.1",
"postcss": "^7.0.27",

@@ -92,3 +92,3 @@ "postinstall-postinstall": "^2.0.0",

"rimraf": "^3.0.2",
"rollup": "^1.31.1",
"rollup": "^1.32.0",
"rollup-plugin-analyzer": "^3.2.2",

@@ -95,0 +95,0 @@ "rollup-plugin-babel": "^4.3.3",

@@ -57,2 +57,4 @@ <p align="center">

**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

@@ -59,0 +61,0 @@ ----------------------------------------------------------

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

const target = this.target || document.body;
target.classList.add(`${this.classPrefix}shepherd-enabled`, `${this.classPrefix}shepherd-target`);
target.classList.add(`${this.classPrefix}shepherd-enabled`);
target.classList.add(`${this.classPrefix}shepherd-target`);
content.classList.add('shepherd-enabled');

@@ -362,0 +363,0 @@

@@ -121,11 +121,6 @@ import { createPopper } from '@popperjs/core';

popperOptions.modifiers = [
...step.options.popperOptions.modifiers,
...filteredModifiers
];
delete step.options.popperOptions.modifiers;
popperOptions.modifiers = Array.from(new Set([...filteredModifiers, ...step.options.popperOptions.modifiers]));
}
popperOptions = Object.assign(popperOptions, step.options.popperOptions);
popperOptions = Object.assign(step.options.popperOptions, popperOptions);
}

@@ -132,0 +127,0 @@

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

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