shepherdjs_rails 2.1.0 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,2 @@
1
- /*!
2
- * /*! shepherd.js 2.1.0 * /
3
- *
4
- */
5
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Shepherd=e():t.Shepherd=e()}(this,function(){return function(n){var r={};function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return o.m=n,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=18)}([function(t,e){t.exports=function(t){return void 0===t}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){var r=n(3),o=n(10),i=n(1);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==r(t)}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u="http://www.w3.org/2000/svg",f={modalOverlay:"shepherdModalOverlayContainer",modalOverlayMask:"shepherdModalMask",modalOverlayMaskOpening:"shepherdModalMaskOpening"},r={isVisible:"shepherd-modal-is-visible",modalTarget:"shepherd-modal-target"};e.createModalOverlay=function(){var t,e,n,r,o,i=((t=document.createElementNS(u,"svg")).setAttributeNS(null,"id",f.modalOverlay),t),a=document.createElementNS(u,"defs"),s=((e=document.createElementNS(u,"mask")).setAttributeNS(null,"id",f.modalOverlayMask),e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","100%"),e.setAttributeNS(null,"height","100%"),e),p=((n=document.createElementNS(u,"rect")).setAttributeNS(null,"x","0"),n.setAttributeNS(null,"y","0"),n.setAttributeNS(null,"width","100%"),n.setAttributeNS(null,"height","100%"),n.setAttributeNS(null,"fill","#FFFFFF"),n),l=((r=document.createElementNS(u,"rect")).setAttributeNS(null,"id",f.modalOverlayMaskOpening),r.setAttributeNS(null,"fill","#000000"),r),c=((o=document.createElementNS(u,"rect")).setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"mask","url(#".concat(f.modalOverlayMask,")")),o);return s.appendChild(p),s.appendChild(l),a.appendChild(s),i.appendChild(a),i.appendChild(c),i},e.positionModalOpening=function(t,e){if(t.getBoundingClientRect&&e instanceof SVGElement){var n=t.getBoundingClientRect(),r=n.x,o=n.y,i=n.width,a=n.height;e.setAttributeNS(null,"x",r),e.setAttributeNS(null,"y",o),e.setAttributeNS(null,"width",i),e.setAttributeNS(null,"height",a)}},e.preventModalBodyTouch=function(t){t.preventDefault()},e.preventModalOverlayTouch=function(t){t.stopPropagation()},e.closeModalOpening=function(t){t&&t instanceof SVGElement&&(t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"width","0"),t.setAttributeNS(null,"height","0"))},e.getModalMaskOpening=function(t){return t.querySelector("#".concat(f.modalOverlayMaskOpening))},e.elementIds=f,e.classNames=r,e.toggleShepherdModalClass=function(t){var e=document.querySelector("".concat(r.modalTarget));e&&e.classList.remove(r.modalTarget),t.classList.add(r.modalTarget)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Evented=void 0;var i=r(n(0)),o=r(n(19));function r(t){return t&&t.__esModule?t:{default:t}}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}e.Evented=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"on",value:function(t,e,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];(0,i.default)(this.bindings)&&(this.bindings={}),(0,i.default)(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:r})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(n,r){var o=this;if((0,i.default)(this.bindings)||(0,i.default)(this.bindings[n]))return!1;(0,i.default)(r)?delete this.bindings[n]:this.bindings[n].forEach(function(t,e){t.handler===r&&o.bindings[n].splice(e,1)})}},{key:"trigger",value:function(a){var s=this;if(!(0,i.default)(this.bindings)&&this.bindings[a]){var p=(0,o.default)(arguments);this.bindings[a].forEach(function(t,e){var n=t.ctx,r=t.handler,o=t.once,i=n||s;r.apply(i,p),o&&s.bindings[a].splice(e,1)})}}}])&&a(e.prototype,n),r&&a(e,r),t}()},function(t,e,n){var r=n(3),o=n(11);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e){t.exports=function(e,n){return function(t){return e(n(t))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getElementForStep=e.elementIsHidden=e.cleanupStepEventListeners=e.addStepEventListeners=void 0;var r=n(4);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.addStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1)),window.addEventListener("resize",this._onScreenChange,!1),window.addEventListener("scroll",this._onScreenChange,!1);var t=document.querySelector("#".concat(r.elementIds.modalOverlay));window.addEventListener("touchmove",r.preventModalBodyTouch,{passive:!1}),t&&t.addEventListener("touchmove",r.preventModalOverlayTouch,!1)},e.cleanupStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),this._onScreenChange=null)},e.elementIsHidden=function(t){return 0===t.offsetWidth&&0===t.offsetHeight},e.getElementForStep=function(t){var e=t.options.attachTo;if(!e)return null;var n,r,o=a(e);return"string"===o?(r=i(e.split(" "),1)[0],document.querySelector(r)):"object"===o?(n=e.element)instanceof HTMLElement?n:document.querySelector(n):null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Step=void 0;var i=r(n(0)),a=r(n(2)),s=r(n(6)),p=r(n(12)),l=r(n(30)),c=r(n(13)),u=n(5);n(38);var f=n(14),d=n(15);function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?y(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var g,w=(g=0,function(){return++g});e.Step=function(t){function r(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),(n=m(this,v(r).call(this,t,e))).tour=t,f.bindMethods.call(y(y(n)),["_show","cancel","complete","destroy","hide","isOpen","scrollTo","setupElements","show"]),n.setOptions(e),n.bindAdvance=f.bindAdvance.bind(y(y(n))),n.bindButtonEvents=f.bindButtonEvents.bind(y(y(n))),n.bindCancelLink=f.bindCancelLink.bind(y(y(n))),n.setupTooltip=d.setupTooltip.bind(y(y(n))),n.parseAttachTo=d.parseAttachTo.bind(y(y(n))),m(n,y(y(n)))}var e,n,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(r,u.Evented),e=r,(n=[{key:"_addButtons",value:function(t){var n=this;if(!(0,p.default)(this.options.buttons)){var e=document.createElement("footer"),r=(0,d.createFromHTML)('<ul class="shepherd-buttons"></ul>');e.classList.add("shepherd-footer"),this.options.buttons.map(function(t){var e=(0,d.createFromHTML)('<li><a class="shepherd-button '.concat(t.classes||"",'">').concat(t.text,"</a>"));r.appendChild(e),n.bindButtonEvents(t,e.querySelector("a"))}),e.appendChild(r),t.appendChild(e)}}},{key:"_addCancelLink",value:function(t,e){if(this.options.showCancelLink){var n=(0,d.createFromHTML)('<a href class="shepherd-cancel-link"></a>');e.appendChild(n),t.classList.add("shepherd-has-cancel-link"),this.bindCancelLink(n)}}},{key:"_addContent",value:function(t){var e=(0,d.createFromHTML)('<div class="shepherd-text"></div>'),n=this.options.text;(0,s.default)(n)&&(n=n.call(this,e)),n instanceof HTMLElement?e.appendChild(n):((0,a.default)(n)&&(n=[n]),n.map(function(t){e.innerHTML+="<p>".concat(t,"</p>")})),t.appendChild(e)}},{key:"_createTooltipContent",value:function(){var t=document.createElement("div"),e=this.options.classes||"",n=(0,d.createFromHTML)('<div class="'.concat(e,'" data-shepherd-step-id="').concat(this.id,'">')),r=document.createElement("header");if(this.options.title){var o=document.createElement("h3");o.classList.add("shepherd-title"),o.innerHTML="".concat(this.options.title),r.appendChild(o),n.classList.add("shepherd-has-title")}return t.classList.add("shepherd-content"),r.classList.add("shepherd-header"),n.appendChild(t),t.appendChild(r),(0,i.default)(this.options.text)||this._addContent(t),this._addButtons(t),this._addCancelLink(n,r),n}},{key:"getTour",value:function(){return this.tour}},{key:"cancel",value:function(){this.tour.cancel(),this.trigger("cancel")}},{key:"complete",value:function(){this.tour.complete(),this.trigger("complete")}},{key:"destroy",value:function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),(0,l.default)(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")}},{key:"hide",value:function(){this.tour.modal.hide(),this.trigger("before-hide"),document.body.removeAttribute("data-shepherd-step"),this.target&&this._updateStepTargetOnHide(),this.tooltip&&this.tooltip.hide(),this.trigger("hide")}},{key:"isOpen",value:function(){return Boolean(this.tooltip&&this.tooltip.state&&this.tooltip.state.isVisible)}},{key:"setupElements",value:function(){(0,i.default)(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&this.bindAdvance(),this.setupTooltip()}},{key:"scrollTo",value:function(){var t=this.parseAttachTo().element;(0,s.default)(this.options.scrollToHandler)?this.options.scrollToHandler(t):(0,l.default)(t)&&t.scrollIntoView()}},{key:"setOptions",value:function(){var n=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.options=t;var e=this.options.when;this.destroy(),this.id=this.options.id||"step-".concat(w()),(0,c.default)(e,function(t,e){n.on(e,t,n)})}},{key:"show",value:function(){var t=this;if((0,s.default)(this.options.beforeShowPromise)){var e=this.options.beforeShowPromise();if(!(0,i.default)(e))return e.then(function(){return t._show()})}this._show()}},{key:"_show",value:function(){var t=this;this.tour.beforeShowStep(this),this.trigger("before-show"),this.el||this.setupElements(),this.target.classList.add("shepherd-enabled","shepherd-target"),document.body.setAttribute("data-shepherd-step",this.id),this.options.scrollTo&&setTimeout(function(){t.scrollTo()}),this.tooltip.show(),this.trigger("show")}},{key:"_updateStepTargetOnHide",value:function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove("shepherd-enabled","shepherd-target")}}])&&h(e.prototype,n),o&&h(e,o),r}()},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(22),o=n(23),i=n(24),a=n(10),s=n(25),p=n(27),l=n(28),c=n(29),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||p(t)||c(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(t))return!r(t).length;for(var n in t)if(u.call(t,n))return!1;return!0}},function(t,e,n){var r=n(33),o=n(37);t.exports=function(t,e){return t&&r(t,o(e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(0)),a=r(n(2)),s=r(n(13));e.bindAdvance=function(){var t=(0,p.parseShorthand)(this.options.advanceOn,["selector","event"]),e=t.event,n=t.selector,r=function(r){var o=this;return function(t){if(o.isOpen()){var e=o.el&&t.target===o.el,n=!(0,i.default)(r)&&t.target.matches(r);(n||e)&&o.tour.next()}}}.call(this,n),o=document.querySelector(n);!(0,i.default)(n)&&o?o.addEventListener(e,r):document.body.addEventListener(e,r,!0);this.on("destroy",function(){return document.body.removeEventListener(e,r,!0)})},e.bindButtonEvents=function(t,r){var o=this;t.events=t.events||{},(0,i.default)(t.action)||(t.events.click=t.action);(0,s.default)(t.events,function(t,e){if((0,a.default)(t)){var n=t;t=function(){return o.tour.show(n)}}r.dataset.buttonEvent=!0,r.addEventListener(e,t),o.on("destroy",function(){r.removeAttribute("data-button-event"),r.removeEventListener(e,t)})})},e.bindCancelLink=function(t){var e=this;t.addEventListener("click",function(t){t.preventDefault(),e.cancel()})},e.bindMethods=function(t){var e=this;t.map(function(t){e[t]=e[t].bind(e)})};var p=n(15);function r(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=l(n(39)),o=l(n(0)),i=l(n(1)),a=l(n(2));e.createFromHTML=function(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]},e._parseAttachToOpts=h,e.parseShorthand=function(t,e){{if(null===t||(0,o.default)(t))return t;if((0,i.default)(t))return t}var n=t.split(" ");return(0,r.default)(e,n)},e.setupTooltip=function(){if((0,o.default)(s.default))throw new Error(p.missingTippy);this.tooltip&&this.tooltip.destroy();var t=this.parseAttachTo();this.tooltip=function(t){if(!t.element)return function(){var t=c({content:this.el,placement:"top"},this.options.tippyOptions);t.arrow=!1,t.popperOptions=t.popperOptions||{};var e=Object.assign({},d,t.popperOptions,{modifiers:Object.assign(f,t.popperOptions.modifiers)});return t.popperOptions=e,s.default.one(document.body,t)}.call(this);var e=function(t){var e=c({content:this.el,placement:t.on||"right"},this.options.tippyOptions);this.options.tippyOptions&&this.options.tippyOptions.popperOptions&&Object.assign(d,this.options.tippyOptions.popperOptions);return e.popperOptions=d,e}.call(this,t);return s.default.one(t.element,e)}.call(this,t),this.target=t.element||document.body,this.el.classList.add("shepherd-element")},e.parseAttachTo=function(){var t=h(this.options.attachTo)||{},e=Object.assign({},t);if((0,a.default)(t.element)){try{e.element=document.querySelector(t.element)}catch(t){}e.element||console.error("The element for this Shepherd step was not found ".concat(t.element))}return e};var s=l(n(16)),p=n(46);function l(t){return t&&t.__esModule?t:{default:t}}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){u(e,t,n[t])})}return e}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f={computeStyle:{enabled:!0,fn:function(t){return t.styles=Object.assign({},t.styles,{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),t}}},d={positionFixed:!0};function h(t){if((0,i.default)(t))return t.hasOwnProperty("element")&&t.hasOwnProperty("on")?t:null;var e=/^(.+) ((auto|top|left|right|bottom)(-start|-end)?)$/.exec(t);return e?{element:e[1],on:e[2]}:null}},function(t,e,n){(function(ie){t.exports=function(){"use strict";function a(t){return t&&"[object Function]"==={}.toString.call(t)}function w(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView,r=n.getComputedStyle(t,null);return e?r[e]:r}function d(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function h(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=w(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:h(d(t))}function m(t){return 11===t?et:10===t?nt:et||nt}function j(t){if(!t)return document.documentElement;for(var e=m(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===w(n,"position")?j(n):n:t?t.ownerDocument.documentElement:document.documentElement}function c(t){return null===t.parentNode?t:c(t.parentNode)}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,p=i.commonAncestorContainer;if(t!==p&&e!==p||r.contains(o))return"BODY"===(s=(a=p).nodeName)||"HTML"!==s&&j(a.firstElementChild)!==a?j(p):p;var l=c(t);return l.host?v(l.host,e):v(t,c(e).host)}function b(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"!==r&&"HTML"!==r)return t[n];var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}function u(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function o(t,e,n,r){return z(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],m(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,r=m(10)&&getComputedStyle(n);return{height:o("Height",e,n,r),width:o("Width",e,n,r)}}function x(t){return it({},t,{right:t.left+t.width,bottom:t.top+t.height})}function P(t){var e={};try{if(m(10)){e=t.getBoundingClientRect();var n=b(t,"top"),r=b(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},a=i.width||t.clientWidth||o.right-o.left,s=i.height||t.clientHeight||o.bottom-o.top,p=t.offsetWidth-a,l=t.offsetHeight-s;if(p||l){var c=w(t);p-=u(c,"x"),l-=u(c,"y"),o.width-=p,o.height-=l}return x(o)}function g(t,e){var n=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=m(10),o="HTML"===e.nodeName,i=P(t),a=P(e),s=h(t),p=w(e),l=parseFloat(p.borderTopWidth,10),c=parseFloat(p.borderLeftWidth,10);n&&o&&(a.top=z(a.top,0),a.left=z(a.left,0));var u=x({top:i.top-a.top-l,left:i.left-a.left-c,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var f=parseFloat(p.marginTop,10),d=parseFloat(p.marginLeft,10);u.top-=l-f,u.bottom-=l-f,u.left-=c-d,u.right-=c-d,u.marginTop=f,u.marginLeft=d}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(u=function(t,e){var n=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],r=b(e,"top"),o=b(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}(u,e)),u}function O(t){if(!t||!t.parentElement||m())return document.documentElement;for(var e=t.parentElement;e&&"none"===w(e,"transform");)e=e.parentElement;return e||document.documentElement}function f(t,e,n,r){var o=!!(4<arguments.length&&void 0!==arguments[4])&&arguments[4],i={top:0,left:0},a=o?O(t):v(t,e);if("viewport"===r)i=function(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],n=t.ownerDocument.documentElement,r=g(t,n),o=z(n.clientWidth,window.innerWidth||0),i=z(n.clientHeight,window.innerHeight||0),a=e?0:b(n),s=e?0:b(n,"left");return x({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s;"scrollParent"===r?"BODY"===(s=h(d(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var p=g(s,a,o);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===w(e,"position")||t(d(e)))}(a))i=p;else{var l=y(t.ownerDocument),c=l.height,u=l.width;i.top+=p.top-p.marginTop,i.bottom=c+p.top,i.left+=p.left-p.marginLeft,i.right=u+p.left}}var f="number"==typeof(n=n||0);return i.left+=f?n:n.left||0,i.top+=f?n:n.top||0,i.right-=f?n:n.right||0,i.bottom-=f?n:n.bottom||0,i}function s(t,e,r,n,o){var i=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=f(r,n,i,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},p=Object.keys(s).map(function(t){return it({key:t},s[t],{area:(e=s[t],n=e.width,r=e.height,n*r)});var e,n,r}).sort(function(t,e){return e.area-t.area}),l=p.filter(function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight}),c=0<l.length?l[0].key:p[0].key,u=t.split("-")[1];return c+(u?"-"+u:"")}function p(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,o=r?O(e):v(e,n);return g(n,o,r)}function k(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),i={width:t.offsetWidth+o,height:t.offsetHeight+r};return i}function E(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function S(t,e,n){n=n.split("-")[0];var r=k(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",p=i?"height":"width",l=i?"width":"height";return o[a]=e[a]+e[p]/2-r[p]/2,o[s]=n===s?e[s]-r[l]:e[E(s)],o}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function T(t,n,e){var r=void 0===e?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=N(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",e));return r.forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&a(e)&&(n.offsets.popper=x(n.offsets.popper),n.offsets.reference=x(n.offsets.reference),n=e(n,t))}),n}function t(t,r){return t.some(function(t){var e=t.name,n=t.enabled;return n&&e===r})}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if(void 0!==document.body.style[i])return i}return null}function i(t){var e=t.ownerDocument;return e?e.defaultView:window}function e(t,e,n,r){n.updateBound=r,i(t).addEventListener("resize",n.updateBound,{passive:!0});var o=h(t);return function t(e,n,r,o){var i="BODY"===e.nodeName,a=i?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),i||t(h(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function n(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,i(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function C(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function l(n,r){Object.keys(r).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&C(r[t])&&(e="px"),n.style[t]=r[t]+e})}function L(t,n,e){var r=N(t,function(t){var e=t.name;return e===n}),o=!!r&&t.some(function(t){return t.name===e&&t.enabled&&t.order<r.order});if(!o){var i="`"+n+"`";console.warn("`"+e+"` modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}function r(t){var e=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],n=pt.indexOf(t),r=pt.slice(n+1).concat(pt.slice(0,n));return e?r.reverse():r}function _(t,o,i,e){var a=[0,0],s=-1!==["right","left"].indexOf(e),n=t.split(/(\+|\-)/).map(function(t){return t.trim()}),r=n.indexOf(N(n,function(t){return-1!==t.search(/,|\s/)}));n[r]&&-1===n[r].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,l=-1===r?[n]:[n.slice(0,r).concat([n[r].split(p)[0]]),[n[r].split(p)[1]].concat(n.slice(r+1))];return(l=l.map(function(t,e){var n=(1===e?!s:s)?"height":"width",r=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var o,i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],s=i[2];if(!a)return t;if(0!==s.indexOf("%"))return"vh"!==s&&"vw"!==s?a:("vh"===s?z(document.documentElement.clientHeight,window.innerHeight||0):z(document.documentElement.clientWidth,window.innerWidth||0))/100*a;switch(s){case"%p":o=n;break;case"%":case"%r":default:o=r}return x(o)[e]/100*a}(t,n,o,i)})})).forEach(function(n,r){n.forEach(function(t,e){C(t)&&(a[r]+=t*("-"===n[e-1]?-1:1))})}),a}function B(t,e){function n(){Bt(function(){F=!1})}function o(t){var e=_=t,n=e.clientX,r=e.clientY;if(X.popperInstance){var o=zt(X.popper),i=X.popperChildren.arrow?20:5,a="top"===o||"bottom"===o,s="left"===o||"right"===o,p=a?z(i,n):n,l=s?z(i,r):r;a&&i<p&&(p=R(n,window.innerWidth-i)),s&&i<l&&(l=R(r,window.innerHeight-i));var c=X.reference.getBoundingClientRect(),u=X.props.followCursor,f="horizontal"===u,d="vertical"===u;X.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:f?c.top:l,bottom:f?c.bottom:l,left:d?c.left:p,right:d?c.right:p}},clientWidth:0,clientHeight:0},X.popperInstance.scheduleUpdate()}}function i(t){if(x(),!X.state.isVisible){if(X.props.target)return void((r=At((n=t).target,X.props.target))&&!r._tippy&&(B(r,V({},X.props,{target:"",showOnInit:!0})),i(n)));if(j=!0,X.props.wait)return X.props.wait(X,t);v()&&document.addEventListener("mousemove",o);var e=xt(X.props.delay,0,U.delay);e?A=setTimeout(function(){k()},e):k()}var n,r}function a(){if(x(),!X.state.isVisible)return r();j=!1;var t=xt(X.props.delay,1,U.delay);t?M=setTimeout(function(){X.state.isVisible&&E()},t):E()}function r(){document.removeEventListener("mousemove",o),_=null}function s(){document.body.removeEventListener("mouseleave",a),document.removeEventListener("mousemove",D)}function p(t){!X.state.isEnabled||h(t)||(!X.state.isVisible&&(L=t),"click"===t.type&&!1!==X.props.hideOnClick&&X.state.isVisible?a():i(t))}function l(t){var e=Mt(t.target,function(t){return t._tippy}),n=At(t.target,ut.POPPER)===X.popper,r=e===X.reference;n||r||Rt(zt(X.popper),X.popper.getBoundingClientRect(),t,X.props)&&(s(),a())}function c(t){return h(t)?void 0:X.props.interactive?(document.body.addEventListener("mouseleave",a),void document.addEventListener("mousemove",D)):void a()}function u(t){if(t.target===X.reference){if(X.props.interactive){if(!t.relatedTarget)return;if(At(t.relatedTarget,ut.POPPER))return}a()}}function f(t){At(t.target,X.props.target)&&i(t)}function d(t){At(t.target,X.props.target)&&a()}function h(t){var e=-1<t.type.indexOf("touch"),n=K&&Jt&&X.props.touchHold&&!e,r=Jt&&!X.props.touchHold&&e;return n||r}function m(){var e=X.popperChildren.tooltip,t=X.props.popperOptions,n=ut["round"===X.props.arrowType?"ROUND_ARROW":"ARROW"],r=e.querySelector(n),o=V({placement:X.props.placement},t||{},{modifiers:V({},t?t.modifiers:{},{arrow:V({element:n},t&&t.modifiers?t.modifiers.arrow:{}),flip:V({enabled:X.props.flip,padding:X.props.distance+5,behavior:X.props.flipBehavior},t&&t.modifiers?t.modifiers.flip:{}),offset:V({offset:X.props.offset},t&&t.modifiers?t.modifiers.offset:{})}),onCreate:function(){e.style[zt(X.popper)]=Wt(X.props.distance,U.distance),r&&X.props.arrowTransform&&Ht(r,X.props.arrowTransform)},onUpdate:function(){var t=e.style;t.top="",t.bottom="",t.left="",t.right="",t[zt(X.popper)]=Wt(X.props.distance,U.distance),r&&X.props.arrowTransform&&Ht(r,X.props.arrowTransform)}});return C||(C=new MutationObserver(function(){X.popperInstance.update()})).observe(H,{childList:!0,subtree:!0,characterData:!0}),new ct(X.reference,X.popper,o)}function v(){return X.props.followCursor&&!Jt&&"focus"!==L.type}function b(t,n){if(0===t)return n();var r=X.popperChildren.tooltip,e=function t(e){e.target===r&&(Ut(r,"remove",t),n())};Ut(r,"remove",P),Ut(r,"add",e),P=e}function y(t,e,n){X.reference.addEventListener(t,e),n.push({eventType:t,handler:e})}function g(){N=X.props.trigger.trim().split(" ").reduce(function(t,e){return"manual"===e||(X.props.target?"mouseenter"===e?(y("mouseover",f,t),y("mouseout",d,t)):"focus"===e?(y("focusin",f,t),y("focusout",d,t)):"click"===e&&y(e,f,t):(y(e,p,t),X.props.touchHold&&(y("touchstart",p,t),y("touchend",c,t)),"mouseenter"===e?y("mouseleave",c,t):"focus"===e&&y(G?"focusout":"blur",u,t))),t},[])}function w(){N.forEach(function(t){var e=t.eventType,n=t.handler;X.reference.removeEventListener(e,n)})}function x(){clearTimeout(A),clearTimeout(M)}function O(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Gt(e,U);var t=X.props,n=Vt(X.reference,V({},X.props,e,{performance:!0}));n.performance=Kt(e,"performance")?e.performance:t.performance,X.props=n,(Kt(e,"trigger")||Kt(e,"touchHold"))&&(w(),g()),Kt(e,"interactiveDebounce")&&(s(),D=qt(l,e.interactiveDebounce)),Tt(X.popper,t,n),X.popperChildren=bt(X.popper),X.popperInstance&&q.some(function(t){return Kt(e,t)})&&(X.popperInstance.destroy(),X.popperInstance=m(),!X.state.isVisible&&X.popperInstance.disableEventListeners(),X.props.followCursor&&_&&o(_))}function k(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:xt(X.props.duration,0,U.duration[0]);return X.state.isDestroyed||!X.state.isEnabled||Jt&&!X.props.touch?void 0:X.reference.isVirtual||document.documentElement.contains(X.reference)?X.reference.hasAttribute("disabled")?void 0:F?void(F=!1):void(!1===X.props.onShow(X)||(X.popper.style.visibility="visible",X.state.isVisible=!0,vt([X.popper,X.popperChildren.tooltip,X.popperChildren.backdrop],0),function(t){X.popperInstance?!v()&&(X.popperInstance.scheduleUpdate(),X.props.livePlacement&&X.popperInstance.enableEventListeners()):(X.popperInstance=m(),(!X.props.livePlacement||v())&&X.popperInstance.disableEventListeners()),X.popperInstance.reference=X.reference;var e=X.popperChildren.arrow;if(v()){e&&(e.style.margin="0");var n=xt(X.props.delay,0,U.delay);L.type&&o(n&&_?_:L)}else e&&(e.style.margin="");Xt(X.popperInstance,t),X.props.appendTo.contains(X.popper)||(X.props.appendTo.appendChild(X.popper),X.props.onMount(X),X.state.isMounted=!0)}(function(){X.state.isVisible&&(!v()&&X.popperInstance.update(),vt([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],t),X.popperChildren.backdrop&&(X.popperChildren.content.style.transitionDelay=W(t/6)+"ms"),X.props.interactive&&X.reference.classList.add("tippy-active"),X.props.sticky&&(vt([X.popper],G?0:X.props.updateDuration),function t(){X.popperInstance&&X.popperInstance.scheduleUpdate(),X.state.isMounted?requestAnimationFrame(t):vt([X.popper],0)}()),It([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],"visible"),b(t,function(){0===X.props.updateDuration&&X.popperChildren.tooltip.classList.add("tippy-notransition"),X.props.interactive&&-1<["focus","click"].indexOf(L.type)&&jt(X.popper),X.reference.setAttribute("aria-describedby",X.popper.id),X.props.onShown(X),X.state.isShown=!0}))}))):S()}function E(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:xt(X.props.duration,1,U.duration[1]);X.state.isDestroyed||!X.state.isEnabled||!1===X.props.onHide(X)||(0===X.props.updateDuration&&X.popperChildren.tooltip.classList.remove("tippy-notransition"),X.props.interactive&&X.reference.classList.remove("tippy-active"),X.popper.style.visibility="hidden",X.state.isVisible=!1,X.state.isShown=!1,vt([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],e),It([X.popperChildren.tooltip,X.popperChildren.backdrop,X.popperChildren.content],"hidden"),X.props.interactive&&!F&&-1<["focus","click"].indexOf(L.type)&&("focus"===L.type&&(F=!0),jt(X.reference)),t=function(){j||r(),X.reference.removeAttribute("aria-describedby"),X.popperInstance.disableEventListeners(),X.props.appendTo.removeChild(X.popper),X.state.isMounted=!1,X.props.onHidden(X)},b(e,function(){!X.state.isVisible&&X.props.appendTo.contains(X.popper)&&t()}))}function S(t){X.state.isDestroyed||(X.state.isMounted&&E(0),w(),X.reference.removeEventListener("click",n),delete X.reference._tippy,X.props.target&&t&&dt(X.reference.querySelectorAll(X.props.target)).forEach(function(t){return t._tippy&&t._tippy.destroy()}),X.popperInstance&&X.popperInstance.destroy(),C&&C.disconnect(),X.state.isDestroyed=!0)}var T=Vt(t,e);if(!T.multiple&&t._tippy)return null;var C=null,L={},_=null,A=0,M=0,j=!1,P=function(){},N=[],F=!1,D=0<T.interactiveDebounce?qt(l,T.interactiveDebounce):l,Y=re++,H=St(Y,T);H.addEventListener("mouseenter",function(t){X.props.interactive&&X.state.isVisible&&"mouseenter"===L.type&&i(t)}),H.addEventListener("mouseleave",function(t){X.props.interactive&&"mouseenter"===L.type&&0===X.props.interactiveDebounce&&Rt(zt(H),H.getBoundingClientRect(),t,X.props)&&a()});var I=bt(H),X={id:Y,reference:t,popper:H,popperChildren:I,popperInstance:null,props:T,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:x,set:O,setContent:function(t){O({content:t})},show:k,hide:E,enable:function(){X.state.isEnabled=!0},disable:function(){X.state.isEnabled=!1},destroy:S};return g(),t.addEventListener("click",n),T.lazy||(X.popperInstance=m(),X.popperInstance.disableEventListeners()),T.showOnInit&&i(),!T.a11y||T.target||mt(t)||t.setAttribute("tabindex","0"),t._tippy=X,H._tippy=X}function A(t,e,n){Gt(e,U),oe||(document.addEventListener("click",te,!0),document.addEventListener("touchstart",$t,{passive:!0}),window.addEventListener("blur",ee),window.addEventListener("resize",ne),!K&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)&&document.addEventListener("pointerdown",$t),oe=!0);var r=V({},U,e);yt(t)&&function(n){var t={isVirtual:!0,attributes:n.attributes||{},setAttribute:function(t,e){n.attributes[t]=e},getAttribute:function(t){return n.attributes[t]},removeAttribute:function(t){delete n.attributes[t]},hasAttribute:function(t){return t in n.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){n.classList.classNames[t]=!0},remove:function(t){delete n.classList.classNames[t]},contains:function(t){return t in n.classList.classNames}}};for(var e in t)n[e]=t[e]}(t);var o=function(t){if(t instanceof Element||yt(t))return[t];if(t instanceof NodeList)return dt(t);if(Array.isArray(t))return t;try{return dt(document.querySelectorAll(t))}catch(t){return[]}}(t),i=o[0],a=(n&&i?[i]:o).reduce(function(t,e){var n=e&&B(e,r);return n&&t.push(n),t},[]);return{targets:t,props:r,instances:a,destroyAll:function(){this.instances.forEach(function(t){t.destroy()}),this.instances=[]}}}for(var R=Math.min,D=Math.floor,W=Math.round,z=Math.max,V=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},U={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},arrow:!1,arrowTransform:"",arrowType:"sharp",content:"",delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:"",multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:"top",popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",updateDuration:200,wait:null,zIndex:9999},q=["arrowType","distance","flip","flipBehavior","offset","placement","popperOptions"],M="undefined"!=typeof window,Y=M?navigator:{},H=M?window:{},I=("MutationObserver"in H),G=/MSIE |Trident\//.test(Y.userAgent),X=/iPhone|iPad|iPod/.test(Y.platform)&&!H.MSStream,K=("ontouchstart"in H),J="undefined"!=typeof window&&"undefined"!=typeof document,$=["Edge","Trident","Firefox"],Q=0,Z=0;Z<$.length;Z+=1)if(J&&0<=navigator.userAgent.indexOf($[Z])){Q=1;break}var tt=J&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Q))}},et=J&&!(!window.MSInputMethodContext||!document.documentMode),nt=J&&/MSIE 10/.test(navigator.userAgent),rt=function(){function r(t,e){for(var n,r=0;r<e.length;r++)(n=e[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}return function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}}(),ot=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},it=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},at=J&&/Firefox/i.test(navigator.userAgent),st=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],pt=st.slice(3),lt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},ct=function(){function i(t,e){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,i),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=tt(this.update.bind(this)),this.options=it({},i.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(it({},i.Defaults.modifiers,r.modifiers)).forEach(function(t){n.options.modifiers[t]=it({},i.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return it({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&a(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return rt(i,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=p(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=s(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=S(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=T(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,t(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=e(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return n.call(this)}}]),i}();ct.Utils=("undefined"==typeof window?ie:window).PopperUtils,ct.placements=st,ct.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),p=s?"left":"top",l=s?"width":"height",c={start:ot({},p,i[p]),end:ot({},p,i[p]+i[l]-a[l])};t.offsets.popper=it({},a,c[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],p=void 0;return p=C(+n)?[+n,0]:_(n,i,a,s),"left"===s?(i.top+=p[0],i.left-=p[1]):"right"===s?(i.top+=p[0],i.left+=p[1]):"top"===s?(i.left+=p[0],i.top-=p[1]):"bottom"===s&&(i.left+=p[0],i.top+=p[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,r){var e=r.boundariesElement||j(t.instance.popper);t.instance.reference===e&&(e=j(e));var n=F("transform"),o=t.instance.popper.style,i=o.top,a=o.left,s=o[n];o.top="",o.left="",o[n]="";var p=f(t.instance.popper,t.instance.reference,r.padding,e,t.positionFixed);o.top=i,o.left=a,o[n]=s,r.boundaries=p;var l=r.priority,c=t.offsets.popper,u={primary:function(t){var e=c[t];return c[t]<p[t]&&!r.escapeWithReference&&(e=z(c[t],p[t])),ot({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=c[e];return c[t]>p[t]&&!r.escapeWithReference&&(n=R(c[e],p[t]-("right"===t?c.width:c.height))),ot({},e,n)}};return l.forEach(function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";c=it({},c,u[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=D,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",p=a?"left":"top",l=a?"width":"height";return n[s]<i(r[p])&&(t.offsets.popper[p]=i(r[p])-n[l]),n[p]>i(r[s])&&(t.offsets.popper[p]=i(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!L(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,a=i.popper,s=i.reference,p=-1!==["left","right"].indexOf(o),l=p?"height":"width",c=p?"Top":"Left",u=c.toLowerCase(),f=p?"left":"top",d=p?"bottom":"right",h=k(r)[l];s[d]-h<a[u]&&(t.offsets.popper[u]-=a[u]-(s[d]-h)),s[u]+h>a[d]&&(t.offsets.popper[u]+=s[u]+h-a[d]),t.offsets.popper=x(t.offsets.popper);var m=s[u]+s[l]/2-h/2,v=w(t.instance.popper),b=parseFloat(v["margin"+c],10),y=parseFloat(v["border"+c+"Width"],10),g=m-t.offsets.popper[u]-b-y;return g=z(R(a[l]-h,g),0),t.arrowElement=r,t.offsets.arrow=(ot(n={},u,W(g)),ot(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(h,m){if(t(h.instance.modifiers,"inner"))return h;if(h.flipped&&h.placement===h.originalPlacement)return h;var v=f(h.instance.popper,h.instance.reference,m.padding,m.boundariesElement,h.positionFixed),b=h.placement.split("-")[0],y=E(b),g=h.placement.split("-")[1]||"",w=[];switch(m.behavior){case lt.FLIP:w=[b,y];break;case lt.CLOCKWISE:w=r(b);break;case lt.COUNTERCLOCKWISE:w=r(b,!0);break;default:w=m.behavior}return w.forEach(function(t,e){if(b!==t||w.length===e+1)return h;b=h.placement.split("-")[0],y=E(b);var n,r=h.offsets.popper,o=h.offsets.reference,i=D,a="left"===b&&i(r.right)>i(o.left)||"right"===b&&i(r.left)<i(o.right)||"top"===b&&i(r.bottom)>i(o.top)||"bottom"===b&&i(r.top)<i(o.bottom),s=i(r.left)<i(v.left),p=i(r.right)>i(v.right),l=i(r.top)<i(v.top),c=i(r.bottom)>i(v.bottom),u="left"===b&&s||"right"===b&&p||"top"===b&&l||"bottom"===b&&c,f=-1!==["top","bottom"].indexOf(b),d=!!m.flipVariations&&(f&&"start"===g&&s||f&&"end"===g&&p||!f&&"start"===g&&l||!f&&"end"===g&&c);(a||u||d)&&(h.flipped=!0,(a||u)&&(b=w[e+1]),d&&(g="end"===(n=g)?"start":"start"===n?"end":n),h.placement=b+(g?"-"+g:""),h.offsets.popper=it({},h.offsets.popper,S(h.instance.popper,h.offsets.reference,h.placement)),h=T(h.instance.modifiers,h,"flip"))}),h},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),t.placement=E(e),t.offsets.popper=x(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!L(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=N(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,s,p,l,c,u,f,d,h,m,v,b,y,g=void 0===i?e.gpuAcceleration:i,w=j(t.instance.popper),x=P(w),O={position:o.position},k=(a=t,s=window.devicePixelRatio<2||!at,p=a.offsets,l=p.popper,c=p.reference,f=function(t){return t},d=(u=W)(l.width),h=u(c.width),m=-1!==["left","right"].indexOf(a.placement),v=-1!==a.placement.indexOf("-"),y=s?u:f,{left:(b=s?m||v||h%2==d%2?u:D:f)(1==h%2&&1==d%2&&!v&&s?l.left-1:l.left),top:y(l.top),bottom:y(l.bottom),right:b(l.right)}),E="bottom"===n?"top":"bottom",S="right"===r?"left":"right",T=F("transform"),C=void 0,L=void 0;if(L="bottom"==E?"HTML"===w.nodeName?-w.clientHeight+k.bottom:-x.height+k.bottom:k.top,C="right"==S?"HTML"===w.nodeName?-w.clientWidth+k.right:-x.width+k.right:k.left,g&&T)O[T]="translate3d("+C+"px, "+L+"px, 0)",O[E]=0,O[S]=0,O.willChange="transform";else{var _="bottom"==E?-1:1,A="right"==S?-1:1;O[E]=L*_,O[S]=C*A,O.willChange=E+", "+S}var M={"x-placement":t.placement};return t.attributes=it({},M,t.attributes),t.styles=it({},O,t.styles),t.arrowStyles=it({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return l(t.instance.popper,t.styles),n=t.instance.popper,r=t.attributes,Object.keys(r).forEach(function(t){var e=r[t];!1===e?n.removeAttribute(t):n.setAttribute(t,r[t])}),t.arrowElement&&Object.keys(t.arrowStyles).length&&l(t.arrowElement,t.arrowStyles),t;var n,r},onLoad:function(t,e,n,r,o){var i=p(o,e,t,n.positionFixed),a=s(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),l(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}};var ut={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-content",BACKDROP:".tippy-backdrop",ARROW:".tippy-arrow",ROUND_ARROW:".tippy-roundarrow"},ft={x:!0},dt=function(t){return[].slice.call(t)},ht=function(t,e){e.content instanceof Element?(wt(t,""),t.appendChild(e.content)):t[e.allowHTML?"innerHTML":"textContent"]=e.content},mt=function(t){return!(t instanceof Element)||_t.call(t,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")&&!t.hasAttribute("disabled")},vt=function(t,e){t.filter(Boolean).forEach(function(t){t.style.transitionDuration=e+"ms"})},bt=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(ut.TOOLTIP),backdrop:t(ut.BACKDROP),content:t(ut.CONTENT),arrow:t(ut.ARROW)||t(ut.ROUND_ARROW)}},yt=function(t){return"[object Object]"==={}.toString.call(t)},gt=function(){return document.createElement("div")},wt=function(t,e){t[ft.x&&"innerHTML"]=e instanceof Element?e[ft.x&&"innerHTML"]:e},xt=function(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?n:r}return t},Ot=function(t){var e=gt();return"round"===t?(e.className="tippy-roundarrow",wt(e,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):e.className="tippy-arrow",e},kt=function(){var t=gt();return t.className="tippy-backdrop",t.setAttribute("data-state","hidden"),t},Et=function(t,e){t.setAttribute("tabindex","-1"),e.setAttribute("data-interactive","")},St=function(t,e){var n=gt();n.className="tippy-popper",n.setAttribute("role","tooltip"),n.id="tippy-"+t,n.style.zIndex=e.zIndex;var r=gt();r.className="tippy-tooltip",r.style.maxWidth=e.maxWidth+("number"==typeof e.maxWidth?"px":""),r.setAttribute("data-size",e.size),r.setAttribute("data-animation",e.animation),r.setAttribute("data-state","hidden"),e.theme.split(" ").forEach(function(t){r.classList.add(t+"-theme")});var o=gt();return o.className="tippy-content",o.setAttribute("data-state","hidden"),e.interactive&&Et(n,r),e.arrow&&r.appendChild(Ot(e.arrowType)),e.animateFill&&(r.appendChild(kt()),r.setAttribute("data-animatefill","")),e.inertia&&r.setAttribute("data-inertia",""),ht(o,e),r.appendChild(o),n.appendChild(r),n.addEventListener("focusout",function(t){t.relatedTarget&&n._tippy&&!Mt(t.relatedTarget,function(t){return t===n})&&t.relatedTarget!==n._tippy.reference&&n._tippy.props.shouldPopperHideOnBlur(t)&&n._tippy.hide()}),n},Tt=function(t,e,n){var r,o=bt(t),i=o.tooltip,a=o.content,s=o.backdrop,p=o.arrow;t.style.zIndex=n.zIndex,i.setAttribute("data-size",n.size),i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),e.content!==n.content&&ht(a,n),!e.animateFill&&n.animateFill?(i.appendChild(kt()),i.setAttribute("data-animatefill","")):e.animateFill&&!n.animateFill&&(i.removeChild(s),i.removeAttribute("data-animatefill")),!e.arrow&&n.arrow?i.appendChild(Ot(n.arrowType)):e.arrow&&!n.arrow&&i.removeChild(p),e.arrow&&n.arrow&&e.arrowType!==n.arrowType&&i.replaceChild(Ot(n.arrowType),p),!e.interactive&&n.interactive?Et(t,i):e.interactive&&!n.interactive&&(r=i,t.removeAttribute("tabindex"),r.removeAttribute("data-interactive")),!e.inertia&&n.inertia?i.setAttribute("data-inertia",""):e.inertia&&!n.inertia&&i.removeAttribute("data-inertia"),e.theme!==n.theme&&(e.theme.split(" ").forEach(function(t){i.classList.remove(t+"-theme")}),n.theme.split(" ").forEach(function(t){i.classList.add(t+"-theme")}))},Ct=function(n){dt(document.querySelectorAll(ut.POPPER)).forEach(function(t){var e=t._tippy;e&&!0===e.props.hideOnClick&&(!n||t!==n.popper)&&e.hide()})},Lt=function(o){return Object.keys(U).reduce(function(t,e){var n,r=(o.getAttribute("data-tippy-"+e)||"").trim();return r&&(t[e]="content"===e?r:"true"===r||"false"!==r&&(n=r,isNaN(n)||isNaN(parseFloat(n))?"["===r[0]||"{"===r[0]?JSON.parse(r):r:+r)),t},{})},_t=function(){if(M){var t=Element.prototype;return t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}}(),At=function(t,e){return(Element.prototype.closest||function(t){for(var e=this;e;){if(_t.call(e,t))return e;e=e.parentElement}}).call(t,e)},Mt=function(t,e){for(;t;){if(e(t))return t;t=t.parentElement}},jt=function(t){var e=window.scrollX||window.pageXOffset,n=window.scrollY||window.pageYOffset;t.focus(),scroll(e,n)},Pt=function(t,e){return(e?t:{X:"Y",Y:"X"}[t])||""},Nt=function(t,e,n,r){var o=e[0],i=e[1];if(!o&&!i)return"";var a={scale:i?n?o+", "+i:i+", "+o:""+o,translate:i?n?r?o+"px, "+-i+"px":o+"px, "+i+"px":r?-i+"px, "+o+"px":i+"px, "+o+"px":r?-o+"px":o+"px"};return a[t]},Ft=function(t,e){var n=t.match(new RegExp(e+"([XY])"));return n?n[1]:""},Dt=function(t,e){var n=t.match(e);return n?n[1].split(",").map(parseFloat):[]},Yt={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/},Ht=function(t,e){var n=zt(At(t,ut.POPPER)),r="top"===n||"bottom"===n,o="right"===n||"bottom"===n,i={translate:{axis:Ft(e,"translate"),numbers:Dt(e,Yt.translate)},scale:{axis:Ft(e,"scale"),numbers:Dt(e,Yt.scale)}},a=e.replace(Yt.translate,"translate"+Pt(i.translate.axis,r)+"("+Nt("translate",i.translate.numbers,r,o)+")").replace(Yt.scale,"scale"+Pt(i.scale.axis,r)+"("+Nt("scale",i.scale.numbers,r,o)+")");t.style[void 0===document.body.style.transform?"webkitTransform":"transform"]=a},It=function(t,e){t.filter(Boolean).forEach(function(t){t.setAttribute("data-state",e)})},Xt=function(t,e){var n=t.popper,r=t.options,o=r.onCreate,i=r.onUpdate;r.onCreate=r.onUpdate=function(){n.offsetHeight,e(),i(),r.onCreate=o,r.onUpdate=i}},Bt=function(t){setTimeout(t,1)},Rt=function(t,e,n,r){if(!t)return!0;var o=n.clientX,i=n.clientY,a=r.interactiveBorder,s=r.distance,p=e.top-i>("top"===t?a+s:a),l=i-e.bottom>("bottom"===t?a+s:a),c=e.left-o>("left"===t?a+s:a),u=o-e.right>("right"===t?a+s:a);return p||l||c||u},Wt=function(t,e){return-(t-e)+"px"},zt=function(t){var e=t.getAttribute("x-placement");return e?e.split("-")[0]:""},Vt=function(t,e){var n=V({},e,e.performance?{}:Lt(t));return n.arrow&&(n.animateFill=!1),"function"==typeof n.appendTo&&(n.appendTo=e.appendTo(t)),"function"==typeof n.content&&(n.content=e.content(t)),n},Ut=function(t,e,n){t[e+"EventListener"]("transitionend",n)},qt=function(n,r){var o;return function(){var t=this,e=arguments;clearTimeout(o),o=setTimeout(function(){return n.apply(t,e)},r)}},Gt=function(t,e){for(var n in t||{})if(!(n in e))throw Error("[tippy]: `"+n+"` is not a valid option")},Kt=function(t,e){return{}.hasOwnProperty.call(t,e)},Jt=!1,$t=function(){Jt||(Jt=!0,X&&document.body.classList.add("tippy-iOS"),window.performance&&document.addEventListener("mousemove",Zt))},Qt=0,Zt=function t(){var e=performance.now();e-Qt<20&&(Jt=!1,document.removeEventListener("mousemove",t),!X&&document.body.classList.remove("tippy-iOS")),Qt=e},te=function(t){var e=t.target;if(!(e instanceof Element))return Ct();var n=At(e,ut.POPPER);if(!(n&&n._tippy&&n._tippy.props.interactive)){var r=Mt(e,function(t){return t._tippy&&t._tippy.reference===t});if(r){var o=r._tippy,i=-1<o.props.trigger.indexOf("click");if(Jt||i)return Ct(o);if(!0!==o.props.hideOnClick||i)return;o.clearDelayTimeouts()}Ct()}},ee=function(){var t=document,e=t.activeElement;e&&e.blur&&e._tippy&&e.blur()},ne=function(){dt(document.querySelectorAll(ut.POPPER)).forEach(function(t){var e=t._tippy;e.props.livePlacement||e.popperInstance.scheduleUpdate()})},re=1,oe=!1;return A.version="3.3.0",A.defaults=U,A.one=function(t,e){return A(t,e,!0).instances[0]},A.setDefaults=function(t){U=V({},U,t),A.defaults=U},A.disableAnimations=function(){A.setDefaults({duration:0,updateDuration:0,animateFill:!1})},A.hideAllPoppers=Ct,A.useCapture=function(){},M&&setTimeout(function(){dt(document.querySelectorAll("[data-tippy]")).forEach(function(t){var e=t.getAttribute("data-tippy");e&&A(t,{content:e})})}),function(t){if(I){var e=document.createElement("style");e.type="text/css",e.textContent='.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4;max-width:calc(100% - 10px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(60deg);transform:translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-60deg);transform:translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-60deg);transform:translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(60deg);transform:translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;max-width:350px;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.53,2,.36,.85)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}',document.head.insertBefore(e,document.head.firstChild)}}(),A}()}).call(this,n(17))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),o=n(9),i=n(47);Object.assign(i.Shepherd,{Tour:i.Tour,Step:o.Step,Evented:r.Evented}),e.default=i.Shepherd,t.exports=e.default},function(t,e,n){var o=n(20),i=n(21);t.exports=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||void 0===e?1:i(e),o(t,e<0?0:e,r)):[]}},function(t,e){t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=o<-e?0:o+e),(n=o<n?o:n)<0&&(n+=o),o=n<e?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(7)(Object.keys,Object);t.exports=r},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(6),o=n(26);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,e){t.exports=function(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(){return!1}},function(t,e){t.exports=function(){return!1}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(1),o=n(31);t.exports=function(t){return r(t)&&1===t.nodeType&&!o(t)}},function(t,e,n){var r=n(3),o=n(32),i=n(1),a=Function.prototype,s=Object.prototype,p=a.toString,l=s.hasOwnProperty,c=p.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&p.call(n)==c}},function(t,e,n){var r=n(7)(Object.getPrototypeOf,Object);t.exports=r},function(t,e,n){var r=n(34),o=n(36);t.exports=function(t,e){return t&&r(t,e,o)}},function(t,e,n){var r=n(35)();t.exports=r},function(t,e){t.exports=function(p){return function(t,e,n){for(var r=-1,o=Object(t),i=n(t),a=i.length;a--;){var s=i[p?a:++r];if(!1===e(o[s],s,o))break}return t}}},function(t,e,n){var r=n(7)(Object.keys,Object);t.exports=r},function(t,e){t.exports=function(t){return t}},function(t,e){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector)},function(t,e,n){var r=n(40),o=n(45);t.exports=function(t,e){return o(t||[],e||[],r)}},function(t,e,n){var o=n(41),i=n(44),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var r=t[e];a.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}},function(t,e,n){var r=n(42);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(43),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e){t.exports=function(t,e,n){for(var r=-1,o=t.length,i=e.length,a={};++r<o;){var s=r<i?e[r]:void 0;n(a,t[r],s)}return a}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.missingTippy="Using the attachment feature of Shepherd requires the Tippy.js library"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Shepherd=e.Tour=void 0;var i=r(n(12)),a=r(n(0)),s=r(n(2)),p=r(n(48)),l=r(n(6)),c=n(5),u=n(49),f=n(9),d=n(14),h=r(n(16)),m=n(62),v=n(63),b=n(8),y=n(4);function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function w(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?k(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var E,S=(E=0,function(){return++E}),T=new c.Evented;e.Tour=function(t){function e(){var n,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=w(this,x(e).call(this,t)),d.bindMethods.call(k(k(n)),["back","cancel","complete","next"]),n.options=t,n.steps=n.options.steps||[];return["active","cancel","complete","inactive","show","start"].map(function(t){var e;e=t,n.on(e,function(t){(t=t||{}).tour=k(k(n)),T.trigger(e,t)})}),n.modal=new u.Modal(t),n._setTooltipDefaults(),n._setTourID(),w(n,k(k(n)))}var n,r,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(e,c.Evented),n=e,(r=[{key:"addStep",value:function(t,e){var n,r;return(r=(0,a.default)(e)?t:(n=t,e))instanceof f.Step?r.tour=this:r=this.setupStep(r,n),this.steps.push(r),r}},{key:"back",value:function(){var t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)}},{key:"cancel",value:function(){if(this.options.confirmCancel){var t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(t)&&this.done("cancel")}else this.done("cancel")}},{key:"complete",value:function(){this.done("complete")}},{key:"done",value:function(t){(0,i.default)(this.steps)||this.steps.forEach(function(t){return t.destroy()}),b.cleanupStepEventListeners.call(this),(0,v.cleanupSteps)(this.tourObject),this.modal.cleanup(),this.trigger(t),T.activeTour=null,this._removeBodyAttrs(),this.trigger("inactive",{tour:this})}},{key:"getById",value:function(e){return this.steps.find(function(t){return t.id===e})}},{key:"getCurrentStep",value:function(){return this.currentStep}},{key:"hide",value:function(){var t=this.getCurrentStep();if(t)return t.hide()}},{key:"isActive",value:function(){return T.activeTour===this}},{key:"next",value:function(){var t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)}},{key:"removeStep",value:function(n){var r=this,t=this.getCurrentStep();this.steps.some(function(t,e){if(t.id===n)return t.isOpen()&&t.hide(),t.destroy(),r.steps.splice(e,1),!0}),t&&t.id===n&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}},{key:"setupStep",value:function(t,e){return((0,s.default)(e)||(0,p.default)(e))&&(t.id=e.toString()),t=Object.assign({},this.options.defaultStepOptions,t),new f.Step(this,t)}},{key:"beforeShowStep",value:function(t){this.modal.setupForStep(t),this._styleTargetElementForStep(t)}},{key:"show",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=(0,s.default)(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),(0,l.default)(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,e):(this.trigger("show",{step:n,previous:this.currentStep}),(this.currentStep=n).show()))}},{key:"start",value:function(){this.trigger("start"),this.currentStep=null,this._setupActiveTour(),b.addStepEventListeners.call(this),this.next()}},{key:"_setupActiveTour",value:function(){this._addBodyAttrs(),this.trigger("active",{tour:this}),T.activeTour=this}},{key:"_styleTargetElementForStep",value:function(t){var e=(0,b.getElementForStep)(t);e&&((0,y.toggleShepherdModalClass)(e),t.options.highlightClass&&e.classList.add(t.options.highlightClass),!1===t.options.canClickTarget&&(e.style.pointerEvents="none"))}},{key:"_skipStep",value:function(t,e){var n=this.steps.indexOf(t),r=e?n+1:n-1;this.show(r,e)}},{key:"_setTooltipDefaults",value:function(){h.default.setDefaults(m.defaults)}},{key:"_updateStateBeforeShow",value:function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}},{key:"_setTourID",value:function(){var t=this.options.tourName||"tour",e=S();this.id="".concat(t,"--").concat(e)}},{key:"_addBodyAttrs",value:function(){document.body.setAttribute("data-shepherd-active-tour",this.id),document.body.classList.add("shepherd-active")}},{key:"_removeBodyAttrs",value:function(){document.body.removeAttribute("data-shepherd-active-tour"),document.body.classList.remove("shepherd-active")}}])&&g(n.prototype,r),o&&g(n,o),e}();e.Shepherd=T},function(t,e,n){var r=n(3),o=n(1);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==r(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Modal=void 0;var o=r(n(50)),i=r(n(57)),a=n(4),s=n(8);function r(t){return t&&t.__esModule?t:{default:t}}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}e.Modal=function(){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this._modalOverlayElem||(this._modalOverlayElem=(0,a.createModalOverlay)(),this._modalOverlayOpening=(0,a.getModalMaskOpening)(this._modalOverlayElem),this.hide(),document.body.appendChild(this._modalOverlayElem)),this.options=t,this}var t,n,r;return t=e,(n=[{key:"cleanup",value:function(){var e=this;(0,o.default)(function(){var t=e._modalOverlayElem;t&&t instanceof SVGElement&&t.parentNode.removeChild(t),e._modalOverlayElem=null,document.body.classList.remove(a.classNames.isVisible)})}},{key:"hide",value:function(){document.body.classList.remove(a.classNames.isVisible),this._modalOverlayElem&&(this._modalOverlayElem.style.display="none")}},{key:"setupForStep",value:function(t){this.options.useModalOverlay?(this._styleForStep(t),this.show()):this.hide()}},{key:"show",value:function(){document.body.classList.add(a.classNames.isVisible),this._modalOverlayElem&&(this._modalOverlayElem.style.display="block")}},{key:"_styleForStep",value:function(t){var e=this._modalOverlayOpening,n=(0,s.getElementForStep)(t);n?((0,a.positionModalOpening)(n,e),this._onScreenChange=(0,i.default)(a.positionModalOpening.bind(this,n,e),0,{leading:!1,trailing:!0}),s.addStepEventListeners.call(this)):(0,a.closeModalOpening)(this._modalOverlayOpening)}}])&&p(t.prototype,n),r&&p(t,r),e}()},function(t,e,n){var r=n(51),o=n(52)(function(t,e){return r(t,1,e)});t.exports=o},function(t,e){t.exports=function(t,e,n){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout(function(){t.apply(void 0,n)},e)}},function(t,e,n){var r=n(53),o=n(54),i=n(56);t.exports=function(t,e){return i(o(t,e,r),t+"")}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var p=n(55),l=Math.max;t.exports=function(i,a,s){return a=l(void 0===a?i.length-1:a,0),function(){for(var t=arguments,e=-1,n=l(t.length-a,0),r=Array(n);++e<n;)r[e]=t[a+e];e=-1;for(var o=Array(a+1);++e<a;)o[e]=t[e];return o[a]=s(r),p(i,this,o)}}},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var y=n(11),g=n(58),w=n(61),x=Math.max,O=Math.min;t.exports=function(r,o,t){var i,a,s,p,l,c,u=0,f=!1,d=!1,e=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function h(t){var e=i,n=a;return i=a=void 0,u=t,p=r.apply(n,e)}function m(t){var e=t-c;return void 0===c||o<=e||e<0||d&&s<=t-u}function v(){var t,e,n=g();if(m(n))return b(n);l=setTimeout(v,(e=o-((t=n)-c),d?O(e,s-(t-u)):e))}function b(t){return l=void 0,e&&i?h(t):(i=a=void 0,p)}function n(){var t,e=g(),n=m(e);if(i=arguments,a=this,c=e,n){if(void 0===l)return u=t=c,l=setTimeout(v,o),f?h(t):p;if(d)return l=setTimeout(v,o),h(c)}return void 0===l&&(l=setTimeout(v,o)),p}return o=w(o)||0,y(t)&&(f=!!t.leading,s=(d="maxWait"in t)?x(w(t.maxWait)||0,o):s,e="trailing"in t?!!t.trailing:e),n.cancel=function(){void 0!==l&&clearTimeout(l),i=c=a=l=void(u=0)},n.flush=function(){return void 0===l?p:b(g())},n}},function(t,e,n){var r=n(59);t.exports=function(){return r.Date.now()}},function(t,e,n){var r=n(60),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(n,t,e){(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;n.exports=e}).call(this,e(17))},function(t,e){t.exports=function(t){return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.defaults={trigger:"manual",arrow:!0,arrowTransform:"scale(2)",animation:"fade",duration:420,flip:!0,animateFill:!1,interactive:!0,hideOnClick:"toggle",multiple:!0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cleanupSteps=function(t){if(t){var e=t.steps;e.forEach(function(t){if(t.options&&!1===t.options.canClickTarget&&t.options.attachTo){var e=(0,o.getElementForStep)(t);e instanceof HTMLElement&&(e.style.pointerEvents="auto")}})}},e.cleanupStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),window.removeEventListener("touchmove",r.preventModalBodyTouch,!1),this._onScreenChange=null)};var r=n(4),o=n(8)}])});
6
- //# sourceMappingURL=shepherd.min.js.map
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Shepherd=e()}(this,function(){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function n(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function p(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},e=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),e.forEach(function(t){var e,n,r;e=o,r=i[n=t],n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r})}return o}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?u(t):e}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,p=t[Symbol.iterator]();!(r=(a=p.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==p.return||p.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function b(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var t="object"==typeof global&&global&&global.Object===Object&&global,e="object"==typeof self&&self&&self.Object===Object&&self,h=t||e||Function("return this")(),m=h.Symbol,v=Object.prototype,y=v.hasOwnProperty,g=v.toString,w=m?m.toStringTag:void 0;var x=Object.prototype.toString;var k="[object Null]",O="[object Undefined]",E=m?m.toStringTag:void 0;function S(t){return null==t?void 0===t?O:k:E&&E in Object(t)?function(t){var e=y.call(t,w),n=t[w];try{var r=!(t[w]=void 0)}catch(t){}var o=g.call(t);return r&&(e?t[w]=n:delete t[w]),o}(t):(e=t,x.call(e));var e}function T(t){return null!=t&&"object"==typeof t}var C="[object Symbol]";var L=NaN,j=/^\s+|\s+$/g,A=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,M=/^0o[0-7]+$/i,P=parseInt;function D(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||T(e)&&S(e)==C)return L;var e;if(b(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=b(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(j,"");var r=_.test(t);return r||M.test(t)?P(t.slice(2),r?2:8):A.test(t)?L:+t}var N=1/0,F=17976931348623157e292;function Y(t){var e,n=(e=t)?(e=D(e))!==N&&e!==-N?e==e?e:0:(e<0?-1:1)*F:0===e?e:0,r=n%1;return n==n?r?n-r:n:0}function I(t,e,n){var r=null==t?0:t.length;return r?function(t,e,n){var r=-1,o=t.length;e<0&&(e=o<-e?0:o+e),(n=o<n?o:n)<0&&(n+=o),o=n<e?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}(t,(e=n||void 0===e?1:Y(e))<0?0:e,r):[]}function X(t){return void 0===t}var B=function(){function t(){o(this,t)}return n(t,[{key:"on",value:function(t,e,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];X(this.bindings)&&(this.bindings={}),X(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:r})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(n,r){var o=this;if(X(this.bindings)||X(this.bindings[n]))return!1;X(r)?delete this.bindings[n]:this.bindings[n].forEach(function(t,e){t.handler===r&&o.bindings[n].splice(e,1)})}},{key:"trigger",value:function(a){var p=this;if(!X(this.bindings)&&this.bindings[a]){var s=I(arguments);this.bindings[a].forEach(function(t,e){var n=t.ctx,r=t.handler,o=t.once,i=n||p;r.apply(i,s),o&&p.bindings[a].splice(e,1)})}}}]),t}();var H,R=function(t,e,n){for(var r=-1,o=Object(t),i=n(t),a=i.length;a--;){var p=i[H?a:++r];if(!1===e(o[p],p,o))break}return t};function W(t){return T(t)&&"[object Arguments]"==S(t)}var z=Object.prototype,V=z.hasOwnProperty,q=z.propertyIsEnumerable,U=W(function(){return arguments}())?W:function(t){return T(t)&&V.call(t,"callee")&&!q.call(t,"callee")},$=Array.isArray;var G="object"==typeof exports&&exports&&!exports.nodeType&&exports,K=G&&"object"==typeof module&&module&&!module.nodeType&&module,J=K&&K.exports===G?h.Buffer:void 0,Q=(J?J.isBuffer:void 0)||function(){return!1},Z=9007199254740991,tt=/^(?:0|[1-9]\d*)$/;var et=9007199254740991;function nt(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=et}var rt={};rt["[object Float32Array]"]=rt["[object Float64Array]"]=rt["[object Int8Array]"]=rt["[object Int16Array]"]=rt["[object Int32Array]"]=rt["[object Uint8Array]"]=rt["[object Uint8ClampedArray]"]=rt["[object Uint16Array]"]=rt["[object Uint32Array]"]=!0,rt["[object Arguments]"]=rt["[object Array]"]=rt["[object ArrayBuffer]"]=rt["[object Boolean]"]=rt["[object DataView]"]=rt["[object Date]"]=rt["[object Error]"]=rt["[object Function]"]=rt["[object Map]"]=rt["[object Number]"]=rt["[object Object]"]=rt["[object RegExp]"]=rt["[object Set]"]=rt["[object String]"]=rt["[object WeakMap]"]=!1;var ot,it="object"==typeof exports&&exports&&!exports.nodeType&&exports,at=it&&"object"==typeof module&&module&&!module.nodeType&&module,pt=at&&at.exports===it&&t.process,st=function(){try{var t=at&&at.require&&at.require("util").types;return t||pt&&pt.binding&&pt.binding("util")}catch(t){}}(),ct=st&&st.isTypedArray,lt=ct?(ot=ct,function(t){return ot(t)}):function(t){return T(t)&&nt(t.length)&&!!rt[S(t)]},ut=Object.prototype.hasOwnProperty;function dt(t,e){var n,r,o,i=$(t),a=!i&&U(t),p=!i&&!a&&Q(t),s=!i&&!a&&!p&&lt(t),c=i||a||p||s,l=c?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],u=l.length;for(var d in t)!e&&!ut.call(t,d)||c&&("length"==d||p&&("offset"==d||"parent"==d)||s&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||(void 0,o=typeof(n=d),(r=null==(r=u)?Z:r)&&("number"==o||"symbol"!=o&&tt.test(n))&&-1<n&&n%1==0&&n<r))||l.push(d);return l}var ft=Object.prototype;function ht(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ft)}function mt(e,n){return function(t){return e(n(t))}}var vt=mt(Object.keys,Object),yt=Object.prototype.hasOwnProperty;function bt(t){if(!ht(t))return vt(t);var e=[];for(var n in Object(t))yt.call(t,n)&&"constructor"!=n&&e.push(n);return e}var gt="[object AsyncFunction]",wt="[object Function]",xt="[object GeneratorFunction]",kt="[object Proxy]";function Ot(t){if(!b(t))return!1;var e=S(t);return e==wt||e==xt||e==gt||e==kt}function Et(t){return null!=t&&nt(t.length)&&!Ot(t)}function St(t){return Et(t)?dt(t):bt(t)}function Tt(t){return t}function Ct(t,e){return t&&(r="function"==typeof(o=e)?o:Tt,(n=t)&&R(n,r,St));var n,r,o}var Lt=mt(Object.getPrototypeOf,Object),jt="[object Object]",At=Function.prototype,_t=Object.prototype,Mt=At.toString,Pt=_t.hasOwnProperty,Dt=Mt.call(Object);function Nt(t){return T(t)&&1===t.nodeType&&!function(t){if(!T(t)||S(t)!=jt)return!1;var e=Lt(t);if(null===e)return!0;var n=Pt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Mt.call(n)==Dt}(t)}var Ft,Yt=h["__core-js_shared__"],It=(Ft=/[^.]+$/.exec(Yt&&Yt.keys&&Yt.keys.IE_PROTO||""))?"Symbol(src)_1."+Ft:"";var Xt=Function.prototype.toString;function Bt(t){if(null!=t){try{return Xt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var Ht=/^\[object .+?Constructor\]$/,Rt=Function.prototype,Wt=Object.prototype,zt=Rt.toString,Vt=Wt.hasOwnProperty,qt=RegExp("^"+zt.call(Vt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ut(t){return!(!b(t)||(e=t,It&&It in e))&&(Ot(t)?qt:Ht).test(Bt(t));var e}function $t(t,e){var n,r,o=(r=e,null==(n=t)?void 0:n[r]);return Ut(o)?o:void 0}var Gt=$t(h,"DataView"),Kt=$t(h,"Map"),Jt=$t(h,"Promise"),Qt=$t(h,"Set"),Zt=$t(h,"WeakMap"),te="[object Map]",ee="[object Promise]",ne="[object Set]",re="[object WeakMap]",oe="[object DataView]",ie=Bt(Gt),ae=Bt(Kt),pe=Bt(Jt),se=Bt(Qt),ce=Bt(Zt),le=S;(Gt&&le(new Gt(new ArrayBuffer(1)))!=oe||Kt&&le(new Kt)!=te||Jt&&le(Jt.resolve())!=ee||Qt&&le(new Qt)!=ne||Zt&&le(new Zt)!=re)&&(le=function(t){var e=S(t),n="[object Object]"==e?t.constructor:void 0,r=n?Bt(n):"";if(r)switch(r){case ie:return oe;case ae:return te;case pe:return ee;case se:return ne;case ce:return re}return e});var ue=le,de=Object.prototype.hasOwnProperty;function fe(t){if(null==t)return!0;if(Et(t)&&($(t)||"string"==typeof t||"function"==typeof t.splice||Q(t)||lt(t)||U(t)))return!t.length;var e=ue(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(ht(t))return!bt(t).length;for(var n in t)if(de.call(t,n))return!1;return!0}var he="[object String]";function me(t){return"string"==typeof t||!$(t)&&T(t)&&S(t)==he}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var ve=function(){try{var t=$t(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var ye=Object.prototype.hasOwnProperty;function be(t,e,n){var r,o,i,a,p,s=t[e];ye.call(t,e)&&((a=s)===(p=n)||a!=a&&p!=p)&&(void 0!==n||e in t)||(r=t,i=n,"__proto__"==(o=e)&&ve?ve(r,o,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[o]=i)}for(var ge="undefined"!=typeof window&&"undefined"!=typeof document,we=["Edge","Trident","Firefox"],xe=0,ke=0;ke<we.length;ke+=1)if(ge&&0<=navigator.userAgent.indexOf(we[ke])){xe=1;break}var Oe=ge&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},xe))}};function Ee(t){return t&&"[object Function]"==={}.toString.call(t)}function Se(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function Te(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function Ce(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Se(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:Ce(Te(t))}var Le=ge&&!(!window.MSInputMethodContext||!document.documentMode),je=ge&&/MSIE 10/.test(navigator.userAgent);function Ae(t){return 11===t?Le:10===t?je:Le||je}function _e(t){if(!t)return document.documentElement;for(var e=Ae(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Se(n,"position")?_e(n):n:t?t.ownerDocument.documentElement:document.documentElement}function Me(t){return null!==t.parentNode?Me(t.parentNode):t}function Pe(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,p,s=i.commonAncestorContainer;if(t!==s&&e!==s||r.contains(o))return"BODY"===(p=(a=s).nodeName)||"HTML"!==p&&_e(a.firstElementChild)!==a?_e(s):s;var c=Me(t);return c.host?Pe(c.host,e):Pe(t,Me(e).host)}function De(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"!==n&&"HTML"!==n)return t[e];var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}function Ne(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function Fe(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Ae(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function Ye(t){var e=t.body,n=t.documentElement,r=Ae(10)&&getComputedStyle(n);return{height:Fe("Height",e,n,r),width:Fe("Width",e,n,r)}}var Ie=function(){function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}}(),Xe=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Be=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function He(t){return Be({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Re(t){var e={};try{if(Ae(10)){e=t.getBoundingClientRect();var n=De(t,"top"),r=De(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?Ye(t.ownerDocument):{},a=i.width||t.clientWidth||o.right-o.left,p=i.height||t.clientHeight||o.bottom-o.top,s=t.offsetWidth-a,c=t.offsetHeight-p;if(s||c){var l=Se(t);s-=Ne(l,"x"),c-=Ne(l,"y"),o.width-=s,o.height-=c}return He(o)}function We(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=Ae(10),o="HTML"===e.nodeName,i=Re(t),a=Re(e),p=Ce(t),s=Se(e),c=parseFloat(s.borderTopWidth,10),l=parseFloat(s.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=He({top:i.top-a.top-c,left:i.left-a.left-l,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var d=parseFloat(s.marginTop,10),f=parseFloat(s.marginLeft,10);u.top-=c-d,u.bottom-=c-d,u.left-=l-f,u.right-=l-f,u.marginTop=d,u.marginLeft=f}return(r&&!n?e.contains(p):e===p&&"BODY"!==p.nodeName)&&(u=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=De(e,"top"),o=De(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}(u,e)),u}function ze(t){if(!t||!t.parentElement||Ae())return document.documentElement;for(var e=t.parentElement;e&&"none"===Se(e,"transform");)e=e.parentElement;return e||document.documentElement}function Ve(t,e,n,r){var o=4<arguments.length&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?ze(t):Pe(t,e);if("viewport"===r)i=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=We(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:De(n),p=e?0:De(n,"left");return He({top:a-r.top+r.marginTop,left:p-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var p=void 0;"scrollParent"===r?"BODY"===(p=Ce(Te(e))).nodeName&&(p=t.ownerDocument.documentElement):p="window"===r?t.ownerDocument.documentElement:r;var s=We(p,a,o);if("HTML"!==p.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===Se(e,"position")||t(Te(e)))}(a))i=s;else{var c=Ye(t.ownerDocument),l=c.height,u=c.width;i.top+=s.top-s.marginTop,i.bottom=l+s.top,i.left+=s.left-s.marginLeft,i.right=u+s.left}}var d="number"==typeof(n=n||0);return i.left+=d?n:n.left||0,i.top+=d?n:n.top||0,i.right-=d?n:n.right||0,i.bottom-=d?n:n.bottom||0,i}function qe(t,e,r,n,o){var i=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=Ve(r,n,i,o),p={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},s=Object.keys(p).map(function(t){return Be({key:t},p[t],{area:(e=p[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=s.filter(function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight}),l=0<c.length?c[0].key:s[0].key,u=t.split("-")[1];return l+(u?"-"+u:"")}function Ue(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return We(n,r?ze(e):Pe(e,n),r)}function $e(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function Ge(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function Ke(t,e,n){n=n.split("-")[0];var r=$e(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",p=i?"left":"top",s=i?"height":"width",c=i?"width":"height";return o[a]=e[a]+e[s]/2-r[s]/2,o[p]=n===p?e[p]-r[c]:e[Ge(p)],o}function Je(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Qe(t,n,e){return(void 0===e?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=Je(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&Ee(e)&&(n.offsets.popper=He(n.offsets.popper),n.offsets.reference=He(n.offsets.reference),n=e(n,t))}),n}function Ze(t,n){return t.some(function(t){var e=t.name;return t.enabled&&e===n})}function tn(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if(void 0!==document.body.style[i])return i}return null}function en(t){var e=t.ownerDocument;return e?e.defaultView:window}function nn(t,e,n,r){n.updateBound=r,en(t).addEventListener("resize",n.updateBound,{passive:!0});var o=Ce(t);return function t(e,n,r,o){var i="BODY"===e.nodeName,a=i?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),i||t(Ce(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function rn(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,en(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function on(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function an(n,r){Object.keys(r).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&on(r[t])&&(e="px"),n.style[t]=r[t]+e})}var pn=ge&&/Firefox/i.test(navigator.userAgent);function sn(t,e,n){var r=Je(t,function(t){return t.name===e}),o=!!r&&t.some(function(t){return t.name===n&&t.enabled&&t.order<r.order});if(!o){var i="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var cn=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ln=cn.slice(3);function un(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=ln.indexOf(t),r=ln.slice(n+1).concat(ln.slice(0,n));return e?r.reverse():r}var dn="flip",fn="clockwise",hn="counterclockwise";function mn(t,o,i,e){var a=[0,0],p=-1!==["right","left"].indexOf(e),n=t.split(/(\+|\-)/).map(function(t){return t.trim()}),r=n.indexOf(Je(n,function(t){return-1!==t.search(/,|\s/)}));n[r]&&-1===n[r].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=-1!==r?[n.slice(0,r).concat([n[r].split(s)[0]]),[n[r].split(s)[1]].concat(n.slice(r+1))]:[n];return(c=c.map(function(t,e){var n=(1===e?!p:p)?"height":"width",r=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return t;if(0!==a.indexOf("%"))return"vh"!==a&&"vw"!==a?i:("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;var p=void 0;switch(a){case"%p":p=n;break;case"%":case"%r":default:p=r}return He(p)[e]/100*i}(t,n,o,i)})})).forEach(function(n,r){n.forEach(function(t,e){on(t)&&(a[r]+=t*("-"===n[e-1]?-1:1))})}),a}var vn={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,p=-1!==["bottom","top"].indexOf(n),s=p?"left":"top",c=p?"width":"height",l={start:Xe({},s,i[s]),end:Xe({},s,i[s]+i[c]-a[c])};t.offsets.popper=Be({},a,l[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,p=r.split("-")[0],s=void 0;return s=on(+n)?[+n,0]:mn(n,i,a,p),"left"===p?(i.top+=s[0],i.left-=s[1]):"right"===p?(i.top+=s[0],i.left+=s[1]):"top"===p?(i.left+=s[0],i.top-=s[1]):"bottom"===p&&(i.left+=s[0],i.top+=s[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,r){var e=r.boundariesElement||_e(t.instance.popper);t.instance.reference===e&&(e=_e(e));var n=tn("transform"),o=t.instance.popper.style,i=o.top,a=o.left,p=o[n];o.top="",o.left="",o[n]="";var s=Ve(t.instance.popper,t.instance.reference,r.padding,e,t.positionFixed);o.top=i,o.left=a,o[n]=p,r.boundaries=s;var c=r.priority,l=t.offsets.popper,u={primary:function(t){var e=l[t];return l[t]<s[t]&&!r.escapeWithReference&&(e=Math.max(l[t],s[t])),Xe({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=l[e];return l[t]>s[t]&&!r.escapeWithReference&&(n=Math.min(l[e],s[t]-("right"===t?l.width:l.height))),Xe({},e,n)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=Be({},l,u[e](t))}),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),p=a?"right":"bottom",s=a?"left":"top",c=a?"width":"height";return n[p]<i(r[s])&&(t.offsets.popper[s]=i(r[s])-n[c]),n[s]>i(r[p])&&(t.offsets.popper[s]=i(r[p])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!sn(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,a=i.popper,p=i.reference,s=-1!==["left","right"].indexOf(o),c=s?"height":"width",l=s?"Top":"Left",u=l.toLowerCase(),d=s?"left":"top",f=s?"bottom":"right",h=$e(r)[c];p[f]-h<a[u]&&(t.offsets.popper[u]-=a[u]-(p[f]-h)),p[u]+h>a[f]&&(t.offsets.popper[u]+=p[u]+h-a[f]),t.offsets.popper=He(t.offsets.popper);var m=p[u]+p[c]/2-h/2,v=Se(t.instance.popper),y=parseFloat(v["margin"+l],10),b=parseFloat(v["border"+l+"Width"],10),g=m-t.offsets.popper[u]-y-b;return g=Math.max(Math.min(a[c]-h,g),0),t.arrowElement=r,t.offsets.arrow=(Xe(n={},u,Math.round(g)),Xe(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(h,m){if(Ze(h.instance.modifiers,"inner"))return h;if(h.flipped&&h.placement===h.originalPlacement)return h;var v=Ve(h.instance.popper,h.instance.reference,m.padding,m.boundariesElement,h.positionFixed),y=h.placement.split("-")[0],b=Ge(y),g=h.placement.split("-")[1]||"",w=[];switch(m.behavior){case dn:w=[y,b];break;case fn:w=un(y);break;case hn:w=un(y,!0);break;default:w=m.behavior}return w.forEach(function(t,e){if(y!==t||w.length===e+1)return h;y=h.placement.split("-")[0],b=Ge(y);var n,r=h.offsets.popper,o=h.offsets.reference,i=Math.floor,a="left"===y&&i(r.right)>i(o.left)||"right"===y&&i(r.left)<i(o.right)||"top"===y&&i(r.bottom)>i(o.top)||"bottom"===y&&i(r.top)<i(o.bottom),p=i(r.left)<i(v.left),s=i(r.right)>i(v.right),c=i(r.top)<i(v.top),l=i(r.bottom)>i(v.bottom),u="left"===y&&p||"right"===y&&s||"top"===y&&c||"bottom"===y&&l,d=-1!==["top","bottom"].indexOf(y),f=!!m.flipVariations&&(d&&"start"===g&&p||d&&"end"===g&&s||!d&&"start"===g&&c||!d&&"end"===g&&l);(a||u||f)&&(h.flipped=!0,(a||u)&&(y=w[e+1]),f&&(g="end"===(n=g)?"start":"start"===n?"end":n),h.placement=y+(g?"-"+g:""),h.offsets.popper=Be({},h.offsets.popper,Ke(h.instance.popper,h.offsets.reference,h.placement)),h=Qe(h.instance.modifiers,h,"flip"))}),h},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),p=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(p?o[a?"width":"height"]:0),t.placement=Ge(e),t.offsets.popper=He(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!sn(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=Je(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=Je(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,p,s,c,l,u,d,f,h,m,v,y,b=void 0!==i?i:e.gpuAcceleration,g=_e(t.instance.popper),w=Re(g),x={position:o.position},k=(a=t,p=window.devicePixelRatio<2||!pn,s=a.offsets,c=s.popper,l=s.reference,u=-1!==["left","right"].indexOf(a.placement),d=-1!==a.placement.indexOf("-"),f=l.width%2==c.width%2,h=l.width%2==1&&c.width%2==1,m=function(t){return t},v=p?u||d||f?Math.round:Math.floor:m,y=p?Math.round:m,{left:v(h&&!d&&p?c.left-1:c.left),top:y(c.top),bottom:y(c.bottom),right:v(c.right)}),O="bottom"===n?"top":"bottom",E="right"===r?"left":"right",S=tn("transform"),T=void 0,C=void 0;if(C="bottom"===O?"HTML"===g.nodeName?-g.clientHeight+k.bottom:-w.height+k.bottom:k.top,T="right"===E?"HTML"===g.nodeName?-g.clientWidth+k.right:-w.width+k.right:k.left,b&&S)x[S]="translate3d("+T+"px, "+C+"px, 0)",x[O]=0,x[E]=0,x.willChange="transform";else{var L="bottom"===O?-1:1,j="right"===E?-1:1;x[O]=C*L,x[E]=T*j,x.willChange=O+", "+E}var A={"x-placement":t.placement};return t.attributes=Be({},A,t.attributes),t.styles=Be({},x,t.styles),t.arrowStyles=Be({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return an(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&an(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,o){var i=Ue(o,e,t,n.positionFixed),a=qe(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),an(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},yn=function(){function i(t,e){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=Oe(this.update.bind(this)),this.options=Be({},i.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(Be({},i.Defaults.modifiers,r.modifiers)).forEach(function(t){n.options.modifiers[t]=Be({},i.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Be({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&Ee(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Ie(i,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Ue(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=qe(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Ke(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Qe(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,Ze(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[tn("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=nn(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return rn.call(this)}}]),i}();yn.Utils=("undefined"!=typeof window?window:global).PopperUtils,yn.placements=cn,yn.Defaults=vn;var bn="undefined"!=typeof window,gn=bn?navigator:{},wn=bn?window:{},xn=/MSIE |Trident\//.test(gn.userAgent),kn=/iPhone|iPad|iPod/.test(gn.platform)&&!wn.MSStream,On="ontouchstart"in wn,En={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrow:!1,arrowTransform:"",arrowType:"sharp",autoFocus:!0,boundary:"scrollParent",content:"",delay:[0,20],distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",followCursor:!1,hideOnClick:!0,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,livePlacement:!0,maxWidth:"",multiple:!1,offset:0,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},performance:!1,placement:"top",popperOptions:{},shouldPopperHideOnBlur:function(){return!0},showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",updateDuration:200,wait:null,zIndex:9999},Sn=["arrow","arrowType","distance","flip","flipBehavior","offset","placement","popperOptions"],Tn={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-content",BACKDROP:".tippy-backdrop",ARROW:".tippy-arrow",ROUND_ARROW:".tippy-roundarrow"},Cn=bn?Element.prototype:{},Ln=Cn.matches||Cn.matchesSelector||Cn.webkitMatchesSelector||Cn.mozMatchesSelector||Cn.msMatchesSelector;function jn(t){return[].slice.call(t)}function An(t,e){return(Cn.closest||function(t){for(var e=this;e;){if(Ln.call(e,t))return e;e=e.parentElement}}).call(t,e)}function _n(t,e){for(;t;){if(e(t))return t;t=t.parentElement}}var Mn={passive:!0};function Pn(){return document.createElement("div")}function Dn(t,e){t.innerHTML=e instanceof Element?e.innerHTML:e}function Nn(t,e){e.content instanceof Element?(Dn(t,""),t.appendChild(e.content)):t[e.allowHTML?"innerHTML":"textContent"]=e.content}function Fn(t){return{tooltip:t.querySelector(Tn.TOOLTIP),backdrop:t.querySelector(Tn.BACKDROP),content:t.querySelector(Tn.CONTENT),arrow:t.querySelector(Tn.ARROW)||t.querySelector(Tn.ROUND_ARROW)}}function Yn(t){t.setAttribute("data-inertia","")}function In(t){var e=Pn();return"round"===t?(e.className="tippy-roundarrow",Dn(e,'<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')):e.className="tippy-arrow",e}function Xn(){var t=Pn();return t.className="tippy-backdrop",t.setAttribute("data-state","hidden"),t}function Bn(t,e){t.setAttribute("tabindex","-1"),e.setAttribute("data-interactive","")}function Hn(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function Rn(t,e,n){t[e+"EventListener"]("transitionend",n)}function Wn(t){var e=t.getAttribute("x-placement");return e?e.split("-")[0]:""}function zn(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function Vn(n){jn(document.querySelectorAll(Tn.POPPER)).forEach(function(t){var e=t._tippy;!e||!0!==e.props.hideOnClick||n&&t===n.popper||e.hide()})}function qn(t,e,n,r){if(!t)return!0;var o=n.clientX,i=n.clientY,a=r.interactiveBorder,p=r.distance,s=e.top-i>("top"===t?a+p:a),c=i-e.bottom>("bottom"===t?a+p:a),l=e.left-o>("left"===t?a+p:a),u=o-e.right>("right"===t?a+p:a);return s||c||l||u}function Un(t,e){return-(t-e)+"px"}function $n(t){return"[object Object]"==={}.toString.call(t)}function Gn(t,e){return{}.hasOwnProperty.call(t,e)}function Kn(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?n:r}return t}function Jn(t){var e=window.scrollX||window.pageXOffset,n=window.scrollY||window.pageYOffset;t.focus(),scroll(e,n)}function Qn(n,r){var o=void 0;return function(){var t=this,e=arguments;clearTimeout(o),o=setTimeout(function(){return n.apply(t,e)},r)}}function Zn(t,e){return t&&t.modifiers&&t.modifiers[e]}function tr(t,e){return-1<t.indexOf(e)}var er=!1;function nr(){er||(er=!0,kn&&document.body.classList.add("tippy-iOS"),window.performance&&document.addEventListener("mousemove",or))}var rr=0;function or(){var t=performance.now();t-rr<20&&(er=!1,document.removeEventListener("mousemove",or),kn||document.body.classList.remove("tippy-iOS")),rr=t}function ir(t){var e=t.target;if(!(e instanceof Element))return Vn();var n=An(e,Tn.POPPER);if(!(n&&n._tippy&&n._tippy.props.interactive)){var r=_n(e,function(t){return t._tippy&&t._tippy.reference===t});if(r){var o=r._tippy,i=tr(o.props.trigger,"click");if(er||i)return Vn(o);if(!0!==o.props.hideOnClick||i)return;o.clearDelayTimeouts()}Vn()}}function ar(){var t=document.activeElement;t&&t.blur&&t._tippy&&t.blur()}function pr(){jn(document.querySelectorAll(Tn.POPPER)).forEach(function(t){var e=t._tippy;e.props.livePlacement||e.popperInstance.scheduleUpdate()})}var sr=Object.keys(En);function cr(o){return sr.reduce(function(t,e){var n,r=(o.getAttribute("data-tippy-"+e)||"").trim();return r&&("content"===e?t[e]=r:"true"===r?t[e]=!0:"false"===r?t[e]=!1:(n=r,isNaN(n)||isNaN(parseFloat(n))?"["===r[0]||"{"===r[0]?t[e]=JSON.parse(r):t[e]=r:t[e]=Number(r))),t},{})}var lr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function ur(t,e){var n=lr({},e,e.performance?{}:cr(t));return n.arrow&&(n.animateFill=!1),"function"==typeof n.appendTo&&(n.appendTo=e.appendTo(t)),"function"==typeof n.content&&(n.content=e.content(t)),n}function dr(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];Object.keys(t).forEach(function(t){if(!Gn(e,t))throw new Error("[tippy]: `"+t+"` is not a valid option")})}var fr={translate:/translateX?Y?\(([^)]+)\)/,scale:/scaleX?Y?\(([^)]+)\)/};function hr(t,e){return(e?t:{X:"Y",Y:"X"}[t])||""}function mr(t,e,n,r){var o=e[0],i=e[1];return o||i?{scale:i?n?o+", "+i:i+", "+o:""+o,translate:i?n?r?o+"px, "+-i+"px":o+"px, "+i+"px":r?-i+"px, "+o+"px":i+"px, "+o+"px":r?-o+"px":o+"px"}[t]:""}function vr(t,e){var n=t.match(new RegExp(e+"([XY])"));return n?n[1]:""}function yr(t,e){var n=t.match(e);return n?n[1].split(",").map(function(t){return parseFloat(t,10)}):[]}function br(t,e){var n=Wn(An(t,Tn.POPPER)),r=tr(["top","bottom"],n),o=tr(["right","bottom"],n),i={translate:{axis:vr(e,"translate"),numbers:yr(e,fr.translate)},scale:{axis:vr(e,"scale"),numbers:yr(e,fr.scale)}},a=e.replace(fr.translate,"translate"+hr(i.translate.axis,r)+"("+mr("translate",i.translate.numbers,r,o)+")").replace(fr.scale,"scale"+hr(i.scale.axis,r)+"("+mr("scale",i.scale.numbers,r,o)+")");t.style[void 0!==document.body.style.transform?"transform":"webkitTransform"]=a}var gr=1;function wr(t,e){var n=ur(t,e);if(!n.multiple&&t._tippy)return null;var c=null,l={},h=null,o=0,r=0,i=!1,a=function(){},p=[],s=!1,d=0<n.interactiveDebounce?Qn(S,n.interactiveDebounce):S,u=gr++,f=function(t,e){var n=Pn();n.className="tippy-popper",n.setAttribute("role","tooltip"),n.id="tippy-"+t,n.style.zIndex=e.zIndex;var r=Pn();r.className="tippy-tooltip",r.style.maxWidth=e.maxWidth+("number"==typeof e.maxWidth?"px":""),r.setAttribute("data-size",e.size),r.setAttribute("data-animation",e.animation),r.setAttribute("data-state","hidden"),e.theme.split(" ").forEach(function(t){r.classList.add(t+"-theme")});var o=Pn();return o.className="tippy-content",o.setAttribute("data-state","hidden"),e.interactive&&Bn(n,r),e.arrow&&r.appendChild(In(e.arrowType)),e.animateFill&&(r.appendChild(Xn()),r.setAttribute("data-animatefill","")),e.inertia&&Yn(r),Nn(o,e),r.appendChild(o),n.appendChild(r),n.addEventListener("focusout",function(t){t.relatedTarget&&n._tippy&&!_n(t.relatedTarget,function(t){return t===n})&&t.relatedTarget!==n._tippy.reference&&n._tippy.props.shouldPopperHideOnBlur(t)&&n._tippy.hide()}),n}(u,n);f.addEventListener("mouseenter",function(t){y.props.interactive&&y.state.isVisible&&"mouseenter"===l.type&&w(t)}),f.addEventListener("mouseleave",function(t){y.props.interactive&&"mouseenter"===l.type&&0===y.props.interactiveDebounce&&qn(Wn(f),f.getBoundingClientRect(),t,y.props)&&x()});var m,v=Fn(f),y={id:u,reference:t,popper:f,popperChildren:v,popperInstance:null,props:n,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:I,set:X,setContent:function(t){X({content:t})},show:B,hide:H,enable:function(){y.state.isEnabled=!0},disable:function(){y.state.isEnabled=!1},destroy:R};return F(),t.addEventListener("click",b),n.lazy||(y.popperInstance=_(),y.popperInstance.disableEventListeners()),n.showOnInit&&w(),n.a11y&&!n.target&&((m=t)instanceof Element&&(!Ln.call(m,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")||m.hasAttribute("disabled")))&&t.setAttribute("tabindex","0"),t._tippy=y,f._tippy=y;function b(){setTimeout(function(){s=!1},1)}function g(t){var e=h=t,n=e.clientX,r=e.clientY;if(y.popperInstance){var o=Wn(y.popper),i=y.popperChildren.arrow?20:5,a=tr(["top","bottom"],o),p=tr(["left","right"],o),s=a?Math.max(i,n):n,c=p?Math.max(i,r):r;a&&i<s&&(s=Math.min(n,window.innerWidth-i)),p&&i<c&&(c=Math.min(r,window.innerHeight-i));var l=y.reference.getBoundingClientRect(),u=y.props.followCursor,d="horizontal"===u,f="vertical"===u;y.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:d?l.top:c,bottom:d?l.bottom:c,left:f?l.left:s,right:f?l.right:s}},clientWidth:0,clientHeight:0},y.popperInstance.scheduleUpdate(),"initial"===u&&y.state.isVisible&&k()}}function w(t){if(I(),!y.state.isVisible)if(y.props.target)(n=An((e=t).target,y.props.target))&&!n._tippy&&(wr(n,lr({},y.props,{target:"",showOnInit:!0})),w(e));else{var e,n;if(i=!0,y.props.wait)return y.props.wait(y,t);P()&&!y.state.isMounted&&document.addEventListener("mousemove",g);var r=Kn(y.props.delay,0,En.delay);r?o=setTimeout(function(){B()},r):B()}}function x(){if(I(),!y.state.isVisible)return k();i=!1;var t=Kn(y.props.delay,1,En.delay);t?r=setTimeout(function(){y.state.isVisible&&H()},t):H()}function k(){document.removeEventListener("mousemove",g),h=null}function O(){document.body.removeEventListener("mouseleave",x),document.removeEventListener("mousemove",d)}function E(t){y.state.isEnabled&&!A(t)&&(y.state.isVisible||(l=t),"click"===t.type&&!1!==y.props.hideOnClick&&y.state.isVisible?x():w(t))}function S(t){var e=_n(t.target,function(t){return t._tippy}),n=An(t.target,Tn.POPPER)===y.popper,r=e===y.reference;n||r||qn(Wn(y.popper),y.popper.getBoundingClientRect(),t,y.props)&&(O(),x())}function T(t){if(!A(t))return y.props.interactive?(document.body.addEventListener("mouseleave",x),void document.addEventListener("mousemove",d)):void x()}function C(t){if(t.target===y.reference){if(y.props.interactive){if(!t.relatedTarget)return;if(An(t.relatedTarget,Tn.POPPER))return}x()}}function L(t){An(t.target,y.props.target)&&w(t)}function j(t){An(t.target,y.props.target)&&x()}function A(t){var e=tr(t.type,"touch"),n=On&&er&&y.props.touchHold&&!e,r=er&&!y.props.touchHold&&e;return n||r}function _(){var t=y.props.popperOptions,e=y.popperChildren,n=e.tooltip,r=e.arrow;return new yn(y.reference,y.popper,lr({placement:y.props.placement},t,{modifiers:lr({},t?t.modifiers:{},{preventOverflow:lr({boundariesElement:y.props.boundary},Zn(t,"preventOverflow")),arrow:lr({element:r,enabled:!!r},Zn(t,"arrow")),flip:lr({enabled:y.props.flip,padding:y.props.distance+5,behavior:y.props.flipBehavior},Zn(t,"flip")),offset:lr({offset:y.props.offset},Zn(t,"offset"))}),onCreate:function(){n.style[Wn(y.popper)]=Un(y.props.distance,En.distance),r&&y.props.arrowTransform&&br(r,y.props.arrowTransform)},onUpdate:function(){var t=n.style;t.top="",t.bottom="",t.left="",t.right="",t[Wn(y.popper)]=Un(y.props.distance,En.distance),r&&y.props.arrowTransform&&br(r,y.props.arrowTransform)}}))}function M(t){y.popperInstance?P()||(y.popperInstance.scheduleUpdate(),y.props.livePlacement&&y.popperInstance.enableEventListeners()):(y.popperInstance=_(),(c=new MutationObserver(function(){y.popperInstance.update()})).observe(f,{childList:!0,subtree:!0,characterData:!0}),y.props.livePlacement&&!P()||y.popperInstance.disableEventListeners()),y.popperInstance.reference=y.reference;var e,n,r,o,i,a,p=y.popperChildren.arrow;if(P()){p&&(p.style.margin="0");var s=Kn(y.props.delay,0,En.delay);l.type&&g(s&&h?h:l)}else p&&(p.style.margin="");e=y.popperInstance,n=t,r=e.popper,o=e.options,i=o.onCreate,a=o.onUpdate,o.onCreate=o.onUpdate=function(){r.offsetHeight,n(),a(),o.onCreate=i,o.onUpdate=a},y.props.appendTo.contains(y.popper)||(y.props.appendTo.appendChild(y.popper),y.props.onMount(y),y.state.isMounted=!0)}function P(){return y.props.followCursor&&!er&&"focus"!==l.type}function D(t,n){if(0===t)return n();var r=y.popperChildren.tooltip,e=function t(e){e.target===r&&(Rn(r,"remove",t),n())};Rn(r,"remove",a),Rn(r,"add",e),a=e}function N(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];y.reference.addEventListener(t,e,n),p.push({eventType:t,handler:e,options:n})}function F(){y.props.touchHold&&!y.props.target&&(N("touchstart",E,Mn),N("touchend",T,Mn)),y.props.trigger.trim().split(" ").forEach(function(t){if("manual"!==t)if(y.props.target)switch(t){case"mouseenter":N("mouseover",L),N("mouseout",j);break;case"focus":N("focusin",L),N("focusout",j);break;case"click":N(t,L)}else switch(N(t,E),t){case"mouseenter":N("mouseleave",T);break;case"focus":N(xn?"focusout":"blur",C)}})}function Y(){p.forEach(function(t){var e=t.eventType,n=t.handler,r=t.options;y.reference.removeEventListener(e,n,r)}),p=[]}function I(){clearTimeout(o),clearTimeout(r)}function X(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};dr(e,En);var t,n,r,o,i,a,p,s,c,l=y.props,u=ur(y.reference,lr({},y.props,e,{performance:!0}));u.performance=Gn(e,"performance")?e.performance:l.performance,y.props=u,(Gn(e,"trigger")||Gn(e,"touchHold"))&&(Y(),F()),Gn(e,"interactiveDebounce")&&(O(),d=Qn(S,e.interactiveDebounce)),t=y.popper,n=l,r=u,i=Fn(t),a=i.tooltip,p=i.content,s=i.backdrop,c=i.arrow,t.style.zIndex=r.zIndex,a.setAttribute("data-size",r.size),a.setAttribute("data-animation",r.animation),a.style.maxWidth=r.maxWidth+("number"==typeof r.maxWidth?"px":""),n.content!==r.content&&Nn(p,r),!n.animateFill&&r.animateFill?(a.appendChild(Xn()),a.setAttribute("data-animatefill","")):n.animateFill&&!r.animateFill&&(a.removeChild(s),a.removeAttribute("data-animatefill")),!n.arrow&&r.arrow?a.appendChild(In(r.arrowType)):n.arrow&&!r.arrow&&a.removeChild(c),n.arrow&&r.arrow&&n.arrowType!==r.arrowType&&a.replaceChild(In(r.arrowType),c),!n.interactive&&r.interactive?Bn(t,a):n.interactive&&!r.interactive&&(o=a,t.removeAttribute("tabindex"),o.removeAttribute("data-interactive")),!n.inertia&&r.inertia?Yn(a):n.inertia&&!r.inertia&&a.removeAttribute("data-inertia"),n.theme!==r.theme&&(n.theme.split(" ").forEach(function(t){a.classList.remove(t+"-theme")}),r.theme.split(" ").forEach(function(t){a.classList.add(t+"-theme")})),y.popperChildren=Fn(y.popper),y.popperInstance&&Sn.some(function(t){return Gn(e,t)})&&(y.popperInstance.destroy(),y.popperInstance=_(),y.state.isVisible||y.popperInstance.disableEventListeners(),y.props.followCursor&&h&&g(h))}function B(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Kn(y.props.duration,0,En.duration[0]);if(!y.state.isDestroyed&&y.state.isEnabled&&(!er||y.props.touch))return y.reference.isVirtual||document.documentElement.contains(y.reference)?void(y.reference.hasAttribute("disabled")||(s?s=!1:!1!==y.props.onShow(y)&&(y.popper.style.visibility="visible",y.state.isVisible=!0,Hn([y.popper,y.popperChildren.tooltip,y.popperChildren.backdrop],0),M(function(){y.state.isVisible&&(P()||y.popperInstance.update(),Hn([y.popperChildren.tooltip,y.popperChildren.backdrop,y.popperChildren.content],t),y.popperChildren.backdrop&&(y.popperChildren.content.style.transitionDelay=Math.round(t/6)+"ms"),y.props.interactive&&y.reference.classList.add("tippy-active"),y.props.sticky&&(Hn([y.popper],xn?0:y.props.updateDuration),function t(){y.popperInstance&&y.popperInstance.scheduleUpdate(),y.state.isMounted?requestAnimationFrame(t):Hn([y.popper],0)}()),zn([y.popperChildren.tooltip,y.popperChildren.backdrop,y.popperChildren.content],"visible"),D(t,function(){0===y.props.updateDuration&&y.popperChildren.tooltip.classList.add("tippy-notransition"),y.props.autoFocus&&y.props.interactive&&tr(["focus","click"],l.type)&&Jn(y.popper),y.props.aria&&y.reference.setAttribute("aria-"+y.props.aria,y.popper.id),y.props.onShown(y),y.state.isShown=!0}))})))):R()}function H(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Kn(y.props.duration,1,En.duration[1]);!y.state.isDestroyed&&y.state.isEnabled&&(!1!==y.props.onHide(y)&&(0===y.props.updateDuration&&y.popperChildren.tooltip.classList.remove("tippy-notransition"),y.props.interactive&&y.reference.classList.remove("tippy-active"),y.popper.style.visibility="hidden",y.state.isVisible=!1,y.state.isShown=!1,Hn([y.popperChildren.tooltip,y.popperChildren.backdrop,y.popperChildren.content],e),zn([y.popperChildren.tooltip,y.popperChildren.backdrop,y.popperChildren.content],"hidden"),y.props.autoFocus&&y.props.interactive&&!s&&tr(["focus","click"],l.type)&&("focus"===l.type&&(s=!0),Jn(y.reference)),t=function(){i||k(),y.props.aria&&y.reference.removeAttribute("aria-"+y.props.aria),y.popperInstance.disableEventListeners(),y.props.appendTo.removeChild(y.popper),y.state.isMounted=!1,y.props.onHidden(y)},D(e,function(){!y.state.isVisible&&y.props.appendTo.contains(y.popper)&&t()})))}function R(t){y.state.isDestroyed||(y.state.isMounted&&H(0),Y(),y.reference.removeEventListener("click",b),delete y.reference._tippy,y.props.target&&t&&jn(y.reference.querySelectorAll(y.props.target)).forEach(function(t){return t._tippy&&t._tippy.destroy()}),y.popperInstance&&y.popperInstance.destroy(),c&&c.disconnect(),y.state.isDestroyed=!0)}}var xr=!1;function kr(t,e,n){dr(e,En),xr||(document.addEventListener("click",ir,!0),document.addEventListener("touchstart",nr,Mn),window.addEventListener("blur",ar),window.addEventListener("resize",pr),On||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints||document.addEventListener("pointerdown",nr),xr=!0);var r=lr({},En,e);$n(t)&&function(n){var t={isVirtual:!0,attributes:n.attributes||{},setAttribute:function(t,e){n.attributes[t]=e},getAttribute:function(t){return n.attributes[t]},removeAttribute:function(t){delete n.attributes[t]},hasAttribute:function(t){return t in n.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){n.classList.classNames[t]=!0},remove:function(t){delete n.classList.classNames[t]},contains:function(t){return t in n.classList.classNames}}};for(var e in t)n[e]=t[e]}(t);var o=function(t){if(t instanceof Element||$n(t))return[t];if(t instanceof NodeList)return jn(t);if(Array.isArray(t))return t;try{return jn(document.querySelectorAll(t))}catch(t){return[]}}(t),i=o[0],a=(n&&i?[i]:o).reduce(function(t,e){var n=e&&wr(e,r);return n&&t.push(n),t},[]),p={targets:t,props:r,instances:a,destroyAll:function(){p.instances.forEach(function(t){t.destroy()}),p.instances=[]}};return p}kr.version="3.4.1",kr.defaults=En,kr.one=function(t,e){return kr(t,e,!0).instances[0]},kr.setDefaults=function(e){Object.keys(e).forEach(function(t){En[t]=e[t]})},kr.disableAnimations=function(){kr.setDefaults({duration:0,updateDuration:0,animateFill:!1})},kr.hideAllPoppers=Vn,kr.useCapture=function(){};bn&&setTimeout(function(){jn(document.querySelectorAll("[data-tippy]")).forEach(function(t){var e=t.getAttribute("data-tippy");e&&kr(t,{content:e})})});var Or="Using the attachment feature of Shepherd requires the Tippy.js library",Er={computeStyle:{enabled:!0,fn:function(t){return t.styles=a({},t.styles,{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),t}}},Sr={positionFixed:!0};function Tr(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]}function Cr(t,e){if(null===t||X(t))return t;if(T(t))return t;var n=t.split(" ");return function(t,e,n){for(var r=-1,o=t.length,i=e.length,a={};++r<o;){var p=r<i?e[r]:void 0;n(a,t[r],p)}return a}(e||[],n||[],be)}function Lr(){if(X(kr))throw new Error(Or);this.tooltip&&this.tooltip.destroy();var t=this.parseAttachTo();this.tooltip=function(t){if(!t.element)return function(){var t=p({content:this.el,placement:"top"},this.options.tippyOptions);t.arrow=!1,t.popperOptions=t.popperOptions||{};var e=a({},Sr,t.popperOptions,{modifiers:a(Er,t.popperOptions.modifiers)});return t.popperOptions=e,kr.one(document.body,t)}.call(this);var e=function(t){var e=p({content:this.el,placement:t.on||"right"},this.options.tippyOptions);this.options.tippyOptions&&this.options.tippyOptions.popperOptions&&a(Sr,this.options.tippyOptions.popperOptions);return e.popperOptions=Sr,e}.call(this,t);return kr.one(t.element,e)}.call(this,t),this.target=t.element||document.body,this.el.classList.add("shepherd-element")}function jr(){var t=function(t){if(T(t))return t.hasOwnProperty("element")&&t.hasOwnProperty("on")?t:null;var e=/^(.+) ((auto|top|left|right|bottom)(-start|-end)?)$/.exec(t);return e?{element:e[1],on:e[2]}:null}(this.options.attachTo)||{},e=a({},t);if(me(t.element)){try{e.element=document.querySelector(t.element)}catch(t){}e.element||console.error("The element for this Shepherd step was not found ".concat(t.element))}return e}function Ar(){var t=Cr(this.options.advanceOn,["selector","event"]),e=t.event,n=t.selector,r=function(n){var r=this;return function(t){if(r.isOpen()){var e=r.el&&t.target===r.el;(!X(n)&&t.target.matches(n)||e)&&r.tour.next()}}}.call(this,n),o=document.querySelector(n);!X(n)&&o?o.addEventListener(e,r):document.body.addEventListener(e,r,!0),this.on("destroy",function(){return document.body.removeEventListener(e,r,!0)})}function _r(t){var e=this;t.map(function(t){e[t]=e[t].bind(e)})}var Mr,Pr=(Mr=0,function(){return++Mr}),Dr=function(t){function r(t,e){var n;return o(this,r),(n=d(this,c(r).call(this,t,e))).tour=t,_r.call(u(u(n)),["_show","cancel","complete","destroy","hide","isOpen","scrollTo","setupElements","show"]),n.setOptions(e),n.bindAdvance=Ar.bind(u(u(n))),n.bindButtonEvents=function(t,r){var o=this;t.events=t.events||{},X(t.action)||(t.events.click=t.action),Ct(t.events,function(t,e){if(me(t)){var n=t;t=function(){return o.tour.show(n)}}r.dataset.buttonEvent=!0,r.addEventListener(e,t),o.on("destroy",function(){r.removeAttribute("data-button-event"),r.removeEventListener(e,t)})})}.bind(u(u(n))),n.bindCancelLink=function(t){var e=this;t.addEventListener("click",function(t){t.preventDefault(),e.cancel()})}.bind(u(u(n))),n.setupTooltip=Lr.bind(u(u(n))),n.parseAttachTo=jr.bind(u(u(n))),d(n,u(u(n)))}return s(r,B),n(r,[{key:"_addButtons",value:function(t){var n=this;if(!fe(this.options.buttons)){var e=document.createElement("footer"),r=Tr('<ul class="shepherd-buttons"></ul>');e.classList.add("shepherd-footer"),this.options.buttons.map(function(t){var e=Tr('<li><a class="shepherd-button '.concat(t.classes||"",'">').concat(t.text,"</a>"));r.appendChild(e),n.bindButtonEvents(t,e.querySelector("a"))}),e.appendChild(r),t.appendChild(e)}}},{key:"_addCancelLink",value:function(t,e){if(this.options.showCancelLink){var n=Tr('<a href class="shepherd-cancel-link"></a>');e.appendChild(n),t.classList.add("shepherd-has-cancel-link"),this.bindCancelLink(n)}}},{key:"_addContent",value:function(t){var e=Tr('<div class="shepherd-text"></div>'),n=this.options.text;Ot(n)&&(n=n.call(this,e)),n instanceof HTMLElement?e.appendChild(n):(me(n)&&(n=[n]),n.map(function(t){e.innerHTML+="<p>".concat(t,"</p>")})),t.appendChild(e)}},{key:"_createTooltipContent",value:function(){var t=document.createElement("div"),e=this.options.classes||"",n=Tr('<div class="'.concat(e,'" data-shepherd-step-id="').concat(this.id,'">')),r=document.createElement("header");if(this.options.title){var o=document.createElement("h3");o.classList.add("shepherd-title"),o.innerHTML="".concat(this.options.title),r.appendChild(o),n.classList.add("shepherd-has-title")}return t.classList.add("shepherd-content"),r.classList.add("shepherd-header"),n.appendChild(t),t.appendChild(r),X(this.options.text)||this._addContent(t),this._addButtons(t),this._addCancelLink(n,r),n}},{key:"getTour",value:function(){return this.tour}},{key:"cancel",value:function(){this.tour.cancel(),this.trigger("cancel")}},{key:"complete",value:function(){this.tour.complete(),this.trigger("complete")}},{key:"destroy",value:function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),Nt(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")}},{key:"hide",value:function(){this.tour.modal.hide(),this.trigger("before-hide"),document.body.removeAttribute("data-shepherd-step"),this.target&&this._updateStepTargetOnHide(),this.tooltip&&this.tooltip.hide(),this.trigger("hide")}},{key:"isOpen",value:function(){return Boolean(this.tooltip&&this.tooltip.state&&this.tooltip.state.isVisible)}},{key:"setupElements",value:function(){X(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&this.bindAdvance(),this.setupTooltip()}},{key:"scrollTo",value:function(){var t=this.parseAttachTo().element;Ot(this.options.scrollToHandler)?this.options.scrollToHandler(t):Nt(t)&&t.scrollIntoView()}},{key:"setOptions",value:function(){var n=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.options=t;var e=this.options.when;this.destroy(),this.id=this.options.id||"step-".concat(Pr()),Ct(e,function(t,e){n.on(e,t,n)})}},{key:"show",value:function(){var t=this;if(Ot(this.options.beforeShowPromise)){var e=this.options.beforeShowPromise();if(!X(e))return e.then(function(){return t._show()})}this._show()}},{key:"_show",value:function(){var t=this;this.tour.beforeShowStep(this),this.trigger("before-show"),this.el||this.setupElements(),this.target.classList.add("shepherd-enabled","shepherd-target"),document.body.setAttribute("data-shepherd-step",this.id),this.options.scrollTo&&setTimeout(function(){t.scrollTo()}),this.tooltip.show(),this.trigger("show")}},{key:"_updateStepTargetOnHide",value:function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove("shepherd-enabled","shepherd-target")}}]),r}(),Nr="undefined"!=typeof window,Fr=Nr?navigator:{},Yr=Nr?window:{},Ir="MutationObserver"in Yr;/MSIE |Trident\//.test(Fr.userAgent),/iPhone|iPad|iPod/.test(Fr.platform)&&Yr.MSStream;var Xr="http://www.w3.org/2000/svg",Br={modalOverlay:"shepherdModalOverlayContainer",modalOverlayMask:"shepherdModalMask",modalOverlayMaskRect:"shepherdModalMaskRect",modalOverlayMaskOpening:"shepherdModalMaskOpening"},Hr="shepherd-modal-is-visible",Rr="shepherd-modal-target";function Wr(){var t,e,n,r,o,i=((t=document.createElementNS(Xr,"svg")).setAttributeNS(null,"id",Br.modalOverlay),t),a=document.createElementNS(Xr,"defs"),p=(Ur(e=document.createElementNS(Xr,"mask"),{height:"100%",id:Br.modalOverlayMask,width:"100%",x:"0",y:"0"}),e),s=(Ur(n=document.createElementNS(Xr,"rect"),{fill:"#FFFFFF",height:"100%",id:Br.modalOverlayMaskRect,width:"100%",x:"0",y:"0"}),n),c=(Ur(r=document.createElementNS(Xr,"rect"),{fill:"#000000",id:Br.modalOverlayMaskOpening}),r),l=(Ur(o=document.createElementNS(Xr,"rect"),{height:"100%",width:"100%",x:"0",y:"0"}),o.setAttribute("mask","url(#".concat(Br.modalOverlayMask,")")),o);return p.appendChild(s),p.appendChild(c),a.appendChild(p),i.appendChild(a),i.appendChild(l),i}function zr(t,e){if(t.getBoundingClientRect&&e instanceof SVGElement){var n=t.getBoundingClientRect();Ur(e,{x:n.x,y:n.y,width:n.width,height:n.height})}}function Vr(t){t.preventDefault()}function qr(t){t.stopPropagation()}function Ur(e,n){Object.keys(n).forEach(function(t){e.setAttribute(t,n[t])})}function $r(t){var e=t.options.attachTo;if(!e)return null;var n,r,o=i(e);return"string"===o?(r=f(e.split(" "),1)[0],document.querySelector(r)):"object"===o?(n=e.element)instanceof HTMLElement?n:document.querySelector(n):null}function Gr(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!0)),window.addEventListener("resize",this._onScreenChange,!1),window.addEventListener("scroll",this._onScreenChange,!0);var t=document.querySelector("#".concat(Br.modalOverlay));window.addEventListener("touchmove",Vr,{passive:!1}),t&&t.addEventListener("touchmove",qr,!1)}var Kr=function(){return h.Date.now()},Jr=Math.max,Qr=Math.min;function Zr(r,o,t){var i,a,p,s,c,l,u=0,d=!1,f=!1,e=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function h(t){var e=i,n=a;return i=a=void 0,u=t,s=r.apply(n,e)}function m(t){var e=t-l;return void 0===l||o<=e||e<0||f&&p<=t-u}function v(){var t,e,n=Kr();if(m(n))return y(n);c=setTimeout(v,(e=o-((t=n)-l),f?Qr(e,p-(t-u)):e))}function y(t){return c=void 0,e&&i?h(t):(i=a=void 0,s)}function n(){var t,e=Kr(),n=m(e);if(i=arguments,a=this,l=e,n){if(void 0===c)return u=t=l,c=setTimeout(v,o),d?h(t):s;if(f)return c=setTimeout(v,o),h(l)}return void 0===c&&(c=setTimeout(v,o)),s}return o=D(o)||0,b(t)&&(d=!!t.leading,p=(f="maxWait"in t)?Jr(D(t.maxWait)||0,o):p,e="trailing"in t?!!t.trailing:e),n.cancel=function(){void 0!==c&&clearTimeout(c),i=l=a=c=void(u=0)},n.flush=function(){return void 0===c?s:y(Kr())},n}var to=Math.max;var eo,no,ro,oo=ve?function(t,e){return ve(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Tt,io=Date.now;var ao,po,so,co,lo,uo=(eo=oo,ro=no=0,function(){var t=io(),e=16-(t-ro);if(ro=t,0<e){if(800<=++no)return arguments[0]}else no=0;return eo.apply(void 0,arguments)})((so=ao=function(t,e){return function(t,e,n){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout(function(){t.apply(void 0,n)},e)}(t,1,e)},lo=Tt,co=to(void 0===(co=po)?so.length-1:co,0),function(){for(var t=arguments,e=-1,n=to(t.length-co,0),r=Array(n);++e<n;)r[e]=t[co+e];e=-1;for(var o=Array(co+1);++e<co;)o[e]=t[e];return o[co]=lo(r),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(so,this,o)}),ao+""),fo=function(){function e(t){return o(this,e),this._modalOverlayElem||(this._modalOverlayElem=Wr(),this._modalOverlayOpening=this._modalOverlayElem.querySelector("#".concat(Br.modalOverlayMaskOpening)),this.hide(),document.body.appendChild(this._modalOverlayElem)),this.options=t,this}return n(e,[{key:"cleanup",value:function(){var e=this;uo(function(){var t=e._modalOverlayElem;t&&t instanceof SVGElement&&t.parentNode.removeChild(t),e._modalOverlayElem=null,document.body.classList.remove(Hr)})}},{key:"hide",value:function(){document.body.classList.remove(Hr),this._modalOverlayElem&&(this._modalOverlayElem.style.display="none")}},{key:"setupForStep",value:function(t){this.options.useModalOverlay?(this._styleForStep(t),this.show()):this.hide()}},{key:"show",value:function(){document.body.classList.add(Hr),this._modalOverlayElem&&(this._modalOverlayElem.style.display="block")}},{key:"_styleForStep",value:function(t){var e,n=this._modalOverlayOpening,r=$r(t);r?(zr(r,n),this._onScreenChange=Zr(zr.bind(this,r,n),0,{leading:!1,trailing:!0}),Gr.call(this)):(e=this._modalOverlayOpening)&&e instanceof SVGElement&&Ur(e,{height:"0",x:"0",y:"0",width:"0"})}}]),e}(),ho={trigger:"manual",arrow:!0,arrowTransform:"scale(2)",animation:"fade",duration:420,flip:!0,animateFill:!1,interactive:!0,hideOnClick:"toggle",multiple:!0};var mo,vo=(mo=0,function(){return++mo}),yo=new B;return a(yo,{Tour:function(t){function e(){var n,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};o(this,e),n=d(this,c(e).call(this,t)),_r.call(u(u(n)),["back","cancel","complete","next"]),n.options=t,n.steps=n.options.steps||[];return["active","cancel","complete","inactive","show","start"].map(function(t){var e;e=t,n.on(e,function(t){(t=t||{}).tour=u(u(n)),yo.trigger(e,t)})}),n.modal=new fo(t),n._setTooltipDefaults(),n._setTourID(),function(t){if(Ir){var e=document.createElement("style");e.type="text/css",e.textContent=t,document.head.insertBefore(e,document.head.firstChild)}}('.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none!important}.tippy-popper{-webkit-perspective:700px;perspective:700px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(.165,.84,.44,1);pointer-events:none;line-height:1.4;max-width:calc(100% - 10px)}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-8px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 6px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(60deg);transform:translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-8px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 6px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) rotateX(-60deg);transform:translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(0) scale(.5);transform:translateY(0) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-16px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(-60deg);transform:translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-16px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) rotateY(60deg);transform:translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(0) scale(.5);transform:translateX(0) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.9rem;padding:.3rem .6rem;max-width:350px;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip[data-size=small]{padding:.2rem .4rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.4rem .8rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:24px;height:8px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}'),d(n,u(u(n)))}return s(e,B),n(e,[{key:"addStep",value:function(t,e){var n,r;return(r=X(e)?t:(n=t,e))instanceof Dr?r.tour=this:r=this.setupStep(r,n),this.steps.push(r),r}},{key:"back",value:function(){var t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)}},{key:"cancel",value:function(){if(this.options.confirmCancel){var t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(t)&&this.done("cancel")}else this.done("cancel")}},{key:"complete",value:function(){this.done("complete")}},{key:"done",value:function(t){var e;fe(this.steps)||this.steps.forEach(function(t){return t.destroy()}),function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),this._onScreenChange=null),window.removeEventListener("touchmove",Vr,{passive:!1})}.call(this),(e=this.tourObject)&&e.steps.forEach(function(t){if(t.options&&!1===t.options.canClickTarget&&t.options.attachTo){var e=$r(t);e instanceof HTMLElement&&(e.style.pointerEvents="auto")}}),this.modal.cleanup(),this.trigger(t),yo.activeTour=null,this._removeBodyAttrs(),this.trigger("inactive",{tour:this})}},{key:"getById",value:function(e){return this.steps.find(function(t){return t.id===e})}},{key:"getCurrentStep",value:function(){return this.currentStep}},{key:"hide",value:function(){var t=this.getCurrentStep();if(t)return t.hide()}},{key:"isActive",value:function(){return yo.activeTour===this}},{key:"next",value:function(){var t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)}},{key:"removeStep",value:function(n){var r=this,t=this.getCurrentStep();this.steps.some(function(t,e){if(t.id===n)return t.isOpen()&&t.hide(),t.destroy(),r.steps.splice(e,1),!0}),t&&t.id===n&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}},{key:"setupStep",value:function(t,e){var n;return(me(e)||("number"==typeof(n=e)||T(n)&&"[object Number]"==S(n)))&&(t.id=e.toString()),t=a({},this.options.defaultStepOptions,t),new Dr(this,t)}},{key:"beforeShowStep",value:function(t){this.modal.setupForStep(t),this._styleTargetElementForStep(t)}},{key:"show",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=me(t)?this.getById(t):this.steps[t];n&&(this._updateStateBeforeShow(),Ot(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,e):(this.trigger("show",{step:n,previous:this.currentStep}),(this.currentStep=n).show()))}},{key:"start",value:function(){this.trigger("start"),this.currentStep=null,this._setupActiveTour(),Gr.call(this),this.next()}},{key:"_setupActiveTour",value:function(){this._addBodyAttrs(),this.trigger("active",{tour:this}),yo.activeTour=this}},{key:"_styleTargetElementForStep",value:function(t){var e,n,r=$r(t);r&&(e=r,(n=document.querySelector("".concat(Rr)))&&n.classList.remove(Rr),e.classList.add(Rr),t.options.highlightClass&&r.classList.add(t.options.highlightClass),!1===t.options.canClickTarget&&(r.style.pointerEvents="none"))}},{key:"_skipStep",value:function(t,e){var n=this.steps.indexOf(t),r=e?n+1:n-1;this.show(r,e)}},{key:"_setTooltipDefaults",value:function(){kr.setDefaults(ho)}},{key:"_updateStateBeforeShow",value:function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}},{key:"_setTourID",value:function(){var t=this.options.tourName||"tour",e=vo();this.id="".concat(t,"--").concat(e)}},{key:"_addBodyAttrs",value:function(){document.body.setAttribute("data-shepherd-active-tour",this.id),document.body.classList.add("shepherd-active")}},{key:"_removeBodyAttrs",value:function(){document.body.removeAttribute("data-shepherd-active-tour"),document.body.classList.remove("shepherd-active")}}]),e}(),Step:Dr,Evented:B}),yo});
2
+ //# sourceMappingURL=shepherd.min.js.map