Files
everything2/EveryThing/wwwroot/vendor/libs/shepherd/shepherd.js
David Štaleker 03b92525d7 Prvi commit
2023-05-12 09:00:07 +02:00

28 lines
81 KiB
JavaScript

!function(t,e){var n=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=543)}({241:function(t,e,n){(function(t,r){var o,i,a;function p(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?c(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),t}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
/*! shepherd.js 2.5.0 */
/*! shepherd.js 2.5.0 */
a=function(){"use strict";function n(t){var e=m(t);return null!=t&&("object"==e||"function"==e)}var o="object"==(void 0===t?"undefined":m(t))&&t&&t.Object===Object&&t,i="object"==("undefined"==typeof self?"undefined":m(self))&&self&&self.Object===Object&&self,a=o||i||Function("return this")(),u=a.Symbol,d=Object.prototype,v=d.hasOwnProperty,b=d.toString,y=u?u.toStringTag:void 0,g=Object.prototype,w=g.toString,x="[object Null]",O="[object Undefined]",k=u?u.toStringTag:void 0;function E(t){return null==t?void 0===t?O:x:k&&k in Object(t)?function(t){var e=v.call(t,y),n=t[y];try{t[y]=void 0;var r=!0}catch(t){}var o=b.call(t);return r&&(e?t[y]=n:delete t[y]),o}(t):function(t){return w.call(t)}(t)}function S(t){return null!=t&&"object"==m(t)}var T="[object Symbol]",C=NaN,j=/^\s+|\s+$/g,L=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,_=/^0o[0-7]+$/i,M=parseInt;function P(t){if("number"==typeof t)return t;if(function(t){return"symbol"==m(t)||S(t)&&E(t)==T}(t))return C;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(j,"");var r=A.test(t);return r||_.test(t)?M(t.slice(2),r?2:8):L.test(t)?C:+t}var D=1/0,I=1.7976931348623157e308;function N(t){var e=function(t){if(!t)return 0===t?t:0;if((t=P(t))===D||t===-D){var e=t<0?-1:1;return e*I}return t==t?t:0}(t),n=e%1;return e==e?n?e-n:e:0}function F(t,e,n){var r=null==t?0:t.length;return r?(e=n||void 0===e?1:N(e),function(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}(t,e<0?0:e,r)):[]}function Y(t){return void 0===t}var H,B=function(){function t(){f(this,t)}return h(t,[{key:"on",value:function(t,e,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];Y(this.bindings)&&(this.bindings={}),Y(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:r})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(t,e){var n=this;if(Y(this.bindings)||Y(this.bindings[t]))return!1;Y(e)?delete this.bindings[t]:this.bindings[t].forEach(function(r,o){r.handler===e&&n.bindings[t].splice(o,1)})}},{key:"trigger",value:function(t){var e=this;if(!Y(this.bindings)&&this.bindings[t]){var n=F(arguments);this.bindings[t].forEach(function(r,o){var i=r.ctx,a=r.handler,p=r.once,s=i||e;a.apply(s,n),p&&e.bindings[t].splice(o,1)})}}}]),t}(),X=function(t,e,n){for(var r=-1,o=Object(t),i=n(t),a=i.length;a--;){var p=i[H?a:++r];if(!1===e(o[p],p,o))break}return t},W="[object Arguments]";function R(t){return S(t)&&E(t)==W}var V=Object.prototype,U=V.hasOwnProperty,z=V.propertyIsEnumerable,q=R(function(){return arguments}())?R:function(t){return S(t)&&U.call(t,"callee")&&!z.call(t,"callee")},$=Array.isArray,G="object"==m(e)&&e&&!e.nodeType&&e,K=G&&"object"==m(r)&&r&&!r.nodeType&&r,J=K&&K.exports===G,Q=J?a.Buffer:void 0,Z=Q?Q.isBuffer:void 0,tt=Z||function(){return!1},et=9007199254740991,nt=/^(?:0|[1-9]\d*)$/;function rt(t,e){var n=m(t);return!!(e=null==e?et:e)&&("number"==n||"symbol"!=n&&nt.test(t))&&t>-1&&t%1==0&&t<e}var ot=9007199254740991;function it(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ot}var at={};at["[object Float32Array]"]=at["[object Float64Array]"]=at["[object Int8Array]"]=at["[object Int16Array]"]=at["[object Int32Array]"]=at["[object Uint8Array]"]=at["[object Uint8ClampedArray]"]=at["[object Uint16Array]"]=at["[object Uint32Array]"]=!0,at["[object Arguments]"]=at["[object Array]"]=at["[object ArrayBuffer]"]=at["[object Boolean]"]=at["[object DataView]"]=at["[object Date]"]=at["[object Error]"]=at["[object Function]"]=at["[object Map]"]=at["[object Number]"]=at["[object Object]"]=at["[object RegExp]"]=at["[object Set]"]=at["[object String]"]=at["[object WeakMap]"]=!1;var pt,st="object"==m(e)&&e&&!e.nodeType&&e,ct=st&&"object"==m(r)&&r&&!r.nodeType&&r,lt=ct&&ct.exports===st,ut=lt&&o.process,ft=function(){try{var t=ct&&ct.require&&ct.require("util").types;return t||ut&&ut.binding&&ut.binding("util")}catch(t){}}(),dt=ft&&ft.isTypedArray,ht=dt?(pt=dt,function(t){return pt(t)}):function(t){return S(t)&&it(t.length)&&!!at[E(t)]},mt=Object.prototype,vt=mt.hasOwnProperty;function bt(t,e){var n=$(t),r=!n&&q(t),o=!n&&!r&&tt(t),i=!n&&!r&&!o&&ht(t),a=n||r||o||i,p=a?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],s=p.length;for(var c in t)!e&&!vt.call(t,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||rt(c,s))||p.push(c);return p}var yt=Object.prototype;function gt(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||yt;return t===n}function wt(t,e){return function(n){return t(e(n))}}var xt=wt(Object.keys,Object),Ot=Object.prototype,kt=Ot.hasOwnProperty;function Et(t){if(!gt(t))return xt(t);var e=[];for(var n in Object(t))kt.call(t,n)&&"constructor"!=n&&e.push(n);return e}var St="[object AsyncFunction]",Tt="[object Function]",Ct="[object GeneratorFunction]",jt="[object Proxy]";function Lt(t){if(!n(t))return!1;var e=E(t);return e==Tt||e==Ct||e==St||e==jt}function At(t){return null!=t&&it(t.length)&&!Lt(t)}function _t(t){return At(t)?bt(t):Et(t)}function Mt(t){return t}function Pt(t,e){return t&&function(t,e){return t&&X(t,e,_t)}(t,"function"==typeof(n=e)?n:Mt);var n}var Dt=wt(Object.getPrototypeOf,Object),It="[object Object]",Nt=Function.prototype,Ft=Object.prototype,Yt=Nt.toString,Ht=Ft.hasOwnProperty,Bt=Yt.call(Object);function Xt(t){return S(t)&&1===t.nodeType&&!function(t){if(!S(t)||E(t)!=It)return!1;var e=Dt(t);if(null===e)return!0;var n=Ht.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Yt.call(n)==Bt}(t)}var Wt,Rt=a["__core-js_shared__"],Vt=(Wt=/[^.]+$/.exec(Rt&&Rt.keys&&Rt.keys.IE_PROTO||""))?"Symbol(src)_1."+Wt:"",Ut=Function.prototype,zt=Ut.toString;function qt(t){if(null!=t){try{return zt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var $t=/^\[object .+?Constructor\]$/,Gt=Function.prototype,Kt=Object.prototype,Jt=Gt.toString,Qt=Kt.hasOwnProperty,Zt=RegExp("^"+Jt.call(Qt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function te(t){if(!n(t)||(e=t,Vt&&Vt in e))return!1;var e,r=Lt(t)?Zt:$t;return r.test(qt(t))}function ee(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return te(n)?n:void 0}var ne=ee(a,"DataView"),re=ee(a,"Map"),oe=ee(a,"Promise"),ie=ee(a,"Set"),ae=ee(a,"WeakMap"),pe=qt(ne),se=qt(re),ce=qt(oe),le=qt(ie),ue=qt(ae),fe=E;(ne&&"[object DataView]"!=fe(new ne(new ArrayBuffer(1)))||re&&"[object Map]"!=fe(new re)||oe&&"[object Promise]"!=fe(oe.resolve())||ie&&"[object Set]"!=fe(new ie)||ae&&"[object WeakMap]"!=fe(new ae))&&(fe=function(t){var e=E(t),n="[object Object]"==e?t.constructor:void 0,r=n?qt(n):"";if(r)switch(r){case pe:return"[object DataView]";case se:return"[object Map]";case ce:return"[object Promise]";case le:return"[object Set]";case ue:return"[object WeakMap]"}return e});var de=fe,he="[object Map]",me="[object Set]",ve=Object.prototype,be=ve.hasOwnProperty;function ye(t){if(null==t)return!0;if(At(t)&&($(t)||"string"==typeof t||"function"==typeof t.splice||tt(t)||ht(t)||q(t)))return!t.length;var e=de(t);if(e==he||e==me)return!t.size;if(gt(t))return!Et(t).length;for(var n in t)if(be.call(t,n))return!1;return!0}var ge="[object String]";function we(t){return"string"==typeof t||!$(t)&&S(t)&&E(t)==ge}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,p=t[Symbol.iterator]();!(r=(a=p.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==p.return||p.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var ke=function(){try{var t=ee(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ee=Object.prototype,Se=Ee.hasOwnProperty;function Te(t,e,n){var r=t[e];Se.call(t,e)&&function(t,e){return t===e||t!=t&&e!=e}(r,n)&&(void 0!==n||e in t)||function(t,e,n){"__proto__"==e&&ke?ke(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}(t,e,n)}function Ce(t,e){return function(t,e,n){for(var r=-1,o=t.length,i=e.length,a={};++r<o;){var p=r<i?e[r]:void 0;n(a,t[r],p)}return a}(t||[],e||[],Te)}
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.14.7
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/for(var je="undefined"!=typeof window&&"undefined"!=typeof document,Le=["Edge","Trident","Firefox"],Ae=0,_e=0;_e<Le.length;_e+=1)if(je&&navigator.userAgent.indexOf(Le[_e])>=0){Ae=1;break}var Me=je&&window.Promise,Pe=Me?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Ae))}};function De(t){return t&&"[object Function]"==={}.toString.call(t)}function Ie(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView,r=n.getComputedStyle(t,null);return e?r[e]:r}function Ne(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function Fe(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Ie(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:Fe(Ne(t))}var Ye=je&&!(!window.MSInputMethodContext||!document.documentMode),He=je&&/MSIE 10/.test(navigator.userAgent);function Be(t){return 11===t?Ye:10===t?He:Ye||He}function Xe(t){if(!t)return document.documentElement;for(var e=Be(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Ie(n,"position")?Xe(n):n:t?t.ownerDocument.documentElement:document.documentElement}function We(t){return null!==t.parentNode?We(t.parentNode):t}function Re(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,p,s=i.commonAncestorContainer;if(t!==s&&e!==s||r.contains(o))return"BODY"===(p=(a=s).nodeName)||"HTML"!==p&&Xe(a.firstElementChild)!==a?Xe(s):s;var c=We(t);return c.host?Re(c.host,e):Re(t,We(e).host)}function Ve(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}return t[n]}function Ue(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function ze(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Be(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function qe(t){var e=t.body,n=t.documentElement,r=Be(10)&&getComputedStyle(n);return{height:ze("Height",e,n,r),width:ze("Width",e,n,r)}}var $e=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Ge=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Ke=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Je=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function Qe(t){return Je({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Ze(t){var e={};try{if(Be(10)){e=t.getBoundingClientRect();var n=Ve(t,"top"),r=Ve(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?qe(t.ownerDocument):{},a=i.width||t.clientWidth||o.right-o.left,p=i.height||t.clientHeight||o.bottom-o.top,s=t.offsetWidth-a,c=t.offsetHeight-p;if(s||c){var l=Ie(t);s-=Ue(l,"x"),c-=Ue(l,"y"),o.width-=s,o.height-=c}return Qe(o)}function tn(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Be(10),o="HTML"===e.nodeName,i=Ze(t),a=Ze(e),p=Fe(t),s=Ie(e),c=parseFloat(s.borderTopWidth,10),l=parseFloat(s.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=Qe({top:i.top-a.top-c,left:i.left-a.left-l,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var f=parseFloat(s.marginTop,10),d=parseFloat(s.marginLeft,10);u.top-=c-f,u.bottom-=c-f,u.left-=l-d,u.right-=l-d,u.marginTop=f,u.marginLeft=d}return(r&&!n?e.contains(p):e===p&&"BODY"!==p.nodeName)&&(u=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Ve(e,"top"),o=Ve(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}(u,e)),u}function en(t){if(!t||!t.parentElement||Be())return document.documentElement;for(var e=t.parentElement;e&&"none"===Ie(e,"transform");)e=e.parentElement;return e||document.documentElement}function nn(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?en(t):Re(t,e);if("viewport"===r)i=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=tn(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:Ve(n),p=e?0:Ve(n,"left");return Qe({top:a-r.top+r.marginTop,left:p-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var p=void 0;"scrollParent"===r?"BODY"===(p=Fe(Ne(e))).nodeName&&(p=t.ownerDocument.documentElement):p="window"===r?t.ownerDocument.documentElement:r;var s=tn(p,a,o);if("HTML"!==p.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===Ie(e,"position"))return!0;var r=Ne(e);return!!r&&t(r)}(a))i=s;else{var c=qe(t.ownerDocument),l=c.height,u=c.width;i.top+=s.top-s.marginTop,i.bottom=l+s.top,i.left+=s.left-s.marginLeft,i.right=u+s.left}}var 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 rn(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=nn(n,r,i,o),p={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},s=Object.keys(p).map(function(t){return Je({key:t},p[t],{area:(e=p[t],n=e.width,r=e.height,n*r)});var e,n,r}).sort(function(t,e){return e.area-t.area}),c=s.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),l=c.length>0?c[0].key:s[0].key,u=t.split("-")[1];return l+(u?"-"+u:"")}function on(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?en(e):Re(e,n);return tn(n,o,r)}function an(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),i={width:t.offsetWidth+o,height:t.offsetHeight+r};return i}function pn(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function sn(t,e,n){n=n.split("-")[0];var r=an(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",p=i?"left":"top",s=i?"height":"width",c=i?"width":"height";return o[a]=e[a]+e[s]/2-r[s]/2,o[p]=n===p?e[p]-r[c]:e[pn(p)],o}function cn(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function ln(t,e,n){var r=void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=cn(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",n));return r.forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&De(n)&&(e.offsets.popper=Qe(e.offsets.popper),e.offsets.reference=Qe(e.offsets.reference),e=n(e,t))}),e}function un(t,e){return t.some(function(t){var n=t.name,r=t.enabled;return r&&n===e})}function fn(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if(void 0!==document.body.style[i])return i}return null}function dn(t){var e=t.ownerDocument;return e?e.defaultView:window}function hn(t,e,n,r){n.updateBound=r,dn(t).addEventListener("resize",n.updateBound,{passive:!0});var o=Fe(t);return function t(e,n,r,o){var i="BODY"===e.nodeName,a=i?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),i||t(Fe(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function mn(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,dn(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function vn(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function bn(t,e){Object.keys(e).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&vn(e[n])&&(r="px"),t.style[n]=e[n]+r})}var yn=je&&/Firefox/i.test(navigator.userAgent);function gn(t,e,n){var r=cn(t,function(t){var n=t.name;return n===e}),o=!!r&&t.some(function(t){return t.name===n&&t.enabled&&t.order<r.order});if(!o){var i="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var wn=["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"],xn=wn.slice(3);function On(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=xn.indexOf(t),r=xn.slice(n+1).concat(xn.slice(0,n));return e?r.reverse():r}var kn={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function En(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),p=a.indexOf(cn(a,function(t){return-1!==t.search(/,|\s/)}));a[p]&&-1===a[p].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=-1!==p?[a.slice(0,p).concat([a[p].split(s)[0]]),[a[p].split(s)[1]].concat(a.slice(p+1))]:[a];return(c=c.map(function(t,r){var o=(1===r?!i:i)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return t;if(0===a.indexOf("%")){var p=void 0;switch(a){case"%p":p=n;break;case"%":case"%r":default:p=r}var s=Qe(p);return s[e]/100*i}return"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i}(t,o,e,n)})})).forEach(function(t,e){t.forEach(function(n,r){vn(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))})}),o}var Sn={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,p=-1!==["bottom","top"].indexOf(n),s=p?"left":"top",c=p?"width":"height",l={start:Ke({},s,i[s]),end:Ke({},s,i[s]+i[c]-a[c])};t.offsets.popper=Je({},a,l[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,p=r.split("-")[0],s=void 0;return s=vn(+n)?[+n,0]:En(n,i,a,p),"left"===p?(i.top+=s[0],i.left-=s[1]):"right"===p?(i.top+=s[0],i.left+=s[1]):"top"===p?(i.left+=s[0],i.top-=s[1]):"bottom"===p&&(i.left+=s[0],i.top+=s[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||Xe(t.instance.popper);t.instance.reference===n&&(n=Xe(n));var r=fn("transform"),o=t.instance.popper.style,i=o.top,a=o.left,p=o[r];o.top="",o.left="",o[r]="";var s=nn(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=i,o.left=a,o[r]=p,e.boundaries=s;var c=e.priority,l=t.offsets.popper,u={primary:function(t){var n=l[t];return l[t]<s[t]&&!e.escapeWithReference&&(n=Math.max(l[t],s[t])),Ke({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=l[n];return l[t]>s[t]&&!e.escapeWithReference&&(r=Math.min(l[n],s[t]-("right"===t?l.width:l.height))),Ke({},n,r)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=Je({},l,u[e](t))}),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),p=a?"right":"bottom",s=a?"left":"top",c=a?"width":"height";return n[p]<i(r[s])&&(t.offsets.popper[s]=i(r[s])-n[c]),n[s]>i(r[p])&&(t.offsets.popper[s]=i(r[p])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!gn(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,a=i.popper,p=i.reference,s=-1!==["left","right"].indexOf(o),c=s?"height":"width",l=s?"Top":"Left",u=l.toLowerCase(),f=s?"left":"top",d=s?"bottom":"right",h=an(r)[c];p[d]-h<a[u]&&(t.offsets.popper[u]-=a[u]-(p[d]-h)),p[u]+h>a[d]&&(t.offsets.popper[u]+=p[u]+h-a[d]),t.offsets.popper=Qe(t.offsets.popper);var m=p[u]+p[c]/2-h/2,v=Ie(t.instance.popper),b=parseFloat(v["margin"+l],10),y=parseFloat(v["border"+l+"Width"],10),g=m-t.offsets.popper[u]-b-y;return g=Math.max(Math.min(a[c]-h,g),0),t.arrowElement=r,t.offsets.arrow=(Ke(n={},u,Math.round(g)),Ke(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(un(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=nn(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=pn(r),i=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case kn.FLIP:a=[r,o];break;case kn.CLOCKWISE:a=On(r);break;case kn.COUNTERCLOCKWISE:a=On(r,!0);break;default:a=e.behavior}return a.forEach(function(p,s){if(r!==p||a.length===s+1)return t;r=t.placement.split("-")[0],o=pn(r);var c=t.offsets.popper,l=t.offsets.reference,u=Math.floor,f="left"===r&&u(c.right)>u(l.left)||"right"===r&&u(c.left)<u(l.right)||"top"===r&&u(c.bottom)>u(l.top)||"bottom"===r&&u(c.top)<u(l.bottom),d=u(c.left)<u(n.left),h=u(c.right)>u(n.right),m=u(c.top)<u(n.top),v=u(c.bottom)>u(n.bottom),b="left"===r&&d||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),g=!!e.flipVariations&&(y&&"start"===i&&d||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&v);(f||b||g)&&(t.flipped=!0,(f||b)&&(r=a[s+1]),g&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=Je({},t.offsets.popper,sn(t.instance.popper,t.offsets.reference,t.placement)),t=ln(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),p=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(p?o[a?"width":"height"]:0),t.placement=pn(e),t.offsets.popper=Qe(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!gn(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=cn(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=cn(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:e.gpuAcceleration,p=Xe(t.instance.popper),s=Ze(p),c={position:o.position},l=function(t,e){var n=t.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,p=function(t){return t},s=i(o.width),c=i(r.width),l=-1!==["left","right"].indexOf(t.placement),u=-1!==t.placement.indexOf("-"),f=s%2==c%2,d=e?l||u||f?i:a:p,h=e?i:p;return{left:d(s%2==1&&c%2==1&&!u&&e?r.left-1:r.left),top:h(r.top),bottom:h(r.bottom),right:d(r.right)}}(t,window.devicePixelRatio<2||!yn),u="bottom"===n?"top":"bottom",f="right"===r?"left":"right",d=fn("transform"),h=void 0,m=void 0;if(m="bottom"===u?"HTML"===p.nodeName?-p.clientHeight+l.bottom:-s.height+l.bottom:l.top,h="right"===f?"HTML"===p.nodeName?-p.clientWidth+l.right:-s.width+l.right:l.left,a&&d)c[d]="translate3d("+h+"px, "+m+"px, 0)",c[u]=0,c[f]=0,c.willChange="transform";else{var v="bottom"===u?-1:1,b="right"===f?-1:1;c[u]=m*v,c[f]=h*b,c.willChange=u+", "+f}var y={"x-placement":t.placement};return t.attributes=Je({},y,t.attributes),t.styles=Je({},c,t.styles),t.arrowStyles=Je({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return bn(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){var r=n[t];!1!==r?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&bn(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,o){var i=on(o,e,t,n.positionFixed),a=rn(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),bn(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},Tn={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Sn},Cn=function(){function t(e,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};$e(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Pe(this.update.bind(this)),this.options=Je({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Je({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){r.options.modifiers[e]=Je({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Je({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&De(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return Ge(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=on(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=rn(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=sn(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=ln(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,un(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[fn("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=hn(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return mn.call(this)}}]),t}();function jn(){return(jn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}Cn.Utils=("undefined"!=typeof window?window:t).PopperUtils,Cn.placements=wn,Cn.Defaults=Tn;var Ln="undefined"!=typeof window&&"undefined"!=typeof document,An=Ln?navigator.userAgent:"",_n=/MSIE |Trident\//.test(An),Mn=/UCBrowser\//.test(An),Pn=Ln&&/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,Dn={a11y:!0,allowHTML:!0,animateFill:!0,animation:"shift-away",appendTo:function(){return document.body},aria:"describedby",arrow:!1,arrowType:"sharp",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,onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},placement:"top",popperOptions:{},role:"tooltip",showOnInit:!1,size:"regular",sticky:!1,target:"",theme:"dark",touch:!0,touchHold:!1,trigger:"mouseenter focus",updateDuration:0,wait:null,zIndex:9999},In=["arrow","arrowType","boundary","distance","flip","flipBehavior","flipOnUpdate","offset","placement","popperOptions"],Nn={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-content",BACKDROP:".tippy-backdrop",ARROW:".tippy-arrow",ROUND_ARROW:".tippy-roundarrow"},Fn=Ln?Element.prototype:{},Yn=Fn.matches||Fn.matchesSelector||Fn.webkitMatchesSelector||Fn.mozMatchesSelector||Fn.msMatchesSelector;function Hn(t){return[].slice.call(t)}function Bn(t,e){return(Fn.closest||function(t){for(var e=this;e;){if(Yn.call(e,t))return e;e=e.parentElement}}).call(t,e)}function Xn(t,e){for(;t;){if(e(t))return t;t=t.parentElement}}var Wn={passive:!0},Rn=4,Vn=Object.keys(Dn);function Un(t,e){return{}.hasOwnProperty.call(t,e)}function zn(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?n:r}return t}function qn(t,e){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout(function(){return t.apply(r,o)},e)}}function $n(t,e){return t&&t.modifiers&&t.modifiers[e]}function Gn(t,e){return t.indexOf(e)>-1}function Kn(t){return!(!t||!Un(t,"isVirtual"))||t instanceof Element}function Jn(t,e){return"function"==typeof t?t.apply(null,e):t}function Qn(t,e){t.filter(function(t){return"flip"===t.name})[0].enabled=e}function Zn(){return document.createElement("div")}function tr(t,e){var n=jn({},e,{content:Jn(e.content,[t])},e.ignoreAttributes?{}:function(t){return Vn.reduce(function(e,n){var r=(t.getAttribute("data-tippy-".concat(n))||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e},{})}(t));return(n.arrow||Mn)&&(n.animateFill=!1),n}function er(t,e){Object.keys(t).forEach(function(t){if(!Un(e,t))throw new Error("[tippy]: `".concat(t,"` is not a valid option"))})}function nr(t,e){t.innerHTML=e instanceof Element?e.innerHTML:e}function rr(t,e){if(e.content instanceof Element)nr(t,""),t.appendChild(e.content);else if("function"!=typeof e.content){var n=e.allowHTML?"innerHTML":"textContent";t[n]=e.content}}function or(t){return{tooltip:t.querySelector(Nn.TOOLTIP),backdrop:t.querySelector(Nn.BACKDROP),content:t.querySelector(Nn.CONTENT),arrow:t.querySelector(Nn.ARROW)||t.querySelector(Nn.ROUND_ARROW)}}function ir(t){t.setAttribute("data-inertia","")}function ar(t){var e=Zn();return"round"===t?(e.className="tippy-roundarrow",nr(e,'<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>')):e.className="tippy-arrow",e}function pr(){var t=Zn();return t.className="tippy-backdrop",t.setAttribute("data-state","hidden"),t}function sr(t,e){t.setAttribute("tabindex","-1"),e.setAttribute("data-interactive","")}function cr(t,e){t.forEach(function(t){t&&(t.style.transitionDuration="".concat(e,"ms"))})}function lr(t,e,n){var r=Mn&&void 0!==document.body.style.webkitTransition?"webkitTransitionEnd":"transitionend";t[e+"EventListener"](r,n)}function ur(t){var e=t.getAttribute("x-placement");return e?e.split("-")[0]:""}function fr(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function dr(t,e,n){n.split(" ").forEach(function(n){t.classList[e](n+"-theme")})}function hr(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.checkHideOnClick,n=t.exclude,r=t.duration;Hn(document.querySelectorAll(Nn.POPPER)).forEach(function(t){var o=t._tippy;!o||e&&!0!==o.props.hideOnClick||n&&t===n.popper||o.hide(r)})}var mr=!1;function vr(){mr||(mr=!0,Pn&&document.body.classList.add("tippy-iOS"),window.performance&&document.addEventListener("mousemove",yr))}var br=0;function yr(){var t=performance.now();t-br<20&&(mr=!1,document.removeEventListener("mousemove",yr),Pn||document.body.classList.remove("tippy-iOS")),br=t}function gr(t){if(!(t.target instanceof Element))return hr();var e=Bn(t.target,Nn.POPPER);if(!(e&&e._tippy&&e._tippy.props.interactive)){var n=Xn(t.target,function(t){return t._tippy&&t._tippy.reference===t});if(n){var r=n._tippy;if(r){var o=Gn(r.props.trigger||"","click");if(mr||o)return hr({exclude:r,checkHideOnClick:!0});if(!0!==r.props.hideOnClick||o)return;r.clearDelayTimeouts()}}hr({checkHideOnClick:!0})}}function wr(){var t=document,e=t.activeElement;e&&e.blur&&e._tippy&&e.blur()}var xr=1;function Or(t,e){var n,r,o,i,a,p=tr(t,e);if(!p.multiple&&t._tippy)return null;var s,c,l,u=!1,f=[],d=p.interactiveDebounce>0?qn(E,p.interactiveDebounce):E,h=xr++,m=function(t,e){var n=Zn();n.className="tippy-popper",n.id="tippy-".concat(t),n.style.zIndex=""+e.zIndex,e.role&&n.setAttribute("role",e.role);var r=Zn();r.className="tippy-tooltip",r.style.maxWidth=e.maxWidth+("number"==typeof e.maxWidth?"px":""),r.setAttribute("data-size",e.size),r.setAttribute("data-animation",e.animation),r.setAttribute("data-state","hidden"),dr(r,"add",e.theme);var o=Zn();return o.className="tippy-content",o.setAttribute("data-state","hidden"),e.interactive&&sr(n,r),e.arrow&&r.appendChild(ar(e.arrowType)),e.animateFill&&(r.appendChild(pr()),r.setAttribute("data-animatefill","")),e.inertia&&ir(r),rr(o,e),r.appendChild(o),n.appendChild(r),n}(h,p),v=or(m),b={id:h,reference:t,popper:m,popperChildren:v,popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:Y,set:H,setContent:function(t){H({content:t})},show:B,hide:X,enable:function(){b.state.isEnabled=!0},disable:function(){b.state.isEnabled=!1},destroy:W};return I(),p.lazy||(A(),b.popperInstance.disableEventListeners()),p.showOnInit&&g(),p.a11y&&!p.target&&(l=t)instanceof Element&&(!Yn.call(l,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")||l.hasAttribute("disabled"))&&t.setAttribute("tabindex","0"),m.addEventListener("mouseenter",function(t){b.props.interactive&&b.state.isVisible&&"mouseenter"===n&&g(t)}),m.addEventListener("mouseleave",function(){b.props.interactive&&"mouseenter"===n&&document.addEventListener("mousemove",d)}),t._tippy=b,m._tippy=b,b;function y(t){var e=r=t,n=e.clientX,o=e.clientY;if(b.popperInstance){var i=ur(b.popper),a=b.props.arrow?Rn+("round"===b.props.arrowType?18:16):Rn,p=Gn(["top","bottom"],i),s=Gn(["left","right"],i),c=p?Math.max(a,n):n,l=s?Math.max(a,o):o;p&&c>a&&(c=Math.min(n,window.innerWidth-a)),s&&l>a&&(l=Math.min(o,window.innerHeight-a));var u=b.reference.getBoundingClientRect(),f=b.props.followCursor,d="horizontal"===f,h="vertical"===f;b.popperInstance.reference=jn({},b.popperInstance.reference,{getBoundingClientRect:function(){return{width:0,height:0,top:d?u.top:l,bottom:d?u.bottom:l,left:h?u.left:c,right:h?u.right:c}},clientWidth:0,clientHeight:0}),b.popperInstance.scheduleUpdate(),"initial"===f&&b.state.isVisible&&x()}}function g(t){if(Y(),!b.state.isVisible){if(b.props.target)return function(t){if(t){var n=Bn(t.target,b.props.target);n&&!n._tippy&&(Or(n,jn({},b.props,{content:Jn(e.content,[n]),appendTo:e.appendTo,target:"",showOnInit:!0})),g(t))}}(t);if(u=!0,b.props.wait)return b.props.wait(b,t);M()&&!b.state.isMounted&&document.addEventListener("mousemove",y);var n=zn(b.props.delay,0,Dn.delay);n?o=setTimeout(function(){B()},n):B()}}function w(){if(Y(),!b.state.isVisible)return x();u=!1;var t=zn(b.props.delay,1,Dn.delay);t?i=setTimeout(function(){b.state.isVisible&&X()},t):a=requestAnimationFrame(function(){X()})}function x(){document.removeEventListener("mousemove",y)}function O(){document.body.removeEventListener("mouseleave",w),document.removeEventListener("mousemove",d)}function k(t){b.state.isEnabled&&!L(t)&&(b.state.isVisible||(n=t.type,t instanceof MouseEvent&&(r=t)),"click"===t.type&&!1!==b.props.hideOnClick&&b.state.isVisible?w():g(t))}function E(t){var e=Xn(t.target,function(t){return t._tippy}),n=Bn(t.target,Nn.POPPER)===b.popper,r=e===b.reference;n||r||function(t,e,n,r){if(!t)return!0;var o=n.clientX,i=n.clientY,a=r.interactiveBorder,p=r.distance,s=e.top-i>("top"===t?a+p:a),c=i-e.bottom>("bottom"===t?a+p:a),l=e.left-o>("left"===t?a+p:a),u=o-e.right>("right"===t?a+p:a);return s||c||l||u}(ur(b.popper),b.popper.getBoundingClientRect(),t,b.props)&&(O(),w())}function S(t){if(!L(t))return b.props.interactive?(document.body.addEventListener("mouseleave",w),void document.addEventListener("mousemove",d)):void w()}function T(t){t.target===b.reference&&(b.props.interactive&&t.relatedTarget&&b.popper.contains(t.relatedTarget)||w())}function C(t){Bn(t.target,b.props.target)&&g(t)}function j(t){Bn(t.target,b.props.target)&&w()}function L(t){var e="ontouchstart"in window,n=Gn(t.type,"touch"),r=b.props.touchHold;return e&&mr&&r&&!n||mr&&!r&&n}function A(){var t=b.props.popperOptions,e=b.popperChildren,n=e.tooltip,r=e.arrow,o=$n(t,"preventOverflow");function i(t){b.props.flip&&!b.props.flipOnUpdate&&(t.flipped&&(b.popperInstance.options.placement=t.placement),Qn(b.popperInstance.modifiers,!1)),n.setAttribute("x-placement",t.placement);var e=ur(b.popper),r=n.style;r.top=r.bottom=r.left=r.right="",r[e]=-(b.props.distance-10)+"px";var i=o&&void 0!==o.padding?o.padding:Rn,a="number"==typeof i,p=jn({top:a?i:i.top,bottom:a?i:i.bottom,left:a?i:i.left,right:a?i:i.right},!a&&i);p[e]=a?i+b.props.distance:(i[e]||0)+b.props.distance,b.popperInstance.modifiers.filter(function(t){return"preventOverflow"===t.name})[0].padding=p}var a=jn({placement:b.props.placement},t,{modifiers:jn({},t?t.modifiers:{},{preventOverflow:jn({boundariesElement:b.props.boundary,padding:Rn},o),arrow:jn({element:r,enabled:!!r},$n(t,"arrow")),flip:jn({enabled:b.props.flip,padding:b.props.distance+Rn,behavior:b.props.flipBehavior},$n(t,"flip")),offset:jn({offset:b.props.offset},$n(t,"offset"))}),onCreate:function(e){i(e),t&&t.onCreate&&t.onCreate(e)},onUpdate:function(e){i(e),t&&t.onUpdate&&t.onUpdate(e)}});b.popperInstance=new Cn(b.reference,b.popper,a)}function _(t){var e=!(M()||"initial"===b.props.followCursor&&mr);b.popperInstance?(M()||(b.popperInstance.scheduleUpdate(),e&&b.popperInstance.enableEventListeners()),Qn(b.popperInstance.modifiers,b.props.flip)):(A(),e||b.popperInstance.disableEventListeners()),b.popperInstance.reference=b.reference;var n=b.popperChildren.arrow;M()?(n&&(n.style.margin="0"),r&&y(r)):n&&(n.style.margin=""),mr&&r&&"initial"===b.props.followCursor&&(y(r),n&&(n.style.margin="0")),function(t,e){var n=t.popper,r=t.options,o=r.onCreate,i=r.onUpdate;r.onCreate=r.onUpdate=function(t){!function(t){t.offsetHeight}(n),e(),i&&i(t),r.onCreate=o,r.onUpdate=i}}(b.popperInstance,t);var o=b.props.appendTo;(c="parent"===o?b.reference.parentNode:Jn(o,[b.reference])).contains(b.popper)||(c.appendChild(b.popper),b.props.onMount(b),b.state.isMounted=!0)}function M(){return b.props.followCursor&&!mr&&"focus"!==n}function P(t,e){var n=b.popperChildren.tooltip;function r(t){t.target===n&&(lr(n,"remove",r),e())}if(0===t)return e();lr(n,"remove",s),lr(n,"add",r),s=r}function D(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];b.reference.addEventListener(t,e,n),f.push({eventType:t,handler:e,options:n})}function I(){b.props.touchHold&&!b.props.target&&(D("touchstart",k,Wn),D("touchend",S,Wn)),b.props.trigger.trim().split(" ").forEach(function(t){if("manual"!==t)if(b.props.target)switch(t){case"mouseenter":D("mouseover",C),D("mouseout",j);break;case"focus":D("focusin",C),D("focusout",j);break;case"click":D(t,C)}else switch(D(t,k),t){case"mouseenter":D("mouseleave",S);break;case"focus":D(_n?"focusout":"blur",T)}})}function N(){f.forEach(function(t){var e=t.eventType,n=t.handler,r=t.options;b.reference.removeEventListener(e,n,r)}),f=[]}function F(){return[b.popperChildren.tooltip,b.popperChildren.backdrop,b.popperChildren.content]}function Y(){clearTimeout(o),clearTimeout(i),cancelAnimationFrame(a)}function H(t){er(t=t||{},Dn);var e=b.props,n=tr(b.reference,jn({},b.props,t,{ignoreAttributes:!0}));n.ignoreAttributes=Un(t,"ignoreAttributes")?t.ignoreAttributes||!1:e.ignoreAttributes,b.props=n,(Un(t,"trigger")||Un(t,"touchHold"))&&(N(),I()),Un(t,"interactiveDebounce")&&(O(),d=qn(E,t.interactiveDebounce||0)),function(t,e,n){var r=or(t),o=r.tooltip,i=r.content,a=r.backdrop,p=r.arrow;t.style.zIndex=""+n.zIndex,o.setAttribute("data-size",n.size),o.setAttribute("data-animation",n.animation),o.style.maxWidth=n.maxWidth+("number"==typeof n.maxWidth?"px":""),n.role?t.setAttribute("role",n.role):t.removeAttribute("role"),e.content!==n.content&&rr(i,n),!e.animateFill&&n.animateFill?(o.appendChild(pr()),o.setAttribute("data-animatefill","")):e.animateFill&&!n.animateFill&&(o.removeChild(a),o.removeAttribute("data-animatefill")),!e.arrow&&n.arrow?o.appendChild(ar(n.arrowType)):e.arrow&&!n.arrow&&o.removeChild(p),e.arrow&&n.arrow&&e.arrowType!==n.arrowType&&o.replaceChild(ar(n.arrowType),p),!e.interactive&&n.interactive?sr(t,o):e.interactive&&!n.interactive&&function(t,e){t.removeAttribute("tabindex"),e.removeAttribute("data-interactive")}(t,o),!e.inertia&&n.inertia?ir(o):e.inertia&&!n.inertia&&function(t){t.removeAttribute("data-inertia")}(o),e.theme!==n.theme&&(dr(o,"remove",e.theme),dr(o,"add",n.theme))}(b.popper,e,n),b.popperChildren=or(b.popper),b.popperInstance&&(b.popperInstance.update(),In.some(function(e){return Un(t,e)})&&(b.popperInstance.destroy(),A(),b.state.isVisible||b.popperInstance.disableEventListeners(),b.props.followCursor&&r&&y(r)))}function B(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zn(b.props.duration,0,Dn.duration[1]);if(!b.state.isDestroyed&&b.state.isEnabled&&(!mr||b.props.touch))return Un(b.reference,"isVirtual")||document.documentElement.contains(b.reference)?void(b.reference.hasAttribute("disabled")||!1!==b.props.onShow(b)&&(b.popper.style.visibility="visible",b.state.isVisible=!0,b.props.interactive&&b.reference.classList.add("tippy-active"),cr([b.popper,b.popperChildren.tooltip,b.popperChildren.backdrop],0),_(function(){b.state.isVisible&&(M()||b.popperInstance.update(),cr([b.popper],p.updateDuration),cr(F(),t),b.popperChildren.backdrop&&(b.popperChildren.content.style.transitionDelay=Math.round(t/12)+"ms"),b.props.sticky&&(cr([b.popper],_n?0:b.props.updateDuration),function t(){b.popperInstance&&b.popperInstance.scheduleUpdate(),b.state.isMounted?requestAnimationFrame(t):cr([b.popper],0)}()),fr(F(),"visible"),function(t,e){P(t,e)}(t,function(){b.popperChildren.tooltip.classList.add("tippy-notransition"),b.props.aria&&b.reference.setAttribute("aria-".concat(b.props.aria),b.popper.id),b.props.onShown(b),b.state.isShown=!0}))}))):W()}function X(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zn(b.props.duration,1,Dn.duration[1]);!b.state.isDestroyed&&b.state.isEnabled&&!1!==b.props.onHide(b)&&(b.popperChildren.tooltip.classList.remove("tippy-notransition"),b.props.interactive&&b.reference.classList.remove("tippy-active"),b.popper.style.visibility="hidden",b.state.isVisible=!1,b.state.isShown=!1,cr(F(),t),fr(F(),"hidden"),function(t,e){P(t,function(){!b.state.isVisible&&c&&c.contains(b.popper)&&e()})}(t,function(){u||x(),b.props.aria&&b.reference.removeAttribute("aria-".concat(b.props.aria)),b.popperInstance.disableEventListeners(),b.popperInstance.options.placement=b.props.placement,c.removeChild(b.popper),b.props.onHidden(b),b.state.isMounted=!1}))}function W(t){b.state.isDestroyed||(b.state.isMounted&&X(0),N(),delete b.reference._tippy,b.props.target&&t&&Hn(b.reference.querySelectorAll(b.props.target)).forEach(function(t){t._tippy&&t._tippy.destroy()}),b.popperInstance&&b.popperInstance.destroy(),b.state.isDestroyed=!0)}}var kr=!1;function Er(t,e){er(e||{},Dn),kr||(document.addEventListener("click",gr,!0),document.addEventListener("touchstart",vr,Wn),window.addEventListener("blur",wr),kr=!0);var n,r=jn({},Dn,e);n=t,"[object Object]"!=={}.toString.call(n)||n.addEventListener||function(t){var e={isVirtual:!0,attributes:t.attributes||{},setAttribute:function(e,n){t.attributes[e]=n},getAttribute:function(e){return t.attributes[e]},removeAttribute:function(e){delete t.attributes[e]},hasAttribute:function(e){return e in t.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(e){t.classList.classNames[e]=!0},remove:function(e){delete t.classList.classNames[e]},contains:function(e){return e in t.classList.classNames}}};for(var n in e)t[n]=e[n]}(t);var o=function(t){if(Kn(t))return[t];if(t instanceof NodeList)return Hn(t);if(Array.isArray(t))return t;try{return Hn(document.querySelectorAll(t))}catch(t){return[]}}(t).reduce(function(t,e){var n=e&&Or(e,r);return n&&t.push(n),t},[]);return Kn(t)?o[0]:o}Er.version="4.2.0",Er.defaults=Dn,Er.setDefaults=function(t){Object.keys(t).forEach(function(e){Dn[e]=t[e]})},Er.hideAll=hr,Er.group=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.delay,r=void 0===n?t[0].props.delay:n,o=e.duration,i=void 0===o?0:o;if(!t.some(function(t){return Un(t,"_originalProps")})){var a=!1;t.forEach(function(t){t._originalProps=jn({},t.props)}),u()}function p(t){a=t,u()}function s(e){e._originalProps.onShow(e),t.forEach(function(t){t.set({duration:i}),t.hide()}),p(!0)}function c(t){t._originalProps.onHide(t),p(!1)}function l(t){t._originalProps.onShown(t),t.set({duration:t._originalProps.duration})}function u(){t.forEach(function(t){t.set({onShow:s,onShown:l,onHide:c,delay:a?[0,Array.isArray(r)?r[1]:r]:r,duration:a?i:t._originalProps.duration})})}},Ln&&setTimeout(function(){Hn(document.querySelectorAll("[data-tippy]")).forEach(function(t){var e=t.getAttribute("data-tippy");e&&Er(t,{content:e})})}),function(t){if(Ln){var e=document.createElement("style");e.type="text/css",e.textContent=t;var n=document.head,r=n.firstChild;r?n.insertBefore(e,r):n.appendChild(e)}}('.tippy-iOS{cursor:pointer!important}.tippy-notransition{transition:none}.tippy-popper{transition-timing-function:cubic-bezier(.165,.84,.44,1);max-width:calc(100% - 8px);pointer-events:none;outline:0}.tippy-popper[x-placement^=top] .tippy-backdrop{border-radius:40% 40% 0 0}.tippy-popper[x-placement^=top] .tippy-roundarrow{bottom:-7px;bottom:-6.5px;-webkit-transform-origin:50% 0;transform-origin:50% 0;margin:0 3px}.tippy-popper[x-placement^=top] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.tippy-popper[x-placement^=top] .tippy-arrow{border-top:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;bottom:-7px;margin:0 3px;-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;transform-origin:0 25%}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-popper[x-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%);opacity:0}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px)}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(-10px) rotateX(0);transform:perspective(700px) translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(60deg);transform:perspective(700px) translateY(0) rotateX(60deg)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(-10px) scale(.5);transform:translateY(-10px) scale(.5)}.tippy-popper[x-placement^=bottom] .tippy-backdrop{border-radius:0 0 30% 30%}.tippy-popper[x-placement^=bottom] .tippy-roundarrow{top:-7px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;margin:0 3px}.tippy-popper[x-placement^=bottom] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(0);transform:rotate(0)}.tippy-popper[x-placement^=bottom] .tippy-arrow{border-bottom:8px solid #333;border-right:8px solid transparent;border-left:8px solid transparent;top:-7px;margin:0 3px;-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.tippy-popper[x-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-popper[x-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%);opacity:0}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateY(10px) rotateX(0);transform:perspective(700px) translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateY(0) rotateX(-60deg);transform:perspective(700px) translateY(0) rotateX(-60deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=visible]{-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateY(10px) scale(.5);transform:translateY(10px) scale(.5)}.tippy-popper[x-placement^=left] .tippy-backdrop{border-radius:50% 0 0 50%}.tippy-popper[x-placement^=left] .tippy-roundarrow{right:-12px;-webkit-transform-origin:33.33333333% 50%;transform-origin:33.33333333% 50%;margin:3px 0}.tippy-popper[x-placement^=left] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.tippy-popper[x-placement^=left] .tippy-arrow{border-left:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;right:-7px;margin:3px 0;-webkit-transform-origin:0 50%;transform-origin:0 50%}.tippy-popper[x-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%);opacity:0}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(-20px);transform:translateX(-20px)}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(-10px) rotateY(0);transform:perspective(700px) translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(-60deg);transform:perspective(700px) translateX(0) rotateY(-60deg)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(-10px) scale(.5);transform:translateX(-10px) scale(.5)}.tippy-popper[x-placement^=right] .tippy-backdrop{border-radius:0 50% 50% 0}.tippy-popper[x-placement^=right] .tippy-roundarrow{left:-12px;-webkit-transform-origin:66.66666666% 50%;transform-origin:66.66666666% 50%;margin:3px 0}.tippy-popper[x-placement^=right] .tippy-roundarrow svg{position:absolute;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.tippy-popper[x-placement^=right] .tippy-arrow{border-right:8px solid #333;border-top:8px solid transparent;border-bottom:8px solid transparent;left:-7px;margin:3px 0;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.tippy-popper[x-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-popper[x-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%);opacity:0}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-toward][data-state=hidden]{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=visible]{-webkit-transform:perspective(700px) translateX(10px) rotateY(0);transform:perspective(700px) translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective][data-state=hidden]{opacity:0;-webkit-transform:perspective(700px) translateX(0) rotateY(60deg);transform:perspective(700px) translateX(0) rotateY(60deg)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=visible]{-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift-away][data-state=hidden]{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=visible]{-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale][data-state=hidden]{opacity:0;-webkit-transform:translateX(10px) scale(.5);transform:translateX(10px) scale(.5)}.tippy-tooltip{position:relative;color:#fff;border-radius:.25rem;font-size:.875rem;padding:.3125rem .5625rem;line-height:1.4;text-align:center;background-color:#333}.tippy-tooltip[data-size=small]{padding:.1875rem .375rem;font-size:.75rem}.tippy-tooltip[data-size=large]{padding:.375rem .75rem;font-size:1rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive],.tippy-tooltip[data-interactive] path{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-tooltip[data-inertia][data-state=hidden]{transition-timing-function:ease}.tippy-arrow,.tippy-roundarrow{position:absolute;width:0;height:0}.tippy-roundarrow{width:18px;height:7px;fill:#333;pointer-events:none}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=visible]{opacity:1}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}');var Sr="Using the attachment feature of Shepherd requires the Tippy.js library",Tr={computeStyle:{enabled:!0,fn:function(t){return t.styles=Object.assign({},t.styles,{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}),t}}},Cr={positionFixed:!0};function jr(t){var e=document.createElement("div");return e.innerHTML=t,e.children[0]}function Lr(){if(Y(Er))throw new Error(Sr);this.tooltip&&this.tooltip.destroy();var t=this.parseAttachTo();this.tooltip=function(t){if(!t.element)return function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){xe(t,e,n[e])})}return t}({content:this.el,placement:"top"},this.options.tippyOptions);t.arrow=!1,t.popperOptions=t.popperOptions||{};var e=Object.assign({},Cr,t.popperOptions,{modifiers:Object.assign(Tr,t.popperOptions.modifiers)});return t.popperOptions=e,Er(document.body,t)}.call(this);var e=function(t){var e={content:this.el,flipOnUpdate:!0,placement:t.on||"right"};if(Object.assign(e,this.options.tippyOptions),this.options.title){var n=e.theme;e.theme=n?"".concat(n," shepherd-has-title"):"shepherd-has-title"}return this.options.tippyOptions&&this.options.tippyOptions.popperOptions&&Object.assign(Cr,this.options.tippyOptions.popperOptions),e.popperOptions=Cr,e}.call(this,t);return Er(t.element,e)}.call(this,t),this.target=t.element||document.body,this.el.classList.add("shepherd-element")}function Ar(){var t=function(t){if(S(t))return t.hasOwnProperty("element")&&t.hasOwnProperty("on")?t:null;var e=/^(.+) ((auto|top|left|right|bottom)(-start|-end)?)$/.exec(t);return e?{element:e[1],on:e[2]}:null}(this.options.attachTo)||{},e=Object.assign({},t);if(we(t.element)){try{e.element=document.querySelector(t.element)}catch(t){}e.element||console.error("The element for this Shepherd step was not found ".concat(t.element))}return e}function _r(){var t=function(t,e){if(null===t||Y(t))return t;if(S(t))return t;var n=t.split(" ");return Ce(e,n)}(this.options.advanceOn,["selector","event"]),e=t.event,n=t.selector,r=function(t){var e=this;return function(n){if(e.isOpen()){var r=e.el&&n.target===e.el,o=!Y(t)&&n.target.matches(t);(o||r)&&e.tour.next()}}}.call(this,n),o=document.querySelector(n);!Y(n)&&o?o.addEventListener(e,r):document.body.addEventListener(e,r,!0),this.on("destroy",function(){return document.body.removeEventListener(e,r,!0)})}function Mr(t){var e=this;t.map(function(t){e[t]=e[t].bind(e)})}var Pr,Dr=(Pr=0,function(){return++Pr}),Ir=function(t){function e(t,n){var r;return f(this,e),(r=p(this,s(e).call(this,t,n))).tour=t,Mr.call(c(r),["_show","cancel","complete","destroy","hide","isOpen","scrollTo","setupElements","show"]),r.setOptions(n),r.bindAdvance=_r.bind(c(r)),r.bindButtonEvents=function(t,e){var n=this;t.events=t.events||{},Y(t.action)||(t.events.click=t.action),Pt(t.events,function(t,r){if(we(t)){var o=t;t=function(){return n.tour.show(o)}}e.dataset.buttonEvent=!0,e.addEventListener(r,t),n.on("destroy",function(){e.removeAttribute("data-button-event"),e.removeEventListener(r,t)})})}.bind(c(r)),r.bindCancelLink=function(t){var e=this;t.addEventListener("click",function(t){t.preventDefault(),e.cancel()})}.bind(c(r)),r.setupTooltip=Lr.bind(c(r)),r.parseAttachTo=Ar.bind(c(r)),p(r,c(r))}return l(e,t),h(e,[{key:"_addButtons",value:function(t){var e=this;if(!ye(this.options.buttons)){var n=document.createElement("footer"),r=jr('<ul class="shepherd-buttons"></ul>');n.classList.add("shepherd-footer"),this.options.buttons.map(function(t){var n=jr('<li><a class="shepherd-button '.concat(t.classes||"",'" tabindex="0">').concat(t.text,"</a>"));r.appendChild(n),e.bindButtonEvents(t,n.querySelector("a"))}),n.appendChild(r),t.appendChild(n)}}},{key:"_addCancelLink",value:function(t,e){if(this.options.showCancelLink){var n=jr('<a href class="shepherd-cancel-link"></a>');e.appendChild(n),t.classList.add("shepherd-has-cancel-link"),this.bindCancelLink(n)}}},{key:"_addContent",value:function(t){var e=jr('<div class="shepherd-text"></div>'),n=this.options.text;Lt(n)&&(n=n.call(this,e)),n instanceof HTMLElement?e.appendChild(n):(we(n)&&(n=[n]),n.map(function(t){e.innerHTML+="<p>".concat(t,"</p>")})),t.appendChild(e)}},{key:"_createTooltipContent",value:function(){var t=document.createElement("div"),e=this.options.classes||"",n=jr('<div class="'.concat(e,'" data-shepherd-step-id="').concat(this.id,'">')),r=document.createElement("header");if(this.options.title){var o=document.createElement("h3");o.classList.add("shepherd-title"),o.innerHTML="".concat(this.options.title),r.appendChild(o),n.classList.add("shepherd-has-title")}return t.classList.add("shepherd-content"),r.classList.add("shepherd-header"),n.appendChild(t),t.appendChild(r),Y(this.options.text)||this._addContent(t),this._addButtons(t),this._addCancelLink(n,r),n}},{key:"getTour",value:function(){return this.tour}},{key:"cancel",value:function(){this.tour.cancel(),this.trigger("cancel")}},{key:"complete",value:function(){this.tour.complete(),this.trigger("complete")}},{key:"destroy",value:function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),Xt(this.el)&&this.el.parentNode&&(this.el.parentNode.removeChild(this.el),this.el=null),this.target&&this._updateStepTargetOnHide(),this.trigger("destroy")}},{key:"hide",value:function(){this.tour.modal.hide(),this.trigger("before-hide"),document.body.removeAttribute("data-shepherd-step"),this.target&&this._updateStepTargetOnHide(),this.tooltip&&this.tooltip.hide(),this.trigger("hide")}},{key:"isOpen",value:function(){return Boolean(this.tooltip&&this.tooltip.state&&this.tooltip.state.isVisible)}},{key:"setupElements",value:function(){Y(this.el)||this.destroy(),this.el=this._createTooltipContent(),this.options.advanceOn&&this.bindAdvance(),this.setupTooltip()}},{key:"scrollTo",value:function(){var t=this.parseAttachTo(),e=t.element;Lt(this.options.scrollToHandler)?this.options.scrollToHandler(e):Xt(e)&&e.scrollIntoView()}},{key:"setOptions",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=e;var n=this.options.when;this.destroy(),this.id=this.options.id||"step-".concat(Dr()),Pt(n,function(e,n){t.on(n,e,t)})}},{key:"show",value:function(){var t=this;if(Lt(this.options.beforeShowPromise)){var e=this.options.beforeShowPromise();if(!Y(e))return e.then(function(){return t._show()})}this._show()}},{key:"_show",value:function(){var t=this;this.tour.beforeShowStep(this),this.trigger("before-show"),this.el||this.setupElements(),this.target.classList.add("shepherd-enabled","shepherd-target"),document.body.setAttribute("data-shepherd-step",this.id),this.options.scrollTo&&setTimeout(function(){t.scrollTo()}),this.tooltip.show(),this.trigger("show")}},{key:"_updateStepTargetOnHide",value:function(){this.options.highlightClass&&this.target.classList.remove(this.options.highlightClass),this.target.classList.remove("shepherd-enabled","shepherd-target")}}]),e}(B),Nr="[object Number]",Fr="http://www.w3.org/2000/svg",Yr={modalOverlay:"shepherdModalOverlayContainer",modalOverlayMask:"shepherdModalMask",modalOverlayMaskRect:"shepherdModalMaskRect",modalOverlayMaskOpening:"shepherdModalMaskOpening"},Hr={isVisible:"shepherd-modal-is-visible",modalTarget:"shepherd-modal-target"};function Br(){var t,e=((t=document.createElementNS(Fr,"svg")).setAttributeNS(null,"id",Yr.modalOverlay),t),n=document.createElementNS(Fr,"defs"),r=function(){var t=document.createElementNS(Fr,"mask");return Vr(t,{height:"100%",id:Yr.modalOverlayMask,width:"100%",x:"0",y:"0"}),t}(),o=function(){var t=document.createElementNS(Fr,"rect");return Vr(t,{fill:"#FFFFFF",height:"100%",id:Yr.modalOverlayMaskRect,width:"100%",x:"0",y:"0"}),t}(),i=function(){var t=document.createElementNS(Fr,"rect");return Vr(t,{fill:"#000000",id:Yr.modalOverlayMaskOpening}),t}(),a=function(){var t=document.createElementNS(Fr,"rect");return Vr(t,{height:"100%",width:"100%",x:"0",y:"0"}),t.setAttribute("mask","url(#".concat(Yr.modalOverlayMask,")")),t}();return r.appendChild(o),r.appendChild(i),n.appendChild(r),e.appendChild(n),e.appendChild(a),e}function Xr(t,e){if(t.getBoundingClientRect&&e instanceof SVGElement){var n=t.getBoundingClientRect(),r=n.x,o=n.y,i=n.width,a=n.height,p=n.left,s=n.top;Vr(e,{x:r||p,y:o||s,width:i,height:a})}}function Wr(t){t.preventDefault()}function Rr(t){t.stopPropagation()}function Vr(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function Ur(t){var e=t.options.attachTo;if(!e)return null;var n=m(e);return"string"===n?function(t){var e=Oe(t.split(" "),1)[0];return document.querySelector(e)}(e):"object"===n?function(t){var e=t.element;return e instanceof HTMLElement?e:document.querySelector(e)}(e):null}function zr(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!0)),window.addEventListener("resize",this._onScreenChange,!1),window.addEventListener("scroll",this._onScreenChange,!0);var t=document.querySelector("#".concat(Yr.modalOverlay));window.addEventListener("touchmove",Wr,{passive:!1}),t&&t.addEventListener("touchmove",Rr,!1)}var qr=function(){return a.Date.now()},$r="Expected a function",Gr=Math.max,Kr=Math.min;function Jr(t,e,r){var o,i,a,p,s,c,l=0,u=!1,f=!1,d=!0;if("function"!=typeof t)throw new TypeError($r);function h(e){var n=o,r=i;return o=i=void 0,l=e,p=t.apply(r,n)}function m(t){var n=t-c,r=t-l;return void 0===c||n>=e||n<0||f&&r>=a}function v(){var t=qr();if(m(t))return b(t);s=setTimeout(v,function(t){var n=t-l,r=e-(t-c);return f?Kr(r,a-n):r}(t))}function b(t){return s=void 0,d&&o?h(t):(o=i=void 0,p)}function y(){var t=qr(),n=m(t);if(o=arguments,i=this,c=t,n){if(void 0===s)return function(t){return l=t,s=setTimeout(v,e),u?h(t):p}(c);if(f)return s=setTimeout(v,e),h(c)}return void 0===s&&(s=setTimeout(v,e)),p}return e=P(e)||0,n(r)&&(u=!!r.leading,a=(f="maxWait"in r)?Gr(P(r.maxWait)||0,e):a,d="trailing"in r?!!r.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),l=0,o=c=i=s=void 0},y.flush=function(){return void 0===s?p:b(qr())},y}var Qr="Expected a function",Zr=Math.max,to=ke?function(t,e){return ke(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Mt,eo=800,no=16,ro=Date.now,oo=function(t){var e=0,n=0;return function(){var r=ro(),o=no-(r-n);if(n=r,o>0){if(++e>=eo)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(to),io=function(t,e){return oo(function(t,e,n){return e=Zr(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=Zr(r.length-e,0),a=Array(i);++o<i;)a[o]=r[e+o];o=-1;for(var p=Array(e+1);++o<e;)p[o]=r[o];return p[e]=n(a),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,p)}}(t,e,Mt),t+"")}(function(t,e){return function(t,e,n){if("function"!=typeof t)throw new TypeError(Qr);return setTimeout(function(){t.apply(void 0,n)},e)}(t,1,e)}),ao=function(){function t(e){return f(this,t),this._modalOverlayElem||(this._modalOverlayElem=Br(),this._modalOverlayOpening=this._modalOverlayElem.querySelector("#".concat(Yr.modalOverlayMaskOpening)),this.hide(),document.body.appendChild(this._modalOverlayElem)),this.options=e,this}return h(t,[{key:"cleanup",value:function(){var t=this;io(function(){var e=t._modalOverlayElem;e&&e instanceof SVGElement&&e.parentNode.removeChild(e),t._modalOverlayElem=null,document.body.classList.remove(Hr.isVisible)})}},{key:"hide",value:function(){document.body.classList.remove(Hr.isVisible),this._modalOverlayElem&&(this._modalOverlayElem.style.display="none")}},{key:"setupForStep",value:function(t){this.options.useModalOverlay?(this._styleForStep(t),this.show()):this.hide()}},{key:"show",value:function(){document.body.classList.add(Hr.isVisible),this._modalOverlayElem&&(this._modalOverlayElem.style.display="block")}},{key:"_styleForStep",value:function(t){var e,n=this._modalOverlayOpening,r=Ur(t);r?(Xr(r,n),this._onScreenChange=Jr(Xr.bind(this,r,n),0,{leading:!1,trailing:!0}),zr.call(this)):(e=this._modalOverlayOpening)&&e instanceof SVGElement&&Vr(e,{height:"0",x:"0",y:"0",width:"0"})}}]),t}(),po={trigger:"manual",arrow:!0,animation:"fade",duration:420,flip:!0,animateFill:!1,interactive:!0,hideOnClick:"toggle",multiple:!0},so=function(){var t=0;return function(){return++t}}(),co=new B,lo=function(t){function e(){var t;f(this,e);var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=p(this,s(e).call(this,n)),Mr.call(c(t),["back","cancel","complete","hide","next"]),t.options=n,t.steps=t.options.steps||[],["active","cancel","complete","inactive","show","start"].map(function(e){var n;n=e,t.on(n,function(e){(e=e||{}).tour=c(t),co.trigger(n,e)})}),t.modal=new ao(n),t._setTooltipDefaults(),t._setTourID(),p(t,c(t))}return l(e,t),h(e,[{key:"addStep",value:function(t,e){var n,r;return Y(e)?r=t:(n=t,r=e),r instanceof Ir?r.tour=this:r=this.setupStep(r,n),this.steps.push(r),r}},{key:"back",value:function(){var t=this.steps.indexOf(this.currentStep);this.show(t-1,!1)}},{key:"cancel",value:function(){if(this.options.confirmCancel){var t=this.options.confirmCancelMessage||"Are you sure you want to stop the tour?",e=window.confirm(t);e&&this.done("cancel")}else this.done("cancel")}},{key:"complete",value:function(){this.done("complete")}},{key:"done",value:function(t){ye(this.steps)||this.steps.forEach(function(t){return t.destroy()}),function(){"function"==typeof this._onScreenChange&&(window.removeEventListener("resize",this._onScreenChange,!1),window.removeEventListener("scroll",this._onScreenChange,!1),this._onScreenChange=null),window.removeEventListener("touchmove",Wr,{passive:!1})}.call(this),function(t){if(t){var e=t.steps;e.forEach(function(t){if(t.options&&!1===t.options.canClickTarget&&t.options.attachTo){var e=Ur(t);e instanceof HTMLElement&&(e.style.pointerEvents="auto")}})}}(this.tourObject),this.modal.cleanup(),this.trigger(t),co.activeTour=null,this._removeBodyAttrs(),this.trigger("inactive",{tour:this})}},{key:"getById",value:function(t){return this.steps.find(function(e){return e.id===t})}},{key:"getCurrentStep",value:function(){return this.currentStep}},{key:"hide",value:function(){var t=this.getCurrentStep();if(t)return t.hide()}},{key:"isActive",value:function(){return co.activeTour===this}},{key:"next",value:function(){var t=this.steps.indexOf(this.currentStep);t===this.steps.length-1?this.complete():this.show(t+1,!0)}},{key:"removeStep",value:function(t){var e=this,n=this.getCurrentStep();this.steps.some(function(n,r){if(n.id===t)return n.isOpen()&&n.hide(),n.destroy(),e.steps.splice(r,1),!0}),n&&n.id===t&&(this.currentStep=void 0,this.steps.length?this.show(0):this.cancel())}},{key:"setupStep",value:function(t,e){var n;return(we(e)||"number"==typeof(n=e)||S(n)&&E(n)==Nr)&&(t.id=e.toString()),t=Object.assign({},this.options.defaultStepOptions,t),new Ir(this,t)}},{key:"beforeShowStep",value:function(t){this.modal.setupForStep(t),this._styleTargetElementForStep(t)}},{key:"show",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=we(t)?this.getById(t):this.steps[t];if(n){this._updateStateBeforeShow();var r=Lt(n.options.showOn)&&!n.options.showOn();r?this._skipStep(n,e):(this.trigger("show",{step:n,previous:this.currentStep}),this.currentStep=n,n.show())}}},{key:"start",value:function(){this.trigger("start"),this.currentStep=null,this._setupActiveTour(),zr.call(this),this.next()}},{key:"_setupActiveTour",value:function(){this._addBodyAttrs(),this.trigger("active",{tour:this}),co.activeTour=this}},{key:"_styleTargetElementForStep",value:function(t){var e,n,r=Ur(t);r&&(e=r,(n=document.querySelector("".concat(Hr.modalTarget)))&&n.classList.remove(Hr.modalTarget),e.classList.add(Hr.modalTarget),t.options.highlightClass&&r.classList.add(t.options.highlightClass),!1===t.options.canClickTarget&&(r.style.pointerEvents="none"))}},{key:"_skipStep",value:function(t,e){var n=this.steps.indexOf(t),r=e?n+1:n-1;this.show(r,e)}},{key:"_setTooltipDefaults",value:function(){Er.setDefaults(po)}},{key:"_updateStateBeforeShow",value:function(){this.currentStep&&this.currentStep.hide(),this.isActive()||this._setupActiveTour()}},{key:"_setTourID",value:function(){var t=this.options.tourName||"tour",e=so();this.id="".concat(t,"--").concat(e)}},{key:"_addBodyAttrs",value:function(){document.body.setAttribute("data-shepherd-active-tour",this.id),document.body.classList.add("shepherd-active")}},{key:"_removeBodyAttrs",value:function(){document.body.removeAttribute("data-shepherd-active-tour"),document.body.classList.remove("shepherd-active")}}]),e}(B);return Object.assign(co,{Tour:lo,Step:Ir,Evented:B}),co},"object"===m(e)&&void 0!==r?r.exports=a():void 0===(i="function"==typeof(o=a)?o.call(e,n,e,r):o)||(r.exports=i)}).call(this,n(3),n(6)(t))},3:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},543:function(t,e,n){"use strict";n.r(e);var r=n(241),o=n.n(r);n.d(e,"Shepherd",function(){return o.a})},6:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}}});if("object"==typeof n){var r=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var o in n)r[0]&&(r[0][o]=n[o]),r[1]&&"__esModule"!==o&&(r[1][o]=n[o]),r[2]&&(r[2][o]=n[o])}}(this);