diff --git a/R/conductor.R b/R/conductor.R index d48c260..d15f9cc 100644 --- a/R/conductor.R +++ b/R/conductor.R @@ -668,11 +668,14 @@ Conductor <- R6::R6Class( #' @details #' Returns a value `TRUE` or `FALSE` indicating whether the tour is active. #' - isActive = function(session = NULL) { - if(is.null(session)) { - session <- shiny::getDefaultReactiveDomain() - } - session$input[[paste0(private$id, "_is_active")]] + isActive = function() { + session <- shiny::getDefaultReactiveDomain() + out <- session$input[[paste0(private$id, "_is_active")]] + if (is.null(out)) { + session <- session$userData$rootSession + out <- session$input[[paste0(private$id, "_is_active")]] + } + out } ) ) diff --git a/inst/packer/conductor.js b/inst/packer/conductor.js index 821774a..f08ada9 100644 --- a/inst/packer/conductor.js +++ b/inst/packer/conductor.js @@ -1,2 +1 @@ -/*! For license information please see conductor.js.LICENSE.txt */ -(()=>{"use strict";var e={633:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(81),r=n.n(o),i=n(645),s=n.n(i)()(r());s.push([e.id,'.shepherd-button{background:#3288e6;border:0;border-radius:3px;color:hsla(0,0%,100%,.75);cursor:pointer;margin-right:.5rem;padding:.5rem 1.5rem;transition:all .5s ease}.shepherd-button:not(:disabled):hover{background:#196fcc;color:hsla(0,0%,100%,.75)}.shepherd-button.shepherd-button-secondary{background:#f1f2f3;color:rgba(0,0,0,.75)}.shepherd-button.shepherd-button-secondary:not(:disabled):hover{background:#d6d9db;color:rgba(0,0,0,.75)}.shepherd-button:disabled{cursor:not-allowed}\n.shepherd-footer{border-bottom-left-radius:5px;border-bottom-right-radius:5px;display:flex;justify-content:flex-end;padding:0 .75rem .75rem}.shepherd-footer .shepherd-button:last-child{margin-right:0}\n.shepherd-cancel-icon{background:transparent;border:none;color:hsla(0,0%,50%,.75);cursor:pointer;font-size:2em;font-weight:400;margin:0;padding:0;transition:color .5s ease}.shepherd-cancel-icon:hover{color:rgba(0,0,0,.75)}.shepherd-has-title .shepherd-content .shepherd-cancel-icon{color:hsla(0,0%,50%,.75)}.shepherd-has-title .shepherd-content .shepherd-cancel-icon:hover{color:rgba(0,0,0,.75)}\n.shepherd-title{color:rgba(0,0,0,.75);display:flex;flex:1 0 auto;font-size:1rem;font-weight:400;margin:0;padding:0}\n.shepherd-header{align-items:center;border-top-left-radius:5px;border-top-right-radius:5px;display:flex;justify-content:flex-end;line-height:2em;padding:.75rem .75rem 0}.shepherd-has-title .shepherd-content .shepherd-header{background:#e6e6e6;padding:1em}\n.shepherd-text{color:rgba(0,0,0,.75);font-size:1rem;line-height:1.3em;padding:.75em}.shepherd-text p{margin-top:0}.shepherd-text p:last-child{margin-bottom:0}\n.shepherd-content{border-radius:5px;outline:none;padding:0}\n.shepherd-element{background:#fff;border-radius:5px;box-shadow:0 1px 4px rgba(0,0,0,.2);max-width:400px;opacity:0;outline:none;transition:opacity .3s,visibility .3s;visibility:hidden;width:100%;z-index:9999}.shepherd-enabled.shepherd-element{opacity:1;visibility:visible}.shepherd-element[data-popper-reference-hidden]:not(.shepherd-centered){opacity:0;pointer-events:none;visibility:hidden}.shepherd-element,.shepherd-element *,.shepherd-element :after,.shepherd-element :before{box-sizing:border-box}.shepherd-arrow,.shepherd-arrow:before{height:16px;position:absolute;width:16px;z-index:-1}.shepherd-arrow:before{background:#fff;content:"";transform:rotate(45deg)}.shepherd-element[data-popper-placement^=top]>.shepherd-arrow{bottom:-8px}.shepherd-element[data-popper-placement^=bottom]>.shepherd-arrow{top:-8px}.shepherd-element[data-popper-placement^=left]>.shepherd-arrow{right:-8px}.shepherd-element[data-popper-placement^=right]>.shepherd-arrow{left:-8px}.shepherd-element.shepherd-centered>.shepherd-arrow{opacity:0}.shepherd-element.shepherd-has-title[data-popper-placement^=bottom]>.shepherd-arrow:before{background-color:#e6e6e6}.shepherd-target-click-disabled.shepherd-enabled.shepherd-target,.shepherd-target-click-disabled.shepherd-enabled.shepherd-target *{pointer-events:none}\n.shepherd-modal-overlay-container{height:0;left:0;opacity:0;overflow:hidden;pointer-events:none;position:fixed;top:0;transition:all .3s ease-out,height 0ms .3s,opacity .3s 0ms;width:100vw;z-index:9997}.shepherd-modal-overlay-container.shepherd-modal-is-visible{height:100vh;opacity:.5;transform:translateZ(0);transition:all .3s ease-out,height 0s 0s,opacity .3s 0s}.shepherd-modal-overlay-container.shepherd-modal-is-visible path{pointer-events:all}',""]);const a=s},230:(e,t,n)=>{n.d(t,{Z:()=>a});var o=n(81),r=n.n(o),i=n(645),s=n.n(i)()(r());s.push([e.id,".shepherd-title {\n font-size: 2rem;\n width: 100%;\n}\n\n.shepherd-text {\n font-size: 1.5rem;\n}\n",""]);const a=s},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(o)for(var a=0;a0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=i),n&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=n):p[2]=n),r&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=r):p[4]="".concat(r)),t.push(p))}},t}},81:e=>{e.exports=function(e){return e[1]}},379:e=>{var t=[];function n(e){for(var n=-1,o=0;o{var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0,(()=>{Shiny,jQuery;var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function r(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function a(t,n,l){(l=l||{}).arrayMerge=l.arrayMerge||r,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=o;var c=Array.isArray(n);return c===Array.isArray(t)?c?l.arrayMerge(t,n,l):function(e,t,n){var r={};return n.isMergeableObject(e)&&i(e).forEach((function(t){r[t]=o(e[t],n)})),i(t).forEach((function(i){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(s(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a}(i,n)(e[i],t[i],n):r[i]=o(t[i],n))})),r}(t,n,l):o(n,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return a(e,n,t)}),{})};var l=a;function c(e){return e instanceof HTMLElement}function p(e){return"function"==typeof e}function d(e){return"string"==typeof e}function u(e){return void 0===e}class h{on(e,t,n,o){return void 0===o&&(o=!1),u(this.bindings)&&(this.bindings={}),u(this.bindings[e])&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:o}),this}once(e,t,n){return this.on(e,t,n,!0)}off(e,t){return u(this.bindings)||u(this.bindings[e])||(u(t)?delete this.bindings[e]:this.bindings[e].forEach(((n,o)=>{n.handler===t&&this.bindings[e].splice(o,1)}))),this}trigger(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{const{ctx:r,handler:i,once:s}=t,a=r||this;i.apply(a,n),s&&this.bindings[e].splice(o,1)})),this}}function f(e){const t=Object.getOwnPropertyNames(e.constructor.prototype);for(let n=0;n0&&(o=D(n.width)/s||1),i>0&&(r=D(n.height)/i||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function N(e){var t=V(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function R(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&k(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function F(e){return j(e).getComputedStyle(e)}function W(e){return["table","td","th"].indexOf(A(e))>=0}function q(e){return((M(e)?e.ownerDocument:e.document)||window.document).documentElement}function Y(e){return"html"===A(e)?e:e.assignedSlot||e.parentNode||(k(e)?e.host:null)||q(e)}function X(e){return C(e)&&"fixed"!==F(e).position?e.offsetParent:null}function z(e){for(var t=j(e),n=X(e);n&&W(n)&&"static"===F(n).position;)n=X(n);return n&&("html"===A(n)||"body"===A(n)&&"static"===F(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&C(e)&&"fixed"===F(e).position)return null;var n=Y(e);for(k(n)&&(n=n.host);C(n)&&["html","body"].indexOf(A(n))<0;){var o=F(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function Z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function U(e,t,n){return H(e,B(t,n))}function J(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Q(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var K={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=P(n.placement),l=Z(a),c=[v,b].indexOf(a)>=0?"height":"width";if(i&&s){var p=function(e,t){return J("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Q(e,x))}(r.padding,n),d=N(i),u="y"===l?m:v,h="y"===l?g:b,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],y=s[l]-n.rects.reference[l],w=z(i),O=w?"y"===l?w.clientHeight||0:w.clientWidth||0:0,$=f/2-y/2,S=p[u],E=O-d[c]-p[h],T=O/2-d[c]/2+$,_=U(S,T,E),I=l;n.modifiersData[o]=((t={})[I]=_,t.centerOffset=_-T,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&R(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function G(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,p=e.roundOffsets,d=e.isFixed,u=s.x,h=void 0===u?0:u,f=s.y,y=void 0===f?0:f,x="function"==typeof p?p({x:h,y}):{x:h,y};h=x.x,y=x.y;var w=s.hasOwnProperty("x"),$=s.hasOwnProperty("y"),S=v,E=m,T=window;if(c){var _=z(n),I="clientHeight",A="clientWidth";_===j(n)&&"static"!==F(_=q(n)).position&&"absolute"===a&&(I="scrollHeight",A="scrollWidth"),(r===m||(r===v||r===b)&&i===O)&&(E=g,y-=(d&&_===T&&T.visualViewport?T.visualViewport.height:_[I])-o.height,y*=l?1:-1),r!==v&&(r!==m&&r!==g||i!==O)||(S=b,h-=(d&&_===T&&T.visualViewport?T.visualViewport.width:_[A])-o.width,h*=l?1:-1)}var M,C=Object.assign({position:a},c&&ee),k=!0===p?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:D(t*o)/o||0,y:D(n*o)/o||0}}({x:h,y}):{x:h,y};return h=k.x,y=k.y,l?Object.assign({},C,((M={})[E]=$?"0":"",M[S]=w?"0":"",M.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",M)):Object.assign({},C,((t={})[E]=$?y+"px":"",t[S]=w?h+"px":"",t.transform="",t))}var ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c={placement:P(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},oe={passive:!0},re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,s=o.resize,a=void 0===s||s,l=j(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,oe)})),a&&l.addEventListener("resize",n.update,oe),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,oe)})),a&&l.removeEventListener("resize",n.update,oe)}},data:{}},ie={left:"right",right:"left",bottom:"top",top:"bottom"};function se(e){return e.replace(/left|right|bottom|top/g,(function(e){return ie[e]}))}var ae={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return ae[e]}))}function ce(e){var t=j(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pe(e){return V(q(e)).left+ce(e).scrollLeft}function de(e){var t=F(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function ue(e){return["html","body","#document"].indexOf(A(e))>=0?e.ownerDocument.body:C(e)&&de(e)?e:ue(Y(e))}function he(e,t){var n;void 0===t&&(t=[]);var o=ue(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=j(o),s=r?[i].concat(i.visualViewport||[],de(o)?o:[]):o,a=t.concat(s);return r?a:a.concat(he(Y(s)))}function fe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t){return t===S?fe(function(e){var t=j(e),n=q(e),o=t.visualViewport,r=n.clientWidth,i=n.clientHeight,s=0,a=0;return o&&(r=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,a=o.offsetTop)),{width:r,height:i,x:s+pe(e),y:a}}(e)):M(t)?function(e){var t=V(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):fe(function(e){var t,n=q(e),o=ce(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=H(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=H(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-o.scrollLeft+pe(e),l=-o.scrollTop;return"rtl"===F(r||n).direction&&(a+=H(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(q(e)))}function ge(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?P(r):null,s=r?G(r):null,a=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(i){case m:t={x:a,y:n.y-o.height};break;case g:t={x:a,y:n.y+n.height};break;case b:t={x:n.x+n.width,y:l};break;case v:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?Z(i):null;if(null!=c){var p="y"===c?"height":"width";switch(s){case w:t[c]=t[c]-(n[p]/2-o[p]/2);break;case O:t[c]=t[c]+(n[p]/2-o[p]/2)}}return t}function be(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,i=n.boundary,s=void 0===i?"clippingParents":i,a=n.rootBoundary,l=void 0===a?S:a,c=n.elementContext,p=void 0===c?E:c,d=n.altBoundary,u=void 0!==d&&d,h=n.padding,f=void 0===h?0:h,v=J("number"!=typeof f?f:Q(f,x)),y=p===E?"reference":E,w=e.rects.popper,O=e.elements[u?y:p],$=function(e,t,n){var o="clippingParents"===t?function(e){var t=he(Y(e)),n=["absolute","fixed"].indexOf(F(e).position)>=0&&C(e)?z(e):e;return M(n)?t.filter((function(e){return M(e)&&R(e,n)&&"body"!==A(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r[0],s=r.reduce((function(t,n){var o=me(e,n);return t.top=H(o.top,t.top),t.right=B(o.right,t.right),t.bottom=B(o.bottom,t.bottom),t.left=H(o.left,t.left),t}),me(e,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(M(O)?O:O.contextElement||q(e.elements.popper),s,l),T=V(e.elements.reference),_=ge({reference:T,element:w,strategy:"absolute",placement:r}),I=fe(Object.assign({},w,_)),j=p===E?I:T,k={top:$.top-j.top+v.top,bottom:j.bottom-$.bottom+v.bottom,left:$.left-j.left+v.left,right:j.right-$.right+v.right},L=e.modifiersData.offset;if(p===E&&L){var P=L[r];Object.keys(k).forEach((function(e){var t=[b,g].indexOf(e)>=0?1:-1,n=[m,g].indexOf(e)>=0?"y":"x";k[e]+=P[n]*t}))}return k}function ve(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?_:l,p=G(o),d=p?a?T:T.filter((function(e){return G(e)===p})):x,u=d.filter((function(e){return c.indexOf(e)>=0}));0===u.length&&(u=d);var h=u.reduce((function(t,n){return t[n]=be(e,{placement:n,boundary:r,rootBoundary:i,padding:s})[P(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}var ye={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=void 0===r||r,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,p=n.boundary,d=n.rootBoundary,u=n.altBoundary,h=n.flipVariations,f=void 0===h||h,x=n.allowedAutoPlacements,O=t.options.placement,$=P(O),S=l||($!==O&&f?function(e){if(P(e)===y)return[];var t=se(e);return[le(e),t,le(t)]}(O):[se(O)]),E=[O].concat(S).reduce((function(e,n){return e.concat(P(n)===y?ve(t,{placement:n,boundary:p,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:x}):n)}),[]),T=t.rects.reference,_=t.rects.popper,I=new Map,A=!0,j=E[0],M=0;M=0,B=H?"width":"height",D=be(t,{placement:C,boundary:p,rootBoundary:d,altBoundary:u,padding:c}),V=H?L?b:v:L?g:m;T[B]>_[B]&&(V=se(V));var N=se(V),R=[];if(i&&R.push(D[k]<=0),a&&R.push(D[V]<=0,D[N]<=0),R.every((function(e){return e}))){j=C,A=!1;break}I.set(C,R)}if(A)for(var F=function(e){var t=E.find((function(t){var n=I.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},W=f?3:1;W>0&&"break"!==F(W);W--);t.placement!==j&&(t.modifiersData[o]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function xe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[m,b,g,v].some((function(t){return e[t]>=0}))}var Oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=void 0===r?[0,0]:r,s=_.reduce((function(e,n){return e[n]=function(e,t,n){var o=P(e),r=[v,m].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*r,[v,b].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,i),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=s}},$e={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,p=n.altBoundary,d=n.padding,u=n.tether,h=void 0===u||u,f=n.tetherOffset,y=void 0===f?0:f,x=be(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:p}),O=P(t.placement),$=G(t.placement),S=!$,E=Z(O),T="x"===E?"y":"x",_=t.modifiersData.popperOffsets,I=t.rects.reference,A=t.rects.popper,j="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,M="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(_){if(i){var L,D="y"===E?m:v,V="y"===E?g:b,R="y"===E?"height":"width",F=_[E],W=F+x[D],q=F-x[V],Y=h?-A[R]/2:0,X=$===w?I[R]:A[R],J=$===w?-A[R]:-I[R],Q=t.elements.arrow,K=h&&Q?N(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[D],ne=ee[V],oe=U(0,I[R],K[R]),re=S?I[R]/2-Y-oe-te-M.mainAxis:X-oe-te-M.mainAxis,ie=S?-I[R]/2+Y+oe+ne+M.mainAxis:J+oe+ne+M.mainAxis,se=t.elements.arrow&&z(t.elements.arrow),ae=se?"y"===E?se.clientTop||0:se.clientLeft||0:0,le=null!=(L=null==C?void 0:C[E])?L:0,ce=F+ie-le,pe=U(h?B(W,F+re-le-ae):W,F,h?H(q,ce):q);_[E]=pe,k[E]=pe-F}if(a){var de,ue="x"===E?m:v,he="x"===E?g:b,fe=_[T],me="y"===T?"height":"width",ge=fe+x[ue],ve=fe-x[he],ye=-1!==[m,v].indexOf(O),xe=null!=(de=null==C?void 0:C[T])?de:0,we=ye?ge:fe-I[me]-A[me]-xe+M.altAxis,Oe=ye?fe+I[me]+A[me]-xe-M.altAxis:ve,$e=h&&ye?function(e,t,n){var o=U(e,t,n);return o>n?n:o}(we,fe,Oe):U(h?we:ge,fe,h?Oe:ve);_[T]=$e,k[T]=$e-fe}t.modifiersData[o]=k}},requiresIfExists:["offset"]};function Se(e,t,n){void 0===n&&(n=!1);var o,r,i=C(t),s=C(t)&&function(e){var t=e.getBoundingClientRect(),n=D(t.width)/e.offsetWidth||1,o=D(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=q(t),l=V(e,s),c={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==A(t)||de(a))&&(c=(o=t)!==j(o)&&C(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:ce(o)),C(t)?((p=V(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):a&&(p.x=pe(a))),{x:l.left+c.scrollLeft-p.x,y:l.top+c.scrollTop-p.y,width:l.width,height:l.height}}function Ee(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var Te={placement:"bottom",modifiers:[],strategy:"absolute"};function _e(){for(var e=arguments.length,t=new Array(e),n=0;n{if(e.el){const t={preventScroll:!0};e.el.focus(t)}}),300)}}}function Ce(e){return d(e)&&""!==e?"-"!==e.charAt(e.length-1)?`${e}-`:e:""}function ke(e){return null==e||!e.element||!e.on}function Le(e){e.tooltip&&e.tooltip.destroy();const t=e._getResolvedAttachToOptions();let n=t.element;const o=function(e,t){let n={modifiers:[{name:"preventOverflow",options:{altAxis:!0,tether:!1}},Me(t)],strategy:"absolute"};ke(e)?n=function(e){const t=[{name:"applyStyles",fn(e){let{state:t}=e;Object.keys(t.elements).forEach((e=>{if("popper"!==e)return;const n=t.attributes[e]||{},o=t.elements[e];Object.assign(o.style,{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),Object.keys(n).forEach((e=>{const t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))}))}},{name:"computeStyles",options:{adaptive:!1}}];let n={placement:"top",strategy:"fixed",modifiers:[Me(e)]};return n=je({},n,{modifiers:Array.from(new Set([...n.modifiers,...t]))}),n}(t):n.placement=e.on;const o=t.tour&&t.tour.options&&t.tour.options.defaultStepOptions;return o&&(n=He(o,n)),n=He(t.options,n),n}(t,e);return ke(t)&&(n=document.body,e.shepherdElementComponent.getElement().classList.add("shepherd-centered")),e.tooltip=Ae(n,e.el,o),e.target=t.element,o}function Pe(){let e=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(t=>{const n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?n:3&n|8).toString(16)}))}function He(e,t){if(e.popperOptions){let n=Object.assign({},t,e.popperOptions);if(e.popperOptions.modifiers&&e.popperOptions.modifiers.length>0){const o=e.popperOptions.modifiers.map((e=>e.name)),r=t.modifiers.filter((e=>!o.includes(e.name)));n.modifiers=Array.from(new Set([...r,...e.popperOptions.modifiers]))}return n}return t}function Be(){}function De(e,t){for(const n in t)e[n]=t[n];return e}function Ve(e){return e()}function Ne(){return Object.create(null)}function Re(e){e.forEach(Ve)}function Fe(e){return"function"==typeof e}function We(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function qe(e,t){e.appendChild(t)}function Ye(e,t,n){e.insertBefore(t,n||null)}function Xe(e){e.parentNode.removeChild(e)}function ze(e){return document.createElement(e)}function Ze(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Ue(e){return document.createTextNode(e)}function Je(){return Ue(" ")}function Qe(e,t,n,o){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}function Ke(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Ge(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const o in t)null==t[o]?e.removeAttribute(o):"style"===o?e.style.cssText=t[o]:"__value"===o?e.value=e[o]=t[o]:n[o]&&n[o].set?e[o]=t[o]:Ke(e,o,t[o])}function et(e,t,n){e.classList[n?"add":"remove"](t)}let tt;function nt(e){tt=e}function ot(){if(!tt)throw new Error("Function called outside component initialization");return tt}function rt(e){ot().$$.after_update.push(e)}const it=[],st=[],at=[],lt=[],ct=Promise.resolve();let pt=!1;function dt(e){at.push(e)}const ut=new Set;let ht=0;function ft(){const e=tt;do{for(;ht{gt.delete(e),o&&(n&&e.d(1),o())})),e.o(t)}else o&&o()}function Ot(e){e&&e.c()}function $t(e,t,n,o){const{fragment:r,on_mount:i,on_destroy:s,after_update:a}=e.$$;r&&r.m(t,n),o||dt((()=>{const t=i.map(Ve).filter(Fe);s?s.push(...t):Re(t),e.$$.on_mount=[]})),a.forEach(dt)}function St(e,t){const n=e.$$;null!==n.fragment&&(Re(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Et(e,t){-1===e.$$.dirty[0]&&(it.push(e),pt||(pt=!0,ct.then(ft)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function It(e){let t,n,o,r,i;return{c(){t=ze("button"),Ke(t,"aria-label",n=e[3]?e[3]:null),Ke(t,"class",o=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`),t.disabled=e[2],Ke(t,"tabindex","0")},m(n,o){Ye(n,t,o),t.innerHTML=e[5],r||(i=Qe(t,"click",(function(){Fe(e[0])&&e[0].apply(this,arguments)})),r=!0)},p(r,i){let[s]=i;e=r,32&s&&(t.innerHTML=e[5]),8&s&&n!==(n=e[3]?e[3]:null)&&Ke(t,"aria-label",n),18&s&&o!==(o=`${e[1]||""} shepherd-button ${e[4]?"shepherd-button-secondary":""}`)&&Ke(t,"class",o),4&s&&(t.disabled=e[2])},i:Be,o:Be,d(e){e&&Xe(t),r=!1,i()}}}function At(e,t,n){let o,r,i,s,a,l,{config:c,step:d}=t;function u(e){return p(e)?e.call(d):e}return e.$$set=e=>{"config"in e&&n(6,c=e.config),"step"in e&&n(7,d=e.step)},e.$$.update=()=>{192&e.$$.dirty&&(n(0,o=c.action?c.action.bind(d.tour):null),n(1,r=c.classes),n(2,i=!!c.disabled&&u(c.disabled)),n(3,s=c.label?u(c.label):null),n(4,a=c.secondary),n(5,l=c.text?u(c.text):null))},[o,r,i,s,a,l,c,d]}class jt extends _t{constructor(e){super(),Tt(this,e,At,It,We,{config:6,step:7})}}function Mt(e,t,n){const o=e.slice();return o[2]=t[n],o}function Ct(e){let t,n,o=e[1],r=[];for(let t=0;twt(r[e],1,1,(()=>{r[e]=null}));return{c(){for(let e=0;e{o=null})),yt())},i(e){n||(xt(o),n=!0)},o(e){wt(o),n=!1},d(e){e&&Xe(t),o&&o.d()}}}function Pt(e,t,n){let o,{step:r}=t;return e.$$set=e=>{"step"in e&&n(0,r=e.step)},e.$$.update=()=>{1&e.$$.dirty&&n(1,o=r.options.buttons)},[r,o]}class Ht extends _t{constructor(e){super(),Tt(this,e,Pt,Lt,We,{step:0})}}function Bt(e){let t,n,o,r,i;return{c(){t=ze("button"),n=ze("span"),n.textContent="×",Ke(n,"aria-hidden","true"),Ke(t,"aria-label",o=e[0].label?e[0].label:"Close Tour"),Ke(t,"class","shepherd-cancel-icon"),Ke(t,"type","button")},m(o,s){Ye(o,t,s),qe(t,n),r||(i=Qe(t,"click",e[1]),r=!0)},p(e,n){let[r]=n;1&r&&o!==(o=e[0].label?e[0].label:"Close Tour")&&Ke(t,"aria-label",o)},i:Be,o:Be,d(e){e&&Xe(t),r=!1,i()}}}function Dt(e,t,n){let{cancelIcon:o,step:r}=t;return e.$$set=e=>{"cancelIcon"in e&&n(0,o=e.cancelIcon),"step"in e&&n(2,r=e.step)},[o,e=>{e.preventDefault(),r.cancel()},r]}class Vt extends _t{constructor(e){super(),Tt(this,e,Dt,Bt,We,{cancelIcon:0,step:2})}}function Nt(e){let t;return{c(){t=ze("h3"),Ke(t,"id",e[1]),Ke(t,"class","shepherd-title")},m(n,o){Ye(n,t,o),e[3](t)},p(e,n){let[o]=n;2&o&&Ke(t,"id",e[1])},i:Be,o:Be,d(n){n&&Xe(t),e[3](null)}}}function Rt(e,t,n){let{labelId:o,element:r,title:i}=t;return rt((()=>{p(i)&&n(2,i=i()),n(0,r.innerHTML=i,r)})),e.$$set=e=>{"labelId"in e&&n(1,o=e.labelId),"element"in e&&n(0,r=e.element),"title"in e&&n(2,i=e.title)},[r,o,i,function(e){st[e?"unshift":"push"]((()=>{r=e,n(0,r)}))}]}class Ft extends _t{constructor(e){super(),Tt(this,e,Rt,Nt,We,{labelId:1,element:0,title:2})}}function Wt(e){let t,n;return t=new Ft({props:{labelId:e[0],title:e[2]}}),{c(){Ot(t.$$.fragment)},m(e,o){$t(t,e,o),n=!0},p(e,n){const o={};1&n&&(o.labelId=e[0]),4&n&&(o.title=e[2]),t.$set(o)},i(e){n||(xt(t.$$.fragment,e),n=!0)},o(e){wt(t.$$.fragment,e),n=!1},d(e){St(t,e)}}}function qt(e){let t,n;return t=new Vt({props:{cancelIcon:e[3],step:e[1]}}),{c(){Ot(t.$$.fragment)},m(e,o){$t(t,e,o),n=!0},p(e,n){const o={};8&n&&(o.cancelIcon=e[3]),2&n&&(o.step=e[1]),t.$set(o)},i(e){n||(xt(t.$$.fragment,e),n=!0)},o(e){wt(t.$$.fragment,e),n=!1},d(e){St(t,e)}}}function Yt(e){let t,n,o,r=e[2]&&Wt(e),i=e[3]&&e[3].enabled&&qt(e);return{c(){t=ze("header"),r&&r.c(),n=Je(),i&&i.c(),Ke(t,"class","shepherd-header")},m(e,s){Ye(e,t,s),r&&r.m(t,null),qe(t,n),i&&i.m(t,null),o=!0},p(e,o){let[s]=o;e[2]?r?(r.p(e,s),4&s&&xt(r,1)):(r=Wt(e),r.c(),xt(r,1),r.m(t,n)):r&&(vt(),wt(r,1,1,(()=>{r=null})),yt()),e[3]&&e[3].enabled?i?(i.p(e,s),8&s&&xt(i,1)):(i=qt(e),i.c(),xt(i,1),i.m(t,null)):i&&(vt(),wt(i,1,1,(()=>{i=null})),yt())},i(e){o||(xt(r),xt(i),o=!0)},o(e){wt(r),wt(i),o=!1},d(e){e&&Xe(t),r&&r.d(),i&&i.d()}}}function Xt(e,t,n){let o,r,{labelId:i,step:s}=t;return e.$$set=e=>{"labelId"in e&&n(0,i=e.labelId),"step"in e&&n(1,s=e.step)},e.$$.update=()=>{2&e.$$.dirty&&(n(2,o=s.options.title),n(3,r=s.options.cancelIcon))},[i,s,o,r]}class zt extends _t{constructor(e){super(),Tt(this,e,Xt,Yt,We,{labelId:0,step:1})}}function Zt(e){let t;return{c(){t=ze("div"),Ke(t,"class","shepherd-text"),Ke(t,"id",e[1])},m(n,o){Ye(n,t,o),e[3](t)},p(e,n){let[o]=n;2&o&&Ke(t,"id",e[1])},i:Be,o:Be,d(n){n&&Xe(t),e[3](null)}}}function Ut(e,t,n){let{descriptionId:o,element:r,step:i}=t;return rt((()=>{let{text:e}=i.options;p(e)&&(e=e.call(i)),c(e)?r.appendChild(e):n(0,r.innerHTML=e,r)})),e.$$set=e=>{"descriptionId"in e&&n(1,o=e.descriptionId),"element"in e&&n(0,r=e.element),"step"in e&&n(2,i=e.step)},[r,o,i,function(e){st[e?"unshift":"push"]((()=>{r=e,n(0,r)}))}]}class Jt extends _t{constructor(e){super(),Tt(this,e,Ut,Zt,We,{descriptionId:1,element:0,step:2})}}function Qt(e){let t,n;return t=new zt({props:{labelId:e[1],step:e[2]}}),{c(){Ot(t.$$.fragment)},m(e,o){$t(t,e,o),n=!0},p(e,n){const o={};2&n&&(o.labelId=e[1]),4&n&&(o.step=e[2]),t.$set(o)},i(e){n||(xt(t.$$.fragment,e),n=!0)},o(e){wt(t.$$.fragment,e),n=!1},d(e){St(t,e)}}}function Kt(e){let t,n;return t=new Jt({props:{descriptionId:e[0],step:e[2]}}),{c(){Ot(t.$$.fragment)},m(e,o){$t(t,e,o),n=!0},p(e,n){const o={};1&n&&(o.descriptionId=e[0]),4&n&&(o.step=e[2]),t.$set(o)},i(e){n||(xt(t.$$.fragment,e),n=!0)},o(e){wt(t.$$.fragment,e),n=!1},d(e){St(t,e)}}}function Gt(e){let t,n;return t=new Ht({props:{step:e[2]}}),{c(){Ot(t.$$.fragment)},m(e,o){$t(t,e,o),n=!0},p(e,n){const o={};4&n&&(o.step=e[2]),t.$set(o)},i(e){n||(xt(t.$$.fragment,e),n=!0)},o(e){wt(t.$$.fragment,e),n=!1},d(e){St(t,e)}}}function en(e){let t,n,o,r,i=!u(e[2].options.title)||e[2].options.cancelIcon&&e[2].options.cancelIcon.enabled,s=!u(e[2].options.text),a=Array.isArray(e[2].options.buttons)&&e[2].options.buttons.length,l=i&&Qt(e),c=s&&Kt(e),p=a&&Gt(e);return{c(){t=ze("div"),l&&l.c(),n=Je(),c&&c.c(),o=Je(),p&&p.c(),Ke(t,"class","shepherd-content")},m(e,i){Ye(e,t,i),l&&l.m(t,null),qe(t,n),c&&c.m(t,null),qe(t,o),p&&p.m(t,null),r=!0},p(e,r){let[d]=r;4&d&&(i=!u(e[2].options.title)||e[2].options.cancelIcon&&e[2].options.cancelIcon.enabled),i?l?(l.p(e,d),4&d&&xt(l,1)):(l=Qt(e),l.c(),xt(l,1),l.m(t,n)):l&&(vt(),wt(l,1,1,(()=>{l=null})),yt()),4&d&&(s=!u(e[2].options.text)),s?c?(c.p(e,d),4&d&&xt(c,1)):(c=Kt(e),c.c(),xt(c,1),c.m(t,o)):c&&(vt(),wt(c,1,1,(()=>{c=null})),yt()),4&d&&(a=Array.isArray(e[2].options.buttons)&&e[2].options.buttons.length),a?p?(p.p(e,d),4&d&&xt(p,1)):(p=Gt(e),p.c(),xt(p,1),p.m(t,null)):p&&(vt(),wt(p,1,1,(()=>{p=null})),yt())},i(e){r||(xt(l),xt(c),xt(p),r=!0)},o(e){wt(l),wt(c),wt(p),r=!1},d(e){e&&Xe(t),l&&l.d(),c&&c.d(),p&&p.d()}}}function tn(e,t,n){let{descriptionId:o,labelId:r,step:i}=t;return e.$$set=e=>{"descriptionId"in e&&n(0,o=e.descriptionId),"labelId"in e&&n(1,r=e.labelId),"step"in e&&n(2,i=e.step)},[o,r,i]}class nn extends _t{constructor(e){super(),Tt(this,e,tn,en,We,{descriptionId:0,labelId:1,step:2})}}function on(e){let t;return{c(){t=ze("div"),Ke(t,"class","shepherd-arrow"),Ke(t,"data-popper-arrow","")},m(e,n){Ye(e,t,n)},d(e){e&&Xe(t)}}}function rn(e){let t,n,o,r,i,s,a,l,c=e[4].options.arrow&&e[4].options.attachTo&&e[4].options.attachTo.element&&e[4].options.attachTo.on&&on();o=new nn({props:{descriptionId:e[2],labelId:e[3],step:e[4]}});let p=[{"aria-describedby":r=u(e[4].options.text)?null:e[2]},{"aria-labelledby":i=e[4].options.title?e[3]:null},e[1],{role:"dialog"},{tabindex:"0"}],d={};for(let e=0;e!!e.length))}function an(e,t,n){let o,r,i,{classPrefix:s,element:a,descriptionId:l,firstFocusableElement:c,focusableElements:p,labelId:u,lastFocusableElement:h,step:f,dataStepId:m}=t;var g;return g=()=>{n(1,m={[`data-${s}shepherd-step-id`]:f.id}),n(9,p=a.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')),n(8,c=p[0]),n(10,h=p[p.length-1])},ot().$$.on_mount.push(g),rt((()=>{i!==f.options.classes&&(function(e){if(d(e)){const t=sn(e);t.length&&a.classList.remove(...t)}}(i),i=f.options.classes,function(e){if(d(e)){const t=sn(e);t.length&&a.classList.add(...t)}}(i))})),e.$$set=e=>{"classPrefix"in e&&n(11,s=e.classPrefix),"element"in e&&n(0,a=e.element),"descriptionId"in e&&n(2,l=e.descriptionId),"firstFocusableElement"in e&&n(8,c=e.firstFocusableElement),"focusableElements"in e&&n(9,p=e.focusableElements),"labelId"in e&&n(3,u=e.labelId),"lastFocusableElement"in e&&n(10,h=e.lastFocusableElement),"step"in e&&n(4,f=e.step),"dataStepId"in e&&n(1,m=e.dataStepId)},e.$$.update=()=>{16&e.$$.dirty&&(n(5,o=f.options&&f.options.cancelIcon&&f.options.cancelIcon.enabled),n(6,r=f.options&&f.options.title))},[a,m,l,u,f,o,r,e=>{const{tour:t}=f;switch(e.keyCode){case 9:if(0===p.length){e.preventDefault();break}e.shiftKey?(document.activeElement===c||document.activeElement.classList.contains("shepherd-element"))&&(e.preventDefault(),h.focus()):document.activeElement===h&&(e.preventDefault(),c.focus());break;case 27:t.options.exitOnEsc&&f.cancel();break;case 37:t.options.keyboardNavigation&&t.back();break;case 39:t.options.keyboardNavigation&&t.next()}},c,p,h,s,()=>a,function(e){st[e?"unshift":"push"]((()=>{a=e,n(0,a)}))}]}class ln extends _t{constructor(e){super(),Tt(this,e,an,rn,We,{classPrefix:11,element:0,descriptionId:2,firstFocusableElement:8,focusableElements:9,labelId:3,lastFocusableElement:10,step:4,dataStepId:1,getElement:12})}get getElement(){return this.$$.ctx[12]}}var cn,pn,dn=(cn=function(e,t){e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var n,o=e.HTMLElement||e.Element,r={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:o.prototype.scroll||a,scrollIntoView:o.prototype.scrollIntoView},i=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,s=(n=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?f.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):r.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?r.scrollBy.call(e,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):f.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},o.prototype.scroll=o.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var e=arguments[0].left,t=arguments[0].top;f.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}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!==l(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!==l(arguments[0])){var n=u(this),o=n.getBoundingClientRect(),i=this.getBoundingClientRect();n!==t.body?(f.call(this,n,n.scrollLeft+i.left-o.left,n.scrollTop+i.top-o.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:o.left,top:o.top,behavior:"smooth"})):e.scrollBy({left:i.left,top:i.top,behavior:"smooth"})}else r.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function a(e,t){this.scrollLeft=e,this.scrollTop=t}function l(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(e,t){return"Y"===t?e.clientHeight+s1?1:a,n=.5*(1-Math.cos(Math.PI*s)),o=t.startX+(t.x-t.startX)*n,r=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,o,r),o===t.x&&r===t.y||e.requestAnimationFrame(h.bind(e,t))}function f(n,o,s){var l,c,p,d,u=i();n===t.body?(l=e,c=e.scrollX||e.pageXOffset,p=e.scrollY||e.pageYOffset,d=r.scroll):(l=n,c=n.scrollLeft,p=n.scrollTop,d=a),h({scrollable:l,method:d,startTime:u,startX:c,startY:p,x:o,y:s})}}}},cn(pn={exports:{}}),pn.exports);dn.polyfill,dn.polyfill();class un extends h{constructor(e,t){return void 0===t&&(t={}),super(e,t),this.tour=e,this.classPrefix=this.tour.options?Ce(this.tour.options.classPrefix):"",this.styles=e.styles,this._resolvedAttachTo=null,f(this),this._setOptions(t),this}cancel(){this.tour.cancel(),this.trigger("cancel")}complete(){this.tour.complete(),this.trigger("complete")}destroy(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),c(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this._updateStepTargetOnHide(),this.trigger("destroy")}getTour(){return this.tour}hide(){this.tour.modal.hide(),this.trigger("before-hide"),this.el&&(this.el.hidden=!0),this._updateStepTargetOnHide(),this.trigger("hide")}_resolveAttachToOptions(){return this._resolvedAttachTo=function(e){const t=e.options.attachTo||{},n=Object.assign({},t);if(p(n.element)&&(n.element=n.element.call(e)),d(n.element)){try{n.element=document.querySelector(n.element)}catch(e){}n.element||console.error(`The element for this Shepherd step was not found ${t.element}`)}return n}(this),this._resolvedAttachTo}_getResolvedAttachToOptions(){return null===this._resolvedAttachTo?this._resolveAttachToOptions():this._resolvedAttachTo}isOpen(){return Boolean(this.el&&!this.el.hidden)}show(){if(p(this.options.beforeShowPromise)){const e=this.options.beforeShowPromise();if(!u(e))return e.then((()=>this._show()))}this._show()}updateStepOptions(e){Object.assign(this.options,e),this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})}getElement(){return this.el}getTarget(){return this.target}_createTooltipContent(){const e=`${this.id}-description`,t=`${this.id}-label`;return this.shepherdElementComponent=new ln({target:this.tour.options.stepsContainer||document.body,props:{classPrefix:this.classPrefix,descriptionId:e,labelId:t,step:this,styles:this.styles}}),this.shepherdElementComponent.getElement()}_scrollTo(e){const{element:t}=this._getResolvedAttachToOptions();p(this.options.scrollToHandler)?this.options.scrollToHandler(t):t instanceof Element&&"function"==typeof t.scrollIntoView&&t.scrollIntoView(e)}_getClassOptions(e){const t=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,n=e.classes?e.classes:"",o=t&&t.classes?t.classes:"",r=[...n.split(" "),...o.split(" ")],i=new Set(r);return Array.from(i).join(" ").trim()}_setOptions(e){void 0===e&&(e={});let t=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;t=l({},t||{}),this.options=Object.assign({arrow:!0},t,e);const{when:n}=this.options;this.options.classes=this._getClassOptions(e),this.destroy(),this.id=this.options.id||`step-${Pe()}`,n&&Object.keys(n).forEach((e=>{this.on(e,n[e],this)}))}_setupElements(){u(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&function(e){const{event:t,selector:n}=e.options.advanceOn||{};if(!t)return console.error("advanceOn was defined, but no event name was passed.");{const o=function(e,t){return n=>{if(t.isOpen()){const o=t.el&&n.currentTarget===t.el;(!u(e)&&n.currentTarget.matches(e)||o)&&t.tour.next()}}}(n,e);let r;try{r=document.querySelector(n)}catch(e){}if(!u(n)&&!r)return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);r?(r.addEventListener(t,o),e.on("destroy",(()=>r.removeEventListener(t,o)))):(document.body.addEventListener(t,o,!0),e.on("destroy",(()=>document.body.removeEventListener(t,o,!0))))}}(this),Le(this)}_show(){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((()=>{this._scrollTo(this.options.scrollTo)})),this.el.hidden=!1;const e=this.shepherdElementComponent.getElement(),t=this.target||document.body;t.classList.add(`${this.classPrefix}shepherd-enabled`),t.classList.add(`${this.classPrefix}shepherd-target`),e.classList.add("shepherd-enabled"),this.trigger("show")}_styleTargetElementForStep(e){const t=e.target;t&&(e.options.highlightClass&&t.classList.add(e.options.highlightClass),t.classList.remove("shepherd-target-click-disabled"),!1===e.options.canClickTarget&&t.classList.add("shepherd-target-click-disabled"))}_updateStepTargetOnHide(){const e=this.target||document.body;this.options.highlightClass&&e.classList.remove(this.options.highlightClass),e.classList.remove("shepherd-target-click-disabled",`${this.classPrefix}shepherd-enabled`,`${this.classPrefix}shepherd-target`)}}function hn(e){let t,n,o,r,i;return{c(){t=Ze("svg"),n=Ze("path"),Ke(n,"d",e[2]),Ke(t,"class",o=(e[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m(o,s){Ye(o,t,s),qe(t,n),e[11](t),r||(i=Qe(t,"touchmove",e[3]),r=!0)},p(e,r){let[i]=r;4&i&&Ke(n,"d",e[2]),2&i&&o!==(o=(e[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&Ke(t,"class",o)},i:Be,o:Be,d(n){n&&Xe(t),e[11](null),r=!1,i()}}}function fn(e){if(!e)return null;const t=e instanceof HTMLElement&&window.getComputedStyle(e).overflowY;return"hidden"!==t&&"visible"!==t&&e.scrollHeight>=e.clientHeight?e:fn(e.parentElement)}function mn(e,t,n){let{element:o,openingProperties:r}=t;Pe();let i,s,a=!1;function l(){n(4,r={width:0,height:0,x:0,y:0,r:0})}function c(){n(1,a=!1),h()}function p(e,t,o,i){if(void 0===e&&(e=0),void 0===t&&(t=0),i){const{y:s,height:a}=function(e,t){const n=e.getBoundingClientRect();let o=n.y||n.top,r=n.bottom||o+n.height;if(t){const e=t.getBoundingClientRect(),n=e.y||e.top,i=e.bottom||n+e.height;o=Math.max(o,n),r=Math.min(r,i)}return{y:o,height:Math.max(r-o,0)}}(i,o),{x:l,width:c,left:p}=i.getBoundingClientRect();n(4,r={width:c+2*e,height:a+2*e,x:(l||p)-e,y:s-e,r:t})}else l()}function d(){n(1,a=!0)}l();const u=e=>{e.preventDefault()};function h(){i&&(cancelAnimationFrame(i),i=void 0),window.removeEventListener("touchmove",u,{passive:!1})}return e.$$set=e=>{"element"in e&&n(0,o=e.element),"openingProperties"in e&&n(4,r=e.openingProperties)},e.$$.update=()=>{16&e.$$.dirty&&n(2,s=function(e){let{width:t,height:n,x:o=0,y:r=0,r:i=0}=e;const{innerWidth:s,innerHeight:a}=window;return`M${s},${a}H0V0H${s}V${a}ZM${o+i},${r}a${i},${i},0,0,0-${i},${i}V${n+r-i}a${i},${i},0,0,0,${i},${i}H${t+o-i}a${i},${i},0,0,0,${i}-${i}V${r+i}a${i},${i},0,0,0-${i}-${i}Z`}(r))},[o,a,s,e=>{e.stopPropagation()},r,()=>o,l,c,p,function(e){h(),e.tour.options.useModalOverlay?(function(e){const{modalOverlayOpeningPadding:t,modalOverlayOpeningRadius:n}=e.options,o=fn(e.target),r=()=>{i=void 0,p(t,n,o,e.target),i=requestAnimationFrame(r)};r(),window.addEventListener("touchmove",u,{passive:!1})}(e),d()):c()},d,function(e){st[e?"unshift":"push"]((()=>{o=e,n(0,o)}))}]}class gn extends _t{constructor(e){super(),Tt(this,e,mn,hn,We,{element:0,openingProperties:4,getElement:5,closeModalOpening:6,hide:7,positionModal:8,setupForStep:9,show:10})}get getElement(){return this.$$.ctx[5]}get closeModalOpening(){return this.$$.ctx[6]}get hide(){return this.$$.ctx[7]}get positionModal(){return this.$$.ctx[8]}get setupForStep(){return this.$$.ctx[9]}get show(){return this.$$.ctx[10]}}const bn=new h;Object.assign(bn,{Tour:class extends h{constructor(e){return void 0===e&&(e={}),super(e),f(this),this.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},e),this.classPrefix=Ce(this.options.classPrefix),this.steps=[],this.addSteps(this.options.steps),["active","cancel","complete","inactive","show","start"].map((e=>{(e=>{this.on(e,(t=>{(t=t||{}).tour=this,bn.trigger(e,t)}))})(e)})),this._setTourID(),this}addStep(e,t){let n=e;return n instanceof un?n.tour=this:n=new un(this,n),u(t)?this.steps.push(n):this.steps.splice(t,0,n),n}addSteps(e){return Array.isArray(e)&&e.forEach((e=>{this.addStep(e)})),this}back(){const e=this.steps.indexOf(this.currentStep);this.show(e-1,!1)}cancel(){if(this.options.confirmCancel){const e=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(e)&&this._done("cancel")}else this._done("cancel")}complete(){this._done("complete")}getById(e){return this.steps.find((t=>t.id===e))}getCurrentStep(){return this.currentStep}hide(){const e=this.getCurrentStep();if(e)return e.hide()}isActive(){return bn.activeTour===this}next(){const e=this.steps.indexOf(this.currentStep);e===this.steps.length-1?this.complete():this.show(e+1,!0)}removeStep(e){const t=this.getCurrentStep();this.steps.some(((t,n)=>{if(t.id===e)return t.isOpen()&&t.hide(),t.destroy(),this.steps.splice(n,1),!0})),t&&t.id===e&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}show(e,t){void 0===e&&(e=0),void 0===t&&(t=!0);const n=d(e)?this.getById(e):this.steps[e];n&&(this._updateStateBeforeShow(),p(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,t):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show()))}start(){this.trigger("start"),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this._setupModal(),this._setupActiveTour(),this.next()}_done(e){const t=this.steps.indexOf(this.currentStep);if(Array.isArray(this.steps)&&this.steps.forEach((e=>e.destroy())),function(e){if(e){const{steps:t}=e;t.forEach((e=>{e.options&&!1===e.options.canClickTarget&&e.options.attachTo&&e.target instanceof HTMLElement&&e.target.classList.remove("shepherd-target-click-disabled")}))}}(this),this.trigger(e,{index:t}),bn.activeTour=null,this.trigger("inactive",{tour:this}),this.modal&&this.modal.hide(),("cancel"===e||"complete"===e)&&this.modal){const e=document.querySelector(".shepherd-modal-overlay-container");e&&e.remove()}c(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()}_setupActiveTour(){this.trigger("active",{tour:this}),bn.activeTour=this}_setupModal(){this.modal=new gn({target:this.options.modalContainer||document.body,props:{classPrefix:this.classPrefix,styles:this.styles}})}_skipStep(e,t){const n=this.steps.indexOf(e);if(n===this.steps.length-1)this.complete();else{const e=t?n+1:n-1;this.show(e,t)}}_updateStateBeforeShow(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}_setTourID(){const e=this.options.tourName||"tour";this.id=`${e}--${Pe()}`}},Step:un});var vn=n(379),yn=n.n(vn),xn=n(795),wn=n.n(xn),On=n(569),$n=n.n(On),Sn=n(565),En=n.n(Sn),Tn=n(216),_n=n.n(Tn),In=n(589),An=n.n(In),jn=n(633),Mn={};Mn.styleTagTransform=An(),Mn.setAttributes=En(),Mn.insert=$n().bind(null,"head"),Mn.domAPI=wn(),Mn.insertStyleElement=_n(),yn()(jn.Z,Mn),jn.Z&&jn.Z.locals&&jn.Z.locals;var Cn=n(230),kn={};kn.styleTagTransform=An(),kn.setAttributes=En(),kn.insert=$n().bind(null,"head"),kn.domAPI=wn(),kn.insertStyleElement=_n(),yn()(Cn.Z,kn),Cn.Z&&Cn.Z.locals&&Cn.Z.locals;let Ln,Pn,Hn=[],Bn=["complete","cancel","start","hide","show","active","inactive"],Dn=["show","hide","complete","cancel"];function Vn(e){return e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))}Shiny.addCustomMessageHandler("conductor-init",(e=>{null==e.globals.defaultStepOptions&&(e.globals.defaultStepOptions={}),void 0===e.globals.defaultStepOptions.buttons?e.globals.defaultStepOptions.buttons=[{action:function(){return this.back()},secondary:!0,text:"Previous"},{action:function(){return this.next()},text:"Next"}]:e.globals.defaultStepOptions.buttons.forEach(((t,n)=>{"back"==e.globals.defaultStepOptions.buttons[n].action&&(e.globals.defaultStepOptions.buttons[n].action=function(){return this.back()}),"next"==e.globals.defaultStepOptions.buttons[n].action&&(e.globals.defaultStepOptions.buttons[n].action=function(){return this.next()})})),1==e.globals.progress&&(e.globals.defaultStepOptions.when={show(){var t=Hn[e.id].getCurrentStep();if(Ln=t.getTarget(),null==Ln?Pn=null:(Pn=Ln.id,Pn=""==Pn|null==Pn|null==Pn?Ln.className:"#"+Pn),Shiny.setInputValue(e.id+"_target",Pn),Shiny.setInputValue(e.id+"_current_step",t.id),!t)return;const n=t.getElement();if(!n)return;const o=n.querySelector(".shepherd-header");if(!o)return;const r=document.createElement("span");r.innerText=`${Hn[e.id].steps.indexOf(t)+1}/${Hn[e.id].steps.length}`,o.insertBefore(r,n.querySelector(".shepherd-cancel-icon"))}}),e.globals.defaultStepOptions.when={show(){var t=Hn[e.id].getCurrentStep();Ln=t.getTarget(),console.log(t),null==Ln?Pn=null:(Pn=Ln.id,Pn=""==Pn|null==Pn|null==Pn?Ln.className:"#"+Pn),Shiny.setInputValue(e.id+"_target",Pn),Shiny.setInputValue(e.id+"_current_step",t.id)}},e.globals.defaultStepOptions.popperOptions={modifiers:[{name:"offset",options:{offset:[0,12]}}]},Hn[e.id]=new bn.Tour(e.globals),Bn.forEach((t=>Hn[e.id].on(t,(()=>{e.globals["on"+Vn(t)]&&new Function("return "+e.globals["on"+Vn(t)])()})))),Shiny.setInputValue(e.id+"_is_active",!1),Hn[e.id].on("active",(()=>{Shiny.setInputValue(e.id+"_is_active",!0)})),Hn[e.id].on("inactive",(()=>{Shiny.setInputValue(e.id+"_is_active",!1)})),e.steps.forEach(((t,n)=>{null!=e.steps[n].classes&&(e.steps[n].classes=e.steps[n].classes.join(" ")),e.mathjax&&(e.steps[n].when={show:function(e){setTimeout((function(){MathJax.Hub.Queue(["Typeset",MathJax.Hub])}),100)}}),void 0!==e.steps[n].tabId&&(e.steps[n].when={show:function(t){var o=$("#"+e.steps[n].tabId);Shiny.inputBindings.bindingNames["shiny.bootstrapTabInput"].binding.setValue(o,e.steps[n].tab)}}),null!=typeof e.steps[n].showOn&&("boolean"==typeof e.steps[n].showOn&&(e.steps[n].showOn="() => {return "+e.steps[n].showOn.toString()+"}"),e.steps[n].showOn=new Function("return "+e.steps[n].showOn)()),Dn.forEach((t=>{null!=e.steps[n]["on"+Vn(t)]&&(void 0===e.steps[n].when&&(e.steps[n].when={}),e.steps[n].when[t]=new Function("return "+e.steps[n]["on"+Vn(t)]),delete e.steps[n]["on"+Vn(t)])})),void 0!==e.steps[n].buttons&&e.steps[n].buttons.forEach(((t,o)=>{"back"==e.steps[n].buttons[o].action&&(e.steps[n].buttons[o].action=function(){return this.back()}),"next"==e.steps[n].buttons[o].action&&(e.steps[n].buttons[o].action=function(){return this.next()})}))})),Hn[e.id].addSteps(e.steps)})),Shiny.addCustomMessageHandler("conductor-start",(e=>{Hn[e.id].start()})),Shiny.addCustomMessageHandler("conductor-showStep",(e=>{Hn[e.id].show(e.step)})),Shiny.addCustomMessageHandler("conductor-removeStep",(e=>{e.step.forEach((t=>{Hn[e.id].removeStep(t)}))})),Shiny.addCustomMessageHandler("conductor-next",(e=>{Hn[e.id].next()})),Shiny.addCustomMessageHandler("conductor-back",(e=>{Hn[e.id].back()})),Shiny.addCustomMessageHandler("conductor-cancel",(e=>{Hn[e.id].cancel()})),Shiny.addCustomMessageHandler("conductor-complete",(e=>{Hn[e.id].complete()})),Shiny.addCustomMessageHandler("conductor-hide",(e=>{Hn[e.id].hide()})),Shiny.addCustomMessageHandler("conductor-getCurrentStep",(e=>{var t=Hn[e.id].getCurrentStep();Shiny.setInputValue(e.id+"_current_step",t.id,{priority:"event"})})),Shiny.addCustomMessageHandler("conductor-isOpen",(e=>{Ln=null!=e.step?Hn[e.id].getById(e.step):Hn[e.id].getCurrentStep(),Shiny.setInputValue(e.id+"_step_is_open",Ln.isOpen(),{priority:"event"})})),Shiny.addCustomMessageHandler("conductor-updateStepOptions",(e=>{Ln=null!=e.step?Hn[e.id].getById(e.step):Hn[e.id].getCurrentStep(),Ln.updateStepOptions(e.new)}))})()})(); \ No newline at end of file +(()=>{"use strict";var t={978:(t,e,n)=>{n.d(e,{A:()=>l});var o=n(601),r=n.n(o),s=n(314),i=n.n(s)()(r());i.push([t.id,'.shepherd-button{background:#3288e6;border:0;border-radius:3px;color:hsla(0,0%,100%,.75);cursor:pointer;margin-right:.5rem;padding:.5rem 1.5rem;transition:all .5s ease}.shepherd-button:not(:disabled):hover{background:#196fcc;color:hsla(0,0%,100%,.75)}.shepherd-button.shepherd-button-secondary{background:#f1f2f3;color:rgba(0,0,0,.75)}.shepherd-button.shepherd-button-secondary:not(:disabled):hover{background:#d6d9db;color:rgba(0,0,0,.75)}.shepherd-button:disabled{cursor:not-allowed}\n.shepherd-footer{border-bottom-left-radius:5px;border-bottom-right-radius:5px;display:flex;justify-content:flex-end;padding:0 .75rem .75rem}.shepherd-footer .shepherd-button:last-child{margin-right:0}\n.shepherd-cancel-icon{background:transparent;border:none;color:hsla(0,0%,50%,.75);cursor:pointer;font-size:2em;font-weight:400;margin:0;padding:0;transition:color .5s ease}.shepherd-cancel-icon:hover{color:rgba(0,0,0,.75)}.shepherd-has-title .shepherd-content .shepherd-cancel-icon{color:hsla(0,0%,50%,.75)}.shepherd-has-title .shepherd-content .shepherd-cancel-icon:hover{color:rgba(0,0,0,.75)}\n.shepherd-title{color:rgba(0,0,0,.75);display:flex;flex:1 0 auto;font-size:1rem;font-weight:400;margin:0;padding:0}\n.shepherd-header{align-items:center;border-top-left-radius:5px;border-top-right-radius:5px;display:flex;justify-content:flex-end;line-height:2em;padding:.75rem .75rem 0}.shepherd-has-title .shepherd-content .shepherd-header{background:#e6e6e6;padding:1em}\n.shepherd-text{color:rgba(0,0,0,.75);font-size:1rem;line-height:1.3em;padding:.75em}.shepherd-text p{margin-top:0}.shepherd-text p:last-child{margin-bottom:0}\n.shepherd-content{border-radius:5px;outline:none;padding:0}\n.shepherd-element{background:#fff;border-radius:5px;box-shadow:0 1px 4px rgba(0,0,0,.2);max-width:400px;opacity:0;outline:none;transition:opacity .3s,visibility .3s;visibility:hidden;width:100%;z-index:9999}.shepherd-enabled.shepherd-element{opacity:1;visibility:visible}.shepherd-element[data-popper-reference-hidden]:not(.shepherd-centered){opacity:0;pointer-events:none;visibility:hidden}.shepherd-element,.shepherd-element *,.shepherd-element :after,.shepherd-element :before{box-sizing:border-box}.shepherd-arrow,.shepherd-arrow:before{height:16px;position:absolute;width:16px;z-index:-1}.shepherd-arrow:before{background:#fff;content:"";transform:rotate(45deg)}.shepherd-element[data-popper-placement^=top]>.shepherd-arrow{bottom:-8px}.shepherd-element[data-popper-placement^=bottom]>.shepherd-arrow{top:-8px}.shepherd-element[data-popper-placement^=left]>.shepherd-arrow{right:-8px}.shepherd-element[data-popper-placement^=right]>.shepherd-arrow{left:-8px}.shepherd-element.shepherd-centered>.shepherd-arrow{opacity:0}.shepherd-element.shepherd-has-title[data-popper-placement^=bottom]>.shepherd-arrow:before{background-color:#e6e6e6}.shepherd-target-click-disabled.shepherd-enabled.shepherd-target,.shepherd-target-click-disabled.shepherd-enabled.shepherd-target *{pointer-events:none}\n.shepherd-modal-overlay-container{height:0;left:0;opacity:0;overflow:hidden;pointer-events:none;position:fixed;top:0;transition:all .3s ease-out,height 0ms .3s,opacity .3s 0ms;width:100vw;z-index:9997}.shepherd-modal-overlay-container.shepherd-modal-is-visible{height:100vh;opacity:.5;transform:translateZ(0);transition:all .3s ease-out,height 0s 0s,opacity .3s 0s}.shepherd-modal-overlay-container.shepherd-modal-is-visible path{pointer-events:all}',""]);const l=i},172:(t,e,n)=>{n.d(e,{A:()=>l});var o=n(601),r=n.n(o),s=n(314),i=n.n(s)()(r());i.push([t.id,".shepherd-title {\n font-size: 2rem;\n width: 100%;\n}\n\n.shepherd-text {\n font-size: 1.5rem;\n}\n",""]);const l=i},314:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",o=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),o&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),o&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,o,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var i={};if(o)for(var l=0;l0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},601:t=>{t.exports=function(t){return t[1]}},72:t=>{var e=[];function n(t){for(var n=-1,o=0;o{var e={};t.exports=function(t,n){var o=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},540:t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},56:(t,e,n)=>{t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},825:t=>{t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var s=n.sourceMap;s&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleTagTransform(o,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},113:t=>{t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var s=e[o]={id:o,exports:{}};return t[o](s,s.exports,n),s.exports}function o(t){return t instanceof HTMLElement}function r(t){return"function"==typeof t}function s(t){return"string"==typeof t}function i(t){return void 0===t}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nc=void 0,Shiny,jQuery;class l{on(t,e,n,o=!1){var r;return i(this.bindings)&&(this.bindings={}),i(this.bindings[t])&&(this.bindings[t]=[]),null==(r=this.bindings[t])||r.push({handler:e,ctx:n,once:o}),this}once(t,e,n){return this.on(t,e,n,!0)}off(t,e){return i(this.bindings)||i(this.bindings[t])||(i(e)?delete this.bindings[t]:null==(n=this.bindings[t])||n.forEach(((n,o)=>{var r;n.handler===e&&(null==(r=this.bindings[t])||r.splice(o,1))}))),this;var n}trigger(t,...e){var n;return!i(this.bindings)&&this.bindings[t]&&(null==(n=this.bindings[t])||n.forEach(((n,o)=>{const{ctx:r,handler:s,once:i}=n,l=r||this;var c;s.apply(l,e),i&&(null==(c=this.bindings[t])||c.splice(o,1))}))),this}}function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)continue;n[o]=t[o]}return n}const u={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};function d(t,e){return e}function p(t){return"object"!=typeof t||null===t?0:Array.isArray(t)?2:function(t){if(!f.has(Object.prototype.toString.call(t)))return!1;const{constructor:e}=t;if(void 0===e)return!0;const n=e.prototype;return!(null===n||"object"!=typeof n||!f.has(Object.prototype.toString.call(n)))&&!!n.hasOwnProperty("isPrototypeOf")}(t)?1:t instanceof Set?3:t instanceof Map?4:5}function h(t){return{*[Symbol.iterator](){for(const e of t)for(const t of e)yield t}}}u.defaultMerge;const f=new Set(["[object Object]","[object Module]"]);function m(t){return t.at(-1)}var g=Object.freeze({__proto__:null,mergeArrays:function(t){return t.flat()},mergeMaps:function(t){return new Map(h(t))},mergeOthers:m,mergeRecords:function(t,e,n){const o={};for(const i of function(t){const e=new Set;for(const n of t)for(const t of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])e.add(t);return e}(t)){const l=[];for(const e of t)s=i,"object"==typeof(r=e)&&Object.prototype.propertyIsEnumerable.call(r,s)&&l.push(e[i]);if(0===l.length)continue;const c=e.metaDataUpdater(n,{key:i,parents:t}),a=y(l,e,c);a!==u.skip&&("__proto__"===i?Object.defineProperty(o,i,{value:a,configurable:!0,enumerable:!0,writable:!0}):o[i]=a)}var r,s;return o},mergeSets:function(t){return new Set(h(t))}});function b(...t){return function(t,e){const n=function(t,e){var n,o;return{defaultMergeFunctions:g,mergeFunctions:c({},g,Object.fromEntries(Object.entries(t).filter((([t,e])=>Object.hasOwn(g,t))).map((([t,e])=>!1===e?[t,m]:[t,e])))),metaDataUpdater:null!=(n=t.metaDataUpdater)?n:d,deepmerge:e,useImplicitDefaultMerging:null!=(o=t.enableImplicitDefaultMerging)&&o,actions:u}}({},o);function o(...t){return y(t,n,undefined)}return o}()(...t)}function y(t,e,n){if(0===t.length)return;if(1===t.length)return v(t,e,n);const o=p(t[0]);if(0!==o&&5!==o)for(let r=1;r{const n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?n:3&n|8).toString(16)}))}const E=Math.min,T=Math.max,_=Math.round,I=Math.floor,A=t=>({x:t,y:t}),M={left:"right",right:"left",bottom:"top",top:"bottom"},C={start:"end",end:"start"};function k(t,e,n){return T(t,E(e,n))}function L(t,e){return"function"==typeof t?t(e):t}function P(t){return t.split("-")[0]}function F(t){return t.split("-")[1]}function R(t){return"x"===t?"y":"x"}function D(t){return"y"===t?"height":"width"}function H(t){return["top","bottom"].includes(P(t))?"y":"x"}function j(t){return R(H(t))}function B(t){return t.replace(/start|end/g,(t=>C[t]))}function N(t){return t.replace(/left|right|bottom|top/g,(t=>M[t]))}function V(t){return"number"!=typeof t?function(t){return c({top:0,right:0,bottom:0,left:0},t)}(t):{top:t,right:t,bottom:t,left:t}}function z(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}const q=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],W=["mainAxis","crossAxis","limiter"];function U(t,e,n){let{reference:o,floating:r}=t;const s=H(e),i=j(e),l=D(i),c=P(e),a="y"===s,u=o.x+o.width/2-r.width/2,d=o.y+o.height/2-r.height/2,p=o[l]/2-r[l]/2;let h;switch(c){case"top":h={x:u,y:o.y-r.height};break;case"bottom":h={x:u,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:d};break;case"left":h={x:o.x-r.width,y:d};break;default:h={x:o.x,y:o.y}}switch(F(e)){case"start":h[i]-=p*(n&&a?-1:1);break;case"end":h[i]+=p*(n&&a?-1:1)}return h}async function Y(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:s,rects:i,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=L(e,t),f=V(h),m=l[p?"floating"===d?"reference":"floating":d],g=z(await s.getClippingRect({element:null==(n=await(null==s.isElement?void 0:s.isElement(m)))||n?m:m.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(l.floating)),boundary:a,rootBoundary:u,strategy:c})),b="floating"===d?{x:o,y:r,width:i.floating.width,height:i.floating.height}:i.reference,y=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l.floating)),v=await(null==s.isElement?void 0:s.isElement(y))&&await(null==s.getScale?void 0:s.getScale(y))||{x:1,y:1},x=z(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:y,strategy:c}):b);return{top:(g.top-x.top+f.top)/v.y,bottom:(x.bottom-g.bottom+f.bottom)/v.y,left:(g.left-x.left+f.left)/v.x,right:(x.right-g.right+f.right)/v.x}}function J(t){return Q(t)?(t.nodeName||"").toLowerCase():"#document"}function X(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Z(t){var e;return null==(e=(Q(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Q(t){return t instanceof Node||t instanceof X(t).Node}function K(t){return t instanceof Element||t instanceof X(t).Element}function G(t){return t instanceof HTMLElement||t instanceof X(t).HTMLElement}function tt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof X(t).ShadowRoot)}function et(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=lt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(r)}function nt(t){return["table","td","th"].includes(J(t))}function ot(t){return[":popover-open",":modal"].some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function rt(t){const e=st(),n=lt(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function st(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function it(t){return["html","body","#document"].includes(J(t))}function lt(t){return X(t).getComputedStyle(t)}function ct(t){return K(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function at(t){if("html"===J(t))return t;const e=t.assignedSlot||t.parentNode||tt(t)&&t.host||Z(t);return tt(e)?e.host:e}function ut(t){const e=at(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:G(e)&&et(e)?e:ut(e)}function dt(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=ut(t),s=r===(null==(o=t.ownerDocument)?void 0:o.body),i=X(r);return s?e.concat(i,i.visualViewport||[],et(r)?r:[],i.frameElement&&n?dt(i.frameElement):[]):e.concat(r,dt(r,[],n))}function pt(t){const e=lt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=G(t),s=r?t.offsetWidth:n,i=r?t.offsetHeight:o,l=_(n)!==s||_(o)!==i;return l&&(n=s,o=i),{width:n,height:o,$:l}}function ht(t){return K(t)?t:t.contextElement}function ft(t){const e=ht(t);if(!G(e))return A(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:s}=pt(e);let i=(s?_(n.width):n.width)/o,l=(s?_(n.height):n.height)/r;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const mt=A(0);function gt(t){const e=X(t);return st()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:mt}function bt(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),s=ht(t);let i=A(1);e&&(o?K(o)&&(i=ft(o)):i=ft(t));const l=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==X(t))&&e}(s,n,o)?gt(s):A(0);let c=(r.left+l.x)/i.x,a=(r.top+l.y)/i.y,u=r.width/i.x,d=r.height/i.y;if(s){const t=X(s),e=o&&K(o)?X(o):o;let n=t,r=n.frameElement;for(;r&&o&&e!==n;){const t=ft(r),e=r.getBoundingClientRect(),o=lt(r),s=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,i=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,a*=t.y,u*=t.x,d*=t.y,c+=s,a+=i,n=X(r),r=n.frameElement}}return z({width:u,height:d,x:c,y:a})}function yt(t){return bt(Z(t)).left+ct(t).scrollLeft}function vt(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=X(t),o=Z(t),r=n.visualViewport;let s=o.clientWidth,i=o.clientHeight,l=0,c=0;if(r){s=r.width,i=r.height;const t=st();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:s,height:i,x:l,y:c}}(t,n);else if("document"===e)o=function(t){const e=Z(t),n=ct(t),o=t.ownerDocument.body,r=T(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=T(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let i=-n.scrollLeft+yt(t);const l=-n.scrollTop;return"rtl"===lt(o).direction&&(i+=T(e.clientWidth,o.clientWidth)-r),{width:r,height:s,x:i,y:l}}(Z(t));else if(K(e))o=function(t,e){const n=bt(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,s=G(t)?ft(t):A(1);return{width:t.clientWidth*s.x,height:t.clientHeight*s.y,x:r*s.x,y:o*s.y}}(e,n);else{const n=gt(t);o=c({},e,{x:e.x-n.x,y:e.y-n.y})}return z(o)}function xt(t,e){const n=at(t);return!(n===e||!K(n)||it(n))&&("fixed"===lt(n).position||xt(n,e))}function wt(t,e,n){const o=G(e),r=Z(e),s="fixed"===n,i=bt(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const c=A(0);if(o||!o&&!s)if(("body"!==J(e)||et(r))&&(l=ct(e)),o){const t=bt(e,!0,s,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&(c.x=yt(r));return{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}function $t(t){return"static"===lt(t).position}function St(t,e){return G(t)&&"fixed"!==lt(t).position?e?e(t):t.offsetParent:null}function Ot(t,e){const n=X(t);if(ot(t))return n;if(!G(t)){let e=at(t);for(;e&&!it(e);){if(K(e)&&!$t(e))return e;e=at(e)}return n}let o=St(t,e);for(;o&&nt(o)&&$t(o);)o=St(o,e);return o&&it(o)&&$t(o)&&!rt(o)?n:o||function(t){let e=at(t);for(;G(e)&&!it(e);){if(ot(e))return null;if(rt(e))return e;e=at(e)}return null}(t)||n}const Et={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const s="fixed"===r,i=Z(o),l=!!e&&ot(e.floating);if(o===i||l&&s)return n;let c={scrollLeft:0,scrollTop:0},a=A(1);const u=A(0),d=G(o);if((d||!d&&!s)&&(("body"!==J(o)||et(i))&&(c=ct(o)),G(o))){const t=bt(o);a=ft(o),u.x=t.x+o.clientLeft,u.y=t.y+o.clientTop}return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+u.x,y:n.y*a.y-c.scrollTop*a.y+u.y}},getDocumentElement:Z,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const s=[..."clippingAncestors"===n?ot(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=dt(t,[],!1).filter((t=>K(t)&&"body"!==J(t))),r=null;const s="fixed"===lt(t).position;let i=s?at(t):t;for(;K(i)&&!it(i);){const e=lt(i),n=rt(i);n||"fixed"!==e.position||(r=null),(s?!n&&!r:!n&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||et(i)&&!n&&xt(t,i))?o=o.filter((t=>t!==i)):r=e,i=at(i)}return e.set(t,o),o}(e,this._c):[].concat(n),o],i=s[0],l=s.reduce(((t,n)=>{const o=vt(e,n,r);return t.top=T(o.top,t.top),t.right=E(o.right,t.right),t.bottom=E(o.bottom,t.bottom),t.left=T(o.left,t.left),t}),vt(e,i,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ot,getElementRects:async function(t){const e=this.getOffsetParent||Ot,n=this.getDimensions,o=await n(t.floating);return{reference:wt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=pt(t);return{width:e,height:n}},getScale:ft,isElement:K,isRTL:function(t){return"rtl"===lt(t).direction}};const Tt=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:s,middlewareData:i}=e,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=L(t,e),d={x:n,y:o},p=H(r),h=R(p);let f=d[h],m=d[p];const g=L(l,e),b="number"==typeof g?{mainAxis:g,crossAxis:0}:c({mainAxis:0,crossAxis:0},g);if(a){const t="y"===h?"height":"width",e=s.reference[h]-s.floating[t]+b.mainAxis,n=s.reference[h]+s.reference[t]-b.mainAxis;fn&&(f=n)}if(u){var y,v;const t="y"===h?"width":"height",e=["top","left"].includes(P(r)),n=s.reference[p]-s.floating[t]+(e&&(null==(y=i.offset)?void 0:y[p])||0)+(e?0:b.crossAxis),o=s.reference[p]+s.reference[t]+(e?0:(null==(v=i.offset)?void 0:v[p])||0)-(e?b.crossAxis:0);mo&&(m=o)}return{[h]:f,[p]:m}}}};function _t(t){t.cleanup&&t.cleanup();const e=t._getResolvedAttachToOptions();let n=e.element;const r=function(t,e){const n={strategy:"absolute",middleware:[]},o=function(t){return!(!t.options.arrow||!t.el)&&t.el.querySelector(".shepherd-arrow")}(e);if(!S(t)){if(n.middleware.push(function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:s,rects:i,initialPlacement:l,platform:c,elements:u}=e,d=L(t,e),{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:b=!0}=d,y=a(d,q);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const v=P(r),x=H(l),w=P(l)===l,$=await(null==c.isRTL?void 0:c.isRTL(u.floating)),S=f||(w||!b?[N(l)]:function(t){const e=N(t);return[B(t),e,B(e)]}(l)),O="none"!==g;!f&&O&&S.push(...function(t,e,n,o){const r=F(t);let s=function(t,e,n){const o=["left","right"],r=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(t){case"top":case"bottom":return n?e?r:o:e?o:r;case"left":case"right":return e?s:i;default:return[]}}(P(t),"start"===n,o);return r&&(s=s.map((t=>t+"-"+r)),e&&(s=s.concat(s.map(B)))),s}(l,b,g,$));const E=[l,...S],T=await Y(e,y),_=[];let I=(null==(o=s.flip)?void 0:o.overflows)||[];if(p&&_.push(T[v]),h){const t=function(t,e,n){void 0===n&&(n=!1);const o=F(t),r=j(t),s=D(r);let i="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[s]>e.floating[s]&&(i=N(i)),[i,N(i)]}(r,i,$);_.push(T[t[0]],T[t[1]])}if(I=[...I,{placement:r,overflows:_}],!_.every((t=>t<=0))){var A,M;const t=((null==(A=s.flip)?void 0:A.index)||0)+1,e=E[t];if(e)return{data:{index:t,overflows:I},reset:{placement:e}};let n=null==(M=I.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:M.placement;if(!n)switch(m){case"bestFit":{var C;const t=null==(C=I.filter((t=>{if(O){const e=H(t.placement);return e===x||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:C[0];t&&(n=t);break}case"initialPlacement":n=l}if(r!==n)return{reset:{placement:n}}}return{}}}}(),function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,s=L(t,e),{mainAxis:i=!0,crossAxis:l=!1,limiter:u={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}}}=s,d=a(s,W),p={x:n,y:o},h=await Y(e,d),f=H(P(r)),m=R(f);let g=p[m],b=p[f];if(i){const t="y"===m?"bottom":"right";g=k(g+h["y"===m?"top":"left"],g,g-h[t])}if(l){const t="y"===f?"bottom":"right";b=k(b+h["y"===f?"top":"left"],b,b-h[t])}const y=u.fn(c({},e,{[m]:g,[f]:b}));return c({},y,{data:{x:y.x-n,y:y.y-o}})}}}({limiter:Tt(),crossAxis:!0})),o){var r,s;const e=(null==t||null==(r=t.on)?void 0:r.includes("-start"))||(null==t||null==(s=t.on)?void 0:s.includes("-end"));n.middleware.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:s,platform:i,elements:l,middlewareData:a}=e,{element:u,padding:d=0}=L(t,e)||{};if(null==u)return{};const p=V(d),h={x:n,y:o},f=j(r),m=D(f),g=await i.getDimensions(u),b="y"===f,y=b?"top":"left",v=b?"bottom":"right",x=b?"clientHeight":"clientWidth",w=s.reference[m]+s.reference[f]-h[f]-s.floating[m],$=h[f]-s.reference[f],S=await(null==i.getOffsetParent?void 0:i.getOffsetParent(u));let O=S?S[x]:0;O&&await(null==i.isElement?void 0:i.isElement(S))||(O=l.floating[x]||s.floating[m]);const T=w/2-$/2,_=O/2-g[m]/2-1,I=E(p[y],_),A=E(p[v],_),M=I,C=O-g[m]-A,P=O/2-g[m]/2+T,R=k(M,P,C),H=!a.arrow&&null!=F(r)&&P!==R&&s.reference[m]/2-(P{r&&t.addEventListener("scroll",n,{passive:!0}),s&&t.addEventListener("resize",n)}));const p=u&&l?function(t,e){let n,o=null;const r=Z(t);function s(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function i(l,a){void 0===l&&(l=!1),void 0===a&&(a=1),s();const{left:u,top:d,width:p,height:h}=t.getBoundingClientRect();if(l||e(),!p||!h)return;const f={rootMargin:-I(d)+"px "+-I(r.clientWidth-(u+p))+"px "+-I(r.clientHeight-(d+h))+"px "+-I(u)+"px",threshold:T(0,E(1,a))||1};let m=!0;function g(t){const e=t[0].intersectionRatio;if(e!==a){if(!m)return i();e?i(!1,e):n=setTimeout((()=>{i(!1,1e-7)}),1e3)}m=!1}try{o=new IntersectionObserver(g,c({},f,{root:r.ownerDocument}))}catch(t){o=new IntersectionObserver(g,f)}o.observe(t)}(!0),s}(u,n):null;let h,f=-1,m=null;i&&(m=new ResizeObserver((t=>{let[o]=t;o&&o.target===u&&m&&(m.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var t;null==(t=m)||t.observe(e)}))),n()})),u&&!a&&m.observe(u),m.observe(e));let g=a?bt(t):null;return a&&function e(){const o=bt(t);!g||o.x===g.x&&o.y===g.y&&o.width===g.width&&o.height===g.height||n(),g=o,h=requestAnimationFrame(e)}(),n(),()=>{var t;d.forEach((t=>{r&&t.removeEventListener("scroll",n),s&&t.removeEventListener("resize",n)})),null==p||p(),null==(t=m)||t.disconnect(),m=null,a&&cancelAnimationFrame(h)}}(n,t.el,(()=>{t.el?function(t,e,n,r){((t,e,n)=>{const o=new Map,r=c({platform:Et},n),s=c({},r.platform,{_c:o});return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),a=await(null==i.isRTL?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:p}=U(u,o,a),h=o,f={},m=0;for(let n=0;nt.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:`${n}px`,top:`${r}px`}),t.el.dataset.popperPlacement=s,function(t,e){const n=t.querySelector(".shepherd-arrow");if(o(n)&&e.arrow){const{x:t,y:o}=e.arrow;Object.assign(n.style,{left:null!=t?`${t}px`:"",top:null!=o?`${o}px`:""})}}(t.el,i),t):t}(e,r)).then((t=>new Promise((e=>{setTimeout((()=>e(t)),300)})))).then((t=>{null!=t&&t.el&&t.el.focus({preventScroll:!0})}))}(n,t,r,s):null==t.cleanup||t.cleanup()})),t.target=e.element,r}function It(){}function At(t,e){for(const n in e)t[n]=e[n];return t}function Mt(t){return t()}function Ct(){return Object.create(null)}function kt(t){t.forEach(Mt)}function Lt(t){return"function"==typeof t}function Pt(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function Ft(t,e){t.appendChild(e)}function Rt(t,e,n){t.insertBefore(e,n||null)}function Dt(t){t.parentNode&&t.parentNode.removeChild(t)}function Ht(t){return document.createElement(t)}function jt(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Bt(t){return document.createTextNode(t)}function Nt(){return Bt(" ")}function Vt(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function zt(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const qt=["width","height"];function Wt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const o in e)null==e[o]?t.removeAttribute(o):"style"===o?t.style.cssText=e[o]:"__value"===o?t.value=t[o]=e[o]:n[o]&&n[o].set&&-1===qt.indexOf(o)?t[o]=e[o]:zt(t,o,e[o])}function Ut(t,e,n){t.classList.toggle(e,!!n)}let Yt;function Jt(t){Yt=t}function Xt(){if(!Yt)throw new Error("Function called outside component initialization");return Yt}function Zt(t){Xt().$$.after_update.push(t)}const Qt=[],Kt=[];let Gt=[];const te=[],ee=Promise.resolve();let ne=!1;function oe(t){Gt.push(t)}const re=new Set;let se=0;function ie(){if(0!==se)return;const t=Yt;do{try{for(;se{ce.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}else o&&o()}function fe(t){return void 0!==(null==t?void 0:t.length)?t:Array.from(t)}function me(t){t&&t.c()}function ge(t,e,n){const{fragment:o,after_update:r}=t.$$;o&&o.m(e,n),oe((()=>{const e=t.$$.on_mount.map(Mt).filter(Lt);t.$$.on_destroy?t.$$.on_destroy.push(...e):kt(e),t.$$.on_mount=[]})),r.forEach(oe)}function be(t,e){const n=t.$$;null!==n.fragment&&(function(t){const e=[],n=[];Gt.forEach((o=>-1===t.indexOf(o)?e.push(o):n.push(o))),n.forEach((t=>t())),Gt=e}(n.after_update),kt(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ye(t,e,n,o,r,s,i=null,l=[-1]){const c=Yt;Jt(t);const a=t.$$={fragment:null,ctx:[],props:s,update:It,not_equal:r,bound:Ct(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Ct(),dirty:l,skip_bound:!1,root:e.target||c.$$.root};i&&i(a.root);let u=!1;if(a.ctx=n?n(t,e.props||{},((e,n,...o)=>{const s=o.length?o[0]:n;return a.ctx&&r(a.ctx[e],a.ctx[e]=s)&&(!a.skip_bound&&a.bound[e]&&a.bound[e](s),u&&function(t,e){-1===t.$$.dirty[0]&&(Qt.push(t),ne||(ne=!0,ee.then(ie)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function xe(t){let e,n,o,r,s;return{c(){e=Ht("button"),zt(e,"aria-label",n=t[3]?t[3]:null),zt(e,"class",o=`${t[1]||""} shepherd-button ${t[4]?"shepherd-button-secondary":""}`),e.disabled=t[2],zt(e,"tabindex","0"),zt(e,"type","button")},m(n,o){Rt(n,e,o),e.innerHTML=t[5],r||(s=Vt(e,"click",(function(){Lt(t[0])&&t[0].apply(this,arguments)})),r=!0)},p(r,[s]){t=r,32&s&&(e.innerHTML=t[5]),8&s&&n!==(n=t[3]?t[3]:null)&&zt(e,"aria-label",n),18&s&&o!==(o=`${t[1]||""} shepherd-button ${t[4]?"shepherd-button-secondary":""}`)&&zt(e,"class",o),4&s&&(e.disabled=t[2])},i:It,o:It,d(t){t&&Dt(e),r=!1,s()}}}function we(t,e,n){let o,s,i,l,c,a,{config:u,step:d}=e;function p(t){return r(t)?t.call(d):t}return t.$$set=t=>{"config"in t&&n(6,u=t.config),"step"in t&&n(7,d=t.step)},t.$$.update=()=>{192&t.$$.dirty&&(n(0,o=u.action?u.action.bind(d.tour):null),n(1,s=u.classes),n(2,i=!!u.disabled&&p(u.disabled)),n(3,l=u.label?p(u.label):null),n(4,c=u.secondary),n(5,a=u.text?p(u.text):null))},[o,s,i,l,c,a,u,d]}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class $e extends ve{constructor(t){super(),ye(this,t,we,xe,Pt,{config:6,step:7})}}function Se(t,e,n){const o=t.slice();return o[2]=e[n],o}function Oe(t){let e,n,o=fe(t[1]),r=[];for(let e=0;ehe(r[t],1,1,(()=>{r[t]=null}));return{c(){for(let t=0;t{o=null})),de())},i(t){n||(pe(o),n=!0)},o(t){he(o),n=!1},d(t){t&&Dt(e),o&&o.d()}}}function _e(t,e,n){let o,{step:r}=e;return t.$$set=t=>{"step"in t&&n(0,r=t.step)},t.$$.update=()=>{1&t.$$.dirty&&n(1,o=r.options.buttons)},[r,o]}class Ie extends ve{constructor(t){super(),ye(this,t,_e,Te,Pt,{step:0})}}function Ae(t){let e,n,o,r,s;return{c(){e=Ht("button"),n=Ht("span"),n.textContent="×",zt(n,"aria-hidden","true"),zt(e,"aria-label",o=t[0].label?t[0].label:"Close Tour"),zt(e,"class","shepherd-cancel-icon"),zt(e,"type","button")},m(o,i){Rt(o,e,i),Ft(e,n),r||(s=Vt(e,"click",t[1]),r=!0)},p(t,[n]){1&n&&o!==(o=t[0].label?t[0].label:"Close Tour")&&zt(e,"aria-label",o)},i:It,o:It,d(t){t&&Dt(e),r=!1,s()}}}function Me(t,e,n){let{cancelIcon:o,step:r}=e;return t.$$set=t=>{"cancelIcon"in t&&n(0,o=t.cancelIcon),"step"in t&&n(2,r=t.step)},[o,t=>{t.preventDefault(),r.cancel()},r]}class Ce extends ve{constructor(t){super(),ye(this,t,Me,Ae,Pt,{cancelIcon:0,step:2})}}function ke(t){let e;return{c(){e=Ht("h3"),zt(e,"id",t[1]),zt(e,"class","shepherd-title")},m(n,o){Rt(n,e,o),t[3](e)},p(t,[n]){2&n&&zt(e,"id",t[1])},i:It,o:It,d(n){n&&Dt(e),t[3](null)}}}function Le(t,e,n){let{labelId:o,element:s,title:i}=e;return Zt((()=>{r(i)&&n(2,i=i()),n(0,s.innerHTML=i,s)})),t.$$set=t=>{"labelId"in t&&n(1,o=t.labelId),"element"in t&&n(0,s=t.element),"title"in t&&n(2,i=t.title)},[s,o,i,function(t){Kt[t?"unshift":"push"]((()=>{s=t,n(0,s)}))}]}class Pe extends ve{constructor(t){super(),ye(this,t,Le,ke,Pt,{labelId:1,element:0,title:2})}}function Fe(t){let e,n;return e=new Pe({props:{labelId:t[0],title:t[2]}}),{c(){me(e.$$.fragment)},m(t,o){ge(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.labelId=t[0]),4&n&&(o.title=t[2]),e.$set(o)},i(t){n||(pe(e.$$.fragment,t),n=!0)},o(t){he(e.$$.fragment,t),n=!1},d(t){be(e,t)}}}function Re(t){let e,n;return e=new Ce({props:{cancelIcon:t[3],step:t[1]}}),{c(){me(e.$$.fragment)},m(t,o){ge(e,t,o),n=!0},p(t,n){const o={};8&n&&(o.cancelIcon=t[3]),2&n&&(o.step=t[1]),e.$set(o)},i(t){n||(pe(e.$$.fragment,t),n=!0)},o(t){he(e.$$.fragment,t),n=!1},d(t){be(e,t)}}}function De(t){let e,n,o,r=t[2]&&Fe(t),s=t[3]&&t[3].enabled&&Re(t);return{c(){e=Ht("header"),r&&r.c(),n=Nt(),s&&s.c(),zt(e,"class","shepherd-header")},m(t,i){Rt(t,e,i),r&&r.m(e,null),Ft(e,n),s&&s.m(e,null),o=!0},p(t,[o]){t[2]?r?(r.p(t,o),4&o&&pe(r,1)):(r=Fe(t),r.c(),pe(r,1),r.m(e,n)):r&&(ue(),he(r,1,1,(()=>{r=null})),de()),t[3]&&t[3].enabled?s?(s.p(t,o),8&o&&pe(s,1)):(s=Re(t),s.c(),pe(s,1),s.m(e,null)):s&&(ue(),he(s,1,1,(()=>{s=null})),de())},i(t){o||(pe(r),pe(s),o=!0)},o(t){he(r),he(s),o=!1},d(t){t&&Dt(e),r&&r.d(),s&&s.d()}}}function He(t,e,n){let o,r,{labelId:s,step:i}=e;return t.$$set=t=>{"labelId"in t&&n(0,s=t.labelId),"step"in t&&n(1,i=t.step)},t.$$.update=()=>{2&t.$$.dirty&&(n(2,o=i.options.title),n(3,r=i.options.cancelIcon))},[s,i,o,r]}class je extends ve{constructor(t){super(),ye(this,t,He,De,Pt,{labelId:0,step:1})}}function Be(t){let e;return{c(){e=Ht("div"),zt(e,"class","shepherd-text"),zt(e,"id",t[1])},m(n,o){Rt(n,e,o),t[3](e)},p(t,[n]){2&n&&zt(e,"id",t[1])},i:It,o:It,d(n){n&&Dt(e),t[3](null)}}}function Ne(t,e,n){let{descriptionId:s,element:i,step:l}=e;return Zt((()=>{let{text:t}=l.options;r(t)&&(t=t.call(l)),o(t)?i.appendChild(t):n(0,i.innerHTML=t,i)})),t.$$set=t=>{"descriptionId"in t&&n(1,s=t.descriptionId),"element"in t&&n(0,i=t.element),"step"in t&&n(2,l=t.step)},[i,s,l,function(t){Kt[t?"unshift":"push"]((()=>{i=t,n(0,i)}))}]}class Ve extends ve{constructor(t){super(),ye(this,t,Ne,Be,Pt,{descriptionId:1,element:0,step:2})}}function ze(t){let e,n;return e=new je({props:{labelId:t[1],step:t[2]}}),{c(){me(e.$$.fragment)},m(t,o){ge(e,t,o),n=!0},p(t,n){const o={};2&n&&(o.labelId=t[1]),4&n&&(o.step=t[2]),e.$set(o)},i(t){n||(pe(e.$$.fragment,t),n=!0)},o(t){he(e.$$.fragment,t),n=!1},d(t){be(e,t)}}}function qe(t){let e,n;return e=new Ve({props:{descriptionId:t[0],step:t[2]}}),{c(){me(e.$$.fragment)},m(t,o){ge(e,t,o),n=!0},p(t,n){const o={};1&n&&(o.descriptionId=t[0]),4&n&&(o.step=t[2]),e.$set(o)},i(t){n||(pe(e.$$.fragment,t),n=!0)},o(t){he(e.$$.fragment,t),n=!1},d(t){be(e,t)}}}function We(t){let e,n;return e=new Ie({props:{step:t[2]}}),{c(){me(e.$$.fragment)},m(t,o){ge(e,t,o),n=!0},p(t,n){const o={};4&n&&(o.step=t[2]),e.$set(o)},i(t){n||(pe(e.$$.fragment,t),n=!0)},o(t){he(e.$$.fragment,t),n=!1},d(t){be(e,t)}}}function Ue(t){let e,n,o,r,s=!i(t[2].options.title)||t[2].options.cancelIcon&&t[2].options.cancelIcon.enabled,l=!i(t[2].options.text),c=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length,a=s&&ze(t),u=l&&qe(t),d=c&&We(t);return{c(){e=Ht("div"),a&&a.c(),n=Nt(),u&&u.c(),o=Nt(),d&&d.c(),zt(e,"class","shepherd-content")},m(t,s){Rt(t,e,s),a&&a.m(e,null),Ft(e,n),u&&u.m(e,null),Ft(e,o),d&&d.m(e,null),r=!0},p(t,[r]){4&r&&(s=!i(t[2].options.title)||t[2].options.cancelIcon&&t[2].options.cancelIcon.enabled),s?a?(a.p(t,r),4&r&&pe(a,1)):(a=ze(t),a.c(),pe(a,1),a.m(e,n)):a&&(ue(),he(a,1,1,(()=>{a=null})),de()),4&r&&(l=!i(t[2].options.text)),l?u?(u.p(t,r),4&r&&pe(u,1)):(u=qe(t),u.c(),pe(u,1),u.m(e,o)):u&&(ue(),he(u,1,1,(()=>{u=null})),de()),4&r&&(c=Array.isArray(t[2].options.buttons)&&t[2].options.buttons.length),c?d?(d.p(t,r),4&r&&pe(d,1)):(d=We(t),d.c(),pe(d,1),d.m(e,null)):d&&(ue(),he(d,1,1,(()=>{d=null})),de())},i(t){r||(pe(a),pe(u),pe(d),r=!0)},o(t){he(a),he(u),he(d),r=!1},d(t){t&&Dt(e),a&&a.d(),u&&u.d(),d&&d.d()}}}function Ye(t,e,n){let{descriptionId:o,labelId:r,step:s}=e;return t.$$set=t=>{"descriptionId"in t&&n(0,o=t.descriptionId),"labelId"in t&&n(1,r=t.labelId),"step"in t&&n(2,s=t.step)},[o,r,s]}class Je extends ve{constructor(t){super(),ye(this,t,Ye,Ue,Pt,{descriptionId:0,labelId:1,step:2})}}function Xe(t){let e;return{c(){e=Ht("div"),zt(e,"class","shepherd-arrow"),zt(e,"data-popper-arrow","")},m(t,n){Rt(t,e,n)},d(t){t&&Dt(e)}}}function Ze(t){let e,n,o,r,s,l,c,a,u=t[4].options.arrow&&t[4].options.attachTo&&t[4].options.attachTo.element&&t[4].options.attachTo.on&&Xe();o=new Je({props:{descriptionId:t[2],labelId:t[3],step:t[4]}});let d=[{"aria-describedby":r=i(t[4].options.text)?null:t[2]},{"aria-labelledby":s=t[4].options.title?t[3]:null},t[1],{role:"dialog"},{tabindex:"0"}],p={};for(let t=0;t!!t.length))}function Ke(t,e,n){let o,r,i,{classPrefix:l,element:c,descriptionId:a,firstFocusableElement:u,focusableElements:d,labelId:p,lastFocusableElement:h,step:f,dataStepId:m}=e;var g;return g=()=>{n(1,m={[`data-${l}shepherd-step-id`]:f.id}),n(9,d=c.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')),n(8,u=d[0]),n(10,h=d[d.length-1])},Xt().$$.on_mount.push(g),Zt((()=>{i!==f.options.classes&&(function(t){if(s(t)){const e=Qe(t);e.length&&c.classList.remove(...e)}}(i),i=f.options.classes,function(t){if(s(t)){const e=Qe(t);e.length&&c.classList.add(...e)}}(i))})),t.$$set=t=>{"classPrefix"in t&&n(11,l=t.classPrefix),"element"in t&&n(0,c=t.element),"descriptionId"in t&&n(2,a=t.descriptionId),"firstFocusableElement"in t&&n(8,u=t.firstFocusableElement),"focusableElements"in t&&n(9,d=t.focusableElements),"labelId"in t&&n(3,p=t.labelId),"lastFocusableElement"in t&&n(10,h=t.lastFocusableElement),"step"in t&&n(4,f=t.step),"dataStepId"in t&&n(1,m=t.dataStepId)},t.$$.update=()=>{16&t.$$.dirty&&(n(5,o=f.options&&f.options.cancelIcon&&f.options.cancelIcon.enabled),n(6,r=f.options&&f.options.title))},[c,m,a,p,f,o,r,t=>{const{tour:e}=f;switch(t.keyCode){case 9:if(0===d.length){t.preventDefault();break}t.shiftKey?(document.activeElement===u||document.activeElement.classList.contains("shepherd-element"))&&(t.preventDefault(),h.focus()):document.activeElement===h&&(t.preventDefault(),u.focus());break;case 27:e.options.exitOnEsc&&(t.preventDefault(),t.stopPropagation(),f.cancel());break;case 37:e.options.keyboardNavigation&&(t.preventDefault(),t.stopPropagation(),e.back());break;case 39:e.options.keyboardNavigation&&(t.preventDefault(),t.stopPropagation(),e.next())}},u,d,h,l,()=>c,function(t){Kt[t?"unshift":"push"]((()=>{c=t,n(0,c)}))}]}class Ge extends ve{constructor(t){super(),ye(this,t,Ke,Ze,Pt,{classPrefix:11,element:0,descriptionId:2,firstFocusableElement:8,focusableElements:9,labelId:3,lastFocusableElement:10,step:4,dataStepId:1,getElement:12})}get getElement(){return this.$$.ctx[12]}}class tn extends l{constructor(t,e={}){return super(),this._resolvedAttachTo=void 0,this.classPrefix=void 0,this.el=void 0,this.target=void 0,this.tour=void 0,this.tour=t,this.classPrefix=this.tour.options?w(this.tour.options.classPrefix):"",this.styles=t.styles,this._resolvedAttachTo=null,x(this),this._setOptions(e),this}cancel(){this.tour.cancel(),this.trigger("cancel")}complete(){this.tour.complete(),this.trigger("complete")}destroy(){this.cleanup&&this.cleanup(),this.cleanup=null,o(this.el)&&(this.el.remove(),this.el=null),this._updateStepTargetOnHide(),this.trigger("destroy")}getTour(){return this.tour}hide(){var t;null==(t=this.tour.modal)||t.hide(),this.trigger("before-hide"),this.el&&(this.el.hidden=!0),this._updateStepTargetOnHide(),this.trigger("hide")}_resolveAttachToOptions(){return this._resolvedAttachTo=function(t){const e=t.options.attachTo||{},n=Object.assign({},e);if(r(n.element)&&(n.element=n.element.call(t)),s(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}_getResolvedAttachToOptions(){return null===this._resolvedAttachTo?this._resolveAttachToOptions():this._resolvedAttachTo}isOpen(){return Boolean(this.el&&!this.el.hidden)}show(){return r(this.options.beforeShowPromise)?Promise.resolve(this.options.beforeShowPromise()).then((()=>this._show())):Promise.resolve(this._show())}updateStepOptions(t){Object.assign(this.options,t),this.shepherdElementComponent&&this.shepherdElementComponent.$set({step:this})}getElement(){return this.el}getTarget(){return this.target}_createTooltipContent(){const t=`${this.id}-description`,e=`${this.id}-label`;return this.shepherdElementComponent=new Ge({target:this.tour.options.stepsContainer||document.body,props:{classPrefix:this.classPrefix,descriptionId:t,labelId:e,step:this,styles:this.styles}}),this.shepherdElementComponent.getElement()}_scrollTo(t){const{element:e}=this._getResolvedAttachToOptions();r(this.options.scrollToHandler)?this.options.scrollToHandler(e):e instanceof Element&&"function"==typeof e.scrollIntoView&&e.scrollIntoView(t)}_getClassOptions(t){const e=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions,n=t.classes?t.classes:"",o=e&&e.classes?e.classes:"",r=[...n.split(" "),...o.split(" ")],s=new Set(r);return Array.from(s).join(" ").trim()}_setOptions(t={}){let e=this.tour&&this.tour.options&&this.tour.options.defaultStepOptions;e=b({},e||{}),this.options=Object.assign({arrow:!0},e,t,function(t,e){return{floatingUIOptions:b(t.floatingUIOptions||{},e.floatingUIOptions||{})}}(e,t));const{when:n}=this.options;this.options.classes=this._getClassOptions(t),this.destroy(),this.id=this.options.id||`step-${O()}`,n&&Object.keys(n).forEach((t=>{this.on(t,n[t],this)}))}_setupElements(){i(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&function(t){const{event:e,selector:n}=t.options.advanceOn||{};if(!e)return console.error("advanceOn was defined, but no event name was passed.");{const o=function(t,e){return n=>{if(t.isOpen()){const o=t.el&&n.currentTarget===t.el;(!i(e)&&n.currentTarget.matches(e)||o)&&t.tour.next()}}}(t,n);let r=null;if(!i(n)&&(r=document.querySelector(n),!r))return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);r?(r.addEventListener(e,o),t.on("destroy",(()=>r.removeEventListener(e,o)))):(document.body.addEventListener(e,o,!0),t.on("destroy",(()=>document.body.removeEventListener(e,o,!0))))}}(this),_t(this)}_show(){var t;this.trigger("before-show"),this._resolveAttachToOptions(),this._setupElements(),this.tour.modal||this.tour.setupModal(),null==(t=this.tour.modal)||t.setupForStep(this),this._styleTargetElementForStep(this),this.el&&(this.el.hidden=!1),this.options.scrollTo&&setTimeout((()=>{this._scrollTo(this.options.scrollTo)})),this.el&&(this.el.hidden=!1);const 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")}_styleTargetElementForStep(t){const 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"))}_updateStepTargetOnHide(){const 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`)}}function en(t){let e,n,o,r,s;return{c(){e=jt("svg"),n=jt("path"),zt(n,"d",t[2]),zt(e,"class",o=(t[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")},m(o,i){Rt(o,e,i),Ft(e,n),t[11](e),r||(s=Vt(e,"touchmove",t[3]),r=!0)},p(t,[r]){4&r&&zt(n,"d",t[2]),2&r&&o!==(o=(t[1]?"shepherd-modal-is-visible":"")+" shepherd-modal-overlay-container")&&zt(e,"class",o)},i:It,o:It,d(n){n&&Dt(e),t[11](null),r=!1,s()}}}function nn(t){if(!t)return null;const e=t instanceof HTMLElement&&window.getComputedStyle(t).overflowY;return"hidden"!==e&&"visible"!==e&&t.scrollHeight>=t.clientHeight?t:nn(t.parentElement)}function on(t,e,n){let o,r,{element:s,openingProperties:i}=e,l=!1;function c(){n(4,i={width:0,height:0,x:0,y:0,r:0})}function a(){n(1,l=!1),h()}function u(t=0,e=0,o=0,r=0,s,l){if(l){const{y:c,height:a}=function(t,e){const n=t.getBoundingClientRect();let o=n.y||n.top,r=n.bottom||o+n.height;if(e){const t=e.getBoundingClientRect(),n=t.y||t.top,s=t.bottom||n+t.height;o=Math.max(o,n),r=Math.min(r,s)}return{y:o,height:Math.max(r-o,0)}}(l,s),{x:u,width:d,left:p}=l.getBoundingClientRect();n(4,i={width:d+2*t,height:a+2*t,x:(u||p)+o-t,y:c+r-t,r:e})}else c()}function d(){n(1,l=!0)}c();const p=t=>{t.preventDefault()};function h(){o&&(cancelAnimationFrame(o),o=void 0),window.removeEventListener("touchmove",p,{passive:!1})}return t.$$set=t=>{"element"in t&&n(0,s=t.element),"openingProperties"in t&&n(4,i=t.openingProperties)},t.$$.update=()=>{16&t.$$.dirty&&n(2,r=function({width:t,height:e,x:n=0,y:o=0,r=0}){const{innerWidth:s,innerHeight:i}=window,{topLeft:l=0,topRight:c=0,bottomRight:a=0,bottomLeft:u=0}="number"==typeof r?{topLeft:r,topRight:r,bottomRight:r,bottomLeft:r}:r;return`M${s},${i}H0V0H${s}V${i}ZM${n+l},${o}a${l},${l},0,0,0-${l},${l}V${e+o-u}a${u},${u},0,0,0,${u},${u}H${t+n-a}a${a},${a},0,0,0,${a}-${a}V${o+c}a${c},${c},0,0,0-${c}-${c}Z`}(i))},[s,l,r,t=>{t.stopPropagation()},i,()=>s,c,a,u,function(t){h(),t.tour.options.useModalOverlay?(function(t){const{modalOverlayOpeningPadding:e,modalOverlayOpeningRadius:n,modalOverlayOpeningXOffset:r=0,modalOverlayOpeningYOffset:s=0}=t.options,i=function(t){let e={top:0,left:0};if(!t)return e;let n=t.ownerDocument.defaultView;for(;n!==window.top;){var o;const t=null==(o=n)?void 0:o.frameElement;if(t){var r,s;const n=t.getBoundingClientRect();e.top+=n.top+(null!=(r=n.scrollTop)?r:0),e.left+=n.left+(null!=(s=n.scrollLeft)?s:0)}n=n.parent}return e}(t.target),l=nn(t.target),c=()=>{o=void 0,u(e,n,r+i.left,s+i.top,l,t.target),o=requestAnimationFrame(c)};c(),window.addEventListener("touchmove",p,{passive:!1})}(t),d()):a()},d,function(t){Kt[t?"unshift":"push"]((()=>{s=t,n(0,s)}))}]}class rn extends ve{constructor(t){super(),ye(this,t,on,en,Pt,{element:0,openingProperties:4,getElement:5,closeModalOpening:6,hide:7,positionModal:8,setupForStep:9,show:10})}get getElement(){return this.$$.ctx[5]}get closeModalOpening(){return this.$$.ctx[6]}get hide(){return this.$$.ctx[7]}get positionModal(){return this.$$.ctx[8]}get setupForStep(){return this.$$.ctx[9]}get show(){return this.$$.ctx[10]}}const sn=new class extends l{constructor(){super(),this.activeTour=void 0,x(this)}},ln="undefined"==typeof window;sn.Step=ln?class{constructor(t){}}:tn,sn.Tour=ln?class{constructor(t,e){}}:class extends l{constructor(t={}){return super(),this.trackedEvents=["active","cancel","complete","show"],this.classPrefix=void 0,this.currentStep=void 0,this.focusedElBeforeOpen=void 0,this.id=void 0,this.modal=void 0,this.options=void 0,this.steps=void 0,x(this),this.options=Object.assign({},{exitOnEsc:!0,keyboardNavigation:!0},t),this.classPrefix=w(this.options.classPrefix),this.steps=[],this.addSteps(this.options.steps),["active","cancel","complete","inactive","show","start"].map((t=>{(t=>{this.on(t,(e=>{(e=e||{}).tour=this,sn.trigger(t,e)}))})(t)})),this._setTourID(t.id),this}addStep(t,e){let n=t;return n instanceof tn?n.tour=this:n=new tn(this,n),i(e)?this.steps.push(n):this.steps.splice(e,0,n),n}addSteps(t){return Array.isArray(t)&&t.forEach((t=>{this.addStep(t)})),this}back(){const t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)}async cancel(){if(this.options.confirmCancel){const t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";let e;e=r(this.options.confirmCancel)?await this.options.confirmCancel():window.confirm(t),e&&this._done("cancel")}else this._done("cancel")}complete(){this._done("complete")}getById(t){return this.steps.find((e=>e.id===t))}getCurrentStep(){return this.currentStep}hide(){const t=this.getCurrentStep();if(t)return t.hide()}isActive(){return sn.activeTour===this}next(){const t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)}removeStep(t){const e=this.getCurrentStep();this.steps.some(((e,n)=>{if(e.id===t)return e.isOpen()&&e.hide(),e.destroy(),this.steps.splice(n,1),!0})),e&&e.id===t&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}show(t=0,e=!0){const n=s(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),r(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,e):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show()))}async start(){this.trigger("start"),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this.setupModal(),this._setupActiveTour(),this.next()}_done(t){const e=this.steps.indexOf(this.currentStep);if(Array.isArray(this.steps)&&this.steps.forEach((t=>t.destroy())),function(t){if(t){const{steps:e}=t;e.forEach((t=>{t.options&&!1===t.options.canClickTarget&&t.options.attachTo&&o(t.target)&&t.target.classList.remove("shepherd-target-click-disabled")}))}}(this),this.trigger(t,{index:e}),sn.activeTour=null,this.trigger("inactive",{tour:this}),this.modal&&this.modal.hide(),("cancel"===t||"complete"===t)&&this.modal){const t=document.querySelector(".shepherd-modal-overlay-container");t&&(t.remove(),this.modal=null)}o(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()}_setupActiveTour(){this.trigger("active",{tour:this}),sn.activeTour=this}setupModal(){this.modal=new rn({target:this.options.modalContainer||document.body,props:{styles:this.styles}})}_skipStep(t,e){const n=this.steps.indexOf(t);if(n===this.steps.length-1)this.complete();else{const t=e?n+1:n-1;this.show(t,e)}}_updateStateBeforeShow(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}_setTourID(t){const e=this.options.tourName||"tour",n=t||O();this.id=`${e}--${n}`}};var cn=n(72),an=n.n(cn),un=n(825),dn=n.n(un),pn=n(659),hn=n.n(pn),fn=n(56),mn=n.n(fn),gn=n(540),bn=n.n(gn),yn=n(113),vn=n.n(yn),xn=n(978),wn={};wn.styleTagTransform=vn(),wn.setAttributes=mn(),wn.insert=hn().bind(null,"head"),wn.domAPI=dn(),wn.insertStyleElement=bn(),an()(xn.A,wn),xn.A&&xn.A.locals&&xn.A.locals;var $n=n(172),Sn={};Sn.styleTagTransform=vn(),Sn.setAttributes=mn(),Sn.insert=hn().bind(null,"head"),Sn.domAPI=dn(),Sn.insertStyleElement=bn(),an()($n.A,Sn),$n.A&&$n.A.locals&&$n.A.locals;let On,En,Tn=[],_n=["complete","cancel","start","hide","show","active","inactive"],In=["show","hide","complete","cancel"];function An(t){return t.replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}))}Shiny.addCustomMessageHandler("conductor-init",(t=>{null==t.globals.defaultStepOptions&&(t.globals.defaultStepOptions={}),void 0===t.globals.defaultStepOptions.buttons?t.globals.defaultStepOptions.buttons=[{action:function(){return this.back()},secondary:!0,text:"Previous"},{action:function(){return this.next()},text:"Next"}]:t.globals.defaultStepOptions.buttons.forEach(((e,n)=>{"back"==t.globals.defaultStepOptions.buttons[n].action&&(t.globals.defaultStepOptions.buttons[n].action=function(){return this.back()}),"next"==t.globals.defaultStepOptions.buttons[n].action&&(t.globals.defaultStepOptions.buttons[n].action=function(){return this.next()})})),1==t.globals.progress&&(t.globals.defaultStepOptions.when={show(){var e=Tn[t.id].getCurrentStep();if(On=e.getTarget(),null==On?En=null:(En=On.id,En=""==En|null==En|null==En?On.className:"#"+En),Shiny.setInputValue(t.id+"_target",En),Shiny.setInputValue(t.id+"_current_step",e.id),!e)return;const n=e.getElement();if(!n)return;const o=n.querySelector(".shepherd-header");if(!o)return;const r=document.createElement("span");r.innerText=`${Tn[t.id].steps.indexOf(e)+1}/${Tn[t.id].steps.length}`,o.insertBefore(r,n.querySelector(".shepherd-cancel-icon"))}}),t.globals.defaultStepOptions.when={show(){var e=Tn[t.id].getCurrentStep();On=e.getTarget(),console.log(e),null==On?En=null:(En=On.id,En=""==En|null==En|null==En?On.className:"#"+En),Shiny.setInputValue(t.id+"_target",En),Shiny.setInputValue(t.id+"_current_step",e.id)}},t.globals.defaultStepOptions.popperOptions={modifiers:[{name:"offset",options:{offset:[0,12]}}]},Tn[t.id]=new sn.Tour(t.globals),_n.forEach((e=>Tn[t.id].on(e,(()=>{t.globals["on"+An(e)]&&new Function("return "+t.globals["on"+An(e)])()})))),Tn[t.id].on("active",(()=>{console.log(t.id),Shiny.setInputValue(t.id+"_is_active",!0)})),Tn[t.id].on("inactive",(()=>{console.log(t.id),Shiny.setInputValue(t.id+"_is_active",!1)})),t.steps.forEach(((e,n)=>{null!=t.steps[n].classes&&(t.steps[n].classes=t.steps[n].classes.join(" ")),t.mathjax&&(t.steps[n].when={show:function(t){setTimeout((function(){MathJax.Hub.Queue(["Typeset",MathJax.Hub])}),100)}}),void 0!==t.steps[n].tabId&&(t.steps[n].when={show:function(e){var o=$("#"+t.steps[n].tabId);Shiny.inputBindings.bindingNames["shiny.bootstrapTabInput"].binding.setValue(o,t.steps[n].tab)}}),null!=typeof t.steps[n].showOn&&("boolean"==typeof t.steps[n].showOn&&(t.steps[n].showOn="() => {return "+t.steps[n].showOn.toString()+"}"),t.steps[n].showOn=new Function("return "+t.steps[n].showOn)()),In.forEach((e=>{null!=t.steps[n]["on"+An(e)]&&(void 0===t.steps[n].when&&(t.steps[n].when={}),t.steps[n].when[e]=new Function("return "+t.steps[n]["on"+An(e)]),delete t.steps[n]["on"+An(e)])})),void 0!==t.steps[n].buttons&&t.steps[n].buttons.forEach(((e,o)=>{"back"==t.steps[n].buttons[o].action&&(t.steps[n].buttons[o].action=function(){return this.back()}),"next"==t.steps[n].buttons[o].action&&(t.steps[n].buttons[o].action=function(){return this.next()})}))})),Tn[t.id].addSteps(t.steps)})),Shiny.addCustomMessageHandler("conductor-start",(t=>{Tn[t.id].start()})),Shiny.addCustomMessageHandler("conductor-showStep",(t=>{Tn[t.id].show(t.step)})),Shiny.addCustomMessageHandler("conductor-removeStep",(t=>{t.step.forEach((e=>{Tn[t.id].removeStep(e)}))})),Shiny.addCustomMessageHandler("conductor-next",(t=>{Tn[t.id].next()})),Shiny.addCustomMessageHandler("conductor-back",(t=>{Tn[t.id].back()})),Shiny.addCustomMessageHandler("conductor-cancel",(t=>{Tn[t.id].cancel()})),Shiny.addCustomMessageHandler("conductor-complete",(t=>{Tn[t.id].complete()})),Shiny.addCustomMessageHandler("conductor-hide",(t=>{Tn[t.id].hide()})),Shiny.addCustomMessageHandler("conductor-isOpen",(t=>{On=null!=t.step?Tn[t.id].getById(t.step):Tn[t.id].getCurrentStep(),Shiny.setInputValue(t.id+"_step_is_open",On.isOpen(),{priority:"event"})})),Shiny.addCustomMessageHandler("conductor-updateStepOptions",(t=>{On=null!=t.step?Tn[t.id].getById(t.step):Tn[t.id].getCurrentStep(),On.updateStepOptions(t.new)}))})(); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index dee7e86..d5b5656 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,79 +29,79 @@ } }, "node_modules/@floating-ui/core": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.2.tgz", - "integrity": "sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==", + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.4.tgz", + "integrity": "sha512-a4IowK4QkXl4SCWTGUR0INAfEOX3wtsYw3rKK5InQEHMGObkR8Xk44qYQD9P4r6HHw0iIfK6GUKECmY8sTkqRA==", "dependencies": { - "@floating-ui/utils": "^0.2.0" + "@floating-ui/utils": "^0.2.4" } }, "node_modules/@floating-ui/dom": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.5.tgz", - "integrity": "sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.7.tgz", + "integrity": "sha512-wmVfPG5o2xnKDU4jx/m4w5qva9FWHcnZ8BvzEe90D/RpwsJaTAVYPEPdQ8sbr/N8zZTAHlZUTQdqg8ZUbzHmng==", "dependencies": { - "@floating-ui/core": "^1.0.0", - "@floating-ui/utils": "^0.2.0" + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.4" } }, "node_modules/@floating-ui/utils": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.2.tgz", - "integrity": "sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.4.tgz", + "integrity": "sha512-dWO2pw8hhi+WrXq1YJy2yCuWoL20PddgGaqTgVe4cOS9Q6qklXCiA1tJEqX6BEwRNSCP84/afac9hd4MS+zEUA==" }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "dependencies": { - "@jridgewell/set-array": "^1.0.1", + "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", - "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", "dev": true, "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.22", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz", - "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -109,9 +109,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.44.3", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.3.tgz", - "integrity": "sha512-iM/WfkwAhwmPff3wZuPLYiHX18HI24jU8k1ZSH7P8FHwxTjZ2P6CoX2wnF43oprR+YXJM6UUxATkNvyv/JHd+g==", + "version": "8.56.10", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.10.tgz", + "integrity": "sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==", "dev": true, "dependencies": { "@types/estree": "*", @@ -119,9 +119,9 @@ } }, "node_modules/@types/eslint-scope": { - "version": "3.7.5", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.5.tgz", - "integrity": "sha512-JNvhIEyxVW6EoMIFIvj93ZOywYFatlpu9deeH6eSx6PE3WHYvHaQtmHmQeNw7aA81bYGBPPQqdtBm6b1SsQMmA==", + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", "dev": true, "dependencies": { "@types/eslint": "*", @@ -135,15 +135,15 @@ "dev": true }, "node_modules/@types/json-schema": { - "version": "7.0.13", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz", - "integrity": "sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==", + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true }, "node_modules/@types/node": { - "version": "20.11.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz", - "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==", + "version": "20.14.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz", + "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -352,9 +352,9 @@ "dev": true }, "node_modules/acorn": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", - "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -398,9 +398,9 @@ } }, "node_modules/browserslist": { - "version": "4.22.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.1.tgz", - "integrity": "sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==", + "version": "4.23.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz", + "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==", "dev": true, "funding": [ { @@ -417,10 +417,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001541", - "electron-to-chromium": "^1.4.535", - "node-releases": "^2.0.13", - "update-browserslist-db": "^1.0.13" + "caniuse-lite": "^1.0.30001640", + "electron-to-chromium": "^1.4.820", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.1.0" }, "bin": { "browserslist": "cli.js" @@ -436,9 +436,9 @@ "dev": true }, "node_modules/caniuse-lite": { - "version": "1.0.30001547", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001547.tgz", - "integrity": "sha512-W7CrtIModMAxobGhz8iXmDfuJiiKg1WADMO/9x7/CLNin5cpSbuBjooyoIUVB5eyCc36QuTVlkVa1iB2S5+/eA==", + "version": "1.0.30001641", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001641.tgz", + "integrity": "sha512-Phv5thgl67bHYo1TtMY/MurjkHhV4EDaCosezRXgZ8jzA/Ub+wjxAvbGvjoFENStinwi5kCyOYV3mi5tOGykwA==", "dev": true, "funding": [ { @@ -456,9 +456,9 @@ ] }, "node_modules/chrome-trace-event": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", + "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", "dev": true, "engines": { "node": ">=6.0" @@ -560,9 +560,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.548", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.548.tgz", - "integrity": "sha512-R77KD6mXv37DOyKLN/eW1rGS61N6yHOfapNSX9w+y9DdPG83l9Gkuv7qkCFZ4Ta4JPhrjgQfYbv4Y3TnM1Hi2Q==", + "version": "1.4.825", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.825.tgz", + "integrity": "sha512-OCcF+LwdgFGcsYPYC5keEEFC2XT0gBhrYbeGzHCx7i9qRFbzO/AqTmc/C/1xNhJj+JA7rzlN7mpBuStshh96Cg==", "dev": true }, "node_modules/enhanced-resolve": { @@ -579,9 +579,9 @@ } }, "node_modules/envinfo": { - "version": "7.10.0", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.10.0.tgz", - "integrity": "sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw==", + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.13.0.tgz", + "integrity": "sha512-cvcaMr7KqXVh4nyzGTVqTum+gAiL265x5jUWQIDLq//zOGbW+gSW/C+OWLleY/rs9Qole6AZLMXPbtIFQbqu+Q==", "dev": true, "bin": { "envinfo": "dist/cli.js" @@ -591,15 +591,15 @@ } }, "node_modules/es-module-lexer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.1.tgz", - "integrity": "sha512-JUFAyicQV9mXc3YRxPnDlrfBKpqt6hUYzz9/boprUJHs4e4KVr3XwOF70doO6gwXUor6EWZJAyWAfKki84t20Q==", + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz", + "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==", "dev": true }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true, "engines": { "node": ">=6" @@ -700,6 +700,15 @@ "flat": "cli.js" } }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/glob-to-regexp": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", @@ -712,15 +721,6 @@ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true }, - "node_modules/has": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz", - "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==", - "dev": true, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -730,6 +730,18 @@ "node": ">=8" } }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/icss-utils": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", @@ -771,12 +783,15 @@ } }, "node_modules/is-core-module": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", - "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", + "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", "dev": true, "dependencies": { - "has": "^1.0.3" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -865,18 +880,6 @@ "node": ">=8" } }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -929,9 +932,9 @@ "dev": true }, "node_modules/node-releases": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", - "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", "dev": true }, "node_modules/p-limit": { @@ -995,9 +998,9 @@ "dev": true }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", "dev": true }, "node_modules/pkg-dir": { @@ -1013,9 +1016,9 @@ } }, "node_modules/postcss": { - "version": "8.4.33", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", - "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", + "version": "8.4.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.39.tgz", + "integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==", "dev": true, "funding": [ { @@ -1033,8 +1036,8 @@ ], "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" + "picocolors": "^1.0.1", + "source-map-js": "^1.2.0" }, "engines": { "node": "^10 || ^12 || >=14" @@ -1100,9 +1103,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.16", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", - "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", + "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", "dev": true, "dependencies": { "cssesc": "^3.0.0", @@ -1149,9 +1152,9 @@ } }, "node_modules/resolve": { - "version": "1.22.6", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz", - "integrity": "sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, "dependencies": { "is-core-module": "^2.13.0", @@ -1225,13 +1228,10 @@ } }, "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -1303,9 +1303,9 @@ } }, "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", "dev": true, "engines": { "node": ">=0.10.0" @@ -1374,9 +1374,9 @@ } }, "node_modules/terser": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.27.0.tgz", - "integrity": "sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==", + "version": "5.31.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.2.tgz", + "integrity": "sha512-LGyRZVFm/QElZHy/CPr/O4eNZOZIzsrQ92y4v9UJe/pFJjypje2yI3C2FmPtvUEnhadlSbmG2nXtdcjHOjCfxw==", "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.3", @@ -1432,9 +1432,9 @@ "dev": true }, "node_modules/update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "dev": true, "funding": [ { @@ -1451,8 +1451,8 @@ } ], "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.1.2", + "picocolors": "^1.0.1" }, "bin": { "update-browserslist-db": "cli.js" @@ -1647,12 +1647,6 @@ "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", "dev": true - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true } } } diff --git a/srcjs/exts/conductor.js b/srcjs/exts/conductor.js index 78493ad..0e1f063 100644 --- a/srcjs/exts/conductor.js +++ b/srcjs/exts/conductor.js @@ -135,7 +135,6 @@ Shiny.addCustomMessageHandler('conductor-init', (opts) => { })) // Set shiny input to active or inactive - Shiny.setInputValue(opts.id + '_is_active', false); // FALSE by default tour[opts.id].on("active", () => { Shiny.setInputValue(opts.id + '_is_active', true); }) diff --git a/tests/testthat/_snaps/basic.md b/tests/testthat/_snaps/basic.md index 1e11ae9..8a69447 100644 --- a/tests/testthat/_snaps/basic.md +++ b/tests/testthat/_snaps/basic.md @@ -1,14 +1,14 @@ # foo - "
<\/div>

hello welcome on this tour<\/h3> <\/header>
This is the content of the modal<\/div>