1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2176],{41588:function(e){"use strict";var t=function(e,t){return e+n(t)},n=function(e){return null===e||"boolean"==typeof e||void 0===e?"":"number"==typeof e?e.toString():"string"==typeof e?e:Array.isArray(e)?e.reduce(t,""):Object.prototype.hasOwnProperty.call(e,"props")&&Object.prototype.hasOwnProperty.call(e.props,"children")?n(e.props.children):""};n.default=n,e.exports=n},84853:function(e){var t=Error("Element already at target scroll position"),n=Error("Scroll cancelled"),r=Math.min,o=Date.now;function i(e){return function(i,c,u,s){"function"==typeof(u=u||{})&&(s=u,u={}),"function"!=typeof s&&(s=a);var f=o(),d=i[e],p=u.ease||l,g=isNaN(u.duration)?350:+u.duration,m=!1;return d===c?s(t,i[e]):requestAnimationFrame(function t(l){if(m)return s(n,i[e]);var a=r(1,(o()-f)/g),u=p(a);i[e]=u*(c-d)+d,a<1?requestAnimationFrame(t):requestAnimationFrame(function(){s(null,i[e])})}),function(){m=!0}}}function l(e){return .5*(1-Math.cos(Math.PI*e))}function a(){}e.exports={left:i("scrollLeft"),top:i("scrollTop")}},23273:function(e,t){var n,r,o;r=[],void 0!==(o="function"==typeof(n=function(){return function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=e.parentNode;t.parentNode;){if(function(e){var t=getComputedStyle(e,null).getPropertyValue("overflow");return t.indexOf("scroll")>-1||t.indexOf("auto")>-1}(t))return t;t=t.parentNode}return document.scrollingElement||document.documentElement}}})?n.apply(t,r):n)&&(e.exports=o)},24369:function(e,t,n){"use strict";var r=n(2265),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,l=r.useEffect,a=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,s=r[1];return a(function(){o.value=n,o.getSnapshot=t,u(o)&&s({inst:o})},[e,n,t]),l(function(){return u(o)&&s({inst:o}),e(function(){u(o)&&s({inst:o})})},[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:s},82558:function(e,t,n){"use strict";e.exports=n(24369)},76571:function(e){"use strict";let t=Object.getPrototypeOf({});function n(){return function(e){return"object"==typeof e&&null!==e&&!(e instanceof RegExp)&&!(e instanceof Date)}}function r(e){function r(e){return"constructor"!==e&&"prototype"!==e&&"__proto__"!==e}let o=Object.prototype.propertyIsEnumerable,i=e?.symbols?function(e){let t=Object.keys(e),n=Object.getOwnPropertySymbols(e);for(let r=0,i=n.length;r<i;++r)o.call(e,n[r])&&t.push(n[r]);return t}:Object.keys,l="function"==typeof e?.cloneProtoObject?e.cloneProtoObject:void 0,a="function"==typeof e?.isMergeableObject?e.isMergeableObject:n(),c=e?.onlyDefinedProperties===!0,u=e&&"function"==typeof e.mergeArray?e.mergeArray({clone:s,deepmerge:f,getKeys:i,isMergeableObject:a}):function(e,t){let n=e.length,r=t.length,o=0,i=Array(n+r);for(;o<n;++o)i[o]=s(e[o]);for(o=0;o<r;++o)i[o+n]=s(t[o]);return i};function s(e){return a(e)?Array.isArray(e)?function(e){let t=0,n=e.length,r=Array(n);for(;t<n;++t)r[t]=s(e[t]);return r}(e):function(e){let n,o,a;let c={};if(l&&Object.getPrototypeOf(e)!==t)return l(e);let u=i(e);for(n=0,o=u.length;n<o;++n)r(a=u[n])&&(c[a]=s(e[a]));return c}(e):e}function f(e,n){if(c&&void 0===n)return s(e);let o=Array.isArray(n),d=Array.isArray(e);return"object"!=typeof n||null===n?n:a(e)?o&&d?u(e,n):o!==d?s(n):function(e,n){let o,u,d;let p={},g=i(e),m=i(n);for(o=0,u=g.length;o<u;++o)r(d=g[o])&&-1===m.indexOf(d)&&(p[d]=s(e[d]));for(o=0,u=m.length;o<u;++o)if(r(d=m[o])){if(d in e)-1!==g.indexOf(d)&&(l&&a(n[d])&&Object.getPrototypeOf(n[d])!==t?p[d]=l(n[d]):p[d]=f(e[d],n[d]));else{if(c&&void 0===n[d])continue;p[d]=s(n[d])}}return p}(e,n):s(n)}return e?.all?function(){let e;switch(arguments.length){case 0:return{};case 1:return s(arguments[0]);case 2:return f(arguments[0],arguments[1])}for(let t=0,n=arguments.length;t<n;++t)e=f(e,arguments[t]);return e}:f}e.exports=r,e.exports.default=r,e.exports.deepmerge=r,Object.defineProperty(e.exports,"isMergeableObject",{get:n})},42176:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{ACTIONS:function(){return th},EVENTS:function(){return ty},Joyride:function(){return nl},LIFECYCLE:function(){return tv},ORIGIN:function(){return tb},PORTAL_ELEMENT_ID:function(){return tw},STATUS:function(){return tE},defaultLocale:function(){return tp}
1,defaultOptions:function(){return tf},useJoyride:function(){return no}});var o=n(2265);function i(e){return t=>typeof t===e}var l=i("function"),a=e=>null===e,c=e=>"RegExp"===Object.prototype.toString.call(e).slice(8,-1),u=e=>!s(e)&&!a(e)&&(l(e)||"object"==typeof e),s=i("undefined");function f(e,t){return function e(t,n,r){let o;return!!(t===n||Number.isNaN(t)&&Number.isNaN(n))||!!(t&&u(t)&&n&&u(n))&&(!!r.get(t)?.has(n)||((o=r.get(t))||(o=new WeakSet,r.set(t,o)),o.add(n),t.constructor===n.constructor&&(Array.isArray(t)&&Array.isArray(n)?function(t,n,r){let{length:o}=t;if(o!==n.length)return!1;for(let i=o;0!=i--;)if(!e(t[i],n[i],r))return!1;return!0}(t,n,r):t instanceof Map&&n instanceof Map?function(t,n,r){if(t.size!==n.size)return!1;for(let e of t.entries())if(!n.has(e[0]))return!1;for(let o of t.entries())if(!e(o[1],n.get(o[0]),r))return!1;return!0}(t,n,r):t instanceof Set&&n instanceof Set?function(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;return!0}(t,n):!(t instanceof WeakMap||t instanceof WeakSet)&&(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)?function(e,t){if(e.byteLength!==t.byteLength)return!1;let n=new DataView(e.buffer),r=new DataView(t.buffer),o=e.byteLength;for(;o--;)if(n.getUint8(o)!==r.getUint8(o))return!1;return!0}(t,n):c(t)&&c(n)?t.source===n.source&&t.flags===n.flags:t instanceof Error&&n instanceof Error?t.message===n.message&&t.name===n.name&&e(t.cause,n.cause,r):t.valueOf!==Object.prototype.valueOf?t.valueOf()===n.valueOf():t.toString!==Object.prototype.toString?t.toString()===n.toString():function(t,n,r){let o=Object.keys(t);if(o.length!==Object.keys(n).length)return!1;for(let e=o.length;0!=e--;)if(!Object.prototype.hasOwnProperty.call(n,o[e]))return!1;for(let i=o.length;0!=i--;){let l=o[i];if(("_owner"!==l||!t.$$typeof)&&!e(t[l],n[l],r))return!1}return!0}(t,n,r)))))}(e,t,new WeakMap)}function d(){return!!("undefined"!=typeof window&&window?.document?.createElement)}function p(e){let t=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{t.current=e}),t.current}d()?o.useLayoutEffect:o.useEffect,d();var g=n(82558),m=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","URL","WeakMap","WeakSet"],h=["bigint","boolean","null","number","string","symbol","undefined"];function y(e){let t=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(t)?"HTMLElement":m.includes(t)?t:void 0}function v(e){return t=>y(t)===e}function b(e){return t=>typeof t===e}var E=["innerHTML","ownerDocument","style","attributes","nodeValue"],w=e=>Array.isArray(e),O=v("AsyncFunction"),T=b("bigint"),S=v("Date"),x=v("Error"),R=b("function"),P=v("GeneratorFunction"),C=v("Map"),A=e=>Number.isNaN(e),N=e=>null===e,L=v("Function"),I=v("Promise"),k=v("RegExp"),D=v("Set"),_=b("string"),B=b("symbol"),M=b("undefined"),F=v("WeakMap"),j=v("WeakSet"),U=e=>N(e)||M(e),H=e=>!M(e),z=e=>!U(e)&&(R(e)||"object"==typeof e),W=e=>{if("Object"!==y(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},V=e=>!U(e)&&R(e[Symbol.iterator]);function G(e){if(null===e)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}return w(e)?"Array":L(e)?"Function":y(e)||"Object"}G.array=w,G.arrayOf=(e,t)=>!!(w(e)&&R(t))&&e.every(e=>t(e)),G.asyncGeneratorFunction=e=>"AsyncGeneratorFunction"===y(e),G.asyncFunction=O,G.bigint=T,G.boolean=e=>!0===e||!1===e,G.class=e=>R(e)&&/^class\s/.test(e.toString()),G.date=S,G.defined=H,G.domElement=e=>z(e)&&!W(e)&&1===e.nodeType&&_(e.nodeName)&&E.every(t=>t in e),G.empty=e=>_(e)&&0===e.length||w(e)&&0===e.length||z(e)&&!C(e)&&!D(e)&&0===Object.keys(e).length||D(e)&&0===e.size||C(e)&&0===e.size,G.error=x,G.function=R,G.generator=e=>V(e)&&R(e.next)&&R(e.throw),G.generatorFunction=P,G.instanceOf=(e,t)=>!!e&&!!t&&Object.getPrototypeOf(e)===t.prototype,G.integer=e=>"number"==typeof e&&Number.isInteger(e),G.iterable=V,G.map=C,G.nan=A,G.null=N,G.nullOrUndefined=U,G.nonEmptyString=e=>_(e)&&e.trim().length>0,G.number=e=>b("number")(e)&&!A(e),G.numericString=e=>{if(!_(e)||0===e.length)return!1;let t=e.trim();return t.length>0&&Number.isFinite(Number(t))},G.object=z,G.oneOf=(e,t)=>!!w(e)&&e.indexOf(t)>-1,G.plainFunction=L,G.plainObject=W,G.primitive=e=>{var t;return N(e)||(t=typeof e,h.includes(t))},G.promise=I,G.propertyOf=(e,t,n)=>{if(!z(e)||!t)return!1;let r=e[t];return R(n)?n(r):H(r)},G.regexp=k,G.set=D,G.string=_,G.symbol=B,G.undefined=M,G.url=e=>"URL"===y(e),G.weakMap=F,G.weakSet=j;var Y=n(41588),K=n(76571),q=n(84853),$=n(23273),X=n(54887);let J=["top","right","bottom","left"].reduce((e,t)=>
1e.concat(t,t+"-start",t+"-end"),[]),Z=Math.min,Q=Math.max,ee=Math.round,et=Math.floor,en=e=>({x:e,y:e}),er={left:"right",right:"left",bottom:"top",top:"bottom"};function eo(e,t){return"function"==typeof e?e(t):e}function ei(e){return e.split("-")[0]}function el(e){return e.split("-")[1]}function ea(e){return"x"===e?"y":"x"}function ec(e){return"y"===e?"height":"width"}function eu(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function es(e,t,n){void 0===n&&(n=!1);let r=el(e),o=ea(eu(e)),i=ec(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=eh(l)),[l,eh(l)]}function ef(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let ed=["left","right"],ep=["right","left"],eg=["top","bottom"],em=["bottom","top"];function eh(e){let t=ei(e);return er[t]+e.slice(t.length)}function ey(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function ev(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function eb(e,t,n){let r,{reference:o,floating:i}=e,l=eu(t),a=ea(eu(t)),c=ec(a),u=ei(t),s="y"===l,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[c]/2-i[c]/2;switch(u){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(el(t)){case"start":r[a]-=p*(n&&s?-1:1);break;case"end":r[a]+=p*(n&&s?-1:1)}return r}async function eE(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=eo(t,e),g=ey(p),m=a[d?"floating"===f?"reference":"floating":f],h=ev(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:s,strategy:c})),y="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await (null==i.isElement?void 0:i.isElement(v))&&await (null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},E=ev(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:v,strategy:c}):y);return{top:(h.top-E.top+g.top)/b.y,bottom:(E.bottom-h.bottom+g.bottom)/b.y,left:(h.left-E.left+g.left)/b.x,right:(E.right-h.right+g.right)/b.x}}let ew=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:eE},c=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:f}=eb(u,r,c),d=r,p=0,g={};for(let n=0;n<i.length;n++){let m=i[n];if(!m)continue;let{name:h,fn:y}=m,{x:v,y:b,data:E,reset:w}=await y({x:s,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:g,rects:u,platform:a,elements:{reference:e,floating:t}});s=null!=v?v:s,f=null!=b?b:f,g[h]={...g[h],...E},w&&p<50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(u=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:s,y:f}=eb(u,d,c)),n=-1)}return{x:s,y:f,placement:d,strategy:o,middlewareData:g}},eO=new Set(["left","top"]);async function eT(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=ei(n),a=el(n),c="y"===eu(n),u=eO.has(l)?-1:1,s=i&&c?-1:1,f=eo(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof g&&(p="end"===a?-1*g:g),c?{x:p*s,y:d*u}:{x:d*u,y:p*s}}function eS(){return"undefined"!=typeof window}function ex(e){return eC(e)?(e.nodeName||"").toLowerCase():"#document"}function eR(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eP(e){var t;return null==(t=(eC(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function eC(e){return!!eS()&&(e instanceof Node||e instanceof eR(e).Node)}function eA(e){return!!eS()&&(e instanceof Element||e instanceof eR(e).Element)}function eN(e){return!!eS()&&(e instanceof HTMLElement||e instanceof eR(e).HTMLElement)}function eL(e){return!!eS()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof eR(e).ShadowRoot)}function eI(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=eU(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function ek(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let eD=/transform|translate|scale|rotate|perspective|filter/,e_=/paint|layout|strict|content/,eB=e=>!!e&&"none"!==e;function eM(e){let t=eA(e)?eU(e):e;return eB(t.transform)||eB(t.translate)||eB(t.scale)||eB(t.rotate)||eB(t.perspective)||!eF()&&(eB(t.backdropFilter)||eB(t.filter))||eD.test(t.willChange||"")||e_.test(t.contain||"")}function eF(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function ej(e){return/^(html|body|#document)$/.test(ex(e))}function eU(e){return eR(e).getComputedStyle(e)}function eH(e){return eA(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ez(e){if("html"===ex(e))return e;let t=e.assignedSlot||e.parentNode||eL(e)&&e.host||eP(e);return eL(t)?t.host:t}function eW(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=ez(t);return ej(n)?t.ownerDocument?t.ownerDocument.body:t.body:eN(n)&&eI(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=eR(o);if(!i)return t.concat(o,eW(o,[],n));{let e=eV(l);
1return t.concat(l,l.visualViewport||[],eI(o)?o:[],e&&n?eW(e):[])}}function eV(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eG(e){let t=eU(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=eN(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=ee(n)!==i||ee(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function eY(e){return eA(e)?e:e.contextElement}function eK(e){let t=eY(e);if(!eN(t))return en(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=eG(t),l=(i?ee(n.width):n.width)/r,a=(i?ee(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let eq=en(0);function e$(e){let t=eR(e);return eF()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eq}function eX(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=eY(e),a=en(1);t&&(r?eA(r)&&(a=eK(r)):a=eK(e));let c=(void 0===(o=n)&&(o=!1),r&&(!o||r===eR(l))&&o)?e$(l):en(0),u=(i.left+c.x)/a.x,s=(i.top+c.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(l){let e=eR(l),t=r&&eA(r)?eR(r):r,n=e,o=eV(n);for(;o&&r&&t!==n;){let e=eK(o),t=o.getBoundingClientRect(),r=eU(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,s*=e.y,f*=e.x,d*=e.y,u+=i,s+=l,o=eV(n=eR(o))}}return ev({width:f,height:d,x:u,y:s})}function eJ(e,t){let n=eH(e).scrollLeft;return t?t.left+n:eX(eP(e)).left+n}function eZ(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eJ(e,n),y:n.top+t.scrollTop}}function eQ(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=eR(e),r=eP(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,c=0;if(o){i=o.width,l=o.height;let e=eF();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,c=o.offsetTop)}let u=eJ(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-o);l<=25&&(i-=l)}else u<=25&&(i+=u);return{width:i,height:l,x:a,y:c}}(e,n);else if("document"===t)r=function(e){let t=eP(e),n=eH(e),r=e.ownerDocument.body,o=Q(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Q(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+eJ(e),a=-n.scrollTop;return"rtl"===eU(r).direction&&(l+=Q(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(eP(e));else if(eA(t))r=function(e,t){let n=eX(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=eN(e)?eK(e):en(1),l=e.clientWidth*i.x;return{width:l,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=e$(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ev(r)}function e0(e){return"static"===eU(e).position}function e1(e,t){if(!eN(e)||"fixed"===eU(e).position)return null;if(t)return t(e);let n=e.offsetParent;return eP(e)===n&&(n=n.ownerDocument.body),n}function e2(e,t){var n;let r=eR(e);if(ek(e))return r;if(!eN(e)){let t=ez(e);for(;t&&!ej(t);){if(eA(t)&&!e0(t))return t;t=ez(t)}return r}let o=e1(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(ex(n)))&&e0(o);)o=e1(o,t);return o&&ej(o)&&e0(o)&&!eM(o)?r:o||function(e){let t=ez(e);for(;eN(t)&&!ej(t);){if(eM(t))return t;if(ek(t))break;t=ez(t)}return null}(e)||r}let e5=async function(e){let t=this.getOffsetParent||e2,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=eN(t),o=eP(t),i="fixed"===n,l=eX(e,!0,i,t),a={scrollLeft:0,scrollTop:0},c=en(0);if(r||!r&&!i){if(("body"!==ex(t)||eI(o))&&(a=eH(t)),r){let e=eX(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=eJ(o))}i&&!r&&o&&(c.x=eJ(o));let u=!o||r||i?en(0):eZ(o,a);return{x:l.left+a.scrollLeft-c.x-u.x,y:l.top+a.scrollTop-c.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},e7={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=eP(r),a=!!t&&ek(t.floating);if(r===l||a&&i)return n;let c={scrollLeft:0,scrollTop:0},u=en(1),s=en(0),f=eN(r);if((f||!f&&!i)&&(("body"!==ex(r)||eI(l))&&(c=eH(r)),f)){let e=eX(r);u=eK(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}let d=!l||f||i?en(0):eZ(l,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+s.x+d.x,y:n.y*u.y-c.scrollTop*u.y+s.y+d.y}},getDocumentElement:eP,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?ek(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eW(e,[],!1).filter(e=>eA(e)&&"body"!==ex(e)),o=null,i="fixed"===eU(e).position,l=i?ez(e):e;for(;eA(l)&&!ej(l);){let t=eU(l),n=eM(l);n||"fixed"!==t.position||(o=null),(i?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||eI(l)&&!n&&function e(t,n){let r=ez(t);return!(r===n||!eA(r)||ej(r))&&("fixed"===eU(r).position||e(r,n))}(e,l)))?o=t:r=r.filter(e=>e!==l),l=ez(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=eQ(t,i[0],o),a=l.top,c=l.right,u=l.bottom,s=l.left;for(let e=1;e<i.length;e++){let n=eQ(t,i[e],o);a=Q(n.top,a),c=Z(n.right,c),u=Z(n.bottom,u),s=Q(n.left,s)}return{width:c-s,height:u-a,x:s,y:a}},getOffsetParent:e2,getElementRects:e5,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eG(e);return{width:t,height:n}},getScale:eK,isElement:eA,isRTL:function(e){return"rtl"===eU(e).direction}};function e8(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function e9(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,s=eY(e),f=i||l?[...s?eW(s):[],...t?eW(t):[]]:[];
1f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let d=s&&c?function(e,t){let n,r=null,o=eP(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),i();let u=e.getBoundingClientRect(),{left:s,top:f,width:d,height:p}=u;if(a||t(),!d||!p)return;let g=et(f),m=et(o.clientWidth-(s+d)),h={rootMargin:-g+"px "+-m+"px "+-et(o.clientHeight-(f+p))+"px "+-et(s)+"px",threshold:Q(0,Z(1,c))||1},y=!0;function v(t){let r=t[0].intersectionRatio;if(r!==c){if(!y)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||e8(u,e.getBoundingClientRect())||l(),y=!1}try{r=new IntersectionObserver(v,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,h)}r.observe(e)}(!0),i}(s,n):null,p=-1,g=null;a&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===s&&g&&t&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),s&&!u&&g.observe(s),t&&g.observe(t));let m=u?eX(e):null;return u&&function t(){let r=eX(e);m&&!e8(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=g)||e.disconnect(),g=null,u&&cancelAnimationFrame(o)}}let e3=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:c}=t,{element:u,padding:s=0}=eo(e,t)||{};if(null==u)return{};let f=ey(s),d={x:n,y:r},p=ea(eu(o)),g=ec(p),m=await l.getDimensions(u),h="y"===p,y=h?"clientHeight":"clientWidth",v=i.reference[g]+i.reference[p]-d[p]-i.floating[g],b=d[p]-i.reference[p],E=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),w=E?E[y]:0;w&&await (null==l.isElement?void 0:l.isElement(E))||(w=a.floating[y]||i.floating[g]);let O=w/2-m[g]/2-1,T=Z(f[h?"top":"left"],O),S=Z(f[h?"bottom":"right"],O),x=w-m[g]-S,R=w/2-m[g]/2+(v/2-b/2),P=Q(T,Z(R,x)),C=!c.arrow&&null!=el(o)&&R!==P&&i.reference[g]/2-(R<T?T:S)-m[g]/2<0,A=C?R<T?R-T:R-x:0;return{[p]:d[p]+A,data:{[p]:P,centerOffset:R-P-A,...C&&{alignmentOffset:A}},reset:C}}}),e6=(e,t,n)=>{let r=new Map,o={platform:e7,...n},i={...o.platform,_c:r};return ew(e,t,{...o,platform:i})};var e4="undefined"!=typeof document?o.useLayoutEffect:function(){};function te(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!te(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!te(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function tt(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tn(e,t){let n=tt(e);return Math.round(t*n)/n}function tr(e){let t=o.useRef(e);return e4(()=>{t.current=e}),t}function to(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:l,floating:a}={},transform:c=!0,whileElementsMounted:u,open:s}=e,[f,d]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,g]=o.useState(r);te(p,r)||g(r);let[m,h]=o.useState(null),[y,v]=o.useState(null),b=o.useCallback(e=>{e!==T.current&&(T.current=e,h(e))},[]),E=o.useCallback(e=>{e!==S.current&&(S.current=e,v(e))},[]),w=l||m,O=a||y,T=o.useRef(null),S=o.useRef(null),x=o.useRef(f),R=null!=u,P=tr(u),C=tr(i),A=tr(s),N=o.useCallback(()=>{if(!T.current||!S.current)return;let e={placement:t,strategy:n,middleware:p};C.current&&(e.platform=C.current),e6(T.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==A.current};L.current&&!te(x.current,t)&&(x.current=t,X.flushSync(()=>{d(t)}))})},[p,t,n,C,A]);e4(()=>{!1===s&&x.current.isPositioned&&(x.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[s]);let L=o.useRef(!1);e4(()=>(L.current=!0,()=>{L.current=!1}),[]),e4(()=>{if(w&&(T.current=w),O&&(S.current=O),w&&O){if(P.current)return P.current(w,O,N);N()}},[w,O,N,P,R]);let I=o.useMemo(()=>({reference:T,floating:S,setReference:b,setFloating:E}),[b,E]),k=o.useMemo(()=>({reference:w,floating:O}),[w,O]),D=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!k.floating)return e;let t=tn(k.floating,f.x),r=tn(k.floating,f.y);return c?{...e,transform:"translate("+t+"px, "+r+"px)",...tt(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,c,k.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:N,refs:I,elements:k,floatingStyles:D}),[f,N,I,k,D])}let ti=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?e3({element:n.current,padding:r}).fn(t):{}:n?e3({element:n,padding:r}).fn(t):{}}}),tl=(e,t)=>
1{var n;let r=(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:o,y:i,placement:l,middlewareData:a}=e,c=await eT(e,n);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:l}}}});return{name:r.name,fn:r.fn,options:[e,t]}},ta=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:o,platform:i}=e,{mainAxis:l=!0,crossAxis:a=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=eo(n,e),s={x:t,y:r},f=await i.detectOverflow(e,u),d=eu(ei(o)),p=ea(d),g=s[p],m=s[d];if(l){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=g+f[e],r=g-f[t];g=Q(n,Z(g,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=m+f[e],r=m-f[t];m=Q(n,Z(m,r))}let h=c.fn({...e,[p]:g,[d]:m});return{...h,data:{x:h.x-t,y:h.y-r,enabled:{[p]:l,[d]:a}}}}});return{name:r.name,fn:r.fn,options:[e,t]}},tc=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,o,i,l;let{placement:a,middlewareData:c,rects:u,initialPlacement:s,platform:f,elements:d}=e,{mainAxis:p=!0,crossAxis:g=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...b}=eo(n,e);if(null!=(t=c.arrow)&&t.alignmentOffset)return{};let E=ei(a),w=eu(s),O=ei(s)===s,T=await (null==f.isRTL?void 0:f.isRTL(d.floating)),S=m||(O||!v?[eh(s)]:function(e){let t=eh(e);return[ef(e),t,ef(t)]}(s)),x="none"!==y;!m&&x&&S.push(...function(e,t,n,r){let o=el(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?ep:ed;return t?ed:ep;case"left":case"right":return t?eg:em;default:return[]}}(ei(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(ef)))),i}(s,v,y,T));let R=[s,...S],P=await f.detectOverflow(e,b),C=[],A=(null==(r=c.flip)?void 0:r.overflows)||[];if(p&&C.push(P[E]),g){let e=es(a,u,T);C.push(P[e[0]],P[e[1]])}if(A=[...A,{placement:a,overflows:C}],!C.every(e=>e<=0)){let e=((null==(o=c.flip)?void 0:o.index)||0)+1,t=R[e];if(t&&(!("alignment"===g&&w!==eu(t))||A.every(e=>eu(e.placement)!==w||e.overflows[0]>0)))return{data:{index:e,overflows:A},reset:{placement:t}};let n=null==(i=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(h){case"bestFit":{let e=null==(l=A.filter(e=>{if(x){let t=eu(e.placement);return t===w||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}});return{name:r.name,fn:r.fn,options:[e,t]}},tu=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"autoPlacement",options:n,async fn(e){var t,r,o,i;let{rects:l,middlewareData:a,placement:c,platform:u,elements:s}=e,{crossAxis:f=!1,alignment:d,allowedPlacements:p=J,autoAlignment:g=!0,...m}=eo(n,e),h=void 0!==d||p===J?((i=d||null)?[...p.filter(e=>el(e)===i),...p.filter(e=>el(e)!==i)]:p.filter(e=>ei(e)===e)).filter(e=>!i||el(e)===i||!!g&&ef(e)!==e):p,y=await u.detectOverflow(e,m),v=(null==(t=a.autoPlacement)?void 0:t.index)||0,b=h[v];if(null==b)return{};let E=es(b,l,await (null==u.isRTL?void 0:u.isRTL(s.floating)));if(c!==b)return{reset:{placement:h[0]}};let w=[y[ei(b)],y[E[0]],y[E[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:b,overflows:w}],T=h[v+1];if(T)return{data:{index:v+1,overflows:O},reset:{placement:T}};let S=O.map(e=>{let t=el(e.placement);return[e.placement,t&&f?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),x=(null==(o=S.filter(e=>e[2].slice(0,el(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||S[0][0];return x!==c?{data:{index:v+1,overflows:O},reset:{placement:x}}:{}}});return{name:r.name,fn:r.fn,options:[e,t]}},ts=(e,t)=>{let n=ti(e);return{name:n.name,fn:n.fn,options:[e,t]}},tf={arrowBase:32,arrowColor:"#ffffff",arrowSize:16,arrowSpacing:12,backgroundColor:"#ffffff",beaconSize:36,beaconTrigger:"click",beforeTimeout:5e3,blockTargetInteraction:!1,buttons:["back","close","primary"],closeButtonAction:"close",disableFocusTrap:!1,dismissKeyAction:"close",hideOverlay:!1,loaderDelay:300,offset:10,overlayClickAction:"close",overlayColor:"#00000080",primaryColor:"#000000",scrollDuration:300,scrollOffset:20,showProgress:!1,skipBeacon:!1,skipScroll:!1,spotlightPadding:10,spotlightRadius:4,targetWaitTimeout:1e3,textColor:"#000000",width:380,zIndex:100},td={beaconOptions:{offset:-18}},tp={back:"Back",close:"Close",last:"Last",next:"Next",nextWithProgress:"Next ({current} of {total}
1)",open:"Open the dialog",skip:"Skip"},tg={isFixed:!1,locale:tp,placement:"bottom"},tm={continuous:!1,debug:!1,run:!1,scrollToFirstStep:!1,steps:[]},th={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",REPLAY:"replay",UPDATE:"update",COMPLETE:"complete"},ty={TOUR_START:"tour:start",STEP_BEFORE_HOOK:"step:before_hook",STEP_BEFORE:"step:before",SCROLL_START:"scroll:start",SCROLL_END:"scroll:end",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",STEP_AFTER_HOOK:"step:after_hook",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},tv={INIT:"init",READY:"ready",BEACON_BEFORE:"beacon_before",BEACON:"beacon",TOOLTIP_BEFORE:"tooltip_before",TOOLTIP:"tooltip",COMPLETE:"complete"},tb={BUTTON_BACK:"button_back",BUTTON_CLOSE:"button_close",BUTTON_PRIMARY:"button_primary",BUTTON_SKIP:"button_skip",KEYBOARD:"keyboard",OVERLAY:"overlay"},tE={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished"},tw="react-joyride-portal";function tO(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return K({all:!0,isMergeableObject:e=>!(!G.plainObject(e)||(0,o.isValidElement)(e))})(...t)}function tT(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function tS(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{defaultValue:n,step:r,steps:i}=t,l=Y(e);if(l)(l.includes("{current}")||l.includes("{total}"))&&r&&i&&(l=l.replace("{current}",r.toString()).replace("{total}",i.toString()));else if((0,o.isValidElement)(e)&&!Object.values(e.props).length&&"function"===tT(e.type))try{l=tS(e.type({}),t)}catch(e){l=Y(n)}else l=Y(n);return l}function tx(e,t,n){for(var r=arguments.length,o=Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];if(!e)return;let l=new Date,a="".concat(String(l.getHours()).padStart(2,"0"),":").concat(String(l.getMinutes()).padStart(2,"0"),":").concat(String(l.getSeconds()).padStart(2,"0"),".").concat(String(l.getMilliseconds()).padStart(3,"0"));console.log("".concat(t," %c").concat(n,"%c ").concat(a),"font-weight: bold","color: gray; font-weight: normal",...o)}function tR(){}function tP(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!G.plainObject(e))throw TypeError("Expected an object");let o={};for(let t in e)({}).hasOwnProperty.call(e,t)&&!n.includes(t)&&(o[t]=e[t]);return o}function tC(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!G.plainObject(e))throw TypeError("Expected an object");if(!n.length)return e;let o={};for(let t in e)({}).hasOwnProperty.call(e,t)&&n.includes(t)&&(o[t]=e[t]);return o}function tA(e){return Object.keys(e).sort().reduce((t,n)=>(t[n]=e[n],t),{})}function tN(){var e;return!!("undefined"!=typeof window&&(null===(e=window.document)||void 0===e?void 0:e.createElement))}function tL(e){let t=0,n=0,r=e;for(;r;)t+=r.offsetTop,n+=r.offsetLeft,r=r.offsetParent;return{left:n,top:t}}function tI(e){return e?e.getBoundingClientRect():null}function tk(e){if(!e)return null;if("function"==typeof e)try{return e()}catch(e){return null}if("object"==typeof e&&"current"in e)return e.current;if("string"==typeof e)try{return document.querySelector(e)}catch(e){return null}return e}function tD(e,t){if(!e)return tj();let n=$(e);if(n){if(n.isSameNode(tj()))return t?document:tj();if(!(n.scrollHeight>n.offsetHeight))return tj()}return n}function t_(e){if(!e)return!1;let t=tD(e);return!!t&&!t.isSameNode(tj())}function tB(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fixed";if(!e||!(e instanceof Element))return!1;let{nodeName:n}=e;return"BODY"!==n&&"HTML"!==n&&(getComputedStyle(e).position===t||!!e.parentNode&&tB(e.parentNode,t))}function tM(e){if(!e)return!1;let t=e;for(;t;){var n;if(t===document.body)break;if(t instanceof HTMLElement){let{display:e,visibility:n}=getComputedStyle(t);if("none"===e||"hidden"===n)return!1}t=null!==(n=t.parentElement)&&void 0!==n?n:null}return!0}function tF(e){let{isFirstStep:t,scrollToFirstStep:n,step:r,target:o,targetLifecycle:i}=e;if(r.skipScroll||t&&!n&&i!==tv.TOOLTIP||"center"===r.placement)return!1;let l=(null==o?void 0:o.isConnected)?tD(o):tj(),a=!!l&&!l.isSameNode(tj());return(!(r.isFixed||tB(o))||!!a)&&l.scrollHeight>l.clientHeight}function tj(){var e;return null!==(e=document.scrollingElement)&&void 0!==e?e:document.documentElement}function tU(e,t){let{duration:n,element:r}=t,o=()=>{},i=new Promise(t=>{let{scrollTop:i}=r,l=e>i?e-i:i-e;o=q.top(r,e,{duration:l<100?50:n},()=>{t()})});return{cancel:o,promise:i}}let tH={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555555",cursor:"pointer",fontSize:16,lineHeight:1,padding:0,WebkitAppearance:"none"},tz={...tH,borderRadius:4,padding:8},tW=["after","arrowBase","arrowColor","arrowSize","arrowSpacing","backgroundColor","beaconSize","beaconTrigger","before","beforeTimeout","buttons","closeButtonAction","skipBeacon","dismissKeyAction","disableFocusTrap","hideOverlay","skipScroll","blockTargetInteraction","loaderDelay","offset","overlayClickAction","overlayColor","primaryColor","scrollDuration","scrollOffset","showProgress","spotlightPadding","spotlightRadius","targetWaitTimeout","textColor","width","zIndex"];function tV(e,t){var n,r,o,i,l,a,c,u,s;if(!t)return null;let f=tO(tg,tC(e,"arrowComponent","beaconComponent","floatingOptions","loaderComponent","locale","styles","tooltipComponent"),t),d=tO(tf,null!==(n=e.options)&&void 0!==n?n:{},tC(t,...tW)),p=function(e,t){var n;let{styles:r}=e,o=tO(null!=r?r:{},null!==(n=t.styles)&&void 0!==n?n:{}),{width:i}=t;tN()&&(i="number"==typeof i&&window.innerWidth<i?window.innerWidth-30:i);let l={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex};return tO({arrow:{alignItems:"center",color:t.arrowColor,display:"inline-flex",justifyContent:"center",position:"absolute"},beaconWrapper:{...tH,display:"inline-flex",borderRadius:"50%",position:"relative"},beacon:{height:t.beaconSize,width:t.beaconSize},beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat((function(e){let t=e.replace(/^#?([\da-f])([\da-f])([\da-f])$/i,(e,t,n,r)=>t+t+n+n+r+r),n=/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})/i.exec(t);return n?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:[]}
1)(t.primaryColor).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},buttonBack:{...tz,color:t.primaryColor,marginLeft:"auto",marginRight:5},buttonClose:{...tz,color:t.textColor,height:12,padding:8,position:"absolute",right:0,top:0,width:12},buttonPrimary:{...tz,backgroundColor:t.primaryColor,color:t.backgroundColor},buttonSkip:{...tz,color:t.textColor,fontSize:14},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:"100%",transition:"opacity 0.3s"},loader:{alignItems:"center",display:"flex",height:48,inset:0,justifyContent:"center",pointerEvents:"none",position:"fixed",width:48,zIndex:t.zIndex+1},overlay:{...l,backgroundColor:t.overlayColor},spotlight:{},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:12,position:"relative",width:i},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{paddingBottom:12,paddingTop:12},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end"},tooltipFooterSpacer:{flex:1}},o)}(e,{...f,...d}),g=tO(td,null!==(r=e.floatingOptions)&&void 0!==r?r:{},null!==(o=f.floatingOptions)&&void 0!==o?o:{});return{...f,...d,locale:tO(tp,null!==(i=e.locale)&&void 0!==i?i:{},f.locale||{}),floatingOptions:g,spotlightPadding:"number"==typeof(l=d.spotlightPadding)?{top:l,right:l,bottom:l,left:l}:{top:null!==(a=null==l?void 0:l.top)&&void 0!==a?a:0,right:null!==(c=null==l?void 0:l.right)&&void 0!==c?c:0,bottom:null!==(u=null==l?void 0:l.bottom)&&void 0!==u?u:0,left:null!==(s=null==l?void 0:l.left)&&void 0!==s?s:0},styles:p}}function tG(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return G.plainObject(e)?!!e.target||(tx(t,"tour","target is missing from the step"),!1):(tx(t,"tour","step must be an object"),!1)}function tY(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return G.array(e)?e.every(e=>tG(e,t)):(tx(t,"tour","steps must be an array"),!1)}var tK=class{applyTransitions(e){return e.status===tE.WAITING&&e.size>0?{...e,status:tE.RUNNING}:e}getStep(e){return tV(this.props,this.steps[null!=e?e:this.state.index])}constructor(e){var t,n=this;this.beaconPosition=null,this.eventListeners=new Map,this.listeners=new Set,this.tooltipPosition=null,this.cleanupPositionData=()=>{this.beaconPosition=null,this.tooltipPosition=null},this.getPositionData=e=>"beacon"===e?this.beaconPosition:this.tooltipPosition,this.getServerSnapshot=()=>this.snapshot,this.getSnapshot=()=>this.snapshot,this.getEventState=()=>tP(this.snapshot,"positioned"),this.getState=()=>tP(this.snapshot,"positioned"),this.setPositionData=(e,t)=>{var n,r,o;(null===(n="beacon"===e?this.beaconPosition:this.tooltipPosition)||void 0===n?void 0:n.placement)!==t.placement&&tx(this.debug,"step:".concat(this.state.index),"positioned","".concat(e," ").concat(t.placement)),"beacon"===e?this.beaconPosition=t:this.tooltipPosition=t,this.state.lifecycle!==tv.BEACON_BEFORE&&this.state.lifecycle!==tv.TOOLTIP_BEFORE||this.state.positioned||this.updateState({positioned:!0});let i=null===(o=this.getStep())||void 0===o?void 0:null===(r=o.floatingOptions)||void 0===r?void 0:r.onPosition;i&&i(t)},this.setSteps=e=>{this.steps=e,this.updateState({size:e.length})},this.dispatch=(e,t)=>{let n=this.eventListeners.get(e.type);if(n)for(let r of n)try{r(e,t)}catch(e){}},this.on=(e,t)=>{let n=this.eventListeners.get(e);return n||(n=new Set,this.eventListeners.set(e,n)),n.add(t),()=>{n.delete(t)}},this.subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)}),this.updateState=function(e){var t,r,o,i,l,a,c,u,s;let d=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{controlled:p,index:g}=n.state,m=n.snapshot,h=p&&!d&&void 0!==e.index?g:null!==(t=e.index)&&void 0!==t?t:g,y={action:null!==(r=e.action)&&void 0!==r?r:n.state.action,controlled:p,index:h,lifecycle:null!==(o=e.lifecycle)&&void 0!==o?o:n.state.lifecycle,origin:null!==(i=e.origin)&&void 0!==i?i:null,positioned:null!==(l=e.positioned)&&void 0!==l?l:n.state.positioned,scrolling:null!==(a=e.scrolling)&&void 0!==a?a:n.state.scrolling,size:null!==(c=e.size)&&void 0!==c?c:n.state.size,status:null!==(u=e.status)&&void 0!==u?u:n.state.status,waiting:null!==(s=e.waiting)&&void 0!==s?s:n.state.waiting},v=n.applyTransitions(y);if(n.state=v,!f(m,v))for(let e of(n.snapshot=Object.freeze({...v}),n.listeners))e(n.snapshot)};let{initialStepIndex:r,stepIndex:o,steps:i=[]}=null!=e?e:{},l=G.number(o),a=0;this.debug=null!==(t=null==e?void 0:e.debug)&&void 0!==t&&t,l?(a=o,G.number(r)&&tx(this.debug,"tour","initialStepIndex is ignored in controlled mode")):G.number(r)&&(r>=0&&r<i.length?a=r:i.length>0&&tx(this.debug,"tour","initialStepIndex is out of bounds")),this.props=null!=e?e:{steps:[]},this.steps=i,this.state={action:th.INIT,controlled:l,index:a,lifecycle:tv.INIT,origin:null,positioned:!1,scrolling:!1,size:i.length,status:i.length?tE.READY:tE.IDLE,waiting:!1},this.snapshot=Object.freeze({...this.state})}};function tq(e,t){return Math.min(Math.max(e,0),t)}let t$=new Set(["origin","positioned"]);function tX(e,t){return{hasChanged:n=>e[n]!==t[n],hasChangedTo(n,r){let o=e[n],i=t[n];return Array.isArray(r)?r.includes(o)&&!r.includes(i):o===r&&i!==r},previous:t}}let tJ={animation:"joyride-loader-spin 1s linear infinite",border:"5px solid rgba(0, 0, 0, 0.1)",borderRadius:"50%",borderTopColor:"#555"};function tZ(e){let t,{nonce:n,step:r}=e,{loaderComponent:i}=r,l=!!i;if((0,o.useEffect)(()=>
1{if(l||document.getElementById("joyride-loader-animation"))return tR;let e=document.createElement("style");return e.id="joyride-loader-animation",n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode("\n @keyframes joyride-loader-spin {\n to { transform: rotate(360deg); }\n }\n ")),document.head.appendChild(e),()=>{let e=document.getElementById("joyride-loader-animation");(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}},[l,n]),null===i)return null;let{height:a,width:c,...u}=r.styles.loader;return t=i?o.createElement(i,{step:r}):o.createElement("div",{style:{...tJ,height:a,width:c,borderTopColor:r.primaryColor}}),o.createElement("div",{className:"react-joyride__loader","data-testid":"loader",style:u},t)}let tQ={height:0,isFixed:!1,left:0,top:0,width:0};function t0(e,t){var n,r,o;let i=tk(e);if(!i)return tQ;let l=tI(i),a=tB(i),c=function(e,t,n){var r,o;let i=tI(e),l=tD(e),a=!!l&&!l.isSameNode(tj()),c=null!=n?n:tB(e),u=0,s=null!==(r=null==i?void 0:i.top)&&void 0!==r?r:0;return a&&c?s=null!==(o=null==i?void 0:i.top)&&void 0!==o?o:0:l instanceof HTMLElement&&(u=l.scrollTop,a||c||(s+=u),l.isSameNode(tj())||(s+=tj().scrollTop)),Math.floor(s-t)}(i,t.top,a);return{height:Math.round((null!==(n=null==l?void 0:l.height)&&void 0!==n?n:0)+t.top+t.bottom),isFixed:a,left:Math.round((null!==(r=null==l?void 0:l.left)&&void 0!==r?r:0)-t.left),top:c,width:Math.round((null!==(o=null==l?void 0:l.width)&&void 0!==o?o:0)+t.left+t.right)}}function t1(e,t,n,r,o){if(n<=0||r<=0)return"";let i=Math.max(0,Math.min(o,n/2,r/2));return"M".concat(e+i," ").concat(t)+("H".concat(e+n-i)+"A".concat(i," ").concat(i," 0 0 1 ").concat(e+n," ").concat(t+i)+"V".concat(t+r-i)+"A".concat(i," ").concat(i," 0 0 1 ").concat(e+n-i," ").concat(t+r)+"H".concat(e+i)+"A".concat(i," ").concat(i," 0 0 1 ").concat(e," ").concat(t+r-i)+"V".concat(t+i)+"A".concat(i," ").concat(i," 0 0 1 ").concat(e+i," ").concat(t,"Z"))}let t2=[tv.BEACON_BEFORE,tv.BEACON];function t5(e){var t,n,r,i,l,a,c;let u;let{blockTargetInteraction:s,continuous:f,hideOverlay:p,lifecycle:g,onClickOverlay:m,overlayClickAction:h,placement:y,portalElement:v,scrolling:b,spotlightPadding:E,spotlightRadius:w,spotlightTarget:O,styles:T,target:S,waiting:x}=e,R=function(e=0){let[t,n]=(0,o.useState)({height:d()?window.innerHeight:0,width:d()?window.innerWidth:0}),r=(0,o.useRef)(0),i=(0,o.useRef)(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(()=>{n({width:window.innerWidth,height:window.innerHeight})},e)});return(0,o.useEffect)(()=>{if(!d())return()=>void 0;let e=i.current;return n({height:window.innerHeight,width:window.innerWidth}),function(e,...t){e&&e.addEventListener&&e.addEventListener(...t)}(window,"resize",e),()=>{!function(e,...t){e&&e.removeEventListener&&e.removeEventListener(...t)}(window,"resize",e)}},[]),t}(),P=function(e,t,n){let[r,i]=(0,o.useState)(()=>t0(e,t)),l=(0,o.useRef)(void 0),a=(0,o.useRef)(null),c=(0,o.useRef)(n),u=(0,o.useRef)(null),s=(0,o.useCallback)(()=>{clearTimeout(l.current),l.current=window.setTimeout(()=>{i(n=>{let r=t0(e,t);return n.top===r.top&&n.left===r.left&&n.width===r.width&&n.height===r.height&&n.isFixed===r.isFixed?n:r})},100)},[e,t]);(0,o.useEffect)(()=>{let n=null,r=n=>{a.current=tD(n,!0),a.current&&a.current.addEventListener("scroll",s,{passive:!0}),window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s),"undefined"!=typeof ResizeObserver&&(u.current=new ResizeObserver(s),u.current.observe(n)),i(t0(e,t))},o=tk(e);return o?r(o):(n=new MutationObserver(()=>{let t=tk(e);t&&(null==n||n.disconnect(),n=null,r(t))})).observe(document.body,{childList:!0,subtree:!0}),()=>{var e;null==n||n.disconnect(),a.current&&a.current.removeEventListener("scroll",s),window.removeEventListener("scroll",s),window.removeEventListener("resize",s),null===(e=u.current)||void 0===e||e.disconnect(),clearTimeout(l.current)}},[e,t,s]),(0,o.useEffect)(()=>{c.current&&!n&&i(t0(e,t)),c.current=n},[n,e,t]);let f=r;return c.current&&!n&&(f=t0(e,t)),f}(null!=O?O:S,E,b||x),C=(0,o.useRef)(null),A=(g===tv.TOOLTIP||g===tv.TOOLTIP_BEFORE)&&"center"!==y,[N,L]=(0,o.useState)(!1),I=v?null===(t=C.current)||void 0===t?void 0:t.offsetParent:null,k=null!==(r=null==I?void 0:I.clientWidth)&&void 0!==r?r:R.width,D=null!==(l=null!==(i=null==I?void 0:I.clientHeight)&&void 0!==i?i:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{body:t,documentElement:n}=document;if(!t||!n)return 0;if(e){let e=[t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight].sort((e,t)=>
1e-t),r=Math.floor(e.length/2);return e.length%2==0?(e[r-1]+e[r])/2:e[r]}return Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)}())&&void 0!==l?l:R.height,_=null!==(a=null===(n=T.overlay)||void 0===n?void 0:n.backgroundColor)&&void 0!==a?a:"rgba(0, 0, 0, 0.5)",B=(0,o.useMemo)(()=>{let{backgroundColor:e,mixBlendMode:t,...n}=T.overlay;return{height:D,pointerEvents:"none",...n}},[D,T.overlay]),M=A&&!b&&!x;(0,o.useEffect)(()=>{M?requestAnimationFrame(()=>L(!0)):L(!1)},[M]);let F=f&&t2.includes(g),j=!f&&g!==tv.TOOLTIP;if(p||!x&&(F||j))return null;let U="";if(M){if(v&&I){let e=tk(null!=O?O:S);if(e){let t=tL(e),n=tL(I);U=t1(t.left-n.left-E.left,t.top-n.top-E.top,e.offsetWidth+E.left+E.right,e.offsetHeight+E.top+E.bottom,w)}}else U=t1(P.left,P.top,P.width,P.height,w)}let H=(c=U,u="M0 0H".concat(k,"V").concat(D,"H0Z"),c&&(u+=" ".concat(c)),u);return o.createElement("div",{ref:C,"aria-hidden":"true",className:"react-joyride__overlay","data-testid":"overlay",style:B},o.createElement("svg",{className:"react-joyride__spotlight","data-testid":"spotlight",style:{height:D,left:0,position:P.isFixed?"fixed":"absolute",top:0,width:k}},o.createElement("path",{d:H,fill:_,fillRule:"evenodd",onClick:m,style:{cursor:h?"pointer":"default",pointerEvents:"auto"}}),U&&o.createElement("path",{d:U,fill:_,style:{opacity:N?0:1,pointerEvents:s?"auto":"none",transition:"opacity 0.2s"}}),U&&Object.keys(T.spotlight).length>0&&o.createElement("path",{d:U,fill:"none",style:{pointerEvents:"none"},...T.spotlight})))}function t7(e){let{children:t,element:n}=e;return n?(0,X.createPortal)(t,n):null}function t8(e,t,n){let[r]=e.split("-");switch(r){case"top":case"bottom":return{width:t,height:n};case"left":case"right":return{width:n,height:t};default:return null}}function t9(e){let{arrowComponent:t,arrowRef:n,base:r,placement:i,position:l,size:a,styles:c}=e,u=null;if(t){if(!t8(i,r,a))return null;u=o.createElement("span",{style:{flexShrink:0}},o.createElement(t,{base:r,placement:i,size:a}))}else{let e=function(e,t,n){let[r]=e.split("-");switch(r){case"top":return{points:"0,0 ".concat(t/2,",").concat(n," ").concat(t,",0"),...t8(e,t,n)};case"bottom":return{points:"".concat(t,",").concat(n," ").concat(t/2,",0 0,").concat(n),...t8(e,t,n)};case"left":return{points:"0,0 ".concat(n,",").concat(t/2," 0,").concat(t),...t8(e,t,n)};case"right":return{points:"".concat(n,",").concat(t," ").concat(n,",0 0,").concat(t/2),...t8(e,t,n)};default:return null}}(i,r,a);if(!e)return null;u=o.createElement("svg",{height:e.height,width:e.width,xmlns:"http://www.w3.org/2000/svg"},o.createElement("polygon",{fill:"currentColor",points:e.points}))}return o.createElement("span",{ref:n,className:"react-joyride__arrow","data-testid":"arrow",style:{...c,...function(e,t,n,r){var o,i,l,a;if(!t)return{};let[c]=e.split("-");switch(c){case"top":return{bottom:-n,left:null!==(o=t.x)&&void 0!==o?o:0,...t8(e,r,n)};case"bottom":return{top:-n,left:null!==(i=t.x)&&void 0!==i?i:0,...t8(e,r,n)};case"left":return{right:-n,top:null!==(l=t.y)&&void 0!==l?l:0,...t8(e,r,n)};case"right":return{left:-n,top:null!==(a=t.y)&&void 0!==a?a:0,...t8(e,r,n)};default:return{}}}(i,l,a,r),...l?{}:{visibility:"hidden"}}},u)}function t3(e){let t;let{beaconComponent:n,continuous:r,index:i,isLastStep:l,locale:a,nonce:c,onInteract:u,shouldFocus:s,size:f,step:d,styles:p}=e,g=(0,o.useRef)(null),m=!!n;(0,o.useEffect)(()=>{if(m||document.getElementById("joyride-beacon-animation"))return tR;let e=document.createElement("style");e.id="joyride-beacon-animation",c&&e.setAttribute("nonce",c),e.appendChild(document.createTextNode("\n @keyframes joyride-beacon-inner {\n 20% {\n opacity: 0.9;\n }\n\n 90% {\n opacity: 0.7;\n }\n }\n\n @keyframes joyride-beacon-outer {\n 0% {\n transform: scale(1);\n }\n\n 45% {\n opacity: 0.7;\n transform: scale(0.75);\n }\n\n 100% {\n opacity: 0.9;\n transform: scale(1);\n }\n }\n ")),document.head.appendChild(e);let t=setTimeout(()=>{G.domElement(g.current)&&s&&g.current.focus()},0);return()=>{clearTimeout(t);let e=document.getElementById("joyride-beacon-animation");(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}},[m,c,s]);let h=tS(a.open);return t=n?o.createElement(n,{continuous:r,index:i,isLastStep:l,size:f,step:d}):o.createElement("span",{style:p.beacon},o.createElement("span",{style:p.beaconOuter}),o.createElement("span",{style:p.beaconInner})),o.createElement("button",{ref:g,"aria-label":h,className:"react-joyride__beacon","data-testid":"button-beacon",onClick:u,onMouseEnter:u,style:p.beaconWrapper,title:h,type:"button"},t)}function t6(e){let{styles:t,...n}=e,{color:r,height:i,width:l,...a}=t;return o.createElement("button",{style:a,type:"button",...n},o.createElement("svg",{height:"number"==typeof i?"".concat(i,"px"):i,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:"number"==typeof l?"".concat(l,"px"):l,xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",null,o.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}function t4(e){let{backProps:t,closeProps:n,index:r,isLastStep:i,primaryProps:l,skipProps:a,step:c,tooltipProps:u}=e,{buttons:s,content:f,styles:d,title:p}=c,g={};s.includes("primary")&&(g.primary=o.createElement("button",{"data-testid":"button-primary",style:d.buttonPrimary,type:"button",...l})),s.includes("skip")&&!i&&(g.skip=o.createElement("button",{"aria-live":"off","data-testid":"button-skip",style:d.buttonSkip,type:"button",...a})),s.includes("back")&&r>0&&(g.back=o.createElement("button",{"data-testid":"button-back",style:d.buttonBack,type:"button",...t})),g.close=s.includes("close")&&o.createElement(t6,{"data-testid":"button-close",styles:d.buttonClose,...n});let m=p?{"aria-labelledby":"joyride-tooltip-title","aria-describedby":"joyride-tooltip-content"}:{"aria-label":tS(f),"aria-describedby":"joyride-tooltip-content"};return o.createElement("div",{key:"JoyrideTooltip",className:"react-joyride__tooltip","data-joyride-step":r,...c.id&&{"data-joyride-id":c.id},style:d.tooltip,...u,...m},o.createElement("div",{style:d.tooltipContainer},p&&o.createElement("h4",{id:"joyride-tooltip-title",style:d.tooltipTitle},p),o.createElement("div",{id:"joyride-tooltip-content",style:d.tooltipContent},f)),s.some(e=>"back"===e||"primary"===e||"skip"===e)&&o.createElement("div",{style:d.tooltipFooter},o.createElement("div",{style:d.tooltipFooterSpacer},g.skip),g.back,g.primary),g.close)}
1function ne(e){let{continuous:t,controls:n,index:r,isLastStep:i,size:l,step:a}=e,c=e=>{e.preventDefault(),n.prev(tb.BUTTON_BACK)},u=e=>{e.preventDefault(),"skip"===a.closeButtonAction?n.skip(tb.BUTTON_CLOSE):"replay"===a.closeButtonAction?n.replay(tb.BUTTON_CLOSE):n.close(tb.BUTTON_CLOSE)},s=e=>{if(e.preventDefault(),!t){n.close(tb.BUTTON_PRIMARY);return}n.next(tb.BUTTON_PRIMARY)},f=e=>{e.preventDefault(),n.skip(tb.BUTTON_SKIP)},d=()=>{let{back:e,close:n,last:d,next:p,nextWithProgress:g,skip:m}=a.locale,h=tS(e),y=tS(n),v=tS(d),b=tS(p),E=tS(m),w=n,O=y;if(t){if(w=p,O=b,a.showProgress&&!i){let e=tS(g,{step:r+1,steps:l});w=function e(t,n,r){let i=e=>e.replace("{current}",String(n)).replace("{total}",String(r));if("string"===tT(t))return i(t);if(!(0,o.isValidElement)(t))return t;let{children:l}=t.props;if(G.string(l)&&l.includes("{current}"))return(0,o.cloneElement)(t,{children:i(l)});if(Array.isArray(l))return(0,o.cloneElement)(t,{children:l.map(t=>"string"==typeof t?i(t):e(t,n,r))});if(G.function(t.type)&&!Object.values(t.props).length)try{return e(t.type({}),n,r)}catch(e){}return t}(g,r+1,l),O=e}i&&(w=d,O=v)}return{backProps:{"aria-label":h,children:e,"data-action":"back",onClick:c,role:"button",title:h},closeProps:{"aria-label":y,children:n,"data-action":"close",onClick:u,role:"button",title:y},primaryProps:{"aria-label":O,children:w,"data-action":"primary",onClick:s,role:"button",title:O},skipProps:{"aria-label":E,children:m,"data-action":"skip",onClick:f,role:"button",title:E},tooltipProps:{"aria-modal":!0,role:"alertdialog"}}},{arrowComponent:p,beaconComponent:g,tooltipComponent:m,...h}=a;return m?o.createElement(m,{...d(),continuous:t,controls:n,index:r,isLastStep:i,size:l,step:h}):o.createElement(t4,{...d(),continuous:t,controls:n,index:r,isLastStep:i,size:l,step:h})}function nt(e){var t,n,r,i,l,a,c;let{continuous:u,controls:s,index:f,lifecycle:d,nonce:p,open:g,portalElement:m,setPositionData:h,setTooltipRef:y,shouldScroll:v,size:b,step:E,target:w,updateState:O}=e,T=(0,o.useRef)(null),S=(0,o.useRef)({}),x=(0,o.useRef)({}),R="center"===E.placement,P="auto"===E.placement,C=(0,o.useMemo)(()=>({getBoundingClientRect:()=>({x:window.innerWidth/2,y:window.innerHeight/2,top:window.innerHeight/2,left:window.innerWidth/2,bottom:window.innerHeight/2,right:window.innerWidth/2,width:0,height:0})}),[]),A=(0,o.useMemo)(()=>t_(w)?tD(w):void 0,[w]),N=(0,o.useMemo)(()=>tB(w),[w]),L=(0,o.useMemo)(()=>A?{boundary:A,rootBoundary:"viewport"}:{},[A]),I=R||P?"bottom":E.placement,k=R?"fixed":null!==(l=null===(t=E.floatingOptions)||void 0===t?void 0:t.strategy)&&void 0!==l?l:E.isFixed||N?"fixed":"absolute",D=(0,o.useMemo)(()=>{var e,t,n,r,o,i,l,a,c,u;return R?[{name:"center",fn:e=>{let{rects:t}=e;return{x:(window.innerWidth-t.floating.width)/2,y:(window.innerHeight-t.floating.height)/2}}}]:[tl(e=>{var t;let{placement:n}=e,r="right";n.startsWith("top")?r="top":n.startsWith("bottom")?r="bottom":n.startsWith("left")&&(r="left");let o=E.spotlightTarget?0:E.spotlightPadding[r];return E.offset+o+((null===(t=E.floatingOptions)||void 0===t?void 0:t.hideArrow)?0:E.arrowSize)},[E.offset,E.spotlightPadding,E.spotlightTarget,E.arrowSize,null===(e=E.floatingOptions)||void 0===e?void 0:e.hideArrow]),...(i=P,l=E,a=I,i?[tu()]:(null===(c=l.floatingOptions)||void 0===c?void 0:c.flipOptions)===!1?[]:[tc({crossAxis:!1,fallbackPlacements:a.startsWith("left")?["top","bottom"]:a.startsWith("right")?["bottom","top"]:void 0,padding:20,...null===(u=l.floatingOptions)||void 0===u?void 0:u.flipOptions})]),ta({padding:10,...L,...null===(t=E.floatingOptions)||void 0===t?void 0:t.shiftOptions}),...(null===(n=E.floatingOptions)||void 0===n?void 0:n.hideArrow)?[]:[ts({element:T,padding:E.arrowSpacing},[E.arrowSpacing,E.arrowBase])],...null!==(o=null===(r=E.floatingOptions)||void 0===r?void 0:r.middleware)&&void 0!==o?o:[]]},[R,E,P,I,L]),_=to({...R?{elements:{reference:C}}:{},placement:I,strategy:k,middleware:D}),B=to({strategy:k,placement:null!==(a=E.beaconPlacement)&&void 0!==a?a:P||R?"bottom":E.placement,middleware:(0,o.useMemo)(()=>{var e,t,n;return[tl(null!==(n=null===(t=E.floatingOptions)||void 0===t?void 0:null===(e=t.beaconOptions)||void 0===e?void 0:e.offset)&&void 0!==n?n:-18)]},[null===(r=E.floatingOptions)||void 0===r?void 0:null===(n=r.beaconOptions)||void 0===n?void 0:n.offset]),whileElementsMounted:e9});x.current=_.middlewareData,S.current=B.middlewareData,(0,o.useEffect)(()=>{var e;let{floating:t,reference:n}=_.elements;if(n&&t&&d===tv.TOOLTIP)return e9(n,t,_.update,null===(e=E.floatingOptions)||void 0===e?void 0:e.autoUpdate)},[d,_.update,null===(i=E.floatingOptions)||void 0===i?void 0:i.autoUpdate,E.target,_.elements]),(0,o.useEffect)(()=>{!R&&w&&_.refs.setReference(w),w&&B.refs.setReference(w)},[B.refs,R,w,_.refs]),(0,o.useEffect)(()=>{var e,t;_.isPositioned&&h("tooltip",{placement:_.placement,x:null!==(e=_.x)&&void 0!==e?e:0,y:null!==(t=_.y)&&void 0!==t?t:0,middlewareData:x.current})},[h,_.isPositioned,_.placement,_.x,_.y]),(0,o.useEffect)(()=>{var e,t;B.isPositioned&&h("beacon",{placement:B.placement,x:null!==(e=B.x)&&void 0!==e?e:0,y:null!==(t=B.y)&&void 0!==t?t:0,middlewareData:S.current})},[h,B.isPositioned,B.placement,B.x,B.y]);let M=E.zIndex+1,F=(0,o.useCallback)(e=>{("mouseenter"!==e.type||"hover"===E.beaconTrigger)&&O({lifecycle:tv.TOOLTIP_BEFORE,positioned:!1})},[E.beaconTrigger,O]),j=(0,o.useCallback)(e=>{e&&(_.refs.setFloating(e),y(e))},[_.refs,y]),{arrow:U,floater:H}=E.styles,z=null;if(d===tv.TOOLTIP||d===tv.TOOLTIP_BEFORE){let e=tA({...H,..._.floatingStyles,zIndex:M,opacity:g&&_.isPositioned?1:0,...!g&&{transition:"none"}});z=o.createElement("div",{ref:j,className:"react-joyride__floater","data-testid":"floater",id:"react-joyride-step-".concat(f),style:e},o.createElement(ne,{continuous:u,controls:s,index:f,isLastStep:f+1===b,size:b,step:E}),!R&&!(null===(c=E.floatingOptions)||void 0===c?void 0:c.hideArrow)&&o.createElement(t9,{arrowComponent:E.arrowComponent,arrowRef:T,base:E.arrowBase,placement:_.placement,position:_.middlewareData.arrow,size:E.arrowSize,styles:U}))}else(d===tv.BEACON||d===tv.BEACON_BEFORE)&&(z=o.createElement("div",{ref:B.refs.setFloating,className:"react-joyride__floater","data-testid":"floater-beacon",i
1d:"react-joyride-step-".concat(f,"-beacon"),style:tA({...B.floatingStyles,zIndex:M})},o.createElement(t3,{beaconComponent:E.beaconComponent,continuous:u,index:f,isLastStep:f+1===b,locale:E.locale,nonce:p,onInteract:F,shouldFocus:v,size:b,step:E,styles:E.styles})));return o.createElement(t7,{element:m},z)}function nn(e){let{continuous:t,controls:n,index:r,lifecycle:i,nonce:l,portalElement:a,setPositionData:c,shouldScroll:u,size:s,step:f,updateState:d}=e,[p,g]=(0,o.useState)(null);!function(e,t){let n=(0,o.useRef)(null);(0,o.useEffect)(()=>{let r;if(!e)return tR;n.current=document.activeElement;let o=t=>{if("Tab"!==t.key)return;let n=[...e.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), area[href], [tabindex]:not([tabindex="-1"]), [contenteditable]')],{shiftKey:r}=t;if(!n.length)return;t.preventDefault();let o=document.activeElement?n.indexOf(document.activeElement):0;-1!==o&&(r||o+1!==n.length)?r&&0===o?o=n.length-1:o+=r?-1:1:o=0,n[o].focus()};if(e.addEventListener("keydown",o,!1),t){let n=e.querySelector(t);n&&(r=setTimeout(()=>{n.focus({preventScroll:!0})},100))}return()=>{var t;e.removeEventListener("keydown",o),void 0!==r&&clearTimeout(r),null===(t=n.current)||void 0===t||t.focus({preventScroll:!0})}},[e,t])}(f.disableFocusTrap?null:p,"[data-action=primary]");let m=tk(f.target),h=i===tv.TOOLTIP;return tG(f)&&G.domElement(m)?o.createElement(nt,{key:"JoyrideStep-".concat(r),continuous:t,controls:n,index:r,lifecycle:i,nonce:l,open:h,portalElement:a,setPositionData:c,setTooltipRef:g,shouldScroll:u,size:s,step:f,target:m,updateState:d}):null}function nr(e){var t;let{controls:n,mergedProps:r,state:i,step:l,store:a}=e,{continuous:c,debug:u,nonce:s,portalElement:f,scrollToFirstStep:d}=r,p=function(e){let[t,n]=(0,o.useState)(null);return(0,o.useEffect)(()=>{let t=null,r=!1;if(e){if(G.domElement(e))t=e,r=!0;else{let n=document.querySelector(e);n&&(t=n)}}else{let e=document.createElement("div");e.id=tw,document.body.appendChild(e),t=e}return n(t),()=>{t&&!r&&t.parentNode===document.body&&document.body.removeChild(t)}},[e]),t}(f),{index:g,lifecycle:m,status:h}=i,y=h===tE.RUNNING,[v,b]=(0,o.useState)(!1),E=(0,o.useRef)(null),w=null!==(t=null==l?void 0:l.loaderDelay)&&void 0!==t?t:0;(0,o.useEffect)(()=>(i.waiting?0===w?b(!0):E.current=setTimeout(()=>{b(!0)},w):b(!1),()=>{E.current&&(clearTimeout(E.current),E.current=null)}),[w,i.waiting]),(0,o.useEffect)(()=>{if(!y)return;let e=e=>{l&&m===tv.TOOLTIP&&"Escape"===e.key&&l.dismissKeyAction&&("next"===l.dismissKeyAction?n.next(tb.KEYBOARD):"replay"===l.dismissKeyAction?n.replay(tb.KEYBOARD):n.close(tb.KEYBOARD))};return document.body.addEventListener("keydown",e,{passive:!0}),()=>{document.body.removeEventListener("keydown",e)}},[n,y,m,l]);let O=(0,o.useCallback)(()=>{switch(null==l?void 0:l.overlayClickAction){case"close":n.close(tb.OVERLAY);break;case"next":n.next(tb.OVERLAY);break;case"replay":n.replay(tb.OVERLAY)}},[n,null==l?void 0:l.overlayClickAction]);if(!l||!y)return null;let T=i.action===th.START&&!l.skipBeacon&&"center"!==l.placement;return o.createElement(o.Fragment,null,m!==tv.INIT&&o.createElement(nn,{...i,continuous:c,controls:n,debug:u,nonce:s,portalElement:p,setPositionData:a.current.setPositionData,shouldScroll:!l.skipScroll&&(0!==g||d),step:l,updateState:a.current.updateState}),o.createElement(t7,{element:p},o.createElement(o.Fragment,null,v&&o.createElement(tZ,{nonce:s,step:l}),!T&&o.createElement(t5,{...l,continuous:c,lifecycle:m,onClickOverlay:O,portalElement:f?p:null,scrolling:i.scrolling,waiting:i.waiting}))))}function no(e){let{controls:t,failures:n,mergedProps:r,state:i,step:l,store:a}=function(e){var t;let n=function(e,t){let n=(0,o.useRef)(t);return f(t,n.current)||(n.current=t),(0,o.useMemo)(e,n.current)}(()=>(function(e,t){let n=function(e){let t={};for(let n in e)void 0!==e[n]&&(t[n]=e[n]);return t}(t);return{...e,...n}})(tm,e),[e]),{debug:r,initialStepIndex:i,onEvent:l,run:a,stepIndex:c,steps:u}=n,s=(0,o.useRef)(new tK(n)),d=(0,g.useSyncExternalStore)(s.current.subscribe,s.current.getSnapshot,s.current.getServerSnapshot),[m,h]=(0,o.useState)([]),y=(0,o.useCallback)((e,t)=>{h(n=>[...n,{reason:t,step:e}])},[]),v=(0,o.useCallback)(()=>{h([])},[]);!function(e,t){let n=(0,o.useRef)(null);(0,o.useEffect)(()=>
1{if(!t)return;let r=e.current.getSnapshot();return tx(!0,"tour","init",r),n.current=r,e.current.subscribe(e=>{let t=n.current;if(n.current=e,!t)return;let r={},o=!1;for(let n of Object.keys(e))e[n]===t[n]||t$.has(n)||(r[n]={from:t[n],to:e[n]},"status"!==n&&"size"!==n||(o=!0));Object.keys(r).length&&!(!o&&e.index>=e.size)&&tx(!0,o?"tour":"step:".concat(e.index),"state",r)})},[t,e])}(s,r);let b=function(e,t,n){let r=(0,o.useRef)(t),i=(0,o.useRef)(n);return r.current=t,i.current=n,(0,o.useMemo)(()=>{let t=()=>e.current.getSnapshot();return{close:function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{index:r,status:o}=t();o===tE.RUNNING&&e.current.updateState({action:th.CLOSE,index:r+1,origin:n,lifecycle:tv.COMPLETE,positioned:!1,scrolling:!1,waiting:!1})},go:n=>{let{controlled:o,size:i,status:l}=t();if(o){tx(r.current,"tour","go() is not supported in controlled mode");return}l===tE.RUNNING&&e.current.updateState({action:th.GO,index:n,lifecycle:tv.COMPLETE,positioned:!1,scrolling:!1,status:n<i?l:tE.FINISHED,waiting:!1})},info:()=>tP(e.current.getSnapshot(),"positioned"),next:n=>{let{index:r,size:o,status:i}=t();i===tE.RUNNING&&e.current.updateState({action:th.NEXT,index:tq(r+1,o),lifecycle:tv.COMPLETE,origin:n,positioned:!1,scrolling:!1,waiting:!1})},open:()=>{let{status:n}=t();n===tE.RUNNING&&e.current.updateState({action:th.UPDATE,lifecycle:tv.TOOLTIP_BEFORE,positioned:!1,scrolling:!1,waiting:!1})},prev:n=>{let{index:r,size:o,status:i}=t();i===tE.RUNNING&&e.current.updateState({action:th.PREV,index:tq(r-1,o),lifecycle:tv.COMPLETE,origin:n,positioned:!1,scrolling:!1,waiting:!1})},replay:n=>{let{lifecycle:r,status:o}=t();o===tE.RUNNING&&r===tv.TOOLTIP&&e.current.updateState({action:th.REPLAY,lifecycle:tv.COMPLETE,origin:n,positioned:!1,scrolling:!1,waiting:!1})},reset:function(){let n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{controlled:o}=t();if(o){tx(r.current,"tour","reset() is not supported in controlled mode");return}i.current(),e.current.updateState({action:th.RESET,index:0,lifecycle:tv.INIT,positioned:!1,scrolling:!1,status:n?tE.RUNNING:tE.READY,waiting:!1})},skip:n=>{let{status:r}=t();r===tE.RUNNING&&e.current.updateState({action:th.SKIP,lifecycle:tv.COMPLETE,origin:n,positioned:!1,scrolling:!1,status:tE.SKIPPED,waiting:!1})},start:n=>{let{index:r,size:o}=t();i.current(),e.current.updateState({action:th.START,index:G.number(n)?n:r,lifecycle:tv.INIT,positioned:!1,scrolling:!1,status:o?tE.RUNNING:tE.WAITING,waiting:!1},!0)},stop:function(){let n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{index:r,status:o}=t();[tE.FINISHED,tE.SKIPPED].includes(o)||e.current.updateState({action:th.STOP,index:r+(n?1:0),lifecycle:tv.COMPLETE,positioned:!1,scrolling:!1,status:tE.PAUSED,waiting:!1})}}},[e])}(s,r,v),E=function(e,t,n){let r=(0,o.useRef)(e),i=(0,o.useRef)(t);return r.current=e,i.current=t,(0,o.useCallback)((e,t,o)=>{var l;let a={...n.current.getEventState(),error:null,scroll:null,step:t,type:e,...o};null===(l=r.current)||void 0===l||l.call(r,a,i.current),n.current.dispatch(a,i.current)},[n])}(l,b,s),{index:w,size:O,status:T}=d,S=p(d),x=(0,o.useMemo)(()=>tV(n,u[w]),[w,n,u]);return t=()=>{a&&O&&tY(u,r)&&b.start(null!=c?c:i)},(0,o.useEffect)(()=>{t()},[]),!function(e,t){let n=function(){let e=(0,o.useRef)(!0);return e.current?(e.current=!1,!0):e.current}();(0,o.useEffect)(()=>{if(!n)return e()},t)}(()=>{a&&O&&T===tE.IDLE&&s.current.updateState({status:tE.READY})},[a,O,T]),!function(e){let{controls:t,emitEvent:n,props:r,state:i,store:l}=e,{debug:a,initialStepIndex:c,run:u,stepIndex:s,steps:d}=r,p=(0,o.useRef)(void 0),g=(0,o.useRef)(i),m=(0,o.useRef)(t);g.current=i,m.current=t,(0,o.useEffect)(()=>{let e=p.current;if(p.current=r,!e||r===e)return;let{hasChanged:t}=tX(r,e);if(!f(e.steps,d)){if(tY(d,a))l.current.setSteps(d);else{var o;tx(a,"tour","Steps are not valid",d),n(ty.ERROR,null!==(o=d[0])&&void 0!==o?o:{target:"",content:""},{error:Error("Steps are not valid")})}}if(t("run"))u?l.current.getState().size&&m.current.start(null!=s?s:c):m.current.stop();else if(G.number(s)&&t("stepIndex")){let t=G.number(e.stepIndex)&&e.stepIndex<s?th.NEXT:th.PREV;[tE.FINISHED,tE.SKIPPED].includes(g.current.status)||l.current.updateState({action:t,index:s,lifecycle:tv.INIT,positioned:!1},!0)}},[a,n,c,r,u,s,d,l])}({controls:b,emitEvent:E,props:n,state:d,store:s}),!function(e){var t;let{addFailure:n,controls:r,emitEvent:i,previousState:l,props:a,state:c,step:u,store:s}=e,{action:f,index:d,lifecycle:g,positioned:m,scrolling:h,size:y,status:v}=c,b=null!==(t=p(u))&&void 0!==t?t:null,E=(0,o.useRef)(null),w=(0,o.useRef)(a),O=(0,o.useRef)(c),T=(0,o.useRef)(l),S=(0,o.useRef)(u),x=(0,o.useRef)(b),R=(0,o.useRef)(r),P=(0,o.useRef)(null),C=(0,o.useRef)(null),A=(0,o.useRef)(null);w.current=a,O.current=c,T.current=l,S.current=u,x.current=b,R.current=r;let N=()=>{P.current&&(clearInterval(P.current),P.current=null),C.current=null,A.current&&(A.current.cancel(),A.current=null)};(0,o.useEffect)(()=>
1{if(!T.current)return;let{hasChangedTo:e}=tX(O.current,T.current),t=e("action",[th.NEXT,th.PREV,th.SKIP,th.CLOSE,th.REPLAY]),n=f===th.START&&(E.current===th.CLOSE||E.current===th.REPLAY);(t||n)&&(E.current=f)},[f]),(0,o.useEffect)(()=>{var e,t,r,o;if(!T.current)return()=>{N()};let{hasChanged:l}=tX(O.current,T.current),a=S.current;if(l("index")&&N(),v!==tE.RUNNING||!a||g!==tv.INIT)return()=>{N()};let{hasChangedTo:c}=tX(O.current,T.current);c("status",tE.RUNNING)&&[tE.IDLE,tE.READY,tE.PAUSED].includes(T.current.status)&&i(ty.TOUR_START,a),s.current.cleanupPositionData();let{debug:u}=w.current;if(a.before&&!A.current){tx(u,"step:".concat(d),"before()",a),A.current={cancel:()=>{}},s.current.updateState({waiting:!0}),i(ty.STEP_BEFORE_HOOK,a,{action:null!==(e=E.current)&&void 0!==e?e:O.current.action});let r=()=>{var e;A.current=null,s.current.updateState({action:null!==(e=E.current)&&void 0!==e?e:O.current.action,waiting:!1,lifecycle:tv.READY})},o=new AbortController,l=a.beforeTimeout;A.current={cancel:()=>o.abort()};let c=l?setTimeout(()=>{o.signal.aborted||(tx(u,"step:".concat(d),"before()","timed out","".concat(l,"ms")),o.abort(),n(a,"before_hook"),i(ty.ERROR,a,{error:Error("Step before hook timed out")}),r())},l):null;a.before({...s.current.getState(),action:null!==(t=E.current)&&void 0!==t?t:s.current.getState().action,step:a}).then(()=>{o.signal.aborted||(c&&clearTimeout(c),r())}).catch(e=>{o.signal.aborted||(c&&clearTimeout(c),n(a,"before_hook"),i(ty.ERROR,a,{error:e instanceof Error?e:Error(String(e))}),r())})}else if(!A.current){P.current&&C.current!==a.target&&N();let e=tk(a.target);if(e&&tM(e))N(),s.current.updateState({action:null!==(o=E.current)&&void 0!==o?o:th.UPDATE,lifecycle:tv.READY,waiting:!1});else if(0===a.targetWaitTimeout)s.current.updateState({action:null!==(r=E.current)&&void 0!==r?r:th.UPDATE,lifecycle:tv.READY,waiting:!1});else if(!P.current){let{targetWaitTimeout:e}=a,t=Date.now();C.current=a.target,tx(u,"step:".concat(d),"polling","started","".concat(e,"ms")),s.current.updateState({waiting:!0}),P.current=setInterval(()=>{let n=tk(a.target),r=Date.now()-t;if(n&&tM(n)||r>=e){var o;tx(u,"step:".concat(d),"polling",n&&tM(n)?"found":"timed out","".concat(r,"ms")),N(),s.current.updateState({action:null!==(o=E.current)&&void 0!==o?o:th.UPDATE,lifecycle:tv.READY,waiting:!1})}},100)}}return()=>{N()}},[n,i,d,g,v,s]),(0,o.useEffect)(()=>{if(!T.current)return;let{hasChanged:e,hasChangedTo:t,previous:r}=tX(O.current,T.current),o=S.current;if(!o)return;let l=tk(o.target),a=!!l;if(a&&tM(l)){var c,u,f;if(t("lifecycle",tv.READY)&&r.lifecycle===tv.INIT&&i(ty.STEP_BEFORE,o,{action:null!==(c=E.current)&&void 0!==c?c:O.current.action}),t("lifecycle",tv.READY)){let e=O.current,t=!function(e,t,n){let{action:r}=t,o=n&&[th.PREV,th.NEXT].includes(r);return e.skipBeacon||"center"===e.placement||o}(o,e,w.current.continuous)?tv.BEACON:tv.TOOLTIP,n=tk(null!==(f=null!==(u=o.scrollTarget)&&void 0!==u?u:o.spotlightTarget)&&void 0!==f?f:
1o.target),r=tF({isFirstStep:0===e.index,scrollToFirstStep:w.current.scrollToFirstStep,step:o,target:n,targetLifecycle:t}),i=t===tv.TOOLTIP?tv.TOOLTIP_BEFORE:tv.BEACON_BEFORE;tx(w.current.debug,"step:".concat(d),"scroll",r?"needed":"skipped"),s.current.updateState({action:th.UPDATE,lifecycle:i,scrolling:r})}}else if(O.current.status===tE.RUNNING&&g!==tv.INIT&&g!==tv.COMPLETE&&e("lifecycle")){tx(w.current.debug,"step:".concat(d),a?"Target not visible":"Target not mounted",o),n(o,"target_not_found"),i(ty.TARGET_NOT_FOUND,o);let e=O.current;e.controlled||s.current.updateState({action:th.UPDATE,index:e.index+(e.action===th.PREV?-1:1),lifecycle:tv.INIT})}},[n,i,d,g,s]),(0,o.useEffect)(()=>{var e,t,n,r,o,l,a,c;if(!T.current)return;let{hasChangedTo:u,previous:f}=tX(O.current,T.current),d=S.current,p=x.current;if(d&&u("lifecycle",tv.TOOLTIP_BEFORE)&&f.lifecycle===tv.BEACON){let n=tk(null!==(t=null!==(e=d.scrollTarget)&&void 0!==e?e:d.spotlightTarget)&&void 0!==t?t:d.target);if(tF({isFirstStep:0===O.current.index,scrollToFirstStep:w.current.scrollToFirstStep,step:d,target:n,targetLifecycle:tv.TOOLTIP})){s.current.updateState({scrolling:!0,positioned:!1});return}}let m=g===tv.BEACON_BEFORE||g===tv.TOOLTIP_BEFORE;if(d&&m&&!h){let e=g===tv.TOOLTIP_BEFORE?tv.TOOLTIP:tv.BEACON;s.current.updateState({action:th.UPDATE,lifecycle:e})}d&&u("lifecycle",tv.BEACON)&&i(ty.BEACON,d),d&&u("lifecycle",tv.TOOLTIP)&&i(ty.TOOLTIP,d);let y=O.current;if((y.status===tE.RUNNING||y.controlled&&y.status===tE.PAUSED&&d)&&p&&u("lifecycle",tv.COMPLETE)&&f.lifecycle===tv.TOOLTIP&&(i(ty.STEP_AFTER,p,{action:null!==(n=E.current)&&void 0!==n?n:th.UPDATE,index:null!==(r=f.index)&&void 0!==r?r:y.index,lifecycle:y.lifecycle}),p.after)){i(ty.STEP_AFTER_HOOK,p,{action:null!==(o=E.current)&&void 0!==o?o:th.UPDATE,index:null!==(l=f.index)&&void 0!==l?l:y.index,lifecycle:y.lifecycle});try{p.after({...s.current.getState(),action:null!==(a=E.current)&&void 0!==a?a:th.UPDATE,index:null!==(c=f.index)&&void 0!==c?c:y.index,lifecycle:y.lifecycle,step:p})}catch(e){}}},[i,g,m,h,s]),(0,o.useEffect)(()=>{var e,t;if(!T.current)return;let{hasChangedTo:n,previous:r}=tX(O.current,T.current),o=S.current,l=x.current;if(n("action",th.REPLAY)&&n("lifecycle",tv.COMPLETE)){s.current.updateState({lifecycle:tv.INIT});return}y&&!o&&g===tv.INIT&&s.current.updateState({action:th.UPDATE,lifecycle:tv.COMPLETE,status:tE.FINISHED}),!O.current.controlled&&v===tE.RUNNING&&n("lifecycle",tv.COMPLETE)&&d<y&&s.current.updateState({action:th.UPDATE,lifecycle:tv.INIT}),n("lifecycle",tv.COMPLETE)&&d>=y&&s.current.updateState({action:th.UPDATE,lifecycle:tv.COMPLETE,status:tE.FINISHED});let a=null!==(e=null!=o?o:l)&&void 0!==e?e:tV(w.current,w.current.steps[d-1]);if(a&&n("status",[tE.FINISHED,tE.SKIPPED])){let e;e=o?d:l?null!==(t=r.index)&&void 0!==t?t:d:d-1,i(ty.TOUR_END,a,{index:e}),O.current.controlled||R.current.reset(),E.current=null}o&&n("action",th.STOP)&&(E.current=null,i(ty.TOUR_STATUS,o)),o&&n("action",th.RESET)&&(i(ty.TOUR_STATUS,o),E.current=null)},[f,i,d,g,y,v,s])}({addFailure:y,controls:b,emitEvent:E,previousState:S,props:n,state:d,step:x,store:s}),!function(e){let{emitEvent:t,previousState:n,props:r,state:i,step:l,store:a}=e,{index:c,lifecycle:u,positioned:s,scrolling:f,status:d}=i,p=(0,o.useRef)(null),g=(0,o.useRef)(i),m=(0,o.useRef)(n),h=(0,o.useRef)(r),y=(0,o.useRef)(l);g.current=i,m.current=n,h.current=r,y.current=l,(0,o.useEffect)(()=>()=>{var e;null===(e=p.current)||void 0===e||e.call(p)},[]),(0,o.useEffect)(()=>{if(!m.current||!y.current)return;let{hasChangedTo:e}=tX(g.current,m.current),n=y.current,{debug:r}=h.current,{scrollDuration:o}=n,i=u===tv.BEACON_BEFORE||u===tv.TOOLTIP_BEFORE;if(d===tE.RUNNING&&i&&f&&e("positioned",!0)){var l,s,v;let e=tk(null!==(v=null!==(s=n.scrollTarget)&&void 0!==s?s:n.spotlightTarget)&&void 0!==v?v:n.target),i=a.current.getPositionData("beacon"),f=tD(e),d=!!f&&!f.isSameNode(tj());null===(l=p.current)||void 0===l||l.call(p),(async()=>{if(d&&!tB(f)){let e=tj(),r=function(e){let t=e.getBoundingClientRect(),n=tj(),r=t.top+t.height/2,o=window.innerHeight/2;return Math.max(0,n.scrollTop+r-o)}(f),i={initial:e.scrollTop,target:r,element:e,duration:o};t(ty.SCROLL_START,n,{scroll:i});let{cancel:l,promise:a}=tU(r,{element:e,duration:o});p.current=l,await a,t(ty.SCROLL_END,n,{scroll:i})}let l=Math.floor(function(e,t){var n,r,o;
1if(!e)return 0;let i=null!==(n=$(e))&&void 0!==n?n:tj(),l=parseFloat(getComputedStyle(e).scrollMarginTop)||0,a=tI(i),c=null!==(r=i.scrollTop)&&void 0!==r?r:0,{offsetTop:u=0,scrollTop:s=0}=i,f=e.getBoundingClientRect().top+s;if(u&&(t_(e)||e.offsetParent!==document.body)){let t=e.getBoundingClientRect(),n=t.top-(null!==(o=null==a?void 0:a.top)&&void 0!==o?o:0),r=n+t.height,l=i.clientHeight,u=.2*l;f=n>=u&&r<=l-u?c:n+c}let d=Math.floor(f-t-l);return d<0?0:d}(e,n.scrollOffset))||0,s=d?l:function(e,t){let{beaconPosition:n,lifecycle:r,scrollOffset:o,step:i}=t;if(i.scrollTarget||i.spotlightTarget)return Math.max(0,e);let l=e-i.spotlightPadding.top;if(r===tv.BEACON_BEFORE&&(null==n?void 0:n.placement)){let e=function(e){var t;let n=null===(t=e.middlewareData)||void 0===t?void 0:t.offset;return n?["left","right"].some(t=>e.placement.startsWith(t))?n.x:n.y:0}(n);["bottom"].includes(n.placement)||(l+=Math.floor(e-o))}else if(r===tv.TOOLTIP_BEFORE){var a,c,u,s,f,d,p;let{placement:e}=i;if("top"===e){let e=null!==(u=null===(a=document.querySelector(".react-joyride__floater"))||void 0===a?void 0:a.getBoundingClientRect().height)&&void 0!==u?u:0,t=(null===(c=i.floatingOptions)||void 0===c?void 0:c.hideArrow)?0:i.arrowSize;l-=e+(i.offset+i.spotlightPadding.top+t)}else if("left"===e||"right"===e){let e=null!==(d=null===(s=document.querySelector(".react-joyride__floater"))||void 0===s?void 0:s.getBoundingClientRect().height)&&void 0!==d?d:0,t=null!==(p=null===(f=tk(i.target))||void 0===f?void 0:f.getBoundingClientRect().height)&&void 0!==p?p:0,n=o+i.spotlightPadding.top+t/2-e/2;n<o&&(l-=o-n)}}return Math.max(0,l)}(l,{beaconPosition:i,lifecycle:u,scrollOffset:n.scrollOffset,step:n});tx(r,"step:".concat(c),"scroll",d?"custom":"document","".concat(l," â ").concat(s));let g={initial:f.scrollTop,target:s,element:f,duration:o};t(ty.SCROLL_START,n,{scroll:g});let{cancel:m,promise:h}=tU(s,{element:f,duration:o});p.current=m,await h,t(ty.SCROLL_END,n,{scroll:g}),a.current.updateState({scrolling:!1})})().catch(()=>{a.current.updateState({scrolling:!1})})}},[t,c,u,s,f,d,a])}({emitEvent:E,previousState:S,props:n,state:d,step:x,store:s}),{controls:b,failures:m,mergedProps:n,state:d,step:x,store:s}}(e);return{controls:t,failures:n,on:(0,o.useCallback)((e,t)=>a.current.on(e,t),[a]),state:(0,o.useMemo)(()=>tP(i,"positioned"),[i]),step:l,Tour:tN()?o.createElement(nr,{controls:t,mergedProps:r,state:i,step:l,store:a}):null}}function ni(e){let{Tour:t}=no(e);return t}function nl(e){return tN()?o.createElement(ni,e):null}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.