CoreFiles by mySites.guru
guidedtours-es5.min.js1 lines, 67,689 bytes, from Joomla_4.4.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.4.0-alpha2
md5
b734ffe49208023cd539aaa440e78116
sha1
f8123916a946568b55ebd5f37c209e830c7b7f16
sha256
5e5b2c3fe3b3b093106d967ced4f1061948aa729b37cb29a0fcd430c8b90f60d
!function(){"use strict";function t(){t=function(){return e};var e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof d?e:d,s=Object.create(i.prototype),a=new _(r||[]);return o(s,"_invoke",{value:S(t,n,a)}),s}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var p={};function d(){}function h(){}function v(){}var m={};u(m,s,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(O([])));y&&y!==n&&r.call(y,s)&&(m=y);var b=v.prototype=d.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(o,i,s,a){var c=f(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,s,a)}),(function(t){n("throw",t,s,a)})):e.resolve(l).then((function(t){u.value=t,s(u)}),(function(t){return n("throw",t,s,a)}))}a(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function S(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var s=n.delegate;if(s){var a=E(s,n);if(a){if(a===p)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=f(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function E(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=f(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function $(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach($,this),this.reset(!0)}function O(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return h.prototype=v,o(b,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:h,configurable:!0}),h.displayName=u(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},e.awrap=function(t){return{__await:t}},x(w.prototype),u(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var s=new w(l(t,n,r,o),i);return e.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},x(b),u(b,c,"Generator"),u(b,s,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=O,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return s.type="throw",s.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(a&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=t,s.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function e(t,e,n,r,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function n(t){return function(){var n=this,r=arguments;return new Promise((function(o,i){var s=t.apply(n,r);function a(t){e(s,o,i,a,c,"next",t)}function c(t){e(s,o,i,a,c,"throw",t)}a(void 0)}))}}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,i=void 0,"symbol"==typeof(i=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"))?i:String(i)),r)}var o,i}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,s(t,e)}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var c=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===u}(t)}(t)};var u="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(t,e){return!1!==e.clone&&e.isMergeableObject(t)?v((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function f(t,e,n){return t.concat(e).map((function(t){return l(t,n)}))}function p(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return Object.propertyIsEnumerable.call(t,e)})):[]}(t))}function d(t,e){try{return e in t}catch(t){return!1}}function h(t,e,n){var r={};return n.isMergeableObject(t)&&p(t).forEach((function(e){r[e]=l(t[e],n)})),p(e).forEach((function(o){(function(t,e){return d(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,o)||(d(t,o)&&n.isMergeableObject(e[o])?r[o]=function(t,e){if(!e.customMerge)return v;var n=e.customMerge(t);return"function"==typeof n?n:v}(o,n)(t[o],e[o],n):r[o]=l(e[o],n))})),r}function v(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||f,n.isMergeableObject=n.isMergeableObject||c,n.cloneUnlessOtherwiseSpecified=l;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):h(t,e,n):l(e,n)}v.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return v(t,n,e)}),{})};var m=v;function g(t){return t instanceof HTMLElement}function y(t){return"function"==typeof t}function b(t){return"string"==typeof t}function x(t){return void 0===t}var w=function(){function t(){}var e=t.prototype;return e.on=function(t,e,n,r){return void 0===r&&(r=!1),x(this.bindings)&&(this.bindings={}),x(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:r}),this},e.once=function(t,e,n){return this.on(t,e,n,!0)},e.off=function(t,e){var n=this;return x(this.bindings)||x(this.bindings[t])||(x(e)?delete this.bindings[t]:this.bindings[t].forEach((function(r,o){r.handler===e&&n.bindings[t].splice(o,1)}))),this},e.trigger=function(t){for(var e=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return!x(this.bindings)&&this.bindings[t]&&this.bindings[t].forEach((function(n,o){var i=n.ctx,s=n.handler,a=n.once,c=i||e;s.apply(c,r),a&&e.bindings[t].splice(o,1)})),this},t}();function S(t){for(var e=Object.getOwnPropertyNames(t.constructor.prototype),n=0;n<e.length;n++){var r=e[n],o=t[r];"constructor"!==r&&"function"==typeof o&&(t[r]=o.bind(t))}return t}function E(t){var e=t.options.advanceOn||{},n=e.event,r=e.selector;if(!n)return console.error("advanceOn was defined, but no event name was passed.");var o,i=function(t,e){return function(n){if(e.isOpen()){var r=e.el&&n.currentTarget===e.el;(!x(t)&&n.currentTarget.matches(t)||r)&&e.tour.next()}}}(r,t);try{o=document.querySelector(r)}catch(t){}if(!x(r)&&!o)return console.error("No element was found for the selector supplied to advanceOn: "+r);o?(o.addEventListener(n,i),t.on("destroy",(function(){return o.removeEventListener(n,i)}))):(document.body.addEventListener(n,i,!0),t.on("destroy",(function(){return document.body.removeEventListener(n,i,!0)})))}function $(t){return b(t)&&""!==t?"-"!==t.charAt(t.length-1)?t+"-":t:""}function T(t){return null==t||(!t.element||!t.on)}function _(){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 O(){return O=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},O.apply(this,arguments)}function I(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var L=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],k=["mainAxis","crossAxis","limiter"];function A(t){return t.split("-")[1]}function P(t){return"y"===t?"height":"width"}function C(t){return t.split("-")[0]}function j(t){return["top","bottom"].includes(C(t))?"x":"y"}function R(t,e,n){var r,o=t.reference,i=t.floating,s=o.x+o.width/2-i.width/2,a=o.y+o.height/2-i.height/2,c=j(e),u=P(c),l=o[u]/2-i[u]/2,f="x"===c;switch(C(e)){case"top":r={x:s,y:o.y-i.height};break;case"bottom":r={x:s,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:a};break;case"left":r={x:o.x-i.width,y:a};break;default:r={x:o.x,y:o.y}}switch(A(e)){case"start":r[c]-=l*(n&&f?-1:1);break;case"end":r[c]+=l*(n&&f?-1:1)}return r}var M=function(){var e=n(t().mark((function e(n,r,o){var i,s,a,c,u,l,f,p,d,h,v,m,g,y,b,x,w,S,E,$,T,_,I,L,k,A,P;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.placement,s=void 0===i?"bottom":i,a=o.strategy,c=void 0===a?"absolute":a,u=o.middleware,l=void 0===u?[]:u,f=o.platform,p=l.filter(Boolean),t.next=4,null==f.isRTL?void 0:f.isRTL(r);case 4:return d=t.sent,t.next=7,f.getElementRects({reference:n,floating:r,strategy:c});case 7:h=t.sent,v=R(h,s,d),m=v.x,g=v.y,y=s,b={},x=0,w=0;case 13:if(!(w<p.length)){t.next=46;break}return E=p[w],$=E.name,T=E.fn,t.next=17,T({x:m,y:g,initialPlacement:s,placement:y,strategy:c,middlewareData:b,rects:h,platform:f,elements:{reference:n,floating:r}});case 17:if(_=t.sent,I=_.x,L=_.y,k=_.data,A=_.reset,m=null!=I?I:m,g=null!=L?L:g,b=O({},b,((S={})[$]=O({},b[$],k),S)),!(A&&x<=50)){t.next=43;break}if(x++,"object"!=typeof A){t.next=41;break}if(A.placement&&(y=A.placement),!A.rects){t.next=38;break}if(!0!==A.rects){t.next=36;break}return t.next=33,f.getElementRects({reference:n,floating:r,strategy:c});case 33:t.t0=t.sent,t.next=37;break;case 36:t.t0=A.rects;case 37:h=t.t0;case 38:P=R(h,y,d),m=P.x,g=P.y;case 41:return w=-1,t.abrupt("continue",43);case 43:w++,t.next=13;break;case 46:return t.abrupt("return",{x:m,y:g,placement:y,strategy:c,middlewareData:b});case 47:case"end":return t.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function D(t){return"number"!=typeof t?function(t){return O({top:0,right:0,bottom:0,left:0},t)}(t):{top:t,right:t,bottom:t,left:t}}function N(t){return O({},t,{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}function F(t,e){return H.apply(this,arguments)}function H(){return H=n(t().mark((function e(n,r){var o,i,s,a,c,u,l,f,p,d,h,v,m,g,y,b,x,w,S,E,$,T,_,I,L;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===r&&(r={}),i=n.x,s=n.y,a=n.platform,c=n.rects,u=n.elements,l=n.strategy,p=(f=r).boundary,d=void 0===p?"clippingAncestors":p,h=f.rootBoundary,v=void 0===h?"viewport":h,m=f.elementContext,g=void 0===m?"floating":m,y=f.altBoundary,b=void 0!==y&&y,x=f.padding,w=D(void 0===x?0:x),S="floating"===g?"reference":"floating",E=u[b?S:g],t.t0=N,t.t1=a,t.next=10,null==a.isElement?void 0:a.isElement(E);case 10:if(t.t2=o=t.sent,null==t.t2){t.next=15;break}t.t3=o,t.next=16;break;case 15:t.t3=!0;case 16:if(!t.t3){t.next=20;break}t.t4=E,t.next=26;break;case 20:if(t.t5=E.contextElement,t.t5){t.next=25;break}return t.next=24,null==a.getDocumentElement?void 0:a.getDocumentElement(u.floating);case 24:t.t5=t.sent;case 25:t.t4=t.t5;case 26:return t.t6=t.t4,t.t7=d,t.t8=v,t.t9=l,t.t10={element:t.t6,boundary:t.t7,rootBoundary:t.t8,strategy:t.t9},t.next=33,t.t1.getClippingRect.call(t.t1,t.t10);case 33:return t.t11=t.sent,$=(0,t.t0)(t.t11),T="floating"===g?O({},c.floating,{x:i,y:s}):c.reference,t.next=38,null==a.getOffsetParent?void 0:a.getOffsetParent(u.floating);case 38:return _=t.sent,t.next=41,null==a.isElement?void 0:a.isElement(_);case 41:if(!t.sent){t.next=50;break}return t.next=44,null==a.getScale?void 0:a.getScale(_);case 44:if(t.t13=t.sent,t.t13){t.next=47;break}t.t13={x:1,y:1};case 47:t.t12=t.t13,t.next=51;break;case 50:t.t12={x:1,y:1};case 51:if(I=t.t12,t.t14=N,!a.convertOffsetParentRelativeRectToViewportRelativeRect){t.next=59;break}return t.next=56,a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:_,strategy:l});case 56:t.t15=t.sent,t.next=60;break;case 59:t.t15=T;case 60:return t.t16=t.t15,L=(0,t.t14)(t.t16),t.abrupt("return",{top:($.top-L.top+w.top)/I.y,bottom:(L.bottom-$.bottom+w.bottom)/I.y,left:($.left-L.left+w.left)/I.x,right:(L.right-$.right+w.right)/I.x});case 63:case"end":return t.stop()}}),e)}))),H.apply(this,arguments)}var U=Math.min,q=Math.max;function B(t,e,n){return q(t,U(e,n))}var G=function(e){return{name:"arrow",options:e,fn:function(r){return n(t().mark((function n(){var o,i,s,a,c,u,l,f,p,d,h,v,m,g,y,b,x,w,S,E,$,T,_,O,I,L,k,C,R,M,N,F;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=(s=e||{}).element,c=s.padding,u=void 0===c?0:c,l=r.x,f=r.y,p=r.placement,d=r.rects,h=r.platform,v=r.elements,null!=a){t.next=4;break}return t.abrupt("return",{});case 4:return m=D(u),g={x:l,y:f},y=j(p),b=P(y),t.next=10,h.getDimensions(a);case 10:return x=t.sent,S=(w="y"===y)?"top":"left",E=w?"bottom":"right",$=w?"clientHeight":"clientWidth",T=d.reference[b]+d.reference[y]-g[y]-d.floating[b],_=g[y]-d.reference[y],t.next=19,null==h.getOffsetParent?void 0:h.getOffsetParent(a);case 19:if(O=t.sent,I=O?O[$]:0,t.t0=!I,t.t0){t.next=26;break}return t.next=25,null==h.isElement?void 0:h.isElement(O);case 25:t.t0=!t.sent;case 26:if(!t.t0){t.next=28;break}I=v.floating[$]||d.floating[b];case 28:return L=T/2-_/2,k=m[S],C=I-x[b]-m[E],R=I/2-x[b]/2+L,M=B(k,R,C),N=null!=A(p)&&R!=M&&d.reference[b]/2-(R<k?m[S]:m[E])-x[b]/2<0,F=N?R<k?k-R:C-R:0,t.abrupt("return",((i={})[y]=g[y]-F,i.data=((o={})[y]=M,o.centerOffset=R-M,o),i));case 36:case"end":return t.stop()}}),n)})))()}}},J={left:"right",right:"left",bottom:"top",top:"bottom"};function V(t){return t.replace(/left|right|bottom|top/g,(function(t){return J[t]}))}function W(t,e,n){void 0===n&&(n=!1);var r=A(t),o=j(t),i=P(o),s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=V(s)),{main:s,cross:V(s)}}var Y={start:"end",end:"start"};function z(t){return t.replace(/start|end/g,(function(t){return Y[t]}))}function X(t){var e=V(t);return[z(t),e,z(e)]}function K(t,e,n,r){var o=A(t),i=function(t,e,n){var r=["left","right"],o=["right","left"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?["top","bottom"]:["bottom","top"];default:return[]}}(C(t),"start"===n,r);return o&&(i=i.map((function(t){return t+"-"+o})),e&&(i=i.concat(i.map(z)))),i}var Z=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(r){return n(t().mark((function n(){var o,i,s,a,c,u,l,f,p,d,h,v,m,g,y,b,x,w,S,E,$,T,_,O,k,A,P,j,R,M,D,N,H,U,q,B,G,J;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=r.placement,s=r.middlewareData,a=r.rects,c=r.initialPlacement,u=r.platform,l=r.elements,p=(f=e).mainAxis,d=void 0===p||p,h=f.crossAxis,v=void 0===h||h,m=f.fallbackPlacements,g=f.fallbackStrategy,y=void 0===g?"bestFit":g,b=f.fallbackAxisSideDirection,x=void 0===b?"none":b,w=f.flipAlignment,S=void 0===w||w,E=I(e,L),$=C(i),T=C(c)===c,t.next=6,null==u.isRTL?void 0:u.isRTL(l.floating);case 6:return _=t.sent,O=m||(T||!S?[V(c)]:X(c)),m||"none"===x||O.push.apply(O,K(c,S,x,_)),k=[c].concat(O),t.next=12,F(r,E);case 12:if(A=t.sent,P=[],j=(null==(o=s.flip)?void 0:o.overflows)||[],d&&P.push(A[$]),v&&(R=W(i,a,_),M=R.main,D=R.cross,P.push(A[M],A[D])),j=[].concat(j,[{placement:i,overflows:P}]),P.every((function(t){return t<=0}))){t.next=35;break}if(U=((null==(N=s.flip)?void 0:N.index)||0)+1,!(q=k[U])){t.next=23;break}return t.abrupt("return",{data:{index:U,overflows:j},reset:{placement:q}});case 23:if(B=null==(H=j.filter((function(t){return t.overflows[0]<=0})).sort((function(t,e){return t.overflows[1]-e.overflows[1]}))[0])?void 0:H.placement){t.next=33;break}t.t0=y,t.next="bestFit"===t.t0?28:"initialPlacement"===t.t0?31:33;break;case 28:return J=null==(G=j.map((function(t){return[t.placement,t.overflows.filter((function(t){return t>0})).reduce((function(t,e){return t+e}),0)]})).sort((function(t,e){return t[1]-e[1]}))[0])?void 0:G[0],J&&(B=J),t.abrupt("break",33);case 31:return B=c,t.abrupt("break",33);case 33:if(i===B){t.next=35;break}return t.abrupt("return",{reset:{placement:B}});case 35:return t.abrupt("return",{});case 36:case"end":return t.stop()}}),n)})))()}}};function Q(t){return"x"===t?"y":"x"}var tt,et=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(r){return n(t().mark((function n(){var o,i,s,a,c,u,l,f,p,d,h,v,m,g,y,b,x,w,S,E,$,T,_,L,A;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=r.x,s=r.y,a=r.placement,u=(c=e).mainAxis,l=void 0===u||u,f=c.crossAxis,p=void 0!==f&&f,d=c.limiter,h=void 0===d?{fn:function(t){return{x:t.x,y:t.y}}}:d,v=I(e,k),m={x:i,y:s},t.next=5,F(r,v);case 5:return g=t.sent,y=j(C(a)),b=Q(y),x=m[y],w=m[b],l&&(S="y"===y?"bottom":"right",E=x+g["y"===y?"top":"left"],$=x-g[S],x=B(E,x,$)),p&&(T="y"===b?"bottom":"right",_=w+g["y"===b?"top":"left"],L=w-g[T],w=B(_,w,L)),A=h.fn(O({},r,((o={})[y]=x,o[b]=w,o))),t.abrupt("return",O({},A,{data:{x:A.x-i,y:A.y-s}}));case 14:case"end":return t.stop()}}),n)})))()}}},nt=function(t){return void 0===t&&(t={}),{options:t,fn:function(e){var n,r=e.x,o=e.y,i=e.placement,s=e.rects,a=e.middlewareData,c=t,u=c.offset,l=void 0===u?0:u,f=c.mainAxis,p=void 0===f||f,d=c.crossAxis,h=void 0===d||d,v={x:r,y:o},m=j(i),g=Q(m),y=v[m],b=v[g],x="function"==typeof l?l(e):l,w="number"==typeof x?{mainAxis:x,crossAxis:0}:O({mainAxis:0,crossAxis:0},x);if(p){var S="y"===m?"height":"width",E=s.reference[m]-s.floating[S]+w.mainAxis,$=s.reference[m]+s.reference[S]-w.mainAxis;y<E?y=E:y>$&&(y=$)}if(h){var T,_,I="y"===m?"width":"height",L=["top","left"].includes(C(i)),k=s.reference[g]-s.floating[I]+(L&&(null==(T=a.offset)?void 0:T[g])||0)+(L?0:w.crossAxis),A=s.reference[g]+s.reference[I]+(L?0:(null==(_=a.offset)?void 0:_[g])||0)-(L?w.crossAxis:0);b<k?b=k:b>A&&(b=A)}return(n={})[m]=y,n[g]=b,n}}};function rt(t){var e;return(null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ot(t){return rt(t).getComputedStyle(t)}function it(t){return t instanceof rt(t).Node}function st(t){return it(t)?(t.nodeName||"").toLowerCase():""}function at(){if(tt)return tt;var t=navigator.userAgentData;return t&&Array.isArray(t.brands)?tt=t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function ct(t){return t instanceof rt(t).HTMLElement}function ut(t){return t instanceof rt(t).Element}function lt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof rt(t).ShadowRoot||t instanceof ShadowRoot)}function ft(t){var e=ot(t),n=e.overflow,r=e.overflowX,o=e.overflowY,i=e.display;return/auto|scroll|overlay|hidden|clip/.test(n+o+r)&&!["inline","contents"].includes(i)}function pt(t){return["table","td","th"].includes(st(t))}function dt(t){var e=/firefox/i.test(at()),n=ot(t),r=n.backdropFilter||n.WebkitBackdropFilter;return"none"!==n.transform||"none"!==n.perspective||!!r&&"none"!==r||e&&"filter"===n.willChange||e&&!!n.filter&&"none"!==n.filter||["transform","perspective"].some((function(t){return n.willChange.includes(t)}))||["paint","layout","strict","content"].some((function(t){var e=n.contain;return null!=e&&e.includes(t)}))}function ht(){return/^((?!chrome|android).)*safari/i.test(at())}function vt(t){return["html","body","#document"].includes(st(t))}var mt=Math.min,gt=Math.max,yt=Math.round;function bt(t){var e=ot(t),n=parseFloat(e.width),r=parseFloat(e.height),o=ct(t),i=o?t.offsetWidth:n,s=o?t.offsetHeight:r,a=yt(n)!==i||yt(r)!==s;return a&&(n=i,r=s),{width:n,height:r,fallback:a}}function xt(t){return ut(t)?t:t.contextElement}var wt={x:1,y:1};function St(t){var e=xt(t);if(!ct(e))return wt;var n=e.getBoundingClientRect(),r=bt(e),o=r.width,i=r.height,s=r.fallback,a=(s?yt(n.width):n.width)/o,c=(s?yt(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}function Et(t,e,n,r){var o,i;void 0===e&&(e=!1),void 0===n&&(n=!1);var s=t.getBoundingClientRect(),a=xt(t),c=wt;e&&(r?ut(r)&&(c=St(r)):c=St(t));var u=a?rt(a):window,l=ht()&&n,f=(s.left+(l&&(null==(o=u.visualViewport)?void 0:o.offsetLeft)||0))/c.x,p=(s.top+(l&&(null==(i=u.visualViewport)?void 0:i.offsetTop)||0))/c.y,d=s.width/c.x,h=s.height/c.y;if(a)for(var v=rt(a),m=r&&ut(r)?rt(r):r,g=v.frameElement;g&&r&&m!==v;){var y=St(g),b=g.getBoundingClientRect(),x=getComputedStyle(g);b.x+=(g.clientLeft+parseFloat(x.paddingLeft))*y.x,b.y+=(g.clientTop+parseFloat(x.paddingTop))*y.y,f*=y.x,p*=y.y,d*=y.x,h*=y.y,f+=b.x,p+=b.y,g=rt(g).frameElement}return N({width:d,height:h,x:f,y:p})}function $t(t){return((it(t)?t.ownerDocument:t.document)||window.document).documentElement}function Tt(t){return ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _t(t){return Et($t(t)).left+Tt(t).scrollLeft}function Ot(t){if("html"===st(t))return t;var e=t.assignedSlot||t.parentNode||lt(t)&&t.host||$t(t);return lt(e)?e.host:e}function It(t){var e=Ot(t);return vt(e)?e.ownerDocument.body:ct(e)&&ft(e)?e:It(e)}function Lt(t,e){var n;void 0===e&&(e=[]);var r=It(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),i=rt(r);return o?e.concat(i,i.visualViewport||[],ft(r)?r:[]):e.concat(r,Lt(r))}function kt(t,e,n){var r;if("viewport"===e)r=function(t,e){var n=rt(t),r=$t(t),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,a=0,c=0;if(o){i=o.width,s=o.height;var u=ht();(!u||u&&"fixed"===e)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:i,height:s,x:a,y:c}}(t,n);else if("document"===e)r=function(t){var e=$t(t),n=Tt(t),r=t.ownerDocument.body,o=gt(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=gt(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+_t(t),a=-n.scrollTop;return"rtl"===ot(r).direction&&(s+=gt(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}($t(t));else if(ut(e))r=function(t,e){var n=Et(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=ct(t)?St(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(e,n);else{var o=O({},e);if(ht()){var i,s,a=rt(t);o.x-=(null==(i=a.visualViewport)?void 0:i.offsetLeft)||0,o.y-=(null==(s=a.visualViewport)?void 0:s.offsetTop)||0}r=o}return N(r)}function At(t,e){return ct(t)&&"fixed"!==ot(t).position?e?e(t):t.offsetParent:null}function Pt(t,e){var n=rt(t);if(!ct(t))return n;for(var r=At(t,e);r&&pt(r)&&"static"===ot(r).position;)r=At(r,e);return r&&("html"===st(r)||"body"===st(r)&&"static"===ot(r).position&&!dt(r))?n:r||function(t){for(var e=Ot(t);ct(e)&&!vt(e);){if(dt(e))return e;e=Ot(e)}return null}(t)||n}function Ct(t,e,n){var r=ct(e),o=$t(e),i=Et(t,!0,"fixed"===n,e),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==st(e)||ft(o))&&(s=Tt(e)),ct(e)){var c=Et(e,!0);a.x=c.x+e.clientLeft,a.y=c.y+e.clientTop}else o&&(a.x=_t(o));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}var jt={getClippingRect:function(t){var e=t.element,n=t.boundary,r=t.rootBoundary,o=t.strategy,i="clippingAncestors"===n?function(t,e){var n=e.get(t);if(n)return n;for(var r=Lt(t).filter((function(t){return ut(t)&&"body"!==st(t)})),o=null,i="fixed"===ot(t).position,s=i?Ot(t):t;ut(s)&&!vt(s);){var a=ot(s),c=dt(s);"fixed"===a.position?o=null:(i?c||o:c||"static"!==a.position||!o||!["absolute","fixed"].includes(o.position))?o=a:r=r.filter((function(t){return t!==s})),s=Ot(s)}return e.set(t,r),r}(e,this._c):[].concat(n),s=[].concat(i,[r]),a=s[0],c=s.reduce((function(t,n){var r=kt(e,n,o);return t.top=gt(r.top,t.top),t.right=mt(r.right,t.right),t.bottom=mt(r.bottom,t.bottom),t.left=gt(r.left,t.left),t}),kt(e,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){var e=t.rect,n=t.offsetParent,r=t.strategy,o=ct(n),i=$t(n);if(n===i)return e;var s={scrollLeft:0,scrollTop:0},a={x:1,y:1},c={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==st(n)||ft(i))&&(s=Tt(n)),ct(n))){var u=Et(n);a=St(n),c.x=u.x+n.clientLeft,c.y=u.y+n.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+c.x,y:e.y*a.y-s.scrollTop*a.y+c.y}},isElement:ut,getDimensions:function(t){return bt(t)},getOffsetParent:Pt,getDocumentElement:$t,getScale:St,getElementRects:function(e){var r=this;return n(t().mark((function n(){var o,i,s,a,c;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.reference,i=e.floating,s=e.strategy,a=r.getOffsetParent||Pt,c=r.getDimensions,t.t0=Ct,t.t1=o,t.next=7,a(i);case 7:return t.t2=t.sent,t.t3=s,t.t4=(0,t.t0)(t.t1,t.t2,t.t3),t.t5=O,t.t6={x:0,y:0},t.next=14,c(i);case 14:return t.t7=t.sent,t.t8=(0,t.t5)(t.t6,t.t7),t.abrupt("return",{reference:t.t4,floating:t.t8});case 17:case"end":return t.stop()}}),n)})))()},getClientRects:function(t){return Array.from(t.getClientRects())},isRTL:function(t){return"rtl"===ot(t).direction}};var Rt,Mt=function(t,e,n){var r=new Map,o=O({platform:jt},n),i=O({},o.platform,{_c:r});return M(t,e,O({},o,{platform:i}))};function Dt(t){t.cleanup&&t.cleanup();var e=t._getResolvedAttachToOptions(),n=e.element,r=function(t,e){var n={strategy:"absolute",middleware:[]},r=function(t){if(t.options.arrow&&t.el)return t.el.querySelector(".shepherd-arrow");return!1}(e),o=T(t);o||(n.middleware.push(Z(),et({limiter:nt(),crossAxis:!0})),r&&n.middleware.push(G({element:r})),n.placement=t.on);return m(e.options.floatingUIOptions||{},n)}(e,t),o=T(e);o&&(n=document.body,t.shepherdElementComponent.getElement().classList.add("shepherd-centered"));return t.cleanup=function(t,e,n,r){void 0===r&&(r={});var o=r,i=o.ancestorScroll,s=void 0===i||i,a=o.ancestorResize,c=void 0===a||a,u=o.elementResize,l=void 0===u||u,f=o.animationFrame,p=void 0!==f&&f,d=s&&!p,h=d||c?[].concat(ut(t)?Lt(t):t.contextElement?Lt(t.contextElement):[],Lt(e)):[];h.forEach((function(t){d&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)}));var v,m=null;l&&(m=new ResizeObserver((function(){n()})),ut(t)&&!p&&m.observe(t),ut(t)||!t.contextElement||p||m.observe(t.contextElement),m.observe(e));var g=p?Et(t):null;return p&&function e(){var r=Et(t);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n(),g=r,v=requestAnimationFrame(e)}(),n(),function(){var t;h.forEach((function(t){d&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)})),null==(t=m)||t.disconnect(),m=null,p&&cancelAnimationFrame(v)}}(n,t.el,(function(){t.el?function(t,e,n,r){Mt(t,e.el,n).then(function(t,e){return function(n){var r=n.x,o=n.y,i=n.placement,s=n.middlewareData;return t.el?(e?Object.assign(t.el.style,{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}):Object.assign(t.el.style,{position:"absolute",left:r+"px",top:o+"px"}),t.el.dataset.popperPlacement=i,function(t,e){var n=t.querySelector(".shepherd-arrow");if(n&&e.arrow){var r=e.arrow,o=r.x,i=r.y;Object.assign(n.style,{left:null!=o?o+"px":"",top:null!=i?i+"px":""})}}(t.el,s),t):t}}(e,r)).then((function(t){return new Promise((function(e){setTimeout((function(){return e(t)}),300)}))})).then((function(t){t&&t.el&&t.el.focus({preventScroll:!0})}))}(n,t,r,o):t.cleanup()})),t.target=e.element,r}function Nt(){}function Ft(t,e){for(var n in e)t[n]=e[n];return t}function Ht(t){return t()}function Ut(){return Object.create(null)}function qt(t){t.forEach(Ht)}function Bt(t){return"function"==typeof t}function Gt(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function Jt(t,e){t.appendChild(e)}function Vt(t,e,n){t.insertBefore(e,n||null)}function Wt(t){t.parentNode&&t.parentNode.removeChild(t)}function Yt(t){return document.createElement(t)}function zt(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Xt(t){return document.createTextNode(t)}function Kt(){return Xt(" ")}function Zt(t,e,n,r){return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n,r)}}function Qt(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function te(t,e){var n=Object.getOwnPropertyDescriptors(t.__proto__);for(var r in e)null==e[r]?t.removeAttribute(r):"style"===r?t.style.cssText=e[r]:"__value"===r?t.value=t[r]=e[r]:n[r]&&n[r].set?t[r]=e[r]:Qt(t,r,e[r])}function ee(t,e,n){t.classList[n?"add":"remove"](e)}function ne(t){Rt=t}function re(){if(!Rt)throw new Error("Function called outside component initialization");return Rt}function oe(t){re().$$.after_update.push(t)}var ie=[],se=[],ae=[],ce=[],ue=Promise.resolve(),le=!1;function fe(t){ae.push(t)}var pe=new Set,de=0;function he(){if(0===de){var t=Rt;do{try{for(;de<ie.length;){var e=ie[de];de++,ne(e),ve(e.$$)}}catch(t){throw ie.length=0,de=0,t}for(ne(null),ie.length=0,de=0;se.length;)se.pop()();for(var n=0;n<ae.length;n+=1){var r=ae[n];pe.has(r)||(pe.add(r),r())}ae.length=0}while(ie.length);for(;ce.length;)ce.pop()();le=!1,pe.clear(),ne(t)}}function ve(t){if(null!==t.fragment){t.update(),qt(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(fe)}}var me,ge=new Set;function ye(){me={r:0,c:[],p:me}}function be(){me.r||qt(me.c),me=me.p}function xe(t,e){t&&t.i&&(ge.delete(t),t.i(e))}function we(t,e,n,r){if(t&&t.o){if(ge.has(t))return;ge.add(t),me.c.push((function(){ge.delete(t),r&&(n&&t.d(1),r())})),t.o(e)}else r&&r()}function Se(t){t&&t.c()}function Ee(t,e,n,r){var o=t.$$,i=o.fragment,s=o.after_update;i&&i.m(e,n),r||fe((function(){var e,n=t.$$.on_mount.map(Ht).filter(Bt);t.$$.on_destroy?(e=t.$$.on_destroy).push.apply(e,n):qt(n);t.$$.on_mount=[]})),s.forEach(fe)}function $e(t,e){var n,r,o,i=t.$$;null!==i.fragment&&(n=i.after_update,r=[],o=[],ae.forEach((function(t){return-1===n.indexOf(t)?r.push(t):o.push(t)})),o.forEach((function(t){return t()})),ae=r,qt(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function Te(t,e){-1===t.$$.dirty[0]&&(ie.push(t),le||(le=!0,ue.then(he)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function _e(t,e,n,r,o,i,s,a){void 0===a&&(a=[-1]);var c=Rt;ne(t);var u=t.$$={fragment:null,ctx:[],props:i,update:Nt,not_equal:o,bound:Ut(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Ut(),dirty:a,skip_bound:!1,root:e.target||c.$$.root};s&&s(u.root);var l=!1;if(u.ctx=n?n(t,e.props||{},(function(e,n){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return u.ctx&&o(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),l&&Te(t,e)),n})):[],u.update(),l=!0,qt(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){var f=function(t){return Array.from(t.childNodes)}(e.target);u.fragment&&u.fragment.l(f),f.forEach(Wt)}else u.fragment&&u.fragment.c();e.intro&&xe(t.$$.fragment),Ee(t,e.target,e.anchor,e.customElement),he()}ne(c)}var Oe=function(){function t(){}var e=t.prototype;return e.$destroy=function(){$e(this,1),this.$destroy=Nt},e.$on=function(t,e){if(!Bt(e))return Nt;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){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)},t}();function Ie(t){var e,n,r,o,i;return{c:function(){Qt(e=Yt("button"),"aria-label",n=t[3]?t[3]:null),Qt(e,"class",r=(t[1]||"")+" shepherd-button "+(t[4]?"shepherd-button-secondary":"")),e.disabled=t[2],Qt(e,"tabindex","0")},m:function(n,r){Vt(n,e,r),e.innerHTML=t[5],o||(i=Zt(e,"click",(function(){Bt(t[0])&&t[0].apply(this,arguments)})),o=!0)},p:function(o,i){var s=i[0];t=o,32&s&&(e.innerHTML=t[5]),8&s&&n!==(n=t[3]?t[3]:null)&&Qt(e,"aria-label",n),18&s&&r!==(r=(t[1]||"")+" shepherd-button "+(t[4]?"shepherd-button-secondary":""))&&Qt(e,"class",r),4&s&&(e.disabled=t[2])},i:Nt,o:Nt,d:function(t){t&&Wt(e),o=!1,i()}}}function Le(t,e,n){var r,o,i,s,a,c,u=e.config,l=e.step;function f(t){return y(t)?t.call(l):t}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,r=u.action?u.action.bind(l.tour):null),n(1,o=u.classes),n(2,i=!!u.disabled&&f(u.disabled)),n(3,s=u.label?f(u.label):null),n(4,a=u.secondary),n(5,c=u.text?f(u.text):null))},[r,o,i,s,a,c,u,l]}var ke=function(t){function e(e){var n;return _e(a(n=t.call(this)||this),e,Le,Ie,Gt,{config:6,step:7}),n}return i(e,t),e}(Oe);function Ae(t,e,n){var r=t.slice();return r[2]=e[n],r}function Pe(t){for(var e,n,r=t[1],o=[],i=0;i<r.length;i+=1)o[i]=Ce(Ae(t,r,i));var s=function(t){return we(o[t],1,1,(function(){o[t]=null}))};return{c:function(){for(var t=0;t<o.length;t+=1)o[t].c();e=Xt("")},m:function(t,r){for(var i=0;i<o.length;i+=1)o[i]&&o[i].m(t,r);Vt(t,e,r),n=!0},p:function(t,n){if(3&n){var i;for(r=t[1],i=0;i<r.length;i+=1){var a=Ae(t,r,i);o[i]?(o[i].p(a,n),xe(o[i],1)):(o[i]=Ce(a),o[i].c(),xe(o[i],1),o[i].m(e.parentNode,e))}for(ye(),i=r.length;i<o.length;i+=1)s(i);be()}},i:function(t){if(!n){for(var e=0;e<r.length;e+=1)xe(o[e]);n=!0}},o:function(t){o=o.filter(Boolean);for(var e=0;e<o.length;e+=1)we(o[e]);n=!1},d:function(t){!function(t,e){for(var n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}(o,t),t&&Wt(e)}}}function Ce(t){var e,n;return e=new ke({props:{config:t[2],step:t[0]}}),{c:function(){Se(e.$$.fragment)},m:function(t,r){Ee(e,t,r),n=!0},p:function(t,n){var r={};2&n&&(r.config=t[2]),1&n&&(r.step=t[0]),e.$set(r)},i:function(t){n||(xe(e.$$.fragment,t),n=!0)},o:function(t){we(e.$$.fragment,t),n=!1},d:function(t){$e(e,t)}}}function je(t){var e,n,r=t[1]&&Pe(t);return{c:function(){e=Yt("footer"),r&&r.c(),Qt(e,"class","shepherd-footer")},m:function(t,o){Vt(t,e,o),r&&r.m(e,null),n=!0},p:function(t,n){var o=n[0];t[1]?r?(r.p(t,o),2&o&&xe(r,1)):((r=Pe(t)).c(),xe(r,1),r.m(e,null)):r&&(ye(),we(r,1,1,(function(){r=null})),be())},i:function(t){n||(xe(r),n=!0)},o:function(t){we(r),n=!1},d:function(t){t&&Wt(e),r&&r.d()}}}function Re(t,e,n){var r,o=e.step;return t.$$set=function(t){"step"in t&&n(0,o=t.step)},t.$$.update=function(){1&t.$$.dirty&&n(1,r=o.options.buttons)},[o,r]}var Me=function(t){function e(e){var n;return _e(a(n=t.call(this)||this),e,Re,je,Gt,{step:0}),n}return i(e,t),e}(Oe);function De(t){var e,n,r,o,i;return{c:function(){e=Yt("button"),(n=Yt("span")).textContent="×",Qt(n,"aria-hidden","true"),Qt(e,"aria-label",r=t[0].label?t[0].label:"Close Tour"),Qt(e,"class","shepherd-cancel-icon"),Qt(e,"type","button")},m:function(r,s){Vt(r,e,s),Jt(e,n),o||(i=Zt(e,"click",t[1]),o=!0)},p:function(t,n){1&n[0]&&r!==(r=t[0].label?t[0].label:"Close Tour")&&Qt(e,"aria-label",r)},i:Nt,o:Nt,d:function(t){t&&Wt(e),o=!1,i()}}}function Ne(t,e,n){var r=e.cancelIcon,o=e.step;return t.$$set=function(t){"cancelIcon"in t&&n(0,r=t.cancelIcon),"step"in t&&n(2,o=t.step)},[r,function(t){t.preventDefault(),o.cancel()},o]}var Fe=function(t){function e(e){var n;return _e(a(n=t.call(this)||this),e,Ne,De,Gt,{cancelIcon:0,step:2}),n}return i(e,t),e}(Oe);function He(t){var e;return{c:function(){Qt(e=Yt("h3"),"id",t[1]),Qt(e,"class","shepherd-title")},m:function(n,r){Vt(n,e,r),t[3](e)},p:function(t,n){2&n[0]&&Qt(e,"id",t[1])},i:Nt,o:Nt,d:function(n){n&&Wt(e),t[3](null)}}}function Ue(t,e,n){var r=e.labelId,o=e.element,i=e.title;return oe((function(){y(i)&&n(2,i=i()),n(0,o.innerHTML=i,o)})),t.$$set=function(t){"labelId"in t&&n(1,r=t.labelId),"element"in t&&n(0,o=t.element),"title"in t&&n(2,i=t.title)},[o,r,i,function(t){se[t?"unshift":"push"]((function(){n(0,o=t)}))}]}var qe=function(t){function e(e){var n;return _e(a(n=t.call(this)||this),e,Ue,He,Gt,{labelId:1,element:0,title:2}),n}return i(e,t),e}(Oe);function Be(t){var e,n;return e=new qe({props:{labelId:t[0],title:t[2]}}),{c:function(){Se(e.$$.fragment)},m:function(t,r){Ee(e,t,r),n=!0},p:function(t,n){var r={};1&n&&(r.labelId=t[0]),4&n&&(r.title=t[2]),e.$set(r)},i:function(t){n||(xe(e.$$.fragment,t),n=!0)},o:function(t){we(e.$$.fragment,t),n=!1},d:function(t){$e(e,t)}}}function Ge(t){var e,n;return e=new Fe({props:{cancelIcon:t[3],step:t[1]}}),{c:function(){Se(e.$$.fragment)},m:function(t,r){Ee(e,t,r),n=!0},p:function(t,n){var r={};8&n&&(r.cancelIcon=t[3]),2&n&&(r.step=t[1]),e.$set(r)},i:function(t){n||(xe(e.$$.fragment,t),n=!0)},o:function(t){we(e.$$.fragment,t),n=!1},d:function(t){$e(e,t)}}}function Je(t){var e,n,r,o=t[2]&&Be(t),i=t[3]&&t[3].enabled&&Ge(t);return{c:function(){e=Yt("header"),o&&o.c(),n=Kt(),i&&i.c(),Qt(e,"class","shepherd-header")},m:function(t,s){Vt(t,e,s),o&&o.m(e,null),Jt(e,n),i&&i.m(e,null),r=!0},p:function(t,r){var s=r[0];t[2]?o?(o.p(t,s),4&s&&xe(o,1)):((o=Be(t)).c(),xe(o,1),o.m(e,n)):o&&(ye(),we(o,1,1,(function(){o=null})),be()),t[3]&&t[3].enabled?i?(i.p(t,s),8&s&&xe(i,1)):((i=Ge(t)).c(),xe(i,1),i.m(e,null)):i&&(ye(),we(i,1,1,(function(){i=null})),be())},i:function(t){r||(xe(o),xe(i),r=!0)},o:function(t){we(o),we(i),r=!1},d:function(t){t&&Wt(e),o&&o.d(),i&&i.d()}}}function Ve(t,e,n){var r,o,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,r=s.options.title),n(3,o=s.options.cancelIcon))},[i,s,r,o]}var We=function(t){function e(e){var n;return _e(a(n=t.call(this)||this),e,Ve,Je,Gt,{labelId:0,step:1}),n}return i(e,t),e}(Oe);function Ye(t){var e;return{c:function(){Qt(e=Yt("div"),"class","shepherd-text"),Qt(e,"id",t[1])},m:function(n,r){Vt(n,e,r),t[3](e)},p:function(t,n){2&n[0]&&Qt(e,"id",t[1])},i:Nt,o:Nt,d:function(n){n&&Wt(e),t[3](null)}}}function ze(t,e,n){var r=e.descriptionId,o=e.element,i=e.step;return oe((function(){var t=i.options.text;y(t)&&(t=t.call(i)),g(t)?o.appendChild(t):n(0,o.innerHTML=t,o)})),t.$$set=function(t){"descriptionId"in t&&n(1,r=t.descriptionId),"element"in t&&n(0,o=t.element),"step"in t&&n(2,i=t.step)},[o,r,i,function(t){se[t?"unshift":"push"]((function(){n(0,o=t)}))}]}var Xe=function(t){function e(e){var n;return _e(a(n=t.call(this)||this),e,ze,Ye,Gt,{descriptionId:1,element:0,step:2}),n}return i(e,t),e}(Oe);function Ke(t){var e,n;return e=new We({props:{labelId:t[1],step:t[2]}}),{c:function(){Se(e.$$.fragment)},m:function(t,r){Ee(e,t,r),n=!0},p:function(t,n){var r={};2&n&&(r.labelId=t[1]),4&n&&(r.step=t[2]),e.$set(r)},i:function(t){n||(xe(e.$$.fragment,t),n=!0)},o:function(t){we(e.$$.fragment,t),n=!1},d:function(t){$e(e,t)}}}function Ze(t){var e,n;return e=new Xe({props:{descriptionId:t[0],step:t[2]}}),{c:function(){Se(e.$$.fragment)},m:function(t,r){Ee(e,t,r),n=!0},p:function(t,n){var r={};1&n&&(r.descriptionId=t[0]),4&n&&(r.step=t[2]),e.$set(r)},i:function(t){n||(xe(e.$$.fragment,t),n=!0)},o:function(t){we(e.$$.fragment,t),n=!1},d:function(t){$e(e,t)}}}function Qe(t){var e,n;return e=new Me({props:{step:t[2]}}),{c:function(){Se(e.$$.fragment)},m:function(t,r){Ee(e,t,r),n=!0},p:function(t,n){var r={};4&n&&(r.step=t[2]),e.$set(r)},i:function(t){n||(xe(e.$$.fragment,t),n=!0)},o:function(t){we(e.$$.fragment,t),n=!1},d:function(t){$e(e,t)}}}function tn(t){var e,n,r,o,i=!x(t[2].options.title)||t[2].options.cancelIcon&&t[2].options.cancelIcon.enabled,s=!x(t[2].options.text),a=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length,c=i&&Ke(t),u=s&&Ze(t),l=a&&Qe(t);return{c:function(){e=Yt("div"),c&&c.c(),n=Kt(),u&&u.c(),r=Kt(),l&&l.c(),Qt(e,"class","shepherd-content")},m:function(t,i){Vt(t,e,i),c&&c.m(e,null),Jt(e,n),u&&u.m(e,null),Jt(e,r),l&&l.m(e,null),o=!0},p:function(t,o){var f=o[0];4&f&&(i=!x(t[2].options.title)||t[2].options.cancelIcon&&t[2].options.cancelIcon.enabled),i?c?(c.p(t,f),4&f&&xe(c,1)):((c=Ke(t)).c(),xe(c,1),c.m(e,n)):c&&(ye(),we(c,1,1,(function(){c=null})),be()),4&f&&(s=!x(t[2].options.text)),s?u?(u.p(t,f),4&f&&xe(u,1)):((u=Ze(t)).c(),xe(u,1),u.m(e,r)):u&&(ye(),we(u,1,1,(function(){u=null})),be()),4&f&&(a=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length),a?l?(l.p(t,f),4&f&&xe(l,1)):((l=Qe(t)).c(),xe(l,1),l.m(e,null)):l&&(ye(),we(l,1,1,(function(){l=null})),be())},i:function(t){o||(xe(c),xe(u),xe(l),o=!0)},o:function(t){we(c),we(u),we(l),o=!1},d:function(t){t&&Wt(e),c&&c.d(),u&&u.d(),l&&l.d()}}}function en(t,e,n){var r=e.descriptionId,o=e.labelId,i=e.step;return t.$$set=function(t){"descriptionId"in t&&n(0,r=t.descriptionId),"labelId"in t&&n(1,o=t.labelId),"step"in t&&n(2,i=t.step)},[r,o,i]}var nn=function(t){function e(e){var n;return _e(a(n=t.call(this)||this),e,en,tn,Gt,{descriptionId:0,labelId:1,step:2}),n}return i(e,t),e}(Oe);function rn(t){var e;return{c:function(){Qt(e=Yt("div"),"class","shepherd-arrow"),Qt(e,"data-popper-arrow","")},m:function(t,n){Vt(t,e,n)},d:function(t){t&&Wt(e)}}}function on(t){var e,n,r,o,i,s,a,c,u=t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element&&t[4].options.attachTo.on&&rn();r=new nn({props:{descriptionId:t[2],labelId:t[3],step:t[4]}});for(var l=[{"aria-describedby":o=x(t[4].options.text)?null:t[2]},{"aria-labelledby":i=t[4].options.title?t[3]:null},t[1],{role:"dialog"},{tabindex:"0"}],f={},p=0;p<l.length;p+=1)f=Ft(f,l[p]);return{c:function(){e=Yt("div"),u&&u.c(),n=Kt(),Se(r.$$.fragment),te(e,f),ee(e,"shepherd-has-cancel-icon",t[5]),ee(e,"shepherd-has-title",t[6]),ee(e,"shepherd-element",!0)},m:function(o,i){Vt(o,e,i),u&&u.m(e,null),Jt(e,n),Ee(r,e,null),t[13](e),s=!0,a||(c=Zt(e,"keydown",t[7]),a=!0)},p:function(t,a){var c=a[0];t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element&&t[4].options.attachTo.on?u||((u=rn()).c(),u.m(e,n)):u&&(u.d(1),u=null);var p={};4&c&&(p.descriptionId=t[2]),8&c&&(p.labelId=t[3]),16&c&&(p.step=t[4]),r.$set(p),te(e,f=function(t,e){for(var n={},r={},o={$$scope:1},i=t.length;i--;){var s=t[i],a=e[i];if(a){for(var c in s)c in a||(r[c]=1);for(var u in a)o[u]||(n[u]=a[u],o[u]=1);t[i]=a}else for(var l in s)o[l]=1}for(var f in r)f in n||(n[f]=void 0);return n}(l,[(!s||20&c&&o!==(o=x(t[4].options.text)?null:t[2]))&&{"aria-describedby":o},(!s||24&c&&i!==(i=t[4].options.title?t[3]:null))&&{"aria-labelledby":i},2&c&&t[1],{role:"dialog"},{tabindex:"0"}])),ee(e,"shepherd-has-cancel-icon",t[5]),ee(e,"shepherd-has-title",t[6]),ee(e,"shepherd-element",!0)},i:function(t){s||(xe(r.$$.fragment,t),s=!0)},o:function(t){we(r.$$.fragment,t),s=!1},d:function(n){n&&Wt(e),u&&u.d(),$e(r),t[13](null),a=!1,c()}}}function sn(t){return t.split(" ").filter((function(t){return!!t.length}))}function an(t,e,n){var r,o,i,s,a=e.classPrefix,c=e.element,u=e.descriptionId,l=e.firstFocusableElement,f=e.focusableElements,p=e.labelId,d=e.lastFocusableElement,h=e.step,v=e.dataStepId;s=function(){var t;n(1,((t={})["data-"+a+"shepherd-step-id"]=h.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,d=f[f.length-1])},re().$$.on_mount.push(s),oe((function(){i!==h.options.classes&&(function(t){if(b(t)){var e,n=sn(t);n.length&&(e=c.classList).remove.apply(e,n)}}(i),function(t){if(b(t)){var e,n=sn(t);n.length&&(e=c.classList).add.apply(e,n)}}(i=h.options.classes))}));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,p=t.labelId),"lastFocusableElement"in t&&n(10,d=t.lastFocusableElement),"step"in t&&n(4,h=t.step),"dataStepId"in t&&n(1,v=t.dataStepId)},t.$$.update=function(){16&t.$$.dirty&&(n(5,r=h.options&&h.options.cancelIcon&&h.options.cancelIcon.enabled),n(6,o=h.options&&h.options.title))},[c,v,u,p,h,r,o,function(t){var e=h.tour;switch(t.keyCode){case 9:if(0===f.length){t.preventDefault();break}t.shiftKey?(document.activeElement===l||document.activeElement.classList.contains("shepherd-element"))&&(t.preventDefault(),d.focus()):document.activeElement===d&&(t.preventDefault(),l.focus());break;case 27:e.options.exitOnEsc&&h.cancel();break;case 37:e.options.keyboardNavigation&&e.back();break;case 39:e.options.keyboardNavigation&&e.next()}},l,f,d,a,function(){return c},function(t){se[t?"unshift":"push"]((function(){n(0,c=t)}))}]}var cn=function(t){function e(e){var n;return _e(a(n=t.call(this)||this),e,an,on,Gt,{classPrefix:11,element:0,descriptionId:2,firstFocusableElement:8,focusableElements:9,labelId:3,lastFocusableElement:10,step:4,dataStepId:1,getElement:12}),n}return i(e,t),o(e,[{key:"getElement",get:function(){return this.$$.ctx[12]}}]),e}(Oe),un=function(t){function e(e,n){var r;return void 0===n&&(n={}),(r=t.call(this,e,n)||this).tour=e,r.classPrefix=r.tour.options?$(r.tour.options.classPrefix):"",r.styles=e.styles,r._resolvedAttachTo=null,S(a(r)),r._setOptions(n),a(r)||a(r)}i(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(){var t;(t=this).cleanup&&t.cleanup(),t.cleanup=null,g(this.el)&&(this.el.remove(),this.el=null),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._updateStepTargetOnHide(),this.trigger("hide")},n._resolveAttachToOptions=function(){return this._resolvedAttachTo=function(t){var e=t.options.attachTo||{},n=Object.assign({},e);if(y(n.element)&&(n.element=n.element.call(t)),b(n.element)){try{n.element=document.querySelector(n.element)}catch(t){}n.element||console.error("The element for this Shepherd step was not found "+e.element)}return n}(this),this._resolvedAttachTo},n._getResolvedAttachToOptions=function(){return null===this._resolvedAttachTo?this._resolveAttachToOptions():this._resolvedAttachTo},n.isOpen=function(){return Boolean(this.el&&!this.el.hidden)},n.show=function(){var t=this;return y(this.options.beforeShowPromise)?Promise.resolve(this.options.beforeShowPromise()).then((function(){return t._show()})):Promise.resolve(this._show())},n.updateStepOptions=function(t){Object.assign(this.options,t),this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})},n.getElement=function(){return this.el},n.getTarget=function(){return this.target},n._createTooltipContent=function(){var t=this.id+"-description",e=this.id+"-label";return this.shepherdElementComponent=new cn({target:this.tour.options.stepsContainer||document.body,props:{classPrefix:this.classPrefix,descriptionId:t,labelId:e,step:this,styles:this.styles}}),this.shepherdElementComponent.getElement()},n._scrollTo=function(t){var e=this._getResolvedAttachToOptions().element;y(this.options.scrollToHandler)?this.options.scrollToHandler(e):e instanceof Element&&"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:"",r=e&&e.classes?e.classes:"",o=[].concat(n.split(" "),r.split(" ")),i=new Set(o);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;n=m({},n||{}),this.options=Object.assign({arrow:!0},n,t,function(t,e){return{floatingUIOptions:m(t.floatingUIOptions||{},e.floatingUIOptions||{})}}(n,t));var r=this.options.when;this.options.classes=this._getClassOptions(t),this.destroy(),this.id=this.options.id||"step-"+_(),r&&Object.keys(r).forEach((function(t){e.on(t,r[t],e)}))},n._setupElements=function(){x(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&E(this),Dt(this)},n._show=function(){var t=this;this.trigger("before-show"),this._resolveAttachToOptions(),this._setupElements(),this.tour.modal||this.tour._setupModal(),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),e.classList.remove("shepherd-target-click-disabled"),!1===t.options.canClickTarget&&e.classList.add("shepherd-target-click-disabled"))},n._updateStepTargetOnHide=function(){var t=this.target||document.body;this.options.highlightClass&&t.classList.remove(this.options.highlightClass),t.classList.remove("shepherd-target-click-disabled",this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target")},e}(w);function ln(t){var e,n,r,o,i;return{c:function(){e=zt("svg"),Qt(n=zt("path"),"d",t[2]),Qt(e,"class",r=(t[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m:function(r,s){Vt(r,e,s),Jt(e,n),t[11](e),o||(i=Zt(e,"touchmove",t[3]),o=!0)},p:function(t,o){var i=o[0];4&i&&Qt(n,"d",t[2]),2&i&&r!==(r=(t[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&Qt(e,"class",r)},i:Nt,o:Nt,d:function(n){n&&Wt(e),t[11](null),o=!1,i()}}}function fn(t){if(!t)return null;var e=t instanceof HTMLElement&&window.getComputedStyle(t).overflowY;return"hidden"!==e&&"visible"!==e&&t.scrollHeight>=t.clientHeight?t:fn(t.parentElement)}function pn(t,e,n){var r=e.element,o=e.openingProperties;_();var i,s=!1,a=void 0;c();function c(){n(4,o={width:0,height:0,x:0,y:0,r:0})}function u(){n(1,s=!1),d()}function l(t,e,r,i){if(void 0===t&&(t=0),void 0===e&&(e=0),i){var s=function(t,e){var n=t.getBoundingClientRect(),r=n.y||n.top,o=n.bottom||r+n.height;if(e){var i=e.getBoundingClientRect(),s=i.y||i.top,a=i.bottom||s+i.height;r=Math.max(r,s),o=Math.min(o,a)}return{y:r,height:Math.max(o-r,0)}}(i,r),a=s.y,u=s.height,l=i.getBoundingClientRect(),f=l.x,p=l.width,d=l.left;n(4,o={width:p+2*t,height:u+2*t,x:(f||d)-t,y:a-t,r:e})}else c()}function f(){n(1,s=!0)}var p=function(t){t.preventDefault()};function d(){a&&(cancelAnimationFrame(a),a=void 0),window.removeEventListener("touchmove",p,{passive:!1})}return t.$$set=function(t){"element"in t&&n(0,r=t.element),"openingProperties"in t&&n(4,o=t.openingProperties)},t.$$.update=function(){var e,r,s,a,c,u,l,f,p,d,h,v,m,g,y,b,x,w,S,E,$;16&t.$$.dirty&&n(2,(r=(e=o).width,s=e.height,a=e.x,c=void 0===a?0:a,u=e.y,l=void 0===u?0:u,f=e.r,p=void 0===f?0:f,d=window,h=d.innerWidth,v=d.innerHeight,g=(m="number"==typeof p?{topLeft:p,topRight:p,bottomRight:p,bottomLeft:p}:p).topLeft,y=void 0===g?0:g,b=m.topRight,x=void 0===b?0:b,w=m.bottomRight,S=void 0===w?0:w,E=m.bottomLeft,i="M"+h+","+v+"H0V0H"+h+"V"+v+"ZM"+(c+y)+","+l+"a"+y+","+y+",0,0,0-"+y+","+y+"V"+(s+l-($=void 0===E?0:E))+"a"+$+","+$+",0,0,0,"+$+","+$+"H"+(r+c-S)+"a"+S+","+S+",0,0,0,"+S+"-"+S+"V"+(l+x)+"a"+x+","+x+",0,0,0-"+x+"-"+x+"Z"))},[r,s,i,function(t){t.stopPropagation()},o,function(){return r},c,u,l,function(t){d(),t.tour.options.useModalOverlay?(!function(t){var e=t.options,n=e.modalOverlayOpeningPadding,r=e.modalOverlayOpeningRadius,o=fn(t.target),i=function e(){a=void 0,l(n,r,o,t.target),a=requestAnimationFrame(e)};i(),window.addEventListener("touchmove",p,{passive:!1})}(t),f()):u()},f,function(t){se[t?"unshift":"push"]((function(){n(0,r=t)}))}]}var dn=function(t){function e(e){var n;return _e(a(n=t.call(this)||this),e,pn,ln,Gt,{element:0,openingProperties:4,getElement:5,closeModalOpening:6,hide:7,positionModal:8,setupForStep:9,show:10}),n}return i(e,t),o(e,[{key:"getElement",get:function(){return this.$$.ctx[5]}},{key:"closeModalOpening",get:function(){return this.$$.ctx[6]}},{key:"hide",get:function(){return this.$$.ctx[7]}},{key:"positionModal",get:function(){return this.$$.ctx[8]}},{key:"setupForStep",get:function(){return this.$$.ctx[9]}},{key:"show",get:function(){return this.$$.ctx[10]}}]),e}(Oe),hn=new w,vn=function(e){function r(t){var n;void 0===t&&(t={}),S(a(n=e.call(this,t)||this));n.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},t),n.classPrefix=$(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=a(n),hn.trigger(e,t)}))})),n._setTourID(),a(n)||a(n)}i(r,e);var o=r.prototype;return o.addStep=function(t,e){var n=t;return n instanceof un?n.tour=this:n=new un(this,n),x(e)?this.steps.push(n):this.steps.splice(e,0,n),n},o.addSteps=function(t){var e=this;return Array.isArray(t)&&t.forEach((function(t){e.addStep(t)})),this},o.back=function(){var t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)},o.cancel=function(){var e=n(t().mark((function e(){var n,r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.options.confirmCancel){t.next=14;break}if(n="function"==typeof this.options.confirmCancel,r=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?",!n){t.next=9;break}return t.next=6,this.options.confirmCancel();case 6:t.t0=t.sent,t.next=10;break;case 9:t.t0=window.confirm(r);case 10:t.t0&&this._done("cancel"),t.next=15;break;case 14:this._done("cancel");case 15:case"end":return t.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),o.complete=function(){this._done("complete")},o.getById=function(t){return this.steps.find((function(e){return e.id===t}))},o.getCurrentStep=function(){return this.currentStep},o.hide=function(){var t=this.getCurrentStep();if(t)return t.hide()},o.isActive=function(){return hn.activeTour===this},o.next=function(){var t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)},o.removeStep=function(t){var e=this,n=this.getCurrentStep();this.steps.some((function(n,r){if(n.id===t)return n.isOpen()&&n.hide(),n.destroy(),e.steps.splice(r,1),!0})),n&&n.id===t&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())},o.show=function(t,e){void 0===t&&(t=0),void 0===e&&(e=!0);var n=b(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),y(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,e):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show()))},o.start=function(){this.trigger("start"),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this._setupModal(),this._setupActiveTour(),this.next()},o._done=function(t){var e,n=this.steps.indexOf(this.currentStep);if(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}),hn.activeTour=null,this.trigger("inactive",{tour:this}),this.modal&&this.modal.hide(),("cancel"===t||"complete"===t)&&this.modal){var r=document.querySelector(".shepherd-modal-overlay-container");r&&r.remove()}g(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()},o._setupActiveTour=function(){this.trigger("active",{tour:this}),hn.activeTour=this},o._setupModal=function(){this.modal=new dn({target:this.options.modalContainer||document.body,props:{classPrefix:this.classPrefix,styles:this.styles}})},o._skipStep=function(t,e){var n=this.steps.indexOf(t);if(n===this.steps.length-1)this.complete();else{var r=e?n+1:n-1;this.show(r,e)}},o._updateStateBeforeShow=function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()},o._setTourID=function(){var t=this.options.tourName||"tour";this.id=t+"--"+_()},r}(w),mn=function(){};if("undefined"==typeof window?Object.assign(hn,{Tour:mn,Step:mn}):Object.assign(hn,{Tour:vn,Step:un}),!Joomla)throw new Error("Joomla API is not properly initialised");function gn(){sessionStorage.removeItem("currentStepId"),sessionStorage.removeItem("stepCount"),sessionStorage.removeItem("tourId"),sessionStorage.removeItem("tourToken"),sessionStorage.removeItem("previousStepUrl")}function yn(t,e,n){var r=t.querySelector(".shepherd-header"),o=document.createElement("div");o.classList.add("shepherd-progress"),o.setAttribute("role","status"),o.setAttribute("aria-label",Joomla.Text._("PLG_SYSTEM_GUIDEDTOURS_STEP_NUMBER_OF").replace("{number}",e).replace("{total}",n));var i=document.createElement("span");i.setAttribute("aria-hidden",!0),i.innerText=e+"/"+n,o.appendChild(i),r.insertBefore(o,t.querySelector(".shepherd-cancel-icon"))}function bn(t,e,n){t&&!t.disabled?t.focus():e&&!e.disabled?e.focus():n.focus()}function xn(t){sessionStorage.setItem("tourId",t.id),sessionStorage.setItem("stepCount",String(t.steps.length));var e=sessionStorage.getItem("currentStepId"),n=null,r=-1;null!=e&&Number(e)>-1&&(r=void 0!==t.steps[e]?Number(e):-1)>0&&(n=t.steps[r-1]);var o=function(){var t=new hn.Tour({defaultStepOptions:{cancelIcon:{enabled:!0,label:Joomla.Text._("JCANCEL")},classes:"shepherd-theme-arrows",scrollTo:{behavior:"smooth",block:"center"}},useModalOverlay:!0,keyboardNavigation:!0});return t.on("cancel",(function(){gn(),t.steps=[]})),t}();if(r<0){var i=Joomla.getOptions("system.paths").rootFull;if(window.location.href!==i+t.steps[0].url)return void(window.location.href=i+t.steps[0].url);!function(t,e){t.addStep({title:e.title,text:e.description,classes:"shepherd-theme-arrows",buttons:[{classes:"btn btn-primary shepherd-button-primary",action:function(){return this.next()},text:Joomla.Text._("PLG_SYSTEM_GUIDEDTOURS_START")}],id:"tourinfo",when:{show:function(){sessionStorage.setItem("currentStepId","tourinfo"),yn(this.getElement(),1,sessionStorage.getItem("stepCount"))}}})}(o,t.steps[0]),r=1}for(var s,a=t.steps.length,c=function(e){if(s=[],(null===n||e>r||"redirect"===t.steps[e].type)&&function(t,e){t.push({text:Joomla.Text._("PLG_SYSTEM_GUIDEDTOURS_BACK"),classes:"btn btn-secondary shepherd-button-secondary",action:function(){if("redirect"===e.type){sessionStorage.setItem("currentStepId",e.id-1);var t=sessionStorage.getItem("previousStepUrl");t&&(sessionStorage.removeItem("previousStepUrl"),window.location.href=t)}return this.back()}})}(s,t.steps[e]),t&&t.steps[e].target&&"interactive"===t.steps[e].type){var i=document.querySelector(t.steps[e].target);if(i&&t&&t.steps&&t.steps[e]&&t.steps[e].interactive_type)switch(t.steps[e].interactive_type){case"submit":i.addEventListener("click",(function(){sessionStorage.getItem("tourId")&&sessionStorage.setItem("currentStepId",t.steps[e].id+1)}));break;case"text":i.step_id=e,i.hasAttribute("required")&&["email","password","search","tel","text","url"].includes(i.type)&&["input","focus"].forEach((function(t){return i.addEventListener(t,(function(t){sessionStorage.getItem("tourId")&&(t.target.value.trim().length?function(t){var e=document.querySelector(".step-next-button-"+t.currentTarget.step_id);e.removeAttribute("disabled"),e.classList.remove("disabled")}(t):function(t){var e=document.querySelector(".step-next-button-"+t.currentTarget.step_id);e.setAttribute("disabled","disabled"),e.classList.add("disabled")}(t))}))}));break;case"button":i.addEventListener("click",(function(){sessionStorage.setItem("currentStepId",t.steps[e].id+1),o.next()}))}}e<a-1?(t&&"interactive"!==t.steps[e].type||t&&"text"===t.steps[e].interactive_type||t&&"other"===t.steps[e].interactive_type)&&function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=""),t.push({text:Joomla.Text._("PLG_SYSTEM_GUIDEDTOURS_NEXT"),classes:"btn btn-primary shepherd-button-primary step-next-button-"+e.id+" "+r,action:function(){return this.next()},disabled:n})}(s,t.steps[e]):function(t){t.push({text:Joomla.Text._("PLG_SYSTEM_GUIDEDTOURS_COMPLETE"),classes:"btn btn-primary shepherd-button-primary",action:function(){return this.cancel()}})}(s),function(t,e,n){var r=new hn.Step(t,{title:e.title,text:e.description,classes:"shepherd-theme-arrows",buttons:n,id:e.id,arrow:!0,beforeShowPromise:function(){return new Promise((function(e){if(t.currentStep.options.attachTo.element){var n=t.currentStep.options.attachTo.element.split(","),r=t.currentStep.options.attachTo.on;t.currentStep.options.attachTo.element="",t.currentStep.options.attachTo.on="center";for(var o=0;o<n.length;o+=1){var i=document.querySelector(n[o]);if(null!=i&&!i.disabled&&!i.readonly&&"none"!==i.style.display){t.currentStep.options.attachTo.element=n[o],t.currentStep.options.attachTo.on=r;break}}}if("redirect"===t.currentStep.options.attachTo.type){var s=Joomla.getOptions("system.paths").rootFull+t.currentStep.options.attachTo.url;window.location.href!==s?(sessionStorage.setItem("currentStepId",t.currentStep.id),sessionStorage.setItem("previousStepUrl",window.location.href),window.location.href=s):e()}else e()})).catch((function(){}))},when:{show:function(){var t=this.getElement(),e=this.getTarget();if(t.setAttribute("aria-live","assertive"),sessionStorage.setItem("currentStepId",this.id),yn(t,this.id+1,sessionStorage.getItem("stepCount")),e&&"interactive"===this.options.attachTo.type){var n=t.querySelector(".shepherd-cancel-icon"),r=t.querySelector(".shepherd-button-primary"),o=t.querySelector(".shepherd-button-secondary");"input"===e.tagName.toLowerCase()&&e.hasAttribute("required")&&["email","password","search","tel","text","url"].includes(e.type)&&(e.value.trim().length?(r.removeAttribute("disabled"),r.classList.remove("disabled")):(r.setAttribute("disabled","disabled"),r.classList.add("disabled"))),n.addEventListener("keydown",(function(t){"Tab"===t.key&&("joomla-field-fancy-select"===e.tagName.toLowerCase()?(e.querySelector(".choices").click(),e.querySelector(".choices input").focus()):"joomla-field-fancy-select"===e.parentElement.tagName.toLowerCase()?(e.click(),e.querySelector("input").focus()):(e.focus(),t.preventDefault()))})),"iframe"===e.tagName.toLowerCase()?e.contentWindow.document.body.addEventListener("blur",(function(t){sessionStorage.getItem("tourId")&&(setTimeout((function(){bn(r,o,n)}),1),t.preventDefault())})):"joomla-field-fancy-select"===e.tagName.toLowerCase()?e.querySelector(".choices input").addEventListener("blur",(function(t){sessionStorage.getItem("tourId")&&(bn(r,o,n),t.preventDefault())})):"joomla-field-fancy-select"===e.parentElement.tagName.toLowerCase()?e.querySelector("input").addEventListener("blur",(function(t){sessionStorage.getItem("tourId")&&(bn(r,o,n),t.preventDefault())})):e.addEventListener("blur",(function(t){sessionStorage.getItem("tourId")&&(bn(r,o,n),t.preventDefault())}))}}}});if(e.target?r.updateStepOptions({attachTo:{element:e.target,on:e.position,url:e.url,type:e.type,interactive_type:e.interactive_type}}):r.updateStepOptions({attachTo:{url:e.url,type:e.type,interactive_type:e.interactive_type}}),"next"!==e.type){var o=Joomla.getOptions("system.paths").root+"/"+e.url;sessionStorage.getItem(o)&&sessionStorage.removeItem(o)}t.addStep(r)}(o,t.steps[e],s),n=t.steps[e]},u=r;u<a;u+=1)c(u);o.start()}function wn(t){if(t>0){var e=Joomla.getOptions("system.paths").rootFull+"administrator/index.php?option=com_ajax&plugin=guidedtours&group=system&format=json&id="+t;fetch(e).then((function(t){return t.json()})).then((function(t){t.success||(t.messages&&Joomla.renderMessages(t.messages),gn()),xn(t.data)})).catch((function(t){gn();var e={error:[Joomla.Text._("PLG_SYSTEM_GUIDEDTOURS_TOUR_ERROR")]};throw Joomla.renderMessages(e),new Error(t)}))}}document.querySelector("body").addEventListener("click",(function(t){t.target&&t.target.classList.contains("button-start-guidedtour")&&(void 0===t.target.getAttribute("data-id")||t.target.getAttribute("data-id")<=0?Joomla.renderMessages({error:[Joomla.Text._("PLG_SYSTEM_GUIDEDTOURS_COULD_NOT_LOAD_THE_TOUR")]}):(sessionStorage.setItem("tourToken",String(Joomla.getOptions("com_guidedtours.token"))),wn(t.target.getAttribute("data-id"))))}));var Sn=sessionStorage.getItem("tourId");Sn>0&&sessionStorage.getItem("tourToken")===String(Joomla.getOptions("com_guidedtours.token"))?wn(Sn):gn()}();

No other release has this exact content. See every version of this file.