shepherdjs_rails 4.4.1 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37975eeb67f5157d21432dca624434521ee97d3f2dec5ed9aec0aaced9c473e4
4
- data.tar.gz: 0cc0c5ccf8868e9636e5a57f7ab1a76858e28755f62f3a4499a5d62a7790047d
3
+ metadata.gz: 3b114ae87d02d0c98e556404a0d7c956c9d29010b836be5e786915e58de69102
4
+ data.tar.gz: 029386167c4015362446b78e8ce0624f3d39774fb2f94e265ee9776173300392
5
5
  SHA512:
6
- metadata.gz: 825f4210411906089461f2d062695b191b2ec787a0ef587bd651bf6fd0c85e89413296764715a90a9aa0785bbf33eec5a16506b76363809728b118e04d8e3733
7
- data.tar.gz: 7a758202288e2c3a7d5e43f40845c53e86fcf69c82b292ab9c6093983af7c7c8ffb7cf156c0291410303d711fa506e429e915711096cc31f958b144dbe1db8d1
6
+ metadata.gz: 5eef9f31b920cd362e5be47279bed9672aa4f8f9f3ee45079be06d4a3c1f3baaa4af400e8160828e092c7e20e1a6155d1b0ba5b7c0236d21334df6ca52409c74
7
+ data.tar.gz: 2dc12092d4679cfa9cf31f512d78c2d97217dee9831b1e8d6b36b8d91bd34459c4b7517c93c5ed5d26a639cf87792e9a4ec2b47cd992e1b6b267f663c9b76d04
@@ -1,3 +1,3 @@
1
1
  module ShepherdjsRails
2
- VERSION = "4.4.1"
2
+ VERSION = "4.6.0"
3
3
  end
@@ -1,3 +1,3 @@
1
- /*! shepherd.js 4.4.1 */
1
+ /*! shepherd.js 4.6.0 */
2
2
 
