text: parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"or4r":[function(require,module,exports) {
  var global = arguments[3];
  var t=arguments[3],e="Expected a function",n=NaN,r="[object Symbol]",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt,a="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,v=a||s||Function("return this")(),l=Object.prototype,p=l.toString,b=Math.max,m=Math.min,y=function(){return v.Date.now()};function d(t,n,r){var i,o,u,f,c,a,s=0,v=!1,l=!1,p=!0;if("function"!=typeof t)throw new TypeError(e);function d(e){var n=i,r=o;return i=o=void 0,s=e,f=t.apply(r,n)}function g(t){var e=t-a;return void 0===a||e>=n||e<0||l&&t-s>=u}function O(){var t=y();if(g(t))return x(t);c=setTimeout(O,function(t){var e=n-(t-a);return l?m(e,u-(t-s)):e}(t))}function x(t){return c=void 0,p&&i?d(t):(i=o=void 0,f)}function T(){var t=y(),e=g(t);if(i=arguments,o=this,a=t,e){if(void 0===c)return function(t){return s=t,c=setTimeout(O,n),v?d(t):f}(a);if(l)return c=setTimeout(O,n),d(a)}return void 0===c&&(c=setTimeout(O,n)),f}return n=h(n)||0,j(r)&&(v=!!r.leading,u=(l="maxWait"in r)?b(h(r.maxWait)||0,n):u,p="trailing"in r?!!r.trailing:p),T.cancel=function(){void 0!==c&&clearTimeout(c),s=0,i=a=o=c=void 0},T.flush=function(){return void 0===c?f:x(y())},T}function j(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function g(t){return!!t&&"object"==typeof t}function O(t){return"symbol"==typeof t||g(t)&&p.call(t)==r}function h(t){if("number"==typeof t)return t;if(O(t))return n;if(j(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=j(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var r=u.test(t);return r||f.test(t)?c(t.slice(2),r?2:8):o.test(t)?n:+t}module.exports=d;
  },{}],"WEtf":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r={android:function(){return navigator.userAgent.match(/Android/i)},blackberry:function(){return navigator.userAgent.match(/BlackBerry/i)},ios:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},opera:function(){return navigator.userAgent.match(/Opera Mini/i)},windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return r.android()||r.blackberry()||r.ios()||r.opera()||r.windows()}},e=r;exports.default=e;
  },{}],"hZBy":[function(require,module,exports) {
  "use strict";function e(e){return r(e)||n(e)||t()}function t(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function r(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function o(e){return document.querySelector(e)}function s(t){return e((arguments.length>1&&void 0!==arguments[1]?arguments[1]:document).querySelectorAll(t))}function c(t,n){return e(t.querySelectorAll(n))}function a(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)".concat(t.split(" ").join("|"),"(\\b|$)"),"gi")," ")}function l(e,t){e.classList?e.classList.add(t):e.className="".concat(e.className," ").concat(t)}function i(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )".concat(t,"( |$)"),"gi").test(e.className)}function u(e,t){t=t||0;var n=e.getBoundingClientRect().top+t,r=(window.pageYOffset||document.documentElement.scrollTop)+n;window.scrollTo(0,r)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.select=o,exports.selectAll=s,exports.find=c,exports.removeClass=a,exports.addClass=l,exports.hasClass=i,exports.jumpTo=u;
  },{}],"U9xJ":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("./dom");function t(){(0,e.selectAll)("[target='_blank']").forEach(function(e){return e.setAttribute("rel","noopener")})}
  },{"./dom":"hZBy"}],"TAPd":[function(require,module,exports) {
  "use strict";function e(){}function o(){console.log("Make something awesome!")}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t={init:o,resize:e};exports.default=t;
  },{}],"v9Q8":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=[{image:"2018_02_stand-up",url:"2018/02/stand-up",hed:"The Structure of Stand-Up Comedy"},{image:"2018_04_birthday-paradox",url:"2018/04/birthday-paradox",hed:"The Birthday Paradox Experiment"},{image:"2018_11_boy-bands",url:"2018/11/boy-bands",hed:"Internet Boy Band Database"},{image:"2018_08_pockets",url:"2018/08/pockets",hed:"Women’s Pockets are Inferior"}],t=null;function n(e,t){var n=document.getElementsByTagName("script")[0],o=document.createElement("script");return o.src=e,o.async=!0,n.parentNode.insertBefore(o,n),t&&"function"==typeof t&&(o.onload=t),o}function o(t){var n=new XMLHttpRequest,o=Date.now(),r="https://pudding.cool/assets/data/stories.json?v=".concat(o);n.open("GET",r,!0),n.onload=function(){if(n.status>=200&&n.status<400){var o=JSON.parse(n.responseText);t(o)}else t(e)},n.onerror=function(){return t(e)},n.send()}function r(e){return"\n\t<a class='footer-recirc__article' href='https://pudding.cool/".concat(e.url,"' target='_blank' rel='noopener'>\n\t\t<img class='article__img' src='https://pudding.cool/common/assets/thumbnails/640/").concat(e.image,".jpg' alt='").concat(e.hed,"'>\n\t\t<p class='article__headline'>").concat(e.hed,"</p>\n\t</a>\n\t")}function a(){var e=window.location.href,n=t.filter(function(t){return!e.includes(t.url)}).slice(0,4).map(r).join("");d3.select(".pudding-footer .footer-recirc__articles").html(n)}function s(){o(function(e){t=e,a()})}var c={init:s};exports.default=c;
  },{}],"CRRU":[function(require,module,exports) {
  !function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},o.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},o.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},o.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},o.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(window,"resize",this._checkForIntersections,!0),i(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},o.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,r(window,"resize",this._checkForIntersections,!0),r(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},o.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(o){var i=o.element,r=s(i),h=this._rootContainsTarget(i),c=o.entry,a=t&&h&&this._computeTargetAndRootIntersection(i,e),u=o.entry=new n({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:r,rootBounds:e,intersectionRect:a});c?t&&h?this._hasCrossedThreshold(c,u)&&this._queuedEntries.push(u):c&&c.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},o.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){for(var o,i,r,h,a,u,d,l,p=s(e),f=c(e),g=!1;!g;){var _=null,v=1==f.nodeType?window.getComputedStyle(f):{};if("none"==v.display)return;if(f==this.root||f==t?(g=!0,_=n):f!=t.body&&f!=t.documentElement&&"visible"!=v.overflow&&(_=s(f)),_&&(o=_,i=p,r=void 0,h=void 0,a=void 0,u=void 0,d=void 0,l=void 0,r=Math.max(o.top,i.top),h=Math.min(o.bottom,i.bottom),a=Math.max(o.left,i.left),u=Math.min(o.right,i.right),l=h-r,!(p=(d=u-a)>=0&&l>=0&&{top:r,bottom:h,left:a,right:u,width:d,height:l})))break;f=c(f)}return p}},o.prototype._getRootRect=function(){var e;if(this.root)e=s(this.root);else{var n=t.documentElement,o=t.body;e={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(e)},o.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},o.prototype._rootIsInDom=function(){return!this.root||h(t,this.root)},o.prototype._rootContainsTarget=function(e){return h(this.root||t,e)},o.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},o.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=n}function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function o(t,e){var n,o,i,r=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout(function(){n(),i=null},o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function i(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function r(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function s(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t,e){for(var n=e;n;){if(n==t)return!0;n=c(n)}return!1}function c(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}}();
  },{}],"vL5c":[function(require,module,exports) {
  var define;
  var global = arguments[3];
  var e,t=arguments[3];!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof e&&e.amd?e(n):t.scrollama=n()}(this,function(){"use strict";function e(e){return"scrollama__debug-offset--"+e}function t(t){!function(t){var n=t.id,o=t.offsetVal,r=t.stepClass,i=document.createElement("div");i.id=e(n),i.className="scrollama__debug-offset",i.style.position="fixed",i.style.left="0",i.style.width="100%",i.style.height="0",i.style.borderTop="2px dashed black",i.style.zIndex="9999";var s=document.createElement("p");s.innerHTML='".'+r+'" trigger: <span>'+o+"</span>",s.style.fontSize="12px",s.style.fontFamily="monospace",s.style.color="black",s.style.margin="0",s.style.padding="6px",i.appendChild(s),document.body.appendChild(i)}({id:t.id,offsetVal:t.offsetVal,stepClass:t.stepEl[0].className})}function n(e){var t=e.id,n=e.index,o=e.state,r="scrollama__debug-step--"+t+"-"+n,i=document.getElementById(r+"_above"),s=document.getElementById(r+"_below"),a="enter"===o?"block":"none";i&&(i.style.display=a),s&&(s.style.display=a)}return function(){var o=["stepAbove","stepBelow","stepProgress","viewportAbove","viewportBelow"],r={},i={},s=null,a=[],l=[],c=[],f=[],u=0,p=0,d=0,v=0,g=0,m=0,x=!1,b=!1,w=!1,h=!1,y=!1,E=!1,M="down",I="percent",A=[];function C(e){console.error("scrollama error: "+e)}function O(){r={stepEnter:function(){},stepExit:function(){},stepProgress:function(){}},i={}}function S(e){return e.getBoundingClientRect().top+window.pageYOffset-(document.body.clientTop||0)}function B(e){return+e.getAttribute("data-scrollama-index")}function H(){window.pageYOffset>g?M="down":window.pageYOffset<g&&(M="up"),g=window.pageYOffset}function k(e){i[e]&&i[e].forEach(function(e){return e.disconnect()})}function _(){var t,n;d=window.innerHeight,t=document.body,n=document.documentElement,v=Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight),p=u*("pixels"===I?1:d),x&&(l=a.map(function(e){return e.getBoundingClientRect().height}),c=a.map(S),b&&D()),w&&function(t){var n=t.id,o=t.offsetMargin,r=t.offsetVal,i="pixels"===t.format?"px":"",s=e(n),a=document.getElementById(s);a.style.top=o+"px",a.querySelector("span").innerText=""+r+i}({id:s,offsetMargin:p,offsetVal:u,format:I})}function N(e){if(e&&!b){if(!x)return C("scrollama error: enable() called before scroller was ready"),void(b=!1);D()}!e&&b&&o.forEach(k),b=e}function P(e,t){var n=B(e);void 0!==t&&(f[n].progress=t);var o={element:e,index:n,progress:f[n].progress};"enter"===f[n].state&&r.stepProgress(o)}function R(e,t){if("above"===t)for(var n=0;n<e;n+=1){var o=f[n];"enter"!==o.state&&"down"!==o.direction?(T(a[n],"down",!1),q(a[n],"down")):"enter"===o.state&&q(a[n],"down")}else if("below"===t)for(var r=f.length-1;r>e;r-=1){var i=f[r];"enter"===i.state&&q(a[r],"up"),"down"===i.direction&&(T(a[r],"up",!1),q(a[r],"up"))}}function T(e,t,o){void 0===o&&(o=!0);var i=B(e),a={element:e,index:i,direction:t};f[i].direction=t,f[i].state="enter",y&&o&&"down"===t&&R(i,"above"),y&&o&&"up"===t&&R(i,"below"),r.stepEnter&&!A[i]&&(r.stepEnter(a,f),w&&n({id:s,index:i,state:"enter"}),E&&(A[i]=!0)),h&&P(e)}function q(e,t){var o=B(e),i={element:e,index:o,direction:t};h&&("down"===t&&f[o].progress<1?P(e,1):"up"===t&&f[o].progress>0&&P(e,0)),f[o].direction=t,f[o].state="exit",r.stepExit(i,f),w&&n({id:s,index:o,state:"exit"})}function V(e){var t=e[0];H();var n=t.isIntersecting,o=t.boundingClientRect,r=t.target,i=o.top,s=o.bottom,a=i-p,l=s-p,c=B(r),u=f[c];n&&a<=0&&l>=0&&"down"===M&&"enter"!==u.state&&T(r,M),!n&&a>0&&"up"===M&&"enter"===u.state&&q(r,M)}function Y(e){var t=e[0];H();var n=t.isIntersecting,o=t.boundingClientRect,r=t.target,i=o.top,s=o.bottom,a=i-p,l=s-p,c=B(r),u=f[c];n&&a<=0&&l>=0&&"up"===M&&"enter"!==u.state&&T(r,M),!n&&l<0&&"down"===M&&"enter"===u.state&&q(r,M)}function F(e){var t=e[0];H();var n=t.isIntersecting,o=t.target,r=B(o),i=f[r];n&&"down"===M&&"down"!==i.direction&&"enter"!==i.state&&(T(o,"down"),q(o,"down"))}function j(e){var t=e[0];H();var n=t.isIntersecting,o=t.target,r=B(o),i=f[r];n&&"up"===M&&"down"===i.direction&&"enter"!==i.state&&(T(o,"up"),q(o,"up"))}function z(e){var t=e[0];H();var n=t.isIntersecting,o=t.intersectionRatio,r=t.boundingClientRect,i=t.target,s=r.bottom;n&&s-p>=0&&P(i,+o)}function L(){i.stepProgress=a.map(function(e,t){var n=l[t]-p+"px 0px "+(-d+p)+"px 0px",o=function(e){for(var t=Math.ceil(e/m),n=[],o=1/t,r=0;r<t;r+=1)n.push(r*o);return n}(l[t]),r=new IntersectionObserver(z,{rootMargin:n,threshold:o});return r.observe(e),r})}function D(){o.forEach(k),i.viewportAbove=a.map(function(e,t){var n=v-c[t],o=p-d-l[t],r=new IntersectionObserver(F,{rootMargin:n+"px 0px "+o+"px 0px"});return r.observe(e),r}),i.viewportBelow=a.map(function(e,t){var n=-p-l[t],o=p-d+l[t]+v,r=new IntersectionObserver(j,{rootMargin:n+"px 0px "+o+"px 0px"});return r.observe(e),r}),i.stepAbove=a.map(function(e,t){var n=-p+l[t],o=new IntersectionObserver(V,{rootMargin:n+"px 0px "+(p-d)+"px 0px"});return o.observe(e),o}),i.stepBelow=a.map(function(e,t){var n=-p,o=p-d+l[t],r=new IntersectionObserver(Y,{rootMargin:n+"px 0px "+o+"px 0px"});return r.observe(e),r}),h&&L()}function G(e){return!(!e||1!==e.nodeType)&&(function(e){var t=window.getComputedStyle(e);return("scroll"===t.overflowY||"auto"===t.overflowY)&&e.scrollHeight>e.clientHeight}(e)?e:G(e.parentNode))}var J={};return J.setup=function(e){var n=e.step,o=e.offset;void 0===o&&(o=.5);var r=e.progress;void 0===r&&(r=!1);var i=e.threshold;void 0===i&&(i=4);var l=e.debug;void 0===l&&(l=!1);var c=e.order;void 0===c&&(c=!0);var p,d,v,g,b,M=e.once;if(void 0===M&&(M=!1),O(),d=(p="abcdefghijklmnopqrstuv").length,v=Date.now(),s=""+[0,0,0].map(function(e){return p[Math.floor(Math.random()*d)]}).join("")+v,g=n,void 0===b&&(b=document),!(a="string"==typeof g?Array.from(b.querySelectorAll(g)):g instanceof Element?[g]:g instanceof NodeList?Array.from(g):g instanceof Array?g:[]).length)return C("no step elements"),J;var I=a.reduce(function(e,t){return e||G(t.parentNode)},!1);return I&&console.error("scrollama error: step elements cannot be children of a scrollable element. Remove any css on the parent element with overflow: scroll; or overflow: auto; on elements with fixed height.",I),w=l,h=r,y=c,E=M,J.offsetTrigger(o),m=Math.max(1,+i),x=!0,w&&t({id:s,stepEl:a,offsetVal:u}),a.forEach(function(e,t){return e.setAttribute("data-scrollama-index",t)}),f=a.map(function(){return{direction:null,state:null,progress:0}}),_(),J.enable(),J},J.resize=function(){return _(),J},J.enable=function(){return N(!0),J},J.disable=function(){return N(!1),J},J.destroy=function(){N(!1),O()},J.offsetTrigger=function(e){if(null===e)return u;if("number"==typeof e)I="percent",e>1&&C("offset value is greater than 1. Fallback to 1."),e<0&&C("offset value is lower than 0. Fallback to 0."),u=Math.min(Math.max(0,e),1);else if("string"==typeof e&&e.indexOf("px")>0){var t=+e.replace("px","");isNaN(t)?(C("offset value must be in 'px' format. Fallback to 0.5."),u=.5):(I="pixels",u=t)}else C("offset value does not include 'px'. Fallback to 0.5."),u=.5;return J},J.onStepEnter=function(e){return"function"==typeof e?r.stepEnter=e:C("onStepEnter requires a function"),J},J.onStepExit=function(e){return"function"==typeof e?r.stepExit=e:C("onStepExit requires a function"),J},J.onStepProgress=function(e){return"function"==typeof e?r.stepProgress=e:C("onStepProgress requires a function"),J},J}});
  },{}],"aoZK":[function(require,module,exports) {
  "use strict";function t(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;
  },{}],"NZeX":[function(require,module,exports) {
  "use strict";function e(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"Mvmr":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./getWindow.js"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){var r=(0,e.default)(t);return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}
  },{"./getWindow.js":"NZeX"}],"DU9q":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isElement=n,exports.isHTMLElement=r;var e=t(require("./getWindow.js"));function t(e){return e&&e.__esModule?e:{default:e}}function n(t){return t instanceof(0,e.default)(t).Element||t instanceof Element}function r(t){return t instanceof(0,e.default)(t).HTMLElement||t instanceof HTMLElement}
  },{"./getWindow.js":"NZeX"}],"DDDM":[function(require,module,exports) {
  "use strict";function e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"NvPV":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var e=l(require("./getWindowScroll.js")),t=l(require("./getWindow.js")),r=require("./instanceOf.js"),u=l(require("./getHTMLElementScroll.js"));function l(e){return e&&e.__esModule?e:{default:e}}function n(l){return l!==(0,t.default)(l)&&(0,r.isHTMLElement)(l)?(0,u.default)(l):(0,e.default)(l)}
  },{"./getWindowScroll.js":"Mvmr","./getWindow.js":"NZeX","./instanceOf.js":"DU9q","./getHTMLElementScroll.js":"DDDM"}],"D3rx":[function(require,module,exports) {
  "use strict";function e(e){return e?(e.nodeName||"").toLowerCase():null}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"kmV4":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e=require("./instanceOf.js");function t(t){return((0,e.isElement)(t)?t.ownerDocument:t.document).documentElement}
  },{"./instanceOf.js":"DU9q"}],"kPg3":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var e=u(require("./getBoundingClientRect.js")),t=u(require("./getDocumentElement.js")),r=u(require("./getWindowScroll.js"));function u(e){return e&&e.__esModule?e:{default:e}}function l(u){return(0,e.default)((0,t.default)(u)).left+(0,r.default)(u).scrollLeft}
  },{"./getBoundingClientRect.js":"aoZK","./getDocumentElement.js":"kmV4","./getWindowScroll.js":"Mvmr"}],"PKLN":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=t(require("./getWindow.js"));function t(e){return e&&e.__esModule?e:{default:e}}function u(t){return(0,e.default)(t).getComputedStyle(t)}
  },{"./getWindow.js":"NZeX"}],"nxDq":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./getComputedStyle.js"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){var r=(0,e.default)(t),o=r.overflow,u=r.overflowX,l=r.overflowY;return/auto|scroll|overlay|hidden/.test(o+l+u)}
  },{"./getComputedStyle.js":"PKLN"}],"dFVF":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s;var e=d(require("./getBoundingClientRect.js")),t=d(require("./getNodeScroll.js")),r=d(require("./getNodeName.js")),l=require("./instanceOf.js"),u=d(require("./getWindowScrollBarX.js")),o=d(require("./getDocumentElement.js")),i=d(require("./isScrollParent.js"));function d(e){return e&&e.__esModule?e:{default:e}}function s(d,s,n){void 0===n&&(n=!1);var f=(0,o.default)(s),a=(0,e.default)(d),c={scrollLeft:0,scrollTop:0},g={x:0,y:0};return n||(("body"!==(0,r.default)(s)||(0,i.default)(f))&&(c=(0,t.default)(s)),(0,l.isHTMLElement)(s)?((g=(0,e.default)(s)).x+=s.clientLeft,g.y+=s.clientTop):f&&(g.x=(0,u.default)(f))),{x:a.left+c.scrollLeft-g.x,y:a.top+c.scrollTop-g.y,width:a.width,height:a.height}}
  },{"./getBoundingClientRect.js":"aoZK","./getNodeScroll.js":"NvPV","./getNodeName.js":"D3rx","./instanceOf.js":"DU9q","./getWindowScrollBarX.js":"kPg3","./getDocumentElement.js":"kmV4","./isScrollParent.js":"nxDq"}],"gCqr":[function(require,module,exports) {
  "use strict";function e(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"zc3n":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=r(require("./getNodeName.js")),t=r(require("./getDocumentElement.js"));function r(e){return e&&e.__esModule?e:{default:e}}function u(r){return"html"===(0,e.default)(r)?r:r.assignedSlot||r.parentNode||r.host||(0,t.default)(r)}
  },{"./getNodeName.js":"D3rx","./getDocumentElement.js":"kmV4"}],"aaSh":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var e=n(require("./getParentNode.js")),t=n(require("./isScrollParent.js")),r=n(require("./getNodeName.js")),u=require("./instanceOf.js");function n(e){return e&&e.__esModule?e:{default:e}}function o(n){return["html","body","#document"].indexOf((0,r.default)(n))>=0?n.ownerDocument.body:(0,u.isHTMLElement)(n)&&(0,t.default)(n)?n:o((0,e.default)(n))}
  },{"./getParentNode.js":"zc3n","./isScrollParent.js":"nxDq","./getNodeName.js":"D3rx","./instanceOf.js":"DU9q"}],"nG6U":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=d;var e=o(require("./getScrollParent.js")),t=o(require("./getParentNode.js")),r=o(require("./getNodeName.js")),u=o(require("./getWindow.js")),a=o(require("./isScrollParent.js"));function o(e){return e&&e.__esModule?e:{default:e}}function d(o,l){void 0===l&&(l=[]);var i=(0,e.default)(o),n="body"===(0,r.default)(i),s=(0,u.default)(i),c=n?[s].concat(s.visualViewport||[],(0,a.default)(i)?i:[]):i,f=l.concat(c);return n?f:f.concat(d((0,t.default)(c)))}
  },{"./getScrollParent.js":"aaSh","./getParentNode.js":"zc3n","./getNodeName.js":"D3rx","./getWindow.js":"NZeX","./isScrollParent.js":"nxDq"}],"li3E":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./getNodeName.js"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){return["table","td","th"].indexOf((0,e.default)(t))>=0}
  },{"./getNodeName.js":"D3rx"}],"Q3nv":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s;var e=n(require("./getWindow.js")),t=n(require("./getNodeName.js")),r=n(require("./getComputedStyle.js")),u=require("./instanceOf.js"),i=n(require("./isTableElement.js"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,u.isHTMLElement)(e)&&"fixed"!==(0,r.default)(e).position?e.offsetParent:null}function s(u){for(var n=(0,e.default)(u),s=o(u);s&&(0,i.default)(s);)s=o(s);return s&&"body"===(0,t.default)(s)&&"static"===(0,r.default)(s).position?n:s||n}
  },{"./getWindow.js":"NZeX","./getNodeName.js":"D3rx","./getComputedStyle.js":"PKLN","./instanceOf.js":"DU9q","./isTableElement.js":"li3E"}],"s4Y9":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.modifierPhases=exports.afterWrite=exports.write=exports.beforeWrite=exports.afterMain=exports.main=exports.beforeMain=exports.afterRead=exports.read=exports.beforeRead=exports.placements=exports.variationPlacements=exports.reference=exports.popper=exports.viewport=exports.clippingParents=exports.end=exports.start=exports.basePlacements=exports.auto=exports.left=exports.right=exports.bottom=exports.top=void 0;var e="top";exports.top=e;var r="bottom";exports.bottom=r;var t="right";exports.right=t;var o="left";exports.left=o;var a="auto";exports.auto=a;var p=[e,r,t,o];exports.basePlacements=p;var s="start";exports.start=s;var x="end";exports.end=x;var i="clippingParents";exports.clippingParents=i;var n="viewport";exports.viewport=n;var v="popper";exports.popper=v;var f="reference";exports.reference=f;var c=p.reduce(function(e,r){return e.concat([r+"-"+s,r+"-"+x])},[]);exports.variationPlacements=c;var d=[].concat(p,[a]).reduce(function(e,r){return e.concat([r,r+"-"+s,r+"-"+x])},[]);exports.placements=d;var b="beforeRead";exports.beforeRead=b;var l="read";exports.read=l;var m="afterRead";exports.afterRead=m;var u="beforeMain";exports.beforeMain=u;var P="main";exports.main=P;var M="afterMain";exports.afterMain=M;var g="beforeWrite";exports.beforeWrite=g;var w="write";exports.write=w;var R="afterWrite";exports.afterWrite=R;var W=[b,l,m,u,P,M,g,w,R];exports.modifierPhases=W;
  },{}],"TH6v":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../enums.js");function n(e){var n=new Map,r=new Set,t=[];return e.forEach(function(e){n.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||function e(u){r.add(u.name),[].concat(u.requires||[],u.requiresIfExists||[]).forEach(function(t){if(!r.has(t)){var u=n.get(t);u&&e(u)}}),t.push(u)}(e)}),t}function r(r){var t=n(r);return e.modifierPhases.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}
  },{"../enums.js":"s4Y9"}],"PMrg":[function(require,module,exports) {
  "use strict";function e(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"BQ3J":[function(require,module,exports) {
  "use strict";function e(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return[].concat(t).reduce(function(e,r){return e.replace(/%s/,r)},e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"S8Lm":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=s;var e=n(require("./format.js")),r=require("../enums.js");function n(e){return e&&e.__esModule?e:{default:e}}var a='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',o='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',i=["name","enabled","phase","fn","effect","requires","options"];function s(n){n.forEach(function(s){Object.keys(s).forEach(function(t){switch(t){case"name":"string"!=typeof s.name&&console.error((0,e.default)(a,String(s.name),'"name"','"string"','"'+String(s.name)+'"'));break;case"enabled":"boolean"!=typeof s.enabled&&console.error((0,e.default)(a,s.name,'"enabled"','"boolean"','"'+String(s.enabled)+'"'));case"phase":r.modifierPhases.indexOf(s.phase)<0&&console.error((0,e.default)(a,s.name,'"phase"',"either "+r.modifierPhases.join(", "),'"'+String(s.phase)+'"'));break;case"fn":"function"!=typeof s.fn&&console.error((0,e.default)(a,s.name,'"fn"','"function"','"'+String(s.fn)+'"'));break;case"effect":"function"!=typeof s.effect&&console.error((0,e.default)(a,s.name,'"effect"','"function"','"'+String(s.fn)+'"'));break;case"requires":Array.isArray(s.requires)||console.error((0,e.default)(a,s.name,'"requires"','"array"','"'+String(s.requires)+'"'));break;case"requiresIfExists":Array.isArray(s.requiresIfExists)||console.error((0,e.default)(a,s.name,'"requiresIfExists"','"array"','"'+String(s.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+s.name+'" modifier, valid properties are '+i.map(function(e){return'"'+e+'"'}).join(", ")+'; but "'+t+'" was provided.')}s.requires&&s.requires.forEach(function(r){null==n.find(function(e){return e.name===r})&&console.error((0,e.default)(o,String(s.name),r,r))})})})}
  },{"./format.js":"BQ3J","../enums.js":"s4Y9"}],"LjkP":[function(require,module,exports) {
  "use strict";function e(e,t){var r=new Set;return e.filter(function(e){var n=t(e);if(!r.has(n))return r.add(n),!0})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"NQbX":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=require("../enums.js");function r(e){return e.split("-")[0]}
  },{"../enums.js":"s4Y9"}],"GQWX":[function(require,module,exports) {
  "use strict";function e(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,{},t,{options:Object.assign({},n.options,{},t.options),data:Object.assign({},n.data,{},t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"aw71":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={popperGenerator:!0,createPopper:!0};exports.popperGenerator=h,exports.createPopper=void 0;var t=m(require("./dom-utils/getCompositeRect.js")),r=m(require("./dom-utils/getLayoutRect.js")),o=m(require("./dom-utils/listScrollParents.js")),n=m(require("./dom-utils/getOffsetParent.js")),i=m(require("./dom-utils/getComputedStyle.js")),s=m(require("./utils/orderModifiers.js")),a=m(require("./utils/debounce.js")),u=m(require("./utils/validateModifiers.js")),f=m(require("./utils/uniqueBy.js")),d=m(require("./utils/getBasePlacement.js")),p=m(require("./utils/mergeByName.js")),l=require("./dom-utils/instanceOf.js"),c=require("./enums.js");function m(e){return e&&e.__esModule?e:{default:e}}Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return c[t]}}))});var v="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",g="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",b={placement:"bottom",modifiers:[],strategy:"absolute"};function y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function h(e){void 0===e&&(e={});var m=e,h=m.defaultModifiers,j=void 0===h?[]:h,q=m.defaultOptions,O=void 0===q?b:q;return function(e,m,h){void 0===h&&(h=O);var q={placement:"bottom",orderedModifiers:[],options:Object.assign({},b,{},O),modifiersData:{},elements:{reference:e,popper:m},attributes:{},styles:{}},P=[],M=!1,w={state:q,setOptions:function(t){x(),q.options=Object.assign({},O,{},q.options,{},t),q.scrollParents={reference:(0,l.isElement)(e)?(0,o.default)(e):e.contextElement?(0,o.default)(e.contextElement):[],popper:(0,o.default)(m)};var r=(0,s.default)((0,p.default)([].concat(j,q.options.modifiers)));q.orderedModifiers=r.filter(function(e){return e.enabled});var n=(0,f.default)([].concat(r,q.options.modifiers),function(e){return e.name});(0,u.default)(n),(0,d.default)(q.options.placement)===c.auto&&(q.orderedModifiers.find(function(e){return"flip"===e.name})||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var a=(0,i.default)(m);return[a.marginTop,a.marginRight,a.marginBottom,a.marginLeft].some(function(e){return parseFloat(e)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),q.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,o=void 0===r?{}:r,n=e.effect;if("function"==typeof n){var i=n({state:q,name:t,instance:w,options:o});P.push(i||function(){})}}),w.update()},forceUpdate:function(){if(!M){var e=q.elements,o=e.reference,i=e.popper;if(y(o,i)){q.rects={reference:(0,t.default)(o,(0,n.default)(i),"fixed"===q.options.strategy),popper:(0,r.default)(i)},q.reset=!1,q.placement=q.options.placement,q.orderedModifiers.forEach(function(e){return q.modifiersData[e.name]=Object.assign({},e.data)});for(var s=0,a=0;a<q.orderedModifiers.length;a++){if((s+=1)>100){console.error(g);break}if(!0!==q.reset){var u=q.orderedModifiers[a],f=u.fn,d=u.options,p=void 0===d?{}:d,l=u.name;"function"==typeof f&&(q=f({state:q,options:p,name:l,instance:w})||q)}else q.reset=!1,a=-1}}else console.error(v)}},update:(0,a.default)(function(){return new Promise(function(e){w.forceUpdate(),e(q)})}),destroy:function(){x(),M=!0}};if(!y(e,m))return console.error(v),w;function x(){P.forEach(function(e){return e()}),P=[]}return w.setOptions(h).then(function(e){!M&&h.onFirstUpdate&&h.onFirstUpdate(e)}),w}}var j=h();exports.createPopper=j;
  },{"./dom-utils/getCompositeRect.js":"dFVF","./dom-utils/getLayoutRect.js":"gCqr","./dom-utils/listScrollParents.js":"nG6U","./dom-utils/getOffsetParent.js":"Q3nv","./dom-utils/getComputedStyle.js":"PKLN","./utils/orderModifiers.js":"TH6v","./utils/debounce.js":"PMrg","./utils/validateModifiers.js":"S8Lm","./utils/uniqueBy.js":"LjkP","./utils/getBasePlacement.js":"NQbX","./utils/mergeByName.js":"GQWX","./dom-utils/instanceOf.js":"DU9q","./enums.js":"s4Y9"}],"RKZT":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("../dom-utils/getWindow.js"));function t(e){return e&&e.__esModule?e:{default:e}}var r={passive:!0};function n(t){var n=t.state,s=t.instance,o=t.options,a=o.scroll,i=void 0===a||a,d=o.resize,u=void 0===d||d,c=(0,e.default)(n.elements.popper),l=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&l.forEach(function(e){e.addEventListener("scroll",s.update,r)}),u&&c.addEventListener("resize",s.update,r),function(){i&&l.forEach(function(e){e.removeEventListener("scroll",s.update,r)}),u&&c.removeEventListener("resize",s.update,r)}}var s={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:n,data:{}};exports.default=s;
  },{"../dom-utils/getWindow.js":"NZeX"}],"CCwb":[function(require,module,exports) {
  "use strict";function e(e){return e.split("-")[1]}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"MMWW":[function(require,module,exports) {
  "use strict";function e(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"HXkO":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var e=i(require("./getBasePlacement.js")),t=i(require("./getVariation.js")),r=i(require("./getMainAxisFromPlacement.js")),a=require("../enums.js");function i(e){return e&&e.__esModule?e:{default:e}}function l(i){var l,u=i.reference,h=i.element,s=i.placement,n=s?(0,e.default)(s):null,o=s?(0,t.default)(s):null,c=u.x+u.width/2-h.width/2,d=u.y+u.height/2-h.height/2;switch(n){case a.top:l={x:c,y:u.y-h.height};break;case a.bottom:l={x:c,y:u.y+u.height};break;case a.right:l={x:u.x+u.width,y:d};break;case a.left:l={x:u.x-h.width,y:d};break;default:l={x:u.x,y:u.y}}var f=n?(0,r.default)(n):null;if(null!=f){var x="y"===f?"height":"width";switch(o){case a.start:l[f]=Math.floor(l[f])-Math.floor(u[x]/2-h[x]/2);break;case a.end:l[f]=Math.floor(l[f])+Math.ceil(u[x]/2-h[x]/2)}}return l}
  },{"./getBasePlacement.js":"NQbX","./getVariation.js":"CCwb","./getMainAxisFromPlacement.js":"MMWW","../enums.js":"s4Y9"}],"zN9b":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("../utils/computeOffsets.js"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){var r=t.state,a=t.name;r.modifiersData[a]=(0,e.default)({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}var a={name:"popperOffsets",enabled:!0,phase:"read",fn:r,data:{}};exports.default=a;
  },{"../utils/computeOffsets.js":"HXkO"}],"nvJu":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mapToStyles=l,exports.default=void 0;var e=require("../enums.js"),t=n(require("../dom-utils/getOffsetParent.js")),o=n(require("../dom-utils/getWindow.js")),r=n(require("../dom-utils/getDocumentElement.js")),a=n(require("../dom-utils/getComputedStyle.js")),i=n(require("../utils/getBasePlacement.js"));function n(e){return e&&e.__esModule?e:{default:e}}var s={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(e){var t=e.x,o=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(o*r)/r||0}}function l(a){var i,n=a.popper,l=a.popperRect,u=a.placement,f=a.offsets,d=a.position,c=a.gpuAcceleration,m=a.adaptive,g=p(f),h=g.x,v=g.y,y=f.hasOwnProperty("x"),b=f.hasOwnProperty("y"),x=e.left,j=e.top,w=window;if(m){var O=(0,t.default)(n);O===(0,o.default)(n)&&(O=(0,r.default)(n)),u===e.top&&(j=e.bottom,v-=O.clientHeight-l.height,v*=c?1:-1),u===e.left&&(x=e.right,h-=O.clientWidth-l.width,h*=c?1:-1)}var S,P=Object.assign({position:d},m&&s);return c?Object.assign({},P,((S={})[j]=b?"0":"",S[x]=y?"0":"",S.transform=(w.devicePixelRatio||1)<2?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",S)):Object.assign({},P,((i={})[j]=b?v+"px":"",i[x]=y?h+"px":"",i.transform="",i))}function u(e){var t=e.state,o=e.options,r=o.gpuAcceleration,n=void 0===r||r,s=o.adaptive,p=void 0===s||s,u=(0,a.default)(t.elements.popper).transitionProperty||"";p&&["transform","top","right","bottom","left"].some(function(e){return u.indexOf(e)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var f={placement:(0,i.default)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,{},l(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,{},l(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var f={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:u,data:{}};exports.default=f;
  },{"../enums.js":"s4Y9","../dom-utils/getOffsetParent.js":"Q3nv","../dom-utils/getWindow.js":"NZeX","../dom-utils/getDocumentElement.js":"kmV4","../dom-utils/getComputedStyle.js":"PKLN","../utils/getBasePlacement.js":"NQbX"}],"oeS1":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=s(require("../dom-utils/getNodeName.js")),t=require("../dom-utils/instanceOf.js");function s(e){return e&&e.__esModule?e:{default:e}}function r(s){var r=s.state;Object.keys(r.elements).forEach(function(s){var n=r.styles[s]||{},o=r.attributes[s]||{},a=r.elements[s];(0,t.isHTMLElement)(a)&&(0,e.default)(a)&&(Object.assign(a.style,n),Object.keys(o).forEach(function(e){var t=o[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)}))})}function n(s){var r=s.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,n.popper),r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow),function(){Object.keys(r.elements).forEach(function(s){var o=r.elements[s],a=r.attributes[s]||{},i=Object.keys(r.styles.hasOwnProperty(s)?r.styles[s]:n[s]).reduce(function(e,t){return e[t]="",e},{});(0,t.isHTMLElement)(o)&&(0,e.default)(o)&&(Object.assign(o.style,i),Object.keys(a).forEach(function(e){o.removeAttribute(e)}))})}}var o={name:"applyStyles",enabled:!0,phase:"write",fn:r,effect:n,requires:["computeStyles"]};exports.default=o;
  },{"../dom-utils/getNodeName.js":"D3rx","../dom-utils/instanceOf.js":"DU9q"}],"WMRh":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.distanceAndSkiddingToXY=r,exports.default=void 0;var e=s(require("../utils/getBasePlacement.js")),t=require("../enums.js");function s(e){return e&&e.__esModule?e:{default:e}}function r(s,r,f){var n=(0,e.default)(s),a=[t.left,t.top].indexOf(n)>=0?-1:1,i="function"==typeof f?f(Object.assign({},r,{placement:s})):f,o=i[0],p=i[1];return o=o||0,p=(p||0)*a,[t.left,t.right].indexOf(n)>=0?{x:p,y:o}:{x:o,y:p}}function f(e){var s=e.state,f=e.options,n=e.name,a=f.offset,i=void 0===a?[0,0]:a,o=t.placements.reduce(function(e,t){return e[t]=r(t,s.rects,i),e},{}),p=o[s.placement],u=p.x,d=p.y;null!=s.modifiersData.popperOffsets&&(s.modifiersData.popperOffsets.x+=u,s.modifiersData.popperOffsets.y+=d),s.modifiersData[n]=o}var n={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:f};exports.default=n;
  },{"../utils/getBasePlacement.js":"NQbX","../enums.js":"s4Y9"}],"ppS9":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;var t={left:"right",right:"left",bottom:"top",top:"bottom"};function e(e){return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}
  },{}],"ZZAx":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var e={start:"end",end:"start"};function t(t){return t.replace(/start|end/g,function(t){return e[t]})}
  },{}],"Kxef":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=i;var e=t(require("./getWindow.js"));function t(e){return e&&e.__esModule?e:{default:e}}function i(t){var i=(0,e.default)(t),r=i.visualViewport,n=i.innerWidth,o=i.innerHeight;return r&&/iPhone|iPod|iPad/.test(navigator.platform)&&(n=r.width,o=r.height),{width:n,height:o,x:0,y:0}}
  },{"./getWindow.js":"NZeX"}],"j4i0":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var e=u(require("./getCompositeRect.js")),t=u(require("./getWindow.js")),r=u(require("./getDocumentElement.js")),i=u(require("./getWindowScroll.js"));function u(e){return e&&e.__esModule?e:{default:e}}function l(u){var l=(0,t.default)(u),o=(0,i.default)(u),n=(0,e.default)((0,r.default)(u),l);return n.height=Math.max(n.height,l.innerHeight),n.width=Math.max(n.width,l.innerWidth),n.x=-o.scrollLeft,n.y=-o.scrollTop,n}
  },{"./getCompositeRect.js":"dFVF","./getWindow.js":"NZeX","./getDocumentElement.js":"kmV4","./getWindowScroll.js":"Mvmr"}],"X6Vc":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=r(require("./getComputedStyle.js")),t=require("./instanceOf.js");function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return parseFloat(e)||0}function u(r){var u=(0,t.isHTMLElement)(r)?(0,e.default)(r):{};return{top:o(u.borderTopWidth),right:o(u.borderRightWidth),bottom:o(u.borderBottomWidth),left:o(u.borderLeftWidth)}}
  },{"./getComputedStyle.js":"PKLN","./instanceOf.js":"DU9q"}],"Rmzp":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var e=n(require("./getBorders.js")),t=n(require("./getNodeName.js")),i=n(require("./getWindow.js")),r=n(require("./getWindowScrollBarX.js"));function n(e){return e&&e.__esModule?e:{default:e}}function o(n){var o=(0,i.default)(n),l=(0,e.default)(n),u="html"===(0,t.default)(n),f=(0,r.default)(n),d=n.clientWidth+l.right,g=n.clientHeight+l.bottom;return u&&o.innerHeight-n.clientHeight>50&&(g=o.innerHeight-l.bottom),{top:u?0:n.clientTop,right:n.clientLeft>l.left?l.right:u?o.innerWidth-d-f:n.offsetWidth-d,bottom:u?o.innerHeight-g:n.offsetHeight-g,left:u?f:n.clientLeft}}
  },{"./getBorders.js":"X6Vc","./getNodeName.js":"D3rx","./getWindow.js":"NZeX","./getWindowScrollBarX.js":"kPg3"}],"SK5r":[function(require,module,exports) {
  "use strict";function e(e,o){var t=Boolean(o.getRootNode&&o.getRootNode().host);if(e.contains(o))return!0;if(t){var r=o;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"pcxa":[function(require,module,exports) {
  "use strict";function t(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;
  },{}],"ulHH":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=p;var e=require("../enums.js"),t=d(require("./getViewportRect.js")),r=d(require("./getDocumentRect.js")),i=d(require("./listScrollParents.js")),u=d(require("./getOffsetParent.js")),n=d(require("./getDocumentElement.js")),o=d(require("./getComputedStyle.js")),l=require("./instanceOf.js"),a=d(require("./getBoundingClientRect.js")),s=d(require("./getDecorations.js")),f=d(require("./contains.js")),c=d(require("../utils/rectToClientRect.js"));function d(e){return e&&e.__esModule?e:{default:e}}function m(i,u){return u===e.viewport?(0,c.default)((0,t.default)(i)):(0,l.isHTMLElement)(u)?(0,a.default)(u):(0,c.default)((0,r.default)((0,n.default)(i)))}function g(e){var t=(0,i.default)(e),r=["absolute","fixed"].indexOf((0,o.default)(e).position)>=0&&(0,l.isHTMLElement)(e)?(0,u.default)(e):e;return(0,l.isElement)(r)?t.filter(function(e){return(0,l.isElement)(e)&&(0,f.default)(e,r)}):[]}function p(e,t,r){var i="clippingParents"===t?g(e):[].concat(t),u=[].concat(i,[r]),o=u[0],a=u.reduce(function(t,r){var i=m(e,r),u=(0,s.default)((0,l.isHTMLElement)(r)?r:(0,n.default)(e));return t.top=Math.max(i.top+u.top,t.top),t.right=Math.min(i.right-u.right,t.right),t.bottom=Math.min(i.bottom-u.bottom,t.bottom),t.left=Math.max(i.left+u.left,t.left),t},m(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}
  },{"../enums.js":"s4Y9","./getViewportRect.js":"Kxef","./getDocumentRect.js":"j4i0","./listScrollParents.js":"nG6U","./getOffsetParent.js":"Q3nv","./getDocumentElement.js":"kmV4","./getComputedStyle.js":"PKLN","./instanceOf.js":"DU9q","./getBoundingClientRect.js":"aoZK","./getDecorations.js":"Rmzp","./contains.js":"SK5r","../utils/rectToClientRect.js":"pcxa"}],"yxJo":[function(require,module,exports) {
  "use strict";function t(){return{top:0,right:0,bottom:0,left:0}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;
  },{}],"jK8Q":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=t(require("./getFreshSideObject.js"));function t(e){return e&&e.__esModule?e:{default:e}}function r(t){return Object.assign({},(0,e.default)(),{},t)}
  },{"./getFreshSideObject.js":"yxJo"}],"Y8c7":[function(require,module,exports) {
  "use strict";function e(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"eCM7":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=a;var e=l(require("../dom-utils/getBoundingClientRect.js")),t=l(require("../dom-utils/getClippingRect.js")),r=l(require("../dom-utils/getDocumentElement.js")),o=l(require("./computeOffsets.js")),i=l(require("./rectToClientRect.js")),n=require("../enums.js"),p=require("../dom-utils/instanceOf.js"),u=l(require("./mergePaddingObject.js")),s=l(require("./expandToHashMap.js"));function l(e){return e&&e.__esModule?e:{default:e}}function a(l,a){void 0===a&&(a={});var d=a,f=d.placement,m=void 0===f?l.placement:f,c=d.boundary,g=void 0===c?n.clippingParents:c,b=d.rootBoundary,j=void 0===b?n.viewport:b,v=d.elementContext,q=void 0===v?n.popper:v,x=d.altBoundary,y=void 0!==x&&x,O=d.padding,h=void 0===O?0:O,C=(0,u.default)("number"!=typeof h?h:(0,s.default)(h,n.basePlacements)),E=q===n.popper?n.reference:n.popper,P=l.elements.reference,_=l.rects.popper,B=l.elements[y?E:q],M=(0,t.default)((0,p.isElement)(B)?B:B.contextElement||(0,r.default)(l.elements.popper),g,j),R=(0,e.default)(P),D=(0,o.default)({reference:R,element:_,strategy:"absolute",placement:m}),T=(0,i.default)(Object.assign({},_,{},D)),k=q===n.popper?T:R,w={top:M.top-k.top+C.top,bottom:k.bottom-M.bottom+C.bottom,left:M.left-k.left+C.left,right:k.right-M.right+C.right},H=l.modifiersData.offset;if(q===n.popper&&H){var z=H[m];Object.keys(w).forEach(function(e){var t=[n.right,n.bottom].indexOf(e)>=0?1:-1,r=[n.top,n.bottom].indexOf(e)>=0?"y":"x";w[e]+=z[r]*t})}return w}
  },{"../dom-utils/getBoundingClientRect.js":"aoZK","../dom-utils/getClippingRect.js":"ulHH","../dom-utils/getDocumentElement.js":"kmV4","./computeOffsets.js":"HXkO","./rectToClientRect.js":"pcxa","../enums.js":"s4Y9","../dom-utils/instanceOf.js":"DU9q","./mergePaddingObject.js":"jK8Q","./expandToHashMap.js":"Y8c7"}],"bFxx":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=u;var e=a(require("./getVariation.js")),t=require("../enums.js"),r=a(require("./detectOverflow.js")),n=a(require("./getBasePlacement.js"));function a(e){return e&&e.__esModule?e:{default:e}}function u(a,u){void 0===u&&(u={});var o=u,i=o.placement,d=o.boundary,l=o.rootBoundary,s=o.padding,c=o.flipVariations,f=o.allowedAutoPlacements,m=void 0===f?t.placements:f,p=(0,e.default)(i),v=(p?c?t.variationPlacements:t.variationPlacements.filter(function(t){return(0,e.default)(t)===p}):t.basePlacements).filter(function(e){return m.indexOf(e)>=0}).reduce(function(e,t){return e[t]=(0,r.default)(a,{placement:t,boundary:d,rootBoundary:l,padding:s})[(0,n.default)(t)],e},{});return Object.keys(v).sort(function(e,t){return v[e]-v[t]})}
  },{"./getVariation.js":"CCwb","../enums.js":"s4Y9","./detectOverflow.js":"eCM7","./getBasePlacement.js":"NQbX"}],"mjM9":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=o(require("../utils/getOppositePlacement.js")),t=o(require("../utils/getBasePlacement.js")),a=o(require("../utils/getOppositeVariationPlacement.js")),r=o(require("../utils/detectOverflow.js")),i=o(require("../utils/computeAutoPlacement.js")),n=require("../enums.js"),u=o(require("../utils/getVariation.js"));function o(e){return e&&e.__esModule?e:{default:e}}function l(r){if((0,t.default)(r)===n.auto)return[];var i=(0,e.default)(r);return[(0,a.default)(r),i,(0,a.default)(i)]}function s(a){var o=a.state,s=a.options,f=a.name;if(!o.modifiersData[f]._skip){for(var d=s.mainAxis,c=void 0===d||d,p=s.altAxis,m=void 0===p||p,v=s.fallbackPlacements,b=s.padding,g=s.boundary,y=s.rootBoundary,h=s.altBoundary,j=s.flipVariations,k=void 0===j||j,q=s.allowedAutoPlacements,P=o.options.placement,x=(0,t.default)(P),_=v||(x===P||!k?[(0,e.default)(P)]:l(P)),B=[P].concat(_).reduce(function(e,a){return e.concat((0,t.default)(a)===n.auto?(0,i.default)(o,{placement:a,boundary:g,rootBoundary:y,padding:b,flipVariations:k,allowedAutoPlacements:q}):a)},[]),w=o.rects.reference,A=o.rects.popper,O=new Map,V=!0,M=B[0],D=0;D<B.length;D++){var E=B[D],I=(0,t.default)(E),z=(0,u.default)(E)===n.start,C=[n.top,n.bottom].indexOf(I)>=0,F=C?"width":"height",G=(0,r.default)(o,{placement:E,boundary:g,rootBoundary:y,altBoundary:h,padding:b}),H=C?z?n.right:n.left:z?n.bottom:n.top;w[F]>A[F]&&(H=(0,e.default)(H));var J=(0,e.default)(H),K=[];if(c&&K.push(G[I]<=0),m&&K.push(G[H]<=0,G[J]<=0),K.every(function(e){return e})){M=E,V=!1;break}O.set(E,K)}if(V)for(var L=function(e){var t=B.find(function(t){var a=O.get(t);if(a)return a.slice(0,e).every(function(e){return e})});if(t)return M=t,"break"},N=k?3:1;N>0;N--){if("break"===L(N))break}o.placement!==M&&(o.modifiersData[f]._skip=!0,o.placement=M,o.reset=!0)}}var f={name:"flip",enabled:!0,phase:"main",fn:s,requiresIfExists:["offset"],data:{_skip:!1}};exports.default=f;
  },{"../utils/getOppositePlacement.js":"ppS9","../utils/getBasePlacement.js":"NQbX","../utils/getOppositeVariationPlacement.js":"ZZAx","../utils/detectOverflow.js":"eCM7","../utils/computeAutoPlacement.js":"bFxx","../enums.js":"s4Y9","../utils/getVariation.js":"CCwb"}],"YbJK":[function(require,module,exports) {
  "use strict";function e(e){return"x"===e?"y":"x"}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"C49z":[function(require,module,exports) {
  "use strict";function e(e,t,r){return Math.max(e,Math.min(t,r))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
  },{}],"YLS9":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("../enums.js"),t=l(require("../utils/getBasePlacement.js")),r=l(require("../utils/getMainAxisFromPlacement.js")),a=l(require("../utils/getAltAxis.js")),i=l(require("../utils/within.js")),s=l(require("../dom-utils/getLayoutRect.js")),o=l(require("../dom-utils/getOffsetParent.js")),u=l(require("../utils/detectOverflow.js")),f=l(require("../utils/getVariation.js")),d=l(require("../utils/getFreshSideObject.js"));function l(e){return e&&e.__esModule?e:{default:e}}function n(l){var n=l.state,m=l.options,p=l.name,c=m.mainAxis,g=void 0===c||c,h=m.altAxis,v=void 0!==h&&h,y=m.boundary,j=m.rootBoundary,x=m.altBoundary,q=m.padding,w=m.tether,b=void 0===w||w,O=m.tetherOffset,D=void 0===O?0:O,A=(0,u.default)(n,{boundary:y,rootBoundary:j,padding:q,altBoundary:x}),B=(0,t.default)(n.placement),M=(0,f.default)(n.placement),P=!M,_=(0,r.default)(B),F=(0,a.default)(_),L=n.modifiersData.popperOffsets,E=n.rects.reference,I=n.rects.popper,R="function"==typeof D?D(Object.assign({},n.rects,{placement:n.placement})):D,S={x:0,y:0};if(L){if(g){var T="y"===_?e.top:e.left,V="y"===_?e.bottom:e.right,k="y"===_?"height":"width",z=L[_],C=L[_]+A[T],G=L[_]-A[V],H=b?-I[k]/2:0,J=M===e.start?E[k]:I[k],K=M===e.start?-I[k]:-E[k],N=n.elements.arrow,Q=b&&N?(0,s.default)(N):{width:0,height:0},U=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:(0,d.default)(),W=U[T],X=U[V],Y=(0,i.default)(0,E[k],Q[k]),Z=P?E[k]/2-H-Y-W-R:J-Y-W-R,$=P?-E[k]/2+H+Y+X+R:K+Y+X+R,ee=n.elements.arrow&&(0,o.default)(n.elements.arrow),te=ee?"y"===_?ee.clientTop||0:ee.clientLeft||0:0,re=n.modifiersData.offset?n.modifiersData.offset[n.placement][_]:0,ae=L[_]+Z-re-te,ie=L[_]+$-re,se=(0,i.default)(b?Math.min(C,ae):C,z,b?Math.max(G,ie):G);L[_]=se,S[_]=se-z}if(v){var oe="x"===_?e.top:e.left,ue="x"===_?e.bottom:e.right,fe=L[F],de=fe+A[oe],le=fe-A[ue],ne=(0,i.default)(de,fe,le);L[F]=ne,S[F]=ne-fe}n.modifiersData[p]=S}}var m={name:"preventOverflow",enabled:!0,phase:"main",fn:n,requiresIfExists:["offset"]};exports.default=m;
  },{"../enums.js":"s4Y9","../utils/getBasePlacement.js":"NQbX","../utils/getMainAxisFromPlacement.js":"MMWW","../utils/getAltAxis.js":"YbJK","../utils/within.js":"C49z","../dom-utils/getLayoutRect.js":"gCqr","../dom-utils/getOffsetParent.js":"Q3nv","../utils/detectOverflow.js":"eCM7","../utils/getVariation.js":"CCwb","../utils/getFreshSideObject.js":"yxJo"}],"oK3a":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=f(require("../utils/getBasePlacement.js")),t=f(require("../dom-utils/getLayoutRect.js")),r=f(require("../dom-utils/contains.js")),s=f(require("../dom-utils/getOffsetParent.js")),i=f(require("../utils/getMainAxisFromPlacement.js")),a=f(require("../utils/within.js")),n=f(require("../utils/mergePaddingObject.js")),o=f(require("../utils/expandToHashMap.js")),l=require("../enums.js"),u=require("../dom-utils/instanceOf.js");function f(e){return e&&e.__esModule?e:{default:e}}function p(r){var n,o=r.state,u=r.name,f=o.elements.arrow,p=o.modifiersData.popperOffsets,d=(0,e.default)(o.placement),m=(0,i.default)(d),c=[l.left,l.right].indexOf(d)>=0?"height":"width";if(f&&p){var g=o.modifiersData[u+"#persistent"].padding,h=(0,t.default)(f),j="y"===m?l.top:l.left,q="y"===m?l.bottom:l.right,w=o.rects.reference[c]+o.rects.reference[m]-p[m]-o.rects.popper[c],v=p[m]-o.rects.reference[m],b=(0,s.default)(f),O=b?"y"===m?b.clientHeight||0:b.clientWidth||0:0,y=w/2-v/2,P=g[j],x=O-h[c]-g[q],M=O/2-h[c]/2+y,E=(0,a.default)(P,M,x),H=m;o.modifiersData[u]=((n={})[H]=E,n.centerOffset=E-M,n)}}function d(e){var t=e.state,s=e.options,i=e.name,a=s.element,f=void 0===a?"[data-popper-arrow]":a,p=s.padding,d=void 0===p?0:p;null!=f&&("string"!=typeof f||(f=t.elements.popper.querySelector(f)))&&((0,u.isHTMLElement)(f)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),(0,r.default)(t.elements.popper,f)?(t.elements.arrow=f,t.modifiersData[i+"#persistent"]={padding:(0,n.default)("number"!=typeof d?d:(0,o.default)(d,l.basePlacements))}):console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))}var m={name:"arrow",enabled:!0,phase:"main",fn:p,effect:d,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};exports.default=m;
  },{"../utils/getBasePlacement.js":"NQbX","../dom-utils/getLayoutRect.js":"gCqr","../dom-utils/contains.js":"SK5r","../dom-utils/getOffsetParent.js":"Q3nv","../utils/getMainAxisFromPlacement.js":"MMWW","../utils/within.js":"C49z","../utils/mergePaddingObject.js":"jK8Q","../utils/expandToHashMap.js":"Y8c7","../enums.js":"s4Y9","../dom-utils/instanceOf.js":"DU9q"}],"apD2":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("../enums.js"),t=r(require("../utils/detectOverflow.js"));function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function i(t){return[e.top,e.right,e.bottom,e.left].some(function(e){return t[e]>=0})}function n(e){var r=e.state,n=e.name,p=r.rects.reference,s=r.rects.popper,a=r.modifiersData.preventOverflow,f=(0,t.default)(r,{elementContext:"reference"}),d=(0,t.default)(r,{altBoundary:!0}),u=o(f,p),c=o(d,s,a),l=i(u),h=i(c);r.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:h},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":h})}var p={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:n};exports.default=p;
  },{"../enums.js":"s4Y9","../utils/detectOverflow.js":"eCM7"}],"jI1K":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"popperGenerator",{enumerable:!0,get:function(){return e.popperGenerator}}),Object.defineProperty(exports,"detectOverflow",{enumerable:!0,get:function(){return a.default}}),exports.defaultModifiers=exports.createPopper=void 0;var e=require("./index.js"),r=l(require("./modifiers/eventListeners.js")),t=l(require("./modifiers/popperOffsets.js")),i=l(require("./modifiers/computeStyles.js")),o=l(require("./modifiers/applyStyles.js")),s=l(require("./modifiers/offset.js")),f=l(require("./modifiers/flip.js")),u=l(require("./modifiers/preventOverflow.js")),d=l(require("./modifiers/arrow.js")),p=l(require("./modifiers/hide.js")),a=l(require("./utils/detectOverflow.js"));function l(e){return e&&e.__esModule?e:{default:e}}var n=[r.default,t.default,i.default,o.default,s.default,f.default,u.default,d.default,p.default];exports.defaultModifiers=n;var j=(0,e.popperGenerator)({defaultModifiers:n});exports.createPopper=j;
  },{"./index.js":"aw71","./modifiers/eventListeners.js":"RKZT","./modifiers/popperOffsets.js":"zN9b","./modifiers/computeStyles.js":"nvJu","./modifiers/applyStyles.js":"oeS1","./modifiers/offset.js":"WMRh","./modifiers/flip.js":"mjM9","./modifiers/preventOverflow.js":"YLS9","./modifiers/arrow.js":"oK3a","./modifiers/hide.js":"apD2","./utils/detectOverflow.js":"eCM7"}],"DpGZ":[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.delegate=yt,exports.sticky=exports.roundArrow=exports.inlinePositioning=exports.hideAll=exports.followCursor=exports.createSingleton=exports.animateFill=exports.default=void 0;var t=require("@popperjs/core"),e='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>';exports.roundArrow=e;var n="tippy-box",i="tippy-content",r="tippy-backdrop",o="tippy-arrow",a="tippy-svg-arrow",s={passive:!0,capture:!0};function u(t,e){return{}.hasOwnProperty.call(t,e)}function c(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function p(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function l(t,e){return"function"==typeof t?t.apply(void 0,e):t}function f(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout(function(){t(i)},e)};var n}function d(t,e){var n=Object.assign({},t);return e.forEach(function(t){delete n[t]}),n}function v(t){return t.split(/\s+/).filter(Boolean)}function m(t){return[].concat(t)}function g(t,e){-1===t.indexOf(e)&&t.push(e)}function h(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function y(t){return t.split("-")[0]}function b(t){return[].slice.call(t)}function w(){return document.createElement("div")}function x(t){return["Element","Fragment"].some(function(e){return p(t,e)})}function T(t){return p(t,"NodeList")}function E(t){return p(t,"MouseEvent")}function A(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function C(t){return x(t)?[t]:T(t)?b(t):Array.isArray(t)?t:b(document.querySelectorAll(t))}function O(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function L(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function j(t){var e=m(t)[0];return e&&e.ownerDocument||document}function D(t,e){var n=e.clientX,i=e.clientY;return t.every(function(t){var e=t.popperRect,r=t.popperState,o=t.props.interactiveBorder,a=y(r.placement),s=r.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,l="left"===a?s.right.x:0,f=e.top-i+u>o,d=i-e.bottom-c>o,v=e.left-n+p>o,m=n-e.right-l>o;return f||d||v||m})}function k(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(e){t[i](e,n)})}var S={isTouch:!1},M=0;function P(){S.isTouch||(S.isTouch=!0,window.performance&&document.addEventListener("mousemove",V))}function V(){var t=performance.now();t-M<20&&(S.isTouch=!1,document.removeEventListener("mousemove",V)),M=t}function R(){var t=document.activeElement;if(A(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function I(){document.addEventListener("touchstart",P,s),window.addEventListener("blur",R)}var H,N="undefined"!=typeof window&&"undefined"!=typeof document,U=N?navigator.userAgent:"",B=/MSIE |Trident\//.test(U);function F(t){return[t+"() was called on a"+("destroy"===t?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Y(t){return t.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function _(t){return Y("\n  %ctippy.js\n\n  %c"+Y(t)+"\n\n  %c👷‍ This is a development-only message. It will be removed in production.\n  ")}function W(t){return[_(t),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function X(){H=new Set}function q(t,e){var n;t&&!H.has(e)&&(H.add(e),(n=console).warn.apply(n,W(e)))}function $(t,e){var n;t&&!H.has(e)&&(H.add(e),(n=console).error.apply(n,W(e)))}function z(t){var e=!t,n="[object Object]"===Object.prototype.toString.call(t)&&!t.addEventListener;$(e,["tippy() was passed","`"+String(t)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),$(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}X();var J={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},G={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},K=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},J,{},G),Q=Object.keys(K),Z=function(t){it(t,[]),Object.keys(t).forEach(function(e){K[e]=t[e]})};function tt(t){var e=(t.plugins||[]).reduce(function(e,n){var i=n.name,r=n.defaultValue;return i&&(e[i]=void 0!==t[i]?t[i]:r),e},{});return Object.assign({},t,{},e)}function et(t,e){return(e?Object.keys(tt(Object.assign({},K,{plugins:e}))):Q).reduce(function(e,n){var i=(t.getAttribute("data-tippy-"+n)||"").trim();if(!i)return e;if("content"===n)e[n]=i;else try{e[n]=JSON.parse(i)}catch(r){e[n]=i}return e},{})}function nt(t,e){var n=Object.assign({},e,{content:l(e.content,[t])},e.ignoreAttributes?{}:et(t,e.plugins));return n.aria=Object.assign({},K.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function it(t,e){void 0===t&&(t={}),void 0===e&&(e=[]),Object.keys(t).forEach(function(t){var n=!u(d(K,Object.keys(J)),t);n&&(n=0===e.filter(function(e){return e.name===t}).length),q(n,["`"+t+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var rt=function(){return"innerHTML"};function ot(t,e){t[rt()]=e}function at(t){var e=w();return!0===t?e.className=o:(e.className=a,x(t)?e.appendChild(t):ot(e,t)),e}function st(t,e){x(e.content)?(ot(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?ot(t,e.content):t.textContent=e.content)}function ut(t){var e=t.firstElementChild,n=b(e.children);return{box:e,content:n.find(function(t){return t.classList.contains(i)}),arrow:n.find(function(t){return t.classList.contains(o)||t.classList.contains(a)}),backdrop:n.find(function(t){return t.classList.contains(r)})}}function ct(t){var e=w(),r=w();r.className=n,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var o=w();function a(n,i){var r=ut(e),o=r.box,a=r.content,s=r.arrow;i.theme?o.setAttribute("data-theme",i.theme):o.removeAttribute("data-theme"),"string"==typeof i.animation?o.setAttribute("data-animation",i.animation):o.removeAttribute("data-animation"),i.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?o.setAttribute("role",i.role):o.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||st(a,t.props),i.arrow?s?n.arrow!==i.arrow&&(o.removeChild(s),o.appendChild(at(i.arrow))):o.appendChild(at(i.arrow)):s&&o.removeChild(s)}return o.className=i,o.setAttribute("data-state","hidden"),st(o,t.props),e.appendChild(r),r.appendChild(o),a(t.props,t.props),{popper:e,onUpdate:a}}ct.$$tippy=!0;var pt=1,lt=[],ft=[];function dt(e,n){var i,r,o,a,u,p,d,y=nt(e,Object.assign({},K,{},tt(n))),x=!1,T=!1,A=!1,C=!1,M=[],P=f(xt,y.interactiveDebounce),V=j(y.triggerTarget||e),R=pt++,I=h(y.plugins),H={id:R,reference:e,popper:w(),popperInstance:null,props:y,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:I,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){q(H.state.isDestroyed,F("setProps"));if(H.state.isDestroyed)return;it("onBeforeUpdate",[H,t]),bt();var n=H.props,i=nt(e,Object.assign({},H.props,{},t,{ignoreAttributes:!0}));H.props=i,yt(),n.interactiveDebounce!==i.interactiveDebounce&&(at(),P=f(xt,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?m(n.triggerTarget).forEach(function(t){t.removeAttribute("aria-expanded")}):i.triggerTarget&&e.removeAttribute("aria-expanded");ot(),et(),Y&&Y(n,i);H.popperInstance&&(Ct(),Lt().forEach(function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}));it("onAfterUpdate",[H,t])},setContent:function(t){H.setProps({content:t})},show:function(){q(H.state.isDestroyed,F("show"));var t=H.state.isVisible,e=H.state.isDestroyed,n=!H.state.isEnabled,i=S.isTouch&&!H.props.touch,r=c(H.props.duration,0,K.duration);if(t||e||n||i)return;if(G().hasAttribute("disabled"))return;if(it("onShow",[H],!1),!1===H.props.onShow(H))return;H.state.isVisible=!0,J()&&(U.style.visibility="visible");et(),vt(),H.state.isMounted||(U.style.transition="none");if(J()){var o=Q(),a=o.box,s=o.content;O([a,s],0)}p=function(){if(H.state.isVisible&&!C){if(C=!0,U.offsetHeight,U.style.transition=H.props.moveTransition,J()&&H.props.animation){var t=Q(),e=t.box,n=t.content;O([e,n],r),L([e,n],"visible")}rt(),ot(),g(ft,H),H.state.isMounted=!0,it("onMount",[H]),H.props.animation&&J()&&function(t,e){gt(t,e)}(r,function(){H.state.isShown=!0,it("onShown",[H])})}},function(){var t,e=H.props.appendTo,n=G();t=H.props.interactive&&e===K.appendTo||"parent"===e?n.parentNode:l(e,[n]);t.contains(U)||t.appendChild(U);Ct(),q(H.props.interactive&&e===K.appendTo&&n.nextElementSibling!==U,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){q(H.state.isDestroyed,F("hide"));var t=!H.state.isVisible,e=H.state.isDestroyed,n=!H.state.isEnabled,i=c(H.props.duration,1,K.duration);if(t||e||n)return;if(it("onHide",[H],!1),!1===H.props.onHide(H))return;H.state.isVisible=!1,H.state.isShown=!1,C=!1,J()&&(U.style.visibility="hidden");if(at(),mt(),et(),J()){var r=Q(),o=r.box,a=r.content;H.props.animation&&(O([o,a],i),L([o,a],"hidden"))}rt(),ot(),H.props.animation?J()&&function(t,e){gt(t,function(){!H.state.isVisible&&U.parentNode&&U.parentNode.contains(U)&&e()})}(i,H.unmount):H.unmount()},hideWithInteractivity:function(t){q(H.state.isDestroyed,F("hideWithInteractivity"));V.body.addEventListener("mouseleave",Dt),V.addEventListener("mousemove",P),g(lt,P),P(t)},enable:function(){H.state.isEnabled=!0},disable:function(){H.hide(),H.state.isEnabled=!1},unmount:function(){q(H.state.isDestroyed,F("unmount"));H.state.isVisible&&H.hide();if(!H.state.isMounted)return;Ot(),Lt().forEach(function(t){t._tippy.unmount()}),U.parentNode&&U.parentNode.removeChild(U);ft=ft.filter(function(t){return t!==H}),H.state.isMounted=!1,it("onHidden",[H])},destroy:function(){q(H.state.isDestroyed,F("destroy"));if(H.state.isDestroyed)return;H.clearDelayTimeouts(),H.unmount(),bt(),delete e._tippy,H.state.isDestroyed=!0,it("onDestroy",[H])}};if(!y.render)return $(!0,"render() function has not been supplied."),H;var N=y.render(H),U=N.popper,Y=N.onUpdate;U.setAttribute("data-tippy-root",""),U.id="tippy-"+H.id,H.popper=U,e._tippy=H,U._tippy=H;var _=I.map(function(t){return t.fn(H)}),W=e.hasAttribute("aria-expanded");return yt(),ot(),et(),it("onCreate",[H]),y.showOnCreate&&jt(),U.addEventListener("mouseenter",function(){H.props.interactive&&H.state.isVisible&&H.clearDelayTimeouts()}),U.addEventListener("mouseleave",function(t){H.props.interactive&&H.props.trigger.indexOf("mouseenter")>=0&&(V.addEventListener("mousemove",P),P(t))}),H;function X(){var t=H.props.touch;return Array.isArray(t)?t:[t,0]}function z(){return"hold"===X()[0]}function J(){var t;return!!(null==(t=H.props.render)?void 0:t.$$tippy)}function G(){return d||e}function Q(){return ut(U)}function Z(t){return H.state.isMounted&&!H.state.isVisible||S.isTouch||a&&"focus"===a.type?0:c(H.props.delay,t?0:1,K.delay)}function et(){U.style.pointerEvents=H.props.interactive&&H.state.isVisible?"":"none",U.style.zIndex=""+H.props.zIndex}function it(t,e,n){var i;(void 0===n&&(n=!0),_.forEach(function(n){n[t]&&n[t].apply(void 0,e)}),n)&&(i=H.props)[t].apply(i,e)}function rt(){var t=H.props.aria;if(t.content){var n="aria-"+t.content,i=U.id;m(H.props.triggerTarget||e).forEach(function(t){var e=t.getAttribute(n);if(H.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var r=e&&e.replace(i,"").trim();r?t.setAttribute(n,r):t.removeAttribute(n)}})}}function ot(){!W&&H.props.aria.expanded&&m(H.props.triggerTarget||e).forEach(function(t){H.props.interactive?t.setAttribute("aria-expanded",H.state.isVisible&&t===G()?"true":"false"):t.removeAttribute("aria-expanded")})}function at(){V.body.removeEventListener("mouseleave",Dt),V.removeEventListener("mousemove",P),lt=lt.filter(function(t){return t!==P})}function st(t){if(!(S.isTouch&&(A||"mousedown"===t.type)||H.props.interactive&&U.contains(t.target))){if(G().contains(t.target)){if(S.isTouch)return;if(H.state.isVisible&&H.props.trigger.indexOf("click")>=0)return}else it("onClickOutside",[H,t]);!0===H.props.hideOnClick&&(x=!1,H.clearDelayTimeouts(),H.hide(),T=!0,setTimeout(function(){T=!1}),H.state.isMounted||mt())}}function ct(){A=!0}function dt(){A=!1}function vt(){V.addEventListener("mousedown",st,!0),V.addEventListener("touchend",st,s),V.addEventListener("touchstart",dt,s),V.addEventListener("touchmove",ct,s)}function mt(){V.removeEventListener("mousedown",st,!0),V.removeEventListener("touchend",st,s),V.removeEventListener("touchstart",dt,s),V.removeEventListener("touchmove",ct,s)}function gt(t,e){var n=Q().box;function i(t){t.target===n&&(k(n,"remove",i),e())}if(0===t)return e();k(n,"remove",u),k(n,"add",i),u=i}function ht(t,n,i){void 0===i&&(i=!1),m(H.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,i),M.push({node:e,eventType:t,handler:n,options:i})})}function yt(){z()&&(ht("touchstart",wt,{passive:!0}),ht("touchend",Tt,{passive:!0})),v(H.props.trigger).forEach(function(t){if("manual"!==t)switch(ht(t,wt),t){case"mouseenter":ht("mouseleave",Tt);break;case"focus":ht(B?"focusout":"blur",Et);break;case"focusin":ht("focusout",Et)}})}function bt(){M.forEach(function(t){var e=t.node,n=t.eventType,i=t.handler,r=t.options;e.removeEventListener(n,i,r)}),M=[]}function wt(t){var e,n=!1;if(H.state.isEnabled&&!At(t)&&!T){var i="focus"===(null==(e=a)?void 0:e.type);a=t,d=t.currentTarget,ot(),!H.state.isVisible&&E(t)&&lt.forEach(function(e){return e(t)}),"click"===t.type&&(H.props.trigger.indexOf("mouseenter")<0||x)&&!1!==H.props.hideOnClick&&H.state.isVisible?n=!0:jt(t),"click"===t.type&&(x=!n),n&&!i&&Dt(t)}}function xt(t){var n=t.target,i=e.contains(n)||U.contains(n);"mousemove"===t.type&&i||D(Lt().concat(U).map(function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:y}:null}).filter(Boolean),t)&&(at(),Dt(t))}function Tt(t){At(t)||H.props.trigger.indexOf("click")>=0&&x||(H.props.interactive?H.hideWithInteractivity(t):Dt(t))}function Et(t){H.props.trigger.indexOf("focusin")<0&&t.target!==G()||H.props.interactive&&t.relatedTarget&&U.contains(t.relatedTarget)||Dt(t)}function At(t){return!!S.isTouch&&z()!==t.type.indexOf("touch")>=0}function Ct(){Ot();var n=H.props,i=n.popperOptions,r=n.placement,o=n.offset,a=n.getReferenceClientRect,s=n.moveTransition,u=J()?ut(U).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||G()}:e,l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(J()){var n=Q().box;["placement","reference-hidden","escaped"].forEach(function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)}),e.attributes.popper={}}}}];J()&&u&&l.push({name:"arrow",options:{element:u,padding:3}}),l.push.apply(l,(null==i?void 0:i.modifiers)||[]),H.popperInstance=(0,t.createPopper)(c,U,Object.assign({},i,{placement:r,onFirstUpdate:p,modifiers:l}))}function Ot(){H.popperInstance&&(H.popperInstance.destroy(),H.popperInstance=null)}function Lt(){return b(U.querySelectorAll("[data-tippy-root]"))}function jt(t){H.clearDelayTimeouts(),t&&it("onTrigger",[H,t]),vt();var e=Z(!0),n=X(),r=n[0],o=n[1];S.isTouch&&"hold"===r&&o&&(e=o),e?i=setTimeout(function(){H.show()},e):H.show()}function Dt(t){if(H.clearDelayTimeouts(),it("onUntrigger",[H,t]),H.state.isVisible){if(!(H.props.trigger.indexOf("mouseenter")>=0&&H.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&x)){var e=Z(!1);e?r=setTimeout(function(){H.state.isVisible&&H.hide()},e):o=requestAnimationFrame(function(){H.hide()})}}else mt()}}function vt(t,e){void 0===e&&(e={});var n=K.plugins.concat(e.plugins||[]);z(t),it(e,n),I();var i=Object.assign({},e,{plugins:n}),r=C(t),o=x(i.content),a=r.length>1;q(o&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "));var s=r.reduce(function(t,e){var n=e&&dt(e,i);return n&&t.push(n),t},[]);return x(t)?s[0]:s}vt.defaultProps=K,vt.setDefaultProps=Z,vt.currentInput=S;var mt=function(t){var e=void 0===t?{}:t,n=e.exclude,i=e.duration;ft.forEach(function(t){var e=!1;if(n&&(e=A(n)?t.reference===n:t.popper===n.popper),!e){var r=t.props.duration;t.setProps({duration:i}),t.hide(),t.state.isDestroyed||t.setProps({duration:r})}})};exports.hideAll=mt;var gt=function(t,e){void 0===e&&(e={}),$(!Array.isArray(t),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(t)].join(" "));var n,i=t,r=[],o=e.overrides;function a(){r=i.map(function(t){return t.reference})}function s(t){i.forEach(function(e){t?e.enable():e.disable()})}s(!1),a();var u={fn:function(){return{onDestroy:function(){s(!0)},onTrigger:function(t,e){var a=e.currentTarget,s=r.indexOf(a);if(a!==n){n=a;var u=(o||[]).concat("content").reduce(function(t,e){return t[e]=i[s].props[e],t},{});t.setProps(Object.assign({},u,{getReferenceClientRect:function(){return a.getBoundingClientRect()}}))}}}}},c=vt(w(),Object.assign({},d(e,["overrides"]),{plugins:[u].concat(e.plugins||[]),triggerTarget:r})),p=c.setProps;return c.setProps=function(t){o=t.overrides||o,p(t)},c.setInstances=function(t){s(!0),i=t,s(!1),a(),c.setProps({triggerTarget:r})},c};exports.createSingleton=gt;var ht={mouseover:"mouseenter",focusin:"focus",click:"click"};function yt(t,e){$(!(e&&e.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var n=[],i=[],r=e.target,o=d(e,["target"]),a=Object.assign({},o,{trigger:"manual",touch:!1}),s=Object.assign({},o,{showOnCreate:!0}),u=vt(t,a);function c(t){if(t.target){var n=t.target.closest(r);if(n){var o=n.getAttribute("data-tippy-trigger")||e.trigger||K.trigger;if(!n._tippy&&!("touchstart"===t.type&&"boolean"==typeof s.touch||"touchstart"!==t.type&&o.indexOf(ht[t.type]))){var a=vt(n,s);a&&(i=i.concat(a))}}}}function p(t,e,i,r){void 0===r&&(r=!1),t.addEventListener(e,i,r),n.push({node:t,eventType:e,handler:i,options:r})}return m(u).forEach(function(t){var e=t.destroy;t.destroy=function(t){void 0===t&&(t=!0),t&&i.forEach(function(t){t.destroy()}),i=[],n.forEach(function(t){var e=t.node,n=t.eventType,i=t.handler,r=t.options;e.removeEventListener(n,i,r)}),n=[],e()},function(t){var e=t.reference;p(e,"touchstart",c),p(e,"mouseover",c),p(e,"focusin",c),p(e,"click",c)}(t)}),u}var bt={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(!(null==(e=t.props.render)?void 0:e.$$tippy))return $(t.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=ut(t.popper),i=n.box,r=n.content,o=t.props.animateFill?wt():null;return{onCreate:function(){o&&(i.insertBefore(o,i.firstElementChild),i.setAttribute("data-animatefill",""),i.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var t=i.style.transitionDuration,e=Number(t.replace("ms",""));r.style.transitionDelay=Math.round(e/10)+"ms",o.style.transitionDuration=t,L([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&L([o],"hidden")}}}};function wt(){var t=w();return t.className=r,L([t],"hidden"),t}exports.animateFill=bt;var xt={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=j(t.props.triggerTarget||e),i=null;function r(){return"manual"===t.props.trigger.trim()}function o(){var e=!!r()||null!==i&&!(0===i.clientX&&0===i.clientY);return t.props.followCursor&&e}function a(e){e&&t.setProps({getReferenceClientRect:null})}function s(){o()?n.addEventListener("mousemove",c):a(t.props.followCursor)}function u(){n.removeEventListener("mousemove",c)}function c(n){i={clientX:n.clientX,clientY:n.clientY};var r=!n.target||e.contains(n.target),o=t.props.followCursor,a=n.clientX,s=n.clientY,c=e.getBoundingClientRect(),p=a-c.left,l=s-c.top;!r&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=a,i=s;"initial"===o&&(n=t.left+p,i=t.top+l);var r="horizontal"===o?t.top:i,u="vertical"===o?t.right:n,c="horizontal"===o?t.bottom:i,f="vertical"===o?t.left:n;return{width:u-f,height:c-r,top:r,right:u,bottom:c,left:f}}}),(S.isTouch||"initial"===t.props.followCursor&&t.state.isVisible)&&u()}return{onAfterUpdate:function(t,e){var n=e.followCursor;void 0===n||n||a(!0)},onMount:function(){o()&&c(i)},onShow:function(){r()&&(i={clientX:0,clientY:0},s())},onTrigger:function(t,e){i||(E(e)&&(i={clientX:e.clientX,clientY:e.clientY}),s())},onUntrigger:function(){t.state.isVisible||(u(),i=null)},onHidden:function(){u(),i=null}}}};function Tt(t,e){var n;return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(n=t.popperOptions)?void 0:n.modifiers)||[]).filter(function(t){return t.name!==e.name}),[e])})}}exports.followCursor=xt;var Et={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference;var i=-1,r=!1,o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var o=r.state;t.props.inlinePositioning&&(e!==o.placement&&t.setProps({getReferenceClientRect:function(){return At(y(o.placement),n.getBoundingClientRect(),b(n.getClientRects()),i)}}),e=o.placement)}};function a(){var e;r||(e=Tt(t.props,o),r=!0,t.setProps(e),r=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(e,n){if(E(n)){var r=b(t.reference.getClientRects()),o=r.find(function(t){return t.left-2<=n.clientX&&t.right+2>=n.clientX&&t.top-2<=n.clientY&&t.bottom+2>=n.clientY});i=r.indexOf(o)}},onUntrigger:function(){i=-1}}}};function At(t,e,n,i){if(n.length<2||null===t)return e;if(2===n.length&&i>=0&&n[0].left>n[1].right)return n[i]||e;switch(t){case"top":case"bottom":var r=n[0],o=n[n.length-1],a="top"===t,s=r.top,u=o.bottom,c=a?r.left:o.left,p=a?r.right:o.right;return{top:s,bottom:u,left:c,right:p,width:p-c,height:u-s};case"left":case"right":var l=Math.min.apply(Math,n.map(function(t){return t.left})),f=Math.max.apply(Math,n.map(function(t){return t.right})),d=n.filter(function(e){return"left"===t?e.left===l:e.right===f}),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:l,right:f,width:f-l,height:m-v};default:return e}}exports.inlinePositioning=Et;var Ct={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function i(e){return!0===t.props.sticky||t.props.sticky===e}var r=null,o=null;function a(){var s=i("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,u=i("popper")?n.getBoundingClientRect():null;(s&&Ot(r,s)||u&&Ot(o,u))&&t.popperInstance&&t.popperInstance.update(),r=s,o=u,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function Ot(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}exports.sticky=Ct,vt.setDefaultProps({render:ct});var Lt=vt;exports.default=Lt;
  },{"@popperjs/core":"jI1K"}],"d4Ux":[function(require,module,exports) {
  
  },{}],"epB2":[function(require,module,exports) {
  "use strict";var e=r(require("lodash.debounce")),t=r(require("./utils/is-mobile")),i=r(require("./utils/link-fix")),s=r(require("./graphic")),a=r(require("./footer"));require("intersection-observer");var l=r(require("scrollama")),d=c(require("tippy.js"));function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}function c(e){if(e&&e.__esModule)return e;var t=n();if(t&&t.has(e))return t.get(e);var i={};if(null!=e){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var l=s?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(i,a,l):i[a]=e[a]}}return i.default=e,t&&t.set(e,i),i}function r(e){return e&&e.__esModule?e:{default:e}}require("tippy.js/dist/backdrop.css"),require("tippy.js/animations/shift-away.css"),require("tippy.js/animations/scale-extreme.css");var o=d3.select("body"),g=0,p=.5;function h(){var e=o.node().offsetWidth;g!==e&&(g=e,s.default.resize())}function m(){if(o.select("header").classed("is-sticky")){var e=o.select(".header__menu"),t=o.select(".header__toggle");t.on("click",function(){var i=e.classed("is-visible");e.classed("is-visible",!i),t.classed("is-visible",!i)})}}function f(){d3.select(".logo-swap").html('<a href="https://kontinentalist.com/" target="_blank"><img src="assets/images/kont-logo_2.png" alt="Kontinentalist Logo"></a>'),t.default&&(p=1);var s={bts:"<img src='https://media.giphy.com/media/3ofT5IUGY3FNyi5MAg/giphy.gif'>",seo:"<img src='https://media.giphy.com/media/d8JrmLFXOENfGZKvk5/giphy.gif'>",super:"<img src='https://media.giphy.com/media/h3dPhzmt22i6tIFSBb/giphy.gif'>",girls:"<img src='https://media.giphy.com/media/GF2j4AphaTDqg/giphy.gif'>",nct:"<img src='https://media.giphy.com/media/mEmpgiTZaNGozOq2fV/giphy.gif'>",blackpink:"<img src='https://media.giphy.com/media/fx5Eq1QkybZBYmfq7M/giphy.gif'>",djdoc:"<img src='https://media.giphy.com/media/TKYOjhcoMYUNl6SiE8/giphy.gif'>",yoona:"<img src='https://media.giphy.com/media/3ohfFvoeioWVPPYrGU/giphy.gif'>",exo:"<img src='https://media.giphy.com/media/lNEWJSWZqWgybocMK0/giphy.gif'>",seventeen:"<img src='https://media.giphy.com/media/KZk4raQzMV2cYa4Ubr/giphy.gif'>",jayz:"<img src='https://media.giphy.com/media/C0CLctoErM7WE/giphy.gif'>",jungkook:"<img src='https://media.giphy.com/media/SqBnf9Go5I4MhhGU9t/giphy.gif'>",twice:"<img src='https://media.giphy.com/media/fYC6joqiNhJzvHR0NT/giphy.gif'>",wanna:"<img src='https://media.giphy.com/media/TIdrob2f8tTbhZ5Jib/giphy.gif'>",exp:"<img src='https://media.giphy.com/media/PlV6Y75V8b0Bd2krC6/giphy.gif'>"};d3.selectAll(".tooltip-highlight-gif").attr("data-tippy-content",function(e){var t=d3.select(this).attr("data-tippy-content");return s[t]}),d3.selectAll(".tooltip-highlight").each(function(e){var t=d3.select(this).attr("data-tippy-content");d3.select(this).on("mouseover",function(e){d3.select(this).select("span").style("display","inline-block")}).on("mouseout",function(e){d3.select(this).select("span").style("display",null)}).append("span").attr("class","mouseover-text").html(t)}),d3.selectAll(".tooltip-highlight-gif").each(function(e){d3.select(this).attr("data-tippy-content");d3.select(this)});var d=d3.selectAll(".legend").classed("legend-1",!0),n=d.append("div").attr("position","absolute").attr("stroke","#333333").attr("height","100").classed("legend-1",!0).classed("legend-label",!0),c=d3.select("#bars").select("iframe").node(),r=d3.select("#rankings").select("iframe").node();(0,i.default)(),o.classed("is-mobile",t.default.any()),window.addEventListener("resize",(0,e.default)(h,150)),m(),(0,l.default)().setup({step:"#bars-text .step",offset:p,debug:!1}).onStepEnter(function(e){var t=e.index;c.src=c.src.replace(/#slide-.*/,"")+"#slide-"+t,0==t&&(d.classed("legend-2",!1),d.classed("legend-3",!1),d.classed("legend-1",!0),n.classed("legend-2",!1),n.classed("legend-3",!1),n.classed("legend-1",!0)),1==t&&(d.classed("legend-2",!0),d.classed("legend-3",!1),d.classed("legend-1",!1),n.classed("legend-1",!1),n.classed("legend-3",!1),n.classed("legend-2",!0)),t>=2&&(d.classed("legend-2",!1),d.classed("legend-1",!1),d.classed("legend-3",!0),n.classed("legend-2",!1),n.classed("legend-1",!1),n.classed("legend-3",!0))}).onStepExit(function(e){}),(0,l.default)().setup({step:"#rankings-text .step",offset:p,debug:!1}).onStepEnter(function(e){var t=e.index;r.src=r.src.replace(/#slide-.*/,"")+"#slide-"+t}).onStepExit(function(e){}),a.default.init()}f();
  },{"lodash.debounce":"or4r","./utils/is-mobile":"WEtf","./utils/link-fix":"U9xJ","./graphic":"TAPd","./footer":"v9Q8","intersection-observer":"CRRU","scrollama":"vL5c","tippy.js":"DpGZ","tippy.js/dist/backdrop.css":"d4Ux","tippy.js/animations/shift-away.css":"d4Ux","tippy.js/animations/scale-extreme.css":"d4Ux"}]},{},["epB2"], null)