PageSourceSearch

https://unfazed.in/_next/static/chunks/214.6576fcfd626454f8.js

js unfazed.in collected 2026-10-07 15:21:07 UTC 99,222 bytes, 27 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[214],{9535:function(e){"use strict";var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==n},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function o(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function i(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||o,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c,p,u=Array.isArray(n);return u!==Array.isArray(e)?r(n,l):u?l.arrayMerge(e,n,l):(p={},(c=l).isMergeableObject(e)&&i(e).forEach(function(t){p[t]=r(e[t],c)}),i(n).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&c.isMergeableObject(n[t])?p[t]=(function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s})(t,c)(e[t],n[t],c):p[t]=r(n[t],c))}),p)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})},e.exports=s},30338:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(78030).Z)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},87385:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(78030).Z)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},88592:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(78030).Z)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},35290:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(78030).Z)("package-check",[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]])},71145:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(78030).Z)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},11240:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(78030).Z)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},99949:function(e,t,n){"use strict";var r=n(88877);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},41448:function(e,t,n){e.exports=n(99949)()},88877:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},66509: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},69585: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,l,c,p){"function"==typeof(c=c||{})&&(p=c,c={}),"function"!=typeof p&&(p=s);var u=o(),f=i[e],d=c.ease||a,h=isNaN(c.duration)?350:+c.duration,m=!1;return f===l?p(t,i[e]):requestAnimationFrame(function t(a){if(m)return p(n,i[e]);var s=r(1,(o()-u)/h),c=d(s);i[e]=c*(l-f)+f,s<1?requestAnimationFrame(t):requestAnimationFrame(function(){p(null,i[e])})}),function(){m=!0}}}function a(e){return .5*(1-Math.cos(Math.PI*e))}function s(){}e.exports={left:i("scrollLeft"),top:i("scrollTop")}},72281: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)},88997:function(e,t,n){"use strict";n.d(t,{aO:function(){return tx},FP:function(){return tP},Q_:function(){return tC},ZP:function(){return nr}});var r=n(2265);function o(e){return t=>typeof t===e}var i=o("function"),a=e=>null===e,s=e=>"RegExp"===Object.prototype.toString.call(e).slice(8,-1),l=e=>!c(e)&&!a(e)&&(i(e)||"object"==typeof e),c=o("undefined");function p(e,t){if(e===t)return!0;
1if(e&&l(e)&&t&&l(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return function(e,t){let{length:n}=e;if(n!==t.length)return!1;for(let r=n;0!=r--;)if(!p(e[r],t[r]))return!1;return!0}(e,t);if(e instanceof Map&&t instanceof Map)return function(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;for(let n of e.entries())if(!p(n[1],t.get(n[0])))return!1;return!0}(e,t);if(e instanceof Set&&t instanceof Set)return 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}(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return 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}(e,t);if(s(e)&&s(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let e=n.length;0!=e--;)if(!Object.prototype.hasOwnProperty.call(t,n[e]))return!1;for(let r=n.length;0!=r--;){let o=n[r];if(("_owner"!==o||!e.$$typeof)&&!p(e[o],t[o]))return!1}return!0}return!!(Number.isNaN(e)&&Number.isNaN(t))||e===t}var u=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],f=["bigint","boolean","null","number","string","symbol","undefined"];function d(e){let t=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(t)?"HTMLElement":u.includes(t)?t:void 0}function h(e){return t=>d(t)===e}function m(e){return t=>typeof t===e}var y=["innerHTML","ownerDocument","style","attributes","nodeValue"];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 g.array(e)?"Array":g.plainFunction(e)?"Function":d(e)||"Object"}function b(e,t,n){let{actual:r,key:o,previous:i,type:a}=n,s=x(e,o),l=x(t,o),c=[s,l].every(g.number)&&("increased"===a?s<l:s>l);return g.undefined(r)||(c=c&&l===r),g.undefined(i)||(c=c&&s===i),c}function v(e,t,n){var r;let{key:o,type:i,value:a}=n,s=x(e,o),l=x(t,o),c="added"===i?s:l,u="added"===i?l:s;if(!g.nullOrUndefined(a))return g.defined(c)?!!(g.array(c)||g.plainObject(c))&&!!k(c,u)&&([c,u].every(g.array)?!c.some(E(a))&&u.some(E(a)):[c,u].every(g.plainObject)?!Object.entries(c).some(O(a))&&Object.entries(u).some(O(a)):u===a):p(u,a);return[s,l].every(g.array)?!u.every(T(c)):[s,l].every(g.plainObject)?(r=Object.keys(c),Object.keys(u).some(e=>!r.includes(e))):![s,l].every(e=>g.primitive(e)&&g.defined(e))&&("added"===i?!g.defined(s)&&g.defined(l):g.defined(s)&&!g.defined(l))}function w(e,t,{key:n}={}){let r=x(e,n),o=x(t,n);if(!k(r,o))throw TypeError("Inputs have different types");if(!function(...e){return e.every(e=>g.string(e)||g.array(e)||g.plainObject(e))}(r,o))throw TypeError("Inputs don't have length");return[r,o].every(g.plainObject)&&(r=Object.keys(r),o=Object.keys(o)),[r,o]}function O(e){return([t,n])=>g.array(e)?p(e,n)||e.some(e=>p(e,n)||g.array(n)&&T(n)(e)):g.plainObject(e)&&e[t]?!!e[t]&&p(e[t],n):p(e,n)}function E(e){return t=>g.array(e)?e.some(e=>p(e,t)||g.array(t)&&T(t)(e)):p(e,t)}function S(e,t){return g.array(e)?e.some(e=>p(e,t)):p(e,t)}function T(e){return t=>e.some(e=>p(e,t))}function k(...e){return e.every(g.array)||e.every(g.number)||e.every(g.plainObject)||e.every(g.string)}function x(e,t){if(g.plainObject(e)||g.array(e)){if(g.string(t))return t.split(".").reduce((e,t)=>e&&e[t],e);if(g.number(t))return e[t]}return e}function P(e,t){if([e,t].some(g.nullOrUndefined))throw Error("Missing required parameters");if(![e,t].every(e=>g.plainObject(e)||g.array(e)))throw Error("Expected plain objects or array");return{added:(n,r)=>{try{return v(e,t,{key:n,type:"added",value:r})}catch{return!1}},changed:(n,r,o)=>{try{let i=x(e,n),a=x(t,n),s=g.defined(r),l=g.defined(o);if(s||l){let e=l?S(o,i):!S(r,i),t=S(r,a);return e&&t}if([i,a].every(g.array)||[i,a].every(g.plainObject))return!p(i,a);return i!==a}catch{return!1}},changedFrom:(n,r,o)=>{if(!g.defined(n))return!1;try{let i=x(e,n),a=x(t,n),s=g.defined(o);
1return S(r,i)&&(s?S(o,a):!s)}catch{return!1}},decreased:(n,r,o)=>{if(!g.defined(n))return!1;try{return b(e,t,{key:n,actual:r,previous:o,type:"decreased"})}catch{return!1}},emptied:n=>{try{let[r,o]=w(e,t,{key:n});return!!r.length&&!o.length}catch{return!1}},filled:n=>{try{let[r,o]=w(e,t,{key:n});return!r.length&&!!o.length}catch{return!1}},increased:(n,r,o)=>{if(!g.defined(n))return!1;try{return b(e,t,{key:n,actual:r,previous:o,type:"increased"})}catch{return!1}},removed:(n,r)=>{try{return v(e,t,{key:n,type:"removed",value:r})}catch{return!1}}}}g.array=Array.isArray,g.arrayOf=(e,t)=>!!(g.array(e)||g.function(t))&&e.every(e=>t(e)),g.asyncGeneratorFunction=e=>"AsyncGeneratorFunction"===d(e),g.asyncFunction=h("AsyncFunction"),g.bigint=m("bigint"),g.boolean=e=>!0===e||!1===e,g.date=h("Date"),g.defined=e=>!g.undefined(e),g.domElement=e=>g.object(e)&&!g.plainObject(e)&&1===e.nodeType&&g.string(e.nodeName)&&y.every(t=>t in e),g.empty=e=>g.string(e)&&0===e.length||g.array(e)&&0===e.length||g.object(e)&&!g.map(e)&&!g.set(e)&&0===Object.keys(e).length||g.set(e)&&0===e.size||g.map(e)&&0===e.size,g.error=h("Error"),g.function=m("function"),g.generator=e=>g.iterable(e)&&g.function(e.next)&&g.function(e.throw),g.generatorFunction=h("GeneratorFunction"),g.instanceOf=(e,t)=>!!e&&!!t&&Object.getPrototypeOf(e)===t.prototype,g.iterable=e=>!g.nullOrUndefined(e)&&g.function(e[Symbol.iterator]),g.map=h("Map"),g.nan=e=>Number.isNaN(e),g.null=e=>null===e,g.nullOrUndefined=e=>g.null(e)||g.undefined(e),g.number=e=>m("number")(e)&&!g.nan(e),g.numericString=e=>g.string(e)&&e.length>0&&!Number.isNaN(Number(e)),g.object=e=>!g.nullOrUndefined(e)&&(g.function(e)||"object"==typeof e),g.oneOf=(e,t)=>!!g.array(e)&&e.indexOf(t)>-1,g.plainFunction=h("Function"),g.plainObject=e=>{if("Object"!==d(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},g.primitive=e=>{var t;return g.null(e)||(t=typeof e,f.includes(t))},g.promise=h("Promise"),g.propertyOf=(e,t,n)=>{if(!g.object(e)||!t)return!1;let r=e[t];return g.function(n)?n(r):g.defined(r)},g.regexp=h("RegExp"),g.set=h("Set"),g.string=m("string"),g.symbol=m("symbol"),g.undefined=m("undefined"),g.weakMap=h("WeakMap"),g.weakSet=h("WeakSet");var N=n(69585),C=n(72281),R=n(54887),I=n(66509),j=n(9535),L=n.n(j),A=n(41448),M=n.n(A),D="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,F=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(D&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),_=D&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},F))}};function W(e){return e&&"[object Function]"===({}).toString.call(e)}function B(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function U(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function H(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=B(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:H(U(e))}function z(e){return e&&e.referenceNode?e.referenceNode:e}var G=D&&!!(window.MSInputMethodContext&&document.documentMode),q=D&&/MSIE 10/.test(navigator.userAgent);function V(e){return 11===e?G:10===e?q:G||q}function Y(e){if(!e)return document.documentElement;for(var t=V(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===B(n,"position")?Y(n):n:e?e.ownerDocument.documentElement:document.documentElement}function $(e){return null!==e.parentNode?$(e.parentNode):e}function K(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n,r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=r?e:t,i=r?t:e,a=document.createRange();a.setStart(o,0),a.setEnd(i,0);var s=a.commonAncestorContainer;if(e!==s&&t!==s||o.contains(i))return"BODY"!==(n=s.nodeName)&&("HTML"===n||Y(s.firstElementChild)===s)?s:Y(s);var l=$(e);return l.host?K(l.host,t):K(e,$(t).host)}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[n]}return e[n]}function X(e,t){var n="x"===t?"Left":"Top";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+("Left"===n?"Right":"Bottom")+"Width"])}function J(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],V(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Q(e){var t=e.body,n=e.documentElement,r=V(10)&&getComputedStyle(n);return{height:J("Height",t,n,r),width:J("Width",t,n,r)}}var ee=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},et=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),en=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},er=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function eo(e){return er({},e,{right:e.left+e.width,bottom:e.top+e.height})}function ei(e){var t={};try{if(V(10)){t=e.getBoundingClientRect();var n=Z(e,"top"),r=Z(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top}
1,i="HTML"===e.nodeName?Q(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var p=B(e);l-=X(p,"x"),c-=X(p,"y"),o.width-=l,o.height-=c}return eo(o)}function ea(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=V(10),o="HTML"===t.nodeName,i=ei(e),a=ei(t),s=H(e),l=B(t),c=parseFloat(l.borderTopWidth),p=parseFloat(l.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=eo({top:i.top-a.top-c,left:i.left-a.left-p,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var f=parseFloat(l.marginTop),d=parseFloat(l.marginLeft);u.top-=c-f,u.bottom-=c-f,u.left-=p-d,u.right-=p-d,u.marginTop=f,u.marginLeft=d}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Z(t,"top"),o=Z(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(u,t)),u}function es(e){if(!e||!e.parentElement||V())return document.documentElement;for(var t=e.parentElement;t&&"none"===B(t,"transform");)t=t.parentElement;return t||document.documentElement}function el(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?es(e):K(e,z(t));if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=ea(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:Z(n),s=t?0:Z(n,"left");return eo({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=H(U(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=ea(s,a,o);if("HTML"===s.nodeName&&!function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===B(t,"position"))return!0;var r=U(t);return!!r&&e(r)}(a)){var c=Q(e.ownerDocument),p=c.height,u=c.width;i.top+=l.top-l.marginTop,i.bottom=p+l.top,i.left+=l.left-l.marginLeft,i.right=u+l.left}else i=l}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 ec(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=el(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){var t;return er({key:e},s[e],{area:(t=s[e]).width*t.height})}).sort(function(e,t){return t.area-e.area}),c=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),p=c.length>0?c[0].key:l[0].key,u=e.split("-")[1];return p+(u?"-"+u:"")}function ep(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?es(t):K(t,z(n));return ea(n,o,r)}function eu(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function ef(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function ed(e,t,n){n=n.split("-")[0];var r=eu(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width";return o[a]=t[a]+t[l]/2-r[l]/2,n===s?o[s]=t[s]-r[i?"width":"height"]:o[s]=t[ef(s)],o}function eh(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function em(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=eh(e,function(e){return e[t]===n});return e.indexOf(r)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&W(n)&&(t.offsets.popper=eo(t.offsets.popper),t.offsets.reference=eo(t.offsets.reference),t=n(t,e))}),t}function ey(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=ep(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=ec(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=ed(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=em(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function eg(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function eb(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function ev(){return this.state.isDestroyed=!0,eg(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[eb("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function ew(e){var t=e.ownerDocument;return t?t.defaultView:window}function eO(){if(!this.state.eventsEnabled){var e,t,n,r;this.state=(e=this.reference,this.options,t=this.state,n=this.scheduleUpdate,t.updateBound=n,ew(e).addEventListener("resize",t.updateBound,{passive:!0}),!function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(H(a.parentNode),n,r,o),o.push(a)}(r=H(e),"scroll",t.updateBound,t.scrollParents),t.scrollElement=r,t.eventsEnabled=!0,t)}}function eE(){if(this.state.eventsEnabled){var e,t;cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,ew(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEac
1h(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t)}}function eS(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function eT(e,t){Object.keys(t).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&eS(t[n])&&(r="px"),e.style[n]=t[n]+r})}var ek=D&&/Firefox/i.test(navigator.userAgent);function ex(e,t,n){var r=eh(e,function(e){return e.name===t}),o=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!o){var i="`"+t+"`";console.warn("`"+n+"` modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var eP=["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"],eN=eP.slice(3);function eC(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=eN.indexOf(e),r=eN.slice(n+1).concat(eN.slice(0,n));return t?r.reverse():r}var eR={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},eI=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ee(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=_(this.update.bind(this)),this.options=er({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(er({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=er({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return er({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&W(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return et(e,[{key:"update",value:function(){return ey.call(this)}},{key:"destroy",value:function(){return ev.call(this)}},{key:"enableEventListeners",value:function(){return eO.call(this)}},{key:"disableEventListeners",value:function(){return eE.call(this)}}]),e}();eI.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,eI.placements=eP,eI.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",p={start:en({},l,i[l]),end:en({},l,i[l]+i[c]-a[c])};e.offsets.popper=er({},a,p[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,r,o,i,a,s=t.offset,l=e.placement,c=e.offsets,p=c.popper,u=c.reference,f=l.split("-")[0],d=void 0;return eS(+s)?d=[+s,0]:(n=[0,0],r=-1!==["right","left"].indexOf(f),i=(o=s.split(/(\+|\-)/).map(function(e){return e.trim()})).indexOf(eh(o,function(e){return -1!==e.search(/,|\s/)})),o[i]&&-1===o[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),a=/\s*,\s*|\s+/,(-1!==i?[o.slice(0,i).concat([o[i].split(a)[0]]),[o[i].split(a)[1]].concat(o.slice(i+1))]:[o]).map(function(e,t){var n=(1===t?!r:r)?"height":"width",o=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;return eo("%p"===a?n:r)[t]/100*i}return"vh"!==a&&"vw"!==a?i:("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}(e,n,p,u)})}).forEach(function(e,t){e.forEach(function(r,o){eS(r)&&(n[t]+=r*("-"===e[o-1]?-1:1))})}),d=n),"left"===f?(p.top+=d[0],p.left-=d[1]):"right"===f?(p.top+=d[0],p.left+=d[1]):"top"===f?(p.left+=d[0],p.top-=d[1]):"bottom"===f&&(p.left+=d[0],p.top+=d[1]),e.popper=p,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Y(e.instance.popper);e.instance.reference===n&&(n=Y(n));var r=eb("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=el(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);
1o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,p=e.offsets.popper,u={primary:function(e){var n=p[e];return p[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(p[e],l[e])),en({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=p[n];return p[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(p[n],l[e]-("right"===e?p.width:p.height))),en({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";p=er({},p,u[t](e))}),e.offsets.popper=p,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[a?"width":"height"]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!ex(e.instance.modifiers,"arrow","keepTogether"))return e;var n,r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",p=l?"Top":"Left",u=p.toLowerCase(),f=l?"bottom":"right",d=eu(r)[c];s[f]-d<a[u]&&(e.offsets.popper[u]-=a[u]-(s[f]-d)),s[u]+d>a[f]&&(e.offsets.popper[u]+=s[u]+d-a[f]),e.offsets.popper=eo(e.offsets.popper);var h=s[u]+s[c]/2-d/2,m=B(e.instance.popper),y=parseFloat(m["margin"+p]),g=parseFloat(m["border"+p+"Width"]),b=h-e.offsets.popper[u]-y-g;return b=Math.max(Math.min(a[c]-d,b),0),e.arrowElement=r,e.offsets.arrow=(en(n={},u,Math.round(b)),en(n,l?"left":"top",""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(eg(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=el(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=ef(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case eR.FLIP:a=[r,o];break;case eR.CLOCKWISE:a=eC(r);break;case eR.COUNTERCLOCKWISE:a=eC(r,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(r!==s||a.length===l+1)return e;o=ef(r=e.placement.split("-")[0]);var c,p=e.offsets.popper,u=e.offsets.reference,f=Math.floor,d="left"===r&&f(p.right)>f(u.left)||"right"===r&&f(p.left)<f(u.right)||"top"===r&&f(p.bottom)>f(u.top)||"bottom"===r&&f(p.top)<f(u.bottom),h=f(p.left)<f(n.left),m=f(p.right)>f(n.right),y=f(p.top)<f(n.top),g=f(p.bottom)>f(n.bottom),b="left"===r&&h||"right"===r&&m||"top"===r&&y||"bottom"===r&&g,v=-1!==["top","bottom"].indexOf(r),w=!!t.flipVariations&&(v&&"start"===i&&h||v&&"end"===i&&m||!v&&"start"===i&&y||!v&&"end"===i&&g),O=!!t.flipVariationsByContent&&(v&&"start"===i&&m||v&&"end"===i&&h||!v&&"start"===i&&g||!v&&"end"===i&&y),E=w||O;(d||b||E)&&(e.flipped=!0,(d||b)&&(r=a[l+1]),E&&(i="end"===(c=i)?"start":"start"===c?"end":c),e.placement=r+(i?"-"+i:""),e.offsets.popper=er({},e.offsets.popper,ed(e.instance.popper,e.offsets.reference,e.placement)),e=em(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=ef(t),e.offsets.popper=eo(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ex(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=eh(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n,r,o,i,a,s,l,c,p,u,f,d,h=t.x,m=t.y,y=e.offsets.popper,g=eh(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==g&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var b=void 0!==g?g:t.gpuAcceleration,v=Y(e.instance.popper),w=ei(v),O={position:y.position},E=(n=window.devicePixelRatio<2||!ek,o=(r=e.offsets).popper,i=r.reference,a=Math.round,s=function(e){return e},l=a(i.width),c=a(o.width),p=-1!==["left","right"].indexOf(e.placement),u=-1!==e.placement.indexOf("-"),f=n?p||u||l%2==c%2?a:Math.floor:s,d=n?a:s,{left:f(l%2==1&&c%2==1&&!u&&n?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}
1),S="bottom"===h?"top":"bottom",T="right"===m?"left":"right",k=eb("transform"),x=void 0,P=void 0;P="bottom"===S?"HTML"===v.nodeName?-v.clientHeight+E.bottom:-w.height+E.bottom:E.top,x="right"===T?"HTML"===v.nodeName?-v.clientWidth+E.right:-w.width+E.right:E.left,b&&k?(O[k]="translate3d("+x+"px, "+P+"px, 0)",O[S]=0,O[T]=0,O.willChange="transform"):(O[S]=P*("bottom"===S?-1:1),O[T]=x*("right"===T?-1:1),O.willChange=S+", "+T);var N={"x-placement":e.placement};return e.attributes=er({},N,e.attributes),e.styles=er({},O,e.styles),e.arrowStyles=er({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return eT(e.instance.popper,e.styles),function(e,t){Object.keys(t).forEach(function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)})}(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&eT(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=ep(o,t,e,n.positionFixed),a=ec(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),eT(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}};var ej=["innerHTML","ownerDocument","style","attributes","nodeValue"],eL=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],eA=["bigint","boolean","null","number","string","symbol","undefined"];function eM(e){var t=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(t)?"HTMLElement":eL.includes(t)?t:void 0}function eD(e){return function(t){return eM(t)===e}}function eF(e){return function(t){return typeof t===e}}function e_(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 e_.array(e)?"Array":e_.plainFunction(e)?"Function":eM(e)||"Object"}function eW(e){return function(t){return typeof t===e}}e_.array=Array.isArray,e_.arrayOf=function(e,t){return!!(e_.array(e)||e_.function(t))&&e.every(function(e){return t(e)})},e_.asyncGeneratorFunction=function(e){return"AsyncGeneratorFunction"===eM(e)},e_.asyncFunction=eD("AsyncFunction"),e_.bigint=eF("bigint"),e_.boolean=function(e){return!0===e||!1===e},e_.date=eD("Date"),e_.defined=function(e){return!e_.undefined(e)},e_.domElement=function(e){return e_.object(e)&&!e_.plainObject(e)&&1===e.nodeType&&e_.string(e.nodeName)&&ej.every(function(t){return t in e})},e_.empty=function(e){return e_.string(e)&&0===e.length||e_.array(e)&&0===e.length||e_.object(e)&&!e_.map(e)&&!e_.set(e)&&0===Object.keys(e).length||e_.set(e)&&0===e.size||e_.map(e)&&0===e.size},e_.error=eD("Error"),e_.function=eF("function"),e_.generator=function(e){return e_.iterable(e)&&e_.function(e.next)&&e_.function(e.throw)},e_.generatorFunction=eD("GeneratorFunction"),e_.instanceOf=function(e,t){return!!e&&!!t&&Object.getPrototypeOf(e)===t.prototype},e_.iterable=function(e){return!e_.nullOrUndefined(e)&&e_.function(e[Symbol.iterator])},e_.map=eD("Map"),e_.nan=function(e){return Number.isNaN(e)},e_.null=function(e){return null===e},e_.nullOrUndefined=function(e){return e_.null(e)||e_.undefined(e)},e_.number=function(e){return eF("number")(e)&&!e_.nan(e)},e_.numericString=function(e){return e_.string(e)&&e.length>0&&!Number.isNaN(Number(e))},e_.object=function(e){return!e_.nullOrUndefined(e)&&(e_.function(e)||"object"==typeof e)},e_.oneOf=function(e,t){return!!e_.array(e)&&e.indexOf(t)>-1},e_.plainFunction=eD("Function"),e_.plainObject=function(e){if("Object"!==eM(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},e_.primitive=function(e){var t;return e_.null(e)||(t=typeof e,eA.includes(t))},e_.promise=eD("Promise"),e_.propertyOf=function(e,t,n){if(!e_.object(e)||!t)return!1;var r=e[t];return e_.function(n)?n(r):e_.defined(r)},e_.regexp=eD("RegExp"),e_.set=eD("Set"),e_.string=eF("string"),e_.symbol=eF("symbol"),e_.undefined=eF("undefined"),e_.weakMap=eD("WeakMap"),e_.weakSet=eD("WeakSet");var eB=eW("function"),eU=function(e){return"RegExp"===Object.prototype.toString.call(e).slice(8,-1)},eH=function(e){return!ez(e)&&null!==e&&(eB(e)||"object"==typeof e)},ez=eW("undefined"),eG=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);
1if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function eq(e,t){if(e===t)return!0;if(e&&eH(e)&&t&&eH(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=n;0!=r--;)if(!eq(e[r],t[r]))return!1;return!0}(e,t);if(e instanceof Map&&t instanceof Map)return function(e,t){var n,r,o,i;if(e.size!==t.size)return!1;try{for(var a=eG(e.entries()),s=a.next();!s.done;s=a.next()){var l=s.value;if(!t.has(l[0]))return!1}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}try{for(var c=eG(e.entries()),p=c.next();!p.done;p=c.next()){var l=p.value;if(!eq(l[1],t.get(l[0])))return!1}}catch(e){o={error:e}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}return!0}(e,t);if(e instanceof Set&&t instanceof Set)return function(e,t){var n,r;if(e.size!==t.size)return!1;try{for(var o=eG(e.entries()),i=o.next();!i.done;i=o.next()){var a=i.value;if(!t.has(a[0]))return!1}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!0}(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),r=new DataView(t.buffer),o=e.byteLength;o--;)if(n.getUint8(o)!==r.getUint8(o))return!1;return!0}(e,t);if(eU(e)&&eU(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=n.length;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return!1;for(var o=n.length;0!=o--;){var i=n[o];if(("_owner"!==i||!e.$$typeof)&&!eq(e[i],t[i]))return!1}return!0}return!!(Number.isNaN(e)&&Number.isNaN(t))||e===t}function eV(e,t,n){var r=n.actual,o=n.key,i=n.previous,a=n.type,s=e0(e,o),l=e0(t,o),c=[s,l].every(e_.number)&&("increased"===a?s<l:s>l);return e_.undefined(r)||(c=c&&l===r),e_.undefined(i)||(c=c&&s===i),c}function eY(e,t,n){var r,o=n.key,i=n.type,a=n.value,s=e0(e,o),l=e0(t,o),c="added"===i?s:l,p="added"===i?l:s;return e_.nullOrUndefined(a)?[s,l].every(e_.array)?!p.every(eJ(c)):[s,l].every(e_.plainObject)?(r=Object.keys(c),Object.keys(p).some(function(e){return!r.includes(e)})):![s,l].every(function(e){return e_.primitive(e)&&e_.defined(e)})&&("added"===i?!e_.defined(s)&&e_.defined(l):e_.defined(s)&&!e_.defined(l)):e_.defined(c)?!!(e_.array(c)||e_.plainObject(c))&&!!eQ(c,p)&&([c,p].every(e_.array)?!c.some(eZ(a))&&p.some(eZ(a)):[c,p].every(e_.plainObject)?!Object.entries(c).some(eK(a))&&Object.entries(p).some(eK(a)):p===a):eq(p,a)}function e$(e,t,n){var r=(void 0===n?{}:n).key,o=e0(e,r),i=e0(t,r);if(!eQ(o,i))throw TypeError("Inputs have different types");if(!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(function(e){return e_.string(e)||e_.array(e)||e_.plainObject(e)})}(o,i))throw TypeError("Inputs don't have length");return[o,i].every(e_.plainObject)&&(o=Object.keys(o),i=Object.keys(i)),[o,i]}function eK(e){return function(t){var n=t[0],r=t[1];return e_.array(e)?eq(e,r)||e.some(function(e){return eq(e,r)||e_.array(r)&&eJ(r)(e)}):e_.plainObject(e)&&e[n]?!!e[n]&&eq(e[n],r):eq(e,r)}}function eZ(e){return function(t){return e_.array(e)?e.some(function(e){return eq(e,t)||e_.array(t)&&eJ(t)(e)}):eq(e,t)}}function eX(e,t){return e_.array(e)?e.some(function(e){return eq(e,t)}):eq(e,t)}function eJ(e){return function(t){return e.some(function(e){return eq(e,t)})}}function eQ(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(e_.array)||e.every(e_.number)||e.every(e_.plainObject)||e.every(e_.string)}function e0(e,t){if(e_.plainObject(e)||e_.array(e)){if(e_.string(t))return t.split(".").reduce(function(e,t){return e&&e[t]},e);if(e_.number(t))return e[t]}return e}function e1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function e2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?e1(Object(n),!0).forEach(function(t){e5(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e1(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function e8(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function e7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,tr(r.key),r)}}function e9(e,t,n){return t&&e7(e.prototype,t),n&&e7(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function e5(e,t,n){return(t=tr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e3(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&e4(e,t)}function e6(e){return(e6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function e4(e,t){return(e4=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function te(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tt(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=e6(e);return n=t?Reflect.construct(r,arguments,e6(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return tt(e)}(this,n)}}function tr(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var to={flip:{padding:20},preventOverflow:{padding:10}};function ti(e,t,n){return!function(e,t){if("function"!=typeof e)throw TypeError("The typeValidator argument must be a function with the signature function(props, propName, componentName).");if(t&&"string"!=typeof t)throw TypeError("The error message is optional, but must be a string if provided.")}(e,n),function(r,o,i){for(var a=arguments.length,s=Array(a>3?a-3:0),l=3;l<a;l++)s[l-3]=arguments[l];return("boolean"==typeof t?t:"function"==typeof t?t(r,o,i):!0==!!t&&!!t)?Object.hasOwnProperty.call(r,o)?e.apply(void 0,[r,o,i].concat(s)):n?Error(n):Error("Required ".concat(r[o]," `").concat(o,"` was not specified in `").concat(i,"`.")):e.apply(void 0,[r,o,i].concat(s))}}var ta={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing"},ts=void 0!==R.createPortal;function tl(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}function tc(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function tp(e){var t=e.title,n=e.data,r=e.warn,o=e.debug,i=void 0!==r&&r?console.warn||console.error:console.log;void 0!==o&&o&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach(function(e){e_.plainObject(e)&&e.key?i.apply(console,[e.key,e.value]):i.apply(console,[e])}):i.apply(console,[n]),console.groupEnd())}function tu(){}var tf=function(e){e3(n,e);var t=tn(n);function n(){return e8(this,n),t.apply(this,arguments)}
1return e9(n,[{key:"componentDidMount",value:function(){tl()&&(this.node||this.appendNode(),ts||this.renderPortal())}},{key:"componentDidUpdate",value:function(){tl()&&!ts&&this.renderPortal()}},{key:"componentWillUnmount",value:function(){tl()&&this.node&&(ts||R.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var e=this.props,t=e.id,n=e.zIndex;this.node||(this.node=document.createElement("div"),t&&(this.node.id=t),n&&(this.node.style.zIndex=n),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!tl())return null;var e=this.props,t=e.children,n=e.setRef;return(this.node||this.appendNode(),ts)?R.createPortal(t,this.node):(n(R.unstable_renderSubtreeIntoContainer(this,t.length>1?r.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,r=e.target;return t?this.renderPortal():r||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return ts?this.renderReact16():null}}]),n}(r.Component);e5(tf,"propTypes",{children:M().oneOfType([M().element,M().array]),hasChildren:M().bool,id:M().oneOfType([M().string,M().number]),placement:M().string,setRef:M().func.isRequired,target:M().oneOfType([M().object,M().string]),zIndex:M().number});var td=function(e){e3(n,e);var t=tn(n);function n(){return e8(this,n),t.apply(this,arguments)}return e9(n,[{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,r={pointerEvents:"none",position:"absolute",width:"100%"};return t.startsWith("top")?(r.bottom=0,r.left=0,r.right=0,r.height=n):t.startsWith("bottom")?(r.left=0,r.right=0,r.top=0,r.height=n):t.startsWith("left")?(r.right=0,r.top=0,r.bottom=0):t.startsWith("right")&&(r.left=0,r.top=0),r}},{key:"render",value:function(){var e,t=this.props,n=t.placement,o=t.setArrowRef,i=t.styles.arrow,a=i.color,s=i.display,l=i.length,c=i.margin,p=i.position,u=i.spread,f={display:s,position:p},d=u,h=l;return n.startsWith("top")?(e="0,0 ".concat(d/2,",").concat(h," ").concat(d,",0"),f.bottom=0,f.marginLeft=c,f.marginRight=c):n.startsWith("bottom")?(e="".concat(d,",").concat(h," ").concat(d/2,",0 0,").concat(h),f.top=0,f.marginLeft=c,f.marginRight=c):n.startsWith("left")?(h=u,d=l,e="0,0 ".concat(d,",").concat(h/2," 0,").concat(h),f.right=0,f.marginTop=c,f.marginBottom=c):n.startsWith("right")&&(h=u,d=l,e="".concat(d,",").concat(h," ").concat(d,",0 0,").concat(h/2),f.left=0,f.marginTop=c,f.marginBottom=c),r.createElement("div",{className:"__floater__arrow",style:this.parentStyle},r.createElement("span",{ref:o,style:f},r.createElement("svg",{width:d,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},r.createElement("polygon",{points:e,fill:a}))))}}]),n}(r.Component);e5(td,"propTypes",{placement:M().string.isRequired,setArrowRef:M().func.isRequired,styles:M().object.isRequired});var th=["color","height","width"];function tm(e){var t=e.handleClick,n=e.styles,o=n.color,i=n.height,a=n.width,s=te(n,th);return r.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},r.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.createElement("g",null,r.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:o}))))}function ty(e){var t=e.content,n=e.footer,o=e.handleClick,i=e.open,a=e.positionWrapper,s=e.showCloseButton,l=e.title,c=e.styles,p={content:r.isValidElement(t)?t:r.createElement("div",{className:"__floater__c
1ontent",style:c.content},t)};return l&&(p.title=r.isValidElement(l)?l:r.createElement("div",{className:"__floater__title",style:c.title},l)),n&&(p.footer=r.isValidElement(n)?n:r.createElement("div",{className:"__floater__footer",style:c.footer},n)),(s||a)&&!e_.boolean(i)&&(p.close=r.createElement(tm,{styles:c.close,handleClick:o})),r.createElement("div",{className:"__floater__container",style:c.container},p.close,p.title,p.content,p.footer)}tm.propTypes={handleClick:M().func.isRequired,styles:M().object.isRequired},ty.propTypes={content:M().node.isRequired,footer:M().node,handleClick:M().func.isRequired,open:M().bool,positionWrapper:M().bool.isRequired,showCloseButton:M().bool.isRequired,styles:M().object.isRequired,title:M().node};var tg=function(e){e3(n,e);var t=tn(n);function n(){return e8(this,n),t.apply(this,arguments)}return e9(n,[{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,r=e.placement,o=e.hideArrow,i=e.status,a=e.styles,s=a.arrow.length,l=a.floater,c=a.floaterCentered,p=a.floaterClosing,u=a.floaterOpening,f=a.floaterWithAnimation,d=a.floaterWithComponent,h={};return!o&&(r.startsWith("top")?h.padding="0 0 ".concat(s,"px"):r.startsWith("bottom")?h.padding="".concat(s,"px 0 0"):r.startsWith("left")?h.padding="0 ".concat(s,"px 0 0"):r.startsWith("right")&&(h.padding="0 0 0 ".concat(s,"px"))),-1!==[ta.OPENING,ta.OPEN].indexOf(i)&&(h=e2(e2({},h),u)),i===ta.CLOSING&&(h=e2(e2({},h),p)),i!==ta.OPEN||t||(h=e2(e2({},h),f)),"center"===r&&(h=e2(e2({},h),c)),n&&(h=e2(e2({},h),d)),e2(e2({},l),h)}},{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,o=e.hideArrow,i=e.setFloaterRef,a=e.status,s={},l=["__floater"];return t?r.isValidElement(t)?s.content=r.cloneElement(t,{closeFn:n}):s.content=t({closeFn:n}):s.content=r.createElement(ty,this.props),a===ta.OPEN&&l.push("__floater__open"),o||(s.arrow=r.createElement(td,this.props)),r.createElement("div",{ref:i,className:l.join(" "),style:this.style},r.createElement("div",{className:"__floater__body"},s.content,s.arrow))}}]),n}(r.Component);e5(tg,"propTypes",{component:M().oneOfType([M().func,M().element]),content:M().node,disableAnimation:M().bool.isRequired,footer:M().node,handleClick:M().func.isRequired,hideArrow:M().bool.isRequired,open:M().bool,placement:M().string.isRequired,positionWrapper:M().bool.isRequired,setArrowRef:M().func.isRequired,setFloaterRef:M().func.isRequired,showCloseButton:M().bool,status:M().string.isRequired,styles:M().object.isRequired,title:M().node});var tb=function(e){e3(n,e);var t=tn(n);function n(){return e8(this,n),t.apply(this,arguments)}return e9(n,[{key:"render",value:function(){var e,t=this.props,n=t.children,o=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,l=t.setWrapperRef,c=t.style,p=t.styles;if(n){if(1===r.Children.count(n)){if(r.isValidElement(n)){var u=e_.function(n.type)?"innerRef":"ref";e=r.cloneElement(r.Children.only(n),e5({},u,s))}else e=r.createElement("span",null,n)}else e=n}return e?r.createElement("span",{ref:l,style:e2(e2({},p),c),onClick:o,onMouseEnter:i,onMouseLeave:a},e):null}}]),n}(r.Component);e5(tb,"propTypes",{children:M().node,handleClick:M().func.isRequired,handleMouseEnter:M().func.isRequired,handleMouseLeave:M().func.isRequired,setChildRef:M().func.isRequired,setWrapperRef:M().func.isRequired,style:M().object,styles:M().object.isRequired});var tv={zIndex:100},tw=["arrow","flip","offset"],tO=["position","top","right","bottom","left"],tE=function(e){e3(n,e);var t=tn(n);function n(e){var r;return e8(this,n),e5(tt(r=t.call(this,e)),"setArrowRef",function(e){r.arrowRef=e}),e5(tt(r),"setChildRef",function(e){r.childRef=e}),e5(tt(r),"setFloaterRef",function(e){r.floaterRef=e}),e5(tt(r),"setWrapperRef",function(e){r.wrapperRef=e}),e5(tt(r),"handleTransitionEnd",function(){var e=r.state.status,t=r.props.callback;r.wrapperPopper&&r.wrapperPopper.instance.update(),r.setState({status:e===ta.OPENING?ta.OPEN:ta.IDLE},function(){t(r.state.status===ta.OPEN?"open":"close",r.props)})}),e5(tt(r),"handleClick",function(){var e=r.props,t=e.event,n=e.open;if(!e_.boolean(n)){var o=r.state,i=o.positionWrapper,a=o.status;("click"===r.event||"hover"===r.event&&i)&&(tp({title:"click",data:[{event:t,status:a===ta.OPEN?"closing":"opening"}],debug:r.debug}
1),r.toggle())}}),e5(tt(r),"handleMouseEnter",function(){var e=r.props,t=e.event,n=e.open;if(!(e_.boolean(n)||tc())){var o=r.state.status;"hover"===r.event&&o===ta.IDLE&&(tp({title:"mouseEnter",data:[{key:"originalEvent",value:t}],debug:r.debug}),clearTimeout(r.eventDelayTimeout),r.toggle())}}),e5(tt(r),"handleMouseLeave",function(){var e=r.props,t=e.event,n=e.eventDelay,o=e.open;if(!(e_.boolean(o)||tc())){var i=r.state,a=i.status,s=i.positionWrapper;"hover"!==r.event||(tp({title:"mouseLeave",data:[{key:"originalEvent",value:t}],debug:r.debug}),n?-1===[ta.OPENING,ta.OPEN].indexOf(a)||s||r.eventDelayTimeout||(r.eventDelayTimeout=setTimeout(function(){delete r.eventDelayTimeout,r.toggle()},1e3*n)):r.toggle(ta.IDLE))}}),r.state={currentPlacement:e.placement,needsUpdate:!1,positionWrapper:e.wrapperOptions.position&&!!e.target,status:ta.INIT,statusWrapper:ta.INIT},r._isMounted=!1,r.hasMounted=!1,tl()&&window.addEventListener("load",function(){r.popper&&r.popper.instance.update(),r.wrapperPopper&&r.wrapperPopper.instance.update()}),r}return e9(n,[{key:"componentDidMount",value:function(){if(tl()){var e=this.state.positionWrapper,t=this.props,n=t.children,r=t.open,o=t.target;this._isMounted=!0,tp({title:"init",data:{hasChildren:!!n,hasTarget:!!o,isControlled:e_.boolean(r),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!n&&o&&e_.boolean(r)}}},{key:"componentDidUpdate",value:function(e,t){if(tl()){var n,r=this.props,o=r.autoOpen,i=r.open,a=r.target,s=r.wrapperOptions,l=function(e,t){if([e,t].some(e_.nullOrUndefined))throw Error("Missing required parameters");if(![e,t].every(function(e){return e_.plainObject(e)||e_.array(e)}))throw Error("Expected plain objects or array");var n=function(n,r,o){try{var i=e0(e,n),a=e0(t,n),s=e_.defined(r),l=e_.defined(o);if(s||l){var c=l?eX(o,i):!eX(r,i),p=eX(r,a);return c&&p}if([i,a].every(e_.array)||[i,a].every(e_.plainObject))return!eq(i,a);return i!==a}catch(e){return!1}};return{added:function(n,r){try{return eY(e,t,{key:n,type:"added",value:r})}catch(e){return!1}},changed:n,changedFrom:function(n,r,o){if(!e_.defined(n))return!1;try{var i=e0(e,n),a=e0(t,n),s=e_.defined(o);
1return eX(r,i)&&(s?eX(o,a):!s)}catch(e){return!1}},changedTo:function(e,t){return!!e_.defined(e)&&n(e,t)},decreased:function(n,r,o){if(!e_.defined(n))return!1;try{return eV(e,t,{key:n,actual:r,previous:o,type:"decreased"})}catch(e){return!1}},emptied:function(n){try{var r=e$(e,t,{key:n}),o=r[0],i=r[1];return!!o.length&&!i.length}catch(e){return!1}},filled:function(n){try{var r=e$(e,t,{key:n}),o=r[0],i=r[1];return!o.length&&!!i.length}catch(e){return!1}},increased:function(n,r,o){if(!e_.defined(n))return!1;try{return eV(e,t,{key:n,actual:r,previous:o,type:"increased"})}catch(e){return!1}},removed:function(n,r){try{return eY(e,t,{key:n,type:"removed",value:r})}catch(e){return!1}}}}(t,this.state),c=l.changedFrom,p=l.changed;e.open!==i&&(e_.boolean(i)&&(n=i?ta.OPENING:ta.CLOSING),this.toggle(n)),(e.wrapperOptions.position!==s.position||e.target!==a)&&this.changeWrapperPosition(this.props),p("status",ta.IDLE)&&i?this.toggle(ta.OPEN):c("status",ta.INIT,ta.IDLE)&&o&&this.toggle(ta.OPEN),this.popper&&p("status",ta.OPENING)&&this.popper.instance.update(),this.floaterRef&&(p("status",ta.OPENING)||p("status",ta.CLOSING))&&function(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r=function(o){n(o),function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,r)}(e,t,r)},function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,r)}(e,t,r,o)}(this.floaterRef,"transitionend",this.handleTransitionEnd),p("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){tl()&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,r=this.props,o=r.disableFlip,i=r.getPopper,a=r.hideArrow,s=r.offset,l=r.placement,c=r.wrapperOptions;if("center"===l)this.setState({status:ta.IDLE});else if(t&&this.floaterRef){var p=this.options,u=p.arrow,f=p.flip,d=p.offset,h=te(p,tw);new eI(t,this.floaterRef,{placement:l,modifiers:e2({arrow:e2({enabled:!a,element:this.arrowRef},u),flip:e2({enabled:!o,behavior:"top"===l||"bottom"===l?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"]},f),offset:e2({offset:"0, ".concat(s,"px")},d)},h),onCreate:function(t){var n;if(e.popper=t,!(null!==(n=e.floaterRef)&&void 0!==n&&n.isConnected)){e.setState({needsUpdate:!0});return}i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:ta.IDLE}),l!==t.placement&&setTimeout(function(){t.instance.update()},1)},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}})}if(n){var m=e_.undefined(c.offset)?0:c.offset;new eI(this.target,this.wrapperRef,{placement:c.placement||l,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(m,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:ta.IDLE}),i(t,"wrapper"),l!==t.placement&&setTimeout(function(){t.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var e=this;this.floaterRefInterval=setInterval(function(){var t;null!==(t=e.floaterRef)&&void 0!==t&&t.isConnected&&(clearInterval(e.floaterRefInterval),e.setState({needsUpdate:!1}),e.initPopper())},50)}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===ta.OPEN?ta.CLOSING:ta.OPENING;e_.undefined(e)||(t=e),this.setState({status:t})}},{key:"debug",get:function(){return this.props.debug||tl()&&"ReactFloaterDebug"in window&&!!window.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&tc()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return L()(to,e||{})}},{key:"styles",get:function(){var e,t,n=this,r=this.state,o=r.status,i=r.positionWrapper,a=r.statusWrapper,s=this.props.styles,l=L()({wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:(e=L()(tv,s.options||{})).zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:e.zIndex}
1,floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:e},s);if(i&&(t=-1!==[ta.IDLE].indexOf(o)&&-1!==[ta.IDLE].indexOf(a)?this.wrapperPopper.styles:l.wrapperPosition,l.wrapper=e2(e2({},l.wrapper),t)),this.target){var c=window.getComputedStyle(this.target);this.wrapperStyles?l.wrapper=e2(e2({},l.wrapper),this.wrapperStyles):-1!==["relative","static"].indexOf(c.position)||(this.wrapperStyles={},i||(tO.forEach(function(e){n.wrapperStyles[e]=c[e]}),l.wrapper=e2(e2({},l.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return l}},{key:"target",get:function(){if(!tl())return null;var e=this.props.target;return e?e_.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,o=e.status,i=this.props,a=i.children,s=i.component,l=i.content,c=i.disableAnimation,p=i.footer,u=i.hideArrow,f=i.id,d=i.open,h=i.showCloseButton,m=i.style,y=i.target,g=i.title,b=r.createElement(tb,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:m,styles:this.styles.wrapper},a),v={};return n?v.wrapperInPortal=b:v.wrapperAsChildren=b,r.createElement("span",null,r.createElement(tf,{hasChildren:!!a,id:f,placement:t,setRef:this.setFloaterRef,target:y,zIndex:this.styles.options.zIndex},r.createElement(tg,{component:s,content:l,disableAnimation:c,footer:p,handleClick:this.handleClick,hideArrow:u||"center"===t,open:d,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:h,status:o,styles:this.styles,title:g}),v.wrapperInPortal),v.wrapperAsChildren)}}]),n}(r.Component);e5(tE,"propTypes",{autoOpen:M().bool,callback:M().func,children:M().node,component:ti(M().oneOfType([M().func,M().element]),function(e){return!e.content}),content:ti(M().node,function(e){return!e.component}),debug:M().bool,disableAnimation:M().bool,disableFlip:M().bool,disableHoverToClick:M().bool,event:M().oneOf(["hover","click"]),eventDelay:M().number,footer:M().node,getPopper:M().func,hideArrow:M().bool,id:M().oneOfType([M().string,M().number]),offset:M().number,open:M().bool,options:M().object,placement:M().oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:M().bool,style:M().object,styles:M().object,target:M().oneOfType([M().object,M().string]),title:M().node,wrapperOptions:M().shape({offset:M().number,placement:M().oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:M().bool})}),e5(tE,"defaultProps",{autoOpen:!1,callback:tu,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:tu,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});
1var tS=Object.defineProperty,tT=(e,t,n)=>t in e?tS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tk=(e,t,n)=>tT(e,"symbol"!=typeof t?t+"":t,n),tx={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},tP={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},tN={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},tC={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"};function tR(){var e;return!!("undefined"!=typeof window&&(null==(e=window.document)?void 0:e.createElement))}function tI(e){return e?e.getBoundingClientRect():null}function tj(e){if("string"==typeof e)try{return document.querySelector(e)}catch(e){return null}return e}function tL(e,t,n){if(!e)return tD();let r=C(e);if(r){if(r.isSameNode(tD()))return n?document:tD();if(!(r.scrollHeight>r.offsetHeight)&&!t)return r.style.overflow="initial",tD()}return r}function tA(e,t){if(!e)return!1;let n=tL(e,t);return!!n&&!n.isSameNode(tD())}function tM(e,t="fixed"){if(!e||!(e instanceof HTMLElement))return!1;let{nodeName:n}=e,r=e&&1===e.nodeType?getComputedStyle(e):null;return"BODY"!==n&&"HTML"!==n&&(!!r&&r.position===t||!!e.parentNode&&tM(e.parentNode,t))}function tD(){var e;return null!=(e=document.scrollingElement)?e:document.documentElement}var tF=void 0!==R.createPortal;function t_(e=navigator.userAgent){let t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":window.opera||e.includes(" OPR/")?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function tW(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function tB(e,t={}){let{defaultValue:n,step:o,steps:i}=t,a=I(e);return a?(a.includes("{step}")||a.includes("{steps}"))&&o&&i&&(a=a.replace("{step}",o.toString()).replace("{steps}",i.toString())):a=(0,r.isValidElement)(e)&&!Object.values(e.props).length&&"function"===tW(e.type)?tB(e.type({}),t):I(n),a}function tU(e){return e.disableBeacon||"center"===e.placement}function tH(){return!["chrome","safari","firefox","opera"].includes(t_())}function tz({data:e,debug:t=!1,title:n,warn:r=!1}){let o=r?console.warn||console.error:console.log;t&&(n&&e?(console.groupCollapsed(`%creact-joyride: ${n}`,"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(e)?e.forEach(e=>{g.plainObject(e)&&e.key?o.apply(console,[e.key,e.value]):o.apply(console,[e])}):o.apply(console,[e]),console.groupEnd()):console.error("Missing title or data props"))}function tG(e,...t){if(!g.plainObject(e))throw TypeError("Expected an object");let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&!t.includes(r)&&(n[r]=e[r]);return n}var tq={options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},tV={back:"Back",close:"Close",last:"Last",next:"Next",nextLabelWithProgress:"Next (Step {step} of {steps})",open:"Open the dialog",skip:"Skip"},tY={event:"click",placement:"bottom",offset:10,disableBeacon:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrollParentFix:!1,disableScrolling:!1,hideBackButton:!1,hideCloseButton:!1,hideFooter:!1,isFixed:!1,locale:tV,showProgress:!1,showSkipButton:!1,spotlightClicks:!1,spotlightPadding:10},t$={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",width:380,zIndex:100},tK={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},tZ={borderRadius:4,position:"absolute"};function tX(e,t){var n,r,o,i,a,s;let l=j.all([tY,function(e,...t){if(!g.plainObject(e))throw TypeError("Expected an object");
1if(!t.length)return e;let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&t.includes(r)&&(n[r]=e[r]);return n}(e,"beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","hideCloseButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"),null!=t?t:{}],{isMergeableObject:g.plainObject}),c=function(e,t){var n,r,o,i,a;let{floaterProps:s,styles:l}=e,c=j(null!=(n=t.floaterProps)?n:{},null!=s?s:{}),p=j(null!=l?l:{},null!=(r=t.styles)?r:{}),u=j(t$,p.options||{}),f="center"===t.placement||t.disableBeacon,{width:d}=u;window.innerWidth>480&&(d=380),"width"in u&&(d="number"==typeof u.width&&window.innerWidth<u.width?window.innerWidth-30:u.width);let h={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:u.zIndex};return j({beacon:{...tK,display:f?"none":"inline-block",height:u.beaconSize,position:"relative",width:u.beaconSize,zIndex:u.zIndex},beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:u.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(${(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)]:[]})(u.primaryColor).join(",")}, 0.2)`,border:`2px solid ${u.primaryColor}`,borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:u.backgroundColor,borderRadius:5,boxSizing:"border-box",color:u.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:d},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:{...tK,backgroundColor:u.primaryColor,borderRadius:4,color:"#fff"},buttonBack:{...tK,color:u.primaryColor,marginLeft:"auto",marginRight:5},buttonClose:{...tK,color:u.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14},buttonSkip:{...tK,color:u.textColor,fontSize:14},overlay:{...h,backgroundColor:u.overlayColor,mixBlendMode:"hard-light"},overlayLegacy:{...h},overlayLegacyCenter:{...h,backgroundColor:u.overlayColor},spotlight:{...tZ,backgroundColor:"gray"},spotlightLegacy:{...tZ,boxShadow:`0 0 0 9999px ${u.overlayColor}, ${u.spotlightShadow}`},floaterStyles:{arrow:{color:null!=(a=null==(i=null==(o=null==c?void 0:c.styles)?void 0:o.arrow)?void 0:i.color)?a:u.arrowColor},options:{zIndex:u.zIndex+100}},options:u},p)}(e,l),p=tA(tj(l.target),l.disableScrollParentFix),u=j.all([tq,null!=(n=e.floaterProps)?n:{},null!=(r=l.floaterProps)?r:{}]);return u.offset=l.offset,u.styles=j(null!=(o=u.styles)?o:{},c.floaterStyles),u.offset+=null!=(a=null!=(i=e.spotlightPadding)?i:l.spotlightPadding)?a:0,l.placementBeacon&&u.wrapperOptions&&(u.wrapperOptions.placement=l.placementBeacon),p&&u.options.preventOverflow&&(u.options.preventOverflow.boundariesElement="window"),{...l,locale:j.all([tV,null!=(s=e.locale)?s:{},l.locale||{}]),floaterProps:u,styles:tG(c,"floaterStyles")}}function tJ(e,t=!1){return g.plainObject(e)?!!e.target||(tz({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(tz({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function tQ(e,t=!1){return g.array(e)?e.every(e=>tJ(e,t)):(tz({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var t0={action:"init",controlled:!1,index:0,lifecycle:tN.INIT,origin:null,size:0,status:tC.IDLE},t1=Object.keys(tG(t0,"controlled","size")),t2=class{constructor(e){tk(this,"beaconPopper"),tk(this,"tooltipPopper"),tk(this,"data",new Map),tk(this,"listener"),tk(this,"store",new Map),tk(this,"addListener",e=>{this.listener=e}),tk(this,"setSteps",e=>{let{size:t,status:n}=this.getState(),r={size:e.length,status:n};this.data.set("steps",e),n===tC.WAITING&&!t&&e.length&&(r.status=tC.RUNNING),this.setState(r)}),tk(this,"getPopper",e=>"beacon"===e?this.beaconPopper:this.tooltipPopper),tk(this,"setPopper",(e,t)=>{"beacon"===e?this.beaconPopper=t:this.tooltipPopper=t}),tk(this,"cleanupPoppers",()=>{this.beaconPopper=null,this.tooltipPopper=null}),tk(this,"close",(e=null)=>{let{index:t,status:n}=this.getState();n===tC.RUNNING&&this.setState({...this.getNextState({action:tx.CLOSE,index:t+1,origin:e})})}),tk(this,"go",e=>{let{controlled:t,status:n}=this.getState();if(t||n!==tC.RUNNING)return;let r=this.getSteps()[e];this.setState({...this.getNextState({action:tx.GO,index:e}),status:r?n:tC.FINISHED})}),tk(this,"info",()=>this.getState()),tk(this,"next",()=>{let{index:e,status:t}=this.getState();t===tC.RUNNING&&this.setState(this.getNextState({action:tx.NEXT,index:e+1}))}),tk(this,"open",()=>{let{status:e}=this.getState();e===tC.RUNNING&&this.setState({...this.getNextState({action:tx.UPDATE,lifecycle:tN.TOOLTIP})})}),tk(this,"prev",()=>{let{index:e,status:t}=this.getState();t===tC.RUNNING&&this.setState({...this.getNextState({action:tx.PREV,index:e-1})})}),tk(this,"reset",(e=!1)=>{let{controlled:t}=this.getState();t||this.setState({...this.getNextState({action:tx.RESET,index:0}),status:e?tC.RUNNING:tC.READY})}),tk(this,"skip",()=>{let{status:e}=this.getState();e===tC.RUNNING&&this.setState({action:tx.SKIP,lifecycle:tN.INIT,status:tC.SKIPPED})}),tk(this,"start",e=>{let{index:t,size:n}=this.getState();this.setState({...this.getNextState({action:tx.START,index:g.number(e)?e:t},!0),status:n?tC.RUNNING:tC.WAITING})}),tk(this,"stop",(e=!1)=>{let{index:t,status:n}=this.getState();[tC.FINISHED,tC.SKIPPED].includes(n)||this.setState({...this.getNextState({action:tx.STOP,index:t+(e?1:0)}),status:tC.PAUSED})}),tk(this,"update",e=>{var t,n;if(!(g.plainObject(e)&&g.array(t1)&&Object.keys(e).every(e=>
1t1.includes(e))))throw Error(`State is not valid. Valid keys: ${t1.join(", ")}`);this.setState({...this.getNextState({...this.getState(),...e,action:null!=(t=e.action)?t:tx.UPDATE,origin:null!=(n=e.origin)?n:null},!0)})});let{continuous:t=!1,stepIndex:n,steps:r=[]}=null!=e?e:{};this.setState({action:tx.INIT,controlled:g.number(n),continuous:t,index:g.number(n)?n:0,lifecycle:tN.INIT,origin:null,status:r.length?tC.READY:tC.IDLE},!0),this.beaconPopper=null,this.tooltipPopper=null,this.listener=null,this.setSteps(r)}getState(){return this.store.size?{action:this.store.get("action")||"",controlled:this.store.get("controlled")||!1,index:parseInt(this.store.get("index"),10),lifecycle:this.store.get("lifecycle")||"",origin:this.store.get("origin")||null,size:this.store.get("size")||0,status:this.store.get("status")||""}:{...t0}}getNextState(e,t=!1){var n,r,o,i,a;let{action:s,controlled:l,index:c,size:p,status:u}=this.getState(),f=g.number(e.index)?e.index:c,d=l&&!t?c:Math.min(Math.max(f,0),p);return{action:null!=(n=e.action)?n:s,controlled:l,index:d,lifecycle:null!=(r=e.lifecycle)?r:tN.INIT,origin:null!=(o=e.origin)?o:null,size:null!=(i=e.size)?i:p,status:d===p?tC.FINISHED:null!=(a=e.status)?a:u}}getSteps(){let e=this.data.get("steps");return Array.isArray(e)?e:[]}hasUpdatedState(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}setState(e,t=!1){let n=this.getState(),{action:r,index:o,lifecycle:i,origin:a=null,size:s,status:l}={...n,...e};this.store.set("action",r),this.store.set("index",o),this.store.set("lifecycle",i),this.store.set("origin",a),this.store.set("size",s),this.store.set("status",l),t&&(this.store.set("controlled",e.controlled),this.store.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(n)&&this.listener(this.getState())}getHelpers(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}},t8=function({styles:e}){return r.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight","data-test-id":"spotlight",style:e})},t7=class extends r.Component{constructor(){super(...arguments),tk(this,"isActive",!1),tk(this,"resizeTimeout"),tk(this,"scrollTimeout"),tk(this,"scrollParent"),tk(this,"state",{isScrolling:!1,mouseOverSpotlight:!1,showSpotlight:!0}),tk(this,"hideSpotlight",()=>{let{continuous:e,disableOverlay:t,lifecycle:n}=this.props,r=[tN.INIT,tN.BEACON,tN.COMPLETE,tN.ERROR];return t||(e?r.includes(n):n!==tN.TOOLTIP)}),tk(this,"handleMouseMove",e=>{let{mouseOverSpotlight:t}=this.state,{height:n,left:r,position:o,top:i,width:a}=this.spotlightStyles,s="fixed"===o?e.clientY:e.pageY,l="fixed"===o?e.clientX:e.pageX,c=l>=r&&l<=r+a&&s>=i&&s<=i+n;c!==t&&this.updateState({mouseOverSpotlight:c})}),tk(this,"handleScroll",()=>{let{target:e}=this.props,t=tj(e);if(this.scrollParent!==document){let{isScrolling:e}=this.state;e||this.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout(()=>{this.updateState({isScrolling:!1,showSpotlight:!0})},50)}else tM(t,"sticky")&&this.updateState({})}),tk(this,"handleResize",()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.isActive&&this.forceUpdate()},100)})}componentDidMount(){let{debug:e,disableScrolling:t,disableScrollParentFix:n=!1,target:r}=this.props,o=tj(r);this.scrollParent=tL(null!=o?o:document.body,n,!0),this.isActive=!0,window.addEventListener("resize",this.handleResize)}componentDidUpdate(e){var t;let{disableScrollParentFix:n,lifecycle:r,spotlightClicks:o,target:i}=this.props,{changed:a}=P(e,this.props);if(a("target")||a("disableScrollParentFix")){let e=tj(i);this.scrollParent=tL(null!=e?e:document.body,n,!0)}a("lifecycle",tN.TOOLTIP)&&(null==(t=this.scrollParent)||t.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(()=>{let{isScrolling:e}=this.state;e||this.updateState({showSpotlight:!0})},100)),(a("spotlightClicks")||a("disableOverlay")||a("lifecycle"))&&(o&&r===tN.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):r!==tN.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}componentWillUnmount(){var e;this.isActive=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),null==(e=this.scrollParent)||e.removeEventListener("scroll",this.handleScroll)}get overlayStyles(){let{mouseOverSpotlight:e}=this.state,{disableOverlayClose:t,placement:n,styles:r}=this.props,o=r.overlay;return tH()&&(o="center"===n?r.overlayLegacyCenter:r.overlayLegacy),{cursor:t?"default":"pointer",height:function(e=!1){let{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)}(),pointerEvents:e?"none":"auto",...o}}get spotlightStyles(){var e,t,n;let{showSpotlight:r}=this.state,{disableScrollParentFix:o=!1,spotlightClicks:i,spotlightPadding:a=0,styles:s,target:l}=this.props,c=tj(l),p=tI(c),u=tM(c),f=function(e,t,n){var r,o,i;let a=tI(e),s=tL(e,n),l=tA(e,n),c=tM(e),p=0,u=null!=(r=null==a?void 0:a.top)?r:0;return l&&c?u=(null!=(o=null==e?void 0:e.offsetTop)?o:0)-(null!=(i=null==s?void 0:s.scrollTop)?i:0):s instanceof HTMLElement&&(p=s.scrollTop,l||tM(e)||(u+=p),s.isSameNode(tD())||(u+=tD().scrollTop)),Math.floor(u-t)}(c,a,o);return{...tH()?s.spotlightLegacy:s.spotlight,height:Math.round((null!=(e=null==p?void 0:p.height)?e:0)+2*a),left:Math.round((null!=(t=null==p?void 0:p.left)?t:0)-a),opacity:r?1:0,pointerEvents:i?"none":"auto",position:u?"fixed":"absolute",top:f,transition:"opacity 0.2s",width:Math.round((null!=(n=null==p?void 0:p.width)?n:0)+2*a)}}updateState(e){this.isActive&&this.setState(t=>({...t,...e}))}render(){let{showSpotlight:e}=this.state,{onClickOverlay:t,placement:n}=this.props,{hideSpotlight:o,overlayStyles:i,spotlightStyles:a}=this;if(o())return null;let s="center"!==n&&e&&r.createElement(t8,{styles:a});if("safari"===t_()){let{mixBlendMode:e,zIndex:t,...n}=i;s=r.createElement("div",{style:{...n}},s),delete i.backgroundColor}return r.createElement("div",{className:"react-joyride__overlay","data-test-id":"overlay",onClick:t,role:"presentation",style:i},s)}},t9=class extends r.Component{constructor(){super(...arguments),tk(this,"node",null)}componentDidMount(){let{id:e}=this.props;tR()&&(this.node=document.createElement("div"),this.node.id=e,document.body.appendChild(this.node),tF||this.renderReact15())}componentDidUpdate(){tR()&&(tF||this.renderReact15())}componentWillUnmount(){tR()&&this.node&&(tF||R.unmountComponentAtNode(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=null))}renderReact15(){if(!tR())return;let{children:e}=this.props;this.node&&R.unstable_renderSubtreeIntoContainer(this,e,this.node)}renderReact16(){if(!tR()||!tF)return null;let{children:e}=this.props;return this.node?R.createPortal(e,this.node):null}render(){return tF?this.renderReact16():null}},t5=class{constructor(e,t){if(tk(this,"element"),tk(this,"options"),tk(this,"canBeTabbed",e=>{let{tabIndex:t}=e;return null!==t&&!(t<0)&&this.canHaveFocus(e)}),tk(this,"canHaveFocus",e=>{let t=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(t)&&!e.getAttribute("disabled")||"a"===t&&!!e.getAttribute("href"))&&this.isVisible(e)}),tk(this,"findValidTabElements",()=>[].slice.call(this.element.querySelectorAll("*"),0).filter(this.canBeTabbed)),tk(this,"handleKeyDown",e=>{let{code:t="Tab"}=this.options;e.code===t&&this.interceptTab(e)}),tk(this,"interceptTab",e=>{e.preventDefault();let t=this.findValidTabElements(),{shiftKey:n}=e;if(!t.length)return;let r=document.activeElement?t.indexOf(document.activeElement):0;-1!==r&&(n||r+1!==t.length)?n&&0===r?r=t.length-1:r+=n?-1:1:r=0,t[r].focus()}),tk(this,"isHidden",e=>{let t=e.offsetWidth<=0&&e.offsetHeight<=0,n=window.getComputedStyle(e);return!!t&&!e.innerHTML||t&&"visible"!==n.getPropertyValue("overflow")||"none"===n.getPropertyValue("display")}),tk(this,"isVisible",e=>{let t=e;for(;t;)if(t instanceof HTMLElement){if(t===document.body)break;if(this.isHidden(t))return!1;t=t.parentNode}return!0}),tk(this,"removeScope",()=>{window.removeEventListener("keydown",this.handleKeyDown)}),tk(this,"checkFocus",e=>{document.activeElement!==e&&(e.focus(),window.requestAnimationFrame(()=>this.checkFocus(e)))}),tk(this,"setFocus",()=>{let{selector:e}=this.options;if(!e)return;let t=this.element.querySelector(e);t&&window.requestAnimationFrame(()=>this.checkFocus(t))}),!(e instanceof HTMLElement))throw TypeError("Invalid parameter: element must be an HTMLElement");this.element=e,this.options=t,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}},t3=class extends r.Component{constructor(e){if(super(e),tk(this,"beacon",null),tk(this,"setBeaconRef",e=>{this.beacon=e}),e.beaconComponent)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.id="joyride-beacon-animation",e.nonce&&n.setAttribute("nonce",e.nonce);let r=`
2        @keyframes joyride-beacon-inner {
3          20% {
4            opacity: 0.9;
5          }
6        
7          90% {
8            opacity: 0.7;
9          }
10        }
11        
12        @keyframes joyride-beacon-outer {
13          0% {
14            transform: scale(1);
15          }
16        
17          45% {
18            opacity: 0.7;
19            transform: scale(0.75);
20          }
21        
22          100% {
23            opacity: 0.9;
24            transform: scale(1);
25          }
26        }
27      `;n.appendChild(document.createTextNode(r)),t.appendChild(n)}componentDidMount(){let{shouldFocus:e}=this.props;setTimeout(()=>{g.domElement(this.beacon)&&e&&this.beacon.focus()},0)}componentWillUnmount(){let e=document.getElementById("joyride-beacon-animation");(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}render(){let{beaconComponent:e,continuous:t,index:n,isLastStep:o,locale:i,onClickOrHover:a,size:s,step:l,styles:c}=this.props,p=tB(i.open),u={"aria-label":p,onClick:a,onMouseEnter:a,ref:this.setBeaconRef,title:p};return e?r.createElement(e,{continuous:t,index:n,isLastStep:o,size:s,step:l,...u}):r.createElement("button",{key:"JoyrideBeacon",className:"react-joyride__beacon","data-test-id":"button-beacon",style:c.beacon,type:"button",...u},r.createElement("span",{style:c.beaconInner}),r.createElement("span",{style:c.beaconOuter}))}},t6=function({styles:e,...t}){let{color:n,height:o,width:i,...a}=e;return r.createElement("button",{style:a,type:"button",...t},r.createElement("svg",{height:"number"==typeof o?`${o}px`:o,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:"number"==typeof i?`${i}px`:i,xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",null,r.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:n}))))},t4=function(e){let{backProps:t,closeProps:n,index:o,isLastStep:i,primaryProps:a,skipProps:s,step:l,tooltipProps:c}=e,{content:p,hideBackButton:u,hideCloseButton:f,hideFooter:d,showSkipButton:h,styles:m,title:y}=l,g={};return g.primary=r.createElement("button",{"data-test-id":"button-primary",style:m.buttonNext,type:"button",...a}),h&&!i&&(g.skip=r.createElement("button",{"aria-live":"off","data-test-id":"button-skip",style:m.buttonSkip,type:"button",...s})),!u&&o>0&&(g.back=r.createElement("button",{"data-test-id":"button-back",style:m.buttonBack,type:"button",...t})),g.close=!f&&r.createElement(t6,{"data-test-id":"button-close",styles:m.buttonClose,...n}),r.createElement("div",{key:"JoyrideTooltip","aria-label":tB(null!=y?y:p),className:"react-joyride__tooltip",style:m.tooltip,...c},r.createElement("div",{style:m.tooltipContainer},y&&r.createElement("h1",{"aria-label":tB(y),style:m.tooltipTitle},y),r.createElement("div",{style:m.tooltipContent},p)),!d&&r.createElement("div",{style:m.tooltipFooter},r.createElement("div",{style:m.tooltipFooterSpacer},g.skip),g.back,g.primary),g.close)},ne=class extends r.Component{constructor(){super(...arguments),tk(this,"handleClickBack",e=>{e.preventDefault();let{helpers:t}=this.props;t.prev()}),tk(this,"handleClickClose",e=>{e.preventDefault();let{helpers:t}=this.props;t.close("button_close")}),tk(this,"handleClickPrimary",e=>{e.preventDefault();let{continuous:t,helpers:n}=this.props;if(!t){n.close("button_primary");return}n.next()}),tk(this,"handleClickSkip",e=>{e.preventDefault();let{helpers:t}=this.props;t.skip()}),tk(this,"getElementsProps",()=>{let{continuous:e,index:t,isLastStep:n,setTooltipRef:o,size:i,step:a}=this.props,{back:s,close:l,last:c,next:p,nextLabelWithProgress:u,skip:f}=a.locale,d=tB(s),h=tB(l),m=tB(c),y=tB(p),g=tB(f),b=l,v=h;if(e){if(b=p,v=y,a.showProgress&&!n){let e=tB(u,{step:t+1,steps:i});b=function e(t,n,o){let i=e=>e.replace("{step}",String(n)).replace("{steps}",String(o));if("string"===tW(t))return i(t);if(!(0,r.isValidElement)(t))return t;let{children:a}=t.props;return"string"===tW(a)&&a.includes("{step}")?(0,r.cloneElement)(t,{children:i(a)}):Array.isArray(a)?(0,r.cloneElement)(t,{children:a.map(t=>"string"==typeof t?i(t):e(t,n,o))}):"function"!==tW(t.type)||Object.values(t.props).length?t:e(t.type({}),n,o)}(u,t+1,i),v=e}n&&(b=c,v=m)}return{backProps:{"aria-label":d,children:s,"data-action":"back",onClick:this.handleClickBack,role:"button",title:d},closeProps:{"aria-label":h,children:l,"data-action":"close",onClick:this.handleClickClose,role:"button",title:h},primaryProps:{"aria-label":v,children:b,"data-action":"primary",onClick:this.handleClickPrimary,role:"button",title:v},skipProps:{"aria-label":g,children:f,"data-action":"skip",onClick:this.handleClickSkip,role:"button",title:g},tooltipProps:{"aria-modal":!0,ref:o,role:"alertdialog"}}})}render(){let e;let{continuous:t,index:n,isLastStep:o,setTooltipRef:i,size:a,step:s}=this.props,{beaconComponent:l,tooltipComponent:c,...p}=s;if(c){let s={...this.getElementsProps(),continuous:t,index:n,isLastStep:o,size:a,step:p,setTooltipRef:i};e=r.createElement(c,{...s})}else e=r.createElement(t4,{...this.getElementsProps(),continuous:t,index:n,isLastStep:o,size:a,step:s});return e}},nt=class extends r.Component{constructor(){super(...arguments),tk(this,"scope",null),tk(this,"tooltip",null),tk(this,"handleClickHoverBeacon",e=>
27{let{step:t,store:n}=this.props;("mouseenter"!==e.type||"hover"===t.event)&&n.update({lifecycle:tN.TOOLTIP})}),tk(this,"setTooltipRef",e=>{this.tooltip=e}),tk(this,"setPopper",(e,t)=>{var n;let{action:r,lifecycle:o,step:i,store:a}=this.props;"wrapper"===t?a.setPopper("beacon",e):a.setPopper("tooltip",e),a.getPopper("beacon")&&(a.getPopper("tooltip")||"center"===i.placement)&&o===tN.INIT&&a.update({action:r,lifecycle:tN.READY}),(null==(n=i.floaterProps)?void 0:n.getPopper)&&i.floaterProps.getPopper(e,t)}),tk(this,"renderTooltip",e=>{let{continuous:t,helpers:n,index:o,size:i,step:a}=this.props;return r.createElement(ne,{continuous:t,helpers:n,index:o,isLastStep:o+1===i,setTooltipRef:this.setTooltipRef,size:i,step:a,...e})})}componentDidMount(){let{debug:e,index:t}=this.props;tz({title:`step:${t}`,data:[{key:"props",value:this.props}],debug:e})}componentDidUpdate(e){var t;let{action:n,callback:r,continuous:o,controlled:i,debug:a,helpers:s,index:l,lifecycle:c,shouldScroll:p,status:u,step:f,store:d}=this.props,{changed:h,changedFrom:m}=P(e,this.props),y=s.info(),g=o&&n!==tx.CLOSE&&(l>0||n===tx.PREV),b=h("action")||h("index")||h("lifecycle")||h("status"),v=m("lifecycle",[tN.TOOLTIP,tN.INIT],tN.INIT),w=h("action",[tx.NEXT,tx.PREV,tx.SKIP,tx.CLOSE]),O=i&&l===e.index;if(w&&(v||O)&&r({...y,index:e.index,lifecycle:tN.COMPLETE,step:e.step,type:tP.STEP_AFTER}),"center"===f.placement&&u===tC.RUNNING&&h("index")&&n!==tx.START&&c===tN.INIT&&d.update({lifecycle:tN.READY}),b){let e=tj(f.target),t=!!e;t&&function(e){var t;if(!e)return!1;let n=e;for(;n&&n!==document.body;){if(n instanceof HTMLElement){let{display:e,visibility:t}=getComputedStyle(n);if("none"===e||"hidden"===t)return!1}n=null!=(t=n.parentElement)?t:null}return!0}(e)?(m("status",tC.READY,tC.RUNNING)||m("lifecycle",tN.INIT,tN.READY))&&r({...y,step:f,type:tP.STEP_BEFORE}):(console.warn(t?"Target not visible":"Target not mounted",f),r({...y,type:tP.TARGET_NOT_FOUND,step:f}),i||d.update({index:l+(n===tx.PREV?-1:1)}))}m("lifecycle",tN.INIT,tN.READY)&&d.update({lifecycle:tU(f)||g?tN.TOOLTIP:tN.BEACON}),h("index")&&tz({title:`step:${c}`,data:[{key:"props",value:this.props}],debug:a}),h("lifecycle",tN.BEACON)&&r({...y,step:f,type:tP.BEACON}),h("lifecycle",tN.TOOLTIP)&&(r({...y,step:f,type:tP.TOOLTIP}),p&&this.tooltip&&(this.scope=new t5(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus())),m("lifecycle",[tN.TOOLTIP,tN.INIT],tN.INIT)&&(null==(t=this.scope)||t.removeScope(),d.cleanupPoppers())}componentWillUnmount(){var e;null==(e=this.scope)||e.removeScope()}get open(){let{lifecycle:e,step:t}=this.props;return tU(t)||e===tN.TOOLTIP}render(){let{continuous:e,debug:t,index:n,nonce:o,shouldScroll:i,size:a,step:s}=this.props,l=tj(s.target);return tJ(s)&&g.domElement(l)?r.createElement("div",{key:`JoyrideStep-${n}`,className:"react-joyride__step"},r.createElement(tE,{...s.floaterProps,component:this.renderTooltip,debug:t,getPopper:this.setPopper,id:`react-joyride-step-${n}`,open:this.open,placement:s.placement,target:s.target},r.createElement(t3,{beaconComponent:s.beaconComponent,continuous:e,index:n,isLastStep:n+1===a,locale:s.locale,nonce:o,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:i,size:a,step:s,styles:s.styles}))):null}},nn=class extends r.Component{constructor(e){super(e),tk(this,"helpers"),tk(this,"store"),tk(this,"callback",e=>{let{callback:t}=this.props;g.function(t)&&t(e)}),tk(this,"handleKeyboard",e=>{let{index:t,lifecycle:n}=this.state,{steps:r}=this.props,o=r[t];n===tN.TOOLTIP&&"Escape"===e.code&&o&&!o.disableCloseOnEsc&&this.store.close("keyboard")}),tk(this,"handleClickOverlay",()=>{let{index:e}=this.state,{steps:t}=this.props;tX(this.props,t[e]).disableOverlayClose||this.helpers.close("overlay")}),tk(this,"syncState",e=>{this.setState(e)});let{debug:t,getHelpers:n,run:r=!0,stepIndex:o}=e;this.store=new t2({...e,controlled:r&&g.number(o)}),this.helpers=this.store.getHelpers();let{addListener:i}=this.store;tz({title:"init",data:[{key:"props",value:this.props},{key:"state",value:this.state}],debug:t}),i(this.syncState),n&&n(this.helpers),this.state=this.store.getState()}componentDidMount(){if(!tR())return;let{debug:e,disableCloseOnEsc:t,run:n,steps:r}=this.props,{start:o}=this.store;tQ(r,e)&&n&&o(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}componentDidUpdate(e,t){if(!tR())return;let{action:n,controlled:r,index:o,status:i}
27=this.state,{debug:a,run:s,stepIndex:l,steps:c}=this.props,{stepIndex:u,steps:f}=e,{reset:d,setSteps:h,start:m,stop:y,update:b}=this.store,{changed:v}=P(e,this.props),{changed:w,changedFrom:O}=P(t,this.state),E=tX(this.props,c[o]),S=!p(f,c),T=g.number(l)&&v("stepIndex"),k=tj(E.target);if(S&&(tQ(c,a)?h(c):console.warn("Steps are not valid",c)),v("run")&&(s?m(l):y()),T){let e=g.number(u)&&u<l?tx.NEXT:tx.PREV;n===tx.STOP&&(e=tx.START),[tC.FINISHED,tC.SKIPPED].includes(i)||b({action:n===tx.CLOSE?tx.CLOSE:e,index:l,lifecycle:tN.INIT})}r||i!==tC.RUNNING||0!==o||k||(this.store.update({index:o+1}),this.callback({...this.state,type:tP.TARGET_NOT_FOUND,step:E}));let x={...this.state,index:o,step:E};if(w("action",[tx.NEXT,tx.PREV,tx.SKIP,tx.CLOSE])&&w("status",tC.PAUSED)){let e=tX(this.props,c[t.index]);this.callback({...x,index:t.index,lifecycle:tN.COMPLETE,step:e,type:tP.STEP_AFTER})}if(w("status",[tC.FINISHED,tC.SKIPPED])){let e=tX(this.props,c[t.index]);r||this.callback({...x,index:t.index,lifecycle:tN.COMPLETE,step:e,type:tP.STEP_AFTER}),this.callback({...x,type:tP.TOUR_END,step:e,index:t.index}),d()}else O("status",[tC.IDLE,tC.READY],tC.RUNNING)?this.callback({...x,type:tP.TOUR_START}):(w("status")||w("action",tx.RESET))&&this.callback({...x,type:tP.TOUR_STATUS});this.scrollToStep(t)}componentWillUnmount(){let{disableCloseOnEsc:e}=this.props;e||document.body.removeEventListener("keydown",this.handleKeyboard)}scrollToStep(e){let{index:t,lifecycle:n,status:r}=this.state,{debug:o,disableScrollParentFix:i=!1,scrollDuration:a,scrollOffset:s=20,scrollToFirstStep:l=!1,steps:c}=this.props,p=tX(this.props,c[t]),u=tj(p.target),f=function(e){let{isFirstStep:t,lifecycle:n,previousLifecycle:r,scrollToFirstStep:o,step:i,target:a}=e;return!i.disableScrolling&&(!t||o||n===tN.TOOLTIP)&&"center"!==i.placement&&(!i.isFixed||!tM(a))&&r!==n&&[tN.BEACON,tN.TOOLTIP].includes(n)}({isFirstStep:0===t,lifecycle:n,previousLifecycle:e.lifecycle,scrollToFirstStep:l,step:p,target:u});if(r===tC.RUNNING&&f){let e=tA(u,i),l=tL(u,i),c=Math.floor(function(e,t,n){var r;if(!e)return 0;let{offsetTop:o=0,scrollTop:i=0}=null!=(r=C(e))?r:{},a=e.getBoundingClientRect().top+i;o&&(tA(e,n)||e.offsetParent!==document.body)&&(a-=o);let s=Math.floor(a-t);return s<0?0:s}(u,s,i))||0;tz({title:"scrollToStep",data:[{key:"index",value:t},{key:"lifecycle",value:n},{key:"status",value:r}],debug:o});let f=this.store.getPopper("beacon"),d=this.store.getPopper("tooltip");if(n===tN.BEACON&&f){let{offsets:t,placement:n}=f;["bottom"].includes(n)||e||(c=Math.floor(t.popper.top-s))}else if(n===tN.TOOLTIP&&d){let{flipped:t,offsets:n,placement:r}=d;!["top","right","left"].includes(r)||t||e?c-=p.spotlightPadding:c=Math.floor(n.popper.top-s)}c=c>=0?c:0,r===tC.RUNNING&&(function(e,t){let{duration:n,element:r}=t;return new Promise((t,o)=>{let{scrollTop:i}=r,a=e>i?e-i:i-e;N.top(r,e,{duration:a<100?50:n},e=>e&&"Element already at target scroll position"!==e.message?o(e):t())})})(c,{element:l,duration:a}).then(()=>{setTimeout(()=>{var e;null==(e=this.store.getPopper("tooltip"))||e.instance.update()},10)})}}render(){if(!tR())return null;let{index:e,lifecycle:t,status:n}=this.state,{continuous:o=!1,debug:i=!1,nonce:a,scrollToFirstStep:s=!1,steps:l}=this.props,c=n===tC.RUNNING,p={};if(c&&l[e]){let n=tX(this.props,l[e]);p.step=r.createElement(nt,{...this.state,callback:this.callback,continuous:o,debug:i,helpers:this.helpers,nonce:a,shouldScroll:!n.disableScrolling&&(0!==e||s),step:n,store:this.store}),p.overlay=r.createElement(t9,{id:"react-joyride-portal"},r.createElement(t7,{...n,continuous:o,debug:i,lifecycle:t,onClickOverlay:this.handleClickOverlay}))}return r.createElement("div",{className:"react-joyride"},p.step,p.overlay)}};tk(nn,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:void 0,hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});var nr=nn}}]);

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.