3
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Shepherd=t()}(this,function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var r={object:!0,symbol:!0},o=function(){if(this)return this;Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});try{return __global__}finally{delete Object.prototype.__global__}}();"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e,t){return e(t={exports:{}},t.exports),t.exports}var s,l,u,p,c=function(e){return null!=e},f={object:!0,function:!0,undefined:!0},d=function(e){if(!function(e){return!!c(e)&&hasOwnProperty.call(f,typeof e)}(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}},h=/^\s*class[\s{\/}]/,m=Function.prototype.toString,v=function(e){return!!function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!d(e)}(e)&&!h.test(m.call(e))},b=function(e){return null!=e},g=Object.keys,y=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?Object.keys:function(e){return g(b(e)?Object(e):e)},w=function(e){if(!b(e))throw new TypeError("Cannot use null or undefined");return e},x=Math.max,_=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,o,i=x(arguments.length,2);for(e=Object(w(e)),o=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},r=1;r<i;++r)t=arguments[r],y(t).forEach(o);if(void 0!==n)throw n;return e},S=Array.prototype.forEach,T=Object.create,O=function(e,t){var n;for(n in e)t[n]=e[n]},k=function(e){var t=T(null);return S.call(arguments,function(e){b(e)&&O(Object(e),t)}),t},E="razdwatrzy",C=String.prototype.indexOf,P="function"==typeof E.contains&&!0===E.contains("dwa")&&!1===E.contains("foo")?String.prototype.contains:function(e){return C.call(this,e,arguments[1])>-1},M=a(function(e){(e.exports=function(e,t){var n,r,o,i,a;return arguments.length<2||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],c(e)?(n=P.call(e,"c"),r=P.call(e,"e"),o=P.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?_(k(i),a):a}).gs=function(e,t,n){var r,o,i,a;return"string"!=typeof e?(i=n,n=t,t=e,e=null):i=arguments[3],c(t)?v(t)?c(n)?v(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,c(e)?(r=P.call(e,"c"),o=P.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?_(k(i),a):a}}),L=function(e){if(!(t=e)||!("symbol"==typeof t||t.constructor&&"Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTag]))throw new TypeError(e+" is not a symbol");var t;return e},A=Object.create,B=Object.defineProperties,j=Object.defineProperty,I=Object.prototype,F=A(null);if("function"==typeof Symbol){s=Symbol;try{String(s()),p=!0}catch(e){}}var N,D=(N=A(null),function(e){for(var t,n,r=0;N[e+(r||"")];)++r;return N[e+=r||""]=!0,j(I,t="@@"+e,M.gs(null,function(e){n||(n=!0,j(this,t,M(e)),n=!1)})),t});u=function(e){if(this instanceof u)throw new TypeError("Symbol is not a constructor");return l(e)};var H=l=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return p?s(t):(n=A(u.prototype),t=void 0===t?"":String(t),B(n,{__description__:M("",t),__name__:M("",D(t))}))};function R(e){return e instanceof HTMLElement}function W(e){return"function"==typeof e}function z(e){return"string"==typeof e}function V(e){return void 0===e}B(l,{for:M(function(e){return F[e]?F[e]:F[e]=l(String(e))}),keyFor:M(function(e){var t;for(t in L(e),F)if(F[t]===e)return t}),hasInstance:M("",s&&s.hasInstance||l("hasInstance")),isConcatSpreadable:M("",s&&s.isConcatSpreadable||l("isConcatSpreadable")),iterator:M("",s&&s.iterator||l("iterator")),match:M("",s&&s.match||l("match")),replace:M("",s&&s.replace||l("replace")),search:M("",s&&s.search||l("search")),species:M("",s&&s.species||l("species")),split:M("",s&&s.split||l("split")),toPrimitive:M("",s&&s.toPrimitive||l("toPrimitive")),toStringTag:M("",s&&s.toStringTag||l("toStringTag")),unscopables:M("",s&&s.unscopables||l("unscopables"))}),B(u.prototype,{constructor:M(l),toString:M("",function(){return this.__name__})}),B(l.prototype,{toString:M(function(){return"Symbol ("+L(this).__description__+")"}),valueOf:M(function(){return L(this)})}),j(l.prototype,l.toPrimitive,M("",function(){var e=L(this);return"symbol"==typeof e?e:e.toString()})),j(l.prototype,l.toStringTag,M("c","Symbol")),j(u.prototype,l.toStringTag,M("c",l.prototype[l.toStringTag])),j(u.prototype,l.toPrimitive,M("c",l.prototype[l.toPrimitive])),function(){var e;if("function"!=typeof Symbol)return!1;e=Symbol("test symbol");try{String(e)}catch(e){return!1}return!!r[typeof Symbol.iterator]&&!!r[typeof Symbol.toPrimitive]&&!!r[typeof Symbol.toStringTag]}()||Object.defineProperty(o,"Symbol",{value:H,configurable:!0,enumerable:!1,writable:!0});var U=function(){function e(){}var t=e.prototype;return t.on=function(e,t,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];V(this.bindings)&&(this.bindings={}),V(this.bindings[e])&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:r})},t.once=function(e,t,n){this.on(e,t,n,!0)},t.off=function(e,t){var n=this;if(V(this.bindings)||V(this.bindings[e]))return!1;V(t)?delete this.bindings[e]:this.bindings[e].forEach(function(r,o){r.handler===t&&n.bindings[e].splice(o,1)})},t.trigger=function(e){var t=this;if(!V(this.bindings)&&this.bindings[e]){var n=Array.prototype.slice.call(arguments,1);this.bindings[e].forEach(function(r,o){var i=r.ctx,a=r.handler,s=r.once,l=i||t;a.apply(l,n),s&&t.bindings[e].splice(o,1)})}},e}(),q=function(){},Y={},X=[],K=[];function $(e,t){var n,r,o,i,a=K;for(i=arguments.length;i-- >2;)X.push(arguments[i]);for(t&&null!=t.children&&(X.length||X.push(t.children),delete t.children);X.length;)if((r=X.pop())&&void 0!==r.pop)for(i=r.length;i--;)X.push(r[i]);else"boolean"==typeof r&&(r=null),(o="function"!=typeof e)&&(null==r?r="":"number"==typeof r?r=String(r):"string"!=typeof r&&(o=!1)),o&&n?a[a.length-1]+=r:a===K?a=[r]:a.push(r),n=o;var s=new q;return s.nodeName=e,s.children=a,s.attributes=null==t?void 0:t,s.key=null==t?void 0:t.key,s}function G(e,t){for(var n in t)e[n]=t[n];return e}function Z(e,t){null!=e&&("function"==typeof e?e(t):e.current=t)}var J="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;var Q=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,ee=[];function te(e){!e._dirty&&(e._dirty=!0)&&1==ee.push(e)&&J(ne)}function ne(){for(var e;e=ee.pop();)e._dirty&&_e(e)}function re(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&oe(e,t.nodeName):n||e._componentConstructor===t.nodeName}function oe(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function ie(e){var t=G({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function ae(e){var t=e.parentNode;t&&t.removeChild(e)}function se(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)Z(n,null),Z(r,e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===Q.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,le,a):e.removeEventListener(t,le,a),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var s=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function le(e){return this._listeners[e.type](e)}var ue=[],pe=0,ce=!1,fe=!1;function de(){for(var e;e=ue.shift();)e.componentDidMount&&e.componentDidMount()}function he(e,t,n,r,o,i){pe++||(ce=null!=o&&void 0!==o.ownerSVGElement,fe=null!=e&&!("__preactattr_"in e));var a=me(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--pe||(fe=!1,i||de()),a}function me(e,t,n,r,o){var i=e,a=ce;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),ve(e,!0))),i.__preactattr_=!0,i;var s,l,u=t.nodeName;if("function"==typeof u)return function(e,t,n,r){var o=e&&e._component,i=o,a=e,s=o&&e._componentConstructor===t.nodeName,l=s,u=ie(t);for(;o&&!l&&(o=o._parentComponent);)l=o.constructor===t.nodeName;o&&l&&(!r||o._component)?(xe(o,u,3,n,r),e=o.base):(i&&!s&&(Se(i),e=a=null),o=ye(t.nodeName,u,n),e&&!o.nextBase&&(o.nextBase=e,a=null),xe(o,u,1,n,r),e=o.base,a&&e!==a&&(a._component=null,ve(a,!1)));return e}(e,t,n,r);if(ce="svg"===u||"foreignObject"!==u&&ce,u=String(u),(!e||!oe(e,u))&&(s=u,(l=ce?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s)).normalizedNodeName=s,i=l,e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),ve(e,!0)}var p=i.firstChild,c=i.__preactattr_,f=t.children;if(null==c){c=i.__preactattr_={};for(var d=i.attributes,h=d.length;h--;)c[d[h].name]=d[h].value}return!fe&&f&&1===f.length&&"string"==typeof f[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=f[0]&&(p.nodeValue=f[0]):(f&&f.length||null!=p)&&function(e,t,n,r,o){var i,a,s,l,u,p=e.childNodes,c=[],f={},d=0,h=0,m=p.length,v=0,b=t?t.length:0;if(0!==m)for(var g=0;g<m;g++){var y=p[g],w=y.__preactattr_,x=b&&w?y._component?y._component.__key:w.key:null;null!=x?(d++,f[x]=y):(w||(void 0!==y.splitText?!o||y.nodeValue.trim():o))&&(c[v++]=y)}if(0!==b)for(var g=0;g<b;g++){l=t[g],u=null;var x=l.key;if(null!=x)d&&void 0!==f[x]&&(u=f[x],f[x]=void 0,d--);else if(h<v)for(i=h;i<v;i++)if(void 0!==c[i]&&re(a=c[i],l,o)){u=a,c[i]=void 0,i===v-1&&v--,i===h&&h++;break}u=me(u,l,n,r),s=p[g],u&&u!==e&&u!==s&&(null==s?e.appendChild(u):u===s.nextSibling?ae(s):e.insertBefore(u,s))}if(d)for(var g in f)void 0!==f[g]&&ve(f[g],!1);for(;h<=v;)void 0!==(u=c[v--])&&ve(u,!1)}(i,f,n,r,fe||null!=c.dangerouslySetInnerHTML),function(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||se(e,r,n[r],n[r]=void 0,ce);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||se(e,r,n[r],n[r]=t[r],ce)}(i,t.attributes,c),ce=a,i}function ve(e,t){var n=e._component;n?Se(n):(null!=e.__preactattr_&&Z(e.__preactattr_.ref,null),!1!==t&&null!=e.__preactattr_||ae(e),be(e))}function be(e){for(e=e.lastChild;e;){var t=e.previousSibling;ve(e,!0),e=t}}var ge=[];function ye(e,t,n){var r,o=ge.length;for(e.prototype&&e.prototype.render?(r=new e(t,n),Te.call(r,t,n)):((r=new Te(t,n)).constructor=e,r.render=we);o--;)if(ge[o].constructor===e)return r.nextBase=ge[o].nextBase,ge.splice(o,1),r;return r}function we(e,t,n){return this.constructor(e,n)}function xe(e,t,n,r,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r)),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===Y.syncComponentUpdates&&e.base?te(e):_e(e,1,o)),Z(e.__ref,e))}function _e(e,t,n,r){if(!e._disable){var o,i,a,s=e.props,l=e.state,u=e.context,p=e.prevProps||s,c=e.prevState||l,f=e.prevContext||u,d=e.base,h=e.nextBase,m=d||h,v=e._component,b=!1,g=f;if(e.constructor.getDerivedStateFromProps&&(l=G(G({},l),e.constructor.getDerivedStateFromProps(s,l)),e.state=l),d&&(e.props=p,e.state=c,e.context=f,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(s,l,u)?b=!0:e.componentWillUpdate&&e.componentWillUpdate(s,l,u),e.props=s,e.state=l,e.context=u),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!b){o=e.render(s,l,u),e.getChildContext&&(u=G(G({},u),e.getChildContext())),d&&e.getSnapshotBeforeUpdate&&(g=e.getSnapshotBeforeUpdate(p,c));var y,w,x=o&&o.nodeName;if("function"==typeof x){var _=ie(o);(i=v)&&i.constructor===x&&_.key==i.__key?xe(i,_,1,u,!1):(y=i,e._component=i=ye(x,_,u),i.nextBase=i.nextBase||h,i._parentComponent=e,xe(i,_,0,u,!1),_e(i,1,n,!0)),w=i.base}else a=m,(y=v)&&(a=e._component=null),(m||1===t)&&(a&&(a._component=null),w=he(a,o,u,n||!d,m&&m.parentNode,!0));if(m&&w!==m&&i!==v){var S=m.parentNode;S&&w!==S&&(S.replaceChild(w,m),y||(m._component=null,ve(m,!1)))}if(y&&Se(y),e.base=w,w&&!r){for(var T=e,O=e;O=O._parentComponent;)(T=O).base=w;w._component=T,w._componentConstructor=T.constructor}}for(!d||n?ue.push(e):b||e.componentDidUpdate&&e.componentDidUpdate(p,c,g);e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);pe||r||de()}}function Se(e){var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?Se(n):t&&(null!=t.__preactattr_&&Z(t.__preactattr_.ref,null),e.nextBase=t,ae(t),ge.push(e),be(t)),Z(e.__ref,null)}function Te(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}G(Te.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=G(G({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),te(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),_e(this,2)},render:function(){}});var Oe={h:$,createElement:$,cloneElement:function(e,t){return $(e.nodeName,G(G({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)},createRef:function(){return{}},Component:Te,render:function(e,t,n){return he(n,e,{},!1,t,!1)},rerender:ne,options:Y};function ke(e){for(var t=Object.getOwnPropertyNames(e.constructor.prototype),n=0;n<t.length;n++){var r=t[n],o=e[r];"constructor"!==r&&"function"==typeof o&&(e[r]=o.bind(e))}return e}function Ee(e){var t=e.options.advanceOn||{},n=t.event,r=t.selector;if(!n)return console.error("advanceOn was defined, but no event name was passed.");var o,i=function(e,t){return function(n){if(t.isOpen()){var r=t.el&&n.target===t.el;(!V(e)&&n.target.matches(e)||r)&&t.tour.next()}}}(r,e);try{o=document.querySelector(r)}catch(e){}if(!V(r)&&!o)return console.error("No element was found for the selector supplied to advanceOn: "+r);o?(o.addEventListener(n,i),e.on("destroy",function(){return o.removeEventListener(n,i)})):(document.body.addEventListener(n,i,!0),e.on("destroy",function(){return document.body.removeEventListener(n,i,!0)}))}function Ce(e){return null===e?"null":void 0===e?"undefined":"object"==typeof e?Array.isArray(e)?"array":"object":typeof e}function Pe(e){return"object"===Ce(e)?Le(e):"array"===Ce(e)?Me(e):e}function Me(e){return e.map(Pe)}function Le(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=Pe(e[n]));return t}function Ae(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r={arrayBehaviour:n.arrayBehaviour||"replace"},o=t.map(function(e){return e||{}}),i=e||{},a=0;a<o.length;a++)for(var s=o[a],l=Object.keys(s),u=0;u<l.length;u++){var p=l[u],c=s[p],f=Ce(c),d=Ce(i[p]);if("object"===f)if("undefined"!==d){var h="object"===d?i[p]:{};i[p]=Ae({},[h,Le(c)],r)}else i[p]=Le(c);else if("array"===f)if("array"===d){var m=Me(c);i[p]="merge"===r.arrayBehaviour?i[p].concat(m):m}else i[p]=Me(c);else i[p]=c}return i}var Be=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Ae(e,n)};function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Be.noMutate=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ae({},t)},Be.withOptions=function(e,t,n){return Ae(e,t,n)};var Ie="undefined"!=typeof window&&"undefined"!=typeof document,Fe=Ie?navigator.userAgent:"",Ne=/MSIE |Trident\//.test(Fe),De=/UCBrowser\//.test(Fe),He=Ie&&/iPhone|iPad|iPod/.test(navigator.platform),Re={allowHTML:!0,animateFill:!1,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onCreate:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,sticky:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},We=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],ze={passive:!0},Ve=5,Ue='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',qe="tippy-iOS",Ye="tippy-popper",Xe="tippy-tooltip",Ke="tippy-content",$e="tippy-backdrop",Ge="tippy-arrow",Ze="tippy-svg-arrow",Je="."+Ye,Qe="."+Xe,et="."+Ke,tt="."+$e,nt="."+Ge,rt="."+Ze,ot={isTouch:!1},it=0;function at(){ot.isTouch||(ot.isTouch=!0,He&&document.body.classList.add(qe),window.performance&&document.addEventListener("mousemove",st))}function st(){var e=performance.now();e-it<20&&(ot.isTouch=!1,document.removeEventListener("mousemove",st),He||document.body.classList.remove(qe)),it=e}function lt(){var e=document.activeElement,t=e._tippy;e&&e.blur&&t&&!t.state.isVisible&&e.blur()}var ut=Object.keys(Re);function pt(e,t){return{}.hasOwnProperty.call(e,t)}function ct(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ft(e,t){return e&&e.modifiers&&e.modifiers[t]}function dt(e){return e instanceof Element}function ht(e,t){return"function"==typeof e?e.apply(null,t):e}function mt(e,t){e.filter(function(e){return"flip"===e.name})[0].enabled=t}function vt(){return document.createElement("div")}function bt(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function gt(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function yt(e,t){var n=je({},t,{content:ht(t.content,[e])},t.ignoreAttributes?{}:function(e){return ut.reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e));return n.animateFill&&(n.arrow=!1),(n.arrow||De)&&(n.animateFill=!1),n}function wt(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function xt(e,t,n){e&&e!==t&&e.apply(null,n)}function _t(e){return[].slice.call(e)}function St(e,t){return e.indexOf(t)>-1}function Tt(e,t){e.innerHTML=dt(t)?t.innerHTML:t}function Ot(e,t){if(dt(t.content))Tt(e,""),e.appendChild(t.content);else if("function"!=typeof t.content){e[t.allowHTML?"innerHTML":"textContent"]=t.content}}function kt(e){return{tooltip:e.querySelector(Qe),backdrop:e.querySelector(tt),content:e.querySelector(et),arrow:e.querySelector(nt)||e.querySelector(rt)}}function Et(e){e.setAttribute("data-inertia","")}function Ct(e){var t=vt();return!0===e?t.className=Ge:(t.className=Ze,dt(e)?t.appendChild(e):Tt(t,"round"===e?Ue:e)),t}function Pt(e){var t=vt();return t.className=$e,t.setAttribute("data-state",e?"visible":"hidden"),t}function Mt(e){e.setAttribute("data-interactive","")}function Lt(e,t,n){var r=De&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";e[t+"EventListener"](r,n)}function At(e){return e.split("-")[0]}function Bt(e,t,n){n.split(" ").forEach(function(n){n&&e.classList[t](n+"-theme")})}function jt(e,t){var n=vt();n.className=Ye,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=vt();r.className=Xe,r.id="tippy-"+e,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),Bt(r,"add",t.theme);var o=vt();return o.className=Ke,o.setAttribute("data-state","hidden"),t.interactive&&Mt(r),t.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(Ct(t.arrow))),t.animateFill&&(r.appendChild(Pt(!1)),r.setAttribute("data-animatefill","")),t.inertia&&Et(r),Ot(o,t),r.appendChild(o),n.appendChild(r),It(n,t,t,!1),n}function It(e,t,n,r){var o=kt(e),i=o.tooltip,a=o.content,s=o.backdrop,l=o.arrow;e.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),t.content!==n.content&&Ot(a,n),!t.animateFill&&n.animateFill?(i.appendChild(Pt(r)),i.setAttribute("data-animatefill","")):t.animateFill&&!n.animateFill&&(i.removeChild(s),i.removeAttribute("data-animatefill")),!t.arrow&&n.arrow?(i.appendChild(Ct(n.arrow)),i.setAttribute("data-arrow","")):t.arrow&&!n.arrow?(i.removeChild(l),i.removeAttribute("data-arrow")):t.arrow!==n.arrow&&(i.removeChild(l),i.appendChild(Ct(n.arrow))),!t.interactive&&n.interactive?Mt(i):t.interactive&&!n.interactive&&function(e){e.removeAttribute("data-interactive")}(i),!t.inertia&&n.inertia?Et(i):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(i),t.theme!==n.theme&&(Bt(i,"remove",t.theme),Bt(i,"add",n.theme))}for(var Ft="undefined"!=typeof window&&"undefined"!=typeof document,Nt=["Edge","Trident","Firefox"],Dt=0,Ht=0;Ht<Nt.length;Ht+=1)if(Ft&&navigator.userAgent.indexOf(Nt[Ht])>=0){Dt=1;break}var Rt=Ft&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Dt))}};function Wt(e){return e&&"[object Function]"==={}.toString.call(e)}function zt(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Vt(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Ut(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=zt(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:Ut(Vt(e))}var qt=Ft&&!(!window.MSInputMethodContext||!document.documentMode),Yt=Ft&&/MSIE 10/.test(navigator.userAgent);function Xt(e){return 11===e?qt:10===e?Yt:qt||Yt}function Kt(e){if(!e)return document.documentElement;for(var t=Xt(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===zt(n,"position")?Kt(n):n:e?e.ownerDocument.documentElement:document.documentElement}function $t(e){return null!==e.parentNode?$t(e.parentNode):e}function Gt(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&Kt(a.firstElementChild)!==a?Kt(l):l;var u=$t(e);return u.host?Gt(u.host,t):Gt(e,$t(t).host)}function Zt(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function Jt(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function Qt(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Xt(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function en(e){var t=e.body,n=e.documentElement,r=Xt(10)&&getComputedStyle(n);return{height:Qt("Height",t,n,r),width:Qt("Width",t,n,r)}}var tn=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},nn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),rn=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},on=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function an(e){return on({},e,{right:e.left+e.width,bottom:e.top+e.height})}function sn(e){var t={};try{if(Xt(10)){t=e.getBoundingClientRect();var n=Zt(e,"top"),r=Zt(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?en(e.ownerDocument):{},a=i.width||e.clientWidth||o.right-o.left,s=i.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,u=e.offsetHeight-s;if(l||u){var p=zt(e);l-=Jt(p,"x"),u-=Jt(p,"y"),o.width-=l,o.height-=u}return an(o)}function ln(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Xt(10),o="HTML"===t.nodeName,i=sn(e),a=sn(t),s=Ut(e),l=zt(t),u=parseFloat(l.borderTopWidth,10),p=parseFloat(l.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var c=an({top:i.top-a.top-u,left:i.left-a.left-p,width:i.width,height:i.height});if(c.marginTop=0,c.marginLeft=0,!r&&o){var f=parseFloat(l.marginTop,10),d=parseFloat(l.marginLeft,10);c.top-=u-f,c.bottom-=u-f,c.left-=p-d,c.right-=p-d,c.marginTop=f,c.marginLeft=d}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(c=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Zt(t,"top"),o=Zt(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(c,t)),c}function un(e){if(!e||!e.parentElement||Xt())return document.documentElement;for(var t=e.parentElement;t&&"none"===zt(t,"transform");)t=t.parentElement;return t||document.documentElement}function pn(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?un(e):Gt(e,t);if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=ln(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:Zt(n),s=t?0:Zt(n,"left");return an({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Ut(Vt(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=ln(s,a,o);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===zt(t,"position"))return!0;var r=Vt(t);return!!r&&e(r)}(a))i=l;else{var u=en(e.ownerDocument),p=u.height,c=u.width;i.top+=l.top-l.marginTop,i.bottom=p+l.top,i.left+=l.left-l.marginLeft,i.right=c+l.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 cn(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=pn(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return on({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),p=u.length>0?u[0].key:l[0].key,c=e.split("-")[1];return p+(c?"-"+c:"")}function fn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return ln(n,r?un(t):Gt(t,n),r)}function dn(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function hn(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function mn(e,t,n){n=n.split("-")[0];var r=dn(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[u]:t[hn(s)],o}function vn(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function bn(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=vn(e,function(e){return e[t]===n});return e.indexOf(r)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Wt(n)&&(t.offsets.popper=an(t.offsets.popper),t.offsets.reference=an(t.offsets.reference),t=n(t,e))}),t}function gn(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function yn(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function wn(e){var t=e.ownerDocument;return t?t.defaultView:window}function xn(e,t,n,r){n.updateBound=r,wn(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Ut(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(Ut(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function _n(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,wn(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Sn(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Tn(e,t){Object.keys(t).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Sn(t[n])&&(r="px"),e.style[n]=t[n]+r})}var On=Ft&&/Firefox/i.test(navigator.userAgent);function kn(e,t,n){var r=vn(e,function(e){return e.name===t}),o=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!o){var i="`"+t+"`",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 En=["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"],Cn=En.slice(3);function Pn(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Cn.indexOf(e),r=Cn.slice(n+1).concat(Cn.slice(0,n));return t?r.reverse():r}var Mn={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Ln(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(vn(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(u=u.map(function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return an(s)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)})})).forEach(function(e,t){e.forEach(function(n,r){Sn(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))})}),o}var An={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",p={start:rn({},l,i[l]),end:rn({},l,i[l]+i[u]-a[u])};e.offsets.popper=on({},a,p[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=Sn(+n)?[+n,0]:Ln(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Kt(e.instance.popper);e.instance.reference===n&&(n=Kt(n));var r=yn("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=pn(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var u=t.priority,p=e.offsets.popper,c={primary:function(e){var n=p[e];return p[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(p[e],l[e])),rn({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=p[n];return p[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(p[n],l[e]-("right"===e?p.width:p.height))),rn({},n,r)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";p=on({},p,c[t](e))}),e.offsets.popper=p,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[u]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!kn(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),u=l?"height":"width",p=l?"Top":"Left",c=p.toLowerCase(),f=l?"left":"top",d=l?"bottom":"right",h=dn(r)[u];s[d]-h<a[c]&&(e.offsets.popper[c]-=a[c]-(s[d]-h)),s[c]+h>a[d]&&(e.offsets.popper[c]+=s[c]+h-a[d]),e.offsets.popper=an(e.offsets.popper);var m=s[c]+s[u]/2-h/2,v=zt(e.instance.popper),b=parseFloat(v["margin"+p],10),g=parseFloat(v["border"+p+"Width"],10),y=m-e.offsets.popper[c]-b-g;return y=Math.max(Math.min(a[u]-h,y),0),e.arrowElement=r,e.offsets.arrow=(rn(n={},c,Math.round(y)),rn(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(gn(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=pn(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=hn(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Mn.FLIP:a=[r,o];break;case Mn.CLOCKWISE:a=Pn(r);break;case Mn.COUNTERCLOCKWISE:a=Pn(r,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=hn(r);var u=e.offsets.popper,p=e.offsets.reference,c=Math.floor,f="left"===r&&c(u.right)>c(p.left)||"right"===r&&c(u.left)<c(p.right)||"top"===r&&c(u.bottom)>c(p.top)||"bottom"===r&&c(u.top)<c(p.bottom),d=c(u.left)<c(n.left),h=c(u.right)>c(n.right),m=c(u.top)<c(n.top),v=c(u.bottom)>c(n.bottom),b="left"===r&&d||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,g=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&h||!g&&"start"===i&&m||!g&&"end"===i&&v),w=!!t.flipVariationsByContent&&(g&&"start"===i&&h||g&&"end"===i&&d||!g&&"start"===i&&v||!g&&"end"===i&&m),x=y||w;(f||b||x)&&(e.flipped=!0,(f||b)&&(r=a[l+1]),x&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=on({},e.offsets.popper,mn(e.instance.popper,e.offsets.reference,e.placement)),e=bn(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.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),e.placement=hn(t),e.offsets.popper=an(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!kn(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=vn(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=vn(e.instance.modifiers,function(e){return"applyStyle"===e.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=void 0!==i?i:t.gpuAcceleration,s=Kt(e.instance.popper),l=sn(s),u={position:o.position},p=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),u=i(r.width),p=-1!==["left","right"].indexOf(e.placement),c=-1!==e.placement.indexOf("-"),f=t?p||c||l%2==u%2?i:a:s,d=t?i:s;return{left:f(l%2==1&&u%2==1&&!c&&t?r.left-1:r.left),top:d(r.top),bottom:d(r.bottom),right:f(r.right)}}(e,window.devicePixelRatio<2||!On),c="bottom"===n?"top":"bottom",f="right"===r?"left":"right",d=yn("transform"),h=void 0,m=void 0;if(m="bottom"===c?"HTML"===s.nodeName?-s.clientHeight+p.bottom:-l.height+p.bottom:p.top,h="right"===f?"HTML"===s.nodeName?-s.clientWidth+p.right:-l.width+p.right:p.left,a&&d)u[d]="translate3d("+h+"px, "+m+"px, 0)",u[c]=0,u[f]=0,u.willChange="transform";else{var v="bottom"===c?-1:1,b="right"===f?-1:1;u[c]=m*v,u[f]=h*b,u.willChange=c+", "+f}var g={"x-placement":e.placement};return e.attributes=on({},g,e.attributes),e.styles=on({},u,e.styles),e.arrowStyles=on({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Tn(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&Tn(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=fn(o,t,e,n.positionFixed),a=cn(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Tn(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Bn=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tn(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Rt(this.update.bind(this)),this.options=on({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(on({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=on({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return on({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&Wt(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return nn(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=fn(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=cn(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=mn(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=bn(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,gn(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[yn("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=xn(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return _n.call(this)}}]),e}();Bn.Utils=("undefined"!=typeof window?window:global).PopperUtils,Bn.placements=En,Bn.Defaults=An;var jn=1,In=[];function Fn(e,t){var n,r,o,i,a=yt(e,t);if(!a.multiple&&e._tippy)return null;var s,l,u=!1,p=!1,c=!1,f=[],d=wt(j,a.interactiveDebounce),h=jn++,m=jt(h,a),v=kt(m),b=v.tooltip,g=v.content,y={currentPlacement:a.placement,isScheduledToShow:!1,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},w={id:h,reference:e,popper:m,popperChildren:v,popperInstance:null,props:a,state:y,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){var n=je({},t);if(w.state.isDestroyed)return;A();var r=w.props,o=yt(e,je({},w.props,{},n,{ignoreAttributes:!0}));o.ignoreAttributes=pt(n,"ignoreAttributes")?n.ignoreAttributes||!1:r.ignoreAttributes,w.props=o,L(),O(),d=wt(j,o.interactiveDebounce),It(m,r,o,w.state.isVisible),w.popperChildren=kt(m),w.popperInstance&&(We.some(function(e){return pt(n,e)&&n[e]!==r[e]})?(w.popperInstance.destroy(),D(),w.state.isVisible&&w.popperInstance.enableEventListeners()):w.popperInstance.update())},setContent:function(e){w.setProps({content:e})},show:function(t,n){void 0===t&&(t=ct(w.props.duration,0,Re.duration));void 0===n&&(n=!0);var r=w.state.isVisible,o=w.state.isDestroyed,i=!w.state.isEnabled,a=ot.isTouch&&!w.props.touch;if(r||o||i||a)return;if(T().hasAttribute("disabled"))return;if(!1===w.props.onShow(w))return;E(),m.style.visibility="visible",w.state.isVisible=!0;var l=S();bt(n?l.concat(m):l,0),s=function(){w.state.isVisible&&(w.popperInstance.update(),w.props.onMount(w),w.state.isMounted=!0,g.style.transitionDelay=w.popperChildren.backdrop?Math.round(t/12)+"ms":"",w.props.sticky&&function(){bt([m],Ne?0:w.props.updateDuration);var t=e.getBoundingClientRect();!function n(){var r=e.getBoundingClientRect();t.top===r.top&&t.right===r.right&&t.bottom===r.bottom&&t.left===r.left||w.popperInstance.scheduleUpdate();t=r;w.state.isMounted&&requestAnimationFrame(n)}()}(),bt([m],w.props.updateDuration),bt(l,t),gt(l,"visible"),function(e,t){P(e,t)}(t,function(){w.props.aria&&T().setAttribute("aria-"+w.props.aria,b.id),w.props.onShown(w),w.state.isShown=!0}))},function(){p=!1;var t=w.props.appendTo,n="parent"===t?e.parentNode:ht(t,[e]);n.contains(m)||n.appendChild(m);w.popperInstance?(mt(w.popperInstance.modifiers,w.props.flip),w.popperInstance.enableEventListeners(),w.popperInstance.scheduleUpdate()):(D(),w.popperInstance.enableEventListeners())}()},hide:function(e){void 0===e&&(e=ct(w.props.duration,1,Re.duration));var t=!w.state.isVisible&&!u,n=w.state.isDestroyed,r=!w.state.isEnabled&&!u;if(t||n||r)return;if(!1===w.props.onHide(w)&&!u)return;C(),m.style.visibility="hidden",w.state.isVisible=!1,w.state.isShown=!1;var o=S();bt(o,e),gt(o,"hidden"),function(e,t){P(e,function(){!w.state.isVisible&&m.parentNode&&m.parentNode.contains(m)&&t()})}(e,function(){w.props.aria&&T().removeAttribute("aria-"+w.props.aria),w.popperInstance.disableEventListeners(),w.popperInstance.options.placement=w.props.placement,m.parentNode.removeChild(m),w.props.onHidden(w),w.state.isMounted=!1})},enable:function(){w.state.isEnabled=!0},disable:function(){w.state.isEnabled=!1},destroy:function(){if(w.state.isDestroyed)return;u=!0,w.hide(0),A(),delete e._tippy,w.popperInstance&&w.popperInstance.destroy();u=!1,w.state.isDestroyed=!0}};return e._tippy=w,m._tippy=w,L(),a.lazy||D(),a.showOnCreate&&R(),m.addEventListener("mouseenter",function(){w.props.interactive&&w.state.isVisible&&"mouseenter"===n&&w.clearDelayTimeouts()}),m.addEventListener("mouseleave",function(){w.props.interactive&&"mouseenter"===n&&document.addEventListener("mousemove",d)}),a.onCreate(w),w;function x(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function _(){return"hold"===x()[0]}function S(){return[b,g,w.popperChildren.backdrop]}function T(){return w.props.triggerTarget||e}function O(){document.body.removeEventListener("mouseleave",W),document.removeEventListener("mousemove",d),In=In.filter(function(e){return e!==d})}function k(e){if(!w.props.interactive||!m.contains(e.target)){if(T().contains(e.target)){if(ot.isTouch)return;if(w.state.isVisible&&St(w.props.trigger,"click"))return}!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),c=!0,setTimeout(function(){c=!1}),w.state.isMounted||C())}}function E(){document.addEventListener("mousedown",k,!0)}function C(){document.removeEventListener("mousedown",k,!0)}function P(e,t){function n(e){e.target===b&&(Lt(b,"remove",n),t())}if(0===e)return t();Lt(b,"remove",l),Lt(b,"add",n),l=n}function M(e,t,n){void 0===n&&(n=!1),T().addEventListener(e,t,n),f.push({eventType:e,handler:t,options:n})}function L(){_()&&(M("touchstart",B,ze),M("touchend",I,ze)),St(w.props.trigger,"click")||M("click",function(){ot.isTouch||!0!==w.props.hideOnClick||w.hide()}),w.props.trigger.trim().split(" ").forEach(function(e){if("manual"!==e)switch(M(e,B),e){case"mouseenter":M("mouseleave",I);break;case"focus":M(Ne?"focusout":"blur",F)}})}function A(){f.forEach(function(e){var t=e.eventType,n=e.handler,r=e.options;T().removeEventListener(t,n,r)}),f=[]}function B(e){if(!c&&w.state.isEnabled&&!N(e))if(w.state.isVisible||(n=e.type,e instanceof MouseEvent&&In.forEach(function(t){return t(e)})),"click"===e.type&&!1!==w.props.hideOnClick&&w.state.isVisible)W(e);else{var t=x(),o=t[0],i=t[1];ot.isTouch&&"hold"===o&&i?r=setTimeout(function(){R(e)},i):R(e)}}function j(t){(function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}return null})(t.target,function(t){return t===e||t===m})||function(e,t,n,r){if(!e)return!0;var o=n.clientX,i=n.clientY,a=r.interactiveBorder,s=r.distance,l=t.top-i>("top"===e?a+s:a),u=i-t.bottom>("bottom"===e?a+s:a),p=t.left-o>("left"===e?a+s:a),c=o-t.right>("right"===e?a+s:a);return l||u||p||c}(At(w.state.currentPlacement),m.getBoundingClientRect(),t,w.props)&&(O(),W(t))}function I(e){if(!N(e))return w.props.interactive?(document.body.addEventListener("mouseleave",W),document.addEventListener("mousemove",d),void In.push(d)):void W(e)}function F(e){e.target===T()&&(w.props.interactive&&e.relatedTarget&&m.contains(e.relatedTarget)||W(e))}function N(e){var t="ontouchstart"in window,n=St(e.type,"touch"),r=_();return t&&ot.isTouch&&r&&!n||ot.isTouch&&!r&&n}function D(){var t=w.props.popperOptions,n=w.popperChildren.arrow,r=ft(t,"preventOverflow");function o(e){w.state.currentPlacement=e.placement,w.props.flip&&!w.props.flipOnUpdate&&(e.flipped&&(w.popperInstance.options.placement=e.placement),mt(w.popperInstance.modifiers,!1)),b.setAttribute("data-placement",e.placement),!1!==e.attributes["x-out-of-boundaries"]?b.setAttribute("data-out-of-boundaries",""):b.removeAttribute("data-out-of-boundaries");var t=At(e.placement),n=St(["top","bottom"],t),r=St(["bottom","right"],t),o=b.style;o.top="0",o.left="0",o[n?"top":"left"]=(r?1:-1)*w.props.distance+"px"}var i=je({eventsEnabled:!1,placement:w.props.placement},t,{modifiers:je({},t&&t.modifiers,{preventOverflow:je({boundariesElement:w.props.boundary,padding:Ve},r),tippySetPreventOverflowPadding:{enabled:!0,order:299,fn:function(e){var t=At(e.placement),n=r&&void 0!==r.padding?r.padding:Ve,o="number"==typeof n,i={top:0,bottom:0,left:0,right:0},a=Object.keys(i).reduce(function(e,r){return e[r]=o?n:n[r],t===r&&(e[r]=o?n+w.props.distance:(n[t]||0)+w.props.distance),e},i);return w.popperInstance.modifiers.filter(function(e){return"preventOverflow"===e.name})[0].padding=a,e}},arrow:je({element:n,enabled:!!n},ft(t,"arrow")),flip:je({enabled:w.props.flip,padding:w.props.distance+Ve,behavior:w.props.flipBehavior},ft(t,"flip")),offset:je({offset:w.props.offset},ft(t,"offset"))}),onCreate:function(e){o(e),xt(t&&t.onCreate,i.onCreate,[e]),H()},onUpdate:function(e){o(e),xt(t&&t.onUpdate,i.onUpdate,[e]),H()}});w.popperInstance=new Bn(e,m,i)}function H(){!p&&s&&(p=!0,function(e){e.offsetHeight}(m),s())}function R(e){w.clearDelayTimeouts(),w.state.isScheduledToShow=!0,w.popperInstance||D(),e&&w.props.onTrigger(w,e),E();var t=ct(w.props.delay,0,Re.delay);t?r=setTimeout(function(){w.show()},t):w.show()}function W(e){if(w.clearDelayTimeouts(),w.props.onUntrigger(w,e),w.state.isVisible){w.state.isScheduledToShow=!1;var t=ct(w.props.delay,1,Re.delay);t?o=setTimeout(function(){w.state.isVisible&&w.hide()},t):i=requestAnimationFrame(function(){w.hide()})}else C()}}function Nn(e,t){document.addEventListener("touchstart",at,je({},ze,{capture:!0})),window.addEventListener("blur",lt);var n,r=je({},Re,{},t),o=(dt(n=e)?[n]:n instanceof NodeList?_t(n):Array.isArray(n)?n:_t(document.querySelectorAll(n))).reduce(function(e,t){var n=t&&Fn(t,r);return n&&e.push(n),e},[]);return dt(e)?o[0]:o}Nn.version="5.0.0-beta.0",Nn.defaultProps=Re,Nn.currentInput=ot,Nn.setDefaultProps=function(e){Object.keys(e).forEach(function(t){Re[t]=e[t]})},Nn.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;_t(document.querySelectorAll(Je)).forEach(function(e){var t,o=e._tippy;if(o){var i=!1;n&&(i=(t=n)&&t._tippy&&!t.classList.contains(Ye)?o.reference===n:e===n.popper),i||o.hide(r)}})},Ie&&setTimeout(function(){_t(document.querySelectorAll("[data-tippy]")).forEach(function(e){var t=e.getAttribute("data-tippy");t&&Nn(e,{content:t})})});Ie&&function(e){var t=document.createElement("style");t.textContent=e,t.setAttribute("data-tippy-stylesheet","");var n=document.head,r=n.querySelector("style,link");r?n.insertBefore(t,r):n.appendChild(t)}(".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-animatefill]{background-color:transparent!important}.tippy-tooltip[data-interactive]{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{border-color:transparent;border-style:solid;position:absolute}.tippy-arrow[data-state=hidden]{opacity:0}.tippy-content{padding:.3125rem .5625rem}");var Dn=function(e){return{addHasTitleClass:Vn(e.classPrefix+"shepherd-has-title")}};function Hn(e){return{positionFixed:!0,modifiers:{addShepherdClass:Vn(e.shepherd.trim())}}}function Rn(e){return z(e)&&""!==e?"-"!==e.charAt(e.length-1)?e+"-":e:""}function Wn(t){var n=t.options.attachTo||{},r=e({},n);if(z(n.element)){try{r.element=document.querySelector(n.element)}catch(e){}r.element||console.error("The element for this Shepherd step was not found "+n.element)}return r}function zn(t){if(V(Nn))throw new Error("Using the attachment feature of Shepherd requires the Tippy.js library");t.tooltip&&t.tooltip.destroy();var n=Wn(t);t.tooltip=function(t,n){if(!t.element||!t.on)return function(t){var n=function(t){return{computeStyle:{enabled:!0,fn:function(t){return t.styles=e({},t.styles,{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),t}},addShepherdClass:Vn(t.shepherd.trim())}}(t.styles),r=Hn(t.styles),o=e({content:t.el,placement:"top"},t.options.tippyOptions);o.arrow=!1,o.popperOptions=o.popperOptions||{},t.options.title&&Be(r.modifiers,Dn(t));Be(r.modifiers,n,o.popperOptions.modifiers);var i=Be({},r,o.popperOptions);return o.popperOptions=i,Nn(document.body,o)}(n);var r=function(t,n){var r=Hn(n.styles),o=e({content:n.el,flipOnUpdate:!0,placement:t.on||"right"},n.options.tippyOptions);n.options.title&&Be(r.modifiers,Dn(n));n.options.tippyOptions&&n.options.tippyOptions.popperOptions&&Be(r,n.options.tippyOptions.popperOptions);return o.popperOptions=r,o}(t,n);return Nn(t.element,r)}(n,t),t.target=n.element}function Vn(e){return{enabled:!0,fn:function(t){return t.instance.popper.classList.add(e),t}}}var Un=function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.render=function(e){var t=e.classPrefix,n=e.config,r=e.step,o=e.styles,i=n.action,a=n.classes,s=n.secondary,l=n.text;return Oe.h("button",{className:(a||"")+o.button+(s?" "+t+"shepherd-button-secondary":""),onClick:i?i.bind(r.tour):null,tabindex:"0"},l)},n}(Oe.Component),qn=function(e){function n(){return e.apply(this,arguments)||this}t(n,e);var r=n.prototype;return r.render=function(e){var t=e.classPrefix,n=e.step,r=e.styles,o=n.options.buttons;return Oe.h("footer",{className:r.footer.trim()},this._addButtons(o,t,n,r))},r._addButtons=function(e,t,n,r){return e?e.map(function(e){return Oe.h(Un,{classPrefix:t,config:e,step:n,styles:r})}):null},n}(Oe.Component),Yn=function(e){function r(t){var r;return(r=e.call(this,t)||this).step=t.step,r.cancelStep=r.cancelStep.bind(n(r)),r}t(r,e);var o=r.prototype;return o.render=function(e){var t=e.labelId,n=e.step,r=e.styles,o=n.options,i=o.showCancelLink,a=o.title;return Oe.h("header",{className:r.header.trim()},this.constructor._addTitle(t,r,a),this._addCancelLink(i,r))},o.cancelStep=function(e){e.preventDefault(),this.step.cancel()},r._addTitle=function(e,t,n){return n?Oe.h("h3",{id:e,className:t.title.trim()},n):null},o._addCancelLink=function(e,t){return e?Oe.h("button",{"aria-label":"Close Tour",className:t["cancel-link"].trim(),onClick:this.cancelStep,type:"button"},Oe.h("span",{"aria-hidden":"true"},"×")):null},r}(Oe.Component),Xn=function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.render=function(e){var t=e.descriptionId,n=e.step,r=e.styles,o=n.options.text;return W(o)&&(o=o.call(n)),Oe.h("div",{className:r.text.trim(),dangerouslySetInnerHTML:{__html:o},id:t})},n}(Oe.Component),Kn=function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.render=function(e){var t=e.classPrefix,r=e.descriptionId,o=e.labelId,i=e.step,a=e.styles;return Oe.h("div",{className:a.content.trim()},Oe.h(Yn,{labelId:o,step:i,styles:a}),n._addShepherdText(r,i,a),n._addShepherdFooter(t,i,a))},n._addShepherdText=function(e,t,n){return V(t.options.text)?null:Oe.h(Xn,{descriptionId:e,step:t,styles:n})},n._addShepherdFooter=function(e,t,n){return Array.isArray(t.options.buttons)&&t.options.buttons.length?Oe.h(qn,{classPrefix:e,step:t,styles:n}):null},n}(Oe.Component),$n=Oe.Component,Gn=function(r){function o(e){var t;return(t=r.call(this,e)||this).step=e.step,t.handleKeyDown=t.handleKeyDown.bind(n(t)),t}t(o,r);var i=o.prototype;return i.componentDidMount=function(){var e=this.element.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'),t=e[0],n=e[e.length-1];this.focusableElements=e,this.firstFocusableElement=t,this.lastFocusableElement=n},i.render=function(t){var n,r=this,o=t.classes,i=t.classPrefix,a=t.descriptionId,s=t.labelId,l=t.step,u=t.styles,p=((n={})["data-"+i+"shepherd-step-id"]=l.id,n);return Oe.h("div",e({"aria-describedby":V(l.options.text)?null:a,"aria-labeledby":l.options.title?s:null,className:o+u.element},p,{onKeyDown:this.handleKeyDown,ref:function(e){return r.element=e},role:"dialog",tabindex:"0"}),Oe.h(Kn,{classPrefix:i,descriptionId:a,labelId:s,step:l,styles:u}))},i.handleKeyDown=function(e){switch(e.keyCode){case 9:if(1===this.focusableElements.length){e.preventDefault();break}e.shiftKey?document.activeElement===this.firstFocusableElement&&(e.preventDefault(),this.lastFocusableElement.focus()):document.activeElement===this.lastFocusableElement&&(e.preventDefault(),this.firstFocusableElement.focus());break;case 27:this.step.cancel();break;case 37:this.step.tour.back();break;case 39:this.step.tour.next()}},o}($n);Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var Zn=a(function(e,t){e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style&&!0!==e.__forceSmoothScrollPolyfill__)){var n,r=e.HTMLElement||e.Element,o=468,i={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:r.prototype.scroll||l,scrollIntoView:r.prototype.scrollIntoView},a=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,s=(n=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==u(arguments[0])?m.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):i.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(u(arguments[0])?i.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):m.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==u(arguments[0])){var e=arguments[0].left,t=arguments[0].top;m.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==u(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==u(arguments[0])){var n=d(this),r=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==t.body?(m.call(this,n,n.scrollLeft+o.left-r.left,n.scrollTop+o.top-r.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):e.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function l(e,t){this.scrollLeft=e,this.scrollTop=t}function u(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function p(e,t){return"Y"===t?e.clientHeight+s<e.scrollHeight:"X"===t?e.clientWidth+s<e.scrollWidth:void 0}function c(t,n){var r=e.getComputedStyle(t,null)["overflow"+n];return"auto"===r||"scroll"===r}function f(e){var t=p(e,"Y")&&c(e,"Y"),n=p(e,"X")&&c(e,"X");return t||n}function d(e){for(;e!==t.body&&!1===f(e);)e=e.parentNode||e.host;return e}function h(t){var n,r,i,s,l=(a()-t.startTime)/o;s=l=l>1?1:l,n=.5*(1-Math.cos(Math.PI*s)),r=t.startX+(t.x-t.startX)*n,i=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,r,i),r===t.x&&i===t.y||e.requestAnimationFrame(h.bind(e,t))}function m(n,r,o){var s,u,p,c,f=a();n===t.body?(s=e,u=e.scrollX||e.pageXOffset,p=e.scrollY||e.pageYOffset,c=i.scroll):(s=n,u=n.scrollLeft,p=n.scrollTop,c=l),h({scrollable:s,method:c,startTime:f,startX:u,startY:p,x:r,y:o})}}}});Zn.polyfill;Zn.polyfill();var Jn,Qn=Oe.render,er=(Jn=0,function(){return++Jn}),tr=function(e){function r(t,r){var o;return void 0===r&&(r={}),(o=e.call(this,t,r)||this).tour=t,o.classPrefix=o.tour.options?Rn(o.tour.options.classPrefix):"",o.styles=t.styles,ke(n(o)),o._setOptions(r),n(o)||n(o)}t(r,e);var o=r.prototype;return o.cancel=function(){this.tour.cancel(),this.trigger("cancel")},o.complete=function(){this.tour.complete(),this.trigger("complete")},o.destroy=function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),R(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")},o.getTour=function(){return this.tour},o.hide=function(){this.tour.modal.hide(),this.trigger("before-hide"),document.body.removeAttribute("data-"+this.classPrefix+"shepherd-step"),this.target&&this._updateStepTargetOnHide(),this.tooltip&&this.tooltip.hide(),this.trigger("hide")},o.isOpen=function(){return Boolean(this.tooltip&&this.tooltip.state&&this.tooltip.state.isVisible)},o.show=function(){var e=this;if(W(this.options.beforeShowPromise)){var t=this.options.beforeShowPromise();if(!V(t))return t.then(function(){return e._show()})}this._show()},o._createTooltipContent=function(){var e=this.options.classes||"",t=this.id+"-description",n=this.id+"-label";return this.options.showCancelLink&&(e+=" "+this.classPrefix+"shepherd-has-cancel-link"),Qn(Oe.h(Gn,{classPrefix:this.classPrefix,classes:e,descriptionId:t,labelId:n,step:this,styles:this.styles}),null)},o._scrollTo=function(e){var t=Wn(this).element;W(this.options.scrollToHandler)?this.options.scrollToHandler(t):R(t)&&t.scrollIntoView(e)},o._setOptions=function(e){var t=this;void 0===e&&(e={}),this.options=e;var n=this.options.when;this.destroy(),this.id=this.options.id||"step-"+er(),n&&Object.keys(n).forEach(function(e){t.on(e,n[e],t)})},o._setupElements=function(){V(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&Ee(this),zn(this)},o._show=function(){var e=this;this.trigger("before-show"),this.el||this._setupElements(),this.tour.modal.setupForStep(this),this._styleTargetElementForStep(this),(this.target||document.body).classList.add(this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target"),document.body.setAttribute("data-"+this.classPrefix+"shepherd-step",this.id),this.options.scrollTo&&setTimeout(function(){e._scrollTo(e.options.scrollTo)}),this.tooltip.show(),this.trigger("show"),this.el.focus()},o._styleTargetElementForStep=function(e){var t,n,r,o=e.target;o&&(t=o,n=e.classPrefix,(r=document.querySelector("."+n+"shepherd-modal-target"))&&r.classList.remove(n+"shepherd-modal-target"),t.classList.add(n+"shepherd-modal-target"),e.options.highlightClass&&o.classList.add(e.options.highlightClass),!1===e.options.canClickTarget&&(o.style.pointerEvents="none"))},o._updateStepTargetOnHide=function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove(this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target")},r}(U),nr=i(a(function(e,t){!function(e){function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var r={get passive(){n=!0}};window.addEventListener("testPassive",null,r),window.removeEventListener("testPassive",null,r)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),i=[],a=!1,s=-1,l=void 0,u=void 0,p=function(e){return i.some(function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))})},c=function(e){var t=e||window.event;return!!p(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},f=function(){setTimeout(function(){void 0!==u&&(document.body.style.paddingRight=u,u=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)})};e.disableBodyScroll=function(e,r){if(o){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!i.some(function(t){return t.targetElement===e})){var f={targetElement:e,options:r||{}};i=[].concat(t(i),[f]),e.ontouchstart=function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,r,o,i;1===t.targetTouches.length&&(r=e,i=(n=t).targetTouches[0].clientY-s,!p(n.target)&&(r&&0===r.scrollTop&&0<i?c(n):(o=r)&&o.scrollHeight-o.scrollTop<=o.clientHeight&&i<0?c(n):n.stopPropagation()))},a||(document.addEventListener("touchmove",c,n?{passive:!1}:void 0),a=!0)}}else{h=r,setTimeout(function(){if(void 0===u){var e=!!h&&!0===h.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(u=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")});var d={targetElement:e,options:r||{}};i=[].concat(t(i),[d])}var h},e.clearAllBodyScrollLocks=function(){o?(i.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),a&&(document.removeEventListener("touchmove",c,n?{passive:!1}:void 0),a=!1),i=[],s=-1):(f(),i=[])},e.enableBodyScroll=function(e){if(o){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,i=i.filter(function(t){return t.targetElement!==e}),a&&0===i.length&&(document.removeEventListener("touchmove",c,n?{passive:!1}:void 0),a=!1)}else(i=i.filter(function(t){return t.targetElement!==e})).length||f()}}(t)})),rr={trigger:"manual",arrow:!0,animation:"fade",duration:420,flip:!0,animateFill:!1,interactive:!0,hideOnClick:"toggle",multiple:!0};function or(){return(or=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ir(e){return(ir=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ar(e,t){return(ar=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sr(e,t,n){return(sr=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&ar(o,n.prototype),o}).apply(null,arguments)}function lr(e){var t="function"==typeof Map?new Map:void 0;return(lr=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return sr(e,arguments,ir(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ar(r,e)})(e)}var ur=function(e){var t,n;function r(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/master/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(lr(Error));function pr(e){return Math.round(255*e)}function cr(e,t,n){return pr(e)+","+pr(t)+","+pr(n)}function fr(e,t,n,r){if(void 0===r&&(r=cr),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,l=0,u=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,u=a):o>=3&&o<4?(l=a,u=i):o>=4&&o<5?(s=a,u=i):o>=5&&o<6&&(s=i,u=a);var p=n-i/2;return r(s+p,l+p,u+p)}var dr={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hr=/^#[a-fA-F0-9]{6}$/,mr=/^#[a-fA-F0-9]{8}$/,vr=/^#[a-fA-F0-9]{3}$/,br=/^#[a-fA-F0-9]{4}$/,gr=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,yr=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,wr=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/i,xr=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function _r(e){if("string"!=typeof e)throw new ur(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return dr[t]?"#"+dr[t]:e}(e);if(t.match(hr))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(mr)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(vr))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(br)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=gr.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=yr.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])};var a=wr.exec(t);if(a){var s="rgb("+fr(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=gr.exec(s);if(!l)throw new ur(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var u=xr.exec(t);if(u){var p="rgb("+fr(parseInt(""+u[1],10),parseInt(""+u[2],10)/100,parseInt(""+u[3],10)/100)+")",c=gr.exec(p);if(!c)throw new ur(4,t,p);return{red:parseInt(""+c[1],10),green:parseInt(""+c[2],10),blue:parseInt(""+c[3],10),alpha:parseFloat(""+u[4])}}throw new ur(5)}function Sr(e){return function(e){var t,n=e.red/255,r=e.green/255,o=e.blue/255,i=Math.max(n,r,o),a=Math.min(n,r,o),s=(i+a)/2;if(i===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l=i-a,u=s>.5?l/(2-i-a):l/(i+a);switch(i){case n:t=(r-o)/l+(r<o?6:0);break;case r:t=(o-n)/l+2;break;default:t=(n-r)/l+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:u,lightness:s,alpha:e.alpha}:{hue:t,saturation:u,lightness:s}}(_r(e))}var Tr=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function Or(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function kr(e){return Or(Math.round(255*e))}function Er(e,t,n){return Tr("#"+kr(e)+kr(t)+kr(n))}function Cr(e,t,n){return fr(e,t,n,Er)}function Pr(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Tr("#"+Or(e)+Or(t)+Or(n));if("object"==typeof e&&void 0===t&&void 0===n)return Tr("#"+Or(e.red)+Or(e.green)+Or(e.blue));throw new ur(6)}function Mr(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=_r(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Pr(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Pr(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new ur(7)}var Lr=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)},Ar=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},Br=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)},jr=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function Ir(e){if("object"!=typeof e)throw new ur(8);if(Ar(e))return Mr(e);if(Lr(e))return Pr(e);if(jr(e))return function(e,t,n,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Cr(e,t,n):"rgba("+fr(e,t,n)+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Cr(e.hue,e.saturation,e.lightness):"rgba("+fr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ur(2)}(e);if(Br(e))return function(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Cr(e,t,n);if("object"==typeof e&&void 0===t&&void 0===n)return Cr(e.hue,e.saturation,e.lightness);throw new ur(1)}(e);throw new ur(8)}function Fr(e){return function e(t,n,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=n?t.apply(this,o):e(t,n,o)}}(e,e.length,[])}function Nr(e,t,n){return Math.max(e,Math.min(t,n))}function Dr(e,t){if("transparent"===t)return t;var n=Sr(t);return Ir(or({},n,{lightness:Nr(0,1,n.lightness-parseFloat(e))}))}var Hr=Fr(Dr);function Rr(e,t){if("transparent"===t)return t;var n=Sr(t);return Ir(or({},n,{saturation:Nr(0,1,n.saturation-parseFloat(e))}))}var Wr=Fr(Rr);function zr(e){if("transparent"===e)return 0;var t=_r(e),n=Object.keys(t).map(function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}),r=n[0],o=n[1],i=n[2];return parseFloat((.2126*r+.7152*o+.0722*i).toFixed(3))}function Vr(e,t){if("transparent"===t)return t;var n=Sr(t);return Ir(or({},n,{lightness:Nr(0,1,n.lightness+parseFloat(e))}))}var Ur=Fr(Vr);function qr(e,t,n){return void 0===t&&(t="#000"),void 0===n&&(n="#fff"),zr(e)>.179?t:n}function Yr(e,t){if("transparent"===t)return t;var n=_r(t);return Mr(or({},n,{alpha:Nr(0,1,(100*("number"==typeof n.alpha?n.alpha:1)-100*parseFloat(e))/100)}))}var Xr=Fr(Yr),Kr={arrowSize:2.1,shepherdButtonBorderRadius:"3px",shepherdElementBorderRadius:"5px",shepherdElementMaxHeight:"100%",shepherdElementMaxWidth:"100%",shepherdElementZIndex:9999,shepherdTextBackground:"#ffffff",shepherdTextLineHeight:"1.3em",shepherdTextFontSize:"1rem",shepherdThemePrimary:"#3288e6"};function $r(t){return t.styleVariables&&e(Kr,t.styleVariables),Kr.shepherdHeaderBackground||(Kr.shepherdHeaderBackground=Hr(.1,Kr.shepherdTextBackground)),Kr.shepherdThemeSecondary||(Kr.shepherdThemeSecondary=Wr(.7,Ur(.4,Kr.shepherdThemePrimary))),function(){Kr.shepherdThemeTextPrimary||(Kr.shepherdThemeTextPrimary=Xr(.25,qr(Kr.shepherdThemePrimary)));Kr.shepherdThemeTextSecondary||(Kr.shepherdThemeTextSecondary=Xr(.25,qr(Kr.shepherdThemeSecondary)));Kr.shepherdThemeTextHeader||(Kr.shepherdThemeTextHeader=Xr(.25,qr(Kr.shepherdHeaderBackground)));Kr.shepherdThemeTextColor||(Kr.shepherdThemeTextColor=Xr(.25,qr(Kr.shepherdTextBackground)))}(),Kr}function Gr(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i=Object.keys(Object(o)),a=0,s=i.length;a<s;a++){var l=i[a],u=Object.getOwnPropertyDescriptor(o,l);void 0!==u&&u.enumerable&&(n[l]=o[l])}}return n}var Zr=Gr,Jr=/[A-Z]/g,Qr=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default});i(Qr);var eo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(e.hasOwnProperty(t)){for(var o={},i=e[t],a=(0,r.default)(t),s=Object.keys(n),l=0;l<s.length;l++){var u=s[l];if(u===t)for(var p=0;p<i.length;p++)o[i[p]+a]=n[t];o[u]=n[u]}return o}return n};var n,r=(n=Qr)&&n.__esModule?n:{default:n};e.exports=t.default});i(eo);var to=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){for(var i=0,a=e.length;i<a;++i){var s=e[i](t,n,r,o);if(s)return s}},e.exports=t.default});i(to);var no=a(function(e,t){function n(e,t){-1===e.indexOf(t)&&e.push(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))for(var r=0,o=t.length;r<o;++r)n(e,t[r]);else n(e,t)},e.exports=t.default});i(no);var ro=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Object&&!Array.isArray(e)},e.exports=t.default});i(ro);var oo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.prefixMap,a=e.plugins;return function e(s){for(var l in s){var u=s[l];if((0,i.default)(u))s[l]=e(u);else if(Array.isArray(u)){for(var p=[],c=0,f=u.length;c<f;++c){var d=(0,r.default)(a,l,u[c],s,t);(0,o.default)(p,d||u[c])}p.length>0&&(s[l]=p)}else{var h=(0,r.default)(a,l,u,s,t);h&&(s[l]=h),s=(0,n.default)(t,l,s)}}return s}};var n=a(eo),r=a(to),o=a(no),i=a(ro);function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default});i(oo);var io=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=["Webkit"],r=["ms"],o=["Webkit","ms"];t.default={plugins:[],prefixMap:{appearance:["Webkit","Moz"],textEmphasisPosition:n,textEmphasis:n,textEmphasisStyle:n,textEmphasisColor:n,boxDecorationBreak:n,maskImage:n,maskMode:n,maskRepeat:n,maskPosition:n,maskClip:n,maskOrigin:n,maskSize:n,maskComposite:n,mask:n,maskBorderSource:n,maskBorderMode:n,maskBorderSlice:n,maskBorderWidth:n,maskBorderOutset:n,maskBorderRepeat:n,maskBorder:n,maskType:n,textDecorationStyle:n,textDecorationSkip:n,textDecorationLine:n,textDecorationColor:n,userSelect:["Webkit","Moz","ms"],backdropFilter:n,fontKerning:n,scrollSnapType:o,scrollSnapPointsX:o,scrollSnapPointsY:o,scrollSnapDestination:o,scrollSnapCoordinate:o,clipPath:n,shapeImageThreshold:n,shapeImageMargin:n,shapeImageOutside:n,filter:n,hyphens:o,flowInto:o,flowFrom:o,breakBefore:o,breakAfter:o,breakInside:o,regionFragment:o,writingMode:o,textOrientation:n,tabSize:["Moz"],fontFeatureSettings:n,columnCount:n,columnFill:n,columnGap:n,columnRule:n,columnRuleColor:n,columnRuleStyle:n,columnRuleWidth:n,columns:n,columnSpan:n,columnWidth:n,wrapFlow:r,wrapThrough:r,wrapMargin:r,gridTemplateColumns:r,gridTemplateRows:r,gridTemplateAreas:r,gridTemplate:r,gridAutoColumns:r,gridAutoRows:r,gridAutoFlow:r,grid:r,gridRowStart:r,gridColumnStart:r,gridRowEnd:r,gridRow:r,gridColumn:r,gridColumnEnd:r,gridColumnGap:r,gridRowGap:r,gridArea:r,gridGap:r,textSizeAdjust:o}},e.exports=t.default});i(io);var ao=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("cursor"===e&&r.hasOwnProperty(t))return n.map(function(e){return e+t})};var n=["-webkit-","-moz-",""],r={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};e.exports=t.default});i(ao);var so=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&n.test(e)};var n=/-webkit-|-moz-|-ms-/;e.exports=t.default});i(so);var lo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,r.default)(t)&&t.indexOf("cross-fade(")>-1)return o.map(function(e){return t.replace(/cross-fade\(/g,e+"cross-fade(")})};var n,r=(n=so)&&n.__esModule?n:{default:n};var o=["-webkit-",""];e.exports=t.default});i(lo);var uo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,r.default)(t)&&t.indexOf("filter(")>-1)return o.map(function(e){return t.replace(/filter\(/g,e+"filter(")})};var n,r=(n=so)&&n.__esModule?n:{default:n};var o=["-webkit-",""];e.exports=t.default});i(uo);var po=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("display"===e&&n.hasOwnProperty(t))return n[t]};var n={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};e.exports=t.default});i(po);var co=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,o){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?o.WebkitBoxOrient="vertical":o.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?o.WebkitBoxDirection="reverse":o.WebkitBoxDirection="normal");r.hasOwnProperty(e)&&(o[r[e]]=n[t]||t)};var n={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple",flex:"box","inline-flex":"inline-box"},r={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"};e.exports=t.default});i(co);var fo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,r.default)(t)&&i.test(t))return o.map(function(e){return t.replace(i,function(t){return e+t})})};var n,r=(n=so)&&n.__esModule?n:{default:n};var o=["-webkit-","-moz-",""],i=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi;e.exports=t.default});i(fo);var ho=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,r.default)(t)&&t.indexOf("image-set(")>-1)return o.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})};var n,r=(n=so)&&n.__esModule?n:{default:n};var o=["-webkit-",""];e.exports=t.default});i(ho);var mo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]},e.exports=t.default});i(mo);var vo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(r.hasOwnProperty(e)&&o.hasOwnProperty(t))return n.map(function(e){return e+t})};var n=["-webkit-","-moz-",""],r={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},o={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default});i(vo);var bo=/[A-Z]/g,go=/^ms-/,yo={};function wo(e){return"-"+e.toLowerCase()}var xo,_o=(xo=Object.freeze({default:function(e){if(yo.hasOwnProperty(e))return yo[e];var t=e.replace(bo,wo);return yo[e]=go.test(t)?"-"+t:t}}))&&xo.default||xo,So=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)};var n,r=(n=_o)&&n.__esModule?n:{default:n};e.exports=t.default});i(So);var To=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,i,l){if("string"==typeof t&&a.hasOwnProperty(e)){var u=function(e,t){if((0,r.default)(e))return e;for(var o=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),i=0,a=o.length;i<a;++i){var l=o[i],u=[l];for(var p in t){var c=(0,n.default)(p);if(l.indexOf(c)>-1&&"order"!==c)for(var f=t[p],d=0,h=f.length;d<h;++d)u.unshift(l.replace(c,s[f[d]]+c))}o[i]=u.join(",")}return o.join(",")}(t,l),p=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-moz-|-ms-/.test(e)}).join(",");if(e.indexOf("Webkit")>-1)return p;var c=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?c:(i["Webkit"+(0,o.default)(e)]=p,i["Moz"+(0,o.default)(e)]=c,u)}};var n=i(So),r=i(so),o=i(Qr);function i(e){return e&&e.__esModule?e:{default:e}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},s={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};e.exports=t.default});i(To);var Oo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=h(oo),r=h(io),o=h(ao),i=h(lo),a=h(uo),s=h(po),l=h(co),u=h(fo),p=h(ho),c=h(mo),f=h(vo),d=h(To);function h(e){return e&&e.__esModule?e:{default:e}}var m=[i.default,o.default,a.default,l.default,u.default,p.default,c.default,f.default,d.default,s.default];t.default=(0,n.default)({prefixMap:r.default.prefixMap,plugins:m}),e.exports=t.default});i(Oo);var ko=/-[a-z\u00E0-\u00F6\u00F8-\u00FE]/g,Eo=function(e){return e.slice(1).toUpperCase()},Co=function(e){var t=(e=e||{}).assign||Object.assign,n=t({raw:"",pfx:"_",client:"object"==typeof window,assign:t,stringify:JSON.stringify,kebab:function(e){return e.replace(Jr,"-$&").toLowerCase()},decl:function(e,t){return(e=n.kebab(e))+":"+t+";"},hash:function(e){return function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return"_"+(t>>>0).toString(36)}(n.stringify(e))},selector:function(e,t){return e+(":"===t[0]?"":" ")+t},putRaw:function(e){n.raw+=e}},e);return n.client&&(n.sh||document.head.appendChild(n.sh=document.createElement("style")),n.putRaw=function(e){var t=n.sh.sheet;try{t.insertRule(e,t.cssRules.length)}catch(e){}}),n.put=function(e,t,r){var o,i,a="",s=[];for(o in t)(i=t[o])instanceof Object&&!(i instanceof Array)?s.push(o):a+=n.decl(o,i,e,r);a&&(a=e+"{"+a+"}",n.putRaw(r?r+"{"+a+"}":a));for(var l=0;l<s.length;l++)"@"===(o=s[l])[0]&&"@font-face"!==o?n.putAt(e,t[o],o):n.put(n.selector(e,o),t[o],r)},n.putAt=n.put,n}({assign:Zr,h:$,pfx:""});!function(e){var t={};e.cache=function(n){if(!n)return"";var r=e.hash(n);return t[r]||(t[r]=e.rule(n,r)),t[r]}}(Co),Co.selector=function(e,t){var n,r,o,i,a,s=e.split(","),l=[],u=t.split(","),p=s.length,c=u.length;for(n=0;n<c;n++)if((o=u[n]).indexOf("&")>-1)for(r=0;r<p;r++)i=s[r],a=o.replace(/&/g,i),l.push(a);else for(r=0;r<p;r++)(i=s[r])?l.push(i+" "+o):l.push(o);return l.join(",")},function(e){var t=e.decl,n=e.put;e.camel=function(e){return e.replace(ko,Eo)},e.prefix=function(t,n){var r={};r[e.camel(t)]=n,r=Oo(r);var o={};for(var i in r)n=r[i],"ms"===i.slice(0,2)&&(i="M"+i.slice(1)),i=e.kebab(i),n instanceof Array?o[i]=n.join(";"+i+":"):o[i]=n;return o},e.decl=function(n,r){var o=e.prefix(n,r),i="";return Object.keys(o).forEach(function(e){var n=t(e,r);i+=n}),i},e.put=function e(t,r,o){var i=t.indexOf("::placeholder");if(i>-1){var a=t.split(",");if(a.length>1)return void a.forEach(function(t){e(t.trim(),r,o)});var s=t.substring(0,i);["::-webkit-input-placeholder","::-moz-placeholder",":-ms-input-placeholder",":-moz-placeholder"].forEach(function(e){n(s+e,r,o)})}n(t,r,o)}}(Co),function(e){e.rule=function(t,n){return n=n||e.hash(t),n=e.pfx+n,e.put("."+n,t)," "+n}}(Co),function(e){e.sheet=function(t,n){var r={};n||(n=e.hash(t));var o=function(o){var i=t[o];Object.defineProperty(r,o,{configurable:!0,enumerable:!0,get:function(){var t=e.rule(i,n+"-"+o);return Object.defineProperty(r,o,{value:t,enumerable:!0}),t}})};for(var i in t)o(i);return r}}(Co);var Po=Co.rule,Mo=Co.sheet;function Lo(e){var t=zr(e);return t>.6?Hr(t/2,e):Ur((1-t)/2,e)}function Ao(t){var n,r,o,i,a,s,l,u,p,c,f=$r(t),d=Rn(t.classPrefix),h=Rn(t.tippyClassPrefix),m=e({active:(r={},r["&."+d+"shepherd-modal-is-visible"]=(n={},n[":not(."+d+"shepherd-target)"]={pointerEvents:"none"},n["."+d+"shepherd-button, ."+d+"shepherd-cancel-link, ."+d+"shepherd-element, ."+d+"shepherd-target"]={pointerEvents:"auto","*":{pointerEvents:"auto"}},n),r)},function(e,t){var n;return{button:(n={background:t.shepherdThemePrimary,borderRadius:t.shepherdButtonBorderRadius,border:0,color:t.shepherdThemeTextPrimary,cursor:"pointer",display:"inline-block",fontFamily:"inherit",fontSize:"0.8em",letterSpacing:"0.1em",lineHeight:"1em",marginRight:"0.5em",padding:"0.75em 2em",textTransform:"uppercase",transition:"all 0.5s ease",verticalAlign:"middle","&:hover":{background:Hr(.1,t.shepherdThemePrimary)}},n["&."+e+"shepherd-button-secondary"]={background:t.shepherdThemeSecondary,color:t.shepherdThemeTextSecondary,"&:hover":{background:Hr(.1,t.shepherdThemeSecondary),color:Hr(.1,t.shepherdThemeTextSecondary)}},n)}}(d,f),{},function(e){return{content:{background:e.shepherdTextBackground,borderRadius:e.shepherdElementBorderRadius,fontSize:"inherit",outline:"none",padding:0}}}(f),{},{element:{outline:"none","&, *":{"&, &:after, &:before":{boxSizing:"border-box"}}}},{},function(e,t){var n;return{footer:(n={borderBottomLeftRadius:t.shepherdElementBorderRadius,borderBottomRightRadius:t.shepherdElementBorderRadius,display:"flex",justifyContent:"flex-end",padding:"0 0.75em 0.75em"},n["."+e+"shepherd-button"]={"&:last-child":{marginRight:0}},n)}}(d,f),{},function(e,t){var n,r;return{"cancel-link":(n={background:"transparent",border:"none",color:Lo(t.shepherdThemeTextColor),fontSize:"2em",fontWeight:"normal",margin:0,padding:0,position:"relative",textDecoration:"none",transition:"color 0.5s ease",verticalAlign:"middle","&:hover":{color:t.shepherdThemeTextColor,cursor:"pointer"}},n["."+e+"shepherd-has-title ."+e+"shepherd-content &"]={color:Lo(t.shepherdThemeTextHeader),"&:hover":{color:t.shepherdThemeTextHeader}},n),header:(r={alignItems:"center",borderTopLeftRadius:t.shepherdElementBorderRadius,borderTopRightRadius:t.shepherdElementBorderRadius,display:"flex",justifyContent:"flex-end",lineHeight:"2em",padding:"0.75em 0.75em 0"},r["."+e+"shepherd-has-title ."+e+"shepherd-content &"]={background:t.shepherdHeaderBackground,padding:"1em"},r),title:{color:t.shepherdThemeTextHeader,display:"flex",flex:"1 0 auto",fontSize:"1.1em",fontWeight:"normal",margin:0,padding:0,position:"relative",verticalAlign:"middle"}}}(d,f),{},{"modal-overlay-container":{"-ms-filter":"progid:dximagetransform.microsoft.gradient.alpha(Opacity=50)",filter:"alpha(opacity=50)",height:"100vh",left:0,opacity:.5,position:"fixed",top:0,transition:"all 0.3s ease-out",width:"100vw",zIndex:9997},"modal-mask-rect":{height:"100vh",width:"100vw"}},{},function(e){return{text:{color:e.shepherdThemeTextColor,fontSize:e.shepherdTextFontSize,lineHeight:e.shepherdTextLineHeight,padding:"0.75em",p:{marginTop:0,"&:last-child":{marginBottom:0}},"a, a:visited, a:active":{borderBottom:"1px dotted",borderBottomColor:e.shepherdThemeTextColor,color:e.shepherdThemeTextColor,textDecoration:"none","&:hover":{borderBottomStyle:"solid"}}}}}(f));f.useDropShadow&&(m.element.filter="drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2))");var v=Mo(m,d+"shepherd"),b="calc(("+f.arrowSize+" / 2.1) * 16px)",g={'&[x-placement^="top"]':(o={marginBottom:b},o["."+h+"tippy-arrow"]={borderTopColor:f.shepherdTextBackground},o),'&[x-placement^="bottom"]':(a={marginTop:b},a["."+h+"tippy-arrow"]={borderBottomColor:f.shepherdTextBackground},a["&."+d+"shepherd-has-title"]=(i={},i["."+h+"tippy-arrow"]={borderBottomColor:f.shepherdHeaderBackground},i),a),'&[x-placement^="left"]':(s={marginRight:b},s["."+h+"tippy-arrow"]={borderLeftColor:f.shepherdTextBackground},s),'&[x-placement^="right"]':(l={marginLeft:b},l["."+h+"tippy-arrow"]={borderRightColor:f.shepherdTextBackground},l)};return v.shepherd=Po(((c={})["&."+h+"tippy-popper"]=e({},g,((p={zIndex:f.shepherdElementZIndex})["."+h+"tippy-tooltip"]=((u={backgroundColor:f.shepherdTextBackground})["."+h+"tippy-arrow"]={transform:"scale("+f.arrowSize+")",zIndex:f.shepherdElementZIndex+1},u["."+h+"tippy-content"]={maxHeight:f.shepherdElementMaxHeight,maxWidth:f.shepherdElementMaxWidth,padding:0,textAlign:"center"},u),p)),c),d+"shepherd"),v}var Bo=function(e){function r(t){var r;return(r=e.call(this,t)||this)._onScreenChange=null,r.classPrefix=t.classPrefix,ke(n(r)),r.closeModalOpening(),r.setState({style:{display:"none"}}),r}t(r,e);var o=r.prototype;return o.render=function(e,t){var n=e.classPrefix,o=e.styles;return Oe.h("svg",{className:o["modal-overlay-container"],onTouchMove:r._preventModalOverlayTouch,style:t.style},Oe.h("defs",null,Oe.h("mask",{className:n+"shepherd-modal-mask",height:"100%",id:n+"shepherd-modal-mask",width:"100%",x:"0",y:"0"},Oe.h("rect",{className:o["modal-mask-rect"],fill:"#FFFFFF",height:"100%",width:"100%",x:"0",y:"0"}),Oe.h("rect",{className:n+"shepherd-modal-mask-opening",fill:"#000000",height:t.openingProperties.height,x:t.openingProperties.x,y:t.openingProperties.y,width:t.openingProperties.width}))),Oe.h("rect",{height:"100%",width:"100%",x:"0",y:"0",mask:"url(#"+n+"shepherd-modal-mask)"}))},o.closeModalOpening=function(){this.setState({openingProperties:{height:0,x:0,y:0,width:0}})},o.hide=function(){document.body.classList.remove(this.classPrefix+"shepherd-modal-is-visible"),this.setState({style:{display:"none"}}),this._cleanupStepEventListeners()},o.positionModalOpening=function(e,t){if(void 0===t&&(t=0),e.getBoundingClientRect){var n=e.getBoundingClientRect(),r=n.x,o=n.y,i=n.width,a=n.height,s=n.left,l=n.top;this.setState({openingProperties:{x:(r||s)-t,y:(o||l)-t,width:i+2*t,height:a+2*t}})}},o.setupForStep=function(e){this._cleanupStepEventListeners(),e.tour.options.useModalOverlay?(this._styleForStep(e),this.show()):this.hide()},o.show=function(){document.body.classList.add(this.classPrefix+"shepherd-modal-is-visible"),this.setState({style:{display:"block"}})},o._addStepEventListeners=function(){"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),window.addEventListener("touchmove",r._preventModalBodyTouch,{passive:!1})},o._cleanupStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!0),this._onScreenChange=null),window.removeEventListener("touchmove",r._preventModalBodyTouch,{passive:!1})},o._styleForStep=function(e){var t,n,r,o,i=e.options.modalOverlayOpeningPadding;e.target?(this.positionModalOpening(e.target,i),this._onScreenChange=(t=this.positionModalOpening.bind(this,e.target,i),n=0,function(){var e=this,i=arguments,a=function(){o=null,r||t.apply(e,i)},s=r&&!o;clearTimeout(o),o=setTimeout(a,n),s&&t.apply(e,i)}),this._addStepEventListeners()):this.closeModalOpening()},r._preventModalBodyTouch=function(e){e.preventDefault()},r._preventModalOverlayTouch=function(e){e.stopPropagation()},r}(Oe.Component),jo=Oe.render,Io=function(){var e=0;return function(){return++e}}(),Fo=new U,No=function(r){function o(e){var t;void 0===e&&(e={}),ke(n(t=r.call(this,e)||this)),t.options=e,t.classPrefix=t.options?Rn(t.options.classPrefix):"",t.styles=Ao(e),t.steps=[],t.addSteps(t.options.steps);["active","cancel","complete","inactive","show","start"].map(function(e){var r;r=e,t.on(r,function(e){(e=e||{}).tour=n(t),Fo.trigger(r,e)})});var o=document.querySelector("."+t.classPrefix+"shepherd-modal-overlay-container");return jo(Oe.h(Bo,{classPrefix:t.classPrefix,ref:function(e){return t.modal=e},styles:t.styles}),e.modalContainer||document.body,o),t._setTooltipDefaults(),t._setTourID(),n(t)||n(t)}t(o,r);var i=o.prototype;return i.addStep=function(e){var t=e;return t instanceof tr?t.tour=this:t=this._setupStep(t),this.steps.push(t),t},i.addSteps=function(e){var t=this;return Array.isArray(e)&&e.forEach(function(e){t.addStep(e)}),this},i.back=function(){var e=this.steps.indexOf(this.currentStep);this.show(e-1,!1)},i.cancel=function(){if(this.options.confirmCancel){var e=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(e)&&this._done("cancel")}else this._done("cancel")},i.complete=function(){this._done("complete")},i.getById=function(e){return this.steps.find(function(t){return t.id===e})},i.getCurrentStep=function(){return this.currentStep},i.hide=function(){var e=this.getCurrentStep();if(e)return e.hide()},i.isActive=function(){return Fo.activeTour===this},i.next=function(){var e=this.steps.indexOf(this.currentStep);e===this.steps.length-1?this.complete():this.show(e+1,!0)},i.removeStep=function(e){var t=this,n=this.getCurrentStep();this.steps.some(function(n,r){if(n.id===e)return n.isOpen()&&n.hide(),n.destroy(),t.steps.splice(r,1),!0}),n&&n.id===e&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())},i.show=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!0);var n=z(e)?this.getById(e):this.steps[e];n&&(this._updateStateBeforeShow(),W(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,t):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show()))},i.start=function(){this.trigger("start"),this.options.disableScroll&&nr.disableBodyScroll(),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this._setupActiveTour(),this.next()},i._done=function(e){var t,n=this.steps.indexOf(this.currentStep);Array.isArray(this.steps)&&this.steps.forEach(function(e){return e.destroy()}),(t=this)&&t.steps.forEach(function(e){if(e.options&&!1===e.options.canClickTarget&&e.options.attachTo){var t=e.target;t instanceof HTMLElement&&(t.style.pointerEvents="auto")}}),this.trigger(e,{index:n}),Fo.activeTour=null,this._removeBodyAttrs(),this.trigger("inactive",{tour:this}),this.options.disableScroll&&nr.clearAllBodyScrollLocks(),this.modal.hide(),R(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()},i._setupActiveTour=function(){this._addBodyAttrs(),this.trigger("active",{tour:this}),Fo.activeTour=this},i._setupStep=function(t){return t=e({},this.options.defaultStepOptions,t),new tr(this,t)},i._skipStep=function(e,t){var n=this.steps.indexOf(e),r=t?n+1:n-1;this.show(r,t)},i._setTooltipDefaults=function(){Nn.setDefaultProps(rr)},i._updateStateBeforeShow=function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()},i._setTourID=function(){var e=this.options.tourName||"tour",t=Io();this.id=e+"--"+t},i._addBodyAttrs=function(){document.body.setAttribute("data-"+this.classPrefix+"shepherd-active-tour",this.id),document.body.classList.add(this.styles.active.trim())},i._removeBodyAttrs=function(){document.body.removeAttribute("data-"+this.classPrefix+"shepherd-active-tour"),document.body.classList.remove(this.styles.active.trim())},o}(U);return e(Fo,{Tour:No,Step:tr,Evented:U}),Fo});
3
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Shepherd=t()}(this,function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var r={object:!0,symbol:!0},o=function(){if(this)return this;Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});try{return __global__}finally{delete Object.prototype.__global__}}();"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e,t){return e(t={exports:{}},t.exports),t.exports}var s,l,u,p,c=function(e){return null!=e},f={object:!0,function:!0,undefined:!0},d=function(e){if(!function(e){return!!c(e)&&hasOwnProperty.call(f,typeof e)}(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}},h=/^\s*class[\s{\/}]/,m=Function.prototype.toString,v=function(e){return!!function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!d(e)}(e)&&!h.test(m.call(e))},g=function(e){return null!=e},b=Object.keys,y=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?Object.keys:function(e){return b(g(e)?Object(e):e)},w=function(e){if(!g(e))throw new TypeError("Cannot use null or undefined");return e},x=Math.max,_=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,o,i=x(arguments.length,2);for(e=Object(w(e)),o=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},r=1;r<i;++r)t=arguments[r],y(t).forEach(o);if(void 0!==n)throw n;return e},T=Array.prototype.forEach,S=Object.create,O=function(e,t){var n;for(n in e)t[n]=e[n]},k=function(e){var t=S(null);return T.call(arguments,function(e){g(e)&&O(Object(e),t)}),t},E="razdwatrzy",C=String.prototype.indexOf,P="function"==typeof E.contains&&!0===E.contains("dwa")&&!1===E.contains("foo")?String.prototype.contains:function(e){return C.call(this,e,arguments[1])>-1},M=a(function(e){(e.exports=function(e,t){var n,r,o,i,a;return arguments.length<2||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],c(e)?(n=P.call(e,"c"),r=P.call(e,"e"),o=P.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?_(k(i),a):a}).gs=function(e,t,n){var r,o,i,a;return"string"!=typeof e?(i=n,n=t,t=e,e=null):i=arguments[3],c(t)?v(t)?c(n)?v(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,c(e)?(r=P.call(e,"c"),o=P.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?_(k(i),a):a}}),A=function(e){if(!(t=e)||!("symbol"==typeof t||t.constructor&&"Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTag]))throw new TypeError(e+" is not a symbol");var t;return e},L=Object.create,B=Object.defineProperties,j=Object.defineProperty,I=Object.prototype,F=L(null);if("function"==typeof Symbol){s=Symbol;try{String(s()),p=!0}catch(e){}}var D,N=(D=L(null),function(e){for(var t,n,r=0;D[e+(r||"")];)++r;return D[e+=r||""]=!0,j(I,t="@@"+e,M.gs(null,function(e){n||(n=!0,j(this,t,M(e)),n=!1)})),t});u=function(e){if(this instanceof u)throw new TypeError("Symbol is not a constructor");return l(e)};var H=l=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return p?s(t):(n=L(u.prototype),t=void 0===t?"":String(t),B(n,{__description__:M("",t),__name__:M("",N(t))}))};function R(e){return e instanceof HTMLElement}function W(e){return"function"==typeof e}function z(e){return"string"==typeof e}function U(e){return void 0===e}B(l,{for:M(function(e){return F[e]?F[e]:F[e]=l(String(e))}),keyFor:M(function(e){var t;for(t in A(e),F)if(F[t]===e)return t}),hasInstance:M("",s&&s.hasInstance||l("hasInstance")),isConcatSpreadable:M("",s&&s.isConcatSpreadable||l("isConcatSpreadable")),iterator:M("",s&&s.iterator||l("iterator")),match:M("",s&&s.match||l("match")),replace:M("",s&&s.replace||l("replace")),search:M("",s&&s.search||l("search")),species:M("",s&&s.species||l("species")),split:M("",s&&s.split||l("split")),toPrimitive:M("",s&&s.toPrimitive||l("toPrimitive")),toStringTag:M("",s&&s.toStringTag||l("toStringTag")),unscopables:M("",s&&s.unscopables||l("unscopables"))}),B(u.prototype,{constructor:M(l),toString:M("",function(){return this.__name__})}),B(l.prototype,{toString:M(function(){return"Symbol ("+A(this).__description__+")"}),valueOf:M(function(){return A(this)})}),j(l.prototype,l.toPrimitive,M("",function(){var e=A(this);return"symbol"==typeof e?e:e.toString()})),j(l.prototype,l.toStringTag,M("c","Symbol")),j(u.prototype,l.toStringTag,M("c",l.prototype[l.toStringTag])),j(u.prototype,l.toPrimitive,M("c",l.prototype[l.toPrimitive])),function(){var e;if("function"!=typeof Symbol)return!1;e=Symbol("test symbol");try{String(e)}catch(e){return!1}return!!r[typeof Symbol.iterator]&&(!!r[typeof Symbol.toPrimitive]&&!!r[typeof Symbol.toStringTag])}()||Object.defineProperty(o,"Symbol",{value:H,configurable:!0,enumerable:!1,writable:!0});var V=function(){function e(){}var t=e.prototype;return t.on=function(e,t,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];U(this.bindings)&&(this.bindings={}),U(this.bindings[e])&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:r})},t.once=function(e,t,n){this.on(e,t,n,!0)},t.off=function(e,t){var n=this;if(U(this.bindings)||U(this.bindings[e]))return!1;U(t)?delete this.bindings[e]:this.bindings[e].forEach(function(r,o){r.handler===t&&n.bindings[e].splice(o,1)})},t.trigger=function(e){var t=this;if(!U(this.bindings)&&this.bindings[e]){var n=Array.prototype.slice.call(arguments,1);this.bindings[e].forEach(function(r,o){var i=r.ctx,a=r.handler,s=r.once,l=i||t;a.apply(l,n),s&&t.bindings[e].splice(o,1)})}},e}(),q=function(){},Y={},X=[],K=[];function $(e,t){var n,r,o,i,a=K;for(i=arguments.length;i-- >2;)X.push(arguments[i]);for(t&&null!=t.children&&(X.length||X.push(t.children),delete t.children);X.length;)if((r=X.pop())&&void 0!==r.pop)for(i=r.length;i--;)X.push(r[i]);else"boolean"==typeof r&&(r=null),(o="function"!=typeof e)&&(null==r?r="":"number"==typeof r?r=String(r):"string"!=typeof r&&(o=!1)),o&&n?a[a.length-1]+=r:a===K?a=[r]:a.push(r),n=o;var s=new q;return s.nodeName=e,s.children=a,s.attributes=null==t?void 0:t,s.key=null==t?void 0:t.key,s}function G(e,t){for(var n in t)e[n]=t[n];return e}function Z(e,t){e&&("function"==typeof e?e(t):e.current=t)}var J="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;var Q=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,ee=[];function te(e){!e._dirty&&(e._dirty=!0)&&1==ee.push(e)&&J(ne)}function ne(){for(var e;e=ee.pop();)e._dirty&&_e(e)}function re(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&oe(e,t.nodeName):n||e._componentConstructor===t.nodeName}function oe(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function ie(e){var t=G({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function ae(e){var t=e.parentNode;t&&t.removeChild(e)}function se(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)Z(n,null),Z(r,e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===Q.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,le,a):e.removeEventListener(t,le,a),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var s=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function le(e){return this._listeners[e.type](e)}var ue=[],pe=0,ce=!1,fe=!1;function de(){for(var e;e=ue.shift();)e.componentDidMount&&e.componentDidMount()}function he(e,t,n,r,o,i){pe++||(ce=null!=o&&void 0!==o.ownerSVGElement,fe=null!=e&&!("__preactattr_"in e));var a=me(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--pe||(fe=!1,i||de()),a}function me(e,t,n,r,o){var i=e,a=ce;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),ve(e,!0))),i.__preactattr_=!0,i;var s,l,u=t.nodeName;if("function"==typeof u)return function(e,t,n,r){var o=e&&e._component,i=o,a=e,s=o&&e._componentConstructor===t.nodeName,l=s,u=ie(t);for(;o&&!l&&(o=o._parentComponent);)l=o.constructor===t.nodeName;o&&l&&(!r||o._component)?(xe(o,u,3,n,r),e=o.base):(i&&!s&&(Te(i),e=a=null),o=ye(t.nodeName,u,n),e&&!o.nextBase&&(o.nextBase=e,a=null),xe(o,u,1,n,r),e=o.base,a&&e!==a&&(a._component=null,ve(a,!1)));return e}(e,t,n,r);if(ce="svg"===u||"foreignObject"!==u&&ce,u=String(u),(!e||!oe(e,u))&&(s=u,(l=ce?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s)).normalizedNodeName=s,i=l,e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),ve(e,!0)}var p=i.firstChild,c=i.__preactattr_,f=t.children;if(null==c){c=i.__preactattr_={};for(var d=i.attributes,h=d.length;h--;)c[d[h].name]=d[h].value}return!fe&&f&&1===f.length&&"string"==typeof f[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=f[0]&&(p.nodeValue=f[0]):(f&&f.length||null!=p)&&function(e,t,n,r,o){var i,a,s,l,u,p=e.childNodes,c=[],f={},d=0,h=0,m=p.length,v=0,g=t?t.length:0;if(0!==m)for(var b=0;b<m;b++){var y=p[b],w=y.__preactattr_;null!=(x=g&&w?y._component?y._component.__key:w.key:null)?(d++,f[x]=y):(w||(void 0!==y.splitText?!o||y.nodeValue.trim():o))&&(c[v++]=y)}if(0!==g)for(b=0;b<g;b++){var x;if(l=t[b],u=null,null!=(x=l.key))d&&void 0!==f[x]&&(u=f[x],f[x]=void 0,d--);else if(h<v)for(i=h;i<v;i++)if(void 0!==c[i]&&re(a=c[i],l,o)){u=a,c[i]=void 0,i===v-1&&v--,i===h&&h++;break}u=me(u,l,n,r),s=p[b],u&&u!==e&&u!==s&&(null==s?e.appendChild(u):u===s.nextSibling?ae(s):e.insertBefore(u,s))}if(d)for(var b in f)void 0!==f[b]&&ve(f[b],!1);for(;h<=v;)void 0!==(u=c[v--])&&ve(u,!1)}(i,f,n,r,fe||null!=c.dangerouslySetInnerHTML),function(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||se(e,r,n[r],n[r]=void 0,ce);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||se(e,r,n[r],n[r]=t[r],ce)}(i,t.attributes,c),ce=a,i}function ve(e,t){var n=e._component;n?Te(n):(null!=e.__preactattr_&&Z(e.__preactattr_.ref,null),!1!==t&&null!=e.__preactattr_||ae(e),ge(e))}function ge(e){for(e=e.lastChild;e;){var t=e.previousSibling;ve(e,!0),e=t}}var be=[];function ye(e,t,n){var r,o=be.length;for(e.prototype&&e.prototype.render?(r=new e(t,n),Se.call(r,t,n)):((r=new Se(t,n)).constructor=e,r.render=we);o--;)if(be[o].constructor===e)return r.nextBase=be[o].nextBase,be.splice(o,1),r;return r}function we(e,t,n){return this.constructor(e,n)}function xe(e,t,n,r,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r)),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===Y.syncComponentUpdates&&e.base?te(e):_e(e,1,o)),Z(e.__ref,e))}function _e(e,t,n,r){if(!e._disable){var o,i,a,s=e.props,l=e.state,u=e.context,p=e.prevProps||s,c=e.prevState||l,f=e.prevContext||u,d=e.base,h=e.nextBase,m=d||h,v=e._component,g=!1,b=f;if(e.constructor.getDerivedStateFromProps&&(l=G(G({},l),e.constructor.getDerivedStateFromProps(s,l)),e.state=l),d&&(e.props=p,e.state=c,e.context=f,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(s,l,u)?g=!0:e.componentWillUpdate&&e.componentWillUpdate(s,l,u),e.props=s,e.state=l,e.context=u),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!g){o=e.render(s,l,u),e.getChildContext&&(u=G(G({},u),e.getChildContext())),d&&e.getSnapshotBeforeUpdate&&(b=e.getSnapshotBeforeUpdate(p,c));var y,w,x=o&&o.nodeName;if("function"==typeof x){var _=ie(o);(i=v)&&i.constructor===x&&_.key==i.__key?xe(i,_,1,u,!1):(y=i,e._component=i=ye(x,_,u),i.nextBase=i.nextBase||h,i._parentComponent=e,xe(i,_,0,u,!1),_e(i,1,n,!0)),w=i.base}else a=m,(y=v)&&(a=e._component=null),(m||1===t)&&(a&&(a._component=null),w=he(a,o,u,n||!d,m&&m.parentNode,!0));if(m&&w!==m&&i!==v){var T=m.parentNode;T&&w!==T&&(T.replaceChild(w,m),y||(m._component=null,ve(m,!1)))}if(y&&Te(y),e.base=w,w&&!r){for(var S=e,O=e;O=O._parentComponent;)(S=O).base=w;w._component=S,w._componentConstructor=S.constructor}}for(!d||n?ue.push(e):g||e.componentDidUpdate&&e.componentDidUpdate(p,c,b);e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);pe||r||de()}}function Te(e){var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?Te(n):t&&(null!=t.__preactattr_&&Z(t.__preactattr_.ref,null),e.nextBase=t,ae(t),be.push(e),ge(t)),Z(e.__ref,null)}function Se(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}G(Se.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=G(G({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),te(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),_e(this,2)},render:function(){}});var Oe={h:$,createElement:$,cloneElement:function(e,t){return $(e.nodeName,G(G({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)},createRef:function(){return{}},Component:Se,render:function(e,t,n){return he(n,e,{},!1,t,!1)},rerender:ne,options:Y};function ke(e){for(var t=Object.getOwnPropertyNames(e.constructor.prototype),n=0;n<t.length;n++){var r=t[n],o=e[r];"constructor"!==r&&"function"==typeof o&&(e[r]=o.bind(e))}return e}function Ee(e){var t=e.options.advanceOn||{},n=t.event,r=t.selector;if(!n)return console.error("advanceOn was defined, but no event name was passed.");var o,i=function(e,t){return function(n){if(t.isOpen()){var r=t.el&&n.target===t.el;(!U(e)&&n.target.matches(e)||r)&&t.tour.next()}}}(r,e);try{o=document.querySelector(r)}catch(e){}if(!U(r)&&!o)return console.error("No element was found for the selector supplied to advanceOn: "+r);o?(o.addEventListener(n,i),e.on("destroy",function(){return o.removeEventListener(n,i)})):(document.body.addEventListener(n,i,!0),e.on("destroy",function(){return document.body.removeEventListener(n,i,!0)}))}function Ce(e){return null===e?"null":void 0===e?"undefined":"object"==typeof e?Array.isArray(e)?"array":"object":typeof e}function Pe(e){return"object"===Ce(e)?Ae(e):"array"===Ce(e)?Me(e):e}function Me(e){return e.map(Pe)}function Ae(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=Pe(e[n]));return t}function Le(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r={arrayBehaviour:n.arrayBehaviour||"replace"},o=t.map(function(e){return e||{}}),i=e||{},a=0;a<o.length;a++)for(var s=o[a],l=Object.keys(s),u=0;u<l.length;u++){var p=l[u],c=s[p],f=Ce(c),d=Ce(i[p]);if("object"===f)if("undefined"!==d){var h="object"===d?i[p]:{};i[p]=Le({},[h,Ae(c)],r)}else i[p]=Ae(c);else if("array"===f)if("array"===d){var m=Me(c);i[p]="merge"===r.arrayBehaviour?i[p].concat(m):m}else i[p]=Me(c);else i[p]=c}return i}var Be=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Le(e,n)};function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Be.noMutate=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Le({},t)},Be.withOptions=function(e,t,n){return Le(e,t,n)};var Ie="undefined"!=typeof window&&"undefined"!=typeof document,Fe=Ie?navigator.userAgent:"",De=/MSIE |Trident\//.test(Fe),Ne=/UCBrowser\//.test(Fe),He=Ie&&/iPhone|iPad|iPod/.test(navigator.platform),Re={allowHTML:!0,animateFill:!1,animation:"fade",appendTo:function(){return document.body},aria:"describedby",arrow:!0,boundary:"scrollParent",content:"",delay:0,distance:10,duration:[325,275],flip:!0,flipBehavior:"flip",flipOnUpdate:!1,followCursor:!1,hideOnClick:!0,ignoreAttributes:!1,inertia:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,lazy:!0,maxWidth:350,multiple:!1,offset:0,onCreate:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnCreate:!1,sticky:!1,theme:"",touch:!0,trigger:"mouseenter focus",triggerTarget:null,updateDuration:0,zIndex:9999},We=["arrow","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],ze={passive:!0},Ue=5,Ve='<svg viewBox="0 0 18 7" xmlns="http://www.w3.org/2000/svg"><path d="M0 7s2.021-.015 5.253-4.218C6.584 1.051 7.797.007 9 0c1.203-.007 2.416 1.035 3.761 2.782C16.012 7.005 18 7 18 7H0z"/></svg>',qe="tippy-iOS",Ye="tippy-popper",Xe="tippy-tooltip",Ke="tippy-content",$e="tippy-backdrop",Ge="tippy-arrow",Ze="tippy-svg-arrow",Je="."+Ye,Qe="."+Xe,et="."+Ke,tt="."+$e,nt="."+Ge,rt="."+Ze,ot={isTouch:!1},it=0;function at(){ot.isTouch||(ot.isTouch=!0,He&&document.body.classList.add(qe),window.performance&&document.addEventListener("mousemove",st))}function st(){var e=performance.now();e-it<20&&(ot.isTouch=!1,document.removeEventListener("mousemove",st),He||document.body.classList.remove(qe)),it=e}function lt(){var e=document.activeElement,t=e._tippy;e&&e.blur&&t&&!t.state.isVisible&&e.blur()}var ut=Object.keys(Re);function pt(e,t){return{}.hasOwnProperty.call(e,t)}function ct(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ft(e,t){return e&&e.modifiers&&e.modifiers[t]}function dt(e){return e instanceof Element}function ht(e,t){return"function"==typeof e?e.apply(null,t):e}function mt(e,t){e.filter(function(e){return"flip"===e.name})[0].enabled=t}function vt(){return document.createElement("div")}function gt(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function bt(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function yt(e,t){var n=je({},t,{content:ht(t.content,[e])},t.ignoreAttributes?{}:function(e){return ut.reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e));return n.animateFill&&(n.arrow=!1),(n.arrow||Ne)&&(n.animateFill=!1),n}function wt(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function xt(e,t,n){e&&e!==t&&e.apply(null,n)}function _t(e){return[].slice.call(e)}function Tt(e,t){return e.indexOf(t)>-1}function St(e,t){e.innerHTML=dt(t)?t.innerHTML:t}function Ot(e,t){if(dt(t.content))St(e,""),e.appendChild(t.content);else if("function"!=typeof t.content){e[t.allowHTML?"innerHTML":"textContent"]=t.content}}function kt(e){return{tooltip:e.querySelector(Qe),backdrop:e.querySelector(tt),content:e.querySelector(et),arrow:e.querySelector(nt)||e.querySelector(rt)}}function Et(e){e.setAttribute("data-inertia","")}function Ct(e){var t=vt();return!0===e?t.className=Ge:(t.className=Ze,dt(e)?t.appendChild(e):St(t,"round"===e?Ve:e)),t}function Pt(e){var t=vt();return t.className=$e,t.setAttribute("data-state",e?"visible":"hidden"),t}function Mt(e){e.setAttribute("data-interactive","")}function At(e,t,n){var r=Ne&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";e[t+"EventListener"](r,n)}function Lt(e){return e.split("-")[0]}function Bt(e,t,n){n.split(" ").forEach(function(n){n&&e.classList[t](n+"-theme")})}function jt(e,t){var n=vt();n.className=Ye,n.style.position="absolute",n.style.top="0",n.style.left="0";var r=vt();r.className=Xe,r.id="tippy-"+e,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1"),Bt(r,"add",t.theme);var o=vt();return o.className=Ke,o.setAttribute("data-state","hidden"),t.interactive&&Mt(r),t.arrow&&(r.setAttribute("data-arrow",""),r.appendChild(Ct(t.arrow))),t.animateFill&&(r.appendChild(Pt(!1)),r.setAttribute("data-animatefill","")),t.inertia&&Et(r),Ot(o,t),r.appendChild(o),n.appendChild(r),It(n,t,t,!1),n}function It(e,t,n,r){var o=kt(e),i=o.tooltip,a=o.content,s=o.backdrop,l=o.arrow;e.style.zIndex=""+n.zIndex,i.setAttribute("data-animation",n.animation),i.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?i.setAttribute("role",n.role):i.removeAttribute("role"),t.content!==n.content&&Ot(a,n),!t.animateFill&&n.animateFill?(i.appendChild(Pt(r)),i.setAttribute("data-animatefill","")):t.animateFill&&!n.animateFill&&(i.removeChild(s),i.removeAttribute("data-animatefill")),!t.arrow&&n.arrow?(i.appendChild(Ct(n.arrow)),i.setAttribute("data-arrow","")):t.arrow&&!n.arrow?(i.removeChild(l),i.removeAttribute("data-arrow")):t.arrow!==n.arrow&&(i.removeChild(l),i.appendChild(Ct(n.arrow))),!t.interactive&&n.interactive?Mt(i):t.interactive&&!n.interactive&&function(e){e.removeAttribute("data-interactive")}(i),!t.inertia&&n.inertia?Et(i):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(i),t.theme!==n.theme&&(Bt(i,"remove",t.theme),Bt(i,"add",n.theme))}for(var Ft="undefined"!=typeof window&&"undefined"!=typeof document,Dt=["Edge","Trident","Firefox"],Nt=0,Ht=0;Ht<Dt.length;Ht+=1)if(Ft&&navigator.userAgent.indexOf(Dt[Ht])>=0){Nt=1;break}var Rt=Ft&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Nt))}};function Wt(e){return e&&"[object Function]"==={}.toString.call(e)}function zt(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Ut(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Vt(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=zt(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:Vt(Ut(e))}var qt=Ft&&!(!window.MSInputMethodContext||!document.documentMode),Yt=Ft&&/MSIE 10/.test(navigator.userAgent);function Xt(e){return 11===e?qt:10===e?Yt:qt||Yt}function Kt(e){if(!e)return document.documentElement;for(var t=Xt(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===zt(n,"position")?Kt(n):n:e?e.ownerDocument.documentElement:document.documentElement}function $t(e){return null!==e.parentNode?$t(e.parentNode):e}function Gt(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&Kt(a.firstElementChild)!==a?Kt(l):l;var u=$t(e);return u.host?Gt(u.host,t):Gt(e,$t(t).host)}function Zt(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function Jt(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function Qt(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Xt(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function en(e){var t=e.body,n=e.documentElement,r=Xt(10)&&getComputedStyle(n);return{height:Qt("Height",t,n,r),width:Qt("Width",t,n,r)}}var tn=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},nn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),rn=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},on=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function an(e){return on({},e,{right:e.left+e.width,bottom:e.top+e.height})}function sn(e){var t={};try{if(Xt(10)){t=e.getBoundingClientRect();var n=Zt(e,"top"),r=Zt(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?en(e.ownerDocument):{},a=i.width||e.clientWidth||o.right-o.left,s=i.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,u=e.offsetHeight-s;if(l||u){var p=zt(e);l-=Jt(p,"x"),u-=Jt(p,"y"),o.width-=l,o.height-=u}return an(o)}function ln(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Xt(10),o="HTML"===t.nodeName,i=sn(e),a=sn(t),s=Vt(e),l=zt(t),u=parseFloat(l.borderTopWidth,10),p=parseFloat(l.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var c=an({top:i.top-a.top-u,left:i.left-a.left-p,width:i.width,height:i.height});if(c.marginTop=0,c.marginLeft=0,!r&&o){var f=parseFloat(l.marginTop,10),d=parseFloat(l.marginLeft,10);c.top-=u-f,c.bottom-=u-f,c.left-=p-d,c.right-=p-d,c.marginTop=f,c.marginLeft=d}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(c=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Zt(t,"top"),o=Zt(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(c,t)),c}function un(e){if(!e||!e.parentElement||Xt())return document.documentElement;for(var t=e.parentElement;t&&"none"===zt(t,"transform");)t=t.parentElement;return t||document.documentElement}function pn(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?un(e):Gt(e,t);if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=ln(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:Zt(n),s=t?0:Zt(n,"left");return an({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Vt(Ut(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=ln(s,a,o);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===zt(t,"position"))return!0;var r=Ut(t);return!!r&&e(r)}(a))i=l;else{var u=en(e.ownerDocument),p=u.height,c=u.width;i.top+=l.top-l.marginTop,i.bottom=p+l.top,i.left+=l.left-l.marginLeft,i.right=c+l.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 cn(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=pn(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return on({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),p=u.length>0?u[0].key:l[0].key,c=e.split("-")[1];return p+(c?"-"+c:"")}function fn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return ln(n,r?un(t):Gt(t,n),r)}function dn(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function hn(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function mn(e,t,n){n=n.split("-")[0];var r=dn(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[u]:t[hn(s)],o}function vn(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function gn(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=vn(e,function(e){return e[t]===n});return e.indexOf(r)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Wt(n)&&(t.offsets.popper=an(t.offsets.popper),t.offsets.reference=an(t.offsets.reference),t=n(t,e))}),t}function bn(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function yn(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function wn(e){var t=e.ownerDocument;return t?t.defaultView:window}function xn(e,t,n,r){n.updateBound=r,wn(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Vt(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(Vt(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function _n(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,wn(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Tn(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Sn(e,t){Object.keys(t).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Tn(t[n])&&(r="px"),e.style[n]=t[n]+r})}var On=Ft&&/Firefox/i.test(navigator.userAgent);function kn(e,t,n){var r=vn(e,function(e){return e.name===t}),o=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!o){var i="`"+t+"`",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 En=["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"],Cn=En.slice(3);function Pn(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Cn.indexOf(e),r=Cn.slice(n+1).concat(Cn.slice(0,n));return t?r.reverse():r}var Mn={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function An(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(vn(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(u=u.map(function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return an(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)})})).forEach(function(e,t){e.forEach(function(n,r){Tn(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))})}),o}var Ln={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",p={start:rn({},l,i[l]),end:rn({},l,i[l]+i[u]-a[u])};e.offsets.popper=on({},a,p[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=Tn(+n)?[+n,0]:An(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Kt(e.instance.popper);e.instance.reference===n&&(n=Kt(n));var r=yn("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=pn(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var u=t.priority,p=e.offsets.popper,c={primary:function(e){var n=p[e];return p[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(p[e],l[e])),rn({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=p[n];return p[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(p[n],l[e]-("right"===e?p.width:p.height))),rn({},n,r)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";p=on({},p,c[t](e))}),e.offsets.popper=p,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[u]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!kn(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),u=l?"height":"width",p=l?"Top":"Left",c=p.toLowerCase(),f=l?"left":"top",d=l?"bottom":"right",h=dn(r)[u];s[d]-h<a[c]&&(e.offsets.popper[c]-=a[c]-(s[d]-h)),s[c]+h>a[d]&&(e.offsets.popper[c]+=s[c]+h-a[d]),e.offsets.popper=an(e.offsets.popper);var m=s[c]+s[u]/2-h/2,v=zt(e.instance.popper),g=parseFloat(v["margin"+p],10),b=parseFloat(v["border"+p+"Width"],10),y=m-e.offsets.popper[c]-g-b;return y=Math.max(Math.min(a[u]-h,y),0),e.arrowElement=r,e.offsets.arrow=(rn(n={},c,Math.round(y)),rn(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(bn(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=pn(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=hn(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Mn.FLIP:a=[r,o];break;case Mn.CLOCKWISE:a=Pn(r);break;case Mn.COUNTERCLOCKWISE:a=Pn(r,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=hn(r);var u=e.offsets.popper,p=e.offsets.reference,c=Math.floor,f="left"===r&&c(u.right)>c(p.left)||"right"===r&&c(u.left)<c(p.right)||"top"===r&&c(u.bottom)>c(p.top)||"bottom"===r&&c(u.top)<c(p.bottom),d=c(u.left)<c(n.left),h=c(u.right)>c(n.right),m=c(u.top)<c(n.top),v=c(u.bottom)>c(n.bottom),g="left"===r&&d||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,b=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(b&&"start"===i&&d||b&&"end"===i&&h||!b&&"start"===i&&m||!b&&"end"===i&&v),w=!!t.flipVariationsByContent&&(b&&"start"===i&&h||b&&"end"===i&&d||!b&&"start"===i&&v||!b&&"end"===i&&m),x=y||w;(f||g||x)&&(e.flipped=!0,(f||g)&&(r=a[l+1]),x&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=on({},e.offsets.popper,mn(e.instance.popper,e.offsets.reference,e.placement)),e=gn(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.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),e.placement=hn(t),e.offsets.popper=an(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!kn(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=vn(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=vn(e.instance.modifiers,function(e){return"applyStyle"===e.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=void 0!==i?i:t.gpuAcceleration,s=Kt(e.instance.popper),l=sn(s),u={position:o.position},p=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),u=i(r.width),p=-1!==["left","right"].indexOf(e.placement),c=-1!==e.placement.indexOf("-"),f=t?p||c||l%2==u%2?i:a:s,d=t?i:s;return{left:f(l%2==1&&u%2==1&&!c&&t?r.left-1:r.left),top:d(r.top),bottom:d(r.bottom),right:f(r.right)}}(e,window.devicePixelRatio<2||!On),c="bottom"===n?"top":"bottom",f="right"===r?"left":"right",d=yn("transform"),h=void 0,m=void 0;if(m="bottom"===c?"HTML"===s.nodeName?-s.clientHeight+p.bottom:-l.height+p.bottom:p.top,h="right"===f?"HTML"===s.nodeName?-s.clientWidth+p.right:-l.width+p.right:p.left,a&&d)u[d]="translate3d("+h+"px, "+m+"px, 0)",u[c]=0,u[f]=0,u.willChange="transform";else{var v="bottom"===c?-1:1,g="right"===f?-1:1;u[c]=m*v,u[f]=h*g,u.willChange=c+", "+f}var b={"x-placement":e.placement};return e.attributes=on({},b,e.attributes),e.styles=on({},u,e.styles),e.arrowStyles=on({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Sn(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&Sn(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=fn(o,t,e,n.positionFixed),a=cn(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Sn(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Bn=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tn(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Rt(this.update.bind(this)),this.options=on({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(on({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=on({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return on({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&Wt(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return nn(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=fn(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=cn(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=mn(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=gn(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,bn(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[yn("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=xn(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return _n.call(this)}}]),e}();Bn.Utils=("undefined"!=typeof window?window:global).PopperUtils,Bn.placements=En,Bn.Defaults=Ln;var jn=1,In=[];function Fn(e,t){var n,r,o,i,a=yt(e,t);if(!a.multiple&&e._tippy)return null;var s,l,u=!1,p=!1,c=!1,f=[],d=wt(j,a.interactiveDebounce),h=jn++,m=jt(h,a),v=kt(m),g=v.tooltip,b=v.content,y={currentPlacement:a.placement,isScheduledToShow:!1,isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},w={id:h,reference:e,popper:m,popperChildren:v,popperInstance:null,props:a,state:y,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){var n=je({},t);if(w.state.isDestroyed)return;L();var r=w.props,o=yt(e,je({},w.props,{},n,{ignoreAttributes:!0}));o.ignoreAttributes=pt(n,"ignoreAttributes")?n.ignoreAttributes||!1:r.ignoreAttributes,w.props=o,A(),O(),d=wt(j,o.interactiveDebounce),It(m,r,o,w.state.isVisible),w.popperChildren=kt(m),w.popperInstance&&(We.some(function(e){return pt(n,e)&&n[e]!==r[e]})?(w.popperInstance.destroy(),N(),w.state.isVisible&&w.popperInstance.enableEventListeners()):w.popperInstance.update())},setContent:function(e){w.setProps({content:e})},show:function(t,n){void 0===t&&(t=ct(w.props.duration,0,Re.duration));void 0===n&&(n=!0);var r=w.state.isVisible,o=w.state.isDestroyed,i=!w.state.isEnabled,a=ot.isTouch&&!w.props.touch;if(r||o||i||a)return;if(S().hasAttribute("disabled"))return;if(!1===w.props.onShow(w))return;E(),m.style.visibility="visible",w.state.isVisible=!0;var l=T();gt(n?l.concat(m):l,0),s=function(){w.state.isVisible&&(w.popperInstance.update(),w.props.onMount(w),w.state.isMounted=!0,b.style.transitionDelay=w.popperChildren.backdrop?Math.round(t/12)+"ms":"",w.props.sticky&&function(){gt([m],De?0:w.props.updateDuration);var t=e.getBoundingClientRect();!function n(){var r=e.getBoundingClientRect();t.top===r.top&&t.right===r.right&&t.bottom===r.bottom&&t.left===r.left||w.popperInstance.scheduleUpdate(),t=r,w.state.isMounted&&requestAnimationFrame(n)}()}(),gt([m],w.props.updateDuration),gt(l,t),bt(l,"visible"),function(e,t){P(e,t)}(t,function(){if(w.props.aria){var e=S(),t="aria-"+w.props.aria,n=e.getAttribute(t),r=n?n+" "+g.id:g.id;e.setAttribute(t,r)}w.props.onShown(w),w.state.isShown=!0}))},function(){p=!1;var t=w.props.appendTo,n="parent"===t?e.parentNode:ht(t,[e]);n.contains(m)||n.appendChild(m);w.popperInstance?(mt(w.popperInstance.modifiers,w.props.flip),w.popperInstance.enableEventListeners(),w.popperInstance.scheduleUpdate()):(N(),w.popperInstance.enableEventListeners())}()},hide:function(e){void 0===e&&(e=ct(w.props.duration,1,Re.duration));var t=!w.state.isVisible&&!u,n=w.state.isDestroyed,r=!w.state.isEnabled&&!u;if(t||n||r)return;if(!1===w.props.onHide(w)&&!u)return;C(),m.style.visibility="hidden",w.state.isVisible=!1,w.state.isShown=!1;var o=T();gt(o,e),bt(o,"hidden"),function(e,t){P(e,function(){!w.state.isVisible&&m.parentNode&&m.parentNode.contains(m)&&t()})}(e,function(){if(w.props.aria){var e=S(),t="aria-"+w.props.aria,n=e.getAttribute(t),r=n?n.replace(g.id,"").trim():null;r?e.setAttribute(t,r):e.removeAttribute(t)}w.popperInstance.disableEventListeners(),w.popperInstance.options.placement=w.props.placement,m.parentNode.removeChild(m),w.props.onHidden(w),w.state.isMounted=!1})},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},destroy:function(){if(w.state.isDestroyed)return;u=!0,w.hide(0),L(),delete e._tippy,w.popperInstance&&w.popperInstance.destroy();u=!1,w.state.isDestroyed=!0}};return e._tippy=w,m._tippy=w,A(),a.lazy||N(),a.showOnCreate&&R(),m.addEventListener("mouseenter",function(){w.props.interactive&&w.state.isVisible&&"mouseenter"===n&&w.clearDelayTimeouts()}),m.addEventListener("mouseleave",function(){w.props.interactive&&"mouseenter"===n&&document.addEventListener("mousemove",d)}),a.onCreate(w),w;function x(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function _(){return"hold"===x()[0]}function T(){return[g,b,w.popperChildren.backdrop]}function S(){return w.props.triggerTarget||e}function O(){document.body.removeEventListener("mouseleave",W),document.removeEventListener("mousemove",d),In=In.filter(function(e){return e!==d})}function k(e){if(!w.props.interactive||!m.contains(e.target)){if(S().contains(e.target)){if(ot.isTouch)return;if(w.state.isVisible&&Tt(w.props.trigger,"click"))return}!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),c=!0,setTimeout(function(){c=!1}),w.state.isMounted||C())}}function E(){document.addEventListener("mousedown",k,!0)}function C(){document.removeEventListener("mousedown",k,!0)}function P(e,t){function n(e){e.target===g&&(At(g,"remove",n),t())}if(0===e)return t();At(g,"remove",l),At(g,"add",n),l=n}function M(e,t,n){void 0===n&&(n=!1),S().addEventListener(e,t,n),f.push({eventType:e,handler:t,options:n})}function A(){_()&&(M("touchstart",B,ze),M("touchend",I,ze)),Tt(w.props.trigger,"click")||M("click",function(){ot.isTouch||!0!==w.props.hideOnClick||w.hide()}),w.props.trigger.trim().split(" ").forEach(function(e){if("manual"!==e)switch(M(e,B),e){case"mouseenter":M("mouseleave",I);break;case"focus":M(De?"focusout":"blur",F)}})}function L(){f.forEach(function(e){var t=e.eventType,n=e.handler,r=e.options;S().removeEventListener(t,n,r)}),f=[]}function B(e){if(!c&&w.state.isEnabled&&!D(e))if(w.state.isVisible||(n=e.type,e instanceof MouseEvent&&In.forEach(function(t){return t(e)})),"click"===e.type&&!1!==w.props.hideOnClick&&w.state.isVisible)W(e);else{var t=x(),o=t[0],i=t[1];ot.isTouch&&"hold"===o&&i?r=setTimeout(function(){R(e)},i):R(e)}}function j(t){(function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}return null})(t.target,function(t){return t===e||t===m})||function(e,t,n,r){if(!e)return!0;var o=n.clientX,i=n.clientY,a=r.interactiveBorder,s=r.distance,l=t.top-i>("top"===e?a+s:a),u=i-t.bottom>("bottom"===e?a+s:a),p=t.left-o>("left"===e?a+s:a),c=o-t.right>("right"===e?a+s:a);return l||u||p||c}(Lt(w.state.currentPlacement),m.getBoundingClientRect(),t,w.props)&&(O(),W(t))}function I(e){if(!D(e))return w.props.interactive?(document.body.addEventListener("mouseleave",W),document.addEventListener("mousemove",d),void In.push(d)):void W(e)}function F(e){e.target===S()&&(w.props.interactive&&e.relatedTarget&&m.contains(e.relatedTarget)||W(e))}function D(e){var t="ontouchstart"in window,n=Tt(e.type,"touch"),r=_();return t&&ot.isTouch&&r&&!n||ot.isTouch&&!r&&n}function N(){var t=w.props.popperOptions,n=w.popperChildren.arrow,r=ft(t,"preventOverflow");function o(e){w.state.currentPlacement=e.placement,w.props.flip&&!w.props.flipOnUpdate&&(e.flipped&&(w.popperInstance.options.placement=e.placement),mt(w.popperInstance.modifiers,!1)),g.setAttribute("data-placement",e.placement),!1!==e.attributes["x-out-of-boundaries"]?g.setAttribute("data-out-of-boundaries",""):g.removeAttribute("data-out-of-boundaries");var t=Lt(e.placement),n=Tt(["top","bottom"],t),r=Tt(["bottom","right"],t),o=g.style;o.top="0",o.left="0",o[n?"top":"left"]=(r?1:-1)*w.props.distance+"px"}var i=je({eventsEnabled:!1,placement:w.props.placement},t,{modifiers:je({},t&&t.modifiers,{preventOverflow:je({boundariesElement:w.props.boundary,padding:Ue},r),tippySetPreventOverflowPadding:{enabled:!0,order:299,fn:function(e){var t=Lt(e.placement),n=r&&void 0!==r.padding?r.padding:Ue,o="number"==typeof n,i={top:0,bottom:0,left:0,right:0},a=Object.keys(i).reduce(function(e,r){return e[r]=o?n:n[r],t===r&&(e[r]=o?n+w.props.distance:(n[t]||0)+w.props.distance),e},i);return w.popperInstance.modifiers.filter(function(e){return"preventOverflow"===e.name})[0].padding=a,e}},arrow:je({element:n,enabled:!!n},ft(t,"arrow")),flip:je({enabled:w.props.flip,padding:w.props.distance+Ue,behavior:w.props.flipBehavior},ft(t,"flip")),offset:je({offset:w.props.offset},ft(t,"offset"))}),onCreate:function(e){o(e),xt(t&&t.onCreate,i.onCreate,[e]),H()},onUpdate:function(e){o(e),xt(t&&t.onUpdate,i.onUpdate,[e]),H()}});w.popperInstance=new Bn(e,m,i)}function H(){!p&&s&&(p=!0,function(e){e.offsetHeight}(m),s())}function R(e){w.clearDelayTimeouts(),w.state.isScheduledToShow=!0,w.popperInstance||N(),e&&w.props.onTrigger(w,e),E();var t=ct(w.props.delay,0,Re.delay);t?r=setTimeout(function(){w.show()},t):w.show()}function W(e){if(w.clearDelayTimeouts(),w.props.onUntrigger(w,e),w.state.isVisible){w.state.isScheduledToShow=!1;var t=ct(w.props.delay,1,Re.delay);t?o=setTimeout(function(){w.state.isVisible&&w.hide()},t):i=requestAnimationFrame(function(){w.hide()})}else C()}}function Dn(e,t){document.addEventListener("touchstart",at,je({},ze,{capture:!0})),window.addEventListener("blur",lt);var n,r=je({},Re,{},t),o=(dt(n=e)?[n]:n instanceof NodeList?_t(n):Array.isArray(n)?n:_t(document.querySelectorAll(n))).reduce(function(e,t){var n=t&&Fn(t,r);return n&&e.push(n),e},[]);return dt(e)?o[0]:o}Dn.version="5.0.0-beta.1",Dn.defaultProps=Re,Dn.currentInput=ot,Dn.setDefaultProps=function(e){Object.keys(e).forEach(function(t){Re[t]=e[t]})},Dn.hideAll=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;_t(document.querySelectorAll(Je)).forEach(function(e){var t,o=e._tippy;if(o){var i=!1;n&&(i=(t=n)&&t._tippy&&!t.classList.contains(Ye)?o.reference===n:e===n.popper),i||o.hide(r)}})},Ie&&setTimeout(function(){_t(document.querySelectorAll("[data-tippy]")).forEach(function(e){var t=e.getAttribute("data-tippy");t&&Dn(e,{content:t})})});Ie&&function(e){var t=document.createElement("style");t.textContent=e,t.setAttribute("data-tippy-stylesheet","");var n=document.head,r=n.querySelector("style,link");r?n.insertBefore(t,r):n.appendChild(t)}(".tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100% - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;line-height:1.4;background-color:#333;overflow:hidden;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top] .tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom] .tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left] .tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right] .tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-arrow]{overflow:visible}.tippy-tooltip[data-animatefill]{background-color:transparent!important}.tippy-tooltip[data-interactive]{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{border-color:transparent;border-style:solid;position:absolute}.tippy-arrow[data-state=hidden]{opacity:0}.tippy-content{padding:.3125rem .5625rem}");var Nn=function(e){return{addHasTitleClass:Un(e.classPrefix+"shepherd-has-title")}};function Hn(e){return{positionFixed:!0,modifiers:{addShepherdClass:Un(e.shepherd.trim())}}}function Rn(e){return z(e)&&""!==e?"-"!==e.charAt(e.length-1)?e+"-":e:""}function Wn(t){var n=t.options.attachTo||{},r=e({},n);if(z(n.element)){try{r.element=document.querySelector(n.element)}catch(e){}r.element||console.error("The element for this Shepherd step was not found "+n.element)}return r}function zn(t){if(U(Dn))throw new Error("Using the attachment feature of Shepherd requires the Tippy.js library");t.tooltip&&t.tooltip.destroy();var n=Wn(t);t.tooltip=function(t,n){if(!t.element||!t.on)return function(t){var n=function(t){return{computeStyle:{enabled:!0,fn:function(t){return t.styles=e({},t.styles,{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),t}},addShepherdClass:Un(t.shepherd.trim())}}(t.styles),r=Hn(t.styles),o=e({content:t.el,placement:"top"},t.options.tippyOptions);o.arrow=!1,o.popperOptions=o.popperOptions||{},t.options.title&&Be(r.modifiers,Nn(t));Be(r.modifiers,n,o.popperOptions.modifiers);var i=Be({},r,o.popperOptions);return o.popperOptions=i,Dn(document.body,o)}(n);var r=function(t,n){var r=Hn(n.styles),o=e({content:n.el,flipOnUpdate:!0,placement:t.on||"right"},n.options.tippyOptions);n.options.title&&Be(r.modifiers,Nn(n));n.options.tippyOptions&&n.options.tippyOptions.popperOptions&&Be(r,n.options.tippyOptions.popperOptions);return o.popperOptions=r,o}(t,n);return Dn(t.element,r)}(n,t),t.target=n.element}function Un(e){return{enabled:!0,fn:function(t){return t.instance.popper.classList.add(e),t}}}var Vn=function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.render=function(e){var t=e.classPrefix,n=e.config,r=e.step,o=e.styles,i=n.action,a=n.classes,s=n.secondary,l=n.text;return Oe.h("button",{className:(a||"")+o.button+(s?" "+t+"shepherd-button-secondary":""),onClick:i?i.bind(r.tour):null,tabindex:"0"},l)},n}(Oe.Component),qn=function(e){function n(){return e.apply(this,arguments)||this}t(n,e);var r=n.prototype;return r.render=function(e){var t=e.classPrefix,n=e.step,r=e.styles,o=n.options.buttons;return Oe.h("footer",{className:r.footer.trim()},this._addButtons(o,t,n,r))},r._addButtons=function(e,t,n,r){return e?e.map(function(e){return Oe.h(Vn,{classPrefix:t,config:e,step:n,styles:r})}):null},n}(Oe.Component),Yn=function(e){function r(t){var r;return(r=e.call(this,t)||this).step=t.step,r.cancelStep=r.cancelStep.bind(n(r)),r}t(r,e);var o=r.prototype;return o.render=function(e){var t=e.labelId,n=e.step,r=e.styles,o=n.options,i=o.showCancelLink,a=o.title;return Oe.h("header",{className:r.header.trim()},this.constructor._addTitle(t,r,a),this._addCancelLink(i,r))},o.cancelStep=function(e){e.preventDefault(),this.step.cancel()},r._addTitle=function(e,t,n){return n?Oe.h("h3",{id:e,className:t.title.trim()},n):null},o._addCancelLink=function(e,t){return e?Oe.h("button",{"aria-label":"Close Tour",className:t["cancel-link"].trim(),onClick:this.cancelStep,type:"button"},Oe.h("span",{"aria-hidden":"true"},"×")):null},r}(Oe.Component),Xn=function(e){function n(){return e.apply(this,arguments)||this}t(n,e);var r=n.prototype;return r.shouldComponentUpdate=function(){return!1},r.componentDidMount=function(){var e=this.props.step,t=e.options.text;W(t)&&(t=t.call(e)),R(t)&&this.base.appendChild(t)},r.render=function(e){var t=e.descriptionId,n=e.step,r=e.styles,o=n.options.text;return W(o)&&(o=o.call(n)),Oe.h("div",{className:r.text.trim(),dangerouslySetInnerHTML:{__html:R(o)?null:o},id:t})},n}(Oe.Component),Kn=function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.render=function(e){var t=e.classPrefix,r=e.descriptionId,o=e.labelId,i=e.step,a=e.styles;return Oe.h("div",{className:a.content.trim()},Oe.h(Yn,{labelId:o,step:i,styles:a}),n._addShepherdText(r,i,a),n._addShepherdFooter(t,i,a))},n._addShepherdText=function(e,t,n){return U(t.options.text)?null:Oe.h(Xn,{descriptionId:e,step:t,styles:n})},n._addShepherdFooter=function(e,t,n){return Array.isArray(t.options.buttons)&&t.options.buttons.length?Oe.h(qn,{classPrefix:e,step:t,styles:n}):null},n}(Oe.Component),$n=Oe.Component,Gn=function(r){function o(e){var t;return(t=r.call(this,e)||this).step=e.step,t.handleKeyDown=t.handleKeyDown.bind(n(t)),t}t(o,r);var i=o.prototype;return i.componentDidMount=function(){var e=this.element.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'),t=e[0],n=e[e.length-1];this.focusableElements=e,this.firstFocusableElement=t,this.lastFocusableElement=n},i.render=function(t){var n,r=this,o=t.classes,i=t.classPrefix,a=t.descriptionId,s=t.labelId,l=t.step,u=t.styles,p=((n={})["data-"+i+"shepherd-step-id"]=l.id,n);return Oe.h("div",e({"aria-describedby":U(l.options.text)?null:a,"aria-labeledby":l.options.title?s:null,className:o+u.element},p,{onKeyDown:this.handleKeyDown,ref:function(e){return r.element=e},role:"dialog",tabindex:"0"}),Oe.h(Kn,{classPrefix:i,descriptionId:a,labelId:s,step:l,styles:u}))},i.handleKeyDown=function(e){switch(e.keyCode){case 9:if(1===this.focusableElements.length){e.preventDefault();break}e.shiftKey?document.activeElement===this.firstFocusableElement&&(e.preventDefault(),this.lastFocusableElement.focus()):document.activeElement===this.lastFocusableElement&&(e.preventDefault(),this.firstFocusableElement.focus());break;case 27:this.step.cancel();break;case 37:this.step.tour.back();break;case 39:this.step.tour.next()}},o}($n);Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var Zn=a(function(e,t){e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style&&!0!==e.__forceSmoothScrollPolyfill__)){var n,r=e.HTMLElement||e.Element,o=468,i={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:r.prototype.scroll||l,scrollIntoView:r.prototype.scrollIntoView},a=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,s=(n=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==u(arguments[0])?m.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):i.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(u(arguments[0])?i.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):m.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==u(arguments[0])){var e=arguments[0].left,t=arguments[0].top;m.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==u(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==u(arguments[0])){var n=d(this),r=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==t.body?(m.call(this,n,n.scrollLeft+o.left-r.left,n.scrollTop+o.top-r.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):e.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function l(e,t){this.scrollLeft=e,this.scrollTop=t}function u(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function p(e,t){return"Y"===t?e.clientHeight+s<e.scrollHeight:"X"===t?e.clientWidth+s<e.scrollWidth:void 0}function c(t,n){var r=e.getComputedStyle(t,null)["overflow"+n];return"auto"===r||"scroll"===r}function f(e){var t=p(e,"Y")&&c(e,"Y"),n=p(e,"X")&&c(e,"X");return t||n}function d(e){for(;e!==t.body&&!1===f(e);)e=e.parentNode||e.host;return e}function h(t){var n,r,i,s,l=(a()-t.startTime)/o;s=l=l>1?1:l,n=.5*(1-Math.cos(Math.PI*s)),r=t.startX+(t.x-t.startX)*n,i=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,r,i),r===t.x&&i===t.y||e.requestAnimationFrame(h.bind(e,t))}function m(n,r,o){var s,u,p,c,f=a();n===t.body?(s=e,u=e.scrollX||e.pageXOffset,p=e.scrollY||e.pageYOffset,c=i.scroll):(s=n,u=n.scrollLeft,p=n.scrollTop,c=l),h({scrollable:s,method:c,startTime:f,startX:u,startY:p,x:r,y:o})}}}});Zn.polyfill;Zn.polyfill();var Jn,Qn=Oe.render,er=(Jn=0,function(){return++Jn}),tr=function(e){function r(t,r){var o;return void 0===r&&(r={}),(o=e.call(this,t,r)||this).tour=t,o.classPrefix=o.tour.options?Rn(o.tour.options.classPrefix):"",o.styles=t.styles,ke(n(o)),o._setOptions(r),n(o)||n(o)}t(r,e);var o=r.prototype;return o.cancel=function(){this.tour.cancel(),this.trigger("cancel")},o.complete=function(){this.tour.complete(),this.trigger("complete")},o.destroy=function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),R(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")},o.getTour=function(){return this.tour},o.hide=function(){this.tour.modal.hide(),this.trigger("before-hide"),document.body.removeAttribute("data-"+this.classPrefix+"shepherd-step"),this.target&&this._updateStepTargetOnHide(),this.tooltip&&this.tooltip.hide(),this.trigger("hide")},o.isOpen=function(){return Boolean(this.tooltip&&this.tooltip.state&&this.tooltip.state.isVisible)},o.show=function(){var e=this;if(W(this.options.beforeShowPromise)){var t=this.options.beforeShowPromise();if(!U(t))return t.then(function(){return e._show()})}this._show()},o._createTooltipContent=function(){var e=this.options.classes||"",t=this.id+"-description",n=this.id+"-label";return this.options.showCancelLink&&(e+=" "+this.classPrefix+"shepherd-has-cancel-link"),Qn(Oe.h(Gn,{classPrefix:this.classPrefix,classes:e,descriptionId:t,labelId:n,step:this,styles:this.styles}),null)},o._scrollTo=function(e){var t=Wn(this).element;W(this.options.scrollToHandler)?this.options.scrollToHandler(t):R(t)&&t.scrollIntoView(e)},o._setOptions=function(e){var t=this;void 0===e&&(e={}),this.options=e;var n=this.options.when;this.destroy(),this.id=this.options.id||"step-"+er(),n&&Object.keys(n).forEach(function(e){t.on(e,n[e],t)})},o._setupElements=function(){U(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&Ee(this),zn(this)},o._show=function(){var e=this;this.trigger("before-show"),this.el||this._setupElements(),this.tour.modal.setupForStep(this),this._styleTargetElementForStep(this),(this.target||document.body).classList.add(this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target"),document.body.setAttribute("data-"+this.classPrefix+"shepherd-step",this.id),this.options.scrollTo&&setTimeout(function(){e._scrollTo(e.options.scrollTo)}),this.tooltip.show(),this.trigger("show"),this.el.focus()},o._styleTargetElementForStep=function(e){var t,n,r,o=e.target;o&&(t=o,n=e.classPrefix,(r=document.querySelector("."+n+"shepherd-modal-target"))&&r.classList.remove(n+"shepherd-modal-target"),t.classList.add(n+"shepherd-modal-target"),e.options.highlightClass&&o.classList.add(e.options.highlightClass),!1===e.options.canClickTarget&&(o.style.pointerEvents="none"))},o._updateStepTargetOnHide=function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove(this.classPrefix+"shepherd-enabled",this.classPrefix+"shepherd-target")},r}(V),nr=i(a(function(e,t){!function(e){function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var r={get passive(){n=!0}};window.addEventListener("testPassive",null,r),window.removeEventListener("testPassive",null,r)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),i=[],a=!1,s=-1,l=void 0,u=void 0,p=function(e){return i.some(function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))})},c=function(e){var t=e||window.event;return!!p(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},f=function(){setTimeout(function(){void 0!==u&&(document.body.style.paddingRight=u,u=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)})};e.disableBodyScroll=function(e,r){if(o){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!i.some(function(t){return t.targetElement===e})){var f={targetElement:e,options:r||{}};i=[].concat(t(i),[f]),e.ontouchstart=function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,r,o,i;1===t.targetTouches.length&&(r=e,i=(n=t).targetTouches[0].clientY-s,!p(n.target)&&(r&&0===r.scrollTop&&0<i?c(n):(o=r)&&o.scrollHeight-o.scrollTop<=o.clientHeight&&i<0?c(n):n.stopPropagation()))},a||(document.addEventListener("touchmove",c,n?{passive:!1}:void 0),a=!0)}}else{h=r,setTimeout(function(){if(void 0===u){var e=!!h&&!0===h.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(u=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")});var d={targetElement:e,options:r||{}};i=[].concat(t(i),[d])}var h},e.clearAllBodyScrollLocks=function(){o?(i.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),a&&(document.removeEventListener("touchmove",c,n?{passive:!1}:void 0),a=!1),i=[],s=-1):(f(),i=[])},e.enableBodyScroll=function(e){if(o){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,i=i.filter(function(t){return t.targetElement!==e}),a&&0===i.length&&(document.removeEventListener("touchmove",c,n?{passive:!1}:void 0),a=!1)}else(i=i.filter(function(t){return t.targetElement!==e})).length||f()}}(t)})),rr={trigger:"manual",arrow:!0,animation:"fade",duration:420,flip:!0,animateFill:!1,interactive:!0,hideOnClick:"toggle",multiple:!0};function or(){return(or=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ir(e){return(ir=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ar(e,t){return(ar=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sr(e,t,n){return(sr=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&ar(o,n.prototype),o}).apply(null,arguments)}function lr(e){var t="function"==typeof Map?new Map:void 0;return(lr=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return sr(e,arguments,ir(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ar(r,e)})(e)}var ur=function(e){var t,n;function r(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/master/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(lr(Error));function pr(e){return Math.round(255*e)}function cr(e,t,n){return pr(e)+","+pr(t)+","+pr(n)}function fr(e,t,n,r){if(void 0===r&&(r=cr),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,l=0,u=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,u=a):o>=3&&o<4?(l=a,u=i):o>=4&&o<5?(s=a,u=i):o>=5&&o<6&&(s=i,u=a);var p=n-i/2;return r(s+p,l+p,u+p)}var dr={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hr=/^#[a-fA-F0-9]{6}$/,mr=/^#[a-fA-F0-9]{8}$/,vr=/^#[a-fA-F0-9]{3}$/,gr=/^#[a-fA-F0-9]{4}$/,br=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,yr=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,wr=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/i,xr=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function _r(e){if("string"!=typeof e)throw new ur(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return dr[t]?"#"+dr[t]:e}(e);if(t.match(hr))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(mr)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(vr))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(gr)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=br.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=yr.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])};var a=wr.exec(t);if(a){var s="rgb("+fr(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=br.exec(s);if(!l)throw new ur(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var u=xr.exec(t);if(u){var p="rgb("+fr(parseInt(""+u[1],10),parseInt(""+u[2],10)/100,parseInt(""+u[3],10)/100)+")",c=br.exec(p);if(!c)throw new ur(4,t,p);return{red:parseInt(""+c[1],10),green:parseInt(""+c[2],10),blue:parseInt(""+c[3],10),alpha:parseFloat(""+u[4])}}throw new ur(5)}function Tr(e){return function(e){var t,n=e.red/255,r=e.green/255,o=e.blue/255,i=Math.max(n,r,o),a=Math.min(n,r,o),s=(i+a)/2;if(i===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l=i-a,u=s>.5?l/(2-i-a):l/(i+a);switch(i){case n:t=(r-o)/l+(r<o?6:0);break;case r:t=(o-n)/l+2;break;default:t=(n-r)/l+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:u,lightness:s,alpha:e.alpha}:{hue:t,saturation:u,lightness:s}}(_r(e))}var Sr=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function Or(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function kr(e){return Or(Math.round(255*e))}function Er(e,t,n){return Sr("#"+kr(e)+kr(t)+kr(n))}function Cr(e,t,n){return fr(e,t,n,Er)}function Pr(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Sr("#"+Or(e)+Or(t)+Or(n));if("object"==typeof e&&void 0===t&&void 0===n)return Sr("#"+Or(e.red)+Or(e.green)+Or(e.blue));throw new ur(6)}function Mr(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=_r(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Pr(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Pr(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new ur(7)}var Ar=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)},Lr=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},Br=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)},jr=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function Ir(e){if("object"!=typeof e)throw new ur(8);if(Lr(e))return Mr(e);if(Ar(e))return Pr(e);if(jr(e))return function(e,t,n,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Cr(e,t,n):"rgba("+fr(e,t,n)+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Cr(e.hue,e.saturation,e.lightness):"rgba("+fr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ur(2)}(e);if(Br(e))return function(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Cr(e,t,n);if("object"==typeof e&&void 0===t&&void 0===n)return Cr(e.hue,e.saturation,e.lightness);throw new ur(1)}(e);throw new ur(8)}function Fr(e){return function e(t,n,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=n?t.apply(this,o):e(t,n,o)}}(e,e.length,[])}function Dr(e,t,n){return Math.max(e,Math.min(t,n))}function Nr(e,t){if("transparent"===t)return t;var n=Tr(t);return Ir(or({},n,{lightness:Dr(0,1,n.lightness-parseFloat(e))}))}var Hr=Fr(Nr);function Rr(e,t){if("transparent"===t)return t;var n=Tr(t);return Ir(or({},n,{saturation:Dr(0,1,n.saturation-parseFloat(e))}))}var Wr=Fr(Rr);function zr(e){if("transparent"===e)return 0;var t=_r(e),n=Object.keys(t).map(function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}),r=n[0],o=n[1],i=n[2];return parseFloat((.2126*r+.7152*o+.0722*i).toFixed(3))}function Ur(e,t){if("transparent"===t)return t;var n=Tr(t);return Ir(or({},n,{lightness:Dr(0,1,n.lightness+parseFloat(e))}))}var Vr=Fr(Ur);function qr(e,t,n){return void 0===t&&(t="#000"),void 0===n&&(n="#fff"),zr(e)>.179?t:n}function Yr(e,t){if("transparent"===t)return t;var n=_r(t);return Mr(or({},n,{alpha:Dr(0,1,(100*("number"==typeof n.alpha?n.alpha:1)-100*parseFloat(e))/100)}))}var Xr=Fr(Yr),Kr={arrowSize:2.1,shepherdButtonBorderRadius:"3px",shepherdElementBorderRadius:"5px",shepherdElementMaxHeight:"100%",shepherdElementMaxWidth:"100%",shepherdElementZIndex:9999,shepherdTextBackground:"#ffffff",shepherdTextLineHeight:"1.3em",shepherdTextFontSize:"1rem",shepherdThemePrimary:"#3288e6"};function $r(t){return t.styleVariables&&e(Kr,t.styleVariables),Kr.shepherdHeaderBackground||(Kr.shepherdHeaderBackground=Hr(.1,Kr.shepherdTextBackground)),Kr.shepherdThemeSecondary||(Kr.shepherdThemeSecondary=Wr(.7,Vr(.4,Kr.shepherdThemePrimary))),function(){Kr.shepherdThemeTextPrimary||(Kr.shepherdThemeTextPrimary=Xr(.25,qr(Kr.shepherdThemePrimary)));Kr.shepherdThemeTextSecondary||(Kr.shepherdThemeTextSecondary=Xr(.25,qr(Kr.shepherdThemeSecondary)));Kr.shepherdThemeTextHeader||(Kr.shepherdThemeTextHeader=Xr(.25,qr(Kr.shepherdHeaderBackground)));Kr.shepherdThemeTextColor||(Kr.shepherdThemeTextColor=Xr(.25,qr(Kr.shepherdTextBackground)))}(),Kr}function Gr(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i=Object.keys(Object(o)),a=0,s=i.length;a<s;a++){var l=i[a],u=Object.getOwnPropertyDescriptor(o,l);void 0!==u&&u.enumerable&&(n[l]=o[l])}}return n}var Zr=Gr,Jr=/[A-Z]/g,Qr=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default});i(Qr);var eo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(e.hasOwnProperty(t)){for(var o={},i=e[t],a=(0,r.default)(t),s=Object.keys(n),l=0;l<s.length;l++){var u=s[l];if(u===t)for(var p=0;p<i.length;p++)o[i[p]+a]=n[t];o[u]=n[u]}return o}return n};var n,r=(n=Qr)&&n.__esModule?n:{default:n};e.exports=t.default});i(eo);var to=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){for(var i=0,a=e.length;i<a;++i){var s=e[i](t,n,r,o);if(s)return s}},e.exports=t.default});i(to);var no=a(function(e,t){function n(e,t){-1===e.indexOf(t)&&e.push(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))for(var r=0,o=t.length;r<o;++r)n(e,t[r]);else n(e,t)},e.exports=t.default});i(no);var ro=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Object&&!Array.isArray(e)},e.exports=t.default});i(ro);var oo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.prefixMap,a=e.plugins;return function e(s){for(var l in s){var u=s[l];if((0,i.default)(u))s[l]=e(u);else if(Array.isArray(u)){for(var p=[],c=0,f=u.length;c<f;++c){var d=(0,r.default)(a,l,u[c],s,t);(0,o.default)(p,d||u[c])}p.length>0&&(s[l]=p)}else{var h=(0,r.default)(a,l,u,s,t);h&&(s[l]=h),s=(0,n.default)(t,l,s)}}return s}};var n=a(eo),r=a(to),o=a(no),i=a(ro);function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default});i(oo);var io=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=["Webkit"],r=["ms"],o=["Webkit","ms"];t.default={plugins:[],prefixMap:{appearance:["Webkit","Moz"],textEmphasisPosition:n,textEmphasis:n,textEmphasisStyle:n,textEmphasisColor:n,boxDecorationBreak:n,maskImage:n,maskMode:n,maskRepeat:n,maskPosition:n,maskClip:n,maskOrigin:n,maskSize:n,maskComposite:n,mask:n,maskBorderSource:n,maskBorderMode:n,maskBorderSlice:n,maskBorderWidth:n,maskBorderOutset:n,maskBorderRepeat:n,maskBorder:n,maskType:n,textDecorationStyle:n,textDecorationSkip:n,textDecorationLine:n,textDecorationColor:n,userSelect:["Webkit","Moz","ms"],backdropFilter:n,fontKerning:n,scrollSnapType:o,scrollSnapPointsX:o,scrollSnapPointsY:o,scrollSnapDestination:o,scrollSnapCoordinate:o,clipPath:n,shapeImageThreshold:n,shapeImageMargin:n,shapeImageOutside:n,filter:n,hyphens:o,flowInto:o,flowFrom:o,breakBefore:o,breakAfter:o,breakInside:o,regionFragment:o,writingMode:o,textOrientation:n,tabSize:["Moz"],fontFeatureSettings:n,columnCount:n,columnFill:n,columnGap:n,columnRule:n,columnRuleColor:n,columnRuleStyle:n,columnRuleWidth:n,columns:n,columnSpan:n,columnWidth:n,wrapFlow:r,wrapThrough:r,wrapMargin:r,gridTemplateColumns:r,gridTemplateRows:r,gridTemplateAreas:r,gridTemplate:r,gridAutoColumns:r,gridAutoRows:r,gridAutoFlow:r,grid:r,gridRowStart:r,gridColumnStart:r,gridRowEnd:r,gridRow:r,gridColumn:r,gridColumnEnd:r,gridColumnGap:r,gridRowGap:r,gridArea:r,gridGap:r,textSizeAdjust:o}},e.exports=t.default});i(io);var ao=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("cursor"===e&&r.hasOwnProperty(t))return n.map(function(e){return e+t})};var n=["-webkit-","-moz-",""],r={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};e.exports=t.default});i(ao);var so=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&n.test(e)};var n=/-webkit-|-moz-|-ms-/;e.exports=t.default});i(so);var lo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,r.default)(t)&&t.indexOf("cross-fade(")>-1)return o.map(function(e){return t.replace(/cross-fade\(/g,e+"cross-fade(")})};var n,r=(n=so)&&n.__esModule?n:{default:n};var o=["-webkit-",""];e.exports=t.default});i(lo);var uo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,r.default)(t)&&t.indexOf("filter(")>-1)return o.map(function(e){return t.replace(/filter\(/g,e+"filter(")})};var n,r=(n=so)&&n.__esModule?n:{default:n};var o=["-webkit-",""];e.exports=t.default});i(uo);var po=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("display"===e&&n.hasOwnProperty(t))return n[t]};var n={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};e.exports=t.default});i(po);var co=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,o){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?o.WebkitBoxOrient="vertical":o.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?o.WebkitBoxDirection="reverse":o.WebkitBoxDirection="normal");r.hasOwnProperty(e)&&(o[r[e]]=n[t]||t)};var n={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple",flex:"box","inline-flex":"inline-box"},r={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"};e.exports=t.default});i(co);var fo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,r.default)(t)&&i.test(t))return o.map(function(e){return t.replace(i,function(t){return e+t})})};var n,r=(n=so)&&n.__esModule?n:{default:n};var o=["-webkit-","-moz-",""],i=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi;e.exports=t.default});i(fo);var ho=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof t&&!(0,r.default)(t)&&t.indexOf("image-set(")>-1)return o.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})};var n,r=(n=so)&&n.__esModule?n:{default:n};var o=["-webkit-",""];e.exports=t.default});i(ho);var mo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]},e.exports=t.default});i(mo);var vo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(r.hasOwnProperty(e)&&o.hasOwnProperty(t))return n.map(function(e){return e+t})};var n=["-webkit-","-moz-",""],r={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},o={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default});i(vo);var go=/[A-Z]/g,bo=/^ms-/,yo={};function wo(e){return"-"+e.toLowerCase()}var xo,_o=(xo=Object.freeze({default:function(e){if(yo.hasOwnProperty(e))return yo[e];var t=e.replace(go,wo);return yo[e]=bo.test(t)?"-"+t:t}}))&&xo.default||xo,To=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e)};var n,r=(n=_o)&&n.__esModule?n:{default:n};e.exports=t.default});i(To);var So=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,i,l){if("string"==typeof t&&a.hasOwnProperty(e)){var u=function(e,t){if((0,r.default)(e))return e;for(var o=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),i=0,a=o.length;i<a;++i){var l=o[i],u=[l];for(var p in t){var c=(0,n.default)(p);if(l.indexOf(c)>-1&&"order"!==c)for(var f=t[p],d=0,h=f.length;d<h;++d)u.unshift(l.replace(c,s[f[d]]+c))}o[i]=u.join(",")}return o.join(",")}(t,l),p=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-moz-|-ms-/.test(e)}).join(",");if(e.indexOf("Webkit")>-1)return p;var c=u.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?c:(i["Webkit"+(0,o.default)(e)]=p,i["Moz"+(0,o.default)(e)]=c,u)}};var n=i(To),r=i(so),o=i(Qr);function i(e){return e&&e.__esModule?e:{default:e}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},s={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};e.exports=t.default});i(So);var Oo=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=h(oo),r=h(io),o=h(ao),i=h(lo),a=h(uo),s=h(po),l=h(co),u=h(fo),p=h(ho),c=h(mo),f=h(vo),d=h(So);function h(e){return e&&e.__esModule?e:{default:e}}var m=[i.default,o.default,a.default,l.default,u.default,p.default,c.default,f.default,d.default,s.default];t.default=(0,n.default)({prefixMap:r.default.prefixMap,plugins:m}),e.exports=t.default});i(Oo);var ko=/-[a-z\u00E0-\u00F6\u00F8-\u00FE]/g,Eo=function(e){return e.slice(1).toUpperCase()},Co=function(e){var t=(e=e||{}).assign||Object.assign,n=t({raw:"",pfx:"_",client:"object"==typeof window,assign:t,stringify:JSON.stringify,kebab:function(e){return e.replace(Jr,"-$&").toLowerCase()},decl:function(e,t){return(e=n.kebab(e))+":"+t+";"},hash:function(e){return function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return"_"+(t>>>0).toString(36)}(n.stringify(e))},selector:function(e,t){return e+(":"===t[0]?"":" ")+t},putRaw:function(e){n.raw+=e}},e);return n.client&&(n.sh||document.head.appendChild(n.sh=document.createElement("style")),n.putRaw=function(e){var t=n.sh.sheet;try{t.insertRule(e,t.cssRules.length)}catch(e){}}),n.put=function(e,t,r){var o,i,a="",s=[];for(o in t)(i=t[o])instanceof Object&&!(i instanceof Array)?s.push(o):a+=n.decl(o,i,e,r);a&&(a=e+"{"+a+"}",n.putRaw(r?r+"{"+a+"}":a));for(var l=0;l<s.length;l++)"@"===(o=s[l])[0]&&"@font-face"!==o?n.putAt(e,t[o],o):n.put(n.selector(e,o),t[o],r)},n.putAt=n.put,n}({assign:Zr,h:$,pfx:""});!function(e){var t={};e.cache=function(n){if(!n)return"";var r=e.hash(n);return t[r]||(t[r]=e.rule(n,r)),t[r]}}(Co),Co.selector=function(e,t){var n,r,o,i,a,s=e.split(","),l=[],u=t.split(","),p=s.length,c=u.length;for(n=0;n<c;n++)if((o=u[n]).indexOf("&")>-1)for(r=0;r<p;r++)i=s[r],a=o.replace(/&/g,i),l.push(a);else for(r=0;r<p;r++)(i=s[r])?l.push(i+" "+o):l.push(o);return l.join(",")},function(e){var t=e.decl,n=e.put;e.camel=function(e){return e.replace(ko,Eo)},e.prefix=function(t,n){var r={};r[e.camel(t)]=n,r=Oo(r);var o={};for(var i in r)n=r[i],"ms"===i.slice(0,2)&&(i="M"+i.slice(1)),i=e.kebab(i),n instanceof Array?o[i]=n.join(";"+i+":"):o[i]=n;return o},e.decl=function(n,r){var o=e.prefix(n,r),i="";return Object.keys(o).forEach(function(e){var n=t(e,r);i+=n}),i},e.put=function e(t,r,o){var i=t.indexOf("::placeholder");if(i>-1){var a=t.split(",");if(a.length>1)return void a.forEach(function(t){e(t.trim(),r,o)});var s=t.substring(0,i);["::-webkit-input-placeholder","::-moz-placeholder",":-ms-input-placeholder",":-moz-placeholder"].forEach(function(e){n(s+e,r,o)})}n(t,r,o)}}(Co),function(e){e.rule=function(t,n){return n=n||e.hash(t),n=e.pfx+n,e.put("."+n,t)," "+n}}(Co),function(e){e.sheet=function(t,n){var r={};n||(n=e.hash(t));var o=function(o){var i=t[o];Object.defineProperty(r,o,{configurable:!0,enumerable:!0,get:function(){var t=e.rule(i,n+"-"+o);return Object.defineProperty(r,o,{value:t,enumerable:!0}),t}})};for(var i in t)o(i);return r}}(Co);var Po=Co.rule,Mo=Co.sheet;function Ao(e){var t=zr(e);return t>.6?Hr(t/2,e):Vr((1-t)/2,e)}function Lo(t){var n,r,o,i,a,s,l,u,p,c,f=$r(t),d=Rn(t.classPrefix),h=Rn(t.tippyClassPrefix),m=e({active:(r={},r["&."+d+"shepherd-modal-is-visible"]=(n={},n[":not(."+d+"shepherd-target)"]={pointerEvents:"none"},n["."+d+"shepherd-button, ."+d+"shepherd-cancel-link, ."+d+"shepherd-element, ."+d+"shepherd-target"]={pointerEvents:"auto","*":{pointerEvents:"auto"}},n),r)},function(e,t){var n;return{button:(n={background:t.shepherdThemePrimary,borderRadius:t.shepherdButtonBorderRadius,border:0,color:t.shepherdThemeTextPrimary,cursor:"pointer",display:"inline-block",fontFamily:"inherit",fontSize:"0.8em",letterSpacing:"0.1em",lineHeight:"1em",marginRight:"0.5em",padding:"0.75em 2em",textTransform:"uppercase",transition:"all 0.5s ease",verticalAlign:"middle","&:hover":{background:Hr(.1,t.shepherdThemePrimary)}},n["&."+e+"shepherd-button-secondary"]={background:t.shepherdThemeSecondary,color:t.shepherdThemeTextSecondary,"&:hover":{background:Hr(.1,t.shepherdThemeSecondary),color:Hr(.1,t.shepherdThemeTextSecondary)}},n)}}(d,f),{},function(e){return{content:{background:e.shepherdTextBackground,borderRadius:e.shepherdElementBorderRadius,fontSize:"inherit",outline:"none",padding:0}}}(f),{},{element:{outline:"none","&, *":{"&, &:after, &:before":{boxSizing:"border-box"}}}},{},function(e,t){var n;return{footer:(n={borderBottomLeftRadius:t.shepherdElementBorderRadius,borderBottomRightRadius:t.shepherdElementBorderRadius,display:"flex",justifyContent:"flex-end",padding:"0 0.75em 0.75em"},n["."+e+"shepherd-button"]={"&:last-child":{marginRight:0}},n)}}(d,f),{},function(e,t){var n,r;return{"cancel-link":(n={background:"transparent",border:"none",color:Ao(t.shepherdThemeTextColor),fontSize:"2em",fontWeight:"normal",margin:0,padding:0,position:"relative",textDecoration:"none",transition:"color 0.5s ease",verticalAlign:"middle","&:hover":{color:t.shepherdThemeTextColor,cursor:"pointer"}},n["."+e+"shepherd-has-title ."+e+"shepherd-content &"]={color:Ao(t.shepherdThemeTextHeader),"&:hover":{color:t.shepherdThemeTextHeader}},n),header:(r={alignItems:"center",borderTopLeftRadius:t.shepherdElementBorderRadius,borderTopRightRadius:t.shepherdElementBorderRadius,display:"flex",justifyContent:"flex-end",lineHeight:"2em",padding:"0.75em 0.75em 0"},r["."+e+"shepherd-has-title ."+e+"shepherd-content &"]={background:t.shepherdHeaderBackground,padding:"1em"},r),title:{color:t.shepherdThemeTextHeader,display:"flex",flex:"1 0 auto",fontSize:"1.1em",fontWeight:"normal",margin:0,padding:0,position:"relative",verticalAlign:"middle"}}}(d,f),{},function(e){var t;return{"modal-overlay-container":(t={"-ms-filter":"progid:dximagetransform.microsoft.gradient.alpha(Opacity=50)",filter:"alpha(opacity=50)",height:0,left:0,opacity:0,overflow:"hidden",position:"fixed",top:0,transition:"all 0.3s ease-out, height 0ms 0.3s, opacity 0.3s 0ms",width:"100vw",zIndex:9997},t["."+e+"shepherd-modal-is-visible &"]={height:"100vh",opacity:"0.5",transition:"all 0.3s ease-out, height 0s 0s, opacity 0.3s 0s"},t),"modal-mask-rect":{height:"100vh",width:"100vw"}}}(d),{},function(e){return{text:{color:e.shepherdThemeTextColor,fontSize:e.shepherdTextFontSize,lineHeight:e.shepherdTextLineHeight,padding:"0.75em",p:{marginTop:0,"&:last-child":{marginBottom:0}},"a, a:visited, a:active":{borderBottom:"1px dotted",borderBottomColor:e.shepherdThemeTextColor,color:e.shepherdThemeTextColor,textDecoration:"none","&:hover":{borderBottomStyle:"solid"}}}}}(f));f.useDropShadow&&(m.element.filter="drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2))");var v=Mo(m,d+"shepherd"),g="calc(("+f.arrowSize+" / 2.1) * 16px)",b={'&[x-placement^="top"]':(o={marginBottom:g},o["."+h+"tippy-arrow"]={borderTopColor:f.shepherdTextBackground},o),'&[x-placement^="bottom"]':(a={marginTop:g},a["."+h+"tippy-arrow"]={borderBottomColor:f.shepherdTextBackground},a["&."+d+"shepherd-has-title"]=(i={},i["."+h+"tippy-arrow"]={borderBottomColor:f.shepherdHeaderBackground},i),a),'&[x-placement^="left"]':(s={marginRight:g},s["."+h+"tippy-arrow"]={borderLeftColor:f.shepherdTextBackground},s),'&[x-placement^="right"]':(l={marginLeft:g},l["."+h+"tippy-arrow"]={borderRightColor:f.shepherdTextBackground},l)};return v.shepherd=Po(((c={})["&."+h+"tippy-popper"]=e({},b,((p={zIndex:f.shepherdElementZIndex})["."+h+"tippy-tooltip"]=((u={backgroundColor:f.shepherdTextBackground})["."+h+"tippy-arrow"]={transform:"scale("+f.arrowSize+")",zIndex:f.shepherdElementZIndex+1},u["."+h+"tippy-content"]={maxHeight:f.shepherdElementMaxHeight,maxWidth:f.shepherdElementMaxWidth,padding:0,textAlign:"center"},u),p)),c),d+"shepherd"),v}var Bo=function(e){function r(t){var r;return(r=e.call(this,t)||this)._onScreenChange=null,r.classPrefix=t.classPrefix,ke(n(r)),r.closeModalOpening(),r}t(r,e);var o=r.prototype;return o.render=function(e,t){var n=e.classPrefix,o=e.styles;return Oe.h("svg",{className:o["modal-overlay-container"],onTouchMove:r._preventModalOverlayTouch},Oe.h("defs",null,Oe.h("mask",{className:n+"shepherd-modal-mask",height:"100%",id:n+"shepherd-modal-mask",width:"100%",x:"0",y:"0"},Oe.h("rect",{className:o["modal-mask-rect"],fill:"#FFFFFF",height:"100%",width:"100%",x:"0",y:"0"}),Oe.h("rect",{className:n+"shepherd-modal-mask-opening",fill:"#000000",height:t.openingProperties.height,x:t.openingProperties.x,y:t.openingProperties.y,width:t.openingProperties.width}))),Oe.h("rect",{height:"100%",width:"100%",x:"0",y:"0",mask:"url(#"+n+"shepherd-modal-mask)"}))},o.closeModalOpening=function(){this.setState({openingProperties:{height:0,x:0,y:0,width:0}})},o.hide=function(){document.body.classList.remove(this.classPrefix+"shepherd-modal-is-visible"),this._cleanupStepEventListeners()},o.positionModalOpening=function(e,t){if(void 0===t&&(t=0),e.getBoundingClientRect){var n=e.getBoundingClientRect(),r=n.x,o=n.y,i=n.width,a=n.height,s=n.left,l=n.top;this.setState({openingProperties:{x:(r||s)-t,y:(o||l)-t,width:i+2*t,height:a+2*t}})}},o.setupForStep=function(e){this._cleanupStepEventListeners(),e.tour.options.useModalOverlay?(this._styleForStep(e),this.show()):this.hide()},o.show=function(){document.body.classList.add(this.classPrefix+"shepherd-modal-is-visible")},o._addStepEventListeners=function(){"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),window.addEventListener("touchmove",r._preventModalBodyTouch,{passive:!1})},o._cleanupStepEventListeners=function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!0),this._onScreenChange=null),window.removeEventListener("touchmove",r._preventModalBodyTouch,{passive:!1})},o._styleForStep=function(e){var t,n,r,o,i=e.options.modalOverlayOpeningPadding;e.target?(this.positionModalOpening(e.target,i),this._onScreenChange=(t=this.positionModalOpening.bind(this,e.target,i),n=0,function(){var e=this,i=arguments,a=function(){o=null,r||t.apply(e,i)},s=r&&!o;clearTimeout(o),o=setTimeout(a,n),s&&t.apply(e,i)}),this._addStepEventListeners()):this.closeModalOpening()},r._preventModalBodyTouch=function(e){e.preventDefault()},r._preventModalOverlayTouch=function(e){e.stopPropagation()},r}(Oe.Component),jo=Oe.render,Io=function(){var e=0;return function(){return++e}}(),Fo=new V,Do=function(r){function o(e){var t;void 0===e&&(e={}),ke(n(t=r.call(this,e)||this)),t.options=e,t.classPrefix=t.options?Rn(t.options.classPrefix):"",t.styles=Lo(e),t.steps=[],t.addSteps(t.options.steps);["active","cancel","complete","inactive","show","start"].map(function(e){var r;r=e,t.on(r,function(e){(e=e||{}).tour=n(t),Fo.trigger(r,e)})});var o=document.querySelector("."+t.classPrefix+"shepherd-modal-overlay-container");return jo(Oe.h(Bo,{classPrefix:t.classPrefix,ref:function(e){return t.modal=e},styles:t.styles}),e.modalContainer||document.body,o),t._setTooltipDefaults(),t._setTourID(),n(t)||n(t)}t(o,r);var i=o.prototype;return i.addStep=function(e){var t=e;return t instanceof tr?t.tour=this:t=this._setupStep(t),this.steps.push(t),t},i.addSteps=function(e){var t=this;return Array.isArray(e)&&e.forEach(function(e){t.addStep(e)}),this},i.back=function(){var e=this.steps.indexOf(this.currentStep);this.show(e-1,!1)},i.cancel=function(){if(this.options.confirmCancel){var e=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?";window.confirm(e)&&this._done("cancel")}else this._done("cancel")},i.complete=function(){this._done("complete")},i.getById=function(e){return this.steps.find(function(t){return t.id===e})},i.getCurrentStep=function(){return this.currentStep},i.hide=function(){var e=this.getCurrentStep();if(e)return e.hide()},i.isActive=function(){return Fo.activeTour===this},i.next=function(){var e=this.steps.indexOf(this.currentStep);e===this.steps.length-1?this.complete():this.show(e+1,!0)},i.removeStep=function(e){var t=this,n=this.getCurrentStep();this.steps.some(function(n,r){if(n.id===e)return n.isOpen()&&n.hide(),n.destroy(),t.steps.splice(r,1),!0}),n&&n.id===e&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())},i.show=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!0);var n=z(e)?this.getById(e):this.steps[e];n&&(this._updateStateBeforeShow(),W(n.options.showOn)&&!n.options.showOn()?this._skipStep(n,t):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show()))},i.start=function(){this.trigger("start"),this.options.disableScroll&&nr.disableBodyScroll(),this.focusedElBeforeOpen=document.activeElement,this.currentStep=null,this._setupActiveTour(),this.next()},i._done=function(e){var t,n=this.steps.indexOf(this.currentStep);Array.isArray(this.steps)&&this.steps.forEach(function(e){return e.destroy()}),(t=this)&&t.steps.forEach(function(e){if(e.options&&!1===e.options.canClickTarget&&e.options.attachTo){var t=e.target;t instanceof HTMLElement&&(t.style.pointerEvents="auto")}}),this.trigger(e,{index:n}),Fo.activeTour=null,this._removeBodyAttrs(),this.trigger("inactive",{tour:this}),this.options.disableScroll&&nr.clearAllBodyScrollLocks(),this.modal.hide(),R(this.focusedElBeforeOpen)&&this.focusedElBeforeOpen.focus()},i._setupActiveTour=function(){this._addBodyAttrs(),this.trigger("active",{tour:this}),Fo.activeTour=this},i._setupStep=function(t){return t=e({},this.options.defaultStepOptions,t),new tr(this,t)},i._skipStep=function(e,t){var n=this.steps.indexOf(e),r=t?n+1:n-1;this.show(r,t)},i._setTooltipDefaults=function(){Dn.setDefaultProps(rr)},i._updateStateBeforeShow=function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()},i._setTourID=function(){var e=this.options.tourName||"tour",t=Io();this.id=e+"--"+t},i._addBodyAttrs=function(){document.body.setAttribute("data-"+this.classPrefix+"shepherd-active-tour",this.id),document.body.classList.add(this.styles.active.trim())},i._removeBodyAttrs=function(){document.body.removeAttribute("data-"+this.classPrefix+"shepherd-active-tour"),document.body.classList.remove(this.styles.active.trim())},o}(V);return e(Fo,{Tour:Do,Step:tr,Evented:V}),Fo});
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shepherdjs_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.1
4
+ version: 4.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jimcheung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-07 00:00:00.000000000 Z
11
+ date: 2019-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails