summaryrefslogtreecommitdiffstats
path: root/web/_static/popperjs
diff options
context:
space:
mode:
Diffstat (limited to 'web/_static/popperjs')
-rw-r--r--web/_static/popperjs/popper-base.js1157
-rw-r--r--web/_static/popperjs/popper-base.js.map65
-rw-r--r--web/_static/popperjs/popper-base.min.js71
-rw-r--r--web/_static/popperjs/popper-base.min.js.flow65
-rw-r--r--web/_static/popperjs/popper-base.min.js.map65
-rw-r--r--web/_static/popperjs/popper-lite.js1490
-rw-r--r--web/_static/popperjs/popper-lite.js.map65
-rw-r--r--web/_static/popperjs/popper-lite.min.js71
-rw-r--r--web/_static/popperjs/popper-lite.min.js.flow65
-rw-r--r--web/_static/popperjs/popper-lite.min.js.map65
-rw-r--r--web/_static/popperjs/popper.js2062
-rw-r--r--web/_static/popperjs/popper.js.map65
-rw-r--r--web/_static/popperjs/popper.min.js71
-rw-r--r--web/_static/popperjs/popper.min.js.flow65
-rw-r--r--web/_static/popperjs/popper.min.js.map65
15 files changed, 5507 insertions, 0 deletions
diff --git a/web/_static/popperjs/popper-base.js b/web/_static/popperjs/popper-base.js
new file mode 100644
index 0000000..ef2c8de
--- /dev/null
+++ b/web/_static/popperjs/popper-base.js
@@ -0,0 +1,1157 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:29.163Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-base.js","target":{"path":"/dist/umd/popper-base.js","type":"file","details":{"contentType":"application/javascript","integrity":"sha384-5LRrJaCkcOKonhpHedowEuy/TevvGsZKqZReWa/R8Y51VbZpJgFQt1TWla3GyV38","language":"JavaScript","size":38604,"uri":null,"highlights":["<span class=\"code-comment\">/**\n</span>","<span class=\"code-comment\"> * @popperjs/core v2.11.5 - MIT License\n</span>","<span class=\"code-comment\"> */</span>\n","\n","(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">global, factory</span>) </span>{\n"," <span class=\"code-keyword\">typeof</span> exports === <span class=\"code-string\">'object'</span> &amp;&amp; <span class=\"code-keyword\">typeof</span> <span class=\"code-built_in\">module</span> !== <span class=\"code-string\">'undefined'</span> ? factory(exports) :\n"," <span class=\"code-keyword\">typeof</span> define === <span class=\"code-string\">'function'</span> &amp;&amp; define.amd ? define([<span class=\"code-string\">'exports'</span>], factory) :\n"," (global = <span class=\"code-keyword\">typeof</span> globalThis !== <span class=\"code-string\">'undefined'</span> ? globalThis : global || self, factory(global.Popper = {}));\n","}(<span class=\"code-keyword\">this</span>, (<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">exports</span>) </span>{ <span class=\"code-string\">'use strict'</span>;\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getWindow</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (node == <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (node.toString() !== <span class=\"code-string\">'[object Window]'</span>) {\n"," <span class=\"code-keyword\">var</span> ownerDocument = node.ownerDocument;\n"," <span class=\"code-keyword\">return</span> ownerDocument ? ownerDocument.defaultView || <span class=\"code-built_in\">window</span> : <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> node;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isElement</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">var</span> OwnElement = getWindow(node).Element;\n"," <span class=\"code-keyword\">return</span> node <span class=\"code-keyword\">instanceof</span> OwnElement || node <span class=\"code-keyword\">instanceof</span> Element;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isHTMLElement</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">var</span> OwnElement = getWindow(node).HTMLElement;\n"," <span class=\"code-keyword\">return</span> node <span class=\"code-keyword\">instanceof</span> OwnElement || node <span class=\"code-keyword\">instanceof</span> HTMLElement;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isShadowRoot</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-comment\">// IE 11 has no ShadowRoot</span>\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> ShadowRoot === <span class=\"code-string\">'undefined'</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> OwnElement = getWindow(node).ShadowRoot;\n"," <span class=\"code-keyword\">return</span> node <span class=\"code-keyword\">instanceof</span> OwnElement || node <span class=\"code-keyword\">instanceof</span> ShadowRoot;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> max = <span class=\"code-built_in\">Math</span>.max;\n"," <span class=\"code-keyword\">var</span> min = <span class=\"code-built_in\">Math</span>.min;\n"," <span class=\"code-keyword\">var</span> round = <span class=\"code-built_in\">Math</span>.round;\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getBoundingClientRect</span>(<span class=\"code-params\">element, includeScale</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (includeScale === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," includeScale = <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> rect = element.getBoundingClientRect();\n"," <span class=\"code-keyword\">var</span> scaleX = <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">var</span> scaleY = <span class=\"code-number\">1</span>;\n","\n"," <span class=\"code-keyword\">if</span> (isHTMLElement(element) &amp;&amp; includeScale) {\n"," <span class=\"code-keyword\">var</span> offsetHeight = element.offsetHeight;\n"," <span class=\"code-keyword\">var</span> offsetWidth = element.offsetWidth; <span class=\"code-comment\">// Do not attempt to divide by 0, otherwise we get `Infinity` as scale</span>\n"," <span class=\"code-comment\">// Fallback to 1 in case both values are `0`</span>\n","\n"," <span class=\"code-keyword\">if</span> (offsetWidth &gt; <span class=\"code-number\">0</span>) {\n"," scaleX = round(rect.width) / offsetWidth || <span class=\"code-number\">1</span>;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (offsetHeight &gt; <span class=\"code-number\">0</span>) {\n"," scaleY = round(rect.height) / offsetHeight || <span class=\"code-number\">1</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," width: rect.width / scaleX,\n"," height: rect.height / scaleY,\n"," top: rect.top / scaleY,\n"," right: rect.right / scaleX,\n"," bottom: rect.bottom / scaleY,\n"," left: rect.left / scaleX,\n"," x: rect.left / scaleX,\n"," y: rect.top / scaleY\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getWindowScroll</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">var</span> win = getWindow(node);\n"," <span class=\"code-keyword\">var</span> scrollLeft = win.pageXOffset;\n"," <span class=\"code-keyword\">var</span> scrollTop = win.pageYOffset;\n"," <span class=\"code-keyword\">return</span> {\n"," scrollLeft: scrollLeft,\n"," scrollTop: scrollTop\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getHTMLElementScroll</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> {\n"," scrollLeft: element.scrollLeft,\n"," scrollTop: element.scrollTop\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getNodeScroll</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (node === getWindow(node) || !isHTMLElement(node)) {\n"," <span class=\"code-keyword\">return</span> getWindowScroll(node);\n"," } <span class=\"code-keyword\">else</span> {\n"," <span class=\"code-keyword\">return</span> getHTMLElementScroll(node);\n"," }\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getNodeName</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> element ? (element.nodeName || <span class=\"code-string\">''</span>).toLowerCase() : <span class=\"code-literal\">null</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getDocumentElement</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-return]: assume body is always available</span>\n"," <span class=\"code-keyword\">return</span> ((isElement(element) ? element.ownerDocument : <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," element.document) || <span class=\"code-built_in\">window</span>.document).documentElement;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getWindowScrollBarX</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-comment\">// If &lt;html&gt; has a CSS width greater than the viewport, then this will be</span>\n"," <span class=\"code-comment\">// incorrect for RTL.</span>\n"," <span class=\"code-comment\">// Popper 1 is broken in this case and never had a bug report so let's assume</span>\n"," <span class=\"code-comment\">// it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;</span>\n"," <span class=\"code-comment\">// anyway.</span>\n"," <span class=\"code-comment\">// Browsers where the left scrollbar doesn't cause an issue report `0` for</span>\n"," <span class=\"code-comment\">// this (e.g. Edge 2019, IE11, Safari)</span>\n"," <span class=\"code-keyword\">return</span> getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getComputedStyle</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> getWindow(element).getComputedStyle(element);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isScrollParent</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-comment\">// Firefox wants us to check `-x` and `-y` variations as well</span>\n"," <span class=\"code-keyword\">var</span> _getComputedStyle = getComputedStyle(element),\n"," overflow = _getComputedStyle.overflow,\n"," overflowX = _getComputedStyle.overflowX,\n"," overflowY = _getComputedStyle.overflowY;\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-regexp\">/auto|scroll|overlay|hidden/</span>.test(overflow + overflowY + overflowX);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isElementScaled</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rect = element.getBoundingClientRect();\n"," <span class=\"code-keyword\">var</span> scaleX = round(rect.width) / element.offsetWidth || <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">var</span> scaleY = round(rect.height) / element.offsetHeight || <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">return</span> scaleX !== <span class=\"code-number\">1</span> || scaleY !== <span class=\"code-number\">1</span>;\n"," } <span class=\"code-comment\">// Returns the composite rect of an element relative to its offsetParent.</span>\n"," <span class=\"code-comment\">// Composite means it takes into account transforms as well as layout.</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getCompositeRect</span>(<span class=\"code-params\">elementOrVirtualElement, offsetParent, isFixed</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (isFixed === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," isFixed = <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> isOffsetParentAnElement = isHTMLElement(offsetParent);\n"," <span class=\"code-keyword\">var</span> offsetParentIsScaled = isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\n"," <span class=\"code-keyword\">var</span> documentElement = getDocumentElement(offsetParent);\n"," <span class=\"code-keyword\">var</span> rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);\n"," <span class=\"code-keyword\">var</span> scroll = {\n"," scrollLeft: <span class=\"code-number\">0</span>,\n"," scrollTop: <span class=\"code-number\">0</span>\n"," };\n"," <span class=\"code-keyword\">var</span> offsets = {\n"," x: <span class=\"code-number\">0</span>,\n"," y: <span class=\"code-number\">0</span>\n"," };\n","\n"," <span class=\"code-keyword\">if</span> (isOffsetParentAnElement || !isOffsetParentAnElement &amp;&amp; !isFixed) {\n"," <span class=\"code-keyword\">if</span> (getNodeName(offsetParent) !== <span class=\"code-string\">'body'</span> || <span class=\"code-comment\">// https://github.com/popperjs/popper-core/issues/1078</span>\n"," isScrollParent(documentElement)) {\n"," scroll = getNodeScroll(offsetParent);\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (isHTMLElement(offsetParent)) {\n"," offsets = getBoundingClientRect(offsetParent, <span class=\"code-literal\">true</span>);\n"," offsets.x += offsetParent.clientLeft;\n"," offsets.y += offsetParent.clientTop;\n"," } <span class=\"code-keyword\">else</span> <span class=\"code-keyword\">if</span> (documentElement) {\n"," offsets.x = getWindowScrollBarX(documentElement);\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," x: rect.left + scroll.scrollLeft - offsets.x,\n"," y: rect.top + scroll.scrollTop - offsets.y,\n"," width: rect.width,\n"," height: rect.height\n"," };\n"," }\n","\n"," <span class=\"code-comment\">// means it doesn't take into account transforms.</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getLayoutRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> clientRect = getBoundingClientRect(element); <span class=\"code-comment\">// Use the clientRect sizes if it's not been transformed.</span>\n"," <span class=\"code-comment\">// Fixes https://github.com/popperjs/popper-core/issues/1223</span>\n","\n"," <span class=\"code-keyword\">var</span> width = element.offsetWidth;\n"," <span class=\"code-keyword\">var</span> height = element.offsetHeight;\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-built_in\">Math</span>.abs(clientRect.width - width) &lt;= <span class=\"code-number\">1</span>) {\n"," width = clientRect.width;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-built_in\">Math</span>.abs(clientRect.height - height) &lt;= <span class=\"code-number\">1</span>) {\n"," height = clientRect.height;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," x: element.offsetLeft,\n"," y: element.offsetTop,\n"," width: width,\n"," height: height\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getParentNode</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (getNodeName(element) === <span class=\"code-string\">'html'</span>) {\n"," <span class=\"code-keyword\">return</span> element;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> (<span class=\"code-comment\">// this is a quicker (but less type safe) way to save quite some bytes from the bundle</span>\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-return]</span>\n"," <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," element.assignedSlot || <span class=\"code-comment\">// step into the shadow DOM of the parent of a slotted node</span>\n"," element.parentNode || ( <span class=\"code-comment\">// DOM Element detected</span>\n"," isShadowRoot(element) ? element.host : <span class=\"code-literal\">null</span>) || <span class=\"code-comment\">// ShadowRoot detected</span>\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-call]: HTMLElement is a Node</span>\n"," getDocumentElement(element) <span class=\"code-comment\">// fallback</span>\n","\n"," );\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getScrollParent</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">if</span> ([<span class=\"code-string\">'html'</span>, <span class=\"code-string\">'body'</span>, <span class=\"code-string\">'#document'</span>].indexOf(getNodeName(node)) &gt;= <span class=\"code-number\">0</span>) {\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-return]: assume body is always available</span>\n"," <span class=\"code-keyword\">return</span> node.ownerDocument.body;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\n"," <span class=\"code-keyword\">return</span> node;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> getScrollParent(getParentNode(node));\n"," }\n","\n"," <span class=\"code-comment\">/*\n</span>","<span class=\"code-comment\"> given a DOM element, return the list of all scroll parents, up the list of ancesors\n</span>","<span class=\"code-comment\"> until we get to the top window object. This list is what we attach scroll listeners\n</span>","<span class=\"code-comment\"> to, because if any of these parent elements scroll, we'll need to re-calculate the\n</span>","<span class=\"code-comment\"> reference element's position.\n</span>","<span class=\"code-comment\"> */</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">listScrollParents</span>(<span class=\"code-params\">element, list</span>) </span>{\n"," <span class=\"code-keyword\">var</span> _element$ownerDocumen;\n","\n"," <span class=\"code-keyword\">if</span> (list === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," list = [];\n"," }\n","\n"," <span class=\"code-keyword\">var</span> scrollParent = getScrollParent(element);\n"," <span class=\"code-keyword\">var</span> isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == <span class=\"code-literal\">null</span> ? <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> : _element$ownerDocumen.body);\n"," <span class=\"code-keyword\">var</span> win = getWindow(scrollParent);\n"," <span class=\"code-keyword\">var</span> target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n"," <span class=\"code-keyword\">var</span> updatedList = list.concat(target);\n"," <span class=\"code-keyword\">return</span> isBody ? updatedList : <span class=\"code-comment\">// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here</span>\n"," updatedList.concat(listScrollParents(getParentNode(target)));\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isTableElement</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> [<span class=\"code-string\">'table'</span>, <span class=\"code-string\">'td'</span>, <span class=\"code-string\">'th'</span>].indexOf(getNodeName(element)) &gt;= <span class=\"code-number\">0</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getTrueOffsetParent</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!isHTMLElement(element) || <span class=\"code-comment\">// https://github.com/popperjs/popper-core/issues/837</span>\n"," getComputedStyle(element).position === <span class=\"code-string\">'fixed'</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> element.offsetParent;\n"," } <span class=\"code-comment\">// `.offsetParent` reports `null` for fixed elements, while absolute elements</span>\n"," <span class=\"code-comment\">// return the containing block</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getContainingBlock</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> isFirefox = navigator.userAgent.toLowerCase().indexOf(<span class=\"code-string\">'firefox'</span>) !== <span class=\"code-number\">-1</span>;\n"," <span class=\"code-keyword\">var</span> isIE = navigator.userAgent.indexOf(<span class=\"code-string\">'Trident'</span>) !== <span class=\"code-number\">-1</span>;\n","\n"," <span class=\"code-keyword\">if</span> (isIE &amp;&amp; isHTMLElement(element)) {\n"," <span class=\"code-comment\">// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport</span>\n"," <span class=\"code-keyword\">var</span> elementCss = getComputedStyle(element);\n","\n"," <span class=\"code-keyword\">if</span> (elementCss.position === <span class=\"code-string\">'fixed'</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> currentNode = getParentNode(element);\n","\n"," <span class=\"code-keyword\">if</span> (isShadowRoot(currentNode)) {\n"," currentNode = currentNode.host;\n"," }\n","\n"," <span class=\"code-keyword\">while</span> (isHTMLElement(currentNode) &amp;&amp; [<span class=\"code-string\">'html'</span>, <span class=\"code-string\">'body'</span>].indexOf(getNodeName(currentNode)) &lt; <span class=\"code-number\">0</span>) {\n"," <span class=\"code-keyword\">var</span> css = getComputedStyle(currentNode); <span class=\"code-comment\">// This is non-exhaustive but covers the most common CSS properties that</span>\n"," <span class=\"code-comment\">// create a containing block.</span>\n"," <span class=\"code-comment\">// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block</span>\n","\n"," <span class=\"code-keyword\">if</span> (css.transform !== <span class=\"code-string\">'none'</span> || css.perspective !== <span class=\"code-string\">'none'</span> || css.contain === <span class=\"code-string\">'paint'</span> || [<span class=\"code-string\">'transform'</span>, <span class=\"code-string\">'perspective'</span>].indexOf(css.willChange) !== <span class=\"code-number\">-1</span> || isFirefox &amp;&amp; css.willChange === <span class=\"code-string\">'filter'</span> || isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== <span class=\"code-string\">'none'</span>) {\n"," <span class=\"code-keyword\">return</span> currentNode;\n"," } <span class=\"code-keyword\">else</span> {\n"," currentNode = currentNode.parentNode;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;\n"," } <span class=\"code-comment\">// Gets the closest ancestor positioned element. Handles some edge cases,</span>\n"," <span class=\"code-comment\">// such as table ancestors and cross browser bugs.</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getOffsetParent</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> <span class=\"code-built_in\">window</span> = getWindow(element);\n"," <span class=\"code-keyword\">var</span> offsetParent = getTrueOffsetParent(element);\n","\n"," <span class=\"code-keyword\">while</span> (offsetParent &amp;&amp; isTableElement(offsetParent) &amp;&amp; getComputedStyle(offsetParent).position === <span class=\"code-string\">'static'</span>) {\n"," offsetParent = getTrueOffsetParent(offsetParent);\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (offsetParent &amp;&amp; (getNodeName(offsetParent) === <span class=\"code-string\">'html'</span> || getNodeName(offsetParent) === <span class=\"code-string\">'body'</span> &amp;&amp; getComputedStyle(offsetParent).position === <span class=\"code-string\">'static'</span>)) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> offsetParent || getContainingBlock(element) || <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> top = <span class=\"code-string\">'top'</span>;\n"," <span class=\"code-keyword\">var</span> bottom = <span class=\"code-string\">'bottom'</span>;\n"," <span class=\"code-keyword\">var</span> right = <span class=\"code-string\">'right'</span>;\n"," <span class=\"code-keyword\">var</span> left = <span class=\"code-string\">'left'</span>;\n"," <span class=\"code-keyword\">var</span> auto = <span class=\"code-string\">'auto'</span>;\n"," <span class=\"code-keyword\">var</span> basePlacements = [top, bottom, right, left];\n"," <span class=\"code-keyword\">var</span> start = <span class=\"code-string\">'start'</span>;\n"," <span class=\"code-keyword\">var</span> end = <span class=\"code-string\">'end'</span>;\n"," <span class=\"code-keyword\">var</span> clippingParents = <span class=\"code-string\">'clippingParents'</span>;\n"," <span class=\"code-keyword\">var</span> viewport = <span class=\"code-string\">'viewport'</span>;\n"," <span class=\"code-keyword\">var</span> popper = <span class=\"code-string\">'popper'</span>;\n"," <span class=\"code-keyword\">var</span> reference = <span class=\"code-string\">'reference'</span>;\n","\n"," <span class=\"code-keyword\">var</span> beforeRead = <span class=\"code-string\">'beforeRead'</span>;\n"," <span class=\"code-keyword\">var</span> read = <span class=\"code-string\">'read'</span>;\n"," <span class=\"code-keyword\">var</span> afterRead = <span class=\"code-string\">'afterRead'</span>; <span class=\"code-comment\">// pure-logic modifiers</span>\n","\n"," <span class=\"code-keyword\">var</span> beforeMain = <span class=\"code-string\">'beforeMain'</span>;\n"," <span class=\"code-keyword\">var</span> main = <span class=\"code-string\">'main'</span>;\n"," <span class=\"code-keyword\">var</span> afterMain = <span class=\"code-string\">'afterMain'</span>; <span class=\"code-comment\">// modifier with the purpose to write to the DOM (or write into a framework state)</span>\n","\n"," <span class=\"code-keyword\">var</span> beforeWrite = <span class=\"code-string\">'beforeWrite'</span>;\n"," <span class=\"code-keyword\">var</span> write = <span class=\"code-string\">'write'</span>;\n"," <span class=\"code-keyword\">var</span> afterWrite = <span class=\"code-string\">'afterWrite'</span>;\n"," <span class=\"code-keyword\">var</span> modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">order</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," <span class=\"code-keyword\">var</span> map = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Map</span>();\n"," <span class=\"code-keyword\">var</span> visited = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Set</span>();\n"," <span class=\"code-keyword\">var</span> result = [];\n"," modifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," map.set(modifier.name, modifier);\n"," }); <span class=\"code-comment\">// On visiting object, check for its dependencies and visit them recursively</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">sort</span>(<span class=\"code-params\">modifier</span>) </span>{\n"," visited.add(modifier.name);\n"," <span class=\"code-keyword\">var</span> requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n"," requires.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">dep</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!visited.has(dep)) {\n"," <span class=\"code-keyword\">var</span> depModifier = map.get(dep);\n","\n"," <span class=\"code-keyword\">if</span> (depModifier) {\n"," sort(depModifier);\n"," }\n"," }\n"," });\n"," result.push(modifier);\n"," }\n","\n"," modifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!visited.has(modifier.name)) {\n"," <span class=\"code-comment\">// check for visited object</span>\n"," sort(modifier);\n"," }\n"," });\n"," <span class=\"code-keyword\">return</span> result;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">orderModifiers</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," <span class=\"code-comment\">// order based on dependencies</span>\n"," <span class=\"code-keyword\">var</span> orderedModifiers = order(modifiers); <span class=\"code-comment\">// order based on phase</span>\n","\n"," <span class=\"code-keyword\">return</span> modifierPhases.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">acc, phase</span>) </span>{\n"," <span class=\"code-keyword\">return</span> acc.concat(orderedModifiers.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," <span class=\"code-keyword\">return</span> modifier.phase === phase;\n"," }));\n"," }, []);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">debounce</span>(<span class=\"code-params\">fn</span>) </span>{\n"," <span class=\"code-keyword\">var</span> pending;\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!pending) {\n"," pending = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">resolve</span>) </span>{\n"," <span class=\"code-built_in\">Promise</span>.resolve().then(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," pending = <span class=\"code-literal\">undefined</span>;\n"," resolve(fn());\n"," });\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">return</span> pending;\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">format</span>(<span class=\"code-params\">str</span>) </span>{\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> _len = <span class=\"code-built_in\">arguments</span>.length, args = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Array</span>(_len &gt; <span class=\"code-number\">1</span> ? _len - <span class=\"code-number\">1</span> : <span class=\"code-number\">0</span>), _key = <span class=\"code-number\">1</span>; _key &lt; _len; _key++) {\n"," args[_key - <span class=\"code-number\">1</span>] = <span class=\"code-built_in\">arguments</span>[_key];\n"," }\n","\n"," <span class=\"code-keyword\">return</span> [].concat(args).reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">p, c</span>) </span>{\n"," <span class=\"code-keyword\">return</span> p.replace(<span class=\"code-regexp\">/%s/</span>, c);\n"," }, str);\n"," }\n","\n"," <span class=\"code-keyword\">var</span> INVALID_MODIFIER_ERROR = <span class=\"code-string\">'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s'</span>;\n"," <span class=\"code-keyword\">var</span> MISSING_DEPENDENCY_ERROR = <span class=\"code-string\">'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available'</span>;\n"," <span class=\"code-keyword\">var</span> VALID_PROPERTIES = [<span class=\"code-string\">'name'</span>, <span class=\"code-string\">'enabled'</span>, <span class=\"code-string\">'phase'</span>, <span class=\"code-string\">'fn'</span>, <span class=\"code-string\">'effect'</span>, <span class=\"code-string\">'requires'</span>, <span class=\"code-string\">'options'</span>];\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">validateModifiers</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," modifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," [].concat(<span class=\"code-built_in\">Object</span>.keys(modifier), VALID_PROPERTIES) <span class=\"code-comment\">// IE11-compatible replacement for `new Set(iterable)`</span>\n"," .filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">value, index, self</span>) </span>{\n"," <span class=\"code-keyword\">return</span> self.indexOf(value) === index;\n"," }).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">key</span>) </span>{\n"," <span class=\"code-keyword\">switch</span> (key) {\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'name'</span>:\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> modifier.name !== <span class=\"code-string\">'string'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, <span class=\"code-built_in\">String</span>(modifier.name), <span class=\"code-string\">'\"name\"'</span>, <span class=\"code-string\">'\"string\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.name) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'enabled'</span>:\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> modifier.enabled !== <span class=\"code-string\">'boolean'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"enabled\"'</span>, <span class=\"code-string\">'\"boolean\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.enabled) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'phase'</span>:\n"," <span class=\"code-keyword\">if</span> (modifierPhases.indexOf(modifier.phase) &lt; <span class=\"code-number\">0</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"phase\"'</span>, <span class=\"code-string\">\"either \"</span> + modifierPhases.join(<span class=\"code-string\">', '</span>), <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.phase) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'fn'</span>:\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> modifier.fn !== <span class=\"code-string\">'function'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"fn\"'</span>, <span class=\"code-string\">'\"function\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.fn) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'effect'</span>:\n"," <span class=\"code-keyword\">if</span> (modifier.effect != <span class=\"code-literal\">null</span> &amp;&amp; <span class=\"code-keyword\">typeof</span> modifier.effect !== <span class=\"code-string\">'function'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"effect\"'</span>, <span class=\"code-string\">'\"function\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.fn) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'requires'</span>:\n"," <span class=\"code-keyword\">if</span> (modifier.requires != <span class=\"code-literal\">null</span> &amp;&amp; !<span class=\"code-built_in\">Array</span>.isArray(modifier.requires)) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"requires\"'</span>, <span class=\"code-string\">'\"array\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.requires) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'requiresIfExists'</span>:\n"," <span class=\"code-keyword\">if</span> (!<span class=\"code-built_in\">Array</span>.isArray(modifier.requiresIfExists)) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"requiresIfExists\"'</span>, <span class=\"code-string\">'\"array\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.requiresIfExists) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'options'</span>:\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'data'</span>:\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">default</span>:\n"," <span class=\"code-built_in\">console</span>.error(<span class=\"code-string\">\"PopperJS: an invalid property has been provided to the \\\"\"</span> + modifier.name + <span class=\"code-string\">\"\\\" modifier, valid properties are \"</span> + VALID_PROPERTIES.map(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">s</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-string\">\"\\\"\"</span> + s + <span class=\"code-string\">\"\\\"\"</span>;\n"," }).join(<span class=\"code-string\">', '</span>) + <span class=\"code-string\">\"; but \\\"\"</span> + key + <span class=\"code-string\">\"\\\" was provided.\"</span>);\n"," }\n","\n"," modifier.requires &amp;&amp; modifier.requires.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">requirement</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (modifiers.find(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">mod</span>) </span>{\n"," <span class=\"code-keyword\">return</span> mod.name === requirement;\n"," }) == <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(MISSING_DEPENDENCY_ERROR, <span class=\"code-built_in\">String</span>(modifier.name), requirement, requirement));\n"," }\n"," });\n"," });\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">uniqueBy</span>(<span class=\"code-params\">arr, fn</span>) </span>{\n"," <span class=\"code-keyword\">var</span> identifiers = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Set</span>();\n"," <span class=\"code-keyword\">return</span> arr.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">item</span>) </span>{\n"," <span class=\"code-keyword\">var</span> identifier = fn(item);\n","\n"," <span class=\"code-keyword\">if</span> (!identifiers.has(identifier)) {\n"," identifiers.add(identifier);\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">true</span>;\n"," }\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getBasePlacement</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> placement.split(<span class=\"code-string\">'-'</span>)[<span class=\"code-number\">0</span>];\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">mergeByName</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," <span class=\"code-keyword\">var</span> merged = modifiers.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">merged, current</span>) </span>{\n"," <span class=\"code-keyword\">var</span> existing = merged[current.name];\n"," merged[current.name] = existing ? <span class=\"code-built_in\">Object</span>.assign({}, existing, current, {\n"," options: <span class=\"code-built_in\">Object</span>.assign({}, existing.options, current.options),\n"," data: <span class=\"code-built_in\">Object</span>.assign({}, existing.data, current.data)\n"," }) : current;\n"," <span class=\"code-keyword\">return</span> merged;\n"," }, {}); <span class=\"code-comment\">// IE11 does not support Object.values</span>\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.keys(merged).map(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">key</span>) </span>{\n"," <span class=\"code-keyword\">return</span> merged[key];\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getViewportRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> win = getWindow(element);\n"," <span class=\"code-keyword\">var</span> html = getDocumentElement(element);\n"," <span class=\"code-keyword\">var</span> visualViewport = win.visualViewport;\n"," <span class=\"code-keyword\">var</span> width = html.clientWidth;\n"," <span class=\"code-keyword\">var</span> height = html.clientHeight;\n"," <span class=\"code-keyword\">var</span> x = <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> y = <span class=\"code-number\">0</span>; <span class=\"code-comment\">// NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper</span>\n"," <span class=\"code-comment\">// can be obscured underneath it.</span>\n"," <span class=\"code-comment\">// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even</span>\n"," <span class=\"code-comment\">// if it isn't open, so if this isn't available, the popper will be detected</span>\n"," <span class=\"code-comment\">// to overflow the bottom of the screen too early.</span>\n","\n"," <span class=\"code-keyword\">if</span> (visualViewport) {\n"," width = visualViewport.width;\n"," height = visualViewport.height; <span class=\"code-comment\">// Uses Layout Viewport (like Chrome; Safari does not currently)</span>\n"," <span class=\"code-comment\">// In Chrome, it returns a value very close to 0 (+/-) but contains rounding</span>\n"," <span class=\"code-comment\">// errors due to floating point numbers, so we need to check precision.</span>\n"," <span class=\"code-comment\">// Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed</span>\n"," <span class=\"code-comment\">// Feature detection fails in mobile emulation mode in Chrome.</span>\n"," <span class=\"code-comment\">// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;</span>\n"," <span class=\"code-comment\">// 0.001</span>\n"," <span class=\"code-comment\">// Fallback here: \"Not Safari\" userAgent</span>\n","\n"," <span class=\"code-keyword\">if</span> (!<span class=\"code-regexp\">/^((?!chrome|android).)*safari/i</span>.test(navigator.userAgent)) {\n"," x = visualViewport.offsetLeft;\n"," y = visualViewport.offsetTop;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," width: width,\n"," height: height,\n"," x: x + getWindowScrollBarX(element),\n"," y: y\n"," };\n"," }\n","\n"," <span class=\"code-comment\">// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getDocumentRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> _element$ownerDocumen;\n","\n"," <span class=\"code-keyword\">var</span> html = getDocumentElement(element);\n"," <span class=\"code-keyword\">var</span> winScroll = getWindowScroll(element);\n"," <span class=\"code-keyword\">var</span> body = (_element$ownerDocumen = element.ownerDocument) == <span class=\"code-literal\">null</span> ? <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> : _element$ownerDocumen.body;\n"," <span class=\"code-keyword\">var</span> width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : <span class=\"code-number\">0</span>, body ? body.clientWidth : <span class=\"code-number\">0</span>);\n"," <span class=\"code-keyword\">var</span> height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : <span class=\"code-number\">0</span>, body ? body.clientHeight : <span class=\"code-number\">0</span>);\n"," <span class=\"code-keyword\">var</span> x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n"," <span class=\"code-keyword\">var</span> y = -winScroll.scrollTop;\n","\n"," <span class=\"code-keyword\">if</span> (getComputedStyle(body || html).direction === <span class=\"code-string\">'rtl'</span>) {\n"," x += max(html.clientWidth, body ? body.clientWidth : <span class=\"code-number\">0</span>) - width;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," width: width,\n"," height: height,\n"," x: x,\n"," y: y\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">contains</span>(<span class=\"code-params\">parent, child</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rootNode = child.getRootNode &amp;&amp; child.getRootNode(); <span class=\"code-comment\">// First, attempt with faster native method</span>\n","\n"," <span class=\"code-keyword\">if</span> (parent.contains(child)) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">true</span>;\n"," } <span class=\"code-comment\">// then fallback to custom implementation with Shadow DOM support</span>\n"," <span class=\"code-keyword\">else</span> <span class=\"code-keyword\">if</span> (rootNode &amp;&amp; isShadowRoot(rootNode)) {\n"," <span class=\"code-keyword\">var</span> next = child;\n","\n"," <span class=\"code-keyword\">do</span> {\n"," <span class=\"code-keyword\">if</span> (next &amp;&amp; parent.isSameNode(next)) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">true</span>;\n"," } <span class=\"code-comment\">// $FlowFixMe[prop-missing]: need a better way to handle this...</span>\n","\n","\n"," next = next.parentNode || next.host;\n"," } <span class=\"code-keyword\">while</span> (next);\n"," } <span class=\"code-comment\">// Give up, the result is false</span>\n","\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">rectToClientRect</span>(<span class=\"code-params\">rect</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, rect, {\n"," left: rect.x,\n"," top: rect.y,\n"," right: rect.x + rect.width,\n"," bottom: rect.y + rect.height\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getInnerBoundingClientRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rect = getBoundingClientRect(element);\n"," rect.top = rect.top + element.clientTop;\n"," rect.left = rect.left + element.clientLeft;\n"," rect.bottom = rect.top + element.clientHeight;\n"," rect.right = rect.left + element.clientWidth;\n"," rect.width = element.clientWidth;\n"," rect.height = element.clientHeight;\n"," rect.x = rect.left;\n"," rect.y = rect.top;\n"," <span class=\"code-keyword\">return</span> rect;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getClientRectFromMixedType</span>(<span class=\"code-params\">element, clippingParent</span>) </span>{\n"," <span class=\"code-keyword\">return</span> clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n"," } <span class=\"code-comment\">// A \"clipping parent\" is an overflowable container with the characteristic of</span>\n"," <span class=\"code-comment\">// clipping (or hiding) overflowing elements with a position different from</span>\n"," <span class=\"code-comment\">// `initial`</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getClippingParents</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> clippingParents = listScrollParents(getParentNode(element));\n"," <span class=\"code-keyword\">var</span> canEscapeClipping = [<span class=\"code-string\">'absolute'</span>, <span class=\"code-string\">'fixed'</span>].indexOf(getComputedStyle(element).position) &gt;= <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> clipperElement = canEscapeClipping &amp;&amp; isHTMLElement(element) ? getOffsetParent(element) : element;\n","\n"," <span class=\"code-keyword\">if</span> (!isElement(clipperElement)) {\n"," <span class=\"code-keyword\">return</span> [];\n"," } <span class=\"code-comment\">// $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414</span>\n","\n","\n"," <span class=\"code-keyword\">return</span> clippingParents.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">clippingParent</span>) </span>{\n"," <span class=\"code-keyword\">return</span> isElement(clippingParent) &amp;&amp; contains(clippingParent, clipperElement) &amp;&amp; getNodeName(clippingParent) !== <span class=\"code-string\">'body'</span>;\n"," });\n"," } <span class=\"code-comment\">// Gets the maximum area that the element is visible in due to any number of</span>\n"," <span class=\"code-comment\">// clipping parents</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getClippingRect</span>(<span class=\"code-params\">element, boundary, rootBoundary</span>) </span>{\n"," <span class=\"code-keyword\">var</span> mainClippingParents = boundary === <span class=\"code-string\">'clippingParents'</span> ? getClippingParents(element) : [].concat(boundary);\n"," <span class=\"code-keyword\">var</span> clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n"," <span class=\"code-keyword\">var</span> firstClippingParent = clippingParents[<span class=\"code-number\">0</span>];\n"," <span class=\"code-keyword\">var</span> clippingRect = clippingParents.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">accRect, clippingParent</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rect = getClientRectFromMixedType(element, clippingParent);\n"," accRect.top = max(rect.top, accRect.top);\n"," accRect.right = min(rect.right, accRect.right);\n"," accRect.bottom = min(rect.bottom, accRect.bottom);\n"," accRect.left = max(rect.left, accRect.left);\n"," <span class=\"code-keyword\">return</span> accRect;\n"," }, getClientRectFromMixedType(element, firstClippingParent));\n"," clippingRect.width = clippingRect.right - clippingRect.left;\n"," clippingRect.height = clippingRect.bottom - clippingRect.top;\n"," clippingRect.x = clippingRect.left;\n"," clippingRect.y = clippingRect.top;\n"," <span class=\"code-keyword\">return</span> clippingRect;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getVariation</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> placement.split(<span class=\"code-string\">'-'</span>)[<span class=\"code-number\">1</span>];\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getMainAxisFromPlacement</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> [<span class=\"code-string\">'top'</span>, <span class=\"code-string\">'bottom'</span>].indexOf(placement) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-string\">'x'</span> : <span class=\"code-string\">'y'</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">computeOffsets</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> reference = _ref.reference,\n"," element = _ref.element,\n"," placement = _ref.placement;\n"," <span class=\"code-keyword\">var</span> basePlacement = placement ? getBasePlacement(placement) : <span class=\"code-literal\">null</span>;\n"," <span class=\"code-keyword\">var</span> variation = placement ? getVariation(placement) : <span class=\"code-literal\">null</span>;\n"," <span class=\"code-keyword\">var</span> commonX = reference.x + reference.width / <span class=\"code-number\">2</span> - element.width / <span class=\"code-number\">2</span>;\n"," <span class=\"code-keyword\">var</span> commonY = reference.y + reference.height / <span class=\"code-number\">2</span> - element.height / <span class=\"code-number\">2</span>;\n"," <span class=\"code-keyword\">var</span> offsets;\n","\n"," <span class=\"code-keyword\">switch</span> (basePlacement) {\n"," <span class=\"code-keyword\">case</span> top:\n"," offsets = {\n"," x: commonX,\n"," y: reference.y - element.height\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> bottom:\n"," offsets = {\n"," x: commonX,\n"," y: reference.y + reference.height\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> right:\n"," offsets = {\n"," x: reference.x + reference.width,\n"," y: commonY\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> left:\n"," offsets = {\n"," x: reference.x - element.width,\n"," y: commonY\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">default</span>:\n"," offsets = {\n"," x: reference.x,\n"," y: reference.y\n"," };\n"," }\n","\n"," <span class=\"code-keyword\">var</span> mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : <span class=\"code-literal\">null</span>;\n","\n"," <span class=\"code-keyword\">if</span> (mainAxis != <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-keyword\">var</span> len = mainAxis === <span class=\"code-string\">'y'</span> ? <span class=\"code-string\">'height'</span> : <span class=\"code-string\">'width'</span>;\n","\n"," <span class=\"code-keyword\">switch</span> (variation) {\n"," <span class=\"code-keyword\">case</span> start:\n"," offsets[mainAxis] = offsets[mainAxis] - (reference[len] / <span class=\"code-number\">2</span> - element[len] / <span class=\"code-number\">2</span>);\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> end:\n"," offsets[mainAxis] = offsets[mainAxis] + (reference[len] / <span class=\"code-number\">2</span> - element[len] / <span class=\"code-number\">2</span>);\n"," <span class=\"code-keyword\">break</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> offsets;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getFreshSideObject</span>(<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">return</span> {\n"," top: <span class=\"code-number\">0</span>,\n"," right: <span class=\"code-number\">0</span>,\n"," bottom: <span class=\"code-number\">0</span>,\n"," left: <span class=\"code-number\">0</span>\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">mergePaddingObject</span>(<span class=\"code-params\">paddingObject</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, getFreshSideObject(), paddingObject);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">expandToHashMap</span>(<span class=\"code-params\">value, keys</span>) </span>{\n"," <span class=\"code-keyword\">return</span> keys.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">hashMap, key</span>) </span>{\n"," hashMap[key] = value;\n"," <span class=\"code-keyword\">return</span> hashMap;\n"," }, {});\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">detectOverflow</span>(<span class=\"code-params\">state, options</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," options = {};\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _options = options,\n"," _options$placement = _options.placement,\n"," placement = _options$placement === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? state.placement : _options$placement,\n"," _options$boundary = _options.boundary,\n"," boundary = _options$boundary === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? clippingParents : _options$boundary,\n"," _options$rootBoundary = _options.rootBoundary,\n"," rootBoundary = _options$rootBoundary === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? viewport : _options$rootBoundary,\n"," _options$elementConte = _options.elementContext,\n"," elementContext = _options$elementConte === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? popper : _options$elementConte,\n"," _options$altBoundary = _options.altBoundary,\n"," altBoundary = _options$altBoundary === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">false</span> : _options$altBoundary,\n"," _options$padding = _options.padding,\n"," padding = _options$padding === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-number\">0</span> : _options$padding;\n"," <span class=\"code-keyword\">var</span> paddingObject = mergePaddingObject(<span class=\"code-keyword\">typeof</span> padding !== <span class=\"code-string\">'number'</span> ? padding : expandToHashMap(padding, basePlacements));\n"," <span class=\"code-keyword\">var</span> altContext = elementContext === popper ? reference : popper;\n"," <span class=\"code-keyword\">var</span> popperRect = state.rects.popper;\n"," <span class=\"code-keyword\">var</span> element = state.elements[altBoundary ? altContext : elementContext];\n"," <span class=\"code-keyword\">var</span> clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);\n"," <span class=\"code-keyword\">var</span> referenceClientRect = getBoundingClientRect(state.elements.reference);\n"," <span class=\"code-keyword\">var</span> popperOffsets = computeOffsets({\n"," reference: referenceClientRect,\n"," element: popperRect,\n"," strategy: <span class=\"code-string\">'absolute'</span>,\n"," placement: placement\n"," });\n"," <span class=\"code-keyword\">var</span> popperClientRect = rectToClientRect(<span class=\"code-built_in\">Object</span>.assign({}, popperRect, popperOffsets));\n"," <span class=\"code-keyword\">var</span> elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; <span class=\"code-comment\">// positive = overflowing the clipping rect</span>\n"," <span class=\"code-comment\">// 0 or negative = within the clipping rect</span>\n","\n"," <span class=\"code-keyword\">var</span> overflowOffsets = {\n"," top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n"," bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n"," left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n"," right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n"," };\n"," <span class=\"code-keyword\">var</span> offsetData = state.modifiersData.offset; <span class=\"code-comment\">// Offsets can be applied only to the popper element</span>\n","\n"," <span class=\"code-keyword\">if</span> (elementContext === popper &amp;&amp; offsetData) {\n"," <span class=\"code-keyword\">var</span> offset = offsetData[placement];\n"," <span class=\"code-built_in\">Object</span>.keys(overflowOffsets).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">key</span>) </span>{\n"," <span class=\"code-keyword\">var</span> multiply = [right, bottom].indexOf(key) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-number\">1</span> : <span class=\"code-number\">-1</span>;\n"," <span class=\"code-keyword\">var</span> axis = [top, bottom].indexOf(key) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-string\">'y'</span> : <span class=\"code-string\">'x'</span>;\n"," overflowOffsets[key] += offset[axis] * multiply;\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">return</span> overflowOffsets;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> INVALID_ELEMENT_ERROR = <span class=\"code-string\">'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'</span>;\n"," <span class=\"code-keyword\">var</span> INFINITE_LOOP_ERROR = <span class=\"code-string\">'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.'</span>;\n"," <span class=\"code-keyword\">var</span> DEFAULT_OPTIONS = {\n"," placement: <span class=\"code-string\">'bottom'</span>,\n"," modifiers: [],\n"," strategy: <span class=\"code-string\">'absolute'</span>\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">areValidElements</span>(<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> _len = <span class=\"code-built_in\">arguments</span>.length, args = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Array</span>(_len), _key = <span class=\"code-number\">0</span>; _key &lt; _len; _key++) {\n"," args[_key] = <span class=\"code-built_in\">arguments</span>[_key];\n"," }\n","\n"," <span class=\"code-keyword\">return</span> !args.some(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> !(element &amp;&amp; <span class=\"code-keyword\">typeof</span> element.getBoundingClientRect === <span class=\"code-string\">'function'</span>);\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">popperGenerator</span>(<span class=\"code-params\">generatorOptions</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (generatorOptions === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," generatorOptions = {};\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _generatorOptions = generatorOptions,\n"," _generatorOptions$def = _generatorOptions.defaultModifiers,\n"," defaultModifiers = _generatorOptions$def === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? [] : _generatorOptions$def,\n"," _generatorOptions$def2 = _generatorOptions.defaultOptions,\n"," defaultOptions = _generatorOptions$def2 === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? DEFAULT_OPTIONS : _generatorOptions$def2;\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">createPopper</span>(<span class=\"code-params\">reference, popper, options</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," options = defaultOptions;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> state = {\n"," placement: <span class=\"code-string\">'bottom'</span>,\n"," orderedModifiers: [],\n"," options: <span class=\"code-built_in\">Object</span>.assign({}, DEFAULT_OPTIONS, defaultOptions),\n"," modifiersData: {},\n"," elements: {\n"," reference: reference,\n"," popper: popper\n"," },\n"," attributes: {},\n"," styles: {}\n"," };\n"," <span class=\"code-keyword\">var</span> effectCleanupFns = [];\n"," <span class=\"code-keyword\">var</span> isDestroyed = <span class=\"code-literal\">false</span>;\n"," <span class=\"code-keyword\">var</span> instance = {\n"," state: state,\n"," setOptions: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">setOptions</span>(<span class=\"code-params\">setOptionsAction</span>) </span>{\n"," <span class=\"code-keyword\">var</span> options = <span class=\"code-keyword\">typeof</span> setOptionsAction === <span class=\"code-string\">'function'</span> ? setOptionsAction(state.options) : setOptionsAction;\n"," cleanupModifierEffects();\n"," state.options = <span class=\"code-built_in\">Object</span>.assign({}, defaultOptions, state.options, options);\n"," state.scrollParents = {\n"," reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n"," popper: listScrollParents(popper)\n"," }; <span class=\"code-comment\">// Orders the modifiers based on their dependencies and `phase`</span>\n"," <span class=\"code-comment\">// properties</span>\n","\n"," <span class=\"code-keyword\">var</span> orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); <span class=\"code-comment\">// Strip out disabled modifiers</span>\n","\n"," state.orderedModifiers = orderedModifiers.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">m</span>) </span>{\n"," <span class=\"code-keyword\">return</span> m.enabled;\n"," }); <span class=\"code-comment\">// Validate the provided modifiers so that the consumer will get warned</span>\n"," <span class=\"code-comment\">// if one of the modifiers is invalid for any reason</span>\n","\n"," {\n"," <span class=\"code-keyword\">var</span> modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> name = _ref.name;\n"," <span class=\"code-keyword\">return</span> name;\n"," });\n"," validateModifiers(modifiers);\n","\n"," <span class=\"code-keyword\">if</span> (getBasePlacement(state.options.placement) === auto) {\n"," <span class=\"code-keyword\">var</span> flipModifier = state.orderedModifiers.find(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">_ref2</span>) </span>{\n"," <span class=\"code-keyword\">var</span> name = _ref2.name;\n"," <span class=\"code-keyword\">return</span> name === <span class=\"code-string\">'flip'</span>;\n"," });\n","\n"," <span class=\"code-keyword\">if</span> (!flipModifier) {\n"," <span class=\"code-built_in\">console</span>.error([<span class=\"code-string\">'Popper: \"auto\" placements require the \"flip\" modifier be'</span>, <span class=\"code-string\">'present and enabled to work.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _getComputedStyle = getComputedStyle(popper),\n"," marginTop = _getComputedStyle.marginTop,\n"," marginRight = _getComputedStyle.marginRight,\n"," marginBottom = _getComputedStyle.marginBottom,\n"," marginLeft = _getComputedStyle.marginLeft; <span class=\"code-comment\">// We no longer take into account `margins` on the popper, and it can</span>\n"," <span class=\"code-comment\">// cause bugs with positioning, so we'll warn the consumer</span>\n","\n","\n"," <span class=\"code-keyword\">if</span> ([marginTop, marginRight, marginBottom, marginLeft].some(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">margin</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">parseFloat</span>(margin);\n"," })) {\n"," <span class=\"code-built_in\">console</span>.warn([<span class=\"code-string\">'Popper: CSS \"margin\" styles cannot be used to apply padding'</span>, <span class=\"code-string\">'between the popper and its reference element or boundary.'</span>, <span class=\"code-string\">'To replicate margin, use the `offset` modifier, as well as'</span>, <span class=\"code-string\">'the `padding` option in the `preventOverflow` and `flip`'</span>, <span class=\"code-string\">'modifiers.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," }\n","\n"," runModifierEffects();\n"," <span class=\"code-keyword\">return</span> instance.update();\n"," },\n"," <span class=\"code-comment\">// Sync update \u2013 it will always be executed, even if not necessary. This</span>\n"," <span class=\"code-comment\">// is useful for low frequency updates where sync behavior simplifies the</span>\n"," <span class=\"code-comment\">// logic.</span>\n"," <span class=\"code-comment\">// For high frequency updates (e.g. `resize` and `scroll` events), always</span>\n"," <span class=\"code-comment\">// prefer the async Popper#update method</span>\n"," forceUpdate: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">forceUpdate</span>(<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">if</span> (isDestroyed) {\n"," <span class=\"code-keyword\">return</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _state$elements = state.elements,\n"," reference = _state$elements.reference,\n"," popper = _state$elements.popper; <span class=\"code-comment\">// Don't proceed if `reference` or `popper` are not valid elements</span>\n"," <span class=\"code-comment\">// anymore</span>\n","\n"," <span class=\"code-keyword\">if</span> (!areValidElements(reference, popper)) {\n"," {\n"," <span class=\"code-built_in\">console</span>.error(INVALID_ELEMENT_ERROR);\n"," }\n","\n"," <span class=\"code-keyword\">return</span>;\n"," } <span class=\"code-comment\">// Store the reference and popper rects to be read by modifiers</span>\n","\n","\n"," state.rects = {\n"," reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === <span class=\"code-string\">'fixed'</span>),\n"," popper: getLayoutRect(popper)\n"," }; <span class=\"code-comment\">// Modifiers have the ability to reset the current update cycle. The</span>\n"," <span class=\"code-comment\">// most common use case for this is the `flip` modifier changing the</span>\n"," <span class=\"code-comment\">// placement, which then needs to re-run all the modifiers, because the</span>\n"," <span class=\"code-comment\">// logic was previously ran for the previous placement and is therefore</span>\n"," <span class=\"code-comment\">// stale/incorrect</span>\n","\n"," state.reset = <span class=\"code-literal\">false</span>;\n"," state.placement = state.options.placement; <span class=\"code-comment\">// On each update cycle, the `modifiersData` property for each modifier</span>\n"," <span class=\"code-comment\">// is filled with the initial data specified by the modifier. This means</span>\n"," <span class=\"code-comment\">// it doesn't persist and is fresh on each update.</span>\n"," <span class=\"code-comment\">// To ensure persistent data, use `${name}#persistent`</span>\n","\n"," state.orderedModifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," <span class=\"code-keyword\">return</span> state.modifiersData[modifier.name] = <span class=\"code-built_in\">Object</span>.assign({}, modifier.data);\n"," });\n"," <span class=\"code-keyword\">var</span> __debug_loops__ = <span class=\"code-number\">0</span>;\n","\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> index = <span class=\"code-number\">0</span>; index &lt; state.orderedModifiers.length; index++) {\n"," {\n"," __debug_loops__ += <span class=\"code-number\">1</span>;\n","\n"," <span class=\"code-keyword\">if</span> (__debug_loops__ &gt; <span class=\"code-number\">100</span>) {\n"," <span class=\"code-built_in\">console</span>.error(INFINITE_LOOP_ERROR);\n"," <span class=\"code-keyword\">break</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (state.reset === <span class=\"code-literal\">true</span>) {\n"," state.reset = <span class=\"code-literal\">false</span>;\n"," index = <span class=\"code-number\">-1</span>;\n"," <span class=\"code-keyword\">continue</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _state$orderedModifie = state.orderedModifiers[index],\n"," fn = _state$orderedModifie.fn,\n"," _state$orderedModifie2 = _state$orderedModifie.options,\n"," _options = _state$orderedModifie2 === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? {} : _state$orderedModifie2,\n"," name = _state$orderedModifie.name;\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> fn === <span class=\"code-string\">'function'</span>) {\n"," state = fn({\n"," state: state,\n"," options: _options,\n"," name: name,\n"," instance: instance\n"," }) || state;\n"," }\n"," }\n"," },\n"," <span class=\"code-comment\">// Async and optimistically optimized update \u2013 it will not be executed if</span>\n"," <span class=\"code-comment\">// not necessary (debounced to run at most once-per-tick)</span>\n"," update: debounce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">resolve</span>) </span>{\n"," instance.forceUpdate();\n"," resolve(state);\n"," });\n"," }),\n"," destroy: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">destroy</span>(<span class=\"code-params\"></span>) </span>{\n"," cleanupModifierEffects();\n"," isDestroyed = <span class=\"code-literal\">true</span>;\n"," }\n"," };\n","\n"," <span class=\"code-keyword\">if</span> (!areValidElements(reference, popper)) {\n"," {\n"," <span class=\"code-built_in\">console</span>.error(INVALID_ELEMENT_ERROR);\n"," }\n","\n"," <span class=\"code-keyword\">return</span> instance;\n"," }\n","\n"," instance.setOptions(options).then(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">state</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!isDestroyed &amp;&amp; options.onFirstUpdate) {\n"," options.onFirstUpdate(state);\n"," }\n"," }); <span class=\"code-comment\">// Modifiers have the ability to execute arbitrary code before the first</span>\n"," <span class=\"code-comment\">// update cycle runs. They will be executed in the same order as the update</span>\n"," <span class=\"code-comment\">// cycle. This is useful when a modifier adds some persistent data that</span>\n"," <span class=\"code-comment\">// other modifiers need to use, but the modifier is run after the dependent</span>\n"," <span class=\"code-comment\">// one.</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">runModifierEffects</span>(<span class=\"code-params\"></span>) </span>{\n"," state.orderedModifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">_ref3</span>) </span>{\n"," <span class=\"code-keyword\">var</span> name = _ref3.name,\n"," _ref3$options = _ref3.options,\n"," options = _ref3$options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? {} : _ref3$options,\n"," effect = _ref3.effect;\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> effect === <span class=\"code-string\">'function'</span>) {\n"," <span class=\"code-keyword\">var</span> cleanupFn = effect({\n"," state: state,\n"," name: name,\n"," instance: instance,\n"," options: options\n"," });\n","\n"," <span class=\"code-keyword\">var</span> noopFn = <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">noopFn</span>(<span class=\"code-params\"></span>) </span>{};\n","\n"," effectCleanupFns.push(cleanupFn || noopFn);\n"," }\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">cleanupModifierEffects</span>(<span class=\"code-params\"></span>) </span>{\n"," effectCleanupFns.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">fn</span>) </span>{\n"," <span class=\"code-keyword\">return</span> fn();\n"," });\n"," effectCleanupFns = [];\n"," }\n","\n"," <span class=\"code-keyword\">return</span> instance;\n"," };\n"," }\n"," <span class=\"code-keyword\">var</span> createPopper = <span class=\"code-comment\">/*#__PURE__*/</span>popperGenerator(); <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n"," exports.createPopper = createPopper;\n"," exports.detectOverflow = detectOverflow;\n"," exports.popperGenerator = popperGenerator;\n","\n"," <span class=\"code-built_in\">Object</span>.defineProperty(exports, <span class=\"code-string\">'__esModule'</span>, { <span class=\"code-attr\">value</span>: <span class=\"code-literal\">true</span> });\n","\n","})));\n","<span class=\"code-comment\">//# sourceMappingURL=popper-base.js.map</span>\n",""]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-base.js</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>38.6 kB</span><span>JavaScript</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-base.js" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code><span class="code-comment">/**
+</span></code></td></tr><tr><td id="L2" class="css-a4x74f"><span>2</span></td><td id="LC2" class="css-1dcdqdg"><code><span class="code-comment"> * @popperjs/core v2.11.5 - MIT License
+</span></code></td></tr><tr><td id="L3" class="css-a4x74f"><span>3</span></td><td id="LC3" class="css-1dcdqdg"><code><span class="code-comment"> */</span>
+</code></td></tr><tr><td id="L4" class="css-a4x74f"><span>4</span></td><td id="LC4" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L5" class="css-a4x74f"><span>5</span></td><td id="LC5" class="css-1dcdqdg"><code>(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">global, factory</span>) </span>{
+</code></td></tr><tr><td id="L6" class="css-a4x74f"><span>6</span></td><td id="LC6" class="css-1dcdqdg"><code> <span class="code-keyword">typeof</span> exports === <span class="code-string">'object'</span> &amp;&amp; <span class="code-keyword">typeof</span> <span class="code-built_in">module</span> !== <span class="code-string">'undefined'</span> ? factory(exports) :
+</code></td></tr><tr><td id="L7" class="css-a4x74f"><span>7</span></td><td id="LC7" class="css-1dcdqdg"><code> <span class="code-keyword">typeof</span> define === <span class="code-string">'function'</span> &amp;&amp; define.amd ? define([<span class="code-string">'exports'</span>], factory) :
+</code></td></tr><tr><td id="L8" class="css-a4x74f"><span>8</span></td><td id="LC8" class="css-1dcdqdg"><code> (global = <span class="code-keyword">typeof</span> globalThis !== <span class="code-string">'undefined'</span> ? globalThis : global || self, factory(global.Popper = {}));
+</code></td></tr><tr><td id="L9" class="css-a4x74f"><span>9</span></td><td id="LC9" class="css-1dcdqdg"><code>}(<span class="code-keyword">this</span>, (<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">exports</span>) </span>{ <span class="code-string">'use strict'</span>;
+</code></td></tr><tr><td id="L10" class="css-a4x74f"><span>10</span></td><td id="LC10" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L11" class="css-a4x74f"><span>11</span></td><td id="LC11" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getWindow</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L12" class="css-a4x74f"><span>12</span></td><td id="LC12" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (node == <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L13" class="css-a4x74f"><span>13</span></td><td id="LC13" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L14" class="css-a4x74f"><span>14</span></td><td id="LC14" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L15" class="css-a4x74f"><span>15</span></td><td id="LC15" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L16" class="css-a4x74f"><span>16</span></td><td id="LC16" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (node.toString() !== <span class="code-string">'[object Window]'</span>) {
+</code></td></tr><tr><td id="L17" class="css-a4x74f"><span>17</span></td><td id="LC17" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> ownerDocument = node.ownerDocument;
+</code></td></tr><tr><td id="L18" class="css-a4x74f"><span>18</span></td><td id="LC18" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> ownerDocument ? ownerDocument.defaultView || <span class="code-built_in">window</span> : <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L19" class="css-a4x74f"><span>19</span></td><td id="LC19" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L20" class="css-a4x74f"><span>20</span></td><td id="LC20" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L21" class="css-a4x74f"><span>21</span></td><td id="LC21" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node;
+</code></td></tr><tr><td id="L22" class="css-a4x74f"><span>22</span></td><td id="LC22" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L23" class="css-a4x74f"><span>23</span></td><td id="LC23" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L24" class="css-a4x74f"><span>24</span></td><td id="LC24" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isElement</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L25" class="css-a4x74f"><span>25</span></td><td id="LC25" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> OwnElement = getWindow(node).Element;
+</code></td></tr><tr><td id="L26" class="css-a4x74f"><span>26</span></td><td id="LC26" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node <span class="code-keyword">instanceof</span> OwnElement || node <span class="code-keyword">instanceof</span> Element;
+</code></td></tr><tr><td id="L27" class="css-a4x74f"><span>27</span></td><td id="LC27" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L28" class="css-a4x74f"><span>28</span></td><td id="LC28" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L29" class="css-a4x74f"><span>29</span></td><td id="LC29" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isHTMLElement</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L30" class="css-a4x74f"><span>30</span></td><td id="LC30" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> OwnElement = getWindow(node).HTMLElement;
+</code></td></tr><tr><td id="L31" class="css-a4x74f"><span>31</span></td><td id="LC31" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node <span class="code-keyword">instanceof</span> OwnElement || node <span class="code-keyword">instanceof</span> HTMLElement;
+</code></td></tr><tr><td id="L32" class="css-a4x74f"><span>32</span></td><td id="LC32" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L33" class="css-a4x74f"><span>33</span></td><td id="LC33" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L34" class="css-a4x74f"><span>34</span></td><td id="LC34" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isShadowRoot</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L35" class="css-a4x74f"><span>35</span></td><td id="LC35" class="css-1dcdqdg"><code> <span class="code-comment">// IE 11 has no ShadowRoot</span>
+</code></td></tr><tr><td id="L36" class="css-a4x74f"><span>36</span></td><td id="LC36" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> ShadowRoot === <span class="code-string">'undefined'</span>) {
+</code></td></tr><tr><td id="L37" class="css-a4x74f"><span>37</span></td><td id="LC37" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L38" class="css-a4x74f"><span>38</span></td><td id="LC38" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L39" class="css-a4x74f"><span>39</span></td><td id="LC39" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L40" class="css-a4x74f"><span>40</span></td><td id="LC40" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> OwnElement = getWindow(node).ShadowRoot;
+</code></td></tr><tr><td id="L41" class="css-a4x74f"><span>41</span></td><td id="LC41" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node <span class="code-keyword">instanceof</span> OwnElement || node <span class="code-keyword">instanceof</span> ShadowRoot;
+</code></td></tr><tr><td id="L42" class="css-a4x74f"><span>42</span></td><td id="LC42" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L43" class="css-a4x74f"><span>43</span></td><td id="LC43" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L44" class="css-a4x74f"><span>44</span></td><td id="LC44" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> max = <span class="code-built_in">Math</span>.max;
+</code></td></tr><tr><td id="L45" class="css-a4x74f"><span>45</span></td><td id="LC45" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> min = <span class="code-built_in">Math</span>.min;
+</code></td></tr><tr><td id="L46" class="css-a4x74f"><span>46</span></td><td id="LC46" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> round = <span class="code-built_in">Math</span>.round;
+</code></td></tr><tr><td id="L47" class="css-a4x74f"><span>47</span></td><td id="LC47" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L48" class="css-a4x74f"><span>48</span></td><td id="LC48" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getBoundingClientRect</span>(<span class="code-params">element, includeScale</span>) </span>{
+</code></td></tr><tr><td id="L49" class="css-a4x74f"><span>49</span></td><td id="LC49" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (includeScale === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L50" class="css-a4x74f"><span>50</span></td><td id="LC50" class="css-1dcdqdg"><code> includeScale = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L51" class="css-a4x74f"><span>51</span></td><td id="LC51" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L52" class="css-a4x74f"><span>52</span></td><td id="LC52" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L53" class="css-a4x74f"><span>53</span></td><td id="LC53" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = element.getBoundingClientRect();
+</code></td></tr><tr><td id="L54" class="css-a4x74f"><span>54</span></td><td id="LC54" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleX = <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L55" class="css-a4x74f"><span>55</span></td><td id="LC55" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleY = <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L56" class="css-a4x74f"><span>56</span></td><td id="LC56" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L57" class="css-a4x74f"><span>57</span></td><td id="LC57" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isHTMLElement(element) &amp;&amp; includeScale) {
+</code></td></tr><tr><td id="L58" class="css-a4x74f"><span>58</span></td><td id="LC58" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetHeight = element.offsetHeight;
+</code></td></tr><tr><td id="L59" class="css-a4x74f"><span>59</span></td><td id="LC59" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetWidth = element.offsetWidth; <span class="code-comment">// Do not attempt to divide by 0, otherwise we get `Infinity` as scale</span>
+</code></td></tr><tr><td id="L60" class="css-a4x74f"><span>60</span></td><td id="LC60" class="css-1dcdqdg"><code> <span class="code-comment">// Fallback to 1 in case both values are `0`</span>
+</code></td></tr><tr><td id="L61" class="css-a4x74f"><span>61</span></td><td id="LC61" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L62" class="css-a4x74f"><span>62</span></td><td id="LC62" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetWidth &gt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L63" class="css-a4x74f"><span>63</span></td><td id="LC63" class="css-1dcdqdg"><code> scaleX = round(rect.width) / offsetWidth || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L64" class="css-a4x74f"><span>64</span></td><td id="LC64" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L65" class="css-a4x74f"><span>65</span></td><td id="LC65" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L66" class="css-a4x74f"><span>66</span></td><td id="LC66" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetHeight &gt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L67" class="css-a4x74f"><span>67</span></td><td id="LC67" class="css-1dcdqdg"><code> scaleY = round(rect.height) / offsetHeight || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L68" class="css-a4x74f"><span>68</span></td><td id="LC68" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L69" class="css-a4x74f"><span>69</span></td><td id="LC69" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L70" class="css-a4x74f"><span>70</span></td><td id="LC70" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L71" class="css-a4x74f"><span>71</span></td><td id="LC71" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L72" class="css-a4x74f"><span>72</span></td><td id="LC72" class="css-1dcdqdg"><code> width: rect.width / scaleX,
+</code></td></tr><tr><td id="L73" class="css-a4x74f"><span>73</span></td><td id="LC73" class="css-1dcdqdg"><code> height: rect.height / scaleY,
+</code></td></tr><tr><td id="L74" class="css-a4x74f"><span>74</span></td><td id="LC74" class="css-1dcdqdg"><code> top: rect.top / scaleY,
+</code></td></tr><tr><td id="L75" class="css-a4x74f"><span>75</span></td><td id="LC75" class="css-1dcdqdg"><code> right: rect.right / scaleX,
+</code></td></tr><tr><td id="L76" class="css-a4x74f"><span>76</span></td><td id="LC76" class="css-1dcdqdg"><code> bottom: rect.bottom / scaleY,
+</code></td></tr><tr><td id="L77" class="css-a4x74f"><span>77</span></td><td id="LC77" class="css-1dcdqdg"><code> left: rect.left / scaleX,
+</code></td></tr><tr><td id="L78" class="css-a4x74f"><span>78</span></td><td id="LC78" class="css-1dcdqdg"><code> x: rect.left / scaleX,
+</code></td></tr><tr><td id="L79" class="css-a4x74f"><span>79</span></td><td id="LC79" class="css-1dcdqdg"><code> y: rect.top / scaleY
+</code></td></tr><tr><td id="L80" class="css-a4x74f"><span>80</span></td><td id="LC80" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L81" class="css-a4x74f"><span>81</span></td><td id="LC81" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L82" class="css-a4x74f"><span>82</span></td><td id="LC82" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L83" class="css-a4x74f"><span>83</span></td><td id="LC83" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getWindowScroll</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L84" class="css-a4x74f"><span>84</span></td><td id="LC84" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = getWindow(node);
+</code></td></tr><tr><td id="L85" class="css-a4x74f"><span>85</span></td><td id="LC85" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollLeft = win.pageXOffset;
+</code></td></tr><tr><td id="L86" class="css-a4x74f"><span>86</span></td><td id="LC86" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollTop = win.pageYOffset;
+</code></td></tr><tr><td id="L87" class="css-a4x74f"><span>87</span></td><td id="LC87" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L88" class="css-a4x74f"><span>88</span></td><td id="LC88" class="css-1dcdqdg"><code> scrollLeft: scrollLeft,
+</code></td></tr><tr><td id="L89" class="css-a4x74f"><span>89</span></td><td id="LC89" class="css-1dcdqdg"><code> scrollTop: scrollTop
+</code></td></tr><tr><td id="L90" class="css-a4x74f"><span>90</span></td><td id="LC90" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L91" class="css-a4x74f"><span>91</span></td><td id="LC91" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L92" class="css-a4x74f"><span>92</span></td><td id="LC92" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L93" class="css-a4x74f"><span>93</span></td><td id="LC93" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getHTMLElementScroll</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L94" class="css-a4x74f"><span>94</span></td><td id="LC94" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L95" class="css-a4x74f"><span>95</span></td><td id="LC95" class="css-1dcdqdg"><code> scrollLeft: element.scrollLeft,
+</code></td></tr><tr><td id="L96" class="css-a4x74f"><span>96</span></td><td id="LC96" class="css-1dcdqdg"><code> scrollTop: element.scrollTop
+</code></td></tr><tr><td id="L97" class="css-a4x74f"><span>97</span></td><td id="LC97" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L98" class="css-a4x74f"><span>98</span></td><td id="LC98" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L99" class="css-a4x74f"><span>99</span></td><td id="LC99" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L100" class="css-a4x74f"><span>100</span></td><td id="LC100" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getNodeScroll</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L101" class="css-a4x74f"><span>101</span></td><td id="LC101" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (node === getWindow(node) || !isHTMLElement(node)) {
+</code></td></tr><tr><td id="L102" class="css-a4x74f"><span>102</span></td><td id="LC102" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getWindowScroll(node);
+</code></td></tr><tr><td id="L103" class="css-a4x74f"><span>103</span></td><td id="LC103" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> {
+</code></td></tr><tr><td id="L104" class="css-a4x74f"><span>104</span></td><td id="LC104" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getHTMLElementScroll(node);
+</code></td></tr><tr><td id="L105" class="css-a4x74f"><span>105</span></td><td id="LC105" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L106" class="css-a4x74f"><span>106</span></td><td id="LC106" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L107" class="css-a4x74f"><span>107</span></td><td id="LC107" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L108" class="css-a4x74f"><span>108</span></td><td id="LC108" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getNodeName</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L109" class="css-a4x74f"><span>109</span></td><td id="LC109" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> element ? (element.nodeName || <span class="code-string">''</span>).toLowerCase() : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L110" class="css-a4x74f"><span>110</span></td><td id="LC110" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L111" class="css-a4x74f"><span>111</span></td><td id="LC111" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L112" class="css-a4x74f"><span>112</span></td><td id="LC112" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getDocumentElement</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L113" class="css-a4x74f"><span>113</span></td><td id="LC113" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-return]: assume body is always available</span>
+</code></td></tr><tr><td id="L114" class="css-a4x74f"><span>114</span></td><td id="LC114" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> ((isElement(element) ? element.ownerDocument : <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L115" class="css-a4x74f"><span>115</span></td><td id="LC115" class="css-1dcdqdg"><code> element.document) || <span class="code-built_in">window</span>.document).documentElement;
+</code></td></tr><tr><td id="L116" class="css-a4x74f"><span>116</span></td><td id="LC116" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L117" class="css-a4x74f"><span>117</span></td><td id="LC117" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L118" class="css-a4x74f"><span>118</span></td><td id="LC118" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getWindowScrollBarX</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L119" class="css-a4x74f"><span>119</span></td><td id="LC119" class="css-1dcdqdg"><code> <span class="code-comment">// If &lt;html&gt; has a CSS width greater than the viewport, then this will be</span>
+</code></td></tr><tr><td id="L120" class="css-a4x74f"><span>120</span></td><td id="LC120" class="css-1dcdqdg"><code> <span class="code-comment">// incorrect for RTL.</span>
+</code></td></tr><tr><td id="L121" class="css-a4x74f"><span>121</span></td><td id="LC121" class="css-1dcdqdg"><code> <span class="code-comment">// Popper 1 is broken in this case and never had a bug report so let's assume</span>
+</code></td></tr><tr><td id="L122" class="css-a4x74f"><span>122</span></td><td id="LC122" class="css-1dcdqdg"><code> <span class="code-comment">// it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;</span>
+</code></td></tr><tr><td id="L123" class="css-a4x74f"><span>123</span></td><td id="LC123" class="css-1dcdqdg"><code> <span class="code-comment">// anyway.</span>
+</code></td></tr><tr><td id="L124" class="css-a4x74f"><span>124</span></td><td id="LC124" class="css-1dcdqdg"><code> <span class="code-comment">// Browsers where the left scrollbar doesn't cause an issue report `0` for</span>
+</code></td></tr><tr><td id="L125" class="css-a4x74f"><span>125</span></td><td id="LC125" class="css-1dcdqdg"><code> <span class="code-comment">// this (e.g. Edge 2019, IE11, Safari)</span>
+</code></td></tr><tr><td id="L126" class="css-a4x74f"><span>126</span></td><td id="LC126" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
+</code></td></tr><tr><td id="L127" class="css-a4x74f"><span>127</span></td><td id="LC127" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L128" class="css-a4x74f"><span>128</span></td><td id="LC128" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L129" class="css-a4x74f"><span>129</span></td><td id="LC129" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getComputedStyle</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L130" class="css-a4x74f"><span>130</span></td><td id="LC130" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getWindow(element).getComputedStyle(element);
+</code></td></tr><tr><td id="L131" class="css-a4x74f"><span>131</span></td><td id="LC131" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L132" class="css-a4x74f"><span>132</span></td><td id="LC132" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L133" class="css-a4x74f"><span>133</span></td><td id="LC133" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isScrollParent</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L134" class="css-a4x74f"><span>134</span></td><td id="LC134" class="css-1dcdqdg"><code> <span class="code-comment">// Firefox wants us to check `-x` and `-y` variations as well</span>
+</code></td></tr><tr><td id="L135" class="css-a4x74f"><span>135</span></td><td id="LC135" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _getComputedStyle = getComputedStyle(element),
+</code></td></tr><tr><td id="L136" class="css-a4x74f"><span>136</span></td><td id="LC136" class="css-1dcdqdg"><code> overflow = _getComputedStyle.overflow,
+</code></td></tr><tr><td id="L137" class="css-a4x74f"><span>137</span></td><td id="LC137" class="css-1dcdqdg"><code> overflowX = _getComputedStyle.overflowX,
+</code></td></tr><tr><td id="L138" class="css-a4x74f"><span>138</span></td><td id="LC138" class="css-1dcdqdg"><code> overflowY = _getComputedStyle.overflowY;
+</code></td></tr><tr><td id="L139" class="css-a4x74f"><span>139</span></td><td id="LC139" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L140" class="css-a4x74f"><span>140</span></td><td id="LC140" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-regexp">/auto|scroll|overlay|hidden/</span>.test(overflow + overflowY + overflowX);
+</code></td></tr><tr><td id="L141" class="css-a4x74f"><span>141</span></td><td id="LC141" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L142" class="css-a4x74f"><span>142</span></td><td id="LC142" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L143" class="css-a4x74f"><span>143</span></td><td id="LC143" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isElementScaled</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L144" class="css-a4x74f"><span>144</span></td><td id="LC144" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = element.getBoundingClientRect();
+</code></td></tr><tr><td id="L145" class="css-a4x74f"><span>145</span></td><td id="LC145" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleX = round(rect.width) / element.offsetWidth || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L146" class="css-a4x74f"><span>146</span></td><td id="LC146" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleY = round(rect.height) / element.offsetHeight || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L147" class="css-a4x74f"><span>147</span></td><td id="LC147" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> scaleX !== <span class="code-number">1</span> || scaleY !== <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L148" class="css-a4x74f"><span>148</span></td><td id="LC148" class="css-1dcdqdg"><code> } <span class="code-comment">// Returns the composite rect of an element relative to its offsetParent.</span>
+</code></td></tr><tr><td id="L149" class="css-a4x74f"><span>149</span></td><td id="LC149" class="css-1dcdqdg"><code> <span class="code-comment">// Composite means it takes into account transforms as well as layout.</span>
+</code></td></tr><tr><td id="L150" class="css-a4x74f"><span>150</span></td><td id="LC150" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L151" class="css-a4x74f"><span>151</span></td><td id="LC151" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L152" class="css-a4x74f"><span>152</span></td><td id="LC152" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getCompositeRect</span>(<span class="code-params">elementOrVirtualElement, offsetParent, isFixed</span>) </span>{
+</code></td></tr><tr><td id="L153" class="css-a4x74f"><span>153</span></td><td id="LC153" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isFixed === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L154" class="css-a4x74f"><span>154</span></td><td id="LC154" class="css-1dcdqdg"><code> isFixed = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L155" class="css-a4x74f"><span>155</span></td><td id="LC155" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L156" class="css-a4x74f"><span>156</span></td><td id="LC156" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L157" class="css-a4x74f"><span>157</span></td><td id="LC157" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isOffsetParentAnElement = isHTMLElement(offsetParent);
+</code></td></tr><tr><td id="L158" class="css-a4x74f"><span>158</span></td><td id="LC158" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetParentIsScaled = isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);
+</code></td></tr><tr><td id="L159" class="css-a4x74f"><span>159</span></td><td id="LC159" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> documentElement = getDocumentElement(offsetParent);
+</code></td></tr><tr><td id="L160" class="css-a4x74f"><span>160</span></td><td id="LC160" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
+</code></td></tr><tr><td id="L161" class="css-a4x74f"><span>161</span></td><td id="LC161" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scroll = {
+</code></td></tr><tr><td id="L162" class="css-a4x74f"><span>162</span></td><td id="LC162" class="css-1dcdqdg"><code> scrollLeft: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L163" class="css-a4x74f"><span>163</span></td><td id="LC163" class="css-1dcdqdg"><code> scrollTop: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L164" class="css-a4x74f"><span>164</span></td><td id="LC164" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L165" class="css-a4x74f"><span>165</span></td><td id="LC165" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsets = {
+</code></td></tr><tr><td id="L166" class="css-a4x74f"><span>166</span></td><td id="LC166" class="css-1dcdqdg"><code> x: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L167" class="css-a4x74f"><span>167</span></td><td id="LC167" class="css-1dcdqdg"><code> y: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L168" class="css-a4x74f"><span>168</span></td><td id="LC168" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L169" class="css-a4x74f"><span>169</span></td><td id="LC169" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L170" class="css-a4x74f"><span>170</span></td><td id="LC170" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isOffsetParentAnElement || !isOffsetParentAnElement &amp;&amp; !isFixed) {
+</code></td></tr><tr><td id="L171" class="css-a4x74f"><span>171</span></td><td id="LC171" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getNodeName(offsetParent) !== <span class="code-string">'body'</span> || <span class="code-comment">// https://github.com/popperjs/popper-core/issues/1078</span>
+</code></td></tr><tr><td id="L172" class="css-a4x74f"><span>172</span></td><td id="LC172" class="css-1dcdqdg"><code> isScrollParent(documentElement)) {
+</code></td></tr><tr><td id="L173" class="css-a4x74f"><span>173</span></td><td id="LC173" class="css-1dcdqdg"><code> scroll = getNodeScroll(offsetParent);
+</code></td></tr><tr><td id="L174" class="css-a4x74f"><span>174</span></td><td id="LC174" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L175" class="css-a4x74f"><span>175</span></td><td id="LC175" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L176" class="css-a4x74f"><span>176</span></td><td id="LC176" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isHTMLElement(offsetParent)) {
+</code></td></tr><tr><td id="L177" class="css-a4x74f"><span>177</span></td><td id="LC177" class="css-1dcdqdg"><code> offsets = getBoundingClientRect(offsetParent, <span class="code-literal">true</span>);
+</code></td></tr><tr><td id="L178" class="css-a4x74f"><span>178</span></td><td id="LC178" class="css-1dcdqdg"><code> offsets.x += offsetParent.clientLeft;
+</code></td></tr><tr><td id="L179" class="css-a4x74f"><span>179</span></td><td id="LC179" class="css-1dcdqdg"><code> offsets.y += offsetParent.clientTop;
+</code></td></tr><tr><td id="L180" class="css-a4x74f"><span>180</span></td><td id="LC180" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> <span class="code-keyword">if</span> (documentElement) {
+</code></td></tr><tr><td id="L181" class="css-a4x74f"><span>181</span></td><td id="LC181" class="css-1dcdqdg"><code> offsets.x = getWindowScrollBarX(documentElement);
+</code></td></tr><tr><td id="L182" class="css-a4x74f"><span>182</span></td><td id="LC182" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L183" class="css-a4x74f"><span>183</span></td><td id="LC183" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L184" class="css-a4x74f"><span>184</span></td><td id="LC184" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L185" class="css-a4x74f"><span>185</span></td><td id="LC185" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L186" class="css-a4x74f"><span>186</span></td><td id="LC186" class="css-1dcdqdg"><code> x: rect.left + scroll.scrollLeft - offsets.x,
+</code></td></tr><tr><td id="L187" class="css-a4x74f"><span>187</span></td><td id="LC187" class="css-1dcdqdg"><code> y: rect.top + scroll.scrollTop - offsets.y,
+</code></td></tr><tr><td id="L188" class="css-a4x74f"><span>188</span></td><td id="LC188" class="css-1dcdqdg"><code> width: rect.width,
+</code></td></tr><tr><td id="L189" class="css-a4x74f"><span>189</span></td><td id="LC189" class="css-1dcdqdg"><code> height: rect.height
+</code></td></tr><tr><td id="L190" class="css-a4x74f"><span>190</span></td><td id="LC190" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L191" class="css-a4x74f"><span>191</span></td><td id="LC191" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L192" class="css-a4x74f"><span>192</span></td><td id="LC192" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L193" class="css-a4x74f"><span>193</span></td><td id="LC193" class="css-1dcdqdg"><code> <span class="code-comment">// means it doesn't take into account transforms.</span>
+</code></td></tr><tr><td id="L194" class="css-a4x74f"><span>194</span></td><td id="LC194" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L195" class="css-a4x74f"><span>195</span></td><td id="LC195" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getLayoutRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L196" class="css-a4x74f"><span>196</span></td><td id="LC196" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clientRect = getBoundingClientRect(element); <span class="code-comment">// Use the clientRect sizes if it's not been transformed.</span>
+</code></td></tr><tr><td id="L197" class="css-a4x74f"><span>197</span></td><td id="LC197" class="css-1dcdqdg"><code> <span class="code-comment">// Fixes https://github.com/popperjs/popper-core/issues/1223</span>
+</code></td></tr><tr><td id="L198" class="css-a4x74f"><span>198</span></td><td id="LC198" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L199" class="css-a4x74f"><span>199</span></td><td id="LC199" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> width = element.offsetWidth;
+</code></td></tr><tr><td id="L200" class="css-a4x74f"><span>200</span></td><td id="LC200" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> height = element.offsetHeight;
+</code></td></tr><tr><td id="L201" class="css-a4x74f"><span>201</span></td><td id="LC201" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L202" class="css-a4x74f"><span>202</span></td><td id="LC202" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-built_in">Math</span>.abs(clientRect.width - width) &lt;= <span class="code-number">1</span>) {
+</code></td></tr><tr><td id="L203" class="css-a4x74f"><span>203</span></td><td id="LC203" class="css-1dcdqdg"><code> width = clientRect.width;
+</code></td></tr><tr><td id="L204" class="css-a4x74f"><span>204</span></td><td id="LC204" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L205" class="css-a4x74f"><span>205</span></td><td id="LC205" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L206" class="css-a4x74f"><span>206</span></td><td id="LC206" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-built_in">Math</span>.abs(clientRect.height - height) &lt;= <span class="code-number">1</span>) {
+</code></td></tr><tr><td id="L207" class="css-a4x74f"><span>207</span></td><td id="LC207" class="css-1dcdqdg"><code> height = clientRect.height;
+</code></td></tr><tr><td id="L208" class="css-a4x74f"><span>208</span></td><td id="LC208" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L209" class="css-a4x74f"><span>209</span></td><td id="LC209" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L210" class="css-a4x74f"><span>210</span></td><td id="LC210" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L211" class="css-a4x74f"><span>211</span></td><td id="LC211" class="css-1dcdqdg"><code> x: element.offsetLeft,
+</code></td></tr><tr><td id="L212" class="css-a4x74f"><span>212</span></td><td id="LC212" class="css-1dcdqdg"><code> y: element.offsetTop,
+</code></td></tr><tr><td id="L213" class="css-a4x74f"><span>213</span></td><td id="LC213" class="css-1dcdqdg"><code> width: width,
+</code></td></tr><tr><td id="L214" class="css-a4x74f"><span>214</span></td><td id="LC214" class="css-1dcdqdg"><code> height: height
+</code></td></tr><tr><td id="L215" class="css-a4x74f"><span>215</span></td><td id="LC215" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L216" class="css-a4x74f"><span>216</span></td><td id="LC216" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L217" class="css-a4x74f"><span>217</span></td><td id="LC217" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L218" class="css-a4x74f"><span>218</span></td><td id="LC218" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getParentNode</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L219" class="css-a4x74f"><span>219</span></td><td id="LC219" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getNodeName(element) === <span class="code-string">'html'</span>) {
+</code></td></tr><tr><td id="L220" class="css-a4x74f"><span>220</span></td><td id="LC220" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> element;
+</code></td></tr><tr><td id="L221" class="css-a4x74f"><span>221</span></td><td id="LC221" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L222" class="css-a4x74f"><span>222</span></td><td id="LC222" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L223" class="css-a4x74f"><span>223</span></td><td id="LC223" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> (<span class="code-comment">// this is a quicker (but less type safe) way to save quite some bytes from the bundle</span>
+</code></td></tr><tr><td id="L224" class="css-a4x74f"><span>224</span></td><td id="LC224" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-return]</span>
+</code></td></tr><tr><td id="L225" class="css-a4x74f"><span>225</span></td><td id="LC225" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L226" class="css-a4x74f"><span>226</span></td><td id="LC226" class="css-1dcdqdg"><code> element.assignedSlot || <span class="code-comment">// step into the shadow DOM of the parent of a slotted node</span>
+</code></td></tr><tr><td id="L227" class="css-a4x74f"><span>227</span></td><td id="LC227" class="css-1dcdqdg"><code> element.parentNode || ( <span class="code-comment">// DOM Element detected</span>
+</code></td></tr><tr><td id="L228" class="css-a4x74f"><span>228</span></td><td id="LC228" class="css-1dcdqdg"><code> isShadowRoot(element) ? element.host : <span class="code-literal">null</span>) || <span class="code-comment">// ShadowRoot detected</span>
+</code></td></tr><tr><td id="L229" class="css-a4x74f"><span>229</span></td><td id="LC229" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-call]: HTMLElement is a Node</span>
+</code></td></tr><tr><td id="L230" class="css-a4x74f"><span>230</span></td><td id="LC230" class="css-1dcdqdg"><code> getDocumentElement(element) <span class="code-comment">// fallback</span>
+</code></td></tr><tr><td id="L231" class="css-a4x74f"><span>231</span></td><td id="LC231" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L232" class="css-a4x74f"><span>232</span></td><td id="LC232" class="css-1dcdqdg"><code> );
+</code></td></tr><tr><td id="L233" class="css-a4x74f"><span>233</span></td><td id="LC233" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L234" class="css-a4x74f"><span>234</span></td><td id="LC234" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L235" class="css-a4x74f"><span>235</span></td><td id="LC235" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getScrollParent</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L236" class="css-a4x74f"><span>236</span></td><td id="LC236" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> ([<span class="code-string">'html'</span>, <span class="code-string">'body'</span>, <span class="code-string">'#document'</span>].indexOf(getNodeName(node)) &gt;= <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L237" class="css-a4x74f"><span>237</span></td><td id="LC237" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-return]: assume body is always available</span>
+</code></td></tr><tr><td id="L238" class="css-a4x74f"><span>238</span></td><td id="LC238" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node.ownerDocument.body;
+</code></td></tr><tr><td id="L239" class="css-a4x74f"><span>239</span></td><td id="LC239" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L240" class="css-a4x74f"><span>240</span></td><td id="LC240" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L241" class="css-a4x74f"><span>241</span></td><td id="LC241" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {
+</code></td></tr><tr><td id="L242" class="css-a4x74f"><span>242</span></td><td id="LC242" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node;
+</code></td></tr><tr><td id="L243" class="css-a4x74f"><span>243</span></td><td id="LC243" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L244" class="css-a4x74f"><span>244</span></td><td id="LC244" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L245" class="css-a4x74f"><span>245</span></td><td id="LC245" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getScrollParent(getParentNode(node));
+</code></td></tr><tr><td id="L246" class="css-a4x74f"><span>246</span></td><td id="LC246" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L247" class="css-a4x74f"><span>247</span></td><td id="LC247" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L248" class="css-a4x74f"><span>248</span></td><td id="LC248" class="css-1dcdqdg"><code> <span class="code-comment">/*
+</span></code></td></tr><tr><td id="L249" class="css-a4x74f"><span>249</span></td><td id="LC249" class="css-1dcdqdg"><code><span class="code-comment"> given a DOM element, return the list of all scroll parents, up the list of ancesors
+</span></code></td></tr><tr><td id="L250" class="css-a4x74f"><span>250</span></td><td id="LC250" class="css-1dcdqdg"><code><span class="code-comment"> until we get to the top window object. This list is what we attach scroll listeners
+</span></code></td></tr><tr><td id="L251" class="css-a4x74f"><span>251</span></td><td id="LC251" class="css-1dcdqdg"><code><span class="code-comment"> to, because if any of these parent elements scroll, we'll need to re-calculate the
+</span></code></td></tr><tr><td id="L252" class="css-a4x74f"><span>252</span></td><td id="LC252" class="css-1dcdqdg"><code><span class="code-comment"> reference element's position.
+</span></code></td></tr><tr><td id="L253" class="css-a4x74f"><span>253</span></td><td id="LC253" class="css-1dcdqdg"><code><span class="code-comment"> */</span>
+</code></td></tr><tr><td id="L254" class="css-a4x74f"><span>254</span></td><td id="LC254" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L255" class="css-a4x74f"><span>255</span></td><td id="LC255" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">listScrollParents</span>(<span class="code-params">element, list</span>) </span>{
+</code></td></tr><tr><td id="L256" class="css-a4x74f"><span>256</span></td><td id="LC256" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _element$ownerDocumen;
+</code></td></tr><tr><td id="L257" class="css-a4x74f"><span>257</span></td><td id="LC257" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L258" class="css-a4x74f"><span>258</span></td><td id="LC258" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (list === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L259" class="css-a4x74f"><span>259</span></td><td id="LC259" class="css-1dcdqdg"><code> list = [];
+</code></td></tr><tr><td id="L260" class="css-a4x74f"><span>260</span></td><td id="LC260" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L261" class="css-a4x74f"><span>261</span></td><td id="LC261" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L262" class="css-a4x74f"><span>262</span></td><td id="LC262" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollParent = getScrollParent(element);
+</code></td></tr><tr><td id="L263" class="css-a4x74f"><span>263</span></td><td id="LC263" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == <span class="code-literal">null</span> ? <span class="code-keyword">void</span> <span class="code-number">0</span> : _element$ownerDocumen.body);
+</code></td></tr><tr><td id="L264" class="css-a4x74f"><span>264</span></td><td id="LC264" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = getWindow(scrollParent);
+</code></td></tr><tr><td id="L265" class="css-a4x74f"><span>265</span></td><td id="LC265" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
+</code></td></tr><tr><td id="L266" class="css-a4x74f"><span>266</span></td><td id="LC266" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> updatedList = list.concat(target);
+</code></td></tr><tr><td id="L267" class="css-a4x74f"><span>267</span></td><td id="LC267" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> isBody ? updatedList : <span class="code-comment">// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here</span>
+</code></td></tr><tr><td id="L268" class="css-a4x74f"><span>268</span></td><td id="LC268" class="css-1dcdqdg"><code> updatedList.concat(listScrollParents(getParentNode(target)));
+</code></td></tr><tr><td id="L269" class="css-a4x74f"><span>269</span></td><td id="LC269" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L270" class="css-a4x74f"><span>270</span></td><td id="LC270" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L271" class="css-a4x74f"><span>271</span></td><td id="LC271" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isTableElement</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L272" class="css-a4x74f"><span>272</span></td><td id="LC272" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [<span class="code-string">'table'</span>, <span class="code-string">'td'</span>, <span class="code-string">'th'</span>].indexOf(getNodeName(element)) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L273" class="css-a4x74f"><span>273</span></td><td id="LC273" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L274" class="css-a4x74f"><span>274</span></td><td id="LC274" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L275" class="css-a4x74f"><span>275</span></td><td id="LC275" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getTrueOffsetParent</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L276" class="css-a4x74f"><span>276</span></td><td id="LC276" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isHTMLElement(element) || <span class="code-comment">// https://github.com/popperjs/popper-core/issues/837</span>
+</code></td></tr><tr><td id="L277" class="css-a4x74f"><span>277</span></td><td id="LC277" class="css-1dcdqdg"><code> getComputedStyle(element).position === <span class="code-string">'fixed'</span>) {
+</code></td></tr><tr><td id="L278" class="css-a4x74f"><span>278</span></td><td id="LC278" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L279" class="css-a4x74f"><span>279</span></td><td id="LC279" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L280" class="css-a4x74f"><span>280</span></td><td id="LC280" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L281" class="css-a4x74f"><span>281</span></td><td id="LC281" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> element.offsetParent;
+</code></td></tr><tr><td id="L282" class="css-a4x74f"><span>282</span></td><td id="LC282" class="css-1dcdqdg"><code> } <span class="code-comment">// `.offsetParent` reports `null` for fixed elements, while absolute elements</span>
+</code></td></tr><tr><td id="L283" class="css-a4x74f"><span>283</span></td><td id="LC283" class="css-1dcdqdg"><code> <span class="code-comment">// return the containing block</span>
+</code></td></tr><tr><td id="L284" class="css-a4x74f"><span>284</span></td><td id="LC284" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L285" class="css-a4x74f"><span>285</span></td><td id="LC285" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L286" class="css-a4x74f"><span>286</span></td><td id="LC286" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getContainingBlock</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L287" class="css-a4x74f"><span>287</span></td><td id="LC287" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isFirefox = navigator.userAgent.toLowerCase().indexOf(<span class="code-string">'firefox'</span>) !== <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L288" class="css-a4x74f"><span>288</span></td><td id="LC288" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isIE = navigator.userAgent.indexOf(<span class="code-string">'Trident'</span>) !== <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L289" class="css-a4x74f"><span>289</span></td><td id="LC289" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L290" class="css-a4x74f"><span>290</span></td><td id="LC290" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isIE &amp;&amp; isHTMLElement(element)) {
+</code></td></tr><tr><td id="L291" class="css-a4x74f"><span>291</span></td><td id="LC291" class="css-1dcdqdg"><code> <span class="code-comment">// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport</span>
+</code></td></tr><tr><td id="L292" class="css-a4x74f"><span>292</span></td><td id="LC292" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> elementCss = getComputedStyle(element);
+</code></td></tr><tr><td id="L293" class="css-a4x74f"><span>293</span></td><td id="LC293" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L294" class="css-a4x74f"><span>294</span></td><td id="LC294" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (elementCss.position === <span class="code-string">'fixed'</span>) {
+</code></td></tr><tr><td id="L295" class="css-a4x74f"><span>295</span></td><td id="LC295" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L296" class="css-a4x74f"><span>296</span></td><td id="LC296" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L297" class="css-a4x74f"><span>297</span></td><td id="LC297" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L298" class="css-a4x74f"><span>298</span></td><td id="LC298" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L299" class="css-a4x74f"><span>299</span></td><td id="LC299" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> currentNode = getParentNode(element);
+</code></td></tr><tr><td id="L300" class="css-a4x74f"><span>300</span></td><td id="LC300" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L301" class="css-a4x74f"><span>301</span></td><td id="LC301" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isShadowRoot(currentNode)) {
+</code></td></tr><tr><td id="L302" class="css-a4x74f"><span>302</span></td><td id="LC302" class="css-1dcdqdg"><code> currentNode = currentNode.host;
+</code></td></tr><tr><td id="L303" class="css-a4x74f"><span>303</span></td><td id="LC303" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L304" class="css-a4x74f"><span>304</span></td><td id="LC304" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L305" class="css-a4x74f"><span>305</span></td><td id="LC305" class="css-1dcdqdg"><code> <span class="code-keyword">while</span> (isHTMLElement(currentNode) &amp;&amp; [<span class="code-string">'html'</span>, <span class="code-string">'body'</span>].indexOf(getNodeName(currentNode)) &lt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L306" class="css-a4x74f"><span>306</span></td><td id="LC306" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> css = getComputedStyle(currentNode); <span class="code-comment">// This is non-exhaustive but covers the most common CSS properties that</span>
+</code></td></tr><tr><td id="L307" class="css-a4x74f"><span>307</span></td><td id="LC307" class="css-1dcdqdg"><code> <span class="code-comment">// create a containing block.</span>
+</code></td></tr><tr><td id="L308" class="css-a4x74f"><span>308</span></td><td id="LC308" class="css-1dcdqdg"><code> <span class="code-comment">// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block</span>
+</code></td></tr><tr><td id="L309" class="css-a4x74f"><span>309</span></td><td id="LC309" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L310" class="css-a4x74f"><span>310</span></td><td id="LC310" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (css.transform !== <span class="code-string">'none'</span> || css.perspective !== <span class="code-string">'none'</span> || css.contain === <span class="code-string">'paint'</span> || [<span class="code-string">'transform'</span>, <span class="code-string">'perspective'</span>].indexOf(css.willChange) !== <span class="code-number">-1</span> || isFirefox &amp;&amp; css.willChange === <span class="code-string">'filter'</span> || isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== <span class="code-string">'none'</span>) {
+</code></td></tr><tr><td id="L311" class="css-a4x74f"><span>311</span></td><td id="LC311" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> currentNode;
+</code></td></tr><tr><td id="L312" class="css-a4x74f"><span>312</span></td><td id="LC312" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> {
+</code></td></tr><tr><td id="L313" class="css-a4x74f"><span>313</span></td><td id="LC313" class="css-1dcdqdg"><code> currentNode = currentNode.parentNode;
+</code></td></tr><tr><td id="L314" class="css-a4x74f"><span>314</span></td><td id="LC314" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L315" class="css-a4x74f"><span>315</span></td><td id="LC315" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L316" class="css-a4x74f"><span>316</span></td><td id="LC316" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L317" class="css-a4x74f"><span>317</span></td><td id="LC317" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L318" class="css-a4x74f"><span>318</span></td><td id="LC318" class="css-1dcdqdg"><code> } <span class="code-comment">// Gets the closest ancestor positioned element. Handles some edge cases,</span>
+</code></td></tr><tr><td id="L319" class="css-a4x74f"><span>319</span></td><td id="LC319" class="css-1dcdqdg"><code> <span class="code-comment">// such as table ancestors and cross browser bugs.</span>
+</code></td></tr><tr><td id="L320" class="css-a4x74f"><span>320</span></td><td id="LC320" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L321" class="css-a4x74f"><span>321</span></td><td id="LC321" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L322" class="css-a4x74f"><span>322</span></td><td id="LC322" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getOffsetParent</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L323" class="css-a4x74f"><span>323</span></td><td id="LC323" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> <span class="code-built_in">window</span> = getWindow(element);
+</code></td></tr><tr><td id="L324" class="css-a4x74f"><span>324</span></td><td id="LC324" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetParent = getTrueOffsetParent(element);
+</code></td></tr><tr><td id="L325" class="css-a4x74f"><span>325</span></td><td id="LC325" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L326" class="css-a4x74f"><span>326</span></td><td id="LC326" class="css-1dcdqdg"><code> <span class="code-keyword">while</span> (offsetParent &amp;&amp; isTableElement(offsetParent) &amp;&amp; getComputedStyle(offsetParent).position === <span class="code-string">'static'</span>) {
+</code></td></tr><tr><td id="L327" class="css-a4x74f"><span>327</span></td><td id="LC327" class="css-1dcdqdg"><code> offsetParent = getTrueOffsetParent(offsetParent);
+</code></td></tr><tr><td id="L328" class="css-a4x74f"><span>328</span></td><td id="LC328" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L329" class="css-a4x74f"><span>329</span></td><td id="LC329" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L330" class="css-a4x74f"><span>330</span></td><td id="LC330" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetParent &amp;&amp; (getNodeName(offsetParent) === <span class="code-string">'html'</span> || getNodeName(offsetParent) === <span class="code-string">'body'</span> &amp;&amp; getComputedStyle(offsetParent).position === <span class="code-string">'static'</span>)) {
+</code></td></tr><tr><td id="L331" class="css-a4x74f"><span>331</span></td><td id="LC331" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L332" class="css-a4x74f"><span>332</span></td><td id="LC332" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L333" class="css-a4x74f"><span>333</span></td><td id="LC333" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L334" class="css-a4x74f"><span>334</span></td><td id="LC334" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> offsetParent || getContainingBlock(element) || <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L335" class="css-a4x74f"><span>335</span></td><td id="LC335" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L336" class="css-a4x74f"><span>336</span></td><td id="LC336" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L337" class="css-a4x74f"><span>337</span></td><td id="LC337" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> top = <span class="code-string">'top'</span>;
+</code></td></tr><tr><td id="L338" class="css-a4x74f"><span>338</span></td><td id="LC338" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> bottom = <span class="code-string">'bottom'</span>;
+</code></td></tr><tr><td id="L339" class="css-a4x74f"><span>339</span></td><td id="LC339" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> right = <span class="code-string">'right'</span>;
+</code></td></tr><tr><td id="L340" class="css-a4x74f"><span>340</span></td><td id="LC340" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> left = <span class="code-string">'left'</span>;
+</code></td></tr><tr><td id="L341" class="css-a4x74f"><span>341</span></td><td id="LC341" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> auto = <span class="code-string">'auto'</span>;
+</code></td></tr><tr><td id="L342" class="css-a4x74f"><span>342</span></td><td id="LC342" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacements = [top, bottom, right, left];
+</code></td></tr><tr><td id="L343" class="css-a4x74f"><span>343</span></td><td id="LC343" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> start = <span class="code-string">'start'</span>;
+</code></td></tr><tr><td id="L344" class="css-a4x74f"><span>344</span></td><td id="LC344" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> end = <span class="code-string">'end'</span>;
+</code></td></tr><tr><td id="L345" class="css-a4x74f"><span>345</span></td><td id="LC345" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingParents = <span class="code-string">'clippingParents'</span>;
+</code></td></tr><tr><td id="L346" class="css-a4x74f"><span>346</span></td><td id="LC346" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> viewport = <span class="code-string">'viewport'</span>;
+</code></td></tr><tr><td id="L347" class="css-a4x74f"><span>347</span></td><td id="LC347" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popper = <span class="code-string">'popper'</span>;
+</code></td></tr><tr><td id="L348" class="css-a4x74f"><span>348</span></td><td id="LC348" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> reference = <span class="code-string">'reference'</span>;
+</code></td></tr><tr><td id="L349" class="css-a4x74f"><span>349</span></td><td id="LC349" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L350" class="css-a4x74f"><span>350</span></td><td id="LC350" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> beforeRead = <span class="code-string">'beforeRead'</span>;
+</code></td></tr><tr><td id="L351" class="css-a4x74f"><span>351</span></td><td id="LC351" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> read = <span class="code-string">'read'</span>;
+</code></td></tr><tr><td id="L352" class="css-a4x74f"><span>352</span></td><td id="LC352" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> afterRead = <span class="code-string">'afterRead'</span>; <span class="code-comment">// pure-logic modifiers</span>
+</code></td></tr><tr><td id="L353" class="css-a4x74f"><span>353</span></td><td id="LC353" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L354" class="css-a4x74f"><span>354</span></td><td id="LC354" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> beforeMain = <span class="code-string">'beforeMain'</span>;
+</code></td></tr><tr><td id="L355" class="css-a4x74f"><span>355</span></td><td id="LC355" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> main = <span class="code-string">'main'</span>;
+</code></td></tr><tr><td id="L356" class="css-a4x74f"><span>356</span></td><td id="LC356" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> afterMain = <span class="code-string">'afterMain'</span>; <span class="code-comment">// modifier with the purpose to write to the DOM (or write into a framework state)</span>
+</code></td></tr><tr><td id="L357" class="css-a4x74f"><span>357</span></td><td id="LC357" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L358" class="css-a4x74f"><span>358</span></td><td id="LC358" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> beforeWrite = <span class="code-string">'beforeWrite'</span>;
+</code></td></tr><tr><td id="L359" class="css-a4x74f"><span>359</span></td><td id="LC359" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> write = <span class="code-string">'write'</span>;
+</code></td></tr><tr><td id="L360" class="css-a4x74f"><span>360</span></td><td id="LC360" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> afterWrite = <span class="code-string">'afterWrite'</span>;
+</code></td></tr><tr><td id="L361" class="css-a4x74f"><span>361</span></td><td id="LC361" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
+</code></td></tr><tr><td id="L362" class="css-a4x74f"><span>362</span></td><td id="LC362" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L363" class="css-a4x74f"><span>363</span></td><td id="LC363" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">order</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L364" class="css-a4x74f"><span>364</span></td><td id="LC364" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> map = <span class="code-keyword">new</span> <span class="code-built_in">Map</span>();
+</code></td></tr><tr><td id="L365" class="css-a4x74f"><span>365</span></td><td id="LC365" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> visited = <span class="code-keyword">new</span> <span class="code-built_in">Set</span>();
+</code></td></tr><tr><td id="L366" class="css-a4x74f"><span>366</span></td><td id="LC366" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> result = [];
+</code></td></tr><tr><td id="L367" class="css-a4x74f"><span>367</span></td><td id="LC367" class="css-1dcdqdg"><code> modifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L368" class="css-a4x74f"><span>368</span></td><td id="LC368" class="css-1dcdqdg"><code> map.set(modifier.name, modifier);
+</code></td></tr><tr><td id="L369" class="css-a4x74f"><span>369</span></td><td id="LC369" class="css-1dcdqdg"><code> }); <span class="code-comment">// On visiting object, check for its dependencies and visit them recursively</span>
+</code></td></tr><tr><td id="L370" class="css-a4x74f"><span>370</span></td><td id="LC370" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L371" class="css-a4x74f"><span>371</span></td><td id="LC371" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">sort</span>(<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L372" class="css-a4x74f"><span>372</span></td><td id="LC372" class="css-1dcdqdg"><code> visited.add(modifier.name);
+</code></td></tr><tr><td id="L373" class="css-a4x74f"><span>373</span></td><td id="LC373" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
+</code></td></tr><tr><td id="L374" class="css-a4x74f"><span>374</span></td><td id="LC374" class="css-1dcdqdg"><code> requires.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">dep</span>) </span>{
+</code></td></tr><tr><td id="L375" class="css-a4x74f"><span>375</span></td><td id="LC375" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!visited.has(dep)) {
+</code></td></tr><tr><td id="L376" class="css-a4x74f"><span>376</span></td><td id="LC376" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> depModifier = map.get(dep);
+</code></td></tr><tr><td id="L377" class="css-a4x74f"><span>377</span></td><td id="LC377" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L378" class="css-a4x74f"><span>378</span></td><td id="LC378" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (depModifier) {
+</code></td></tr><tr><td id="L379" class="css-a4x74f"><span>379</span></td><td id="LC379" class="css-1dcdqdg"><code> sort(depModifier);
+</code></td></tr><tr><td id="L380" class="css-a4x74f"><span>380</span></td><td id="LC380" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L381" class="css-a4x74f"><span>381</span></td><td id="LC381" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L382" class="css-a4x74f"><span>382</span></td><td id="LC382" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L383" class="css-a4x74f"><span>383</span></td><td id="LC383" class="css-1dcdqdg"><code> result.push(modifier);
+</code></td></tr><tr><td id="L384" class="css-a4x74f"><span>384</span></td><td id="LC384" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L385" class="css-a4x74f"><span>385</span></td><td id="LC385" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L386" class="css-a4x74f"><span>386</span></td><td id="LC386" class="css-1dcdqdg"><code> modifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L387" class="css-a4x74f"><span>387</span></td><td id="LC387" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!visited.has(modifier.name)) {
+</code></td></tr><tr><td id="L388" class="css-a4x74f"><span>388</span></td><td id="LC388" class="css-1dcdqdg"><code> <span class="code-comment">// check for visited object</span>
+</code></td></tr><tr><td id="L389" class="css-a4x74f"><span>389</span></td><td id="LC389" class="css-1dcdqdg"><code> sort(modifier);
+</code></td></tr><tr><td id="L390" class="css-a4x74f"><span>390</span></td><td id="LC390" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L391" class="css-a4x74f"><span>391</span></td><td id="LC391" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L392" class="css-a4x74f"><span>392</span></td><td id="LC392" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> result;
+</code></td></tr><tr><td id="L393" class="css-a4x74f"><span>393</span></td><td id="LC393" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L394" class="css-a4x74f"><span>394</span></td><td id="LC394" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L395" class="css-a4x74f"><span>395</span></td><td id="LC395" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">orderModifiers</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L396" class="css-a4x74f"><span>396</span></td><td id="LC396" class="css-1dcdqdg"><code> <span class="code-comment">// order based on dependencies</span>
+</code></td></tr><tr><td id="L397" class="css-a4x74f"><span>397</span></td><td id="LC397" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> orderedModifiers = order(modifiers); <span class="code-comment">// order based on phase</span>
+</code></td></tr><tr><td id="L398" class="css-a4x74f"><span>398</span></td><td id="LC398" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L399" class="css-a4x74f"><span>399</span></td><td id="LC399" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> modifierPhases.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">acc, phase</span>) </span>{
+</code></td></tr><tr><td id="L400" class="css-a4x74f"><span>400</span></td><td id="LC400" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> acc.concat(orderedModifiers.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L401" class="css-a4x74f"><span>401</span></td><td id="LC401" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> modifier.phase === phase;
+</code></td></tr><tr><td id="L402" class="css-a4x74f"><span>402</span></td><td id="LC402" class="css-1dcdqdg"><code> }));
+</code></td></tr><tr><td id="L403" class="css-a4x74f"><span>403</span></td><td id="LC403" class="css-1dcdqdg"><code> }, []);
+</code></td></tr><tr><td id="L404" class="css-a4x74f"><span>404</span></td><td id="LC404" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L405" class="css-a4x74f"><span>405</span></td><td id="LC405" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L406" class="css-a4x74f"><span>406</span></td><td id="LC406" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">debounce</span>(<span class="code-params">fn</span>) </span>{
+</code></td></tr><tr><td id="L407" class="css-a4x74f"><span>407</span></td><td id="LC407" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> pending;
+</code></td></tr><tr><td id="L408" class="css-a4x74f"><span>408</span></td><td id="LC408" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L409" class="css-a4x74f"><span>409</span></td><td id="LC409" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!pending) {
+</code></td></tr><tr><td id="L410" class="css-a4x74f"><span>410</span></td><td id="LC410" class="css-1dcdqdg"><code> pending = <span class="code-keyword">new</span> <span class="code-built_in">Promise</span>(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">resolve</span>) </span>{
+</code></td></tr><tr><td id="L411" class="css-a4x74f"><span>411</span></td><td id="LC411" class="css-1dcdqdg"><code> <span class="code-built_in">Promise</span>.resolve().then(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L412" class="css-a4x74f"><span>412</span></td><td id="LC412" class="css-1dcdqdg"><code> pending = <span class="code-literal">undefined</span>;
+</code></td></tr><tr><td id="L413" class="css-a4x74f"><span>413</span></td><td id="LC413" class="css-1dcdqdg"><code> resolve(fn());
+</code></td></tr><tr><td id="L414" class="css-a4x74f"><span>414</span></td><td id="LC414" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L415" class="css-a4x74f"><span>415</span></td><td id="LC415" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L416" class="css-a4x74f"><span>416</span></td><td id="LC416" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L417" class="css-a4x74f"><span>417</span></td><td id="LC417" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L418" class="css-a4x74f"><span>418</span></td><td id="LC418" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> pending;
+</code></td></tr><tr><td id="L419" class="css-a4x74f"><span>419</span></td><td id="LC419" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L420" class="css-a4x74f"><span>420</span></td><td id="LC420" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L421" class="css-a4x74f"><span>421</span></td><td id="LC421" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L422" class="css-a4x74f"><span>422</span></td><td id="LC422" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">format</span>(<span class="code-params">str</span>) </span>{
+</code></td></tr><tr><td id="L423" class="css-a4x74f"><span>423</span></td><td id="LC423" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> _len = <span class="code-built_in">arguments</span>.length, args = <span class="code-keyword">new</span> <span class="code-built_in">Array</span>(_len &gt; <span class="code-number">1</span> ? _len - <span class="code-number">1</span> : <span class="code-number">0</span>), _key = <span class="code-number">1</span>; _key &lt; _len; _key++) {
+</code></td></tr><tr><td id="L424" class="css-a4x74f"><span>424</span></td><td id="LC424" class="css-1dcdqdg"><code> args[_key - <span class="code-number">1</span>] = <span class="code-built_in">arguments</span>[_key];
+</code></td></tr><tr><td id="L425" class="css-a4x74f"><span>425</span></td><td id="LC425" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L426" class="css-a4x74f"><span>426</span></td><td id="LC426" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L427" class="css-a4x74f"><span>427</span></td><td id="LC427" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [].concat(args).reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">p, c</span>) </span>{
+</code></td></tr><tr><td id="L428" class="css-a4x74f"><span>428</span></td><td id="LC428" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> p.replace(<span class="code-regexp">/%s/</span>, c);
+</code></td></tr><tr><td id="L429" class="css-a4x74f"><span>429</span></td><td id="LC429" class="css-1dcdqdg"><code> }, str);
+</code></td></tr><tr><td id="L430" class="css-a4x74f"><span>430</span></td><td id="LC430" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L431" class="css-a4x74f"><span>431</span></td><td id="LC431" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L432" class="css-a4x74f"><span>432</span></td><td id="LC432" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> INVALID_MODIFIER_ERROR = <span class="code-string">'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s'</span>;
+</code></td></tr><tr><td id="L433" class="css-a4x74f"><span>433</span></td><td id="LC433" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> MISSING_DEPENDENCY_ERROR = <span class="code-string">'Popper: modifier "%s" requires "%s", but "%s" modifier is not available'</span>;
+</code></td></tr><tr><td id="L434" class="css-a4x74f"><span>434</span></td><td id="LC434" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> VALID_PROPERTIES = [<span class="code-string">'name'</span>, <span class="code-string">'enabled'</span>, <span class="code-string">'phase'</span>, <span class="code-string">'fn'</span>, <span class="code-string">'effect'</span>, <span class="code-string">'requires'</span>, <span class="code-string">'options'</span>];
+</code></td></tr><tr><td id="L435" class="css-a4x74f"><span>435</span></td><td id="LC435" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">validateModifiers</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L436" class="css-a4x74f"><span>436</span></td><td id="LC436" class="css-1dcdqdg"><code> modifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L437" class="css-a4x74f"><span>437</span></td><td id="LC437" class="css-1dcdqdg"><code> [].concat(<span class="code-built_in">Object</span>.keys(modifier), VALID_PROPERTIES) <span class="code-comment">// IE11-compatible replacement for `new Set(iterable)`</span>
+</code></td></tr><tr><td id="L438" class="css-a4x74f"><span>438</span></td><td id="LC438" class="css-1dcdqdg"><code> .filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">value, index, self</span>) </span>{
+</code></td></tr><tr><td id="L439" class="css-a4x74f"><span>439</span></td><td id="LC439" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> self.indexOf(value) === index;
+</code></td></tr><tr><td id="L440" class="css-a4x74f"><span>440</span></td><td id="LC440" class="css-1dcdqdg"><code> }).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">key</span>) </span>{
+</code></td></tr><tr><td id="L441" class="css-a4x74f"><span>441</span></td><td id="LC441" class="css-1dcdqdg"><code> <span class="code-keyword">switch</span> (key) {
+</code></td></tr><tr><td id="L442" class="css-a4x74f"><span>442</span></td><td id="LC442" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'name'</span>:
+</code></td></tr><tr><td id="L443" class="css-a4x74f"><span>443</span></td><td id="LC443" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> modifier.name !== <span class="code-string">'string'</span>) {
+</code></td></tr><tr><td id="L444" class="css-a4x74f"><span>444</span></td><td id="LC444" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, <span class="code-built_in">String</span>(modifier.name), <span class="code-string">'"name"'</span>, <span class="code-string">'"string"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.name) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L445" class="css-a4x74f"><span>445</span></td><td id="LC445" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L446" class="css-a4x74f"><span>446</span></td><td id="LC446" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L447" class="css-a4x74f"><span>447</span></td><td id="LC447" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L448" class="css-a4x74f"><span>448</span></td><td id="LC448" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L449" class="css-a4x74f"><span>449</span></td><td id="LC449" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'enabled'</span>:
+</code></td></tr><tr><td id="L450" class="css-a4x74f"><span>450</span></td><td id="LC450" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> modifier.enabled !== <span class="code-string">'boolean'</span>) {
+</code></td></tr><tr><td id="L451" class="css-a4x74f"><span>451</span></td><td id="LC451" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"enabled"'</span>, <span class="code-string">'"boolean"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.enabled) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L452" class="css-a4x74f"><span>452</span></td><td id="LC452" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L453" class="css-a4x74f"><span>453</span></td><td id="LC453" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L454" class="css-a4x74f"><span>454</span></td><td id="LC454" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L455" class="css-a4x74f"><span>455</span></td><td id="LC455" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L456" class="css-a4x74f"><span>456</span></td><td id="LC456" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'phase'</span>:
+</code></td></tr><tr><td id="L457" class="css-a4x74f"><span>457</span></td><td id="LC457" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifierPhases.indexOf(modifier.phase) &lt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L458" class="css-a4x74f"><span>458</span></td><td id="LC458" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"phase"'</span>, <span class="code-string">"either "</span> + modifierPhases.join(<span class="code-string">', '</span>), <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.phase) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L459" class="css-a4x74f"><span>459</span></td><td id="LC459" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L460" class="css-a4x74f"><span>460</span></td><td id="LC460" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L461" class="css-a4x74f"><span>461</span></td><td id="LC461" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L462" class="css-a4x74f"><span>462</span></td><td id="LC462" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L463" class="css-a4x74f"><span>463</span></td><td id="LC463" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'fn'</span>:
+</code></td></tr><tr><td id="L464" class="css-a4x74f"><span>464</span></td><td id="LC464" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> modifier.fn !== <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L465" class="css-a4x74f"><span>465</span></td><td id="LC465" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"fn"'</span>, <span class="code-string">'"function"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.fn) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L466" class="css-a4x74f"><span>466</span></td><td id="LC466" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L467" class="css-a4x74f"><span>467</span></td><td id="LC467" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L468" class="css-a4x74f"><span>468</span></td><td id="LC468" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L469" class="css-a4x74f"><span>469</span></td><td id="LC469" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L470" class="css-a4x74f"><span>470</span></td><td id="LC470" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'effect'</span>:
+</code></td></tr><tr><td id="L471" class="css-a4x74f"><span>471</span></td><td id="LC471" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifier.effect != <span class="code-literal">null</span> &amp;&amp; <span class="code-keyword">typeof</span> modifier.effect !== <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L472" class="css-a4x74f"><span>472</span></td><td id="LC472" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"effect"'</span>, <span class="code-string">'"function"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.fn) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L473" class="css-a4x74f"><span>473</span></td><td id="LC473" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L474" class="css-a4x74f"><span>474</span></td><td id="LC474" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L475" class="css-a4x74f"><span>475</span></td><td id="LC475" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L476" class="css-a4x74f"><span>476</span></td><td id="LC476" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L477" class="css-a4x74f"><span>477</span></td><td id="LC477" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'requires'</span>:
+</code></td></tr><tr><td id="L478" class="css-a4x74f"><span>478</span></td><td id="LC478" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifier.requires != <span class="code-literal">null</span> &amp;&amp; !<span class="code-built_in">Array</span>.isArray(modifier.requires)) {
+</code></td></tr><tr><td id="L479" class="css-a4x74f"><span>479</span></td><td id="LC479" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"requires"'</span>, <span class="code-string">'"array"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.requires) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L480" class="css-a4x74f"><span>480</span></td><td id="LC480" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L481" class="css-a4x74f"><span>481</span></td><td id="LC481" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L482" class="css-a4x74f"><span>482</span></td><td id="LC482" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L483" class="css-a4x74f"><span>483</span></td><td id="LC483" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L484" class="css-a4x74f"><span>484</span></td><td id="LC484" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'requiresIfExists'</span>:
+</code></td></tr><tr><td id="L485" class="css-a4x74f"><span>485</span></td><td id="LC485" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!<span class="code-built_in">Array</span>.isArray(modifier.requiresIfExists)) {
+</code></td></tr><tr><td id="L486" class="css-a4x74f"><span>486</span></td><td id="LC486" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"requiresIfExists"'</span>, <span class="code-string">'"array"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.requiresIfExists) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L487" class="css-a4x74f"><span>487</span></td><td id="LC487" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L488" class="css-a4x74f"><span>488</span></td><td id="LC488" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L489" class="css-a4x74f"><span>489</span></td><td id="LC489" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L490" class="css-a4x74f"><span>490</span></td><td id="LC490" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L491" class="css-a4x74f"><span>491</span></td><td id="LC491" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'options'</span>:
+</code></td></tr><tr><td id="L492" class="css-a4x74f"><span>492</span></td><td id="LC492" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'data'</span>:
+</code></td></tr><tr><td id="L493" class="css-a4x74f"><span>493</span></td><td id="LC493" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L494" class="css-a4x74f"><span>494</span></td><td id="LC494" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L495" class="css-a4x74f"><span>495</span></td><td id="LC495" class="css-1dcdqdg"><code> <span class="code-keyword">default</span>:
+</code></td></tr><tr><td id="L496" class="css-a4x74f"><span>496</span></td><td id="LC496" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(<span class="code-string">"PopperJS: an invalid property has been provided to the \""</span> + modifier.name + <span class="code-string">"\" modifier, valid properties are "</span> + VALID_PROPERTIES.map(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">s</span>) </span>{
+</code></td></tr><tr><td id="L497" class="css-a4x74f"><span>497</span></td><td id="LC497" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-string">"\""</span> + s + <span class="code-string">"\""</span>;
+</code></td></tr><tr><td id="L498" class="css-a4x74f"><span>498</span></td><td id="LC498" class="css-1dcdqdg"><code> }).join(<span class="code-string">', '</span>) + <span class="code-string">"; but \""</span> + key + <span class="code-string">"\" was provided."</span>);
+</code></td></tr><tr><td id="L499" class="css-a4x74f"><span>499</span></td><td id="LC499" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L500" class="css-a4x74f"><span>500</span></td><td id="LC500" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L501" class="css-a4x74f"><span>501</span></td><td id="LC501" class="css-1dcdqdg"><code> modifier.requires &amp;&amp; modifier.requires.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">requirement</span>) </span>{
+</code></td></tr><tr><td id="L502" class="css-a4x74f"><span>502</span></td><td id="LC502" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifiers.find(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">mod</span>) </span>{
+</code></td></tr><tr><td id="L503" class="css-a4x74f"><span>503</span></td><td id="LC503" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> mod.name === requirement;
+</code></td></tr><tr><td id="L504" class="css-a4x74f"><span>504</span></td><td id="LC504" class="css-1dcdqdg"><code> }) == <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L505" class="css-a4x74f"><span>505</span></td><td id="LC505" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(MISSING_DEPENDENCY_ERROR, <span class="code-built_in">String</span>(modifier.name), requirement, requirement));
+</code></td></tr><tr><td id="L506" class="css-a4x74f"><span>506</span></td><td id="LC506" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L507" class="css-a4x74f"><span>507</span></td><td id="LC507" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L508" class="css-a4x74f"><span>508</span></td><td id="LC508" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L509" class="css-a4x74f"><span>509</span></td><td id="LC509" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L510" class="css-a4x74f"><span>510</span></td><td id="LC510" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L511" class="css-a4x74f"><span>511</span></td><td id="LC511" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L512" class="css-a4x74f"><span>512</span></td><td id="LC512" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">uniqueBy</span>(<span class="code-params">arr, fn</span>) </span>{
+</code></td></tr><tr><td id="L513" class="css-a4x74f"><span>513</span></td><td id="LC513" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> identifiers = <span class="code-keyword">new</span> <span class="code-built_in">Set</span>();
+</code></td></tr><tr><td id="L514" class="css-a4x74f"><span>514</span></td><td id="LC514" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> arr.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">item</span>) </span>{
+</code></td></tr><tr><td id="L515" class="css-a4x74f"><span>515</span></td><td id="LC515" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> identifier = fn(item);
+</code></td></tr><tr><td id="L516" class="css-a4x74f"><span>516</span></td><td id="LC516" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L517" class="css-a4x74f"><span>517</span></td><td id="LC517" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!identifiers.has(identifier)) {
+</code></td></tr><tr><td id="L518" class="css-a4x74f"><span>518</span></td><td id="LC518" class="css-1dcdqdg"><code> identifiers.add(identifier);
+</code></td></tr><tr><td id="L519" class="css-a4x74f"><span>519</span></td><td id="LC519" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L520" class="css-a4x74f"><span>520</span></td><td id="LC520" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L521" class="css-a4x74f"><span>521</span></td><td id="LC521" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L522" class="css-a4x74f"><span>522</span></td><td id="LC522" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L523" class="css-a4x74f"><span>523</span></td><td id="LC523" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L524" class="css-a4x74f"><span>524</span></td><td id="LC524" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getBasePlacement</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L525" class="css-a4x74f"><span>525</span></td><td id="LC525" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> placement.split(<span class="code-string">'-'</span>)[<span class="code-number">0</span>];
+</code></td></tr><tr><td id="L526" class="css-a4x74f"><span>526</span></td><td id="LC526" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L527" class="css-a4x74f"><span>527</span></td><td id="LC527" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L528" class="css-a4x74f"><span>528</span></td><td id="LC528" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">mergeByName</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L529" class="css-a4x74f"><span>529</span></td><td id="LC529" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> merged = modifiers.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">merged, current</span>) </span>{
+</code></td></tr><tr><td id="L530" class="css-a4x74f"><span>530</span></td><td id="LC530" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> existing = merged[current.name];
+</code></td></tr><tr><td id="L531" class="css-a4x74f"><span>531</span></td><td id="LC531" class="css-1dcdqdg"><code> merged[current.name] = existing ? <span class="code-built_in">Object</span>.assign({}, existing, current, {
+</code></td></tr><tr><td id="L532" class="css-a4x74f"><span>532</span></td><td id="LC532" class="css-1dcdqdg"><code> options: <span class="code-built_in">Object</span>.assign({}, existing.options, current.options),
+</code></td></tr><tr><td id="L533" class="css-a4x74f"><span>533</span></td><td id="LC533" class="css-1dcdqdg"><code> data: <span class="code-built_in">Object</span>.assign({}, existing.data, current.data)
+</code></td></tr><tr><td id="L534" class="css-a4x74f"><span>534</span></td><td id="LC534" class="css-1dcdqdg"><code> }) : current;
+</code></td></tr><tr><td id="L535" class="css-a4x74f"><span>535</span></td><td id="LC535" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> merged;
+</code></td></tr><tr><td id="L536" class="css-a4x74f"><span>536</span></td><td id="LC536" class="css-1dcdqdg"><code> }, {}); <span class="code-comment">// IE11 does not support Object.values</span>
+</code></td></tr><tr><td id="L537" class="css-a4x74f"><span>537</span></td><td id="LC537" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L538" class="css-a4x74f"><span>538</span></td><td id="LC538" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.keys(merged).map(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">key</span>) </span>{
+</code></td></tr><tr><td id="L539" class="css-a4x74f"><span>539</span></td><td id="LC539" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> merged[key];
+</code></td></tr><tr><td id="L540" class="css-a4x74f"><span>540</span></td><td id="LC540" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L541" class="css-a4x74f"><span>541</span></td><td id="LC541" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L542" class="css-a4x74f"><span>542</span></td><td id="LC542" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L543" class="css-a4x74f"><span>543</span></td><td id="LC543" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getViewportRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L544" class="css-a4x74f"><span>544</span></td><td id="LC544" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = getWindow(element);
+</code></td></tr><tr><td id="L545" class="css-a4x74f"><span>545</span></td><td id="LC545" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> html = getDocumentElement(element);
+</code></td></tr><tr><td id="L546" class="css-a4x74f"><span>546</span></td><td id="LC546" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> visualViewport = win.visualViewport;
+</code></td></tr><tr><td id="L547" class="css-a4x74f"><span>547</span></td><td id="LC547" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> width = html.clientWidth;
+</code></td></tr><tr><td id="L548" class="css-a4x74f"><span>548</span></td><td id="LC548" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> height = html.clientHeight;
+</code></td></tr><tr><td id="L549" class="css-a4x74f"><span>549</span></td><td id="LC549" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> x = <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L550" class="css-a4x74f"><span>550</span></td><td id="LC550" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> y = <span class="code-number">0</span>; <span class="code-comment">// NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper</span>
+</code></td></tr><tr><td id="L551" class="css-a4x74f"><span>551</span></td><td id="LC551" class="css-1dcdqdg"><code> <span class="code-comment">// can be obscured underneath it.</span>
+</code></td></tr><tr><td id="L552" class="css-a4x74f"><span>552</span></td><td id="LC552" class="css-1dcdqdg"><code> <span class="code-comment">// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even</span>
+</code></td></tr><tr><td id="L553" class="css-a4x74f"><span>553</span></td><td id="LC553" class="css-1dcdqdg"><code> <span class="code-comment">// if it isn't open, so if this isn't available, the popper will be detected</span>
+</code></td></tr><tr><td id="L554" class="css-a4x74f"><span>554</span></td><td id="LC554" class="css-1dcdqdg"><code> <span class="code-comment">// to overflow the bottom of the screen too early.</span>
+</code></td></tr><tr><td id="L555" class="css-a4x74f"><span>555</span></td><td id="LC555" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L556" class="css-a4x74f"><span>556</span></td><td id="LC556" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (visualViewport) {
+</code></td></tr><tr><td id="L557" class="css-a4x74f"><span>557</span></td><td id="LC557" class="css-1dcdqdg"><code> width = visualViewport.width;
+</code></td></tr><tr><td id="L558" class="css-a4x74f"><span>558</span></td><td id="LC558" class="css-1dcdqdg"><code> height = visualViewport.height; <span class="code-comment">// Uses Layout Viewport (like Chrome; Safari does not currently)</span>
+</code></td></tr><tr><td id="L559" class="css-a4x74f"><span>559</span></td><td id="LC559" class="css-1dcdqdg"><code> <span class="code-comment">// In Chrome, it returns a value very close to 0 (+/-) but contains rounding</span>
+</code></td></tr><tr><td id="L560" class="css-a4x74f"><span>560</span></td><td id="LC560" class="css-1dcdqdg"><code> <span class="code-comment">// errors due to floating point numbers, so we need to check precision.</span>
+</code></td></tr><tr><td id="L561" class="css-a4x74f"><span>561</span></td><td id="LC561" class="css-1dcdqdg"><code> <span class="code-comment">// Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed</span>
+</code></td></tr><tr><td id="L562" class="css-a4x74f"><span>562</span></td><td id="LC562" class="css-1dcdqdg"><code> <span class="code-comment">// Feature detection fails in mobile emulation mode in Chrome.</span>
+</code></td></tr><tr><td id="L563" class="css-a4x74f"><span>563</span></td><td id="LC563" class="css-1dcdqdg"><code> <span class="code-comment">// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;</span>
+</code></td></tr><tr><td id="L564" class="css-a4x74f"><span>564</span></td><td id="LC564" class="css-1dcdqdg"><code> <span class="code-comment">// 0.001</span>
+</code></td></tr><tr><td id="L565" class="css-a4x74f"><span>565</span></td><td id="LC565" class="css-1dcdqdg"><code> <span class="code-comment">// Fallback here: "Not Safari" userAgent</span>
+</code></td></tr><tr><td id="L566" class="css-a4x74f"><span>566</span></td><td id="LC566" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L567" class="css-a4x74f"><span>567</span></td><td id="LC567" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!<span class="code-regexp">/^((?!chrome|android).)*safari/i</span>.test(navigator.userAgent)) {
+</code></td></tr><tr><td id="L568" class="css-a4x74f"><span>568</span></td><td id="LC568" class="css-1dcdqdg"><code> x = visualViewport.offsetLeft;
+</code></td></tr><tr><td id="L569" class="css-a4x74f"><span>569</span></td><td id="LC569" class="css-1dcdqdg"><code> y = visualViewport.offsetTop;
+</code></td></tr><tr><td id="L570" class="css-a4x74f"><span>570</span></td><td id="LC570" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L571" class="css-a4x74f"><span>571</span></td><td id="LC571" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L572" class="css-a4x74f"><span>572</span></td><td id="LC572" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L573" class="css-a4x74f"><span>573</span></td><td id="LC573" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L574" class="css-a4x74f"><span>574</span></td><td id="LC574" class="css-1dcdqdg"><code> width: width,
+</code></td></tr><tr><td id="L575" class="css-a4x74f"><span>575</span></td><td id="LC575" class="css-1dcdqdg"><code> height: height,
+</code></td></tr><tr><td id="L576" class="css-a4x74f"><span>576</span></td><td id="LC576" class="css-1dcdqdg"><code> x: x + getWindowScrollBarX(element),
+</code></td></tr><tr><td id="L577" class="css-a4x74f"><span>577</span></td><td id="LC577" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L578" class="css-a4x74f"><span>578</span></td><td id="LC578" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L579" class="css-a4x74f"><span>579</span></td><td id="LC579" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L580" class="css-a4x74f"><span>580</span></td><td id="LC580" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L581" class="css-a4x74f"><span>581</span></td><td id="LC581" class="css-1dcdqdg"><code> <span class="code-comment">// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable</span>
+</code></td></tr><tr><td id="L582" class="css-a4x74f"><span>582</span></td><td id="LC582" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L583" class="css-a4x74f"><span>583</span></td><td id="LC583" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getDocumentRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L584" class="css-a4x74f"><span>584</span></td><td id="LC584" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _element$ownerDocumen;
+</code></td></tr><tr><td id="L585" class="css-a4x74f"><span>585</span></td><td id="LC585" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L586" class="css-a4x74f"><span>586</span></td><td id="LC586" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> html = getDocumentElement(element);
+</code></td></tr><tr><td id="L587" class="css-a4x74f"><span>587</span></td><td id="LC587" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> winScroll = getWindowScroll(element);
+</code></td></tr><tr><td id="L588" class="css-a4x74f"><span>588</span></td><td id="LC588" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> body = (_element$ownerDocumen = element.ownerDocument) == <span class="code-literal">null</span> ? <span class="code-keyword">void</span> <span class="code-number">0</span> : _element$ownerDocumen.body;
+</code></td></tr><tr><td id="L589" class="css-a4x74f"><span>589</span></td><td id="LC589" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : <span class="code-number">0</span>, body ? body.clientWidth : <span class="code-number">0</span>);
+</code></td></tr><tr><td id="L590" class="css-a4x74f"><span>590</span></td><td id="LC590" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : <span class="code-number">0</span>, body ? body.clientHeight : <span class="code-number">0</span>);
+</code></td></tr><tr><td id="L591" class="css-a4x74f"><span>591</span></td><td id="LC591" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> x = -winScroll.scrollLeft + getWindowScrollBarX(element);
+</code></td></tr><tr><td id="L592" class="css-a4x74f"><span>592</span></td><td id="LC592" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> y = -winScroll.scrollTop;
+</code></td></tr><tr><td id="L593" class="css-a4x74f"><span>593</span></td><td id="LC593" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L594" class="css-a4x74f"><span>594</span></td><td id="LC594" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getComputedStyle(body || html).direction === <span class="code-string">'rtl'</span>) {
+</code></td></tr><tr><td id="L595" class="css-a4x74f"><span>595</span></td><td id="LC595" class="css-1dcdqdg"><code> x += max(html.clientWidth, body ? body.clientWidth : <span class="code-number">0</span>) - width;
+</code></td></tr><tr><td id="L596" class="css-a4x74f"><span>596</span></td><td id="LC596" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L597" class="css-a4x74f"><span>597</span></td><td id="LC597" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L598" class="css-a4x74f"><span>598</span></td><td id="LC598" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L599" class="css-a4x74f"><span>599</span></td><td id="LC599" class="css-1dcdqdg"><code> width: width,
+</code></td></tr><tr><td id="L600" class="css-a4x74f"><span>600</span></td><td id="LC600" class="css-1dcdqdg"><code> height: height,
+</code></td></tr><tr><td id="L601" class="css-a4x74f"><span>601</span></td><td id="LC601" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L602" class="css-a4x74f"><span>602</span></td><td id="LC602" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L603" class="css-a4x74f"><span>603</span></td><td id="LC603" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L604" class="css-a4x74f"><span>604</span></td><td id="LC604" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L605" class="css-a4x74f"><span>605</span></td><td id="LC605" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L606" class="css-a4x74f"><span>606</span></td><td id="LC606" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">contains</span>(<span class="code-params">parent, child</span>) </span>{
+</code></td></tr><tr><td id="L607" class="css-a4x74f"><span>607</span></td><td id="LC607" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rootNode = child.getRootNode &amp;&amp; child.getRootNode(); <span class="code-comment">// First, attempt with faster native method</span>
+</code></td></tr><tr><td id="L608" class="css-a4x74f"><span>608</span></td><td id="LC608" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L609" class="css-a4x74f"><span>609</span></td><td id="LC609" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (parent.contains(child)) {
+</code></td></tr><tr><td id="L610" class="css-a4x74f"><span>610</span></td><td id="LC610" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L611" class="css-a4x74f"><span>611</span></td><td id="LC611" class="css-1dcdqdg"><code> } <span class="code-comment">// then fallback to custom implementation with Shadow DOM support</span>
+</code></td></tr><tr><td id="L612" class="css-a4x74f"><span>612</span></td><td id="LC612" class="css-1dcdqdg"><code> <span class="code-keyword">else</span> <span class="code-keyword">if</span> (rootNode &amp;&amp; isShadowRoot(rootNode)) {
+</code></td></tr><tr><td id="L613" class="css-a4x74f"><span>613</span></td><td id="LC613" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> next = child;
+</code></td></tr><tr><td id="L614" class="css-a4x74f"><span>614</span></td><td id="LC614" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L615" class="css-a4x74f"><span>615</span></td><td id="LC615" class="css-1dcdqdg"><code> <span class="code-keyword">do</span> {
+</code></td></tr><tr><td id="L616" class="css-a4x74f"><span>616</span></td><td id="LC616" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (next &amp;&amp; parent.isSameNode(next)) {
+</code></td></tr><tr><td id="L617" class="css-a4x74f"><span>617</span></td><td id="LC617" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L618" class="css-a4x74f"><span>618</span></td><td id="LC618" class="css-1dcdqdg"><code> } <span class="code-comment">// $FlowFixMe[prop-missing]: need a better way to handle this...</span>
+</code></td></tr><tr><td id="L619" class="css-a4x74f"><span>619</span></td><td id="LC619" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L620" class="css-a4x74f"><span>620</span></td><td id="LC620" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L621" class="css-a4x74f"><span>621</span></td><td id="LC621" class="css-1dcdqdg"><code> next = next.parentNode || next.host;
+</code></td></tr><tr><td id="L622" class="css-a4x74f"><span>622</span></td><td id="LC622" class="css-1dcdqdg"><code> } <span class="code-keyword">while</span> (next);
+</code></td></tr><tr><td id="L623" class="css-a4x74f"><span>623</span></td><td id="LC623" class="css-1dcdqdg"><code> } <span class="code-comment">// Give up, the result is false</span>
+</code></td></tr><tr><td id="L624" class="css-a4x74f"><span>624</span></td><td id="LC624" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L625" class="css-a4x74f"><span>625</span></td><td id="LC625" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L626" class="css-a4x74f"><span>626</span></td><td id="LC626" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L627" class="css-a4x74f"><span>627</span></td><td id="LC627" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L628" class="css-a4x74f"><span>628</span></td><td id="LC628" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L629" class="css-a4x74f"><span>629</span></td><td id="LC629" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">rectToClientRect</span>(<span class="code-params">rect</span>) </span>{
+</code></td></tr><tr><td id="L630" class="css-a4x74f"><span>630</span></td><td id="LC630" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, rect, {
+</code></td></tr><tr><td id="L631" class="css-a4x74f"><span>631</span></td><td id="LC631" class="css-1dcdqdg"><code> left: rect.x,
+</code></td></tr><tr><td id="L632" class="css-a4x74f"><span>632</span></td><td id="LC632" class="css-1dcdqdg"><code> top: rect.y,
+</code></td></tr><tr><td id="L633" class="css-a4x74f"><span>633</span></td><td id="LC633" class="css-1dcdqdg"><code> right: rect.x + rect.width,
+</code></td></tr><tr><td id="L634" class="css-a4x74f"><span>634</span></td><td id="LC634" class="css-1dcdqdg"><code> bottom: rect.y + rect.height
+</code></td></tr><tr><td id="L635" class="css-a4x74f"><span>635</span></td><td id="LC635" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L636" class="css-a4x74f"><span>636</span></td><td id="LC636" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L637" class="css-a4x74f"><span>637</span></td><td id="LC637" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L638" class="css-a4x74f"><span>638</span></td><td id="LC638" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getInnerBoundingClientRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L639" class="css-a4x74f"><span>639</span></td><td id="LC639" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = getBoundingClientRect(element);
+</code></td></tr><tr><td id="L640" class="css-a4x74f"><span>640</span></td><td id="LC640" class="css-1dcdqdg"><code> rect.top = rect.top + element.clientTop;
+</code></td></tr><tr><td id="L641" class="css-a4x74f"><span>641</span></td><td id="LC641" class="css-1dcdqdg"><code> rect.left = rect.left + element.clientLeft;
+</code></td></tr><tr><td id="L642" class="css-a4x74f"><span>642</span></td><td id="LC642" class="css-1dcdqdg"><code> rect.bottom = rect.top + element.clientHeight;
+</code></td></tr><tr><td id="L643" class="css-a4x74f"><span>643</span></td><td id="LC643" class="css-1dcdqdg"><code> rect.right = rect.left + element.clientWidth;
+</code></td></tr><tr><td id="L644" class="css-a4x74f"><span>644</span></td><td id="LC644" class="css-1dcdqdg"><code> rect.width = element.clientWidth;
+</code></td></tr><tr><td id="L645" class="css-a4x74f"><span>645</span></td><td id="LC645" class="css-1dcdqdg"><code> rect.height = element.clientHeight;
+</code></td></tr><tr><td id="L646" class="css-a4x74f"><span>646</span></td><td id="LC646" class="css-1dcdqdg"><code> rect.x = rect.left;
+</code></td></tr><tr><td id="L647" class="css-a4x74f"><span>647</span></td><td id="LC647" class="css-1dcdqdg"><code> rect.y = rect.top;
+</code></td></tr><tr><td id="L648" class="css-a4x74f"><span>648</span></td><td id="LC648" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> rect;
+</code></td></tr><tr><td id="L649" class="css-a4x74f"><span>649</span></td><td id="LC649" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L650" class="css-a4x74f"><span>650</span></td><td id="LC650" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L651" class="css-a4x74f"><span>651</span></td><td id="LC651" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getClientRectFromMixedType</span>(<span class="code-params">element, clippingParent</span>) </span>{
+</code></td></tr><tr><td id="L652" class="css-a4x74f"><span>652</span></td><td id="LC652" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
+</code></td></tr><tr><td id="L653" class="css-a4x74f"><span>653</span></td><td id="LC653" class="css-1dcdqdg"><code> } <span class="code-comment">// A "clipping parent" is an overflowable container with the characteristic of</span>
+</code></td></tr><tr><td id="L654" class="css-a4x74f"><span>654</span></td><td id="LC654" class="css-1dcdqdg"><code> <span class="code-comment">// clipping (or hiding) overflowing elements with a position different from</span>
+</code></td></tr><tr><td id="L655" class="css-a4x74f"><span>655</span></td><td id="LC655" class="css-1dcdqdg"><code> <span class="code-comment">// `initial`</span>
+</code></td></tr><tr><td id="L656" class="css-a4x74f"><span>656</span></td><td id="LC656" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L657" class="css-a4x74f"><span>657</span></td><td id="LC657" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L658" class="css-a4x74f"><span>658</span></td><td id="LC658" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getClippingParents</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L659" class="css-a4x74f"><span>659</span></td><td id="LC659" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingParents = listScrollParents(getParentNode(element));
+</code></td></tr><tr><td id="L660" class="css-a4x74f"><span>660</span></td><td id="LC660" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> canEscapeClipping = [<span class="code-string">'absolute'</span>, <span class="code-string">'fixed'</span>].indexOf(getComputedStyle(element).position) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L661" class="css-a4x74f"><span>661</span></td><td id="LC661" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clipperElement = canEscapeClipping &amp;&amp; isHTMLElement(element) ? getOffsetParent(element) : element;
+</code></td></tr><tr><td id="L662" class="css-a4x74f"><span>662</span></td><td id="LC662" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L663" class="css-a4x74f"><span>663</span></td><td id="LC663" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isElement(clipperElement)) {
+</code></td></tr><tr><td id="L664" class="css-a4x74f"><span>664</span></td><td id="LC664" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [];
+</code></td></tr><tr><td id="L665" class="css-a4x74f"><span>665</span></td><td id="LC665" class="css-1dcdqdg"><code> } <span class="code-comment">// $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414</span>
+</code></td></tr><tr><td id="L666" class="css-a4x74f"><span>666</span></td><td id="LC666" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L667" class="css-a4x74f"><span>667</span></td><td id="LC667" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L668" class="css-a4x74f"><span>668</span></td><td id="LC668" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> clippingParents.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">clippingParent</span>) </span>{
+</code></td></tr><tr><td id="L669" class="css-a4x74f"><span>669</span></td><td id="LC669" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> isElement(clippingParent) &amp;&amp; contains(clippingParent, clipperElement) &amp;&amp; getNodeName(clippingParent) !== <span class="code-string">'body'</span>;
+</code></td></tr><tr><td id="L670" class="css-a4x74f"><span>670</span></td><td id="LC670" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L671" class="css-a4x74f"><span>671</span></td><td id="LC671" class="css-1dcdqdg"><code> } <span class="code-comment">// Gets the maximum area that the element is visible in due to any number of</span>
+</code></td></tr><tr><td id="L672" class="css-a4x74f"><span>672</span></td><td id="LC672" class="css-1dcdqdg"><code> <span class="code-comment">// clipping parents</span>
+</code></td></tr><tr><td id="L673" class="css-a4x74f"><span>673</span></td><td id="LC673" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L674" class="css-a4x74f"><span>674</span></td><td id="LC674" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L675" class="css-a4x74f"><span>675</span></td><td id="LC675" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getClippingRect</span>(<span class="code-params">element, boundary, rootBoundary</span>) </span>{
+</code></td></tr><tr><td id="L676" class="css-a4x74f"><span>676</span></td><td id="LC676" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> mainClippingParents = boundary === <span class="code-string">'clippingParents'</span> ? getClippingParents(element) : [].concat(boundary);
+</code></td></tr><tr><td id="L677" class="css-a4x74f"><span>677</span></td><td id="LC677" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingParents = [].concat(mainClippingParents, [rootBoundary]);
+</code></td></tr><tr><td id="L678" class="css-a4x74f"><span>678</span></td><td id="LC678" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> firstClippingParent = clippingParents[<span class="code-number">0</span>];
+</code></td></tr><tr><td id="L679" class="css-a4x74f"><span>679</span></td><td id="LC679" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingRect = clippingParents.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">accRect, clippingParent</span>) </span>{
+</code></td></tr><tr><td id="L680" class="css-a4x74f"><span>680</span></td><td id="LC680" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = getClientRectFromMixedType(element, clippingParent);
+</code></td></tr><tr><td id="L681" class="css-a4x74f"><span>681</span></td><td id="LC681" class="css-1dcdqdg"><code> accRect.top = max(rect.top, accRect.top);
+</code></td></tr><tr><td id="L682" class="css-a4x74f"><span>682</span></td><td id="LC682" class="css-1dcdqdg"><code> accRect.right = min(rect.right, accRect.right);
+</code></td></tr><tr><td id="L683" class="css-a4x74f"><span>683</span></td><td id="LC683" class="css-1dcdqdg"><code> accRect.bottom = min(rect.bottom, accRect.bottom);
+</code></td></tr><tr><td id="L684" class="css-a4x74f"><span>684</span></td><td id="LC684" class="css-1dcdqdg"><code> accRect.left = max(rect.left, accRect.left);
+</code></td></tr><tr><td id="L685" class="css-a4x74f"><span>685</span></td><td id="LC685" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> accRect;
+</code></td></tr><tr><td id="L686" class="css-a4x74f"><span>686</span></td><td id="LC686" class="css-1dcdqdg"><code> }, getClientRectFromMixedType(element, firstClippingParent));
+</code></td></tr><tr><td id="L687" class="css-a4x74f"><span>687</span></td><td id="LC687" class="css-1dcdqdg"><code> clippingRect.width = clippingRect.right - clippingRect.left;
+</code></td></tr><tr><td id="L688" class="css-a4x74f"><span>688</span></td><td id="LC688" class="css-1dcdqdg"><code> clippingRect.height = clippingRect.bottom - clippingRect.top;
+</code></td></tr><tr><td id="L689" class="css-a4x74f"><span>689</span></td><td id="LC689" class="css-1dcdqdg"><code> clippingRect.x = clippingRect.left;
+</code></td></tr><tr><td id="L690" class="css-a4x74f"><span>690</span></td><td id="LC690" class="css-1dcdqdg"><code> clippingRect.y = clippingRect.top;
+</code></td></tr><tr><td id="L691" class="css-a4x74f"><span>691</span></td><td id="LC691" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> clippingRect;
+</code></td></tr><tr><td id="L692" class="css-a4x74f"><span>692</span></td><td id="LC692" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L693" class="css-a4x74f"><span>693</span></td><td id="LC693" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L694" class="css-a4x74f"><span>694</span></td><td id="LC694" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getVariation</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L695" class="css-a4x74f"><span>695</span></td><td id="LC695" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> placement.split(<span class="code-string">'-'</span>)[<span class="code-number">1</span>];
+</code></td></tr><tr><td id="L696" class="css-a4x74f"><span>696</span></td><td id="LC696" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L697" class="css-a4x74f"><span>697</span></td><td id="LC697" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L698" class="css-a4x74f"><span>698</span></td><td id="LC698" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getMainAxisFromPlacement</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L699" class="css-a4x74f"><span>699</span></td><td id="LC699" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [<span class="code-string">'top'</span>, <span class="code-string">'bottom'</span>].indexOf(placement) &gt;= <span class="code-number">0</span> ? <span class="code-string">'x'</span> : <span class="code-string">'y'</span>;
+</code></td></tr><tr><td id="L700" class="css-a4x74f"><span>700</span></td><td id="LC700" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L701" class="css-a4x74f"><span>701</span></td><td id="LC701" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L702" class="css-a4x74f"><span>702</span></td><td id="LC702" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">computeOffsets</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L703" class="css-a4x74f"><span>703</span></td><td id="LC703" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> reference = _ref.reference,
+</code></td></tr><tr><td id="L704" class="css-a4x74f"><span>704</span></td><td id="LC704" class="css-1dcdqdg"><code> element = _ref.element,
+</code></td></tr><tr><td id="L705" class="css-a4x74f"><span>705</span></td><td id="LC705" class="css-1dcdqdg"><code> placement = _ref.placement;
+</code></td></tr><tr><td id="L706" class="css-a4x74f"><span>706</span></td><td id="LC706" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacement = placement ? getBasePlacement(placement) : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L707" class="css-a4x74f"><span>707</span></td><td id="LC707" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> variation = placement ? getVariation(placement) : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L708" class="css-a4x74f"><span>708</span></td><td id="LC708" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonX = reference.x + reference.width / <span class="code-number">2</span> - element.width / <span class="code-number">2</span>;
+</code></td></tr><tr><td id="L709" class="css-a4x74f"><span>709</span></td><td id="LC709" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonY = reference.y + reference.height / <span class="code-number">2</span> - element.height / <span class="code-number">2</span>;
+</code></td></tr><tr><td id="L710" class="css-a4x74f"><span>710</span></td><td id="LC710" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsets;
+</code></td></tr><tr><td id="L711" class="css-a4x74f"><span>711</span></td><td id="LC711" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L712" class="css-a4x74f"><span>712</span></td><td id="LC712" class="css-1dcdqdg"><code> <span class="code-keyword">switch</span> (basePlacement) {
+</code></td></tr><tr><td id="L713" class="css-a4x74f"><span>713</span></td><td id="LC713" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> top:
+</code></td></tr><tr><td id="L714" class="css-a4x74f"><span>714</span></td><td id="LC714" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L715" class="css-a4x74f"><span>715</span></td><td id="LC715" class="css-1dcdqdg"><code> x: commonX,
+</code></td></tr><tr><td id="L716" class="css-a4x74f"><span>716</span></td><td id="LC716" class="css-1dcdqdg"><code> y: reference.y - element.height
+</code></td></tr><tr><td id="L717" class="css-a4x74f"><span>717</span></td><td id="LC717" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L718" class="css-a4x74f"><span>718</span></td><td id="LC718" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L719" class="css-a4x74f"><span>719</span></td><td id="LC719" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L720" class="css-a4x74f"><span>720</span></td><td id="LC720" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> bottom:
+</code></td></tr><tr><td id="L721" class="css-a4x74f"><span>721</span></td><td id="LC721" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L722" class="css-a4x74f"><span>722</span></td><td id="LC722" class="css-1dcdqdg"><code> x: commonX,
+</code></td></tr><tr><td id="L723" class="css-a4x74f"><span>723</span></td><td id="LC723" class="css-1dcdqdg"><code> y: reference.y + reference.height
+</code></td></tr><tr><td id="L724" class="css-a4x74f"><span>724</span></td><td id="LC724" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L725" class="css-a4x74f"><span>725</span></td><td id="LC725" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L726" class="css-a4x74f"><span>726</span></td><td id="LC726" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L727" class="css-a4x74f"><span>727</span></td><td id="LC727" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> right:
+</code></td></tr><tr><td id="L728" class="css-a4x74f"><span>728</span></td><td id="LC728" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L729" class="css-a4x74f"><span>729</span></td><td id="LC729" class="css-1dcdqdg"><code> x: reference.x + reference.width,
+</code></td></tr><tr><td id="L730" class="css-a4x74f"><span>730</span></td><td id="LC730" class="css-1dcdqdg"><code> y: commonY
+</code></td></tr><tr><td id="L731" class="css-a4x74f"><span>731</span></td><td id="LC731" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L732" class="css-a4x74f"><span>732</span></td><td id="LC732" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L733" class="css-a4x74f"><span>733</span></td><td id="LC733" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L734" class="css-a4x74f"><span>734</span></td><td id="LC734" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> left:
+</code></td></tr><tr><td id="L735" class="css-a4x74f"><span>735</span></td><td id="LC735" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L736" class="css-a4x74f"><span>736</span></td><td id="LC736" class="css-1dcdqdg"><code> x: reference.x - element.width,
+</code></td></tr><tr><td id="L737" class="css-a4x74f"><span>737</span></td><td id="LC737" class="css-1dcdqdg"><code> y: commonY
+</code></td></tr><tr><td id="L738" class="css-a4x74f"><span>738</span></td><td id="LC738" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L739" class="css-a4x74f"><span>739</span></td><td id="LC739" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L740" class="css-a4x74f"><span>740</span></td><td id="LC740" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L741" class="css-a4x74f"><span>741</span></td><td id="LC741" class="css-1dcdqdg"><code> <span class="code-keyword">default</span>:
+</code></td></tr><tr><td id="L742" class="css-a4x74f"><span>742</span></td><td id="LC742" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L743" class="css-a4x74f"><span>743</span></td><td id="LC743" class="css-1dcdqdg"><code> x: reference.x,
+</code></td></tr><tr><td id="L744" class="css-a4x74f"><span>744</span></td><td id="LC744" class="css-1dcdqdg"><code> y: reference.y
+</code></td></tr><tr><td id="L745" class="css-a4x74f"><span>745</span></td><td id="LC745" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L746" class="css-a4x74f"><span>746</span></td><td id="LC746" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L747" class="css-a4x74f"><span>747</span></td><td id="LC747" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L748" class="css-a4x74f"><span>748</span></td><td id="LC748" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L749" class="css-a4x74f"><span>749</span></td><td id="LC749" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L750" class="css-a4x74f"><span>750</span></td><td id="LC750" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (mainAxis != <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L751" class="css-a4x74f"><span>751</span></td><td id="LC751" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> len = mainAxis === <span class="code-string">'y'</span> ? <span class="code-string">'height'</span> : <span class="code-string">'width'</span>;
+</code></td></tr><tr><td id="L752" class="css-a4x74f"><span>752</span></td><td id="LC752" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L753" class="css-a4x74f"><span>753</span></td><td id="LC753" class="css-1dcdqdg"><code> <span class="code-keyword">switch</span> (variation) {
+</code></td></tr><tr><td id="L754" class="css-a4x74f"><span>754</span></td><td id="LC754" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> start:
+</code></td></tr><tr><td id="L755" class="css-a4x74f"><span>755</span></td><td id="LC755" class="css-1dcdqdg"><code> offsets[mainAxis] = offsets[mainAxis] - (reference[len] / <span class="code-number">2</span> - element[len] / <span class="code-number">2</span>);
+</code></td></tr><tr><td id="L756" class="css-a4x74f"><span>756</span></td><td id="LC756" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L757" class="css-a4x74f"><span>757</span></td><td id="LC757" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L758" class="css-a4x74f"><span>758</span></td><td id="LC758" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> end:
+</code></td></tr><tr><td id="L759" class="css-a4x74f"><span>759</span></td><td id="LC759" class="css-1dcdqdg"><code> offsets[mainAxis] = offsets[mainAxis] + (reference[len] / <span class="code-number">2</span> - element[len] / <span class="code-number">2</span>);
+</code></td></tr><tr><td id="L760" class="css-a4x74f"><span>760</span></td><td id="LC760" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L761" class="css-a4x74f"><span>761</span></td><td id="LC761" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L762" class="css-a4x74f"><span>762</span></td><td id="LC762" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L763" class="css-a4x74f"><span>763</span></td><td id="LC763" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L764" class="css-a4x74f"><span>764</span></td><td id="LC764" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> offsets;
+</code></td></tr><tr><td id="L765" class="css-a4x74f"><span>765</span></td><td id="LC765" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L766" class="css-a4x74f"><span>766</span></td><td id="LC766" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L767" class="css-a4x74f"><span>767</span></td><td id="LC767" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getFreshSideObject</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L768" class="css-a4x74f"><span>768</span></td><td id="LC768" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L769" class="css-a4x74f"><span>769</span></td><td id="LC769" class="css-1dcdqdg"><code> top: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L770" class="css-a4x74f"><span>770</span></td><td id="LC770" class="css-1dcdqdg"><code> right: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L771" class="css-a4x74f"><span>771</span></td><td id="LC771" class="css-1dcdqdg"><code> bottom: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L772" class="css-a4x74f"><span>772</span></td><td id="LC772" class="css-1dcdqdg"><code> left: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L773" class="css-a4x74f"><span>773</span></td><td id="LC773" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L774" class="css-a4x74f"><span>774</span></td><td id="LC774" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L775" class="css-a4x74f"><span>775</span></td><td id="LC775" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L776" class="css-a4x74f"><span>776</span></td><td id="LC776" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">mergePaddingObject</span>(<span class="code-params">paddingObject</span>) </span>{
+</code></td></tr><tr><td id="L777" class="css-a4x74f"><span>777</span></td><td id="LC777" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, getFreshSideObject(), paddingObject);
+</code></td></tr><tr><td id="L778" class="css-a4x74f"><span>778</span></td><td id="LC778" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L779" class="css-a4x74f"><span>779</span></td><td id="LC779" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L780" class="css-a4x74f"><span>780</span></td><td id="LC780" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">expandToHashMap</span>(<span class="code-params">value, keys</span>) </span>{
+</code></td></tr><tr><td id="L781" class="css-a4x74f"><span>781</span></td><td id="LC781" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> keys.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">hashMap, key</span>) </span>{
+</code></td></tr><tr><td id="L782" class="css-a4x74f"><span>782</span></td><td id="LC782" class="css-1dcdqdg"><code> hashMap[key] = value;
+</code></td></tr><tr><td id="L783" class="css-a4x74f"><span>783</span></td><td id="LC783" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> hashMap;
+</code></td></tr><tr><td id="L784" class="css-a4x74f"><span>784</span></td><td id="LC784" class="css-1dcdqdg"><code> }, {});
+</code></td></tr><tr><td id="L785" class="css-a4x74f"><span>785</span></td><td id="LC785" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L786" class="css-a4x74f"><span>786</span></td><td id="LC786" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L787" class="css-a4x74f"><span>787</span></td><td id="LC787" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">detectOverflow</span>(<span class="code-params">state, options</span>) </span>{
+</code></td></tr><tr><td id="L788" class="css-a4x74f"><span>788</span></td><td id="LC788" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (options === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L789" class="css-a4x74f"><span>789</span></td><td id="LC789" class="css-1dcdqdg"><code> options = {};
+</code></td></tr><tr><td id="L790" class="css-a4x74f"><span>790</span></td><td id="LC790" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L791" class="css-a4x74f"><span>791</span></td><td id="LC791" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L792" class="css-a4x74f"><span>792</span></td><td id="LC792" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options = options,
+</code></td></tr><tr><td id="L793" class="css-a4x74f"><span>793</span></td><td id="LC793" class="css-1dcdqdg"><code> _options$placement = _options.placement,
+</code></td></tr><tr><td id="L794" class="css-a4x74f"><span>794</span></td><td id="LC794" class="css-1dcdqdg"><code> placement = _options$placement === <span class="code-keyword">void</span> <span class="code-number">0</span> ? state.placement : _options$placement,
+</code></td></tr><tr><td id="L795" class="css-a4x74f"><span>795</span></td><td id="LC795" class="css-1dcdqdg"><code> _options$boundary = _options.boundary,
+</code></td></tr><tr><td id="L796" class="css-a4x74f"><span>796</span></td><td id="LC796" class="css-1dcdqdg"><code> boundary = _options$boundary === <span class="code-keyword">void</span> <span class="code-number">0</span> ? clippingParents : _options$boundary,
+</code></td></tr><tr><td id="L797" class="css-a4x74f"><span>797</span></td><td id="LC797" class="css-1dcdqdg"><code> _options$rootBoundary = _options.rootBoundary,
+</code></td></tr><tr><td id="L798" class="css-a4x74f"><span>798</span></td><td id="LC798" class="css-1dcdqdg"><code> rootBoundary = _options$rootBoundary === <span class="code-keyword">void</span> <span class="code-number">0</span> ? viewport : _options$rootBoundary,
+</code></td></tr><tr><td id="L799" class="css-a4x74f"><span>799</span></td><td id="LC799" class="css-1dcdqdg"><code> _options$elementConte = _options.elementContext,
+</code></td></tr><tr><td id="L800" class="css-a4x74f"><span>800</span></td><td id="LC800" class="css-1dcdqdg"><code> elementContext = _options$elementConte === <span class="code-keyword">void</span> <span class="code-number">0</span> ? popper : _options$elementConte,
+</code></td></tr><tr><td id="L801" class="css-a4x74f"><span>801</span></td><td id="LC801" class="css-1dcdqdg"><code> _options$altBoundary = _options.altBoundary,
+</code></td></tr><tr><td id="L802" class="css-a4x74f"><span>802</span></td><td id="LC802" class="css-1dcdqdg"><code> altBoundary = _options$altBoundary === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">false</span> : _options$altBoundary,
+</code></td></tr><tr><td id="L803" class="css-a4x74f"><span>803</span></td><td id="LC803" class="css-1dcdqdg"><code> _options$padding = _options.padding,
+</code></td></tr><tr><td id="L804" class="css-a4x74f"><span>804</span></td><td id="LC804" class="css-1dcdqdg"><code> padding = _options$padding === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-number">0</span> : _options$padding;
+</code></td></tr><tr><td id="L805" class="css-a4x74f"><span>805</span></td><td id="LC805" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> paddingObject = mergePaddingObject(<span class="code-keyword">typeof</span> padding !== <span class="code-string">'number'</span> ? padding : expandToHashMap(padding, basePlacements));
+</code></td></tr><tr><td id="L806" class="css-a4x74f"><span>806</span></td><td id="LC806" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> altContext = elementContext === popper ? reference : popper;
+</code></td></tr><tr><td id="L807" class="css-a4x74f"><span>807</span></td><td id="LC807" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperRect = state.rects.popper;
+</code></td></tr><tr><td id="L808" class="css-a4x74f"><span>808</span></td><td id="LC808" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> element = state.elements[altBoundary ? altContext : elementContext];
+</code></td></tr><tr><td id="L809" class="css-a4x74f"><span>809</span></td><td id="LC809" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
+</code></td></tr><tr><td id="L810" class="css-a4x74f"><span>810</span></td><td id="LC810" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> referenceClientRect = getBoundingClientRect(state.elements.reference);
+</code></td></tr><tr><td id="L811" class="css-a4x74f"><span>811</span></td><td id="LC811" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperOffsets = computeOffsets({
+</code></td></tr><tr><td id="L812" class="css-a4x74f"><span>812</span></td><td id="LC812" class="css-1dcdqdg"><code> reference: referenceClientRect,
+</code></td></tr><tr><td id="L813" class="css-a4x74f"><span>813</span></td><td id="LC813" class="css-1dcdqdg"><code> element: popperRect,
+</code></td></tr><tr><td id="L814" class="css-a4x74f"><span>814</span></td><td id="LC814" class="css-1dcdqdg"><code> strategy: <span class="code-string">'absolute'</span>,
+</code></td></tr><tr><td id="L815" class="css-a4x74f"><span>815</span></td><td id="LC815" class="css-1dcdqdg"><code> placement: placement
+</code></td></tr><tr><td id="L816" class="css-a4x74f"><span>816</span></td><td id="LC816" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L817" class="css-a4x74f"><span>817</span></td><td id="LC817" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperClientRect = rectToClientRect(<span class="code-built_in">Object</span>.assign({}, popperRect, popperOffsets));
+</code></td></tr><tr><td id="L818" class="css-a4x74f"><span>818</span></td><td id="LC818" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; <span class="code-comment">// positive = overflowing the clipping rect</span>
+</code></td></tr><tr><td id="L819" class="css-a4x74f"><span>819</span></td><td id="LC819" class="css-1dcdqdg"><code> <span class="code-comment">// 0 or negative = within the clipping rect</span>
+</code></td></tr><tr><td id="L820" class="css-a4x74f"><span>820</span></td><td id="LC820" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L821" class="css-a4x74f"><span>821</span></td><td id="LC821" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> overflowOffsets = {
+</code></td></tr><tr><td id="L822" class="css-a4x74f"><span>822</span></td><td id="LC822" class="css-1dcdqdg"><code> top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
+</code></td></tr><tr><td id="L823" class="css-a4x74f"><span>823</span></td><td id="LC823" class="css-1dcdqdg"><code> bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
+</code></td></tr><tr><td id="L824" class="css-a4x74f"><span>824</span></td><td id="LC824" class="css-1dcdqdg"><code> left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
+</code></td></tr><tr><td id="L825" class="css-a4x74f"><span>825</span></td><td id="LC825" class="css-1dcdqdg"><code> right: elementClientRect.right - clippingClientRect.right + paddingObject.right
+</code></td></tr><tr><td id="L826" class="css-a4x74f"><span>826</span></td><td id="LC826" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L827" class="css-a4x74f"><span>827</span></td><td id="LC827" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetData = state.modifiersData.offset; <span class="code-comment">// Offsets can be applied only to the popper element</span>
+</code></td></tr><tr><td id="L828" class="css-a4x74f"><span>828</span></td><td id="LC828" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L829" class="css-a4x74f"><span>829</span></td><td id="LC829" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (elementContext === popper &amp;&amp; offsetData) {
+</code></td></tr><tr><td id="L830" class="css-a4x74f"><span>830</span></td><td id="LC830" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offset = offsetData[placement];
+</code></td></tr><tr><td id="L831" class="css-a4x74f"><span>831</span></td><td id="LC831" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(overflowOffsets).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">key</span>) </span>{
+</code></td></tr><tr><td id="L832" class="css-a4x74f"><span>832</span></td><td id="LC832" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> multiply = [right, bottom].indexOf(key) &gt;= <span class="code-number">0</span> ? <span class="code-number">1</span> : <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L833" class="css-a4x74f"><span>833</span></td><td id="LC833" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> axis = [top, bottom].indexOf(key) &gt;= <span class="code-number">0</span> ? <span class="code-string">'y'</span> : <span class="code-string">'x'</span>;
+</code></td></tr><tr><td id="L834" class="css-a4x74f"><span>834</span></td><td id="LC834" class="css-1dcdqdg"><code> overflowOffsets[key] += offset[axis] * multiply;
+</code></td></tr><tr><td id="L835" class="css-a4x74f"><span>835</span></td><td id="LC835" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L836" class="css-a4x74f"><span>836</span></td><td id="LC836" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L837" class="css-a4x74f"><span>837</span></td><td id="LC837" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L838" class="css-a4x74f"><span>838</span></td><td id="LC838" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> overflowOffsets;
+</code></td></tr><tr><td id="L839" class="css-a4x74f"><span>839</span></td><td id="LC839" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L840" class="css-a4x74f"><span>840</span></td><td id="LC840" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L841" class="css-a4x74f"><span>841</span></td><td id="LC841" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> INVALID_ELEMENT_ERROR = <span class="code-string">'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'</span>;
+</code></td></tr><tr><td id="L842" class="css-a4x74f"><span>842</span></td><td id="LC842" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> INFINITE_LOOP_ERROR = <span class="code-string">'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.'</span>;
+</code></td></tr><tr><td id="L843" class="css-a4x74f"><span>843</span></td><td id="LC843" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> DEFAULT_OPTIONS = {
+</code></td></tr><tr><td id="L844" class="css-a4x74f"><span>844</span></td><td id="LC844" class="css-1dcdqdg"><code> placement: <span class="code-string">'bottom'</span>,
+</code></td></tr><tr><td id="L845" class="css-a4x74f"><span>845</span></td><td id="LC845" class="css-1dcdqdg"><code> modifiers: [],
+</code></td></tr><tr><td id="L846" class="css-a4x74f"><span>846</span></td><td id="LC846" class="css-1dcdqdg"><code> strategy: <span class="code-string">'absolute'</span>
+</code></td></tr><tr><td id="L847" class="css-a4x74f"><span>847</span></td><td id="LC847" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L848" class="css-a4x74f"><span>848</span></td><td id="LC848" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L849" class="css-a4x74f"><span>849</span></td><td id="LC849" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">areValidElements</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L850" class="css-a4x74f"><span>850</span></td><td id="LC850" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> _len = <span class="code-built_in">arguments</span>.length, args = <span class="code-keyword">new</span> <span class="code-built_in">Array</span>(_len), _key = <span class="code-number">0</span>; _key &lt; _len; _key++) {
+</code></td></tr><tr><td id="L851" class="css-a4x74f"><span>851</span></td><td id="LC851" class="css-1dcdqdg"><code> args[_key] = <span class="code-built_in">arguments</span>[_key];
+</code></td></tr><tr><td id="L852" class="css-a4x74f"><span>852</span></td><td id="LC852" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L853" class="css-a4x74f"><span>853</span></td><td id="LC853" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L854" class="css-a4x74f"><span>854</span></td><td id="LC854" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> !args.some(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L855" class="css-a4x74f"><span>855</span></td><td id="LC855" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> !(element &amp;&amp; <span class="code-keyword">typeof</span> element.getBoundingClientRect === <span class="code-string">'function'</span>);
+</code></td></tr><tr><td id="L856" class="css-a4x74f"><span>856</span></td><td id="LC856" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L857" class="css-a4x74f"><span>857</span></td><td id="LC857" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L858" class="css-a4x74f"><span>858</span></td><td id="LC858" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L859" class="css-a4x74f"><span>859</span></td><td id="LC859" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">popperGenerator</span>(<span class="code-params">generatorOptions</span>) </span>{
+</code></td></tr><tr><td id="L860" class="css-a4x74f"><span>860</span></td><td id="LC860" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (generatorOptions === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L861" class="css-a4x74f"><span>861</span></td><td id="LC861" class="css-1dcdqdg"><code> generatorOptions = {};
+</code></td></tr><tr><td id="L862" class="css-a4x74f"><span>862</span></td><td id="LC862" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L863" class="css-a4x74f"><span>863</span></td><td id="LC863" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L864" class="css-a4x74f"><span>864</span></td><td id="LC864" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _generatorOptions = generatorOptions,
+</code></td></tr><tr><td id="L865" class="css-a4x74f"><span>865</span></td><td id="LC865" class="css-1dcdqdg"><code> _generatorOptions$def = _generatorOptions.defaultModifiers,
+</code></td></tr><tr><td id="L866" class="css-a4x74f"><span>866</span></td><td id="LC866" class="css-1dcdqdg"><code> defaultModifiers = _generatorOptions$def === <span class="code-keyword">void</span> <span class="code-number">0</span> ? [] : _generatorOptions$def,
+</code></td></tr><tr><td id="L867" class="css-a4x74f"><span>867</span></td><td id="LC867" class="css-1dcdqdg"><code> _generatorOptions$def2 = _generatorOptions.defaultOptions,
+</code></td></tr><tr><td id="L868" class="css-a4x74f"><span>868</span></td><td id="LC868" class="css-1dcdqdg"><code> defaultOptions = _generatorOptions$def2 === <span class="code-keyword">void</span> <span class="code-number">0</span> ? DEFAULT_OPTIONS : _generatorOptions$def2;
+</code></td></tr><tr><td id="L869" class="css-a4x74f"><span>869</span></td><td id="LC869" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">createPopper</span>(<span class="code-params">reference, popper, options</span>) </span>{
+</code></td></tr><tr><td id="L870" class="css-a4x74f"><span>870</span></td><td id="LC870" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (options === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L871" class="css-a4x74f"><span>871</span></td><td id="LC871" class="css-1dcdqdg"><code> options = defaultOptions;
+</code></td></tr><tr><td id="L872" class="css-a4x74f"><span>872</span></td><td id="LC872" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L873" class="css-a4x74f"><span>873</span></td><td id="LC873" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L874" class="css-a4x74f"><span>874</span></td><td id="LC874" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = {
+</code></td></tr><tr><td id="L875" class="css-a4x74f"><span>875</span></td><td id="LC875" class="css-1dcdqdg"><code> placement: <span class="code-string">'bottom'</span>,
+</code></td></tr><tr><td id="L876" class="css-a4x74f"><span>876</span></td><td id="LC876" class="css-1dcdqdg"><code> orderedModifiers: [],
+</code></td></tr><tr><td id="L877" class="css-a4x74f"><span>877</span></td><td id="LC877" class="css-1dcdqdg"><code> options: <span class="code-built_in">Object</span>.assign({}, DEFAULT_OPTIONS, defaultOptions),
+</code></td></tr><tr><td id="L878" class="css-a4x74f"><span>878</span></td><td id="LC878" class="css-1dcdqdg"><code> modifiersData: {},
+</code></td></tr><tr><td id="L879" class="css-a4x74f"><span>879</span></td><td id="LC879" class="css-1dcdqdg"><code> elements: {
+</code></td></tr><tr><td id="L880" class="css-a4x74f"><span>880</span></td><td id="LC880" class="css-1dcdqdg"><code> reference: reference,
+</code></td></tr><tr><td id="L881" class="css-a4x74f"><span>881</span></td><td id="LC881" class="css-1dcdqdg"><code> popper: popper
+</code></td></tr><tr><td id="L882" class="css-a4x74f"><span>882</span></td><td id="LC882" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L883" class="css-a4x74f"><span>883</span></td><td id="LC883" class="css-1dcdqdg"><code> attributes: {},
+</code></td></tr><tr><td id="L884" class="css-a4x74f"><span>884</span></td><td id="LC884" class="css-1dcdqdg"><code> styles: {}
+</code></td></tr><tr><td id="L885" class="css-a4x74f"><span>885</span></td><td id="LC885" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L886" class="css-a4x74f"><span>886</span></td><td id="LC886" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> effectCleanupFns = [];
+</code></td></tr><tr><td id="L887" class="css-a4x74f"><span>887</span></td><td id="LC887" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isDestroyed = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L888" class="css-a4x74f"><span>888</span></td><td id="LC888" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> instance = {
+</code></td></tr><tr><td id="L889" class="css-a4x74f"><span>889</span></td><td id="LC889" class="css-1dcdqdg"><code> state: state,
+</code></td></tr><tr><td id="L890" class="css-a4x74f"><span>890</span></td><td id="LC890" class="css-1dcdqdg"><code> setOptions: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">setOptions</span>(<span class="code-params">setOptionsAction</span>) </span>{
+</code></td></tr><tr><td id="L891" class="css-a4x74f"><span>891</span></td><td id="LC891" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> options = <span class="code-keyword">typeof</span> setOptionsAction === <span class="code-string">'function'</span> ? setOptionsAction(state.options) : setOptionsAction;
+</code></td></tr><tr><td id="L892" class="css-a4x74f"><span>892</span></td><td id="LC892" class="css-1dcdqdg"><code> cleanupModifierEffects();
+</code></td></tr><tr><td id="L893" class="css-a4x74f"><span>893</span></td><td id="LC893" class="css-1dcdqdg"><code> state.options = <span class="code-built_in">Object</span>.assign({}, defaultOptions, state.options, options);
+</code></td></tr><tr><td id="L894" class="css-a4x74f"><span>894</span></td><td id="LC894" class="css-1dcdqdg"><code> state.scrollParents = {
+</code></td></tr><tr><td id="L895" class="css-a4x74f"><span>895</span></td><td id="LC895" class="css-1dcdqdg"><code> reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
+</code></td></tr><tr><td id="L896" class="css-a4x74f"><span>896</span></td><td id="LC896" class="css-1dcdqdg"><code> popper: listScrollParents(popper)
+</code></td></tr><tr><td id="L897" class="css-a4x74f"><span>897</span></td><td id="LC897" class="css-1dcdqdg"><code> }; <span class="code-comment">// Orders the modifiers based on their dependencies and `phase`</span>
+</code></td></tr><tr><td id="L898" class="css-a4x74f"><span>898</span></td><td id="LC898" class="css-1dcdqdg"><code> <span class="code-comment">// properties</span>
+</code></td></tr><tr><td id="L899" class="css-a4x74f"><span>899</span></td><td id="LC899" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L900" class="css-a4x74f"><span>900</span></td><td id="LC900" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); <span class="code-comment">// Strip out disabled modifiers</span>
+</code></td></tr><tr><td id="L901" class="css-a4x74f"><span>901</span></td><td id="LC901" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L902" class="css-a4x74f"><span>902</span></td><td id="LC902" class="css-1dcdqdg"><code> state.orderedModifiers = orderedModifiers.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">m</span>) </span>{
+</code></td></tr><tr><td id="L903" class="css-a4x74f"><span>903</span></td><td id="LC903" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> m.enabled;
+</code></td></tr><tr><td id="L904" class="css-a4x74f"><span>904</span></td><td id="LC904" class="css-1dcdqdg"><code> }); <span class="code-comment">// Validate the provided modifiers so that the consumer will get warned</span>
+</code></td></tr><tr><td id="L905" class="css-a4x74f"><span>905</span></td><td id="LC905" class="css-1dcdqdg"><code> <span class="code-comment">// if one of the modifiers is invalid for any reason</span>
+</code></td></tr><tr><td id="L906" class="css-a4x74f"><span>906</span></td><td id="LC906" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L907" class="css-a4x74f"><span>907</span></td><td id="LC907" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L908" class="css-a4x74f"><span>908</span></td><td id="LC908" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L909" class="css-a4x74f"><span>909</span></td><td id="LC909" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> name = _ref.name;
+</code></td></tr><tr><td id="L910" class="css-a4x74f"><span>910</span></td><td id="LC910" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> name;
+</code></td></tr><tr><td id="L911" class="css-a4x74f"><span>911</span></td><td id="LC911" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L912" class="css-a4x74f"><span>912</span></td><td id="LC912" class="css-1dcdqdg"><code> validateModifiers(modifiers);
+</code></td></tr><tr><td id="L913" class="css-a4x74f"><span>913</span></td><td id="LC913" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L914" class="css-a4x74f"><span>914</span></td><td id="LC914" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getBasePlacement(state.options.placement) === auto) {
+</code></td></tr><tr><td id="L915" class="css-a4x74f"><span>915</span></td><td id="LC915" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> flipModifier = state.orderedModifiers.find(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">_ref2</span>) </span>{
+</code></td></tr><tr><td id="L916" class="css-a4x74f"><span>916</span></td><td id="LC916" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> name = _ref2.name;
+</code></td></tr><tr><td id="L917" class="css-a4x74f"><span>917</span></td><td id="LC917" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> name === <span class="code-string">'flip'</span>;
+</code></td></tr><tr><td id="L918" class="css-a4x74f"><span>918</span></td><td id="LC918" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L919" class="css-a4x74f"><span>919</span></td><td id="LC919" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L920" class="css-a4x74f"><span>920</span></td><td id="LC920" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!flipModifier) {
+</code></td></tr><tr><td id="L921" class="css-a4x74f"><span>921</span></td><td id="LC921" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error([<span class="code-string">'Popper: "auto" placements require the "flip" modifier be'</span>, <span class="code-string">'present and enabled to work.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L922" class="css-a4x74f"><span>922</span></td><td id="LC922" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L923" class="css-a4x74f"><span>923</span></td><td id="LC923" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L924" class="css-a4x74f"><span>924</span></td><td id="LC924" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L925" class="css-a4x74f"><span>925</span></td><td id="LC925" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _getComputedStyle = getComputedStyle(popper),
+</code></td></tr><tr><td id="L926" class="css-a4x74f"><span>926</span></td><td id="LC926" class="css-1dcdqdg"><code> marginTop = _getComputedStyle.marginTop,
+</code></td></tr><tr><td id="L927" class="css-a4x74f"><span>927</span></td><td id="LC927" class="css-1dcdqdg"><code> marginRight = _getComputedStyle.marginRight,
+</code></td></tr><tr><td id="L928" class="css-a4x74f"><span>928</span></td><td id="LC928" class="css-1dcdqdg"><code> marginBottom = _getComputedStyle.marginBottom,
+</code></td></tr><tr><td id="L929" class="css-a4x74f"><span>929</span></td><td id="LC929" class="css-1dcdqdg"><code> marginLeft = _getComputedStyle.marginLeft; <span class="code-comment">// We no longer take into account `margins` on the popper, and it can</span>
+</code></td></tr><tr><td id="L930" class="css-a4x74f"><span>930</span></td><td id="LC930" class="css-1dcdqdg"><code> <span class="code-comment">// cause bugs with positioning, so we'll warn the consumer</span>
+</code></td></tr><tr><td id="L931" class="css-a4x74f"><span>931</span></td><td id="LC931" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L932" class="css-a4x74f"><span>932</span></td><td id="LC932" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L933" class="css-a4x74f"><span>933</span></td><td id="LC933" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> ([marginTop, marginRight, marginBottom, marginLeft].some(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">margin</span>) </span>{
+</code></td></tr><tr><td id="L934" class="css-a4x74f"><span>934</span></td><td id="LC934" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">parseFloat</span>(margin);
+</code></td></tr><tr><td id="L935" class="css-a4x74f"><span>935</span></td><td id="LC935" class="css-1dcdqdg"><code> })) {
+</code></td></tr><tr><td id="L936" class="css-a4x74f"><span>936</span></td><td id="LC936" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.warn([<span class="code-string">'Popper: CSS "margin" styles cannot be used to apply padding'</span>, <span class="code-string">'between the popper and its reference element or boundary.'</span>, <span class="code-string">'To replicate margin, use the `offset` modifier, as well as'</span>, <span class="code-string">'the `padding` option in the `preventOverflow` and `flip`'</span>, <span class="code-string">'modifiers.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L937" class="css-a4x74f"><span>937</span></td><td id="LC937" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L938" class="css-a4x74f"><span>938</span></td><td id="LC938" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L939" class="css-a4x74f"><span>939</span></td><td id="LC939" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L940" class="css-a4x74f"><span>940</span></td><td id="LC940" class="css-1dcdqdg"><code> runModifierEffects();
+</code></td></tr><tr><td id="L941" class="css-a4x74f"><span>941</span></td><td id="LC941" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> instance.update();
+</code></td></tr><tr><td id="L942" class="css-a4x74f"><span>942</span></td><td id="LC942" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L943" class="css-a4x74f"><span>943</span></td><td id="LC943" class="css-1dcdqdg"><code> <span class="code-comment">// Sync update – it will always be executed, even if not necessary. This</span>
+</code></td></tr><tr><td id="L944" class="css-a4x74f"><span>944</span></td><td id="LC944" class="css-1dcdqdg"><code> <span class="code-comment">// is useful for low frequency updates where sync behavior simplifies the</span>
+</code></td></tr><tr><td id="L945" class="css-a4x74f"><span>945</span></td><td id="LC945" class="css-1dcdqdg"><code> <span class="code-comment">// logic.</span>
+</code></td></tr><tr><td id="L946" class="css-a4x74f"><span>946</span></td><td id="LC946" class="css-1dcdqdg"><code> <span class="code-comment">// For high frequency updates (e.g. `resize` and `scroll` events), always</span>
+</code></td></tr><tr><td id="L947" class="css-a4x74f"><span>947</span></td><td id="LC947" class="css-1dcdqdg"><code> <span class="code-comment">// prefer the async Popper#update method</span>
+</code></td></tr><tr><td id="L948" class="css-a4x74f"><span>948</span></td><td id="LC948" class="css-1dcdqdg"><code> forceUpdate: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">forceUpdate</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L949" class="css-a4x74f"><span>949</span></td><td id="LC949" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isDestroyed) {
+</code></td></tr><tr><td id="L950" class="css-a4x74f"><span>950</span></td><td id="LC950" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L951" class="css-a4x74f"><span>951</span></td><td id="LC951" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L952" class="css-a4x74f"><span>952</span></td><td id="LC952" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L953" class="css-a4x74f"><span>953</span></td><td id="LC953" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _state$elements = state.elements,
+</code></td></tr><tr><td id="L954" class="css-a4x74f"><span>954</span></td><td id="LC954" class="css-1dcdqdg"><code> reference = _state$elements.reference,
+</code></td></tr><tr><td id="L955" class="css-a4x74f"><span>955</span></td><td id="LC955" class="css-1dcdqdg"><code> popper = _state$elements.popper; <span class="code-comment">// Don't proceed if `reference` or `popper` are not valid elements</span>
+</code></td></tr><tr><td id="L956" class="css-a4x74f"><span>956</span></td><td id="LC956" class="css-1dcdqdg"><code> <span class="code-comment">// anymore</span>
+</code></td></tr><tr><td id="L957" class="css-a4x74f"><span>957</span></td><td id="LC957" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L958" class="css-a4x74f"><span>958</span></td><td id="LC958" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!areValidElements(reference, popper)) {
+</code></td></tr><tr><td id="L959" class="css-a4x74f"><span>959</span></td><td id="LC959" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L960" class="css-a4x74f"><span>960</span></td><td id="LC960" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(INVALID_ELEMENT_ERROR);
+</code></td></tr><tr><td id="L961" class="css-a4x74f"><span>961</span></td><td id="LC961" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L962" class="css-a4x74f"><span>962</span></td><td id="LC962" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L963" class="css-a4x74f"><span>963</span></td><td id="LC963" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L964" class="css-a4x74f"><span>964</span></td><td id="LC964" class="css-1dcdqdg"><code> } <span class="code-comment">// Store the reference and popper rects to be read by modifiers</span>
+</code></td></tr><tr><td id="L965" class="css-a4x74f"><span>965</span></td><td id="LC965" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L966" class="css-a4x74f"><span>966</span></td><td id="LC966" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L967" class="css-a4x74f"><span>967</span></td><td id="LC967" class="css-1dcdqdg"><code> state.rects = {
+</code></td></tr><tr><td id="L968" class="css-a4x74f"><span>968</span></td><td id="LC968" class="css-1dcdqdg"><code> reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === <span class="code-string">'fixed'</span>),
+</code></td></tr><tr><td id="L969" class="css-a4x74f"><span>969</span></td><td id="LC969" class="css-1dcdqdg"><code> popper: getLayoutRect(popper)
+</code></td></tr><tr><td id="L970" class="css-a4x74f"><span>970</span></td><td id="LC970" class="css-1dcdqdg"><code> }; <span class="code-comment">// Modifiers have the ability to reset the current update cycle. The</span>
+</code></td></tr><tr><td id="L971" class="css-a4x74f"><span>971</span></td><td id="LC971" class="css-1dcdqdg"><code> <span class="code-comment">// most common use case for this is the `flip` modifier changing the</span>
+</code></td></tr><tr><td id="L972" class="css-a4x74f"><span>972</span></td><td id="LC972" class="css-1dcdqdg"><code> <span class="code-comment">// placement, which then needs to re-run all the modifiers, because the</span>
+</code></td></tr><tr><td id="L973" class="css-a4x74f"><span>973</span></td><td id="LC973" class="css-1dcdqdg"><code> <span class="code-comment">// logic was previously ran for the previous placement and is therefore</span>
+</code></td></tr><tr><td id="L974" class="css-a4x74f"><span>974</span></td><td id="LC974" class="css-1dcdqdg"><code> <span class="code-comment">// stale/incorrect</span>
+</code></td></tr><tr><td id="L975" class="css-a4x74f"><span>975</span></td><td id="LC975" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L976" class="css-a4x74f"><span>976</span></td><td id="LC976" class="css-1dcdqdg"><code> state.reset = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L977" class="css-a4x74f"><span>977</span></td><td id="LC977" class="css-1dcdqdg"><code> state.placement = state.options.placement; <span class="code-comment">// On each update cycle, the `modifiersData` property for each modifier</span>
+</code></td></tr><tr><td id="L978" class="css-a4x74f"><span>978</span></td><td id="LC978" class="css-1dcdqdg"><code> <span class="code-comment">// is filled with the initial data specified by the modifier. This means</span>
+</code></td></tr><tr><td id="L979" class="css-a4x74f"><span>979</span></td><td id="LC979" class="css-1dcdqdg"><code> <span class="code-comment">// it doesn't persist and is fresh on each update.</span>
+</code></td></tr><tr><td id="L980" class="css-a4x74f"><span>980</span></td><td id="LC980" class="css-1dcdqdg"><code> <span class="code-comment">// To ensure persistent data, use `${name}#persistent`</span>
+</code></td></tr><tr><td id="L981" class="css-a4x74f"><span>981</span></td><td id="LC981" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L982" class="css-a4x74f"><span>982</span></td><td id="LC982" class="css-1dcdqdg"><code> state.orderedModifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L983" class="css-a4x74f"><span>983</span></td><td id="LC983" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> state.modifiersData[modifier.name] = <span class="code-built_in">Object</span>.assign({}, modifier.data);
+</code></td></tr><tr><td id="L984" class="css-a4x74f"><span>984</span></td><td id="LC984" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L985" class="css-a4x74f"><span>985</span></td><td id="LC985" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> __debug_loops__ = <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L986" class="css-a4x74f"><span>986</span></td><td id="LC986" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L987" class="css-a4x74f"><span>987</span></td><td id="LC987" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> index = <span class="code-number">0</span>; index &lt; state.orderedModifiers.length; index++) {
+</code></td></tr><tr><td id="L988" class="css-a4x74f"><span>988</span></td><td id="LC988" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L989" class="css-a4x74f"><span>989</span></td><td id="LC989" class="css-1dcdqdg"><code> __debug_loops__ += <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L990" class="css-a4x74f"><span>990</span></td><td id="LC990" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L991" class="css-a4x74f"><span>991</span></td><td id="LC991" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (__debug_loops__ &gt; <span class="code-number">100</span>) {
+</code></td></tr><tr><td id="L992" class="css-a4x74f"><span>992</span></td><td id="LC992" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(INFINITE_LOOP_ERROR);
+</code></td></tr><tr><td id="L993" class="css-a4x74f"><span>993</span></td><td id="LC993" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L994" class="css-a4x74f"><span>994</span></td><td id="LC994" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L995" class="css-a4x74f"><span>995</span></td><td id="LC995" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L996" class="css-a4x74f"><span>996</span></td><td id="LC996" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L997" class="css-a4x74f"><span>997</span></td><td id="LC997" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.reset === <span class="code-literal">true</span>) {
+</code></td></tr><tr><td id="L998" class="css-a4x74f"><span>998</span></td><td id="LC998" class="css-1dcdqdg"><code> state.reset = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L999" class="css-a4x74f"><span>999</span></td><td id="LC999" class="css-1dcdqdg"><code> index = <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L1000" class="css-a4x74f"><span>1000</span></td><td id="LC1000" class="css-1dcdqdg"><code> <span class="code-keyword">continue</span>;
+</code></td></tr><tr><td id="L1001" class="css-a4x74f"><span>1001</span></td><td id="LC1001" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1002" class="css-a4x74f"><span>1002</span></td><td id="LC1002" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1003" class="css-a4x74f"><span>1003</span></td><td id="LC1003" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _state$orderedModifie = state.orderedModifiers[index],
+</code></td></tr><tr><td id="L1004" class="css-a4x74f"><span>1004</span></td><td id="LC1004" class="css-1dcdqdg"><code> fn = _state$orderedModifie.fn,
+</code></td></tr><tr><td id="L1005" class="css-a4x74f"><span>1005</span></td><td id="LC1005" class="css-1dcdqdg"><code> _state$orderedModifie2 = _state$orderedModifie.options,
+</code></td></tr><tr><td id="L1006" class="css-a4x74f"><span>1006</span></td><td id="LC1006" class="css-1dcdqdg"><code> _options = _state$orderedModifie2 === <span class="code-keyword">void</span> <span class="code-number">0</span> ? {} : _state$orderedModifie2,
+</code></td></tr><tr><td id="L1007" class="css-a4x74f"><span>1007</span></td><td id="LC1007" class="css-1dcdqdg"><code> name = _state$orderedModifie.name;
+</code></td></tr><tr><td id="L1008" class="css-a4x74f"><span>1008</span></td><td id="LC1008" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1009" class="css-a4x74f"><span>1009</span></td><td id="LC1009" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> fn === <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L1010" class="css-a4x74f"><span>1010</span></td><td id="LC1010" class="css-1dcdqdg"><code> state = fn({
+</code></td></tr><tr><td id="L1011" class="css-a4x74f"><span>1011</span></td><td id="LC1011" class="css-1dcdqdg"><code> state: state,
+</code></td></tr><tr><td id="L1012" class="css-a4x74f"><span>1012</span></td><td id="LC1012" class="css-1dcdqdg"><code> options: _options,
+</code></td></tr><tr><td id="L1013" class="css-a4x74f"><span>1013</span></td><td id="LC1013" class="css-1dcdqdg"><code> name: name,
+</code></td></tr><tr><td id="L1014" class="css-a4x74f"><span>1014</span></td><td id="LC1014" class="css-1dcdqdg"><code> instance: instance
+</code></td></tr><tr><td id="L1015" class="css-a4x74f"><span>1015</span></td><td id="LC1015" class="css-1dcdqdg"><code> }) || state;
+</code></td></tr><tr><td id="L1016" class="css-a4x74f"><span>1016</span></td><td id="LC1016" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1017" class="css-a4x74f"><span>1017</span></td><td id="LC1017" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1018" class="css-a4x74f"><span>1018</span></td><td id="LC1018" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L1019" class="css-a4x74f"><span>1019</span></td><td id="LC1019" class="css-1dcdqdg"><code> <span class="code-comment">// Async and optimistically optimized update – it will not be executed if</span>
+</code></td></tr><tr><td id="L1020" class="css-a4x74f"><span>1020</span></td><td id="LC1020" class="css-1dcdqdg"><code> <span class="code-comment">// not necessary (debounced to run at most once-per-tick)</span>
+</code></td></tr><tr><td id="L1021" class="css-a4x74f"><span>1021</span></td><td id="LC1021" class="css-1dcdqdg"><code> update: debounce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1022" class="css-a4x74f"><span>1022</span></td><td id="LC1022" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-keyword">new</span> <span class="code-built_in">Promise</span>(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">resolve</span>) </span>{
+</code></td></tr><tr><td id="L1023" class="css-a4x74f"><span>1023</span></td><td id="LC1023" class="css-1dcdqdg"><code> instance.forceUpdate();
+</code></td></tr><tr><td id="L1024" class="css-a4x74f"><span>1024</span></td><td id="LC1024" class="css-1dcdqdg"><code> resolve(state);
+</code></td></tr><tr><td id="L1025" class="css-a4x74f"><span>1025</span></td><td id="LC1025" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1026" class="css-a4x74f"><span>1026</span></td><td id="LC1026" class="css-1dcdqdg"><code> }),
+</code></td></tr><tr><td id="L1027" class="css-a4x74f"><span>1027</span></td><td id="LC1027" class="css-1dcdqdg"><code> destroy: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">destroy</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1028" class="css-a4x74f"><span>1028</span></td><td id="LC1028" class="css-1dcdqdg"><code> cleanupModifierEffects();
+</code></td></tr><tr><td id="L1029" class="css-a4x74f"><span>1029</span></td><td id="LC1029" class="css-1dcdqdg"><code> isDestroyed = <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L1030" class="css-a4x74f"><span>1030</span></td><td id="LC1030" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1031" class="css-a4x74f"><span>1031</span></td><td id="LC1031" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1032" class="css-a4x74f"><span>1032</span></td><td id="LC1032" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1033" class="css-a4x74f"><span>1033</span></td><td id="LC1033" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!areValidElements(reference, popper)) {
+</code></td></tr><tr><td id="L1034" class="css-a4x74f"><span>1034</span></td><td id="LC1034" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L1035" class="css-a4x74f"><span>1035</span></td><td id="LC1035" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(INVALID_ELEMENT_ERROR);
+</code></td></tr><tr><td id="L1036" class="css-a4x74f"><span>1036</span></td><td id="LC1036" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1037" class="css-a4x74f"><span>1037</span></td><td id="LC1037" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1038" class="css-a4x74f"><span>1038</span></td><td id="LC1038" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> instance;
+</code></td></tr><tr><td id="L1039" class="css-a4x74f"><span>1039</span></td><td id="LC1039" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1040" class="css-a4x74f"><span>1040</span></td><td id="LC1040" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1041" class="css-a4x74f"><span>1041</span></td><td id="LC1041" class="css-1dcdqdg"><code> instance.setOptions(options).then(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">state</span>) </span>{
+</code></td></tr><tr><td id="L1042" class="css-a4x74f"><span>1042</span></td><td id="LC1042" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isDestroyed &amp;&amp; options.onFirstUpdate) {
+</code></td></tr><tr><td id="L1043" class="css-a4x74f"><span>1043</span></td><td id="LC1043" class="css-1dcdqdg"><code> options.onFirstUpdate(state);
+</code></td></tr><tr><td id="L1044" class="css-a4x74f"><span>1044</span></td><td id="LC1044" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1045" class="css-a4x74f"><span>1045</span></td><td id="LC1045" class="css-1dcdqdg"><code> }); <span class="code-comment">// Modifiers have the ability to execute arbitrary code before the first</span>
+</code></td></tr><tr><td id="L1046" class="css-a4x74f"><span>1046</span></td><td id="LC1046" class="css-1dcdqdg"><code> <span class="code-comment">// update cycle runs. They will be executed in the same order as the update</span>
+</code></td></tr><tr><td id="L1047" class="css-a4x74f"><span>1047</span></td><td id="LC1047" class="css-1dcdqdg"><code> <span class="code-comment">// cycle. This is useful when a modifier adds some persistent data that</span>
+</code></td></tr><tr><td id="L1048" class="css-a4x74f"><span>1048</span></td><td id="LC1048" class="css-1dcdqdg"><code> <span class="code-comment">// other modifiers need to use, but the modifier is run after the dependent</span>
+</code></td></tr><tr><td id="L1049" class="css-a4x74f"><span>1049</span></td><td id="LC1049" class="css-1dcdqdg"><code> <span class="code-comment">// one.</span>
+</code></td></tr><tr><td id="L1050" class="css-a4x74f"><span>1050</span></td><td id="LC1050" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1051" class="css-a4x74f"><span>1051</span></td><td id="LC1051" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">runModifierEffects</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1052" class="css-a4x74f"><span>1052</span></td><td id="LC1052" class="css-1dcdqdg"><code> state.orderedModifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">_ref3</span>) </span>{
+</code></td></tr><tr><td id="L1053" class="css-a4x74f"><span>1053</span></td><td id="LC1053" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> name = _ref3.name,
+</code></td></tr><tr><td id="L1054" class="css-a4x74f"><span>1054</span></td><td id="LC1054" class="css-1dcdqdg"><code> _ref3$options = _ref3.options,
+</code></td></tr><tr><td id="L1055" class="css-a4x74f"><span>1055</span></td><td id="LC1055" class="css-1dcdqdg"><code> options = _ref3$options === <span class="code-keyword">void</span> <span class="code-number">0</span> ? {} : _ref3$options,
+</code></td></tr><tr><td id="L1056" class="css-a4x74f"><span>1056</span></td><td id="LC1056" class="css-1dcdqdg"><code> effect = _ref3.effect;
+</code></td></tr><tr><td id="L1057" class="css-a4x74f"><span>1057</span></td><td id="LC1057" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1058" class="css-a4x74f"><span>1058</span></td><td id="LC1058" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> effect === <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L1059" class="css-a4x74f"><span>1059</span></td><td id="LC1059" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> cleanupFn = effect({
+</code></td></tr><tr><td id="L1060" class="css-a4x74f"><span>1060</span></td><td id="LC1060" class="css-1dcdqdg"><code> state: state,
+</code></td></tr><tr><td id="L1061" class="css-a4x74f"><span>1061</span></td><td id="LC1061" class="css-1dcdqdg"><code> name: name,
+</code></td></tr><tr><td id="L1062" class="css-a4x74f"><span>1062</span></td><td id="LC1062" class="css-1dcdqdg"><code> instance: instance,
+</code></td></tr><tr><td id="L1063" class="css-a4x74f"><span>1063</span></td><td id="LC1063" class="css-1dcdqdg"><code> options: options
+</code></td></tr><tr><td id="L1064" class="css-a4x74f"><span>1064</span></td><td id="LC1064" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1065" class="css-a4x74f"><span>1065</span></td><td id="LC1065" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1066" class="css-a4x74f"><span>1066</span></td><td id="LC1066" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> noopFn = <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">noopFn</span>(<span class="code-params"></span>) </span>{};
+</code></td></tr><tr><td id="L1067" class="css-a4x74f"><span>1067</span></td><td id="LC1067" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1068" class="css-a4x74f"><span>1068</span></td><td id="LC1068" class="css-1dcdqdg"><code> effectCleanupFns.push(cleanupFn || noopFn);
+</code></td></tr><tr><td id="L1069" class="css-a4x74f"><span>1069</span></td><td id="LC1069" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1070" class="css-a4x74f"><span>1070</span></td><td id="LC1070" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1071" class="css-a4x74f"><span>1071</span></td><td id="LC1071" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1072" class="css-a4x74f"><span>1072</span></td><td id="LC1072" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1073" class="css-a4x74f"><span>1073</span></td><td id="LC1073" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">cleanupModifierEffects</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1074" class="css-a4x74f"><span>1074</span></td><td id="LC1074" class="css-1dcdqdg"><code> effectCleanupFns.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">fn</span>) </span>{
+</code></td></tr><tr><td id="L1075" class="css-a4x74f"><span>1075</span></td><td id="LC1075" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> fn();
+</code></td></tr><tr><td id="L1076" class="css-a4x74f"><span>1076</span></td><td id="LC1076" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1077" class="css-a4x74f"><span>1077</span></td><td id="LC1077" class="css-1dcdqdg"><code> effectCleanupFns = [];
+</code></td></tr><tr><td id="L1078" class="css-a4x74f"><span>1078</span></td><td id="LC1078" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1079" class="css-a4x74f"><span>1079</span></td><td id="LC1079" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1080" class="css-a4x74f"><span>1080</span></td><td id="LC1080" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> instance;
+</code></td></tr><tr><td id="L1081" class="css-a4x74f"><span>1081</span></td><td id="LC1081" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1082" class="css-a4x74f"><span>1082</span></td><td id="LC1082" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1083" class="css-a4x74f"><span>1083</span></td><td id="LC1083" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> createPopper = <span class="code-comment">/*#__PURE__*/</span>popperGenerator(); <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1084" class="css-a4x74f"><span>1084</span></td><td id="LC1084" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1085" class="css-a4x74f"><span>1085</span></td><td id="LC1085" class="css-1dcdqdg"><code> exports.createPopper = createPopper;
+</code></td></tr><tr><td id="L1086" class="css-a4x74f"><span>1086</span></td><td id="LC1086" class="css-1dcdqdg"><code> exports.detectOverflow = detectOverflow;
+</code></td></tr><tr><td id="L1087" class="css-a4x74f"><span>1087</span></td><td id="LC1087" class="css-1dcdqdg"><code> exports.popperGenerator = popperGenerator;
+</code></td></tr><tr><td id="L1088" class="css-a4x74f"><span>1088</span></td><td id="LC1088" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1089" class="css-a4x74f"><span>1089</span></td><td id="LC1089" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.defineProperty(exports, <span class="code-string">'__esModule'</span>, { <span class="code-attr">value</span>: <span class="code-literal">true</span> });
+</code></td></tr><tr><td id="L1090" class="css-a4x74f"><span>1090</span></td><td id="LC1090" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1091" class="css-a4x74f"><span>1091</span></td><td id="LC1091" class="css-1dcdqdg"><code>})));
+</code></td></tr><tr><td id="L1092" class="css-a4x74f"><span>1092</span></td><td id="LC1092" class="css-1dcdqdg"><code><span class="code-comment">//# sourceMappingURL=popper-base.js.map</span>
+</code></td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper-base.js.map b/web/_static/popperjs/popper-base.js.map
new file mode 100644
index 0000000..8b16a9e
--- /dev/null
+++ b/web/_static/popperjs/popper-base.js.map
@@ -0,0 +1,65 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:29.638Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-base.js.map","target":{"path":"/dist/umd/popper-base.js.map","type":"file","details":{"contentType":"application/json","integrity":"sha384-dmSDSdURvoGRifuRJASxDDBy9ZF9ZXXA1lUQvrDocuCEs0NRAW1eGIvUk5Px0fbA","language":"Source Map (JSON)","size":85503,"uri":null,"highlights":["{<span class=\"code-attr\">\"version\"</span>:<span class=\"code-number\">3</span>,<span class=\"code-attr\">\"file\"</span>:<span class=\"code-string\">\"popper-base.js\"</span>,<span class=\"code-attr\">\"sources\"</span>:[<span class=\"code-string\">\"../../src/dom-utils/getWindow.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/instanceOf.js\"</span>,<span class=\"code-string\">\"../../src/utils/math.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getBoundingClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getHTMLElementScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScrollBarX.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getComputedStyle.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getCompositeRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getLayoutRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getParentNode.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/listScrollParents.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isTableElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getOffsetParent.js\"</span>,<span class=\"code-string\">\"../../src/enums.js\"</span>,<span class=\"code-string\">\"../../src/utils/orderModifiers.js\"</span>,<span class=\"code-string\">\"../../src/utils/debounce.js\"</span>,<span class=\"code-string\">\"../../src/utils/format.js\"</span>,<span class=\"code-string\">\"../../src/utils/validateModifiers.js\"</span>,<span class=\"code-string\">\"../../src/utils/uniqueBy.js\"</span>,<span class=\"code-string\">\"../../src/utils/getBasePlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergeByName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getViewportRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/contains.js\"</span>,<span class=\"code-string\">\"../../src/utils/rectToClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getClippingRect.js\"</span>,<span class=\"code-string\">\"../../src/utils/getVariation.js\"</span>,<span class=\"code-string\">\"../../src/utils/getMainAxisFromPlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/computeOffsets.js\"</span>,<span class=\"code-string\">\"../../src/utils/getFreshSideObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergePaddingObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/expandToHashMap.js\"</span>,<span class=\"code-string\">\"../../src/utils/detectOverflow.js\"</span>,<span class=\"code-string\">\"../../src/createPopper.js\"</span>],<span class=\"code-attr\">\"sourcesContent\"</span>:[<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\ndeclare function getWindow(node: Node | Window): Window;\\n\\nexport default function getWindow(node) {\\n if (node == null) {\\n return window;\\n }\\n\\n if (node.toString() !== '[object Window]') {\\n const ownerDocument = node.ownerDocument;\\n return ownerDocument ? ownerDocument.defaultView || window : window;\\n }\\n\\n return node;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\\n Element);\\nfunction isElement(node) {\\n const OwnElement = getWindow(node).Element;\\n return node instanceof OwnElement || node instanceof Element;\\n}\\n\\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\\n HTMLElement);\\nfunction isHTMLElement(node) {\\n const OwnElement = getWindow(node).HTMLElement;\\n return node instanceof OwnElement || node instanceof HTMLElement;\\n}\\n\\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\\n ShadowRoot);\\nfunction isShadowRoot(node) {\\n // IE 11 has no ShadowRoot\\n if (typeof ShadowRoot === 'undefined') {\\n return false;\\n }\\n const OwnElement = getWindow(node).ShadowRoot;\\n return node instanceof OwnElement || node instanceof ShadowRoot;\\n}\\n\\nexport { isElement, isHTMLElement, isShadowRoot };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const max = Math.max;\\nexport const min = Math.min;\\nexport const round = Math.round;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject, VirtualElement } from '../types';\\nimport { isHTMLElement } from './instanceOf';\\nimport { round } from '../utils/math';\\n\\nexport default function getBoundingClientRect(\\n element: Element | VirtualElement,\\n includeScale: boolean = false\\n): ClientRectObject {\\n const rect = element.getBoundingClientRect();\\n let scaleX = 1;\\n let scaleY = 1;\\n\\n if (isHTMLElement(element) &amp;&amp; includeScale) {\\n const offsetHeight = element.offsetHeight;\\n const offsetWidth = element.offsetWidth;\\n\\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\\n // Fallback to 1 in case both values are `0`\\n if (offsetWidth &gt; 0) {\\n scaleX = round(rect.width) / offsetWidth || 1;\\n }\\n if (offsetHeight &gt; 0) {\\n scaleY = round(rect.height) / offsetHeight || 1;\\n }\\n }\\n\\n return {\\n width: rect.width / scaleX,\\n height: rect.height / scaleY,\\n top: rect.top / scaleY,\\n right: rect.right / scaleX,\\n bottom: rect.bottom / scaleY,\\n left: rect.left / scaleX,\\n x: rect.left / scaleX,\\n y: rect.top / scaleY,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport type { Window } from '../types';\\n\\nexport default function getWindowScroll(node: Node | Window) {\\n const win = getWindow(node);\\n const scrollLeft = win.pageXOffset;\\n const scrollTop = win.pageYOffset;\\n\\n return {\\n scrollLeft,\\n scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function getHTMLElementScroll(element: HTMLElement) {\\n return {\\n scrollLeft: element.scrollLeft,\\n scrollTop: element.scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindowScroll from './getWindowScroll';\\nimport getWindow from './getWindow';\\nimport { isHTMLElement } from './instanceOf';\\nimport getHTMLElementScroll from './getHTMLElementScroll';\\nimport type { Window } from '../types';\\n\\nexport default function getNodeScroll(node: Node | Window) {\\n if (node === getWindow(node) || !isHTMLElement(node)) {\\n return getWindowScroll(node);\\n } else {\\n return getHTMLElementScroll(node);\\n }\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\n\\nexport default function getNodeName(element: ?Node | Window): ?string {\\n return element ? (element.nodeName || '').toLowerCase() : null;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isElement } from './instanceOf';\\nimport type { Window } from '../types';\\n\\nexport default function getDocumentElement(\\n element: Element | Window\\n): HTMLElement {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return (\\n (isElement(element)\\n ? element.ownerDocument\\n : // $FlowFixMe[prop-missing]\\n element.document) || window.document\\n ).documentElement;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScroll from './getWindowScroll';\\n\\nexport default function getWindowScrollBarX(element: Element): number {\\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\\n // incorrect for RTL.\\n // Popper 1 is broken in this case and never had a bug report so let's assume\\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\\n // anyway.\\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\\n // this (e.g. Edge 2019, IE11, Safari)\\n return (\\n getBoundingClientRect(getDocumentElement(element)).left +\\n getWindowScroll(element).scrollLeft\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\nexport default function getComputedStyle(\\n element: Element\\n): CSSStyleDeclaration {\\n return getWindow(element).getComputedStyle(element);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getComputedStyle from './getComputedStyle';\\n\\nexport default function isScrollParent(element: HTMLElement): boolean {\\n // Firefox wants us to check `-x` and `-y` variations as well\\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, VirtualElement, Window } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getNodeScroll from './getNodeScroll';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getDocumentElement from './getDocumentElement';\\nimport isScrollParent from './isScrollParent';\\nimport { round } from '../utils/math';\\n\\nfunction isElementScaled(element: HTMLElement) {\\n const rect = element.getBoundingClientRect();\\n const scaleX = round(rect.width) / element.offsetWidth || 1;\\n const scaleY = round(rect.height) / element.offsetHeight || 1;\\n\\n return scaleX !== 1 || scaleY !== 1;\\n}\\n\\n// Returns the composite rect of an element relative to its offsetParent.\\n// Composite means it takes into account transforms as well as layout.\\nexport default function getCompositeRect(\\n elementOrVirtualElement: Element | VirtualElement,\\n offsetParent: Element | Window,\\n isFixed: boolean = false\\n): Rect {\\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\\n const offsetParentIsScaled =\\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\\n const documentElement = getDocumentElement(offsetParent);\\n const rect = getBoundingClientRect(\\n elementOrVirtualElement,\\n offsetParentIsScaled\\n );\\n\\n let scroll = { scrollLeft: 0, scrollTop: 0 };\\n let offsets = { x: 0, y: 0 };\\n\\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\\n if (\\n getNodeName(offsetParent) !== 'body' ||\\n // https://github.com/popperjs/popper-core/issues/1078\\n isScrollParent(documentElement)\\n ) {\\n scroll = getNodeScroll(offsetParent);\\n }\\n\\n if (isHTMLElement(offsetParent)) {\\n offsets = getBoundingClientRect(offsetParent, true);\\n offsets.x += offsetParent.clientLeft;\\n offsets.y += offsetParent.clientTop;\\n } else if (documentElement) {\\n offsets.x = getWindowScrollBarX(documentElement);\\n }\\n }\\n\\n return {\\n x: rect.left + scroll.scrollLeft - offsets.x,\\n y: rect.top + scroll.scrollTop - offsets.y,\\n width: rect.width,\\n height: rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\n\\n// Returns the layout rect of an element relative to its offsetParent. Layout\\n// means it doesn't take into account transforms.\\nexport default function getLayoutRect(element: HTMLElement): Rect {\\n const clientRect = getBoundingClientRect(element);\\n\\n // Use the clientRect sizes if it's not been transformed.\\n // Fixes https://github.com/popperjs/popper-core/issues/1223\\n let width = element.offsetWidth;\\n let height = element.offsetHeight;\\n\\n if (Math.abs(clientRect.width - width) &lt;= 1) {\\n width = clientRect.width;\\n }\\n\\n if (Math.abs(clientRect.height - height) &lt;= 1) {\\n height = clientRect.height;\\n }\\n\\n return {\\n x: element.offsetLeft,\\n y: element.offsetTop,\\n width,\\n height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\nimport getDocumentElement from './getDocumentElement';\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function getParentNode(element: Node | ShadowRoot): Node {\\n if (getNodeName(element) === 'html') {\\n return element;\\n }\\n\\n return (\\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\\n // $FlowFixMe[incompatible-return]\\n // $FlowFixMe[prop-missing]\\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\\n element.parentNode || // DOM Element detected\\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\\n getDocumentElement(element) // fallback\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getParentNode from './getParentNode';\\nimport isScrollParent from './isScrollParent';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\n\\nexport default function getScrollParent(node: Node): HTMLElement {\\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return node.ownerDocument.body;\\n }\\n\\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\\n return node;\\n }\\n\\n return getScrollParent(getParentNode(node));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getScrollParent from './getScrollParent';\\nimport getParentNode from './getParentNode';\\nimport getWindow from './getWindow';\\nimport type { Window, VisualViewport } from '../types';\\nimport isScrollParent from './isScrollParent';\\n\\n/*\\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\\nuntil we get to the top window object. This list is what we attach scroll listeners\\nto, because if any of these parent elements scroll, we'll need to re-calculate the\\nreference element's position.\\n*/\\nexport default function listScrollParents(\\n element: Node,\\n list: Array&lt;Element | Window&gt; = []\\n): Array&lt;Element | Window | VisualViewport&gt; {\\n const scrollParent = getScrollParent(element);\\n const isBody = scrollParent === element.ownerDocument?.body;\\n const win = getWindow(scrollParent);\\n const target = isBody\\n ? [win].concat(\\n win.visualViewport || [],\\n isScrollParent(scrollParent) ? scrollParent : []\\n )\\n : scrollParent;\\n const updatedList = list.concat(target);\\n\\n return isBody\\n ? updatedList\\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\\n updatedList.concat(listScrollParents(getParentNode(target)));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\n\\nexport default function isTableElement(element: Element): boolean {\\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getNodeName from './getNodeName';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\\nimport isTableElement from './isTableElement';\\nimport getParentNode from './getParentNode';\\n\\nfunction getTrueOffsetParent(element: Element): ?Element {\\n if (\\n !isHTMLElement(element) ||\\n // https://github.com/popperjs/popper-core/issues/837\\n getComputedStyle(element).position === 'fixed'\\n ) {\\n return null;\\n }\\n\\n return element.offsetParent;\\n}\\n\\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\\n// return the containing block\\nfunction getContainingBlock(element: Element) {\\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\\n\\n if (isIE &amp;&amp; isHTMLElement(element)) {\\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\\n const elementCss = getComputedStyle(element);\\n if (elementCss.position === 'fixed') {\\n return null;\\n }\\n }\\n\\n let currentNode = getParentNode(element);\\n\\n if (isShadowRoot(currentNode)) {\\n currentNode = currentNode.host;\\n }\\n\\n while (\\n isHTMLElement(currentNode) &amp;&amp;\\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\\n ) {\\n const css = getComputedStyle(currentNode);\\n\\n // This is non-exhaustive but covers the most common CSS properties that\\n // create a containing block.\\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\\n if (\\n css.transform !== 'none' ||\\n css.perspective !== 'none' ||\\n css.contain === 'paint' ||\\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\\n ) {\\n return currentNode;\\n } else {\\n currentNode = currentNode.parentNode;\\n }\\n }\\n\\n return null;\\n}\\n\\n// Gets the closest ancestor positioned element. Handles some edge cases,\\n// such as table ancestors and cross browser bugs.\\nexport default function getOffsetParent(element: Element) {\\n const window = getWindow(element);\\n\\n let offsetParent = getTrueOffsetParent(element);\\n\\n while (\\n offsetParent &amp;&amp;\\n isTableElement(offsetParent) &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'\\n ) {\\n offsetParent = getTrueOffsetParent(offsetParent);\\n }\\n\\n if (\\n offsetParent &amp;&amp;\\n (getNodeName(offsetParent) === 'html' ||\\n (getNodeName(offsetParent) === 'body' &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'))\\n ) {\\n return window;\\n }\\n\\n return offsetParent || getContainingBlock(element) || window;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const top: 'top' = 'top';\\nexport const bottom: 'bottom' = 'bottom';\\nexport const right: 'right' = 'right';\\nexport const left: 'left' = 'left';\\nexport const auto: 'auto' = 'auto';\\nexport type BasePlacement =\\n | typeof top\\n | typeof bottom\\n | typeof right\\n | typeof left;\\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\\n\\nexport const start: 'start' = 'start';\\nexport const end: 'end' = 'end';\\nexport type Variation = typeof start | typeof end;\\n\\nexport const clippingParents: 'clippingParents' = 'clippingParents';\\nexport const viewport: 'viewport' = 'viewport';\\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\\nexport type RootBoundary = typeof viewport | 'document';\\n\\nexport const popper: 'popper' = 'popper';\\nexport const reference: 'reference' = 'reference';\\nexport type Context = typeof popper | typeof reference;\\n\\nexport type VariationPlacement =\\n | 'top-start'\\n | 'top-end'\\n | 'bottom-start'\\n | 'bottom-end'\\n | 'right-start'\\n | 'right-end'\\n | 'left-start'\\n | 'left-end';\\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\\n\\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\\n []\\n);\\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\\n (\\n acc: Array&lt;Placement&gt;,\\n placement: BasePlacement | typeof auto\\n ): Array&lt;Placement&gt; =&gt;\\n acc.concat([\\n placement,\\n (`${placement}-${start}`: any),\\n (`${placement}-${end}`: any),\\n ]),\\n []\\n);\\n\\n// modifiers that need to read the DOM\\nexport const beforeRead: 'beforeRead' = 'beforeRead';\\nexport const read: 'read' = 'read';\\nexport const afterRead: 'afterRead' = 'afterRead';\\n// pure-logic modifiers\\nexport const beforeMain: 'beforeMain' = 'beforeMain';\\nexport const main: 'main' = 'main';\\nexport const afterMain: 'afterMain' = 'afterMain';\\n// modifier with the purpose to write to the DOM (or write into a framework state)\\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\\nexport const write: 'write' = 'write';\\nexport const afterWrite: 'afterWrite' = 'afterWrite';\\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\\n beforeRead,\\n read,\\n afterRead,\\n beforeMain,\\n main,\\n afterMain,\\n beforeWrite,\\n write,\\n afterWrite,\\n];\\n\\nexport type ModifierPhases =\\n | typeof beforeRead\\n | typeof read\\n | typeof afterRead\\n | typeof beforeMain\\n | typeof main\\n | typeof afterMain\\n | typeof beforeWrite\\n | typeof write\\n | typeof afterWrite;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\nimport { modifierPhases } from '../enums';\\n\\n// source: https://stackoverflow.com/questions/49875255\\nfunction order(modifiers) {\\n const map = new Map();\\n const visited = new Set();\\n const result = [];\\n\\n modifiers.forEach(modifier =&gt; {\\n map.set(modifier.name, modifier);\\n });\\n\\n // On visiting object, check for its dependencies and visit them recursively\\n function sort(modifier: Modifier&lt;any, any&gt;) {\\n visited.add(modifier.name);\\n\\n const requires = [\\n ...(modifier.requires || []),\\n ...(modifier.requiresIfExists || []),\\n ];\\n\\n requires.forEach(dep =&gt; {\\n if (!visited.has(dep)) {\\n const depModifier = map.get(dep);\\n\\n if (depModifier) {\\n sort(depModifier);\\n }\\n }\\n });\\n\\n result.push(modifier);\\n }\\n\\n modifiers.forEach(modifier =&gt; {\\n if (!visited.has(modifier.name)) {\\n // check for visited object\\n sort(modifier);\\n }\\n });\\n\\n return result;\\n}\\n\\nexport default function orderModifiers(\\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\\n // order based on dependencies\\n const orderedModifiers = order(modifiers);\\n\\n // order based on phase\\n return modifierPhases.reduce((acc, phase) =&gt; {\\n return acc.concat(\\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\\n );\\n }, []);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\\n let pending;\\n return () =&gt; {\\n if (!pending) {\\n pending = new Promise&lt;T&gt;(resolve =&gt; {\\n Promise.resolve().then(() =&gt; {\\n pending = undefined;\\n resolve(fn());\\n });\\n });\\n }\\n\\n return pending;\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function format(str: string, ...args: Array&lt;string&gt;) {\\n return [...args].reduce((p, c) =&gt; p.replace(/%s/, c), str);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport format from './format';\\nimport { modifierPhases } from '../enums';\\n\\nconst INVALID_MODIFIER_ERROR =\\n 'Popper: modifier \\\"%s\\\" provided an invalid %s property, expected %s but got %s';\\nconst MISSING_DEPENDENCY_ERROR =\\n 'Popper: modifier \\\"%s\\\" requires \\\"%s\\\", but \\\"%s\\\" modifier is not available';\\nconst VALID_PROPERTIES = [\\n 'name',\\n 'enabled',\\n 'phase',\\n 'fn',\\n 'effect',\\n 'requires',\\n 'options',\\n];\\n\\nexport default function validateModifiers(modifiers: Array&lt;any&gt;): void {\\n modifiers.forEach((modifier) =&gt; {\\n [...Object.keys(modifier), ...VALID_PROPERTIES]\\n // IE11-compatible replacement for `new Set(iterable)`\\n .filter((value, index, self) =&gt; self.indexOf(value) === index)\\n .forEach((key) =&gt; {\\n switch (key) {\\n case 'name':\\n if (typeof modifier.name !== 'string') {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n String(modifier.name),\\n '\\\"name\\\"',\\n '\\\"string\\\"',\\n `\\\"${String(modifier.name)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'enabled':\\n if (typeof modifier.enabled !== 'boolean') {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"enabled\\\"',\\n '\\\"boolean\\\"',\\n `\\\"${String(modifier.enabled)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'phase':\\n if (modifierPhases.indexOf(modifier.phase) &lt; 0) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"phase\\\"',\\n `either ${modifierPhases.join(', ')}`,\\n `\\\"${String(modifier.phase)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'fn':\\n if (typeof modifier.fn !== 'function') {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"fn\\\"',\\n '\\\"function\\\"',\\n `\\\"${String(modifier.fn)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'effect':\\n if (\\n modifier.effect != null &amp;&amp;\\n typeof modifier.effect !== 'function'\\n ) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"effect\\\"',\\n '\\\"function\\\"',\\n `\\\"${String(modifier.fn)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'requires':\\n if (\\n modifier.requires != null &amp;&amp;\\n !Array.isArray(modifier.requires)\\n ) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"requires\\\"',\\n '\\\"array\\\"',\\n `\\\"${String(modifier.requires)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'requiresIfExists':\\n if (!Array.isArray(modifier.requiresIfExists)) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"requiresIfExists\\\"',\\n '\\\"array\\\"',\\n `\\\"${String(modifier.requiresIfExists)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'options':\\n case 'data':\\n break;\\n default:\\n console.error(\\n `PopperJS: an invalid property has been provided to the \\\"${\\n modifier.name\\n }\\\" modifier, valid properties are ${VALID_PROPERTIES.map(\\n (s) =&gt; `\\\"${s}\\\"`\\n ).join(', ')}; but \\\"${key}\\\" was provided.`\\n );\\n }\\n\\n modifier.requires &amp;&amp;\\n modifier.requires.forEach((requirement) =&gt; {\\n if (modifiers.find((mod) =&gt; mod.name === requirement) == null) {\\n console.error(\\n format(\\n MISSING_DEPENDENCY_ERROR,\\n String(modifier.name),\\n requirement,\\n requirement\\n )\\n );\\n }\\n });\\n });\\n });\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function uniqueBy&lt;T&gt;(arr: Array&lt;T&gt;, fn: T =&gt; any): Array&lt;T&gt; {\\n const identifiers = new Set();\\n\\n return arr.filter(item =&gt; {\\n const identifier = fn(item);\\n\\n if (!identifiers.has(identifier)) {\\n identifiers.add(identifier);\\n return true;\\n }\\n });\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type BasePlacement, type Placement, auto } from '../enums';\\n\\nexport default function getBasePlacement(\\n placement: Placement | typeof auto\\n): BasePlacement {\\n return (placement.split('-')[0]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\n\\nexport default function mergeByName(\\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\\n const merged = modifiers.reduce((merged, current) =&gt; {\\n const existing = merged[current.name];\\n merged[current.name] = existing\\n ? {\\n ...existing,\\n ...current,\\n options: { ...existing.options, ...current.options },\\n data: { ...existing.data, ...current.data },\\n }\\n : current;\\n return merged;\\n }, {});\\n\\n // IE11 does not support Object.values\\n return Object.keys(merged).map(key =&gt; merged[key]);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\n\\nexport default function getViewportRect(element: Element) {\\n const win = getWindow(element);\\n const html = getDocumentElement(element);\\n const visualViewport = win.visualViewport;\\n\\n let width = html.clientWidth;\\n let height = html.clientHeight;\\n let x = 0;\\n let y = 0;\\n\\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\\n // can be obscured underneath it.\\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\\n // if it isn't open, so if this isn't available, the popper will be detected\\n // to overflow the bottom of the screen too early.\\n if (visualViewport) {\\n width = visualViewport.width;\\n height = visualViewport.height;\\n\\n // Uses Layout Viewport (like Chrome; Safari does not currently)\\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\\n // errors due to floating point numbers, so we need to check precision.\\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\\n\\n // Feature detection fails in mobile emulation mode in Chrome.\\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\\n // 0.001\\n // Fallback here: \\\"Not Safari\\\" userAgent\\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\\n x = visualViewport.offsetLeft;\\n y = visualViewport.offsetTop;\\n }\\n }\\n\\n return {\\n width,\\n height,\\n x: x + getWindowScrollBarX(element),\\n y,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getWindowScroll from './getWindowScroll';\\nimport { max } from '../utils/math';\\n\\n// Gets the entire size of the scrollable document area, even extending outside\\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\\nexport default function getDocumentRect(element: HTMLElement): Rect {\\n const html = getDocumentElement(element);\\n const winScroll = getWindowScroll(element);\\n const body = element.ownerDocument?.body;\\n\\n const width = max(\\n html.scrollWidth,\\n html.clientWidth,\\n body ? body.scrollWidth : 0,\\n body ? body.clientWidth : 0\\n );\\n const height = max(\\n html.scrollHeight,\\n html.clientHeight,\\n body ? body.scrollHeight : 0,\\n body ? body.clientHeight : 0\\n );\\n\\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\\n const y = -winScroll.scrollTop;\\n\\n if (getComputedStyle(body || html).direction === 'rtl') {\\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\\n }\\n\\n return { width, height, x, y };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function contains(parent: Element, child: Element) {\\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\\n\\n // First, attempt with faster native method\\n if (parent.contains(child)) {\\n return true;\\n }\\n // then fallback to custom implementation with Shadow DOM support\\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\\n let next = child;\\n do {\\n if (next &amp;&amp; parent.isSameNode(next)) {\\n return true;\\n }\\n // $FlowFixMe[prop-missing]: need a better way to handle this...\\n next = next.parentNode || next.host;\\n } while (next);\\n }\\n\\n // Give up, the result is false\\n return false;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, ClientRectObject } from '../types';\\n\\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\\n return {\\n ...rect,\\n left: rect.x,\\n top: rect.y,\\n right: rect.x + rect.width,\\n bottom: rect.y + rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject } from '../types';\\nimport type { Boundary, RootBoundary } from '../enums';\\nimport { viewport } from '../enums';\\nimport getViewportRect from './getViewportRect';\\nimport getDocumentRect from './getDocumentRect';\\nimport listScrollParents from './listScrollParents';\\nimport getOffsetParent from './getOffsetParent';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isElement, isHTMLElement } from './instanceOf';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getParentNode from './getParentNode';\\nimport contains from './contains';\\nimport getNodeName from './getNodeName';\\nimport rectToClientRect from '../utils/rectToClientRect';\\nimport { max, min } from '../utils/math';\\n\\nfunction getInnerBoundingClientRect(element: Element) {\\n const rect = getBoundingClientRect(element);\\n\\n rect.top = rect.top + element.clientTop;\\n rect.left = rect.left + element.clientLeft;\\n rect.bottom = rect.top + element.clientHeight;\\n rect.right = rect.left + element.clientWidth;\\n rect.width = element.clientWidth;\\n rect.height = element.clientHeight;\\n rect.x = rect.left;\\n rect.y = rect.top;\\n\\n return rect;\\n}\\n\\nfunction getClientRectFromMixedType(\\n element: Element,\\n clippingParent: Element | RootBoundary\\n): ClientRectObject {\\n return clippingParent === viewport\\n ? rectToClientRect(getViewportRect(element))\\n : isElement(clippingParent)\\n ? getInnerBoundingClientRect(clippingParent)\\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\\n}\\n\\n// A \\\"clipping parent\\\" is an overflowable container with the characteristic of\\n// clipping (or hiding) overflowing elements with a position different from\\n// `initial`\\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\\n const clippingParents = listScrollParents(getParentNode(element));\\n const canEscapeClipping =\\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\\n const clipperElement =\\n canEscapeClipping &amp;&amp; isHTMLElement(element)\\n ? getOffsetParent(element)\\n : element;\\n\\n if (!isElement(clipperElement)) {\\n return [];\\n }\\n\\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\\n return clippingParents.filter(\\n (clippingParent) =&gt;\\n isElement(clippingParent) &amp;&amp;\\n contains(clippingParent, clipperElement) &amp;&amp;\\n getNodeName(clippingParent) !== 'body'\\n );\\n}\\n\\n// Gets the maximum area that the element is visible in due to any number of\\n// clipping parents\\nexport default function getClippingRect(\\n element: Element,\\n boundary: Boundary,\\n rootBoundary: RootBoundary\\n): ClientRectObject {\\n const mainClippingParents =\\n boundary === 'clippingParents'\\n ? getClippingParents(element)\\n : [].concat(boundary);\\n const clippingParents = [...mainClippingParents, rootBoundary];\\n const firstClippingParent = clippingParents[0];\\n\\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\\n const rect = getClientRectFromMixedType(element, clippingParent);\\n\\n accRect.top = max(rect.top, accRect.top);\\n accRect.right = min(rect.right, accRect.right);\\n accRect.bottom = min(rect.bottom, accRect.bottom);\\n accRect.left = max(rect.left, accRect.left);\\n\\n return accRect;\\n }, getClientRectFromMixedType(element, firstClippingParent));\\n\\n clippingRect.width = clippingRect.right - clippingRect.left;\\n clippingRect.height = clippingRect.bottom - clippingRect.top;\\n clippingRect.x = clippingRect.left;\\n clippingRect.y = clippingRect.top;\\n\\n return clippingRect;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type Variation, type Placement } from '../enums';\\n\\nexport default function getVariation(placement: Placement): ?Variation {\\n return (placement.split('-')[1]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nexport default function getMainAxisFromPlacement(\\n placement: Placement\\n): 'x' | 'y' {\\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBasePlacement from './getBasePlacement';\\nimport getVariation from './getVariation';\\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\\nimport type {\\n Rect,\\n PositioningStrategy,\\n Offsets,\\n ClientRectObject,\\n} from '../types';\\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\\n\\nexport default function computeOffsets({\\n reference,\\n element,\\n placement,\\n}: {\\n reference: Rect | ClientRectObject,\\n element: Rect | ClientRectObject,\\n strategy: PositioningStrategy,\\n placement?: Placement,\\n}): Offsets {\\n const basePlacement = placement ? getBasePlacement(placement) : null;\\n const variation = placement ? getVariation(placement) : null;\\n const commonX = reference.x + reference.width / 2 - element.width / 2;\\n const commonY = reference.y + reference.height / 2 - element.height / 2;\\n\\n let offsets;\\n switch (basePlacement) {\\n case top:\\n offsets = {\\n x: commonX,\\n y: reference.y - element.height,\\n };\\n break;\\n case bottom:\\n offsets = {\\n x: commonX,\\n y: reference.y + reference.height,\\n };\\n break;\\n case right:\\n offsets = {\\n x: reference.x + reference.width,\\n y: commonY,\\n };\\n break;\\n case left:\\n offsets = {\\n x: reference.x - element.width,\\n y: commonY,\\n };\\n break;\\n default:\\n offsets = {\\n x: reference.x,\\n y: reference.y,\\n };\\n }\\n\\n const mainAxis = basePlacement\\n ? getMainAxisFromPlacement(basePlacement)\\n : null;\\n\\n if (mainAxis != null) {\\n const len = mainAxis === 'y' ? 'height' : 'width';\\n\\n switch (variation) {\\n case start:\\n offsets[mainAxis] =\\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\\n break;\\n case end:\\n offsets[mainAxis] =\\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\\n break;\\n default:\\n }\\n }\\n\\n return offsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\n\\nexport default function getFreshSideObject(): SideObject {\\n return {\\n top: 0,\\n right: 0,\\n bottom: 0,\\n left: 0,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\nimport getFreshSideObject from './getFreshSideObject';\\n\\nexport default function mergePaddingObject(\\n paddingObject: $Shape&lt;SideObject&gt;\\n): SideObject {\\n return {\\n ...getFreshSideObject(),\\n ...paddingObject,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function expandToHashMap&lt;\\n T: number | string | boolean,\\n K: string\\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\\n return keys.reduce((hashMap, key) =&gt; {\\n hashMap[key] = value;\\n return hashMap;\\n }, {});\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { State, SideObject, Padding } from '../types';\\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\\nimport getClippingRect from '../dom-utils/getClippingRect';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\\nimport computeOffsets from './computeOffsets';\\nimport rectToClientRect from './rectToClientRect';\\nimport {\\n clippingParents,\\n reference,\\n popper,\\n bottom,\\n top,\\n right,\\n basePlacements,\\n viewport,\\n} from '../enums';\\nimport { isElement } from '../dom-utils/instanceOf';\\nimport mergePaddingObject from './mergePaddingObject';\\nimport expandToHashMap from './expandToHashMap';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n placement: Placement,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n elementContext: Context,\\n altBoundary: boolean,\\n padding: Padding,\\n};\\n\\nexport default function detectOverflow(\\n state: State,\\n options: $Shape&lt;Options&gt; = {}\\n): SideObject {\\n const {\\n placement = state.placement,\\n boundary = clippingParents,\\n rootBoundary = viewport,\\n elementContext = popper,\\n altBoundary = false,\\n padding = 0,\\n } = options;\\n\\n const paddingObject = mergePaddingObject(\\n typeof padding !== 'number'\\n ? padding\\n : expandToHashMap(padding, basePlacements)\\n );\\n\\n const altContext = elementContext === popper ? reference : popper;\\n\\n const popperRect = state.rects.popper;\\n const element = state.elements[altBoundary ? altContext : elementContext];\\n\\n const clippingClientRect = getClippingRect(\\n isElement(element)\\n ? element\\n : element.contextElement || getDocumentElement(state.elements.popper),\\n boundary,\\n rootBoundary\\n );\\n\\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\\n\\n const popperOffsets = computeOffsets({\\n reference: referenceClientRect,\\n element: popperRect,\\n strategy: 'absolute',\\n placement,\\n });\\n\\n const popperClientRect = rectToClientRect({\\n ...popperRect,\\n ...popperOffsets,\\n });\\n\\n const elementClientRect =\\n elementContext === popper ? popperClientRect : referenceClientRect;\\n\\n // positive = overflowing the clipping rect\\n // 0 or negative = within the clipping rect\\n const overflowOffsets = {\\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\\n bottom:\\n elementClientRect.bottom -\\n clippingClientRect.bottom +\\n paddingObject.bottom,\\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\\n right:\\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\\n };\\n\\n const offsetData = state.modifiersData.offset;\\n\\n // Offsets can be applied only to the popper element\\n if (elementContext === popper &amp;&amp; offsetData) {\\n const offset = offsetData[placement];\\n\\n Object.keys(overflowOffsets).forEach((key) =&gt; {\\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\\n overflowOffsets[key] += offset[axis] * multiply;\\n });\\n }\\n\\n return overflowOffsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n State,\\n OptionsGeneric,\\n Modifier,\\n Instance,\\n VirtualElement,\\n} from './types';\\nimport getCompositeRect from './dom-utils/getCompositeRect';\\nimport getLayoutRect from './dom-utils/getLayoutRect';\\nimport listScrollParents from './dom-utils/listScrollParents';\\nimport getOffsetParent from './dom-utils/getOffsetParent';\\nimport getComputedStyle from './dom-utils/getComputedStyle';\\nimport orderModifiers from './utils/orderModifiers';\\nimport debounce from './utils/debounce';\\nimport validateModifiers from './utils/validateModifiers';\\nimport uniqueBy from './utils/uniqueBy';\\nimport getBasePlacement from './utils/getBasePlacement';\\nimport mergeByName from './utils/mergeByName';\\nimport detectOverflow from './utils/detectOverflow';\\nimport { isElement } from './dom-utils/instanceOf';\\nimport { auto } from './enums';\\n\\nconst INVALID_ELEMENT_ERROR =\\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\\nconst INFINITE_LOOP_ERROR =\\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\\n\\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\\n placement: 'bottom',\\n modifiers: [],\\n strategy: 'absolute',\\n};\\n\\ntype PopperGeneratorArgs = {\\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\\n};\\n\\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\\n return !args.some(\\n (element) =&gt;\\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\\n );\\n}\\n\\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\\n const {\\n defaultModifiers = [],\\n defaultOptions = DEFAULT_OPTIONS,\\n } = generatorOptions;\\n\\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\\n reference: Element | VirtualElement,\\n popper: HTMLElement,\\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\\n ): Instance {\\n let state: $Shape&lt;State&gt; = {\\n placement: 'bottom',\\n orderedModifiers: [],\\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\\n modifiersData: {},\\n elements: {\\n reference,\\n popper,\\n },\\n attributes: {},\\n styles: {},\\n };\\n\\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\\n let isDestroyed = false;\\n\\n const instance = {\\n state,\\n setOptions(setOptionsAction) {\\n const options =\\n typeof setOptionsAction === 'function'\\n ? setOptionsAction(state.options)\\n : setOptionsAction;\\n\\n cleanupModifierEffects();\\n\\n state.options = {\\n // $FlowFixMe[exponential-spread]\\n ...defaultOptions,\\n ...state.options,\\n ...options,\\n };\\n\\n state.scrollParents = {\\n reference: isElement(reference)\\n ? listScrollParents(reference)\\n : reference.contextElement\\n ? listScrollParents(reference.contextElement)\\n : [],\\n popper: listScrollParents(popper),\\n };\\n\\n // Orders the modifiers based on their dependencies and `phase`\\n // properties\\n const orderedModifiers = orderModifiers(\\n mergeByName([...defaultModifiers, ...state.options.modifiers])\\n );\\n\\n // Strip out disabled modifiers\\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\\n\\n // Validate the provided modifiers so that the consumer will get warned\\n // if one of the modifiers is invalid for any reason\\n if (__DEV__) {\\n const modifiers = uniqueBy(\\n [...orderedModifiers, ...state.options.modifiers],\\n ({ name }) =&gt; name\\n );\\n\\n validateModifiers(modifiers);\\n\\n if (getBasePlacement(state.options.placement) === auto) {\\n const flipModifier = state.orderedModifiers.find(\\n ({ name }) =&gt; name === 'flip'\\n );\\n\\n if (!flipModifier) {\\n console.error(\\n [\\n 'Popper: \\\"auto\\\" placements require the \\\"flip\\\" modifier be',\\n 'present and enabled to work.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const {\\n marginTop,\\n marginRight,\\n marginBottom,\\n marginLeft,\\n } = getComputedStyle(popper);\\n\\n // We no longer take into account `margins` on the popper, and it can\\n // cause bugs with positioning, so we'll warn the consumer\\n if (\\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\\n parseFloat(margin)\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: CSS \\\"margin\\\" styles cannot be used to apply padding',\\n 'between the popper and its reference element or boundary.',\\n 'To replicate margin, use the `offset` modifier, as well as',\\n 'the `padding` option in the `preventOverflow` and `flip`',\\n 'modifiers.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n runModifierEffects();\\n\\n return instance.update();\\n },\\n\\n // Sync update \u2013 it will always be executed, even if not necessary. This\\n // is useful for low frequency updates where sync behavior simplifies the\\n // logic.\\n // For high frequency updates (e.g. `resize` and `scroll` events), always\\n // prefer the async Popper#update method\\n forceUpdate() {\\n if (isDestroyed) {\\n return;\\n }\\n\\n const { reference, popper } = state.elements;\\n\\n // Don't proceed if `reference` or `popper` are not valid elements\\n // anymore\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return;\\n }\\n\\n // Store the reference and popper rects to be read by modifiers\\n state.rects = {\\n reference: getCompositeRect(\\n reference,\\n getOffsetParent(popper),\\n state.options.strategy === 'fixed'\\n ),\\n popper: getLayoutRect(popper),\\n };\\n\\n // Modifiers have the ability to reset the current update cycle. The\\n // most common use case for this is the `flip` modifier changing the\\n // placement, which then needs to re-run all the modifiers, because the\\n // logic was previously ran for the previous placement and is therefore\\n // stale/incorrect\\n state.reset = false;\\n\\n state.placement = state.options.placement;\\n\\n // On each update cycle, the `modifiersData` property for each modifier\\n // is filled with the initial data specified by the modifier. This means\\n // it doesn't persist and is fresh on each update.\\n // To ensure persistent data, use `${name}#persistent`\\n state.orderedModifiers.forEach(\\n (modifier) =&gt;\\n (state.modifiersData[modifier.name] = {\\n ...modifier.data,\\n })\\n );\\n\\n let __debug_loops__ = 0;\\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\\n if (__DEV__) {\\n __debug_loops__ += 1;\\n if (__debug_loops__ &gt; 100) {\\n console.error(INFINITE_LOOP_ERROR);\\n break;\\n }\\n }\\n\\n if (state.reset === true) {\\n state.reset = false;\\n index = -1;\\n continue;\\n }\\n\\n const { fn, options = {}, name } = state.orderedModifiers[index];\\n\\n if (typeof fn === 'function') {\\n state = fn({ state, options, name, instance }) || state;\\n }\\n }\\n },\\n\\n // Async and optimistically optimized update \u2013 it will not be executed if\\n // not necessary (debounced to run at most once-per-tick)\\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\\n () =&gt;\\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\\n instance.forceUpdate();\\n resolve(state);\\n })\\n ),\\n\\n destroy() {\\n cleanupModifierEffects();\\n isDestroyed = true;\\n },\\n };\\n\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return instance;\\n }\\n\\n instance.setOptions(options).then((state) =&gt; {\\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\\n options.onFirstUpdate(state);\\n }\\n });\\n\\n // Modifiers have the ability to execute arbitrary code before the first\\n // update cycle runs. They will be executed in the same order as the update\\n // cycle. This is useful when a modifier adds some persistent data that\\n // other modifiers need to use, but the modifier is run after the dependent\\n // one.\\n function runModifierEffects() {\\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\\n if (typeof effect === 'function') {\\n const cleanupFn = effect({ state, name, instance, options });\\n const noopFn = () =&gt; {};\\n effectCleanupFns.push(cleanupFn || noopFn);\\n }\\n });\\n }\\n\\n function cleanupModifierEffects() {\\n effectCleanupFns.forEach((fn) =&gt; fn());\\n effectCleanupFns = [];\\n }\\n\\n return instance;\\n };\\n}\\n\\nexport const createPopper = popperGenerator();\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { detectOverflow };\\n\"</span>],<span class=\"code-attr\">\"names\"</span>:[<span class=\"code-string\">\"getWindow\"</span>,<span class=\"code-string\">\"node\"</span>,<span class=\"code-string\">\"window\"</span>,<span class=\"code-string\">\"toString\"</span>,<span class=\"code-string\">\"ownerDocument\"</span>,<span class=\"code-string\">\"defaultView\"</span>,<span class=\"code-string\">\"isElement\"</span>,<span class=\"code-string\">\"OwnElement\"</span>,<span class=\"code-string\">\"Element\"</span>,<span class=\"code-string\">\"isHTMLElement\"</span>,<span class=\"code-string\">\"HTMLElement\"</span>,<span class=\"code-string\">\"isShadowRoot\"</span>,<span class=\"code-string\">\"ShadowRoot\"</span>,<span class=\"code-string\">\"max\"</span>,<span class=\"code-string\">\"Math\"</span>,<span class=\"code-string\">\"min\"</span>,<span class=\"code-string\">\"round\"</span>,<span class=\"code-string\">\"getBoundingClientRect\"</span>,<span class=\"code-string\">\"element\"</span>,<span class=\"code-string\">\"includeScale\"</span>,<span class=\"code-string\">\"rect\"</span>,<span class=\"code-string\">\"scaleX\"</span>,<span class=\"code-string\">\"scaleY\"</span>,<span class=\"code-string\">\"offsetHeight\"</span>,<span class=\"code-string\">\"offsetWidth\"</span>,<span class=\"code-string\">\"width\"</span>,<span class=\"code-string\">\"height\"</span>,<span class=\"code-string\">\"top\"</span>,<span class=\"code-string\">\"right\"</span>,<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-string\">\"left\"</span>,<span class=\"code-string\">\"x\"</span>,<span class=\"code-string\">\"y\"</span>,<span class=\"code-string\">\"getWindowScroll\"</span>,<span class=\"code-string\">\"win\"</span>,<span class=\"code-string\">\"scrollLeft\"</span>,<span class=\"code-string\">\"pageXOffset\"</span>,<span class=\"code-string\">\"scrollTop\"</span>,<span class=\"code-string\">\"pageYOffset\"</span>,<span class=\"code-string\">\"getHTMLElementScroll\"</span>,<span class=\"code-string\">\"getNodeScroll\"</span>,<span class=\"code-string\">\"getNodeName\"</span>,<span class=\"code-string\">\"nodeName\"</span>,<span class=\"code-string\">\"toLowerCase\"</span>,<span class=\"code-string\">\"getDocumentElement\"</span>,<span class=\"code-string\">\"document\"</span>,<span class=\"code-string\">\"documentElement\"</span>,<span class=\"code-string\">\"getWindowScrollBarX\"</span>,<span class=\"code-string\">\"getComputedStyle\"</span>,<span class=\"code-string\">\"isScrollParent\"</span>,<span class=\"code-string\">\"overflow\"</span>,<span class=\"code-string\">\"overflowX\"</span>,<span class=\"code-string\">\"overflowY\"</span>,<span class=\"code-string\">\"test\"</span>,<span class=\"code-string\">\"isElementScaled\"</span>,<span class=\"code-string\">\"getCompositeRect\"</span>,<span class=\"code-string\">\"elementOrVirtualElement\"</span>,<span class=\"code-string\">\"offsetParent\"</span>,<span class=\"code-string\">\"isFixed\"</span>,<span class=\"code-string\">\"isOffsetParentAnElement\"</span>,<span class=\"code-string\">\"offsetParentIsScaled\"</span>,<span class=\"code-string\">\"scroll\"</span>,<span class=\"code-string\">\"offsets\"</span>,<span class=\"code-string\">\"clientLeft\"</span>,<span class=\"code-string\">\"clientTop\"</span>,<span class=\"code-string\">\"getLayoutRect\"</span>,<span class=\"code-string\">\"clientRect\"</span>,<span class=\"code-string\">\"abs\"</span>,<span class=\"code-string\">\"offsetLeft\"</span>,<span class=\"code-string\">\"offsetTop\"</span>,<span class=\"code-string\">\"getParentNode\"</span>,<span class=\"code-string\">\"assignedSlot\"</span>,<span class=\"code-string\">\"parentNode\"</span>,<span class=\"code-string\">\"host\"</span>,<span class=\"code-string\">\"getScrollParent\"</span>,<span class=\"code-string\">\"indexOf\"</span>,<span class=\"code-string\">\"body\"</span>,<span class=\"code-string\">\"listScrollParents\"</span>,<span class=\"code-string\">\"list\"</span>,<span class=\"code-string\">\"scrollParent\"</span>,<span class=\"code-string\">\"isBody\"</span>,<span class=\"code-string\">\"target\"</span>,<span class=\"code-string\">\"concat\"</span>,<span class=\"code-string\">\"visualViewport\"</span>,<span class=\"code-string\">\"updatedList\"</span>,<span class=\"code-string\">\"isTableElement\"</span>,<span class=\"code-string\">\"getTrueOffsetParent\"</span>,<span class=\"code-string\">\"position\"</span>,<span class=\"code-string\">\"getContainingBlock\"</span>,<span class=\"code-string\">\"isFirefox\"</span>,<span class=\"code-string\">\"navigator\"</span>,<span class=\"code-string\">\"userAgent\"</span>,<span class=\"code-string\">\"isIE\"</span>,<span class=\"code-string\">\"elementCss\"</span>,<span class=\"code-string\">\"currentNode\"</span>,<span class=\"code-string\">\"css\"</span>,<span class=\"code-string\">\"transform\"</span>,<span class=\"code-string\">\"perspective\"</span>,<span class=\"code-string\">\"contain\"</span>,<span class=\"code-string\">\"willChange\"</span>,<span class=\"code-string\">\"filter\"</span>,<span class=\"code-string\">\"getOffsetParent\"</span>,<span class=\"code-string\">\"auto\"</span>,<span class=\"code-string\">\"basePlacements\"</span>,<span class=\"code-string\">\"start\"</span>,<span class=\"code-string\">\"end\"</span>,<span class=\"code-string\">\"clippingParents\"</span>,<span class=\"code-string\">\"viewport\"</span>,<span class=\"code-string\">\"popper\"</span>,<span class=\"code-string\">\"reference\"</span>,<span class=\"code-string\">\"beforeRead\"</span>,<span class=\"code-string\">\"read\"</span>,<span class=\"code-string\">\"afterRead\"</span>,<span class=\"code-string\">\"beforeMain\"</span>,<span class=\"code-string\">\"main\"</span>,<span class=\"code-string\">\"afterMain\"</span>,<span class=\"code-string\">\"beforeWrite\"</span>,<span class=\"code-string\">\"write\"</span>,<span class=\"code-string\">\"afterWrite\"</span>,<span class=\"code-string\">\"modifierPhases\"</span>,<span class=\"code-string\">\"order\"</span>,<span class=\"code-string\">\"modifiers\"</span>,<span class=\"code-string\">\"map\"</span>,<span class=\"code-string\">\"Map\"</span>,<span class=\"code-string\">\"visited\"</span>,<span class=\"code-string\">\"Set\"</span>,<span class=\"code-string\">\"result\"</span>,<span class=\"code-string\">\"forEach\"</span>,<span class=\"code-string\">\"modifier\"</span>,<span class=\"code-string\">\"set\"</span>,<span class=\"code-string\">\"name\"</span>,<span class=\"code-string\">\"sort\"</span>,<span class=\"code-string\">\"add\"</span>,<span class=\"code-string\">\"requires\"</span>,<span class=\"code-string\">\"requiresIfExists\"</span>,<span class=\"code-string\">\"dep\"</span>,<span class=\"code-string\">\"has\"</span>,<span class=\"code-string\">\"depModifier\"</span>,<span class=\"code-string\">\"get\"</span>,<span class=\"code-string\">\"push\"</span>,<span class=\"code-string\">\"orderModifiers\"</span>,<span class=\"code-string\">\"orderedModifiers\"</span>,<span class=\"code-string\">\"reduce\"</span>,<span class=\"code-string\">\"acc\"</span>,<span class=\"code-string\">\"phase\"</span>,<span class=\"code-string\">\"debounce\"</span>,<span class=\"code-string\">\"fn\"</span>,<span class=\"code-string\">\"pending\"</span>,<span class=\"code-string\">\"Promise\"</span>,<span class=\"code-string\">\"resolve\"</span>,<span class=\"code-string\">\"then\"</span>,<span class=\"code-string\">\"undefined\"</span>,<span class=\"code-string\">\"format\"</span>,<span class=\"code-string\">\"str\"</span>,<span class=\"code-string\">\"args\"</span>,<span class=\"code-string\">\"p\"</span>,<span class=\"code-string\">\"c\"</span>,<span class=\"code-string\">\"replace\"</span>,<span class=\"code-string\">\"INVALID_MODIFIER_ERROR\"</span>,<span class=\"code-string\">\"MISSING_DEPENDENCY_ERROR\"</span>,<span class=\"code-string\">\"VALID_PROPERTIES\"</span>,<span class=\"code-string\">\"validateModifiers\"</span>,<span class=\"code-string\">\"Object\"</span>,<span class=\"code-string\">\"keys\"</span>,<span class=\"code-string\">\"value\"</span>,<span class=\"code-string\">\"index\"</span>,<span class=\"code-string\">\"self\"</span>,<span class=\"code-string\">\"key\"</span>,<span class=\"code-string\">\"console\"</span>,<span class=\"code-string\">\"error\"</span>,<span class=\"code-string\">\"String\"</span>,<span class=\"code-string\">\"enabled\"</span>,<span class=\"code-string\">\"join\"</span>,<span class=\"code-string\">\"effect\"</span>,<span class=\"code-string\">\"Array\"</span>,<span class=\"code-string\">\"isArray\"</span>,<span class=\"code-string\">\"s\"</span>,<span class=\"code-string\">\"requirement\"</span>,<span class=\"code-string\">\"find\"</span>,<span class=\"code-string\">\"mod\"</span>,<span class=\"code-string\">\"uniqueBy\"</span>,<span class=\"code-string\">\"arr\"</span>,<span class=\"code-string\">\"identifiers\"</span>,<span class=\"code-string\">\"item\"</span>,<span class=\"code-string\">\"identifier\"</span>,<span class=\"code-string\">\"getBasePlacement\"</span>,<span class=\"code-string\">\"placement\"</span>,<span class=\"code-string\">\"split\"</span>,<span class=\"code-string\">\"mergeByName\"</span>,<span class=\"code-string\">\"merged\"</span>,<span class=\"code-string\">\"current\"</span>,<span class=\"code-string\">\"existing\"</span>,<span class=\"code-string\">\"options\"</span>,<span class=\"code-string\">\"data\"</span>,<span class=\"code-string\">\"getViewportRect\"</span>,<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"clientWidth\"</span>,<span class=\"code-string\">\"clientHeight\"</span>,<span class=\"code-string\">\"getDocumentRect\"</span>,<span class=\"code-string\">\"winScroll\"</span>,<span class=\"code-string\">\"scrollWidth\"</span>,<span class=\"code-string\">\"scrollHeight\"</span>,<span class=\"code-string\">\"direction\"</span>,<span class=\"code-string\">\"contains\"</span>,<span class=\"code-string\">\"parent\"</span>,<span class=\"code-string\">\"child\"</span>,<span class=\"code-string\">\"rootNode\"</span>,<span class=\"code-string\">\"getRootNode\"</span>,<span class=\"code-string\">\"next\"</span>,<span class=\"code-string\">\"isSameNode\"</span>,<span class=\"code-string\">\"rectToClientRect\"</span>,<span class=\"code-string\">\"getInnerBoundingClientRect\"</span>,<span class=\"code-string\">\"getClientRectFromMixedType\"</span>,<span class=\"code-string\">\"clippingParent\"</span>,<span class=\"code-string\">\"getClippingParents\"</span>,<span class=\"code-string\">\"canEscapeClipping\"</span>,<span class=\"code-string\">\"clipperElement\"</span>,<span class=\"code-string\">\"getClippingRect\"</span>,<span class=\"code-string\">\"boundary\"</span>,<span class=\"code-string\">\"rootBoundary\"</span>,<span class=\"code-string\">\"mainClippingParents\"</span>,<span class=\"code-string\">\"firstClippingParent\"</span>,<span class=\"code-string\">\"clippingRect\"</span>,<span class=\"code-string\">\"accRect\"</span>,<span class=\"code-string\">\"getVariation\"</span>,<span class=\"code-string\">\"getMainAxisFromPlacement\"</span>,<span class=\"code-string\">\"computeOffsets\"</span>,<span class=\"code-string\">\"basePlacement\"</span>,<span class=\"code-string\">\"variation\"</span>,<span class=\"code-string\">\"commonX\"</span>,<span class=\"code-string\">\"commonY\"</span>,<span class=\"code-string\">\"mainAxis\"</span>,<span class=\"code-string\">\"len\"</span>,<span class=\"code-string\">\"getFreshSideObject\"</span>,<span class=\"code-string\">\"mergePaddingObject\"</span>,<span class=\"code-string\">\"paddingObject\"</span>,<span class=\"code-string\">\"expandToHashMap\"</span>,<span class=\"code-string\">\"hashMap\"</span>,<span class=\"code-string\">\"detectOverflow\"</span>,<span class=\"code-string\">\"state\"</span>,<span class=\"code-string\">\"elementContext\"</span>,<span class=\"code-string\">\"altBoundary\"</span>,<span class=\"code-string\">\"padding\"</span>,<span class=\"code-string\">\"altContext\"</span>,<span class=\"code-string\">\"popperRect\"</span>,<span class=\"code-string\">\"rects\"</span>,<span class=\"code-string\">\"elements\"</span>,<span class=\"code-string\">\"clippingClientRect\"</span>,<span class=\"code-string\">\"contextElement\"</span>,<span class=\"code-string\">\"referenceClientRect\"</span>,<span class=\"code-string\">\"popperOffsets\"</span>,<span class=\"code-string\">\"strategy\"</span>,<span class=\"code-string\">\"popperClientRect\"</span>,<span class=\"code-string\">\"elementClientRect\"</span>,<span class=\"code-string\">\"overflowOffsets\"</span>,<span class=\"code-string\">\"offsetData\"</span>,<span class=\"code-string\">\"modifiersData\"</span>,<span class=\"code-string\">\"offset\"</span>,<span class=\"code-string\">\"multiply\"</span>,<span class=\"code-string\">\"axis\"</span>,<span class=\"code-string\">\"INVALID_ELEMENT_ERROR\"</span>,<span class=\"code-string\">\"INFINITE_LOOP_ERROR\"</span>,<span class=\"code-string\">\"DEFAULT_OPTIONS\"</span>,<span class=\"code-string\">\"areValidElements\"</span>,<span class=\"code-string\">\"some\"</span>,<span class=\"code-string\">\"popperGenerator\"</span>,<span class=\"code-string\">\"generatorOptions\"</span>,<span class=\"code-string\">\"defaultModifiers\"</span>,<span class=\"code-string\">\"defaultOptions\"</span>,<span class=\"code-string\">\"createPopper\"</span>,<span class=\"code-string\">\"attributes\"</span>,<span class=\"code-string\">\"styles\"</span>,<span class=\"code-string\">\"effectCleanupFns\"</span>,<span class=\"code-string\">\"isDestroyed\"</span>,<span class=\"code-string\">\"instance\"</span>,<span class=\"code-string\">\"setOptions\"</span>,<span class=\"code-string\">\"setOptionsAction\"</span>,<span class=\"code-string\">\"cleanupModifierEffects\"</span>,<span class=\"code-string\">\"scrollParents\"</span>,<span class=\"code-string\">\"m\"</span>,<span class=\"code-string\">\"flipModifier\"</span>,<span class=\"code-string\">\"marginTop\"</span>,<span class=\"code-string\">\"marginRight\"</span>,<span class=\"code-string\">\"marginBottom\"</span>,<span class=\"code-string\">\"marginLeft\"</span>,<span class=\"code-string\">\"margin\"</span>,<span class=\"code-string\">\"parseFloat\"</span>,<span class=\"code-string\">\"warn\"</span>,<span class=\"code-string\">\"runModifierEffects\"</span>,<span class=\"code-string\">\"update\"</span>,<span class=\"code-string\">\"forceUpdate\"</span>,<span class=\"code-string\">\"reset\"</span>,<span class=\"code-string\">\"__debug_loops__\"</span>,<span class=\"code-string\">\"length\"</span>,<span class=\"code-string\">\"destroy\"</span>,<span class=\"code-string\">\"onFirstUpdate\"</span>,<span class=\"code-string\">\"cleanupFn\"</span>,<span class=\"code-string\">\"noopFn\"</span>],<span class=\"code-attr\">\"mappings\"</span>:<span class=\"code-string\">\";;;;;;;;;;EAIe,SAASA,SAAT,CAAmBC,IAAnB,EAAyB;EACtC,MAAIA,IAAI,IAAI,IAAZ,EAAkB;EAChB,WAAOC,MAAP;EACD;;EAED,MAAID,IAAI,CAACE,QA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,GAAM,EAArB;;EACAzB,UAAAA,gBAAgB,CAACrI,IAAjB,CAAsB6J,SAAS,IAAIC,MAAnC;EACD;EACF,OAND;EAOD;;EAED,aAASpB,sBAAT,GAAkC;EAChCL,MAAAA,gBAAgB,CAACjJ,OAAjB,CAAyB,UAACmB,EAAD;EAAA,eAAQA,EAAE,EAAV;EAAA,OAAzB;EACA8H,MAAAA,gBAAgB,GAAG,EAAnB;EACD;;EAED,WAAOE,QAAP;EACD,GA7OD;EA8OD;MAEYL,YAAY,gBAAGJ,eAAe;;;;;;;;\"</span>}"]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-base.js.map</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>85.5 kB</span><span>Source Map (JSON)</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-base.js.map" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code>{<span class="code-attr">"version"</span>:<span class="code-number">3</span>,<span class="code-attr">"file"</span>:<span class="code-string">"popper-base.js"</span>,<span class="code-attr">"sources"</span>:[<span class="code-string">"../../src/dom-utils/getWindow.js"</span>,<span class="code-string">"../../src/dom-utils/instanceOf.js"</span>,<span class="code-string">"../../src/utils/math.js"</span>,<span class="code-string">"../../src/dom-utils/getBoundingClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getHTMLElementScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeName.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentElement.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScrollBarX.js"</span>,<span class="code-string">"../../src/dom-utils/getComputedStyle.js"</span>,<span class="code-string">"../../src/dom-utils/isScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/getCompositeRect.js"</span>,<span class="code-string">"../../src/dom-utils/getLayoutRect.js"</span>,<span class="code-string">"../../src/dom-utils/getParentNode.js"</span>,<span class="code-string">"../../src/dom-utils/getScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/listScrollParents.js"</span>,<span class="code-string">"../../src/dom-utils/isTableElement.js"</span>,<span class="code-string">"../../src/dom-utils/getOffsetParent.js"</span>,<span class="code-string">"../../src/enums.js"</span>,<span class="code-string">"../../src/utils/orderModifiers.js"</span>,<span class="code-string">"../../src/utils/debounce.js"</span>,<span class="code-string">"../../src/utils/format.js"</span>,<span class="code-string">"../../src/utils/validateModifiers.js"</span>,<span class="code-string">"../../src/utils/uniqueBy.js"</span>,<span class="code-string">"../../src/utils/getBasePlacement.js"</span>,<span class="code-string">"../../src/utils/mergeByName.js"</span>,<span class="code-string">"../../src/dom-utils/getViewportRect.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentRect.js"</span>,<span class="code-string">"../../src/dom-utils/contains.js"</span>,<span class="code-string">"../../src/utils/rectToClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getClippingRect.js"</span>,<span class="code-string">"../../src/utils/getVariation.js"</span>,<span class="code-string">"../../src/utils/getMainAxisFromPlacement.js"</span>,<span class="code-string">"../../src/utils/computeOffsets.js"</span>,<span class="code-string">"../../src/utils/getFreshSideObject.js"</span>,<span class="code-string">"../../src/utils/mergePaddingObject.js"</span>,<span class="code-string">"../../src/utils/expandToHashMap.js"</span>,<span class="code-string">"../../src/utils/detectOverflow.js"</span>,<span class="code-string">"../../src/createPopper.js"</span>],<span class="code-attr">"sourcesContent"</span>:[<span class="code-string">"// @flow\nimport type { Window } from '../types';\ndeclare function getWindow(node: Node | Window): Window;\n\nexport default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n const ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\n Element);\nfunction isElement(node) {\n const OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\n HTMLElement);\nfunction isHTMLElement(node) {\n const OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\n ShadowRoot);\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n const OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };\n"</span>,<span class="code-string">"// @flow\nexport const max = Math.max;\nexport const min = Math.min;\nexport const round = Math.round;\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject, VirtualElement } from '../types';\nimport { isHTMLElement } from './instanceOf';\nimport { round } from '../utils/math';\n\nexport default function getBoundingClientRect(\n element: Element | VirtualElement,\n includeScale: boolean = false\n): ClientRectObject {\n const rect = element.getBoundingClientRect();\n let scaleX = 1;\n let scaleY = 1;\n\n if (isHTMLElement(element) &amp;&amp; includeScale) {\n const offsetHeight = element.offsetHeight;\n const offsetWidth = element.offsetWidth;\n\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\n // Fallback to 1 in case both values are `0`\n if (offsetWidth &gt; 0) {\n scaleX = round(rect.width) / offsetWidth || 1;\n }\n if (offsetHeight &gt; 0) {\n scaleY = round(rect.height) / offsetHeight || 1;\n }\n }\n\n return {\n width: rect.width / scaleX,\n height: rect.height / scaleY,\n top: rect.top / scaleY,\n right: rect.right / scaleX,\n bottom: rect.bottom / scaleY,\n left: rect.left / scaleX,\n x: rect.left / scaleX,\n y: rect.top / scaleY,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport type { Window } from '../types';\n\nexport default function getWindowScroll(node: Node | Window) {\n const win = getWindow(node);\n const scrollLeft = win.pageXOffset;\n const scrollTop = win.pageYOffset;\n\n return {\n scrollLeft,\n scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function getHTMLElementScroll(element: HTMLElement) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindowScroll from './getWindowScroll';\nimport getWindow from './getWindow';\nimport { isHTMLElement } from './instanceOf';\nimport getHTMLElementScroll from './getHTMLElementScroll';\nimport type { Window } from '../types';\n\nexport default function getNodeScroll(node: Node | Window) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Window } from '../types';\n\nexport default function getNodeName(element: ?Node | Window): ?string {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}\n"</span>,<span class="code-string">"// @flow\nimport { isElement } from './instanceOf';\nimport type { Window } from '../types';\n\nexport default function getDocumentElement(\n element: Element | Window\n): HTMLElement {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return (\n (isElement(element)\n ? element.ownerDocument\n : // $FlowFixMe[prop-missing]\n element.document) || window.document\n ).documentElement;\n}\n"</span>,<span class="code-string">"// @flow\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScroll from './getWindowScroll';\n\nexport default function getWindowScrollBarX(element: Element): number {\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return (\n getBoundingClientRect(getDocumentElement(element)).left +\n getWindowScroll(element).scrollLeft\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\nexport default function getComputedStyle(\n element: Element\n): CSSStyleDeclaration {\n return getWindow(element).getComputedStyle(element);\n}\n"</span>,<span class="code-string">"// @flow\nimport getComputedStyle from './getComputedStyle';\n\nexport default function isScrollParent(element: HTMLElement): boolean {\n // Firefox wants us to check `-x` and `-y` variations as well\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, VirtualElement, Window } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getNodeScroll from './getNodeScroll';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getDocumentElement from './getDocumentElement';\nimport isScrollParent from './isScrollParent';\nimport { round } from '../utils/math';\n\nfunction isElementScaled(element: HTMLElement) {\n const rect = element.getBoundingClientRect();\n const scaleX = round(rect.width) / element.offsetWidth || 1;\n const scaleY = round(rect.height) / element.offsetHeight || 1;\n\n return scaleX !== 1 || scaleY !== 1;\n}\n\n// Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\nexport default function getCompositeRect(\n elementOrVirtualElement: Element | VirtualElement,\n offsetParent: Element | Window,\n isFixed: boolean = false\n): Rect {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const offsetParentIsScaled =\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const rect = getBoundingClientRect(\n elementOrVirtualElement,\n offsetParentIsScaled\n );\n\n let scroll = { scrollLeft: 0, scrollTop: 0 };\n let offsets = { x: 0, y: 0 };\n\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\n if (\n getNodeName(offsetParent) !== 'body' ||\n // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)\n ) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\n\n// Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\nexport default function getLayoutRect(element: HTMLElement): Rect {\n const clientRect = getBoundingClientRect(element);\n\n // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) &lt;= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) &lt;= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width,\n height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\nimport getDocumentElement from './getDocumentElement';\nimport { isShadowRoot } from './instanceOf';\n\nexport default function getParentNode(element: Node | ShadowRoot): Node {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || // DOM Element detected\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getParentNode from './getParentNode';\nimport isScrollParent from './isScrollParent';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\n\nexport default function getScrollParent(node: Node): HTMLElement {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}\n"</span>,<span class="code-string">"// @flow\nimport getScrollParent from './getScrollParent';\nimport getParentNode from './getParentNode';\nimport getWindow from './getWindow';\nimport type { Window, VisualViewport } from '../types';\nimport isScrollParent from './isScrollParent';\n\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\nexport default function listScrollParents(\n element: Node,\n list: Array&lt;Element | Window&gt; = []\n): Array&lt;Element | Window | VisualViewport&gt; {\n const scrollParent = getScrollParent(element);\n const isBody = scrollParent === element.ownerDocument?.body;\n const win = getWindow(scrollParent);\n const target = isBody\n ? [win].concat(\n win.visualViewport || [],\n isScrollParent(scrollParent) ? scrollParent : []\n )\n : scrollParent;\n const updatedList = list.concat(target);\n\n return isBody\n ? updatedList\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\n\nexport default function isTableElement(element: Element): boolean {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getNodeName from './getNodeName';\nimport getComputedStyle from './getComputedStyle';\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\nimport isTableElement from './isTableElement';\nimport getParentNode from './getParentNode';\n\nfunction getTrueOffsetParent(element: Element): ?Element {\n if (\n !isHTMLElement(element) ||\n // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed'\n ) {\n return null;\n }\n\n return element.offsetParent;\n}\n\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\nfunction getContainingBlock(element: Element) {\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\n\n if (isIE &amp;&amp; isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n const elementCss = getComputedStyle(element);\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n let currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (\n isHTMLElement(currentNode) &amp;&amp;\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\n ) {\n const css = getComputedStyle(currentNode);\n\n // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n if (\n css.transform !== 'none' ||\n css.perspective !== 'none' ||\n css.contain === 'paint' ||\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\n ) {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nexport default function getOffsetParent(element: Element) {\n const window = getWindow(element);\n\n let offsetParent = getTrueOffsetParent(element);\n\n while (\n offsetParent &amp;&amp;\n isTableElement(offsetParent) &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'\n ) {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (\n offsetParent &amp;&amp;\n (getNodeName(offsetParent) === 'html' ||\n (getNodeName(offsetParent) === 'body' &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'))\n ) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n"</span>,<span class="code-string">"// @flow\nexport const top: 'top' = 'top';\nexport const bottom: 'bottom' = 'bottom';\nexport const right: 'right' = 'right';\nexport const left: 'left' = 'left';\nexport const auto: 'auto' = 'auto';\nexport type BasePlacement =\n | typeof top\n | typeof bottom\n | typeof right\n | typeof left;\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\n\nexport const start: 'start' = 'start';\nexport const end: 'end' = 'end';\nexport type Variation = typeof start | typeof end;\n\nexport const clippingParents: 'clippingParents' = 'clippingParents';\nexport const viewport: 'viewport' = 'viewport';\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\nexport type RootBoundary = typeof viewport | 'document';\n\nexport const popper: 'popper' = 'popper';\nexport const reference: 'reference' = 'reference';\nexport type Context = typeof popper | typeof reference;\n\nexport type VariationPlacement =\n | 'top-start'\n | 'top-end'\n | 'bottom-start'\n | 'bottom-end'\n | 'right-start'\n | 'right-end'\n | 'left-start'\n | 'left-end';\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\n\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\n []\n);\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\n (\n acc: Array&lt;Placement&gt;,\n placement: BasePlacement | typeof auto\n ): Array&lt;Placement&gt; =&gt;\n acc.concat([\n placement,\n (`${placement}-${start}`: any),\n (`${placement}-${end}`: any),\n ]),\n []\n);\n\n// modifiers that need to read the DOM\nexport const beforeRead: 'beforeRead' = 'beforeRead';\nexport const read: 'read' = 'read';\nexport const afterRead: 'afterRead' = 'afterRead';\n// pure-logic modifiers\nexport const beforeMain: 'beforeMain' = 'beforeMain';\nexport const main: 'main' = 'main';\nexport const afterMain: 'afterMain' = 'afterMain';\n// modifier with the purpose to write to the DOM (or write into a framework state)\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\nexport const write: 'write' = 'write';\nexport const afterWrite: 'afterWrite' = 'afterWrite';\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\n beforeRead,\n read,\n afterRead,\n beforeMain,\n main,\n afterMain,\n beforeWrite,\n write,\n afterWrite,\n];\n\nexport type ModifierPhases =\n | typeof beforeRead\n | typeof read\n | typeof afterRead\n | typeof beforeMain\n | typeof main\n | typeof afterMain\n | typeof beforeWrite\n | typeof write\n | typeof afterWrite;\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\nimport { modifierPhases } from '../enums';\n\n// source: https://stackoverflow.com/questions/49875255\nfunction order(modifiers) {\n const map = new Map();\n const visited = new Set();\n const result = [];\n\n modifiers.forEach(modifier =&gt; {\n map.set(modifier.name, modifier);\n });\n\n // On visiting object, check for its dependencies and visit them recursively\n function sort(modifier: Modifier&lt;any, any&gt;) {\n visited.add(modifier.name);\n\n const requires = [\n ...(modifier.requires || []),\n ...(modifier.requiresIfExists || []),\n ];\n\n requires.forEach(dep =&gt; {\n if (!visited.has(dep)) {\n const depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n\n result.push(modifier);\n }\n\n modifiers.forEach(modifier =&gt; {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n\n return result;\n}\n\nexport default function orderModifiers(\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\n // order based on dependencies\n const orderedModifiers = order(modifiers);\n\n // order based on phase\n return modifierPhases.reduce((acc, phase) =&gt; {\n return acc.concat(\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\n );\n }, []);\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\n let pending;\n return () =&gt; {\n if (!pending) {\n pending = new Promise&lt;T&gt;(resolve =&gt; {\n Promise.resolve().then(() =&gt; {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function format(str: string, ...args: Array&lt;string&gt;) {\n return [...args].reduce((p, c) =&gt; p.replace(/%s/, c), str);\n}\n"</span>,<span class="code-string">"// @flow\nimport format from './format';\nimport { modifierPhases } from '../enums';\n\nconst INVALID_MODIFIER_ERROR =\n 'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s';\nconst MISSING_DEPENDENCY_ERROR =\n 'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available';\nconst VALID_PROPERTIES = [\n 'name',\n 'enabled',\n 'phase',\n 'fn',\n 'effect',\n 'requires',\n 'options',\n];\n\nexport default function validateModifiers(modifiers: Array&lt;any&gt;): void {\n modifiers.forEach((modifier) =&gt; {\n [...Object.keys(modifier), ...VALID_PROPERTIES]\n // IE11-compatible replacement for `new Set(iterable)`\n .filter((value, index, self) =&gt; self.indexOf(value) === index)\n .forEach((key) =&gt; {\n switch (key) {\n case 'name':\n if (typeof modifier.name !== 'string') {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n String(modifier.name),\n '\"name\"',\n '\"string\"',\n `\"${String(modifier.name)}\"`\n )\n );\n }\n break;\n case 'enabled':\n if (typeof modifier.enabled !== 'boolean') {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"enabled\"',\n '\"boolean\"',\n `\"${String(modifier.enabled)}\"`\n )\n );\n }\n break;\n case 'phase':\n if (modifierPhases.indexOf(modifier.phase) &lt; 0) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"phase\"',\n `either ${modifierPhases.join(', ')}`,\n `\"${String(modifier.phase)}\"`\n )\n );\n }\n break;\n case 'fn':\n if (typeof modifier.fn !== 'function') {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"fn\"',\n '\"function\"',\n `\"${String(modifier.fn)}\"`\n )\n );\n }\n break;\n case 'effect':\n if (\n modifier.effect != null &amp;&amp;\n typeof modifier.effect !== 'function'\n ) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"effect\"',\n '\"function\"',\n `\"${String(modifier.fn)}\"`\n )\n );\n }\n break;\n case 'requires':\n if (\n modifier.requires != null &amp;&amp;\n !Array.isArray(modifier.requires)\n ) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"requires\"',\n '\"array\"',\n `\"${String(modifier.requires)}\"`\n )\n );\n }\n break;\n case 'requiresIfExists':\n if (!Array.isArray(modifier.requiresIfExists)) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"requiresIfExists\"',\n '\"array\"',\n `\"${String(modifier.requiresIfExists)}\"`\n )\n );\n }\n break;\n case 'options':\n case 'data':\n break;\n default:\n console.error(\n `PopperJS: an invalid property has been provided to the \"${\n modifier.name\n }\" modifier, valid properties are ${VALID_PROPERTIES.map(\n (s) =&gt; `\"${s}\"`\n ).join(', ')}; but \"${key}\" was provided.`\n );\n }\n\n modifier.requires &amp;&amp;\n modifier.requires.forEach((requirement) =&gt; {\n if (modifiers.find((mod) =&gt; mod.name === requirement) == null) {\n console.error(\n format(\n MISSING_DEPENDENCY_ERROR,\n String(modifier.name),\n requirement,\n requirement\n )\n );\n }\n });\n });\n });\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function uniqueBy&lt;T&gt;(arr: Array&lt;T&gt;, fn: T =&gt; any): Array&lt;T&gt; {\n const identifiers = new Set();\n\n return arr.filter(item =&gt; {\n const identifier = fn(item);\n\n if (!identifiers.has(identifier)) {\n identifiers.add(identifier);\n return true;\n }\n });\n}\n"</span>,<span class="code-string">"// @flow\nimport { type BasePlacement, type Placement, auto } from '../enums';\n\nexport default function getBasePlacement(\n placement: Placement | typeof auto\n): BasePlacement {\n return (placement.split('-')[0]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\n\nexport default function mergeByName(\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\n const merged = modifiers.reduce((merged, current) =&gt; {\n const existing = merged[current.name];\n merged[current.name] = existing\n ? {\n ...existing,\n ...current,\n options: { ...existing.options, ...current.options },\n data: { ...existing.data, ...current.data },\n }\n : current;\n return merged;\n }, {});\n\n // IE11 does not support Object.values\n return Object.keys(merged).map(key =&gt; merged[key]);\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScrollBarX from './getWindowScrollBarX';\n\nexport default function getViewportRect(element: Element) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n\n // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\n\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width,\n height,\n x: x + getWindowScrollBarX(element),\n y,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getWindowScroll from './getWindowScroll';\nimport { max } from '../utils/math';\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\nexport default function getDocumentRect(element: HTMLElement): Rect {\n const html = getDocumentElement(element);\n const winScroll = getWindowScroll(element);\n const body = element.ownerDocument?.body;\n\n const width = max(\n html.scrollWidth,\n html.clientWidth,\n body ? body.scrollWidth : 0,\n body ? body.clientWidth : 0\n );\n const height = max(\n html.scrollHeight,\n html.clientHeight,\n body ? body.scrollHeight : 0,\n body ? body.clientHeight : 0\n );\n\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n const y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return { width, height, x, y };\n}\n"</span>,<span class="code-string">"// @flow\nimport { isShadowRoot } from './instanceOf';\n\nexport default function contains(parent: Element, child: Element) {\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\n\n // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n }\n // then fallback to custom implementation with Shadow DOM support\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\n let next = child;\n do {\n if (next &amp;&amp; parent.isSameNode(next)) {\n return true;\n }\n // $FlowFixMe[prop-missing]: need a better way to handle this...\n next = next.parentNode || next.host;\n } while (next);\n }\n\n // Give up, the result is false\n return false;\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, ClientRectObject } from '../types';\n\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\n return {\n ...rect,\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject } from '../types';\nimport type { Boundary, RootBoundary } from '../enums';\nimport { viewport } from '../enums';\nimport getViewportRect from './getViewportRect';\nimport getDocumentRect from './getDocumentRect';\nimport listScrollParents from './listScrollParents';\nimport getOffsetParent from './getOffsetParent';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport { isElement, isHTMLElement } from './instanceOf';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getParentNode from './getParentNode';\nimport contains from './contains';\nimport getNodeName from './getNodeName';\nimport rectToClientRect from '../utils/rectToClientRect';\nimport { max, min } from '../utils/math';\n\nfunction getInnerBoundingClientRect(element: Element) {\n const rect = getBoundingClientRect(element);\n\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n\n return rect;\n}\n\nfunction getClientRectFromMixedType(\n element: Element,\n clippingParent: Element | RootBoundary\n): ClientRectObject {\n return clippingParent === viewport\n ? rectToClientRect(getViewportRect(element))\n : isElement(clippingParent)\n ? getInnerBoundingClientRect(clippingParent)\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n}\n\n// A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\n const clippingParents = listScrollParents(getParentNode(element));\n const canEscapeClipping =\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\n const clipperElement =\n canEscapeClipping &amp;&amp; isHTMLElement(element)\n ? getOffsetParent(element)\n : element;\n\n if (!isElement(clipperElement)) {\n return [];\n }\n\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n return clippingParents.filter(\n (clippingParent) =&gt;\n isElement(clippingParent) &amp;&amp;\n contains(clippingParent, clipperElement) &amp;&amp;\n getNodeName(clippingParent) !== 'body'\n );\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping parents\nexport default function getClippingRect(\n element: Element,\n boundary: Boundary,\n rootBoundary: RootBoundary\n): ClientRectObject {\n const mainClippingParents =\n boundary === 'clippingParents'\n ? getClippingParents(element)\n : [].concat(boundary);\n const clippingParents = [...mainClippingParents, rootBoundary];\n const firstClippingParent = clippingParents[0];\n\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\n const rect = getClientRectFromMixedType(element, clippingParent);\n\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n\n return clippingRect;\n}\n"</span>,<span class="code-string">"// @flow\nimport { type Variation, type Placement } from '../enums';\n\nexport default function getVariation(placement: Placement): ?Variation {\n return (placement.split('-')[1]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nexport default function getMainAxisFromPlacement(\n placement: Placement\n): 'x' | 'y' {\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\n}\n"</span>,<span class="code-string">"// @flow\nimport getBasePlacement from './getBasePlacement';\nimport getVariation from './getVariation';\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\nimport type {\n Rect,\n PositioningStrategy,\n Offsets,\n ClientRectObject,\n} from '../types';\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\n\nexport default function computeOffsets({\n reference,\n element,\n placement,\n}: {\n reference: Rect | ClientRectObject,\n element: Rect | ClientRectObject,\n strategy: PositioningStrategy,\n placement?: Placement,\n}): Offsets {\n const basePlacement = placement ? getBasePlacement(placement) : null;\n const variation = placement ? getVariation(placement) : null;\n const commonX = reference.x + reference.width / 2 - element.width / 2;\n const commonY = reference.y + reference.height / 2 - element.height / 2;\n\n let offsets;\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height,\n };\n break;\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height,\n };\n break;\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY,\n };\n break;\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY,\n };\n break;\n default:\n offsets = {\n x: reference.x,\n y: reference.y,\n };\n }\n\n const mainAxis = basePlacement\n ? getMainAxisFromPlacement(basePlacement)\n : null;\n\n if (mainAxis != null) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] =\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n case end:\n offsets[mainAxis] =\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n default:\n }\n }\n\n return offsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\n\nexport default function getFreshSideObject(): SideObject {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\nimport getFreshSideObject from './getFreshSideObject';\n\nexport default function mergePaddingObject(\n paddingObject: $Shape&lt;SideObject&gt;\n): SideObject {\n return {\n ...getFreshSideObject(),\n ...paddingObject,\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function expandToHashMap&lt;\n T: number | string | boolean,\n K: string\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\n return keys.reduce((hashMap, key) =&gt; {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}\n"</span>,<span class="code-string">"// @flow\nimport type { State, SideObject, Padding } from '../types';\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\nimport getClippingRect from '../dom-utils/getClippingRect';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\nimport computeOffsets from './computeOffsets';\nimport rectToClientRect from './rectToClientRect';\nimport {\n clippingParents,\n reference,\n popper,\n bottom,\n top,\n right,\n basePlacements,\n viewport,\n} from '../enums';\nimport { isElement } from '../dom-utils/instanceOf';\nimport mergePaddingObject from './mergePaddingObject';\nimport expandToHashMap from './expandToHashMap';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n placement: Placement,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n elementContext: Context,\n altBoundary: boolean,\n padding: Padding,\n};\n\nexport default function detectOverflow(\n state: State,\n options: $Shape&lt;Options&gt; = {}\n): SideObject {\n const {\n placement = state.placement,\n boundary = clippingParents,\n rootBoundary = viewport,\n elementContext = popper,\n altBoundary = false,\n padding = 0,\n } = options;\n\n const paddingObject = mergePaddingObject(\n typeof padding !== 'number'\n ? padding\n : expandToHashMap(padding, basePlacements)\n );\n\n const altContext = elementContext === popper ? reference : popper;\n\n const popperRect = state.rects.popper;\n const element = state.elements[altBoundary ? altContext : elementContext];\n\n const clippingClientRect = getClippingRect(\n isElement(element)\n ? element\n : element.contextElement || getDocumentElement(state.elements.popper),\n boundary,\n rootBoundary\n );\n\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\n\n const popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement,\n });\n\n const popperClientRect = rectToClientRect({\n ...popperRect,\n ...popperOffsets,\n });\n\n const elementClientRect =\n elementContext === popper ? popperClientRect : referenceClientRect;\n\n // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n const overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom:\n elementClientRect.bottom -\n clippingClientRect.bottom +\n paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right:\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\n };\n\n const offsetData = state.modifiersData.offset;\n\n // Offsets can be applied only to the popper element\n if (elementContext === popper &amp;&amp; offsetData) {\n const offset = offsetData[placement];\n\n Object.keys(overflowOffsets).forEach((key) =&gt; {\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport type {\n State,\n OptionsGeneric,\n Modifier,\n Instance,\n VirtualElement,\n} from './types';\nimport getCompositeRect from './dom-utils/getCompositeRect';\nimport getLayoutRect from './dom-utils/getLayoutRect';\nimport listScrollParents from './dom-utils/listScrollParents';\nimport getOffsetParent from './dom-utils/getOffsetParent';\nimport getComputedStyle from './dom-utils/getComputedStyle';\nimport orderModifiers from './utils/orderModifiers';\nimport debounce from './utils/debounce';\nimport validateModifiers from './utils/validateModifiers';\nimport uniqueBy from './utils/uniqueBy';\nimport getBasePlacement from './utils/getBasePlacement';\nimport mergeByName from './utils/mergeByName';\nimport detectOverflow from './utils/detectOverflow';\nimport { isElement } from './dom-utils/instanceOf';\nimport { auto } from './enums';\n\nconst INVALID_ELEMENT_ERROR =\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nconst INFINITE_LOOP_ERROR =\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\n\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute',\n};\n\ntype PopperGeneratorArgs = {\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\n};\n\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\n return !args.some(\n (element) =&gt;\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\n );\n}\n\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\n const {\n defaultModifiers = [],\n defaultOptions = DEFAULT_OPTIONS,\n } = generatorOptions;\n\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\n reference: Element | VirtualElement,\n popper: HTMLElement,\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\n ): Instance {\n let state: $Shape&lt;State&gt; = {\n placement: 'bottom',\n orderedModifiers: [],\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\n modifiersData: {},\n elements: {\n reference,\n popper,\n },\n attributes: {},\n styles: {},\n };\n\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\n let isDestroyed = false;\n\n const instance = {\n state,\n setOptions(setOptionsAction) {\n const options =\n typeof setOptionsAction === 'function'\n ? setOptionsAction(state.options)\n : setOptionsAction;\n\n cleanupModifierEffects();\n\n state.options = {\n // $FlowFixMe[exponential-spread]\n ...defaultOptions,\n ...state.options,\n ...options,\n };\n\n state.scrollParents = {\n reference: isElement(reference)\n ? listScrollParents(reference)\n : reference.contextElement\n ? listScrollParents(reference.contextElement)\n : [],\n popper: listScrollParents(popper),\n };\n\n // Orders the modifiers based on their dependencies and `phase`\n // properties\n const orderedModifiers = orderModifiers(\n mergeByName([...defaultModifiers, ...state.options.modifiers])\n );\n\n // Strip out disabled modifiers\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\n\n // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n if (__DEV__) {\n const modifiers = uniqueBy(\n [...orderedModifiers, ...state.options.modifiers],\n ({ name }) =&gt; name\n );\n\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n const flipModifier = state.orderedModifiers.find(\n ({ name }) =&gt; name === 'flip'\n );\n\n if (!flipModifier) {\n console.error(\n [\n 'Popper: \"auto\" placements require the \"flip\" modifier be',\n 'present and enabled to work.',\n ].join(' ')\n );\n }\n }\n\n const {\n marginTop,\n marginRight,\n marginBottom,\n marginLeft,\n } = getComputedStyle(popper);\n\n // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n if (\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\n parseFloat(margin)\n )\n ) {\n console.warn(\n [\n 'Popper: CSS \"margin\" styles cannot be used to apply padding',\n 'between the popper and its reference element or boundary.',\n 'To replicate margin, use the `offset` modifier, as well as',\n 'the `padding` option in the `preventOverflow` and `flip`',\n 'modifiers.',\n ].join(' ')\n );\n }\n }\n\n runModifierEffects();\n\n return instance.update();\n },\n\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n const { reference, popper } = state.elements;\n\n // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return;\n }\n\n // Store the reference and popper rects to be read by modifiers\n state.rects = {\n reference: getCompositeRect(\n reference,\n getOffsetParent(popper),\n state.options.strategy === 'fixed'\n ),\n popper: getLayoutRect(popper),\n };\n\n // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n state.reset = false;\n\n state.placement = state.options.placement;\n\n // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n state.orderedModifiers.forEach(\n (modifier) =&gt;\n (state.modifiersData[modifier.name] = {\n ...modifier.data,\n })\n );\n\n let __debug_loops__ = 0;\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\n if (__DEV__) {\n __debug_loops__ += 1;\n if (__debug_loops__ &gt; 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n const { fn, options = {}, name } = state.orderedModifiers[index];\n\n if (typeof fn === 'function') {\n state = fn({ state, options, name, instance }) || state;\n }\n }\n },\n\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\n () =&gt;\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\n instance.forceUpdate();\n resolve(state);\n })\n ),\n\n destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n },\n };\n\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return instance;\n }\n\n instance.setOptions(options).then((state) =&gt; {\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n });\n\n // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n function runModifierEffects() {\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\n if (typeof effect === 'function') {\n const cleanupFn = effect({ state, name, instance, options });\n const noopFn = () =&gt; {};\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach((fn) =&gt; fn());\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\n\nexport const createPopper = popperGenerator();\n\n// eslint-disable-next-line import/no-unused-modules\nexport { detectOverflow };\n"</span>],<span class="code-attr">"names"</span>:[<span class="code-string">"getWindow"</span>,<span class="code-string">"node"</span>,<span class="code-string">"window"</span>,<span class="code-string">"toString"</span>,<span class="code-string">"ownerDocument"</span>,<span class="code-string">"defaultView"</span>,<span class="code-string">"isElement"</span>,<span class="code-string">"OwnElement"</span>,<span class="code-string">"Element"</span>,<span class="code-string">"isHTMLElement"</span>,<span class="code-string">"HTMLElement"</span>,<span class="code-string">"isShadowRoot"</span>,<span class="code-string">"ShadowRoot"</span>,<span class="code-string">"max"</span>,<span class="code-string">"Math"</span>,<span class="code-string">"min"</span>,<span class="code-string">"round"</span>,<span class="code-string">"getBoundingClientRect"</span>,<span class="code-string">"element"</span>,<span class="code-string">"includeScale"</span>,<span class="code-string">"rect"</span>,<span class="code-string">"scaleX"</span>,<span class="code-string">"scaleY"</span>,<span class="code-string">"offsetHeight"</span>,<span class="code-string">"offsetWidth"</span>,<span class="code-string">"width"</span>,<span class="code-string">"height"</span>,<span class="code-string">"top"</span>,<span class="code-string">"right"</span>,<span class="code-string">"bottom"</span>,<span class="code-string">"left"</span>,<span class="code-string">"x"</span>,<span class="code-string">"y"</span>,<span class="code-string">"getWindowScroll"</span>,<span class="code-string">"win"</span>,<span class="code-string">"scrollLeft"</span>,<span class="code-string">"pageXOffset"</span>,<span class="code-string">"scrollTop"</span>,<span class="code-string">"pageYOffset"</span>,<span class="code-string">"getHTMLElementScroll"</span>,<span class="code-string">"getNodeScroll"</span>,<span class="code-string">"getNodeName"</span>,<span class="code-string">"nodeName"</span>,<span class="code-string">"toLowerCase"</span>,<span class="code-string">"getDocumentElement"</span>,<span class="code-string">"document"</span>,<span class="code-string">"documentElement"</span>,<span class="code-string">"getWindowScrollBarX"</span>,<span class="code-string">"getComputedStyle"</span>,<span class="code-string">"isScrollParent"</span>,<span class="code-string">"overflow"</span>,<span class="code-string">"overflowX"</span>,<span class="code-string">"overflowY"</span>,<span class="code-string">"test"</span>,<span class="code-string">"isElementScaled"</span>,<span class="code-string">"getCompositeRect"</span>,<span class="code-string">"elementOrVirtualElement"</span>,<span class="code-string">"offsetParent"</span>,<span class="code-string">"isFixed"</span>,<span class="code-string">"isOffsetParentAnElement"</span>,<span class="code-string">"offsetParentIsScaled"</span>,<span class="code-string">"scroll"</span>,<span class="code-string">"offsets"</span>,<span class="code-string">"clientLeft"</span>,<span class="code-string">"clientTop"</span>,<span class="code-string">"getLayoutRect"</span>,<span class="code-string">"clientRect"</span>,<span class="code-string">"abs"</span>,<span class="code-string">"offsetLeft"</span>,<span class="code-string">"offsetTop"</span>,<span class="code-string">"getParentNode"</span>,<span class="code-string">"assignedSlot"</span>,<span class="code-string">"parentNode"</span>,<span class="code-string">"host"</span>,<span class="code-string">"getScrollParent"</span>,<span class="code-string">"indexOf"</span>,<span class="code-string">"body"</span>,<span class="code-string">"listScrollParents"</span>,<span class="code-string">"list"</span>,<span class="code-string">"scrollParent"</span>,<span class="code-string">"isBody"</span>,<span class="code-string">"target"</span>,<span class="code-string">"concat"</span>,<span class="code-string">"visualViewport"</span>,<span class="code-string">"updatedList"</span>,<span class="code-string">"isTableElement"</span>,<span class="code-string">"getTrueOffsetParent"</span>,<span class="code-string">"position"</span>,<span class="code-string">"getContainingBlock"</span>,<span class="code-string">"isFirefox"</span>,<span class="code-string">"navigator"</span>,<span class="code-string">"userAgent"</span>,<span class="code-string">"isIE"</span>,<span class="code-string">"elementCss"</span>,<span class="code-string">"currentNode"</span>,<span class="code-string">"css"</span>,<span class="code-string">"transform"</span>,<span class="code-string">"perspective"</span>,<span class="code-string">"contain"</span>,<span class="code-string">"willChange"</span>,<span class="code-string">"filter"</span>,<span class="code-string">"getOffsetParent"</span>,<span class="code-string">"auto"</span>,<span class="code-string">"basePlacements"</span>,<span class="code-string">"start"</span>,<span class="code-string">"end"</span>,<span class="code-string">"clippingParents"</span>,<span class="code-string">"viewport"</span>,<span class="code-string">"popper"</span>,<span class="code-string">"reference"</span>,<span class="code-string">"beforeRead"</span>,<span class="code-string">"read"</span>,<span class="code-string">"afterRead"</span>,<span class="code-string">"beforeMain"</span>,<span class="code-string">"main"</span>,<span class="code-string">"afterMain"</span>,<span class="code-string">"beforeWrite"</span>,<span class="code-string">"write"</span>,<span class="code-string">"afterWrite"</span>,<span class="code-string">"modifierPhases"</span>,<span class="code-string">"order"</span>,<span class="code-string">"modifiers"</span>,<span class="code-string">"map"</span>,<span class="code-string">"Map"</span>,<span class="code-string">"visited"</span>,<span class="code-string">"Set"</span>,<span class="code-string">"result"</span>,<span class="code-string">"forEach"</span>,<span class="code-string">"modifier"</span>,<span class="code-string">"set"</span>,<span class="code-string">"name"</span>,<span class="code-string">"sort"</span>,<span class="code-string">"add"</span>,<span class="code-string">"requires"</span>,<span class="code-string">"requiresIfExists"</span>,<span class="code-string">"dep"</span>,<span class="code-string">"has"</span>,<span class="code-string">"depModifier"</span>,<span class="code-string">"get"</span>,<span class="code-string">"push"</span>,<span class="code-string">"orderModifiers"</span>,<span class="code-string">"orderedModifiers"</span>,<span class="code-string">"reduce"</span>,<span class="code-string">"acc"</span>,<span class="code-string">"phase"</span>,<span class="code-string">"debounce"</span>,<span class="code-string">"fn"</span>,<span class="code-string">"pending"</span>,<span class="code-string">"Promise"</span>,<span class="code-string">"resolve"</span>,<span class="code-string">"then"</span>,<span class="code-string">"undefined"</span>,<span class="code-string">"format"</span>,<span class="code-string">"str"</span>,<span class="code-string">"args"</span>,<span class="code-string">"p"</span>,<span class="code-string">"c"</span>,<span class="code-string">"replace"</span>,<span class="code-string">"INVALID_MODIFIER_ERROR"</span>,<span class="code-string">"MISSING_DEPENDENCY_ERROR"</span>,<span class="code-string">"VALID_PROPERTIES"</span>,<span class="code-string">"validateModifiers"</span>,<span class="code-string">"Object"</span>,<span class="code-string">"keys"</span>,<span class="code-string">"value"</span>,<span class="code-string">"index"</span>,<span class="code-string">"self"</span>,<span class="code-string">"key"</span>,<span class="code-string">"console"</span>,<span class="code-string">"error"</span>,<span class="code-string">"String"</span>,<span class="code-string">"enabled"</span>,<span class="code-string">"join"</span>,<span class="code-string">"effect"</span>,<span class="code-string">"Array"</span>,<span class="code-string">"isArray"</span>,<span class="code-string">"s"</span>,<span class="code-string">"requirement"</span>,<span class="code-string">"find"</span>,<span class="code-string">"mod"</span>,<span class="code-string">"uniqueBy"</span>,<span class="code-string">"arr"</span>,<span class="code-string">"identifiers"</span>,<span class="code-string">"item"</span>,<span class="code-string">"identifier"</span>,<span class="code-string">"getBasePlacement"</span>,<span class="code-string">"placement"</span>,<span class="code-string">"split"</span>,<span class="code-string">"mergeByName"</span>,<span class="code-string">"merged"</span>,<span class="code-string">"current"</span>,<span class="code-string">"existing"</span>,<span class="code-string">"options"</span>,<span class="code-string">"data"</span>,<span class="code-string">"getViewportRect"</span>,<span class="code-string">"html"</span>,<span class="code-string">"clientWidth"</span>,<span class="code-string">"clientHeight"</span>,<span class="code-string">"getDocumentRect"</span>,<span class="code-string">"winScroll"</span>,<span class="code-string">"scrollWidth"</span>,<span class="code-string">"scrollHeight"</span>,<span class="code-string">"direction"</span>,<span class="code-string">"contains"</span>,<span class="code-string">"parent"</span>,<span class="code-string">"child"</span>,<span class="code-string">"rootNode"</span>,<span class="code-string">"getRootNode"</span>,<span class="code-string">"next"</span>,<span class="code-string">"isSameNode"</span>,<span class="code-string">"rectToClientRect"</span>,<span class="code-string">"getInnerBoundingClientRect"</span>,<span class="code-string">"getClientRectFromMixedType"</span>,<span class="code-string">"clippingParent"</span>,<span class="code-string">"getClippingParents"</span>,<span class="code-string">"canEscapeClipping"</span>,<span class="code-string">"clipperElement"</span>,<span class="code-string">"getClippingRect"</span>,<span class="code-string">"boundary"</span>,<span class="code-string">"rootBoundary"</span>,<span class="code-string">"mainClippingParents"</span>,<span class="code-string">"firstClippingParent"</span>,<span class="code-string">"clippingRect"</span>,<span class="code-string">"accRect"</span>,<span class="code-string">"getVariation"</span>,<span class="code-string">"getMainAxisFromPlacement"</span>,<span class="code-string">"computeOffsets"</span>,<span class="code-string">"basePlacement"</span>,<span class="code-string">"variation"</span>,<span class="code-string">"commonX"</span>,<span class="code-string">"commonY"</span>,<span class="code-string">"mainAxis"</span>,<span class="code-string">"len"</span>,<span class="code-string">"getFreshSideObject"</span>,<span class="code-string">"mergePaddingObject"</span>,<span class="code-string">"paddingObject"</span>,<span class="code-string">"expandToHashMap"</span>,<span class="code-string">"hashMap"</span>,<span class="code-string">"detectOverflow"</span>,<span class="code-string">"state"</span>,<span class="code-string">"elementContext"</span>,<span class="code-string">"altBoundary"</span>,<span class="code-string">"padding"</span>,<span class="code-string">"altContext"</span>,<span class="code-string">"popperRect"</span>,<span class="code-string">"rects"</span>,<span class="code-string">"elements"</span>,<span class="code-string">"clippingClientRect"</span>,<span class="code-string">"contextElement"</span>,<span class="code-string">"referenceClientRect"</span>,<span class="code-string">"popperOffsets"</span>,<span class="code-string">"strategy"</span>,<span class="code-string">"popperClientRect"</span>,<span class="code-string">"elementClientRect"</span>,<span class="code-string">"overflowOffsets"</span>,<span class="code-string">"offsetData"</span>,<span class="code-string">"modifiersData"</span>,<span class="code-string">"offset"</span>,<span class="code-string">"multiply"</span>,<span class="code-string">"axis"</span>,<span class="code-string">"INVALID_ELEMENT_ERROR"</span>,<span class="code-string">"INFINITE_LOOP_ERROR"</span>,<span class="code-string">"DEFAULT_OPTIONS"</span>,<span class="code-string">"areValidElements"</span>,<span class="code-string">"some"</span>,<span class="code-string">"popperGenerator"</span>,<span class="code-string">"generatorOptions"</span>,<span class="code-string">"defaultModifiers"</span>,<span class="code-string">"defaultOptions"</span>,<span class="code-string">"createPopper"</span>,<span class="code-string">"attributes"</span>,<span class="code-string">"styles"</span>,<span class="code-string">"effectCleanupFns"</span>,<span class="code-string">"isDestroyed"</span>,<span class="code-string">"instance"</span>,<span class="code-string">"setOptions"</span>,<span class="code-string">"setOptionsAction"</span>,<span class="code-string">"cleanupModifierEffects"</span>,<span class="code-string">"scrollParents"</span>,<span class="code-string">"m"</span>,<span class="code-string">"flipModifier"</span>,<span class="code-string">"marginTop"</span>,<span class="code-string">"marginRight"</span>,<span class="code-string">"marginBottom"</span>,<span class="code-string">"marginLeft"</span>,<span class="code-string">"margin"</span>,<span class="code-string">"parseFloat"</span>,<span class="code-string">"warn"</span>,<span class="code-string">"runModifierEffects"</span>,<span class="code-string">"update"</span>,<span class="code-string">"forceUpdate"</span>,<span class="code-string">"reset"</span>,<span class="code-string">"__debug_loops__"</span>,<span class="code-string">"length"</span>,<span class="code-string">"destroy"</span>,<span class="code-string">"onFirstUpdate"</span>,<span class="code-string">"cleanupFn"</span>,<span class="code-string">"noopFn"</span>],<span class="code-attr">"mappings"</span>:<span class="code-string">";;;;;;;;;;EAIe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AT;EAAegJ,YAAAA,QAAQ,EAARA,QAAf;EAAyBlF,YAAAA,OAAO,EAAPA;EAAzB,WAAD,CAAxB;;EACA,cAAMyG,MAAM,GAAG,SAATA,MAAS,GAAM,EAArB;;EACAzB,UAAAA,gBAAgB,CAACrI,IAAjB,CAAsB6J,SAAS,IAAIC,MAAnC;EACD;EACF,OAND;EAOD;;EAED,aAASpB,sBAAT,GAAkC;EAChCL,MAAAA,gBAAgB,CAACjJ,OAAjB,CAAyB,UAACmB,EAAD;EAAA,eAAQA,EAAE,EAAV;EAAA,OAAzB;EACA8H,MAAAA,gBAAgB,GAAG,EAAnB;EACD;;EAED,WAAOE,QAAP;EACD,GA7OD;EA8OD;MAEYL,YAAY,gBAAGJ,eAAe;;;;;;;;"</span>}</code></td></tr><tr><td class="css-a4x74f">\</td><style data-emotion-css="jhhjkz">.css-jhhjkz{padding-left:10px;color:rgba(27,31,35,.3);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td class="css-jhhjkz">No newline at end of file</td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper-base.min.js b/web/_static/popperjs/popper-base.min.js
new file mode 100644
index 0000000..6fd42cd
--- /dev/null
+++ b/web/_static/popperjs/popper-base.min.js
@@ -0,0 +1,71 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:30.202Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-base.min.js","target":{"path":"/dist/umd/popper-base.min.js","type":"file","details":{"contentType":"application/javascript","integrity":"sha384-n242cyePEsGz5l208rwETh33s14P2kUkgldK4LCeHxA4Zn4/D84gKFamVb65lqku","language":"JavaScript","size":9434,"uri":null,"highlights":["<span class=\"code-comment\">/**\n</span>","<span class=\"code-comment\"> * @popperjs/core v2.11.5 - MIT License\n</span>","<span class=\"code-comment\"> */</span>\n","\n","!<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,e</span>)</span>{<span class=\"code-string\">\"object\"</span>==<span class=\"code-keyword\">typeof</span> exports&amp;&amp;<span class=\"code-string\">\"undefined\"</span>!=<span class=\"code-keyword\">typeof</span> <span class=\"code-built_in\">module</span>?e(exports):<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> define&amp;&amp;define.amd?define([<span class=\"code-string\">\"exports\"</span>],e):e((t=<span class=\"code-string\">\"undefined\"</span>!=<span class=\"code-keyword\">typeof</span> globalThis?globalThis:t||self).Popper={})}(<span class=\"code-keyword\">this</span>,(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-string\">\"use strict\"</span>;<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">e</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">if</span>(<span class=\"code-literal\">null</span>==t)<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">window</span>;<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"[object Window]\"</span>!==t.toString()){<span class=\"code-keyword\">var</span> e=t.ownerDocument;<span class=\"code-keyword\">return</span> e&amp;&amp;e.defaultView||<span class=\"code-built_in\">window</span>}<span class=\"code-keyword\">return</span> t}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">n</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> t <span class=\"code-keyword\">instanceof</span> e(t).Element||t <span class=\"code-keyword\">instanceof</span> Element}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">o</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> t <span class=\"code-keyword\">instanceof</span> e(t).HTMLElement||t <span class=\"code-keyword\">instanceof</span> HTMLElement}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">r</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span><span class=\"code-string\">\"undefined\"</span>!=<span class=\"code-keyword\">typeof</span> ShadowRoot&amp;&amp;(t <span class=\"code-keyword\">instanceof</span> e(t).ShadowRoot||t <span class=\"code-keyword\">instanceof</span> ShadowRoot)}<span class=\"code-keyword\">var</span> i=<span class=\"code-built_in\">Math</span>.max,f=<span class=\"code-built_in\">Math</span>.min,a=<span class=\"code-built_in\">Math</span>.round;<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">c</span>(<span class=\"code-params\">t,e</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===e&amp;&amp;(e=!<span class=\"code-number\">1</span>);<span class=\"code-keyword\">var</span> n=t.getBoundingClientRect(),r=<span class=\"code-number\">1</span>,i=<span class=\"code-number\">1</span>;<span class=\"code-keyword\">if</span>(o(t)&amp;&amp;e){<span class=\"code-keyword\">var</span> f=t.offsetHeight,c=t.offsetWidth;c&gt;<span class=\"code-number\">0</span>&amp;&amp;(r=a(n.width)/c||<span class=\"code-number\">1</span>),f&gt;<span class=\"code-number\">0</span>&amp;&amp;(i=a(n.height)/f||<span class=\"code-number\">1</span>)}<span class=\"code-keyword\">return</span>{<span class=\"code-attr\">width</span>:n.width/r,<span class=\"code-attr\">height</span>:n.height/i,<span class=\"code-attr\">top</span>:n.top/i,<span class=\"code-attr\">right</span>:n.right/r,<span class=\"code-attr\">bottom</span>:n.bottom/i,<span class=\"code-attr\">left</span>:n.left/r,<span class=\"code-attr\">x</span>:n.left/r,<span class=\"code-attr\">y</span>:n.top/i}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">u</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> n=e(t);<span class=\"code-keyword\">return</span>{<span class=\"code-attr\">scrollLeft</span>:n.pageXOffset,<span class=\"code-attr\">scrollTop</span>:n.pageYOffset}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">s</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> t?(t.nodeName||<span class=\"code-string\">\"\"</span>).toLowerCase():<span class=\"code-literal\">null</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">l</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span>((n(t)?t.ownerDocument:t.document)||<span class=\"code-built_in\">window</span>.document).documentElement}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">d</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> c(l(t)).left+u(t).scrollLeft}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">h</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> e(t).getComputedStyle(t)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">p</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e=h(t),n=e.overflow,o=e.overflowX,r=e.overflowY;<span class=\"code-keyword\">return</span><span class=\"code-regexp\">/auto|scroll|overlay|hidden/</span>.test(n+r+o)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">m</span>(<span class=\"code-params\">t,n,r</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===r&amp;&amp;(r=!<span class=\"code-number\">1</span>);<span class=\"code-keyword\">var</span> i,f,h=o(n),m=o(n)&amp;&amp;<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e=t.getBoundingClientRect(),n=a(e.width)/t.offsetWidth||<span class=\"code-number\">1</span>,o=a(e.height)/t.offsetHeight||<span class=\"code-number\">1</span>;<span class=\"code-keyword\">return</span> <span class=\"code-number\">1</span>!==n||<span class=\"code-number\">1</span>!==o}(n),g=l(n),v=c(t,m),b={<span class=\"code-attr\">scrollLeft</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">scrollTop</span>:<span class=\"code-number\">0</span>},w={<span class=\"code-attr\">x</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">y</span>:<span class=\"code-number\">0</span>};<span class=\"code-keyword\">return</span>(h||!h&amp;&amp;!r)&amp;&amp;((<span class=\"code-string\">\"body\"</span>!==s(n)||p(g))&amp;&amp;(b=(i=n)!==e(i)&amp;&amp;o(i)?{<span class=\"code-attr\">scrollLeft</span>:(f=i).scrollLeft,<span class=\"code-attr\">scrollTop</span>:f.scrollTop}:u(i)),o(n)?((w=c(n,!<span class=\"code-number\">0</span>)).x+=n.clientLeft,w.y+=n.clientTop):g&amp;&amp;(w.x=d(g))),{<span class=\"code-attr\">x</span>:v.left+b.scrollLeft-w.x,<span class=\"code-attr\">y</span>:v.top+b.scrollTop-w.y,<span class=\"code-attr\">width</span>:v.width,<span class=\"code-attr\">height</span>:v.height}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">g</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span><span class=\"code-string\">\"html\"</span>===s(t)?t:t.assignedSlot||t.parentNode||(r(t)?t.host:<span class=\"code-literal\">null</span>)||l(t)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">v</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span>[<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"body\"</span>,<span class=\"code-string\">\"#document\"</span>].indexOf(s(t))&gt;=<span class=\"code-number\">0</span>?t.ownerDocument.body:o(t)&amp;&amp;p(t)?t:v(g(t))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">b</span>(<span class=\"code-params\">t,n</span>)</span>{<span class=\"code-keyword\">var</span> o;<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===n&amp;&amp;(n=[]);<span class=\"code-keyword\">var</span> r=v(t),i=r===(<span class=\"code-literal\">null</span>==(o=t.ownerDocument)?<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>:o.body),f=e(r),a=i?[f].concat(f.visualViewport||[],p(r)?r:[]):r,c=n.concat(a);<span class=\"code-keyword\">return</span> i?c:c.concat(b(g(a)))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">w</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span>[<span class=\"code-string\">\"table\"</span>,<span class=\"code-string\">\"td\"</span>,<span class=\"code-string\">\"th\"</span>].indexOf(s(t))&gt;=<span class=\"code-number\">0</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">y</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> o(t)&amp;&amp;<span class=\"code-string\">\"fixed\"</span>!==h(t).position?t.offsetParent:<span class=\"code-literal\">null</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">x</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> n=e(t),i=y(t);i&amp;&amp;w(i)&amp;&amp;<span class=\"code-string\">\"static\"</span>===h(i).position;)i=y(i);<span class=\"code-keyword\">return</span> i&amp;&amp;(<span class=\"code-string\">\"html\"</span>===s(i)||<span class=\"code-string\">\"body\"</span>===s(i)&amp;&amp;<span class=\"code-string\">\"static\"</span>===h(i).position)?n:i||<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e=<span class=\"code-number\">-1</span>!==navigator.userAgent.toLowerCase().indexOf(<span class=\"code-string\">\"firefox\"</span>);<span class=\"code-keyword\">if</span>(<span class=\"code-number\">-1</span>!==navigator.userAgent.indexOf(<span class=\"code-string\">\"Trident\"</span>)&amp;&amp;o(t)&amp;&amp;<span class=\"code-string\">\"fixed\"</span>===h(t).position)<span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;<span class=\"code-keyword\">var</span> n=g(t);<span class=\"code-keyword\">for</span>(r(n)&amp;&amp;(n=n.host);o(n)&amp;&amp;[<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"body\"</span>].indexOf(s(n))&lt;<span class=\"code-number\">0</span>;){<span class=\"code-keyword\">var</span> i=h(n);<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"none\"</span>!==i.transform||<span class=\"code-string\">\"none\"</span>!==i.perspective||<span class=\"code-string\">\"paint\"</span>===i.contain||<span class=\"code-number\">-1</span>!==[<span class=\"code-string\">\"transform\"</span>,<span class=\"code-string\">\"perspective\"</span>].indexOf(i.willChange)||e&amp;&amp;<span class=\"code-string\">\"filter\"</span>===i.willChange||e&amp;&amp;i.filter&amp;&amp;<span class=\"code-string\">\"none\"</span>!==i.filter)<span class=\"code-keyword\">return</span> n;n=n.parentNode}<span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>}(t)||n}<span class=\"code-keyword\">var</span> O=<span class=\"code-string\">\"top\"</span>,M=<span class=\"code-string\">\"bottom\"</span>,E=<span class=\"code-string\">\"right\"</span>,L=<span class=\"code-string\">\"left\"</span>,T=[O,M,E,L],W=<span class=\"code-string\">\"viewport\"</span>,j=<span class=\"code-string\">\"popper\"</span>,H=[<span class=\"code-string\">\"beforeRead\"</span>,<span class=\"code-string\">\"read\"</span>,<span class=\"code-string\">\"afterRead\"</span>,<span class=\"code-string\">\"beforeMain\"</span>,<span class=\"code-string\">\"main\"</span>,<span class=\"code-string\">\"afterMain\"</span>,<span class=\"code-string\">\"beforeWrite\"</span>,<span class=\"code-string\">\"write\"</span>,<span class=\"code-string\">\"afterWrite\"</span>];<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">P</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Map</span>,n=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Set</span>,o=[];<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">r</span>(<span class=\"code-params\">t</span>)</span>{n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">if</span>(!n.has(t)){<span class=\"code-keyword\">var</span> o=e.get(t);o&amp;&amp;r(o)}})),o.push(t)}<span class=\"code-keyword\">return</span> t.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{e.set(t.name,t)})),t.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{n.has(t.name)||r(t)})),o}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">R</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({},t,{<span class=\"code-attr\">left</span>:t.x,<span class=\"code-attr\">top</span>:t.y,<span class=\"code-attr\">right</span>:t.x+t.width,<span class=\"code-attr\">bottom</span>:t.y+t.height})}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">C</span>(<span class=\"code-params\">t,o</span>)</span>{<span class=\"code-keyword\">return</span> o===W?R(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> n=e(t),o=l(t),r=n.visualViewport,i=o.clientWidth,f=o.clientHeight,a=<span class=\"code-number\">0</span>,c=<span class=\"code-number\">0</span>;<span class=\"code-keyword\">return</span> r&amp;&amp;(i=r.width,f=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,c=r.offsetTop)),{<span class=\"code-attr\">width</span>:i,<span class=\"code-attr\">height</span>:f,<span class=\"code-attr\">x</span>:a+d(t),<span class=\"code-attr\">y</span>:c}}(t)):n(o)?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e=c(t);<span class=\"code-keyword\">return</span> e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(o):R(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e,n=l(t),o=u(t),r=<span class=\"code-literal\">null</span>==(e=t.ownerDocument)?<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>:e.body,f=i(n.scrollWidth,n.clientWidth,r?r.scrollWidth:<span class=\"code-number\">0</span>,r?r.clientWidth:<span class=\"code-number\">0</span>),a=i(n.scrollHeight,n.clientHeight,r?r.scrollHeight:<span class=\"code-number\">0</span>,r?r.clientHeight:<span class=\"code-number\">0</span>),c=-o.scrollLeft+d(t),s=-o.scrollTop;<span class=\"code-keyword\">return</span><span class=\"code-string\">\"rtl\"</span>===h(r||n).direction&amp;&amp;(c+=i(n.clientWidth,r?r.clientWidth:<span class=\"code-number\">0</span>)-f),{<span class=\"code-attr\">width</span>:f,<span class=\"code-attr\">height</span>:a,<span class=\"code-attr\">x</span>:c,<span class=\"code-attr\">y</span>:s}}(l(t)))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">D</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e=b(g(t)),i=[<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-string\">\"fixed\"</span>].indexOf(h(t).position)&gt;=<span class=\"code-number\">0</span>&amp;&amp;o(t)?x(t):t;<span class=\"code-keyword\">return</span> n(i)?e.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> n(t)&amp;&amp;<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,e</span>)</span>{<span class=\"code-keyword\">var</span> n=e.getRootNode&amp;&amp;e.getRootNode();<span class=\"code-keyword\">if</span>(t.contains(e))<span class=\"code-keyword\">return</span>!<span class=\"code-number\">0</span>;<span class=\"code-keyword\">if</span>(n&amp;&amp;r(n)){<span class=\"code-keyword\">var</span> o=e;<span class=\"code-keyword\">do</span>{<span class=\"code-keyword\">if</span>(o&amp;&amp;t.isSameNode(o))<span class=\"code-keyword\">return</span>!<span class=\"code-number\">0</span>;o=o.parentNode||o.host}<span class=\"code-keyword\">while</span>(o)}<span class=\"code-keyword\">return</span>!<span class=\"code-number\">1</span>}(t,i)&amp;&amp;<span class=\"code-string\">\"body\"</span>!==s(t)})):[]}<span class=\"code-keyword\">var</span> S={<span class=\"code-attr\">placement</span>:<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-attr\">modifiers</span>:[],<span class=\"code-attr\">strategy</span>:<span class=\"code-string\">\"absolute\"</span>};<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">k</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> t=<span class=\"code-built_in\">arguments</span>.length,e=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Array</span>(t),n=<span class=\"code-number\">0</span>;n&lt;t;n++)e[n]=<span class=\"code-built_in\">arguments</span>[n];<span class=\"code-keyword\">return</span>!e.some((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span>!(t&amp;&amp;<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> t.getBoundingClientRect)}))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">N</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===t&amp;&amp;(t={});<span class=\"code-keyword\">var</span> e=t,o=e.defaultModifiers,r=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o?[]:o,i=e.defaultOptions,f=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===i?S:i;<span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,e,o</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o&amp;&amp;(o=f);<span class=\"code-keyword\">var</span> i,a,u={<span class=\"code-attr\">placement</span>:<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-attr\">orderedModifiers</span>:[],<span class=\"code-attr\">options</span>:<span class=\"code-built_in\">Object</span>.assign({},S,f),<span class=\"code-attr\">modifiersData</span>:{},<span class=\"code-attr\">elements</span>:{<span class=\"code-attr\">reference</span>:t,<span class=\"code-attr\">popper</span>:e},<span class=\"code-attr\">attributes</span>:{},<span class=\"code-attr\">styles</span>:{}},s=[],l=!<span class=\"code-number\">1</span>,d={<span class=\"code-attr\">state</span>:u,<span class=\"code-attr\">setOptions</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">o</span>)</span>{<span class=\"code-keyword\">var</span> i=<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> o?o(u.options):o;h(),u.options=<span class=\"code-built_in\">Object</span>.assign({},f,u.options,i),u.scrollParents={<span class=\"code-attr\">reference</span>:n(t)?b(t):t.contextElement?b(t.contextElement):[],<span class=\"code-attr\">popper</span>:b(e)};<span class=\"code-keyword\">var</span> a,c,l=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e=P(t);<span class=\"code-keyword\">return</span> H.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,n</span>)</span>{<span class=\"code-keyword\">return</span> t.concat(e.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> t.phase===n})))}),[])}((a=[].concat(r,u.options.modifiers),c=a.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,e</span>)</span>{<span class=\"code-keyword\">var</span> n=t[e.name];<span class=\"code-keyword\">return</span> t[e.name]=n?<span class=\"code-built_in\">Object</span>.assign({},n,e,{<span class=\"code-attr\">options</span>:<span class=\"code-built_in\">Object</span>.assign({},n.options,e.options),<span class=\"code-attr\">data</span>:<span class=\"code-built_in\">Object</span>.assign({},n.data,e.data)}):e,t}),{}),<span class=\"code-built_in\">Object</span>.keys(c).map((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> c[t]}))));<span class=\"code-keyword\">return</span> u.orderedModifiers=l.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> t.enabled})),u.orderedModifiers.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e=t.name,n=t.options,o=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===n?{}:n,r=t.effect;<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> r){<span class=\"code-keyword\">var</span> i=r({<span class=\"code-attr\">state</span>:u,<span class=\"code-attr\">name</span>:e,<span class=\"code-attr\">instance</span>:d,<span class=\"code-attr\">options</span>:o}),f=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{};s.push(i||f)}})),d.update()},<span class=\"code-attr\">forceUpdate</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">if</span>(!l){<span class=\"code-keyword\">var</span> t=u.elements,e=t.reference,n=t.popper;<span class=\"code-keyword\">if</span>(k(e,n)){<span class=\"code-keyword\">var</span> o,r,i,f;u.rects={<span class=\"code-attr\">reference</span>:m(e,x(n),<span class=\"code-string\">\"fixed\"</span>===u.options.strategy),<span class=\"code-attr\">popper</span>:(o=n,r=c(o),i=o.offsetWidth,f=o.offsetHeight,<span class=\"code-built_in\">Math</span>.abs(r.width-i)&lt;=<span class=\"code-number\">1</span>&amp;&amp;(i=r.width),<span class=\"code-built_in\">Math</span>.abs(r.height-f)&lt;=<span class=\"code-number\">1</span>&amp;&amp;(f=r.height),{<span class=\"code-attr\">x</span>:o.offsetLeft,<span class=\"code-attr\">y</span>:o.offsetTop,<span class=\"code-attr\">width</span>:i,<span class=\"code-attr\">height</span>:f})},u.reset=!<span class=\"code-number\">1</span>,u.placement=u.options.placement,u.orderedModifiers.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> u.modifiersData[t.name]=<span class=\"code-built_in\">Object</span>.assign({},t.data)}));<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> a=<span class=\"code-number\">0</span>;a&lt;u.orderedModifiers.length;a++)<span class=\"code-keyword\">if</span>(!<span class=\"code-number\">0</span>!==u.reset){<span class=\"code-keyword\">var</span> s=u.orderedModifiers[a],h=s.fn,p=s.options,g=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===p?{}:p,v=s.name;<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> h&amp;&amp;(u=h({<span class=\"code-attr\">state</span>:u,<span class=\"code-attr\">options</span>:g,<span class=\"code-attr\">name</span>:v,<span class=\"code-attr\">instance</span>:d})||u)}<span class=\"code-keyword\">else</span> u.reset=!<span class=\"code-number\">1</span>,a=<span class=\"code-number\">-1</span>}}},<span class=\"code-attr\">update</span>:(i=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{d.forceUpdate(),t(u)}))},<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">return</span> a||(a=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-built_in\">Promise</span>.resolve().then((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{a=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>,t(i())}))}))),a}),<span class=\"code-attr\">destroy</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{h(),l=!<span class=\"code-number\">0</span>}};<span class=\"code-keyword\">if</span>(!k(t,e))<span class=\"code-keyword\">return</span> d;<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">h</span>(<span class=\"code-params\"></span>)</span>{s.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> t()})),s=[]}<span class=\"code-keyword\">return</span> d.setOptions(o).then((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{!l&amp;&amp;o.onFirstUpdate&amp;&amp;o.onFirstUpdate(t)})),d}}<span class=\"code-keyword\">var</span> B=N();t.createPopper=B,t.detectOverflow=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,e</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===e&amp;&amp;(e={});<span class=\"code-keyword\">var</span> o,r=e,a=r.placement,u=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===a?t.placement:a,s=r.boundary,d=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===s?<span class=\"code-string\">\"clippingParents\"</span>:s,h=r.rootBoundary,p=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===h?W:h,m=r.elementContext,g=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===m?j:m,v=r.altBoundary,b=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>!==v&amp;&amp;v,w=r.padding,y=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===w?<span class=\"code-number\">0</span>:w,x=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({},{<span class=\"code-attr\">top</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">right</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">bottom</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">left</span>:<span class=\"code-number\">0</span>},t)}(<span class=\"code-string\">\"number\"</span>!=<span class=\"code-keyword\">typeof</span> y?y:(o=y,T.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,e</span>)</span>{<span class=\"code-keyword\">return</span> t[e]=o,t}),{}))),H=g===j?<span class=\"code-string\">\"reference\"</span>:j,P=t.rects.popper,S=t.elements[b?H:g],k=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,e,n</span>)</span>{<span class=\"code-keyword\">var</span> o=<span class=\"code-string\">\"clippingParents\"</span>===e?D(t):[].concat(e),r=[].concat(o,[n]),a=r[<span class=\"code-number\">0</span>],c=r.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,n</span>)</span>{<span class=\"code-keyword\">var</span> o=C(t,n);<span class=\"code-keyword\">return</span> e.top=i(o.top,e.top),e.right=f(o.right,e.right),e.bottom=f(o.bottom,e.bottom),e.left=i(o.left,e.left),e}),C(t,a));<span class=\"code-keyword\">return</span> c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}(n(S)?S:S.contextElement||l(t.elements.popper),d,p),N=c(t.elements.reference),B=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e,n=t.reference,o=t.element,r=t.placement,i=r?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> t.split(<span class=\"code-string\">\"-\"</span>)[<span class=\"code-number\">0</span>]}(r):<span class=\"code-literal\">null</span>,f=r?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> t.split(<span class=\"code-string\">\"-\"</span>)[<span class=\"code-number\">1</span>]}(r):<span class=\"code-literal\">null</span>,a=n.x+n.width/<span class=\"code-number\">2</span>-o.width/<span class=\"code-number\">2</span>,c=n.y+n.height/<span class=\"code-number\">2</span>-o.height/<span class=\"code-number\">2</span>;<span class=\"code-keyword\">switch</span>(i){<span class=\"code-keyword\">case</span> O:e={<span class=\"code-attr\">x</span>:a,<span class=\"code-attr\">y</span>:n.y-o.height};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> M:e={<span class=\"code-attr\">x</span>:a,<span class=\"code-attr\">y</span>:n.y+n.height};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> E:e={<span class=\"code-attr\">x</span>:n.x+n.width,<span class=\"code-attr\">y</span>:c};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> L:e={<span class=\"code-attr\">x</span>:n.x-o.width,<span class=\"code-attr\">y</span>:c};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">default</span>:e={<span class=\"code-attr\">x</span>:n.x,<span class=\"code-attr\">y</span>:n.y}}<span class=\"code-keyword\">var</span> u=i?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span>[<span class=\"code-string\">\"top\"</span>,<span class=\"code-string\">\"bottom\"</span>].indexOf(t)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-string\">\"x\"</span>:<span class=\"code-string\">\"y\"</span>}(i):<span class=\"code-literal\">null</span>;<span class=\"code-keyword\">if</span>(<span class=\"code-literal\">null</span>!=u){<span class=\"code-keyword\">var</span> s=<span class=\"code-string\">\"y\"</span>===u?<span class=\"code-string\">\"height\"</span>:<span class=\"code-string\">\"width\"</span>;<span class=\"code-keyword\">switch</span>(f){<span class=\"code-keyword\">case</span><span class=\"code-string\">\"start\"</span>:e[u]=e[u]-(n[s]/<span class=\"code-number\">2</span>-o[s]/<span class=\"code-number\">2</span>);<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span><span class=\"code-string\">\"end\"</span>:e[u]=e[u]+(n[s]/<span class=\"code-number\">2</span>-o[s]/<span class=\"code-number\">2</span>)}}<span class=\"code-keyword\">return</span> e}({<span class=\"code-attr\">reference</span>:N,<span class=\"code-attr\">element</span>:P,<span class=\"code-attr\">strategy</span>:<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-attr\">placement</span>:u}),A=R(<span class=\"code-built_in\">Object</span>.assign({},P,B)),U=g===j?A:N,V={<span class=\"code-attr\">top</span>:k.top-U.top+x.top,<span class=\"code-attr\">bottom</span>:U.bottom-k.bottom+x.bottom,<span class=\"code-attr\">left</span>:k.left-U.left+x.left,<span class=\"code-attr\">right</span>:U.right-k.right+x.right},q=t.modifiersData.offset;<span class=\"code-keyword\">if</span>(g===j&amp;&amp;q){<span class=\"code-keyword\">var</span> F=q[u];<span class=\"code-built_in\">Object</span>.keys(V).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> e=[E,M].indexOf(t)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-number\">1</span>:<span class=\"code-number\">-1</span>,n=[O,M].indexOf(t)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-string\">\"y\"</span>:<span class=\"code-string\">\"x\"</span>;V[t]+=F[n]*e}))}<span class=\"code-keyword\">return</span> V},t.popperGenerator=N,<span class=\"code-built_in\">Object</span>.defineProperty(t,<span class=\"code-string\">\"__esModule\"</span>,{<span class=\"code-attr\">value</span>:!<span class=\"code-number\">0</span>})}));\n","<span class=\"code-comment\">//# sourceMappingURL=popper-base.min.js.map</span>\n",""]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-base.min.js</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>9.43 kB</span><span>JavaScript</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-base.min.js" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code><span class="code-comment">/**
+</span></code></td></tr><tr><td id="L2" class="css-a4x74f"><span>2</span></td><td id="LC2" class="css-1dcdqdg"><code><span class="code-comment"> * @popperjs/core v2.11.5 - MIT License
+</span></code></td></tr><tr><td id="L3" class="css-a4x74f"><span>3</span></td><td id="LC3" class="css-1dcdqdg"><code><span class="code-comment"> */</span>
+</code></td></tr><tr><td id="L4" class="css-a4x74f"><span>4</span></td><td id="LC4" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L5" class="css-a4x74f"><span>5</span></td><td id="LC5" class="css-1dcdqdg"><code>!<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,e</span>)</span>{<span class="code-string">"object"</span>==<span class="code-keyword">typeof</span> exports&amp;&amp;<span class="code-string">"undefined"</span>!=<span class="code-keyword">typeof</span> <span class="code-built_in">module</span>?e(exports):<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> define&amp;&amp;define.amd?define([<span class="code-string">"exports"</span>],e):e((t=<span class="code-string">"undefined"</span>!=<span class="code-keyword">typeof</span> globalThis?globalThis:t||self).Popper={})}(<span class="code-keyword">this</span>,(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-string">"use strict"</span>;<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">e</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">if</span>(<span class="code-literal">null</span>==t)<span class="code-keyword">return</span> <span class="code-built_in">window</span>;<span class="code-keyword">if</span>(<span class="code-string">"[object Window]"</span>!==t.toString()){<span class="code-keyword">var</span> e=t.ownerDocument;<span class="code-keyword">return</span> e&amp;&amp;e.defaultView||<span class="code-built_in">window</span>}<span class="code-keyword">return</span> t}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">n</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> t <span class="code-keyword">instanceof</span> e(t).Element||t <span class="code-keyword">instanceof</span> Element}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">o</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> t <span class="code-keyword">instanceof</span> e(t).HTMLElement||t <span class="code-keyword">instanceof</span> HTMLElement}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">r</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span><span class="code-string">"undefined"</span>!=<span class="code-keyword">typeof</span> ShadowRoot&amp;&amp;(t <span class="code-keyword">instanceof</span> e(t).ShadowRoot||t <span class="code-keyword">instanceof</span> ShadowRoot)}<span class="code-keyword">var</span> i=<span class="code-built_in">Math</span>.max,f=<span class="code-built_in">Math</span>.min,a=<span class="code-built_in">Math</span>.round;<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">c</span>(<span class="code-params">t,e</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===e&amp;&amp;(e=!<span class="code-number">1</span>);<span class="code-keyword">var</span> n=t.getBoundingClientRect(),r=<span class="code-number">1</span>,i=<span class="code-number">1</span>;<span class="code-keyword">if</span>(o(t)&amp;&amp;e){<span class="code-keyword">var</span> f=t.offsetHeight,c=t.offsetWidth;c&gt;<span class="code-number">0</span>&amp;&amp;(r=a(n.width)/c||<span class="code-number">1</span>),f&gt;<span class="code-number">0</span>&amp;&amp;(i=a(n.height)/f||<span class="code-number">1</span>)}<span class="code-keyword">return</span>{<span class="code-attr">width</span>:n.width/r,<span class="code-attr">height</span>:n.height/i,<span class="code-attr">top</span>:n.top/i,<span class="code-attr">right</span>:n.right/r,<span class="code-attr">bottom</span>:n.bottom/i,<span class="code-attr">left</span>:n.left/r,<span class="code-attr">x</span>:n.left/r,<span class="code-attr">y</span>:n.top/i}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">u</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> n=e(t);<span class="code-keyword">return</span>{<span class="code-attr">scrollLeft</span>:n.pageXOffset,<span class="code-attr">scrollTop</span>:n.pageYOffset}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">s</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> t?(t.nodeName||<span class="code-string">""</span>).toLowerCase():<span class="code-literal">null</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">l</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span>((n(t)?t.ownerDocument:t.document)||<span class="code-built_in">window</span>.document).documentElement}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">d</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> c(l(t)).left+u(t).scrollLeft}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">h</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> e(t).getComputedStyle(t)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">p</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e=h(t),n=e.overflow,o=e.overflowX,r=e.overflowY;<span class="code-keyword">return</span><span class="code-regexp">/auto|scroll|overlay|hidden/</span>.test(n+r+o)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">m</span>(<span class="code-params">t,n,r</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===r&amp;&amp;(r=!<span class="code-number">1</span>);<span class="code-keyword">var</span> i,f,h=o(n),m=o(n)&amp;&amp;<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e=t.getBoundingClientRect(),n=a(e.width)/t.offsetWidth||<span class="code-number">1</span>,o=a(e.height)/t.offsetHeight||<span class="code-number">1</span>;<span class="code-keyword">return</span> <span class="code-number">1</span>!==n||<span class="code-number">1</span>!==o}(n),g=l(n),v=c(t,m),b={<span class="code-attr">scrollLeft</span>:<span class="code-number">0</span>,<span class="code-attr">scrollTop</span>:<span class="code-number">0</span>},w={<span class="code-attr">x</span>:<span class="code-number">0</span>,<span class="code-attr">y</span>:<span class="code-number">0</span>};<span class="code-keyword">return</span>(h||!h&amp;&amp;!r)&amp;&amp;((<span class="code-string">"body"</span>!==s(n)||p(g))&amp;&amp;(b=(i=n)!==e(i)&amp;&amp;o(i)?{<span class="code-attr">scrollLeft</span>:(f=i).scrollLeft,<span class="code-attr">scrollTop</span>:f.scrollTop}:u(i)),o(n)?((w=c(n,!<span class="code-number">0</span>)).x+=n.clientLeft,w.y+=n.clientTop):g&amp;&amp;(w.x=d(g))),{<span class="code-attr">x</span>:v.left+b.scrollLeft-w.x,<span class="code-attr">y</span>:v.top+b.scrollTop-w.y,<span class="code-attr">width</span>:v.width,<span class="code-attr">height</span>:v.height}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">g</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span><span class="code-string">"html"</span>===s(t)?t:t.assignedSlot||t.parentNode||(r(t)?t.host:<span class="code-literal">null</span>)||l(t)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">v</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span>[<span class="code-string">"html"</span>,<span class="code-string">"body"</span>,<span class="code-string">"#document"</span>].indexOf(s(t))&gt;=<span class="code-number">0</span>?t.ownerDocument.body:o(t)&amp;&amp;p(t)?t:v(g(t))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">b</span>(<span class="code-params">t,n</span>)</span>{<span class="code-keyword">var</span> o;<span class="code-keyword">void</span> <span class="code-number">0</span>===n&amp;&amp;(n=[]);<span class="code-keyword">var</span> r=v(t),i=r===(<span class="code-literal">null</span>==(o=t.ownerDocument)?<span class="code-keyword">void</span> <span class="code-number">0</span>:o.body),f=e(r),a=i?[f].concat(f.visualViewport||[],p(r)?r:[]):r,c=n.concat(a);<span class="code-keyword">return</span> i?c:c.concat(b(g(a)))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">w</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span>[<span class="code-string">"table"</span>,<span class="code-string">"td"</span>,<span class="code-string">"th"</span>].indexOf(s(t))&gt;=<span class="code-number">0</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">y</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> o(t)&amp;&amp;<span class="code-string">"fixed"</span>!==h(t).position?t.offsetParent:<span class="code-literal">null</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">x</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">for</span>(<span class="code-keyword">var</span> n=e(t),i=y(t);i&amp;&amp;w(i)&amp;&amp;<span class="code-string">"static"</span>===h(i).position;)i=y(i);<span class="code-keyword">return</span> i&amp;&amp;(<span class="code-string">"html"</span>===s(i)||<span class="code-string">"body"</span>===s(i)&amp;&amp;<span class="code-string">"static"</span>===h(i).position)?n:i||<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e=<span class="code-number">-1</span>!==navigator.userAgent.toLowerCase().indexOf(<span class="code-string">"firefox"</span>);<span class="code-keyword">if</span>(<span class="code-number">-1</span>!==navigator.userAgent.indexOf(<span class="code-string">"Trident"</span>)&amp;&amp;o(t)&amp;&amp;<span class="code-string">"fixed"</span>===h(t).position)<span class="code-keyword">return</span> <span class="code-literal">null</span>;<span class="code-keyword">var</span> n=g(t);<span class="code-keyword">for</span>(r(n)&amp;&amp;(n=n.host);o(n)&amp;&amp;[<span class="code-string">"html"</span>,<span class="code-string">"body"</span>].indexOf(s(n))&lt;<span class="code-number">0</span>;){<span class="code-keyword">var</span> i=h(n);<span class="code-keyword">if</span>(<span class="code-string">"none"</span>!==i.transform||<span class="code-string">"none"</span>!==i.perspective||<span class="code-string">"paint"</span>===i.contain||<span class="code-number">-1</span>!==[<span class="code-string">"transform"</span>,<span class="code-string">"perspective"</span>].indexOf(i.willChange)||e&amp;&amp;<span class="code-string">"filter"</span>===i.willChange||e&amp;&amp;i.filter&amp;&amp;<span class="code-string">"none"</span>!==i.filter)<span class="code-keyword">return</span> n;n=n.parentNode}<span class="code-keyword">return</span> <span class="code-literal">null</span>}(t)||n}<span class="code-keyword">var</span> O=<span class="code-string">"top"</span>,M=<span class="code-string">"bottom"</span>,E=<span class="code-string">"right"</span>,L=<span class="code-string">"left"</span>,T=[O,M,E,L],W=<span class="code-string">"viewport"</span>,j=<span class="code-string">"popper"</span>,H=[<span class="code-string">"beforeRead"</span>,<span class="code-string">"read"</span>,<span class="code-string">"afterRead"</span>,<span class="code-string">"beforeMain"</span>,<span class="code-string">"main"</span>,<span class="code-string">"afterMain"</span>,<span class="code-string">"beforeWrite"</span>,<span class="code-string">"write"</span>,<span class="code-string">"afterWrite"</span>];<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">P</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e=<span class="code-keyword">new</span> <span class="code-built_in">Map</span>,n=<span class="code-keyword">new</span> <span class="code-built_in">Set</span>,o=[];<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">r</span>(<span class="code-params">t</span>)</span>{n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">if</span>(!n.has(t)){<span class="code-keyword">var</span> o=e.get(t);o&amp;&amp;r(o)}})),o.push(t)}<span class="code-keyword">return</span> t.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{e.set(t.name,t)})),t.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{n.has(t.name)||r(t)})),o}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">R</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({},t,{<span class="code-attr">left</span>:t.x,<span class="code-attr">top</span>:t.y,<span class="code-attr">right</span>:t.x+t.width,<span class="code-attr">bottom</span>:t.y+t.height})}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">C</span>(<span class="code-params">t,o</span>)</span>{<span class="code-keyword">return</span> o===W?R(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> n=e(t),o=l(t),r=n.visualViewport,i=o.clientWidth,f=o.clientHeight,a=<span class="code-number">0</span>,c=<span class="code-number">0</span>;<span class="code-keyword">return</span> r&amp;&amp;(i=r.width,f=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,c=r.offsetTop)),{<span class="code-attr">width</span>:i,<span class="code-attr">height</span>:f,<span class="code-attr">x</span>:a+d(t),<span class="code-attr">y</span>:c}}(t)):n(o)?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e=c(t);<span class="code-keyword">return</span> e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(o):R(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e,n=l(t),o=u(t),r=<span class="code-literal">null</span>==(e=t.ownerDocument)?<span class="code-keyword">void</span> <span class="code-number">0</span>:e.body,f=i(n.scrollWidth,n.clientWidth,r?r.scrollWidth:<span class="code-number">0</span>,r?r.clientWidth:<span class="code-number">0</span>),a=i(n.scrollHeight,n.clientHeight,r?r.scrollHeight:<span class="code-number">0</span>,r?r.clientHeight:<span class="code-number">0</span>),c=-o.scrollLeft+d(t),s=-o.scrollTop;<span class="code-keyword">return</span><span class="code-string">"rtl"</span>===h(r||n).direction&amp;&amp;(c+=i(n.clientWidth,r?r.clientWidth:<span class="code-number">0</span>)-f),{<span class="code-attr">width</span>:f,<span class="code-attr">height</span>:a,<span class="code-attr">x</span>:c,<span class="code-attr">y</span>:s}}(l(t)))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">D</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e=b(g(t)),i=[<span class="code-string">"absolute"</span>,<span class="code-string">"fixed"</span>].indexOf(h(t).position)&gt;=<span class="code-number">0</span>&amp;&amp;o(t)?x(t):t;<span class="code-keyword">return</span> n(i)?e.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> n(t)&amp;&amp;<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,e</span>)</span>{<span class="code-keyword">var</span> n=e.getRootNode&amp;&amp;e.getRootNode();<span class="code-keyword">if</span>(t.contains(e))<span class="code-keyword">return</span>!<span class="code-number">0</span>;<span class="code-keyword">if</span>(n&amp;&amp;r(n)){<span class="code-keyword">var</span> o=e;<span class="code-keyword">do</span>{<span class="code-keyword">if</span>(o&amp;&amp;t.isSameNode(o))<span class="code-keyword">return</span>!<span class="code-number">0</span>;o=o.parentNode||o.host}<span class="code-keyword">while</span>(o)}<span class="code-keyword">return</span>!<span class="code-number">1</span>}(t,i)&amp;&amp;<span class="code-string">"body"</span>!==s(t)})):[]}<span class="code-keyword">var</span> S={<span class="code-attr">placement</span>:<span class="code-string">"bottom"</span>,<span class="code-attr">modifiers</span>:[],<span class="code-attr">strategy</span>:<span class="code-string">"absolute"</span>};<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">k</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">for</span>(<span class="code-keyword">var</span> t=<span class="code-built_in">arguments</span>.length,e=<span class="code-keyword">new</span> <span class="code-built_in">Array</span>(t),n=<span class="code-number">0</span>;n&lt;t;n++)e[n]=<span class="code-built_in">arguments</span>[n];<span class="code-keyword">return</span>!e.some((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span>!(t&amp;&amp;<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> t.getBoundingClientRect)}))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">N</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===t&amp;&amp;(t={});<span class="code-keyword">var</span> e=t,o=e.defaultModifiers,r=<span class="code-keyword">void</span> <span class="code-number">0</span>===o?[]:o,i=e.defaultOptions,f=<span class="code-keyword">void</span> <span class="code-number">0</span>===i?S:i;<span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,e,o</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===o&amp;&amp;(o=f);<span class="code-keyword">var</span> i,a,u={<span class="code-attr">placement</span>:<span class="code-string">"bottom"</span>,<span class="code-attr">orderedModifiers</span>:[],<span class="code-attr">options</span>:<span class="code-built_in">Object</span>.assign({},S,f),<span class="code-attr">modifiersData</span>:{},<span class="code-attr">elements</span>:{<span class="code-attr">reference</span>:t,<span class="code-attr">popper</span>:e},<span class="code-attr">attributes</span>:{},<span class="code-attr">styles</span>:{}},s=[],l=!<span class="code-number">1</span>,d={<span class="code-attr">state</span>:u,<span class="code-attr">setOptions</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">o</span>)</span>{<span class="code-keyword">var</span> i=<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> o?o(u.options):o;h(),u.options=<span class="code-built_in">Object</span>.assign({},f,u.options,i),u.scrollParents={<span class="code-attr">reference</span>:n(t)?b(t):t.contextElement?b(t.contextElement):[],<span class="code-attr">popper</span>:b(e)};<span class="code-keyword">var</span> a,c,l=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e=P(t);<span class="code-keyword">return</span> H.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,n</span>)</span>{<span class="code-keyword">return</span> t.concat(e.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> t.phase===n})))}),[])}((a=[].concat(r,u.options.modifiers),c=a.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,e</span>)</span>{<span class="code-keyword">var</span> n=t[e.name];<span class="code-keyword">return</span> t[e.name]=n?<span class="code-built_in">Object</span>.assign({},n,e,{<span class="code-attr">options</span>:<span class="code-built_in">Object</span>.assign({},n.options,e.options),<span class="code-attr">data</span>:<span class="code-built_in">Object</span>.assign({},n.data,e.data)}):e,t}),{}),<span class="code-built_in">Object</span>.keys(c).map((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> c[t]}))));<span class="code-keyword">return</span> u.orderedModifiers=l.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> t.enabled})),u.orderedModifiers.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e=t.name,n=t.options,o=<span class="code-keyword">void</span> <span class="code-number">0</span>===n?{}:n,r=t.effect;<span class="code-keyword">if</span>(<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> r){<span class="code-keyword">var</span> i=r({<span class="code-attr">state</span>:u,<span class="code-attr">name</span>:e,<span class="code-attr">instance</span>:d,<span class="code-attr">options</span>:o}),f=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{};s.push(i||f)}})),d.update()},<span class="code-attr">forceUpdate</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">if</span>(!l){<span class="code-keyword">var</span> t=u.elements,e=t.reference,n=t.popper;<span class="code-keyword">if</span>(k(e,n)){<span class="code-keyword">var</span> o,r,i,f;u.rects={<span class="code-attr">reference</span>:m(e,x(n),<span class="code-string">"fixed"</span>===u.options.strategy),<span class="code-attr">popper</span>:(o=n,r=c(o),i=o.offsetWidth,f=o.offsetHeight,<span class="code-built_in">Math</span>.abs(r.width-i)&lt;=<span class="code-number">1</span>&amp;&amp;(i=r.width),<span class="code-built_in">Math</span>.abs(r.height-f)&lt;=<span class="code-number">1</span>&amp;&amp;(f=r.height),{<span class="code-attr">x</span>:o.offsetLeft,<span class="code-attr">y</span>:o.offsetTop,<span class="code-attr">width</span>:i,<span class="code-attr">height</span>:f})},u.reset=!<span class="code-number">1</span>,u.placement=u.options.placement,u.orderedModifiers.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> u.modifiersData[t.name]=<span class="code-built_in">Object</span>.assign({},t.data)}));<span class="code-keyword">for</span>(<span class="code-keyword">var</span> a=<span class="code-number">0</span>;a&lt;u.orderedModifiers.length;a++)<span class="code-keyword">if</span>(!<span class="code-number">0</span>!==u.reset){<span class="code-keyword">var</span> s=u.orderedModifiers[a],h=s.fn,p=s.options,g=<span class="code-keyword">void</span> <span class="code-number">0</span>===p?{}:p,v=s.name;<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> h&amp;&amp;(u=h({<span class="code-attr">state</span>:u,<span class="code-attr">options</span>:g,<span class="code-attr">name</span>:v,<span class="code-attr">instance</span>:d})||u)}<span class="code-keyword">else</span> u.reset=!<span class="code-number">1</span>,a=<span class="code-number">-1</span>}}},<span class="code-attr">update</span>:(i=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">return</span> <span class="code-keyword">new</span> <span class="code-built_in">Promise</span>((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{d.forceUpdate(),t(u)}))},<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">return</span> a||(a=<span class="code-keyword">new</span> <span class="code-built_in">Promise</span>((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-built_in">Promise</span>.resolve().then((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{a=<span class="code-keyword">void</span> <span class="code-number">0</span>,t(i())}))}))),a}),<span class="code-attr">destroy</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{h(),l=!<span class="code-number">0</span>}};<span class="code-keyword">if</span>(!k(t,e))<span class="code-keyword">return</span> d;<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">h</span>(<span class="code-params"></span>)</span>{s.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> t()})),s=[]}<span class="code-keyword">return</span> d.setOptions(o).then((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{!l&amp;&amp;o.onFirstUpdate&amp;&amp;o.onFirstUpdate(t)})),d}}<span class="code-keyword">var</span> B=N();t.createPopper=B,t.detectOverflow=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,e</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===e&amp;&amp;(e={});<span class="code-keyword">var</span> o,r=e,a=r.placement,u=<span class="code-keyword">void</span> <span class="code-number">0</span>===a?t.placement:a,s=r.boundary,d=<span class="code-keyword">void</span> <span class="code-number">0</span>===s?<span class="code-string">"clippingParents"</span>:s,h=r.rootBoundary,p=<span class="code-keyword">void</span> <span class="code-number">0</span>===h?W:h,m=r.elementContext,g=<span class="code-keyword">void</span> <span class="code-number">0</span>===m?j:m,v=r.altBoundary,b=<span class="code-keyword">void</span> <span class="code-number">0</span>!==v&amp;&amp;v,w=r.padding,y=<span class="code-keyword">void</span> <span class="code-number">0</span>===w?<span class="code-number">0</span>:w,x=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({},{<span class="code-attr">top</span>:<span class="code-number">0</span>,<span class="code-attr">right</span>:<span class="code-number">0</span>,<span class="code-attr">bottom</span>:<span class="code-number">0</span>,<span class="code-attr">left</span>:<span class="code-number">0</span>},t)}(<span class="code-string">"number"</span>!=<span class="code-keyword">typeof</span> y?y:(o=y,T.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,e</span>)</span>{<span class="code-keyword">return</span> t[e]=o,t}),{}))),H=g===j?<span class="code-string">"reference"</span>:j,P=t.rects.popper,S=t.elements[b?H:g],k=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,e,n</span>)</span>{<span class="code-keyword">var</span> o=<span class="code-string">"clippingParents"</span>===e?D(t):[].concat(e),r=[].concat(o,[n]),a=r[<span class="code-number">0</span>],c=r.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,n</span>)</span>{<span class="code-keyword">var</span> o=C(t,n);<span class="code-keyword">return</span> e.top=i(o.top,e.top),e.right=f(o.right,e.right),e.bottom=f(o.bottom,e.bottom),e.left=i(o.left,e.left),e}),C(t,a));<span class="code-keyword">return</span> c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}(n(S)?S:S.contextElement||l(t.elements.popper),d,p),N=c(t.elements.reference),B=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e,n=t.reference,o=t.element,r=t.placement,i=r?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> t.split(<span class="code-string">"-"</span>)[<span class="code-number">0</span>]}(r):<span class="code-literal">null</span>,f=r?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> t.split(<span class="code-string">"-"</span>)[<span class="code-number">1</span>]}(r):<span class="code-literal">null</span>,a=n.x+n.width/<span class="code-number">2</span>-o.width/<span class="code-number">2</span>,c=n.y+n.height/<span class="code-number">2</span>-o.height/<span class="code-number">2</span>;<span class="code-keyword">switch</span>(i){<span class="code-keyword">case</span> O:e={<span class="code-attr">x</span>:a,<span class="code-attr">y</span>:n.y-o.height};<span class="code-keyword">break</span>;<span class="code-keyword">case</span> M:e={<span class="code-attr">x</span>:a,<span class="code-attr">y</span>:n.y+n.height};<span class="code-keyword">break</span>;<span class="code-keyword">case</span> E:e={<span class="code-attr">x</span>:n.x+n.width,<span class="code-attr">y</span>:c};<span class="code-keyword">break</span>;<span class="code-keyword">case</span> L:e={<span class="code-attr">x</span>:n.x-o.width,<span class="code-attr">y</span>:c};<span class="code-keyword">break</span>;<span class="code-keyword">default</span>:e={<span class="code-attr">x</span>:n.x,<span class="code-attr">y</span>:n.y}}<span class="code-keyword">var</span> u=i?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span>[<span class="code-string">"top"</span>,<span class="code-string">"bottom"</span>].indexOf(t)&gt;=<span class="code-number">0</span>?<span class="code-string">"x"</span>:<span class="code-string">"y"</span>}(i):<span class="code-literal">null</span>;<span class="code-keyword">if</span>(<span class="code-literal">null</span>!=u){<span class="code-keyword">var</span> s=<span class="code-string">"y"</span>===u?<span class="code-string">"height"</span>:<span class="code-string">"width"</span>;<span class="code-keyword">switch</span>(f){<span class="code-keyword">case</span><span class="code-string">"start"</span>:e[u]=e[u]-(n[s]/<span class="code-number">2</span>-o[s]/<span class="code-number">2</span>);<span class="code-keyword">break</span>;<span class="code-keyword">case</span><span class="code-string">"end"</span>:e[u]=e[u]+(n[s]/<span class="code-number">2</span>-o[s]/<span class="code-number">2</span>)}}<span class="code-keyword">return</span> e}({<span class="code-attr">reference</span>:N,<span class="code-attr">element</span>:P,<span class="code-attr">strategy</span>:<span class="code-string">"absolute"</span>,<span class="code-attr">placement</span>:u}),A=R(<span class="code-built_in">Object</span>.assign({},P,B)),U=g===j?A:N,V={<span class="code-attr">top</span>:k.top-U.top+x.top,<span class="code-attr">bottom</span>:U.bottom-k.bottom+x.bottom,<span class="code-attr">left</span>:k.left-U.left+x.left,<span class="code-attr">right</span>:U.right-k.right+x.right},q=t.modifiersData.offset;<span class="code-keyword">if</span>(g===j&amp;&amp;q){<span class="code-keyword">var</span> F=q[u];<span class="code-built_in">Object</span>.keys(V).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> e=[E,M].indexOf(t)&gt;=<span class="code-number">0</span>?<span class="code-number">1</span>:<span class="code-number">-1</span>,n=[O,M].indexOf(t)&gt;=<span class="code-number">0</span>?<span class="code-string">"y"</span>:<span class="code-string">"x"</span>;V[t]+=F[n]*e}))}<span class="code-keyword">return</span> V},t.popperGenerator=N,<span class="code-built_in">Object</span>.defineProperty(t,<span class="code-string">"__esModule"</span>,{<span class="code-attr">value</span>:!<span class="code-number">0</span>})}));
+</code></td></tr><tr><td id="L6" class="css-a4x74f"><span>6</span></td><td id="LC6" class="css-1dcdqdg"><code><span class="code-comment">//# sourceMappingURL=popper-base.min.js.map</span>
+</code></td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper-base.min.js.flow b/web/_static/popperjs/popper-base.min.js.flow
new file mode 100644
index 0000000..f795bd9
--- /dev/null
+++ b/web/_static/popperjs/popper-base.min.js.flow
@@ -0,0 +1,65 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:30.613Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-base.min.js.flow","target":{"path":"/dist/umd/popper-base.min.js.flow","type":"file","details":{"contentType":"text/plain","integrity":"sha384-LFjwikZL2ujiTtVmHQDdZTmur77ziDH2dDthpuNOSiyKaCTnBU5+8G/COhUD4a/4","language":"Flow","size":51,"uri":null,"highlights":null}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-base.min.js.flow</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>51 B</span><span>Flow</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-base.min.js.flow" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1ruxp1v">.css-1ruxp1v{padding:20px;}</style><div class="css-1ruxp1v"><style data-emotion-css="xi606m">.css-xi606m{text-align:center;}</style><p class="css-xi606m">No preview available.</p></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper-base.min.js.map b/web/_static/popperjs/popper-base.min.js.map
new file mode 100644
index 0000000..f3343a4
--- /dev/null
+++ b/web/_static/popperjs/popper-base.min.js.map
@@ -0,0 +1,65 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:31.106Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-base.min.js.map","target":{"path":"/dist/umd/popper-base.min.js.map","type":"file","details":{"contentType":"application/json","integrity":"sha384-kdF1ej5FIq1kBNUc8ryxN+SdAABWPqpyFAKfKPFdefJklKEw417QVyPxK5k4CxsZ","language":"Source Map (JSON)","size":59391,"uri":null,"highlights":["{<span class=\"code-attr\">\"version\"</span>:<span class=\"code-number\">3</span>,<span class=\"code-attr\">\"file\"</span>:<span class=\"code-string\">\"popper-base.min.js\"</span>,<span class=\"code-attr\">\"sources\"</span>:[<span class=\"code-string\">\"../../src/dom-utils/getWindow.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/instanceOf.js\"</span>,<span class=\"code-string\">\"../../src/utils/math.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getBoundingClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScrollBarX.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getComputedStyle.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getCompositeRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getHTMLElementScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getParentNode.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/listScrollParents.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isTableElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getOffsetParent.js\"</span>,<span class=\"code-string\">\"../../src/enums.js\"</span>,<span class=\"code-string\">\"../../src/utils/orderModifiers.js\"</span>,<span class=\"code-string\">\"../../src/utils/rectToClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getClippingRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getViewportRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/contains.js\"</span>,<span class=\"code-string\">\"../../src/createPopper.js\"</span>,<span class=\"code-string\">\"../../src/utils/debounce.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergeByName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getLayoutRect.js\"</span>,<span class=\"code-string\">\"../../src/utils/detectOverflow.js\"</span>,<span class=\"code-string\">\"../../src/utils/expandToHashMap.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergePaddingObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/getFreshSideObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/computeOffsets.js\"</span>,<span class=\"code-string\">\"../../src/utils/getBasePlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/getVariation.js\"</span>,<span class=\"code-string\">\"../../src/utils/getMainAxisFromPlacement.js\"</span>],<span class=\"code-attr\">\"sourcesContent\"</span>:[<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\ndeclare function getWindow(node: Node | Window): Window;\\n\\nexport default function getWindow(node) {\\n if (node == null) {\\n return window;\\n }\\n\\n if (node.toString() !== '[object Window]') {\\n const ownerDocument = node.ownerDocument;\\n return ownerDocument ? ownerDocument.defaultView || window : window;\\n }\\n\\n return node;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\\n Element);\\nfunction isElement(node) {\\n const OwnElement = getWindow(node).Element;\\n return node instanceof OwnElement || node instanceof Element;\\n}\\n\\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\\n HTMLElement);\\nfunction isHTMLElement(node) {\\n const OwnElement = getWindow(node).HTMLElement;\\n return node instanceof OwnElement || node instanceof HTMLElement;\\n}\\n\\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\\n ShadowRoot);\\nfunction isShadowRoot(node) {\\n // IE 11 has no ShadowRoot\\n if (typeof ShadowRoot === 'undefined') {\\n return false;\\n }\\n const OwnElement = getWindow(node).ShadowRoot;\\n return node instanceof OwnElement || node instanceof ShadowRoot;\\n}\\n\\nexport { isElement, isHTMLElement, isShadowRoot };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const max = Math.max;\\nexport const min = Math.min;\\nexport const round = Math.round;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject, VirtualElement } from '../types';\\nimport { isHTMLElement } from './instanceOf';\\nimport { round } from '../utils/math';\\n\\nexport default function getBoundingClientRect(\\n element: Element | VirtualElement,\\n includeScale: boolean = false\\n): ClientRectObject {\\n const rect = element.getBoundingClientRect();\\n let scaleX = 1;\\n let scaleY = 1;\\n\\n if (isHTMLElement(element) &amp;&amp; includeScale) {\\n const offsetHeight = element.offsetHeight;\\n const offsetWidth = element.offsetWidth;\\n\\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\\n // Fallback to 1 in case both values are `0`\\n if (offsetWidth &gt; 0) {\\n scaleX = round(rect.width) / offsetWidth || 1;\\n }\\n if (offsetHeight &gt; 0) {\\n scaleY = round(rect.height) / offsetHeight || 1;\\n }\\n }\\n\\n return {\\n width: rect.width / scaleX,\\n height: rect.height / scaleY,\\n top: rect.top / scaleY,\\n right: rect.right / scaleX,\\n bottom: rect.bottom / scaleY,\\n left: rect.left / scaleX,\\n x: rect.left / scaleX,\\n y: rect.top / scaleY,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport type { Window } from '../types';\\n\\nexport default function getWindowScroll(node: Node | Window) {\\n const win = getWindow(node);\\n const scrollLeft = win.pageXOffset;\\n const scrollTop = win.pageYOffset;\\n\\n return {\\n scrollLeft,\\n scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\n\\nexport default function getNodeName(element: ?Node | Window): ?string {\\n return element ? (element.nodeName || '').toLowerCase() : null;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isElement } from './instanceOf';\\nimport type { Window } from '../types';\\n\\nexport default function getDocumentElement(\\n element: Element | Window\\n): HTMLElement {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return (\\n (isElement(element)\\n ? element.ownerDocument\\n : // $FlowFixMe[prop-missing]\\n element.document) || window.document\\n ).documentElement;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScroll from './getWindowScroll';\\n\\nexport default function getWindowScrollBarX(element: Element): number {\\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\\n // incorrect for RTL.\\n // Popper 1 is broken in this case and never had a bug report so let's assume\\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\\n // anyway.\\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\\n // this (e.g. Edge 2019, IE11, Safari)\\n return (\\n getBoundingClientRect(getDocumentElement(element)).left +\\n getWindowScroll(element).scrollLeft\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\nexport default function getComputedStyle(\\n element: Element\\n): CSSStyleDeclaration {\\n return getWindow(element).getComputedStyle(element);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getComputedStyle from './getComputedStyle';\\n\\nexport default function isScrollParent(element: HTMLElement): boolean {\\n // Firefox wants us to check `-x` and `-y` variations as well\\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, VirtualElement, Window } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getNodeScroll from './getNodeScroll';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getDocumentElement from './getDocumentElement';\\nimport isScrollParent from './isScrollParent';\\nimport { round } from '../utils/math';\\n\\nfunction isElementScaled(element: HTMLElement) {\\n const rect = element.getBoundingClientRect();\\n const scaleX = round(rect.width) / element.offsetWidth || 1;\\n const scaleY = round(rect.height) / element.offsetHeight || 1;\\n\\n return scaleX !== 1 || scaleY !== 1;\\n}\\n\\n// Returns the composite rect of an element relative to its offsetParent.\\n// Composite means it takes into account transforms as well as layout.\\nexport default function getCompositeRect(\\n elementOrVirtualElement: Element | VirtualElement,\\n offsetParent: Element | Window,\\n isFixed: boolean = false\\n): Rect {\\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\\n const offsetParentIsScaled =\\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\\n const documentElement = getDocumentElement(offsetParent);\\n const rect = getBoundingClientRect(\\n elementOrVirtualElement,\\n offsetParentIsScaled\\n );\\n\\n let scroll = { scrollLeft: 0, scrollTop: 0 };\\n let offsets = { x: 0, y: 0 };\\n\\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\\n if (\\n getNodeName(offsetParent) !== 'body' ||\\n // https://github.com/popperjs/popper-core/issues/1078\\n isScrollParent(documentElement)\\n ) {\\n scroll = getNodeScroll(offsetParent);\\n }\\n\\n if (isHTMLElement(offsetParent)) {\\n offsets = getBoundingClientRect(offsetParent, true);\\n offsets.x += offsetParent.clientLeft;\\n offsets.y += offsetParent.clientTop;\\n } else if (documentElement) {\\n offsets.x = getWindowScrollBarX(documentElement);\\n }\\n }\\n\\n return {\\n x: rect.left + scroll.scrollLeft - offsets.x,\\n y: rect.top + scroll.scrollTop - offsets.y,\\n width: rect.width,\\n height: rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindowScroll from './getWindowScroll';\\nimport getWindow from './getWindow';\\nimport { isHTMLElement } from './instanceOf';\\nimport getHTMLElementScroll from './getHTMLElementScroll';\\nimport type { Window } from '../types';\\n\\nexport default function getNodeScroll(node: Node | Window) {\\n if (node === getWindow(node) || !isHTMLElement(node)) {\\n return getWindowScroll(node);\\n } else {\\n return getHTMLElementScroll(node);\\n }\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function getHTMLElementScroll(element: HTMLElement) {\\n return {\\n scrollLeft: element.scrollLeft,\\n scrollTop: element.scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\nimport getDocumentElement from './getDocumentElement';\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function getParentNode(element: Node | ShadowRoot): Node {\\n if (getNodeName(element) === 'html') {\\n return element;\\n }\\n\\n return (\\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\\n // $FlowFixMe[incompatible-return]\\n // $FlowFixMe[prop-missing]\\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\\n element.parentNode || // DOM Element detected\\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\\n getDocumentElement(element) // fallback\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getParentNode from './getParentNode';\\nimport isScrollParent from './isScrollParent';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\n\\nexport default function getScrollParent(node: Node): HTMLElement {\\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return node.ownerDocument.body;\\n }\\n\\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\\n return node;\\n }\\n\\n return getScrollParent(getParentNode(node));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getScrollParent from './getScrollParent';\\nimport getParentNode from './getParentNode';\\nimport getWindow from './getWindow';\\nimport type { Window, VisualViewport } from '../types';\\nimport isScrollParent from './isScrollParent';\\n\\n/*\\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\\nuntil we get to the top window object. This list is what we attach scroll listeners\\nto, because if any of these parent elements scroll, we'll need to re-calculate the\\nreference element's position.\\n*/\\nexport default function listScrollParents(\\n element: Node,\\n list: Array&lt;Element | Window&gt; = []\\n): Array&lt;Element | Window | VisualViewport&gt; {\\n const scrollParent = getScrollParent(element);\\n const isBody = scrollParent === element.ownerDocument?.body;\\n const win = getWindow(scrollParent);\\n const target = isBody\\n ? [win].concat(\\n win.visualViewport || [],\\n isScrollParent(scrollParent) ? scrollParent : []\\n )\\n : scrollParent;\\n const updatedList = list.concat(target);\\n\\n return isBody\\n ? updatedList\\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\\n updatedList.concat(listScrollParents(getParentNode(target)));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\n\\nexport default function isTableElement(element: Element): boolean {\\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getNodeName from './getNodeName';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\\nimport isTableElement from './isTableElement';\\nimport getParentNode from './getParentNode';\\n\\nfunction getTrueOffsetParent(element: Element): ?Element {\\n if (\\n !isHTMLElement(element) ||\\n // https://github.com/popperjs/popper-core/issues/837\\n getComputedStyle(element).position === 'fixed'\\n ) {\\n return null;\\n }\\n\\n return element.offsetParent;\\n}\\n\\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\\n// return the containing block\\nfunction getContainingBlock(element: Element) {\\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\\n\\n if (isIE &amp;&amp; isHTMLElement(element)) {\\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\\n const elementCss = getComputedStyle(element);\\n if (elementCss.position === 'fixed') {\\n return null;\\n }\\n }\\n\\n let currentNode = getParentNode(element);\\n\\n if (isShadowRoot(currentNode)) {\\n currentNode = currentNode.host;\\n }\\n\\n while (\\n isHTMLElement(currentNode) &amp;&amp;\\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\\n ) {\\n const css = getComputedStyle(currentNode);\\n\\n // This is non-exhaustive but covers the most common CSS properties that\\n // create a containing block.\\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\\n if (\\n css.transform !== 'none' ||\\n css.perspective !== 'none' ||\\n css.contain === 'paint' ||\\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\\n ) {\\n return currentNode;\\n } else {\\n currentNode = currentNode.parentNode;\\n }\\n }\\n\\n return null;\\n}\\n\\n// Gets the closest ancestor positioned element. Handles some edge cases,\\n// such as table ancestors and cross browser bugs.\\nexport default function getOffsetParent(element: Element) {\\n const window = getWindow(element);\\n\\n let offsetParent = getTrueOffsetParent(element);\\n\\n while (\\n offsetParent &amp;&amp;\\n isTableElement(offsetParent) &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'\\n ) {\\n offsetParent = getTrueOffsetParent(offsetParent);\\n }\\n\\n if (\\n offsetParent &amp;&amp;\\n (getNodeName(offsetParent) === 'html' ||\\n (getNodeName(offsetParent) === 'body' &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'))\\n ) {\\n return window;\\n }\\n\\n return offsetParent || getContainingBlock(element) || window;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const top: 'top' = 'top';\\nexport const bottom: 'bottom' = 'bottom';\\nexport const right: 'right' = 'right';\\nexport const left: 'left' = 'left';\\nexport const auto: 'auto' = 'auto';\\nexport type BasePlacement =\\n | typeof top\\n | typeof bottom\\n | typeof right\\n | typeof left;\\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\\n\\nexport const start: 'start' = 'start';\\nexport const end: 'end' = 'end';\\nexport type Variation = typeof start | typeof end;\\n\\nexport const clippingParents: 'clippingParents' = 'clippingParents';\\nexport const viewport: 'viewport' = 'viewport';\\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\\nexport type RootBoundary = typeof viewport | 'document';\\n\\nexport const popper: 'popper' = 'popper';\\nexport const reference: 'reference' = 'reference';\\nexport type Context = typeof popper | typeof reference;\\n\\nexport type VariationPlacement =\\n | 'top-start'\\n | 'top-end'\\n | 'bottom-start'\\n | 'bottom-end'\\n | 'right-start'\\n | 'right-end'\\n | 'left-start'\\n | 'left-end';\\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\\n\\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\\n []\\n);\\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\\n (\\n acc: Array&lt;Placement&gt;,\\n placement: BasePlacement | typeof auto\\n ): Array&lt;Placement&gt; =&gt;\\n acc.concat([\\n placement,\\n (`${placement}-${start}`: any),\\n (`${placement}-${end}`: any),\\n ]),\\n []\\n);\\n\\n// modifiers that need to read the DOM\\nexport const beforeRead: 'beforeRead' = 'beforeRead';\\nexport const read: 'read' = 'read';\\nexport const afterRead: 'afterRead' = 'afterRead';\\n// pure-logic modifiers\\nexport const beforeMain: 'beforeMain' = 'beforeMain';\\nexport const main: 'main' = 'main';\\nexport const afterMain: 'afterMain' = 'afterMain';\\n// modifier with the purpose to write to the DOM (or write into a framework state)\\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\\nexport const write: 'write' = 'write';\\nexport const afterWrite: 'afterWrite' = 'afterWrite';\\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\\n beforeRead,\\n read,\\n afterRead,\\n beforeMain,\\n main,\\n afterMain,\\n beforeWrite,\\n write,\\n afterWrite,\\n];\\n\\nexport type ModifierPhases =\\n | typeof beforeRead\\n | typeof read\\n | typeof afterRead\\n | typeof beforeMain\\n | typeof main\\n | typeof afterMain\\n | typeof beforeWrite\\n | typeof write\\n | typeof afterWrite;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\nimport { modifierPhases } from '../enums';\\n\\n// source: https://stackoverflow.com/questions/49875255\\nfunction order(modifiers) {\\n const map = new Map();\\n const visited = new Set();\\n const result = [];\\n\\n modifiers.forEach(modifier =&gt; {\\n map.set(modifier.name, modifier);\\n });\\n\\n // On visiting object, check for its dependencies and visit them recursively\\n function sort(modifier: Modifier&lt;any, any&gt;) {\\n visited.add(modifier.name);\\n\\n const requires = [\\n ...(modifier.requires || []),\\n ...(modifier.requiresIfExists || []),\\n ];\\n\\n requires.forEach(dep =&gt; {\\n if (!visited.has(dep)) {\\n const depModifier = map.get(dep);\\n\\n if (depModifier) {\\n sort(depModifier);\\n }\\n }\\n });\\n\\n result.push(modifier);\\n }\\n\\n modifiers.forEach(modifier =&gt; {\\n if (!visited.has(modifier.name)) {\\n // check for visited object\\n sort(modifier);\\n }\\n });\\n\\n return result;\\n}\\n\\nexport default function orderModifiers(\\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\\n // order based on dependencies\\n const orderedModifiers = order(modifiers);\\n\\n // order based on phase\\n return modifierPhases.reduce((acc, phase) =&gt; {\\n return acc.concat(\\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\\n );\\n }, []);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, ClientRectObject } from '../types';\\n\\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\\n return {\\n ...rect,\\n left: rect.x,\\n top: rect.y,\\n right: rect.x + rect.width,\\n bottom: rect.y + rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject } from '../types';\\nimport type { Boundary, RootBoundary } from '../enums';\\nimport { viewport } from '../enums';\\nimport getViewportRect from './getViewportRect';\\nimport getDocumentRect from './getDocumentRect';\\nimport listScrollParents from './listScrollParents';\\nimport getOffsetParent from './getOffsetParent';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isElement, isHTMLElement } from './instanceOf';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getParentNode from './getParentNode';\\nimport contains from './contains';\\nimport getNodeName from './getNodeName';\\nimport rectToClientRect from '../utils/rectToClientRect';\\nimport { max, min } from '../utils/math';\\n\\nfunction getInnerBoundingClientRect(element: Element) {\\n const rect = getBoundingClientRect(element);\\n\\n rect.top = rect.top + element.clientTop;\\n rect.left = rect.left + element.clientLeft;\\n rect.bottom = rect.top + element.clientHeight;\\n rect.right = rect.left + element.clientWidth;\\n rect.width = element.clientWidth;\\n rect.height = element.clientHeight;\\n rect.x = rect.left;\\n rect.y = rect.top;\\n\\n return rect;\\n}\\n\\nfunction getClientRectFromMixedType(\\n element: Element,\\n clippingParent: Element | RootBoundary\\n): ClientRectObject {\\n return clippingParent === viewport\\n ? rectToClientRect(getViewportRect(element))\\n : isElement(clippingParent)\\n ? getInnerBoundingClientRect(clippingParent)\\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\\n}\\n\\n// A \\\"clipping parent\\\" is an overflowable container with the characteristic of\\n// clipping (or hiding) overflowing elements with a position different from\\n// `initial`\\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\\n const clippingParents = listScrollParents(getParentNode(element));\\n const canEscapeClipping =\\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\\n const clipperElement =\\n canEscapeClipping &amp;&amp; isHTMLElement(element)\\n ? getOffsetParent(element)\\n : element;\\n\\n if (!isElement(clipperElement)) {\\n return [];\\n }\\n\\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\\n return clippingParents.filter(\\n (clippingParent) =&gt;\\n isElement(clippingParent) &amp;&amp;\\n contains(clippingParent, clipperElement) &amp;&amp;\\n getNodeName(clippingParent) !== 'body'\\n );\\n}\\n\\n// Gets the maximum area that the element is visible in due to any number of\\n// clipping parents\\nexport default function getClippingRect(\\n element: Element,\\n boundary: Boundary,\\n rootBoundary: RootBoundary\\n): ClientRectObject {\\n const mainClippingParents =\\n boundary === 'clippingParents'\\n ? getClippingParents(element)\\n : [].concat(boundary);\\n const clippingParents = [...mainClippingParents, rootBoundary];\\n const firstClippingParent = clippingParents[0];\\n\\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\\n const rect = getClientRectFromMixedType(element, clippingParent);\\n\\n accRect.top = max(rect.top, accRect.top);\\n accRect.right = min(rect.right, accRect.right);\\n accRect.bottom = min(rect.bottom, accRect.bottom);\\n accRect.left = max(rect.left, accRect.left);\\n\\n return accRect;\\n }, getClientRectFromMixedType(element, firstClippingParent));\\n\\n clippingRect.width = clippingRect.right - clippingRect.left;\\n clippingRect.height = clippingRect.bottom - clippingRect.top;\\n clippingRect.x = clippingRect.left;\\n clippingRect.y = clippingRect.top;\\n\\n return clippingRect;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\n\\nexport default function getViewportRect(element: Element) {\\n const win = getWindow(element);\\n const html = getDocumentElement(element);\\n const visualViewport = win.visualViewport;\\n\\n let width = html.clientWidth;\\n let height = html.clientHeight;\\n let x = 0;\\n let y = 0;\\n\\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\\n // can be obscured underneath it.\\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\\n // if it isn't open, so if this isn't available, the popper will be detected\\n // to overflow the bottom of the screen too early.\\n if (visualViewport) {\\n width = visualViewport.width;\\n height = visualViewport.height;\\n\\n // Uses Layout Viewport (like Chrome; Safari does not currently)\\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\\n // errors due to floating point numbers, so we need to check precision.\\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\\n\\n // Feature detection fails in mobile emulation mode in Chrome.\\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\\n // 0.001\\n // Fallback here: \\\"Not Safari\\\" userAgent\\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\\n x = visualViewport.offsetLeft;\\n y = visualViewport.offsetTop;\\n }\\n }\\n\\n return {\\n width,\\n height,\\n x: x + getWindowScrollBarX(element),\\n y,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getWindowScroll from './getWindowScroll';\\nimport { max } from '../utils/math';\\n\\n// Gets the entire size of the scrollable document area, even extending outside\\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\\nexport default function getDocumentRect(element: HTMLElement): Rect {\\n const html = getDocumentElement(element);\\n const winScroll = getWindowScroll(element);\\n const body = element.ownerDocument?.body;\\n\\n const width = max(\\n html.scrollWidth,\\n html.clientWidth,\\n body ? body.scrollWidth : 0,\\n body ? body.clientWidth : 0\\n );\\n const height = max(\\n html.scrollHeight,\\n html.clientHeight,\\n body ? body.scrollHeight : 0,\\n body ? body.clientHeight : 0\\n );\\n\\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\\n const y = -winScroll.scrollTop;\\n\\n if (getComputedStyle(body || html).direction === 'rtl') {\\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\\n }\\n\\n return { width, height, x, y };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function contains(parent: Element, child: Element) {\\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\\n\\n // First, attempt with faster native method\\n if (parent.contains(child)) {\\n return true;\\n }\\n // then fallback to custom implementation with Shadow DOM support\\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\\n let next = child;\\n do {\\n if (next &amp;&amp; parent.isSameNode(next)) {\\n return true;\\n }\\n // $FlowFixMe[prop-missing]: need a better way to handle this...\\n next = next.parentNode || next.host;\\n } while (next);\\n }\\n\\n // Give up, the result is false\\n return false;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n State,\\n OptionsGeneric,\\n Modifier,\\n Instance,\\n VirtualElement,\\n} from './types';\\nimport getCompositeRect from './dom-utils/getCompositeRect';\\nimport getLayoutRect from './dom-utils/getLayoutRect';\\nimport listScrollParents from './dom-utils/listScrollParents';\\nimport getOffsetParent from './dom-utils/getOffsetParent';\\nimport getComputedStyle from './dom-utils/getComputedStyle';\\nimport orderModifiers from './utils/orderModifiers';\\nimport debounce from './utils/debounce';\\nimport validateModifiers from './utils/validateModifiers';\\nimport uniqueBy from './utils/uniqueBy';\\nimport getBasePlacement from './utils/getBasePlacement';\\nimport mergeByName from './utils/mergeByName';\\nimport detectOverflow from './utils/detectOverflow';\\nimport { isElement } from './dom-utils/instanceOf';\\nimport { auto } from './enums';\\n\\nconst INVALID_ELEMENT_ERROR =\\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\\nconst INFINITE_LOOP_ERROR =\\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\\n\\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\\n placement: 'bottom',\\n modifiers: [],\\n strategy: 'absolute',\\n};\\n\\ntype PopperGeneratorArgs = {\\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\\n};\\n\\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\\n return !args.some(\\n (element) =&gt;\\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\\n );\\n}\\n\\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\\n const {\\n defaultModifiers = [],\\n defaultOptions = DEFAULT_OPTIONS,\\n } = generatorOptions;\\n\\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\\n reference: Element | VirtualElement,\\n popper: HTMLElement,\\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\\n ): Instance {\\n let state: $Shape&lt;State&gt; = {\\n placement: 'bottom',\\n orderedModifiers: [],\\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\\n modifiersData: {},\\n elements: {\\n reference,\\n popper,\\n },\\n attributes: {},\\n styles: {},\\n };\\n\\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\\n let isDestroyed = false;\\n\\n const instance = {\\n state,\\n setOptions(setOptionsAction) {\\n const options =\\n typeof setOptionsAction === 'function'\\n ? setOptionsAction(state.options)\\n : setOptionsAction;\\n\\n cleanupModifierEffects();\\n\\n state.options = {\\n // $FlowFixMe[exponential-spread]\\n ...defaultOptions,\\n ...state.options,\\n ...options,\\n };\\n\\n state.scrollParents = {\\n reference: isElement(reference)\\n ? listScrollParents(reference)\\n : reference.contextElement\\n ? listScrollParents(reference.contextElement)\\n : [],\\n popper: listScrollParents(popper),\\n };\\n\\n // Orders the modifiers based on their dependencies and `phase`\\n // properties\\n const orderedModifiers = orderModifiers(\\n mergeByName([...defaultModifiers, ...state.options.modifiers])\\n );\\n\\n // Strip out disabled modifiers\\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\\n\\n // Validate the provided modifiers so that the consumer will get warned\\n // if one of the modifiers is invalid for any reason\\n if (__DEV__) {\\n const modifiers = uniqueBy(\\n [...orderedModifiers, ...state.options.modifiers],\\n ({ name }) =&gt; name\\n );\\n\\n validateModifiers(modifiers);\\n\\n if (getBasePlacement(state.options.placement) === auto) {\\n const flipModifier = state.orderedModifiers.find(\\n ({ name }) =&gt; name === 'flip'\\n );\\n\\n if (!flipModifier) {\\n console.error(\\n [\\n 'Popper: \\\"auto\\\" placements require the \\\"flip\\\" modifier be',\\n 'present and enabled to work.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const {\\n marginTop,\\n marginRight,\\n marginBottom,\\n marginLeft,\\n } = getComputedStyle(popper);\\n\\n // We no longer take into account `margins` on the popper, and it can\\n // cause bugs with positioning, so we'll warn the consumer\\n if (\\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\\n parseFloat(margin)\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: CSS \\\"margin\\\" styles cannot be used to apply padding',\\n 'between the popper and its reference element or boundary.',\\n 'To replicate margin, use the `offset` modifier, as well as',\\n 'the `padding` option in the `preventOverflow` and `flip`',\\n 'modifiers.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n runModifierEffects();\\n\\n return instance.update();\\n },\\n\\n // Sync update \u2013 it will always be executed, even if not necessary. This\\n // is useful for low frequency updates where sync behavior simplifies the\\n // logic.\\n // For high frequency updates (e.g. `resize` and `scroll` events), always\\n // prefer the async Popper#update method\\n forceUpdate() {\\n if (isDestroyed) {\\n return;\\n }\\n\\n const { reference, popper } = state.elements;\\n\\n // Don't proceed if `reference` or `popper` are not valid elements\\n // anymore\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return;\\n }\\n\\n // Store the reference and popper rects to be read by modifiers\\n state.rects = {\\n reference: getCompositeRect(\\n reference,\\n getOffsetParent(popper),\\n state.options.strategy === 'fixed'\\n ),\\n popper: getLayoutRect(popper),\\n };\\n\\n // Modifiers have the ability to reset the current update cycle. The\\n // most common use case for this is the `flip` modifier changing the\\n // placement, which then needs to re-run all the modifiers, because the\\n // logic was previously ran for the previous placement and is therefore\\n // stale/incorrect\\n state.reset = false;\\n\\n state.placement = state.options.placement;\\n\\n // On each update cycle, the `modifiersData` property for each modifier\\n // is filled with the initial data specified by the modifier. This means\\n // it doesn't persist and is fresh on each update.\\n // To ensure persistent data, use `${name}#persistent`\\n state.orderedModifiers.forEach(\\n (modifier) =&gt;\\n (state.modifiersData[modifier.name] = {\\n ...modifier.data,\\n })\\n );\\n\\n let __debug_loops__ = 0;\\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\\n if (__DEV__) {\\n __debug_loops__ += 1;\\n if (__debug_loops__ &gt; 100) {\\n console.error(INFINITE_LOOP_ERROR);\\n break;\\n }\\n }\\n\\n if (state.reset === true) {\\n state.reset = false;\\n index = -1;\\n continue;\\n }\\n\\n const { fn, options = {}, name } = state.orderedModifiers[index];\\n\\n if (typeof fn === 'function') {\\n state = fn({ state, options, name, instance }) || state;\\n }\\n }\\n },\\n\\n // Async and optimistically optimized update \u2013 it will not be executed if\\n // not necessary (debounced to run at most once-per-tick)\\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\\n () =&gt;\\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\\n instance.forceUpdate();\\n resolve(state);\\n })\\n ),\\n\\n destroy() {\\n cleanupModifierEffects();\\n isDestroyed = true;\\n },\\n };\\n\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return instance;\\n }\\n\\n instance.setOptions(options).then((state) =&gt; {\\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\\n options.onFirstUpdate(state);\\n }\\n });\\n\\n // Modifiers have the ability to execute arbitrary code before the first\\n // update cycle runs. They will be executed in the same order as the update\\n // cycle. This is useful when a modifier adds some persistent data that\\n // other modifiers need to use, but the modifier is run after the dependent\\n // one.\\n function runModifierEffects() {\\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\\n if (typeof effect === 'function') {\\n const cleanupFn = effect({ state, name, instance, options });\\n const noopFn = () =&gt; {};\\n effectCleanupFns.push(cleanupFn || noopFn);\\n }\\n });\\n }\\n\\n function cleanupModifierEffects() {\\n effectCleanupFns.forEach((fn) =&gt; fn());\\n effectCleanupFns = [];\\n }\\n\\n return instance;\\n };\\n}\\n\\nexport const createPopper = popperGenerator();\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { detectOverflow };\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\\n let pending;\\n return () =&gt; {\\n if (!pending) {\\n pending = new Promise&lt;T&gt;(resolve =&gt; {\\n Promise.resolve().then(() =&gt; {\\n pending = undefined;\\n resolve(fn());\\n });\\n });\\n }\\n\\n return pending;\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\n\\nexport default function mergeByName(\\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\\n const merged = modifiers.reduce((merged, current) =&gt; {\\n const existing = merged[current.name];\\n merged[current.name] = existing\\n ? {\\n ...existing,\\n ...current,\\n options: { ...existing.options, ...current.options },\\n data: { ...existing.data, ...current.data },\\n }\\n : current;\\n return merged;\\n }, {});\\n\\n // IE11 does not support Object.values\\n return Object.keys(merged).map(key =&gt; merged[key]);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\n\\n// Returns the layout rect of an element relative to its offsetParent. Layout\\n// means it doesn't take into account transforms.\\nexport default function getLayoutRect(element: HTMLElement): Rect {\\n const clientRect = getBoundingClientRect(element);\\n\\n // Use the clientRect sizes if it's not been transformed.\\n // Fixes https://github.com/popperjs/popper-core/issues/1223\\n let width = element.offsetWidth;\\n let height = element.offsetHeight;\\n\\n if (Math.abs(clientRect.width - width) &lt;= 1) {\\n width = clientRect.width;\\n }\\n\\n if (Math.abs(clientRect.height - height) &lt;= 1) {\\n height = clientRect.height;\\n }\\n\\n return {\\n x: element.offsetLeft,\\n y: element.offsetTop,\\n width,\\n height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { State, SideObject, Padding } from '../types';\\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\\nimport getClippingRect from '../dom-utils/getClippingRect';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\\nimport computeOffsets from './computeOffsets';\\nimport rectToClientRect from './rectToClientRect';\\nimport {\\n clippingParents,\\n reference,\\n popper,\\n bottom,\\n top,\\n right,\\n basePlacements,\\n viewport,\\n} from '../enums';\\nimport { isElement } from '../dom-utils/instanceOf';\\nimport mergePaddingObject from './mergePaddingObject';\\nimport expandToHashMap from './expandToHashMap';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n placement: Placement,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n elementContext: Context,\\n altBoundary: boolean,\\n padding: Padding,\\n};\\n\\nexport default function detectOverflow(\\n state: State,\\n options: $Shape&lt;Options&gt; = {}\\n): SideObject {\\n const {\\n placement = state.placement,\\n boundary = clippingParents,\\n rootBoundary = viewport,\\n elementContext = popper,\\n altBoundary = false,\\n padding = 0,\\n } = options;\\n\\n const paddingObject = mergePaddingObject(\\n typeof padding !== 'number'\\n ? padding\\n : expandToHashMap(padding, basePlacements)\\n );\\n\\n const altContext = elementContext === popper ? reference : popper;\\n\\n const popperRect = state.rects.popper;\\n const element = state.elements[altBoundary ? altContext : elementContext];\\n\\n const clippingClientRect = getClippingRect(\\n isElement(element)\\n ? element\\n : element.contextElement || getDocumentElement(state.elements.popper),\\n boundary,\\n rootBoundary\\n );\\n\\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\\n\\n const popperOffsets = computeOffsets({\\n reference: referenceClientRect,\\n element: popperRect,\\n strategy: 'absolute',\\n placement,\\n });\\n\\n const popperClientRect = rectToClientRect({\\n ...popperRect,\\n ...popperOffsets,\\n });\\n\\n const elementClientRect =\\n elementContext === popper ? popperClientRect : referenceClientRect;\\n\\n // positive = overflowing the clipping rect\\n // 0 or negative = within the clipping rect\\n const overflowOffsets = {\\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\\n bottom:\\n elementClientRect.bottom -\\n clippingClientRect.bottom +\\n paddingObject.bottom,\\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\\n right:\\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\\n };\\n\\n const offsetData = state.modifiersData.offset;\\n\\n // Offsets can be applied only to the popper element\\n if (elementContext === popper &amp;&amp; offsetData) {\\n const offset = offsetData[placement];\\n\\n Object.keys(overflowOffsets).forEach((key) =&gt; {\\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\\n overflowOffsets[key] += offset[axis] * multiply;\\n });\\n }\\n\\n return overflowOffsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function expandToHashMap&lt;\\n T: number | string | boolean,\\n K: string\\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\\n return keys.reduce((hashMap, key) =&gt; {\\n hashMap[key] = value;\\n return hashMap;\\n }, {});\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\nimport getFreshSideObject from './getFreshSideObject';\\n\\nexport default function mergePaddingObject(\\n paddingObject: $Shape&lt;SideObject&gt;\\n): SideObject {\\n return {\\n ...getFreshSideObject(),\\n ...paddingObject,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\n\\nexport default function getFreshSideObject(): SideObject {\\n return {\\n top: 0,\\n right: 0,\\n bottom: 0,\\n left: 0,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBasePlacement from './getBasePlacement';\\nimport getVariation from './getVariation';\\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\\nimport type {\\n Rect,\\n PositioningStrategy,\\n Offsets,\\n ClientRectObject,\\n} from '../types';\\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\\n\\nexport default function computeOffsets({\\n reference,\\n element,\\n placement,\\n}: {\\n reference: Rect | ClientRectObject,\\n element: Rect | ClientRectObject,\\n strategy: PositioningStrategy,\\n placement?: Placement,\\n}): Offsets {\\n const basePlacement = placement ? getBasePlacement(placement) : null;\\n const variation = placement ? getVariation(placement) : null;\\n const commonX = reference.x + reference.width / 2 - element.width / 2;\\n const commonY = reference.y + reference.height / 2 - element.height / 2;\\n\\n let offsets;\\n switch (basePlacement) {\\n case top:\\n offsets = {\\n x: commonX,\\n y: reference.y - element.height,\\n };\\n break;\\n case bottom:\\n offsets = {\\n x: commonX,\\n y: reference.y + reference.height,\\n };\\n break;\\n case right:\\n offsets = {\\n x: reference.x + reference.width,\\n y: commonY,\\n };\\n break;\\n case left:\\n offsets = {\\n x: reference.x - element.width,\\n y: commonY,\\n };\\n break;\\n default:\\n offsets = {\\n x: reference.x,\\n y: reference.y,\\n };\\n }\\n\\n const mainAxis = basePlacement\\n ? getMainAxisFromPlacement(basePlacement)\\n : null;\\n\\n if (mainAxis != null) {\\n const len = mainAxis === 'y' ? 'height' : 'width';\\n\\n switch (variation) {\\n case start:\\n offsets[mainAxis] =\\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\\n break;\\n case end:\\n offsets[mainAxis] =\\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\\n break;\\n default:\\n }\\n }\\n\\n return offsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type BasePlacement, type Placement, auto } from '../enums';\\n\\nexport default function getBasePlacement(\\n placement: Placement | typeof auto\\n): BasePlacement {\\n return (placement.split('-')[0]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type Variation, type Placement } from '../enums';\\n\\nexport default function getVariation(placement: Placement): ?Variation {\\n return (placement.split('-')[1]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nexport default function getMainAxisFromPlacement(\\n placement: Placement\\n): 'x' | 'y' {\\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\\n}\\n\"</span>],<span class=\"code-attr\">\"names\"</span>:[<span class=\"code-string\">\"getWindow\"</span>,<span class=\"code-string\">\"node\"</span>,<span class=\"code-string\">\"window\"</span>,<span class=\"code-string\">\"toString\"</span>,<span class=\"code-string\">\"ownerDocument\"</span>,<span class=\"code-string\">\"defaultView\"</span>,<span class=\"code-string\">\"isElement\"</span>,<span class=\"code-string\">\"Element\"</span>,<span class=\"code-string\">\"isHTMLElement\"</span>,<span class=\"code-string\">\"HTMLElement\"</span>,<span class=\"code-string\">\"isShadowRoot\"</span>,<span class=\"code-string\">\"ShadowRoot\"</span>,<span class=\"code-string\">\"max\"</span>,<span class=\"code-string\">\"Math\"</span>,<span class=\"code-string\">\"min\"</span>,<span class=\"code-string\">\"round\"</span>,<span class=\"code-string\">\"getBoundingClientRect\"</span>,<span class=\"code-string\">\"element\"</span>,<span class=\"code-string\">\"includeScale\"</span>,<span class=\"code-string\">\"rect\"</span>,<span class=\"code-string\">\"scaleX\"</span>,<span class=\"code-string\">\"scaleY\"</span>,<span class=\"code-string\">\"offsetHeight\"</span>,<span class=\"code-string\">\"offsetWidth\"</span>,<span class=\"code-string\">\"width\"</span>,<span class=\"code-string\">\"height\"</span>,<span class=\"code-string\">\"top\"</span>,<span class=\"code-string\">\"right\"</span>,<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-string\">\"left\"</span>,<span class=\"code-string\">\"x\"</span>,<span class=\"code-string\">\"y\"</span>,<span class=\"code-string\">\"getWindowScroll\"</span>,<span class=\"code-string\">\"win\"</span>,<span class=\"code-string\">\"scrollLeft\"</span>,<span class=\"code-string\">\"pageXOffset\"</span>,<span class=\"code-string\">\"scrollTop\"</span>,<span class=\"code-string\">\"pageYOffset\"</span>,<span class=\"code-string\">\"getNodeName\"</span>,<span class=\"code-string\">\"nodeName\"</span>,<span class=\"code-string\">\"toLowerCase\"</span>,<span class=\"code-string\">\"getDocumentElement\"</span>,<span class=\"code-string\">\"document\"</span>,<span class=\"code-string\">\"documentElement\"</span>,<span class=\"code-string\">\"getWindowScrollBarX\"</span>,<span class=\"code-string\">\"getComputedStyle\"</span>,<span class=\"code-string\">\"isScrollParent\"</span>,<span class=\"code-string\">\"overflow\"</span>,<span class=\"code-string\">\"overflowX\"</span>,<span class=\"code-string\">\"overflowY\"</span>,<span class=\"code-string\">\"test\"</span>,<span class=\"code-string\">\"getCompositeRect\"</span>,<span class=\"code-string\">\"elementOrVirtualElement\"</span>,<span class=\"code-string\">\"offsetParent\"</span>,<span class=\"code-string\">\"isFixed\"</span>,<span class=\"code-string\">\"isOffsetParentAnElement\"</span>,<span class=\"code-string\">\"offsetParentIsScaled\"</span>,<span class=\"code-string\">\"isElementScaled\"</span>,<span class=\"code-string\">\"scroll\"</span>,<span class=\"code-string\">\"offsets\"</span>,<span class=\"code-string\">\"clientLeft\"</span>,<span class=\"code-string\">\"clientTop\"</span>,<span class=\"code-string\">\"getParentNode\"</span>,<span class=\"code-string\">\"assignedSlot\"</span>,<span class=\"code-string\">\"parentNode\"</span>,<span class=\"code-string\">\"host\"</span>,<span class=\"code-string\">\"getScrollParent\"</span>,<span class=\"code-string\">\"indexOf\"</span>,<span class=\"code-string\">\"body\"</span>,<span class=\"code-string\">\"listScrollParents\"</span>,<span class=\"code-string\">\"list\"</span>,<span class=\"code-string\">\"scrollParent\"</span>,<span class=\"code-string\">\"isBody\"</span>,<span class=\"code-string\">\"_element$ownerDocumen\"</span>,<span class=\"code-string\">\"target\"</span>,<span class=\"code-string\">\"concat\"</span>,<span class=\"code-string\">\"visualViewport\"</span>,<span class=\"code-string\">\"updatedList\"</span>,<span class=\"code-string\">\"isTableElement\"</span>,<span class=\"code-string\">\"getTrueOffsetParent\"</span>,<span class=\"code-string\">\"position\"</span>,<span class=\"code-string\">\"getOffsetParent\"</span>,<span class=\"code-string\">\"isFirefox\"</span>,<span class=\"code-string\">\"navigator\"</span>,<span class=\"code-string\">\"userAgent\"</span>,<span class=\"code-string\">\"currentNode\"</span>,<span class=\"code-string\">\"css\"</span>,<span class=\"code-string\">\"transform\"</span>,<span class=\"code-string\">\"perspective\"</span>,<span class=\"code-string\">\"contain\"</span>,<span class=\"code-string\">\"willChange\"</span>,<span class=\"code-string\">\"filter\"</span>,<span class=\"code-string\">\"getContainingBlock\"</span>,<span class=\"code-string\">\"basePlacements\"</span>,<span class=\"code-string\">\"viewport\"</span>,<span class=\"code-string\">\"popper\"</span>,<span class=\"code-string\">\"modifierPhases\"</span>,<span class=\"code-string\">\"order\"</span>,<span class=\"code-string\">\"modifiers\"</span>,<span class=\"code-string\">\"map\"</span>,<span class=\"code-string\">\"Map\"</span>,<span class=\"code-string\">\"visited\"</span>,<span class=\"code-string\">\"Set\"</span>,<span class=\"code-string\">\"result\"</span>,<span class=\"code-string\">\"sort\"</span>,<span class=\"code-string\">\"modifier\"</span>,<span class=\"code-string\">\"add\"</span>,<span class=\"code-string\">\"name\"</span>,<span class=\"code-string\">\"requires\"</span>,<span class=\"code-string\">\"requiresIfExists\"</span>,<span class=\"code-string\">\"forEach\"</span>,<span class=\"code-string\">\"dep\"</span>,<span class=\"code-string\">\"has\"</span>,<span class=\"code-string\">\"depModifier\"</span>,<span class=\"code-string\">\"get\"</span>,<span class=\"code-string\">\"push\"</span>,<span class=\"code-string\">\"set\"</span>,<span class=\"code-string\">\"rectToClientRect\"</span>,<span class=\"code-string\">\"getClientRectFromMixedType\"</span>,<span class=\"code-string\">\"clippingParent\"</span>,<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"clientWidth\"</span>,<span class=\"code-string\">\"clientHeight\"</span>,<span class=\"code-string\">\"offsetLeft\"</span>,<span class=\"code-string\">\"offsetTop\"</span>,<span class=\"code-string\">\"getViewportRect\"</span>,<span class=\"code-string\">\"getInnerBoundingClientRect\"</span>,<span class=\"code-string\">\"winScroll\"</span>,<span class=\"code-string\">\"scrollWidth\"</span>,<span class=\"code-string\">\"scrollHeight\"</span>,<span class=\"code-string\">\"direction\"</span>,<span class=\"code-string\">\"getDocumentRect\"</span>,<span class=\"code-string\">\"getClippingParents\"</span>,<span class=\"code-string\">\"clippingParents\"</span>,<span class=\"code-string\">\"clipperElement\"</span>,<span class=\"code-string\">\"parent\"</span>,<span class=\"code-string\">\"child\"</span>,<span class=\"code-string\">\"rootNode\"</span>,<span class=\"code-string\">\"getRootNode\"</span>,<span class=\"code-string\">\"contains\"</span>,<span class=\"code-string\">\"next\"</span>,<span class=\"code-string\">\"isSameNode\"</span>,<span class=\"code-string\">\"DEFAULT_OPTIONS\"</span>,<span class=\"code-string\">\"placement\"</span>,<span class=\"code-string\">\"strategy\"</span>,<span class=\"code-string\">\"areValidElements\"</span>,<span class=\"code-string\">\"args\"</span>,<span class=\"code-string\">\"some\"</span>,<span class=\"code-string\">\"popperGenerator\"</span>,<span class=\"code-string\">\"generatorOptions\"</span>,<span class=\"code-string\">\"defaultModifiers\"</span>,<span class=\"code-string\">\"defaultOptions\"</span>,<span class=\"code-string\">\"reference\"</span>,<span class=\"code-string\">\"options\"</span>,<span class=\"code-string\">\"fn\"</span>,<span class=\"code-string\">\"pending\"</span>,<span class=\"code-string\">\"state\"</span>,<span class=\"code-string\">\"orderedModifiers\"</span>,<span class=\"code-string\">\"modifiersData\"</span>,<span class=\"code-string\">\"elements\"</span>,<span class=\"code-string\">\"attributes\"</span>,<span class=\"code-string\">\"styles\"</span>,<span class=\"code-string\">\"effectCleanupFns\"</span>,<span class=\"code-string\">\"isDestroyed\"</span>,<span class=\"code-string\">\"instance\"</span>,<span class=\"code-string\">\"setOptions\"</span>,<span class=\"code-string\">\"setOptionsAction\"</span>,<span class=\"code-string\">\"cleanupModifierEffects\"</span>,<span class=\"code-string\">\"scrollParents\"</span>,<span class=\"code-string\">\"contextElement\"</span>,<span class=\"code-string\">\"merged\"</span>,<span class=\"code-string\">\"reduce\"</span>,<span class=\"code-string\">\"acc\"</span>,<span class=\"code-string\">\"phase\"</span>,<span class=\"code-string\">\"orderModifiers\"</span>,<span class=\"code-string\">\"current\"</span>,<span class=\"code-string\">\"existing\"</span>,<span class=\"code-string\">\"data\"</span>,<span class=\"code-string\">\"Object\"</span>,<span class=\"code-string\">\"keys\"</span>,<span class=\"code-string\">\"key\"</span>,<span class=\"code-string\">\"m\"</span>,<span class=\"code-string\">\"enabled\"</span>,<span class=\"code-string\">\"effect\"</span>,<span class=\"code-string\">\"cleanupFn\"</span>,<span class=\"code-string\">\"noopFn\"</span>,<span class=\"code-string\">\"update\"</span>,<span class=\"code-string\">\"forceUpdate\"</span>,<span class=\"code-string\">\"clientRect\"</span>,<span class=\"code-string\">\"rects\"</span>,<span class=\"code-string\">\"abs\"</span>,<span class=\"code-string\">\"reset\"</span>,<span class=\"code-string\">\"index\"</span>,<span class=\"code-string\">\"length\"</span>,<span class=\"code-string\">\"Promise\"</span>,<span class=\"code-string\">\"resolve\"</span>,<span class=\"code-string\">\"then\"</span>,<span class=\"code-string\">\"undefined\"</span>,<span class=\"code-string\">\"destroy\"</span>,<span class=\"code-string\">\"onFirstUpdate\"</span>,<span class=\"code-string\">\"createPopper\"</span>,<span class=\"code-string\">\"value\"</span>,<span class=\"code-string\">\"boundary\"</span>,<span class=\"code-string\">\"rootBoundary\"</span>,<span class=\"code-string\">\"elementContext\"</span>,<span class=\"code-string\">\"altBoundary\"</span>,<span class=\"code-string\">\"padding\"</span>,<span class=\"code-string\">\"paddingObject\"</span>,<span class=\"code-string\">\"mergePaddingObject\"</span>,<span class=\"code-string\">\"hashMap\"</span>,<span class=\"code-string\">\"altContext\"</span>,<span class=\"code-string\">\"popperRect\"</span>,<span class=\"code-string\">\"clippingClientRect\"</span>,<span class=\"code-string\">\"mainClippingParents\"</span>,<span class=\"code-string\">\"firstClippingParent\"</span>,<span class=\"code-string\">\"clippingRect\"</span>,<span class=\"code-string\">\"accRect\"</span>,<span class=\"code-string\">\"getClippingRect\"</span>,<span class=\"code-string\">\"referenceClientRect\"</span>,<span class=\"code-string\">\"popperOffsets\"</span>,<span class=\"code-string\">\"basePlacement\"</span>,<span class=\"code-string\">\"split\"</span>,<span class=\"code-string\">\"getBasePlacement\"</span>,<span class=\"code-string\">\"variation\"</span>,<span class=\"code-string\">\"getVariation\"</span>,<span class=\"code-string\">\"commonX\"</span>,<span class=\"code-string\">\"commonY\"</span>,<span class=\"code-string\">\"mainAxis\"</span>,<span class=\"code-string\">\"getMainAxisFromPlacement\"</span>,<span class=\"code-string\">\"len\"</span>,<span class=\"code-string\">\"computeOffsets\"</span>,<span class=\"code-string\">\"popperClientRect\"</span>,<span class=\"code-string\">\"elementClientRect\"</span>,<span class=\"code-string\">\"overflowOffsets\"</span>,<span class=\"code-string\">\"offsetData\"</span>,<span class=\"code-string\">\"offset\"</span>,<span class=\"code-string\">\"multiply\"</span>,<span class=\"code-string\">\"axis\"</span>],<span class=\"code-attr\">\"mappings\"</span>:<span class=\"code-string\">\";;;;8OAIe,SAASA,EAAUC,MACpB,MAARA,SACKC,UAGe,oBAApBD,EAAKE,WAAkC,KACnCC,EAAgBH,EAAKG,qBACpBA,GAAgBA,EAAcC,aAAwBH,cAGxDD,ECTT,SAASK,EAAUL,UAEVA,aADYD,EAAUC,GAAMM,SACEN,aA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AmB1L,IAAM8M,EAAkB9M,IAAMqL,EAAcrL,IACpEE,OACE4M,EAAkB5M,OAClBwL,EAAmBxL,OACnBmL,EAAcnL,OAChBC,KAAMuL,EAAmBvL,KAAO2M,EAAkB3M,KAAOkL,EAAclL,KACvEF,MACE6M,EAAkB7M,MAAQyL,EAAmBzL,MAAQoL,EAAcpL,OAGjE+M,EAAa9E,EAAME,cAAc6E,UAGnC/B,IAAmB7G,GAAU2I,EAAY,KACrCC,EAASD,EAAW3F,GAE1BmC,OAAOC,KAAKsD,GAAiB3H,SAAQ,SAACsE,OAC9BwD,EAAW,CAACjN,EAAOC,GAAQuC,QAAQiH,IAAQ,EAAI,GAAK,EACpDyD,EAAO,CAACnN,EAAKE,GAAQuC,QAAQiH,IAAQ,EAAI,IAAM,IACrDqD,EAAgBrD,IAAQuD,EAAOE,GAAQD,YAIpCH\"</span>}"]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-base.min.js.map</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>59.4 kB</span><span>Source Map (JSON)</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-base.min.js.map" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code>{<span class="code-attr">"version"</span>:<span class="code-number">3</span>,<span class="code-attr">"file"</span>:<span class="code-string">"popper-base.min.js"</span>,<span class="code-attr">"sources"</span>:[<span class="code-string">"../../src/dom-utils/getWindow.js"</span>,<span class="code-string">"../../src/dom-utils/instanceOf.js"</span>,<span class="code-string">"../../src/utils/math.js"</span>,<span class="code-string">"../../src/dom-utils/getBoundingClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeName.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentElement.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScrollBarX.js"</span>,<span class="code-string">"../../src/dom-utils/getComputedStyle.js"</span>,<span class="code-string">"../../src/dom-utils/isScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/getCompositeRect.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getHTMLElementScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getParentNode.js"</span>,<span class="code-string">"../../src/dom-utils/getScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/listScrollParents.js"</span>,<span class="code-string">"../../src/dom-utils/isTableElement.js"</span>,<span class="code-string">"../../src/dom-utils/getOffsetParent.js"</span>,<span class="code-string">"../../src/enums.js"</span>,<span class="code-string">"../../src/utils/orderModifiers.js"</span>,<span class="code-string">"../../src/utils/rectToClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getClippingRect.js"</span>,<span class="code-string">"../../src/dom-utils/getViewportRect.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentRect.js"</span>,<span class="code-string">"../../src/dom-utils/contains.js"</span>,<span class="code-string">"../../src/createPopper.js"</span>,<span class="code-string">"../../src/utils/debounce.js"</span>,<span class="code-string">"../../src/utils/mergeByName.js"</span>,<span class="code-string">"../../src/dom-utils/getLayoutRect.js"</span>,<span class="code-string">"../../src/utils/detectOverflow.js"</span>,<span class="code-string">"../../src/utils/expandToHashMap.js"</span>,<span class="code-string">"../../src/utils/mergePaddingObject.js"</span>,<span class="code-string">"../../src/utils/getFreshSideObject.js"</span>,<span class="code-string">"../../src/utils/computeOffsets.js"</span>,<span class="code-string">"../../src/utils/getBasePlacement.js"</span>,<span class="code-string">"../../src/utils/getVariation.js"</span>,<span class="code-string">"../../src/utils/getMainAxisFromPlacement.js"</span>],<span class="code-attr">"sourcesContent"</span>:[<span class="code-string">"// @flow\nimport type { Window } from '../types';\ndeclare function getWindow(node: Node | Window): Window;\n\nexport default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n const ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\n Element);\nfunction isElement(node) {\n const OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\n HTMLElement);\nfunction isHTMLElement(node) {\n const OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\n ShadowRoot);\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n const OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };\n"</span>,<span class="code-string">"// @flow\nexport const max = Math.max;\nexport const min = Math.min;\nexport const round = Math.round;\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject, VirtualElement } from '../types';\nimport { isHTMLElement } from './instanceOf';\nimport { round } from '../utils/math';\n\nexport default function getBoundingClientRect(\n element: Element | VirtualElement,\n includeScale: boolean = false\n): ClientRectObject {\n const rect = element.getBoundingClientRect();\n let scaleX = 1;\n let scaleY = 1;\n\n if (isHTMLElement(element) &amp;&amp; includeScale) {\n const offsetHeight = element.offsetHeight;\n const offsetWidth = element.offsetWidth;\n\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\n // Fallback to 1 in case both values are `0`\n if (offsetWidth &gt; 0) {\n scaleX = round(rect.width) / offsetWidth || 1;\n }\n if (offsetHeight &gt; 0) {\n scaleY = round(rect.height) / offsetHeight || 1;\n }\n }\n\n return {\n width: rect.width / scaleX,\n height: rect.height / scaleY,\n top: rect.top / scaleY,\n right: rect.right / scaleX,\n bottom: rect.bottom / scaleY,\n left: rect.left / scaleX,\n x: rect.left / scaleX,\n y: rect.top / scaleY,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport type { Window } from '../types';\n\nexport default function getWindowScroll(node: Node | Window) {\n const win = getWindow(node);\n const scrollLeft = win.pageXOffset;\n const scrollTop = win.pageYOffset;\n\n return {\n scrollLeft,\n scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Window } from '../types';\n\nexport default function getNodeName(element: ?Node | Window): ?string {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}\n"</span>,<span class="code-string">"// @flow\nimport { isElement } from './instanceOf';\nimport type { Window } from '../types';\n\nexport default function getDocumentElement(\n element: Element | Window\n): HTMLElement {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return (\n (isElement(element)\n ? element.ownerDocument\n : // $FlowFixMe[prop-missing]\n element.document) || window.document\n ).documentElement;\n}\n"</span>,<span class="code-string">"// @flow\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScroll from './getWindowScroll';\n\nexport default function getWindowScrollBarX(element: Element): number {\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return (\n getBoundingClientRect(getDocumentElement(element)).left +\n getWindowScroll(element).scrollLeft\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\nexport default function getComputedStyle(\n element: Element\n): CSSStyleDeclaration {\n return getWindow(element).getComputedStyle(element);\n}\n"</span>,<span class="code-string">"// @flow\nimport getComputedStyle from './getComputedStyle';\n\nexport default function isScrollParent(element: HTMLElement): boolean {\n // Firefox wants us to check `-x` and `-y` variations as well\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, VirtualElement, Window } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getNodeScroll from './getNodeScroll';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getDocumentElement from './getDocumentElement';\nimport isScrollParent from './isScrollParent';\nimport { round } from '../utils/math';\n\nfunction isElementScaled(element: HTMLElement) {\n const rect = element.getBoundingClientRect();\n const scaleX = round(rect.width) / element.offsetWidth || 1;\n const scaleY = round(rect.height) / element.offsetHeight || 1;\n\n return scaleX !== 1 || scaleY !== 1;\n}\n\n// Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\nexport default function getCompositeRect(\n elementOrVirtualElement: Element | VirtualElement,\n offsetParent: Element | Window,\n isFixed: boolean = false\n): Rect {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const offsetParentIsScaled =\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const rect = getBoundingClientRect(\n elementOrVirtualElement,\n offsetParentIsScaled\n );\n\n let scroll = { scrollLeft: 0, scrollTop: 0 };\n let offsets = { x: 0, y: 0 };\n\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\n if (\n getNodeName(offsetParent) !== 'body' ||\n // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)\n ) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindowScroll from './getWindowScroll';\nimport getWindow from './getWindow';\nimport { isHTMLElement } from './instanceOf';\nimport getHTMLElementScroll from './getHTMLElementScroll';\nimport type { Window } from '../types';\n\nexport default function getNodeScroll(node: Node | Window) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function getHTMLElementScroll(element: HTMLElement) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\nimport getDocumentElement from './getDocumentElement';\nimport { isShadowRoot } from './instanceOf';\n\nexport default function getParentNode(element: Node | ShadowRoot): Node {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || // DOM Element detected\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getParentNode from './getParentNode';\nimport isScrollParent from './isScrollParent';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\n\nexport default function getScrollParent(node: Node): HTMLElement {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}\n"</span>,<span class="code-string">"// @flow\nimport getScrollParent from './getScrollParent';\nimport getParentNode from './getParentNode';\nimport getWindow from './getWindow';\nimport type { Window, VisualViewport } from '../types';\nimport isScrollParent from './isScrollParent';\n\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\nexport default function listScrollParents(\n element: Node,\n list: Array&lt;Element | Window&gt; = []\n): Array&lt;Element | Window | VisualViewport&gt; {\n const scrollParent = getScrollParent(element);\n const isBody = scrollParent === element.ownerDocument?.body;\n const win = getWindow(scrollParent);\n const target = isBody\n ? [win].concat(\n win.visualViewport || [],\n isScrollParent(scrollParent) ? scrollParent : []\n )\n : scrollParent;\n const updatedList = list.concat(target);\n\n return isBody\n ? updatedList\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\n\nexport default function isTableElement(element: Element): boolean {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getNodeName from './getNodeName';\nimport getComputedStyle from './getComputedStyle';\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\nimport isTableElement from './isTableElement';\nimport getParentNode from './getParentNode';\n\nfunction getTrueOffsetParent(element: Element): ?Element {\n if (\n !isHTMLElement(element) ||\n // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed'\n ) {\n return null;\n }\n\n return element.offsetParent;\n}\n\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\nfunction getContainingBlock(element: Element) {\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\n\n if (isIE &amp;&amp; isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n const elementCss = getComputedStyle(element);\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n let currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (\n isHTMLElement(currentNode) &amp;&amp;\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\n ) {\n const css = getComputedStyle(currentNode);\n\n // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n if (\n css.transform !== 'none' ||\n css.perspective !== 'none' ||\n css.contain === 'paint' ||\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\n ) {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nexport default function getOffsetParent(element: Element) {\n const window = getWindow(element);\n\n let offsetParent = getTrueOffsetParent(element);\n\n while (\n offsetParent &amp;&amp;\n isTableElement(offsetParent) &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'\n ) {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (\n offsetParent &amp;&amp;\n (getNodeName(offsetParent) === 'html' ||\n (getNodeName(offsetParent) === 'body' &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'))\n ) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n"</span>,<span class="code-string">"// @flow\nexport const top: 'top' = 'top';\nexport const bottom: 'bottom' = 'bottom';\nexport const right: 'right' = 'right';\nexport const left: 'left' = 'left';\nexport const auto: 'auto' = 'auto';\nexport type BasePlacement =\n | typeof top\n | typeof bottom\n | typeof right\n | typeof left;\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\n\nexport const start: 'start' = 'start';\nexport const end: 'end' = 'end';\nexport type Variation = typeof start | typeof end;\n\nexport const clippingParents: 'clippingParents' = 'clippingParents';\nexport const viewport: 'viewport' = 'viewport';\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\nexport type RootBoundary = typeof viewport | 'document';\n\nexport const popper: 'popper' = 'popper';\nexport const reference: 'reference' = 'reference';\nexport type Context = typeof popper | typeof reference;\n\nexport type VariationPlacement =\n | 'top-start'\n | 'top-end'\n | 'bottom-start'\n | 'bottom-end'\n | 'right-start'\n | 'right-end'\n | 'left-start'\n | 'left-end';\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\n\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\n []\n);\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\n (\n acc: Array&lt;Placement&gt;,\n placement: BasePlacement | typeof auto\n ): Array&lt;Placement&gt; =&gt;\n acc.concat([\n placement,\n (`${placement}-${start}`: any),\n (`${placement}-${end}`: any),\n ]),\n []\n);\n\n// modifiers that need to read the DOM\nexport const beforeRead: 'beforeRead' = 'beforeRead';\nexport const read: 'read' = 'read';\nexport const afterRead: 'afterRead' = 'afterRead';\n// pure-logic modifiers\nexport const beforeMain: 'beforeMain' = 'beforeMain';\nexport const main: 'main' = 'main';\nexport const afterMain: 'afterMain' = 'afterMain';\n// modifier with the purpose to write to the DOM (or write into a framework state)\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\nexport const write: 'write' = 'write';\nexport const afterWrite: 'afterWrite' = 'afterWrite';\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\n beforeRead,\n read,\n afterRead,\n beforeMain,\n main,\n afterMain,\n beforeWrite,\n write,\n afterWrite,\n];\n\nexport type ModifierPhases =\n | typeof beforeRead\n | typeof read\n | typeof afterRead\n | typeof beforeMain\n | typeof main\n | typeof afterMain\n | typeof beforeWrite\n | typeof write\n | typeof afterWrite;\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\nimport { modifierPhases } from '../enums';\n\n// source: https://stackoverflow.com/questions/49875255\nfunction order(modifiers) {\n const map = new Map();\n const visited = new Set();\n const result = [];\n\n modifiers.forEach(modifier =&gt; {\n map.set(modifier.name, modifier);\n });\n\n // On visiting object, check for its dependencies and visit them recursively\n function sort(modifier: Modifier&lt;any, any&gt;) {\n visited.add(modifier.name);\n\n const requires = [\n ...(modifier.requires || []),\n ...(modifier.requiresIfExists || []),\n ];\n\n requires.forEach(dep =&gt; {\n if (!visited.has(dep)) {\n const depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n\n result.push(modifier);\n }\n\n modifiers.forEach(modifier =&gt; {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n\n return result;\n}\n\nexport default function orderModifiers(\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\n // order based on dependencies\n const orderedModifiers = order(modifiers);\n\n // order based on phase\n return modifierPhases.reduce((acc, phase) =&gt; {\n return acc.concat(\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\n );\n }, []);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, ClientRectObject } from '../types';\n\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\n return {\n ...rect,\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject } from '../types';\nimport type { Boundary, RootBoundary } from '../enums';\nimport { viewport } from '../enums';\nimport getViewportRect from './getViewportRect';\nimport getDocumentRect from './getDocumentRect';\nimport listScrollParents from './listScrollParents';\nimport getOffsetParent from './getOffsetParent';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport { isElement, isHTMLElement } from './instanceOf';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getParentNode from './getParentNode';\nimport contains from './contains';\nimport getNodeName from './getNodeName';\nimport rectToClientRect from '../utils/rectToClientRect';\nimport { max, min } from '../utils/math';\n\nfunction getInnerBoundingClientRect(element: Element) {\n const rect = getBoundingClientRect(element);\n\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n\n return rect;\n}\n\nfunction getClientRectFromMixedType(\n element: Element,\n clippingParent: Element | RootBoundary\n): ClientRectObject {\n return clippingParent === viewport\n ? rectToClientRect(getViewportRect(element))\n : isElement(clippingParent)\n ? getInnerBoundingClientRect(clippingParent)\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n}\n\n// A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\n const clippingParents = listScrollParents(getParentNode(element));\n const canEscapeClipping =\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\n const clipperElement =\n canEscapeClipping &amp;&amp; isHTMLElement(element)\n ? getOffsetParent(element)\n : element;\n\n if (!isElement(clipperElement)) {\n return [];\n }\n\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n return clippingParents.filter(\n (clippingParent) =&gt;\n isElement(clippingParent) &amp;&amp;\n contains(clippingParent, clipperElement) &amp;&amp;\n getNodeName(clippingParent) !== 'body'\n );\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping parents\nexport default function getClippingRect(\n element: Element,\n boundary: Boundary,\n rootBoundary: RootBoundary\n): ClientRectObject {\n const mainClippingParents =\n boundary === 'clippingParents'\n ? getClippingParents(element)\n : [].concat(boundary);\n const clippingParents = [...mainClippingParents, rootBoundary];\n const firstClippingParent = clippingParents[0];\n\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\n const rect = getClientRectFromMixedType(element, clippingParent);\n\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n\n return clippingRect;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScrollBarX from './getWindowScrollBarX';\n\nexport default function getViewportRect(element: Element) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n\n // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\n\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width,\n height,\n x: x + getWindowScrollBarX(element),\n y,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getWindowScroll from './getWindowScroll';\nimport { max } from '../utils/math';\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\nexport default function getDocumentRect(element: HTMLElement): Rect {\n const html = getDocumentElement(element);\n const winScroll = getWindowScroll(element);\n const body = element.ownerDocument?.body;\n\n const width = max(\n html.scrollWidth,\n html.clientWidth,\n body ? body.scrollWidth : 0,\n body ? body.clientWidth : 0\n );\n const height = max(\n html.scrollHeight,\n html.clientHeight,\n body ? body.scrollHeight : 0,\n body ? body.clientHeight : 0\n );\n\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n const y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return { width, height, x, y };\n}\n"</span>,<span class="code-string">"// @flow\nimport { isShadowRoot } from './instanceOf';\n\nexport default function contains(parent: Element, child: Element) {\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\n\n // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n }\n // then fallback to custom implementation with Shadow DOM support\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\n let next = child;\n do {\n if (next &amp;&amp; parent.isSameNode(next)) {\n return true;\n }\n // $FlowFixMe[prop-missing]: need a better way to handle this...\n next = next.parentNode || next.host;\n } while (next);\n }\n\n // Give up, the result is false\n return false;\n}\n"</span>,<span class="code-string">"// @flow\nimport type {\n State,\n OptionsGeneric,\n Modifier,\n Instance,\n VirtualElement,\n} from './types';\nimport getCompositeRect from './dom-utils/getCompositeRect';\nimport getLayoutRect from './dom-utils/getLayoutRect';\nimport listScrollParents from './dom-utils/listScrollParents';\nimport getOffsetParent from './dom-utils/getOffsetParent';\nimport getComputedStyle from './dom-utils/getComputedStyle';\nimport orderModifiers from './utils/orderModifiers';\nimport debounce from './utils/debounce';\nimport validateModifiers from './utils/validateModifiers';\nimport uniqueBy from './utils/uniqueBy';\nimport getBasePlacement from './utils/getBasePlacement';\nimport mergeByName from './utils/mergeByName';\nimport detectOverflow from './utils/detectOverflow';\nimport { isElement } from './dom-utils/instanceOf';\nimport { auto } from './enums';\n\nconst INVALID_ELEMENT_ERROR =\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nconst INFINITE_LOOP_ERROR =\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\n\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute',\n};\n\ntype PopperGeneratorArgs = {\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\n};\n\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\n return !args.some(\n (element) =&gt;\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\n );\n}\n\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\n const {\n defaultModifiers = [],\n defaultOptions = DEFAULT_OPTIONS,\n } = generatorOptions;\n\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\n reference: Element | VirtualElement,\n popper: HTMLElement,\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\n ): Instance {\n let state: $Shape&lt;State&gt; = {\n placement: 'bottom',\n orderedModifiers: [],\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\n modifiersData: {},\n elements: {\n reference,\n popper,\n },\n attributes: {},\n styles: {},\n };\n\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\n let isDestroyed = false;\n\n const instance = {\n state,\n setOptions(setOptionsAction) {\n const options =\n typeof setOptionsAction === 'function'\n ? setOptionsAction(state.options)\n : setOptionsAction;\n\n cleanupModifierEffects();\n\n state.options = {\n // $FlowFixMe[exponential-spread]\n ...defaultOptions,\n ...state.options,\n ...options,\n };\n\n state.scrollParents = {\n reference: isElement(reference)\n ? listScrollParents(reference)\n : reference.contextElement\n ? listScrollParents(reference.contextElement)\n : [],\n popper: listScrollParents(popper),\n };\n\n // Orders the modifiers based on their dependencies and `phase`\n // properties\n const orderedModifiers = orderModifiers(\n mergeByName([...defaultModifiers, ...state.options.modifiers])\n );\n\n // Strip out disabled modifiers\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\n\n // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n if (__DEV__) {\n const modifiers = uniqueBy(\n [...orderedModifiers, ...state.options.modifiers],\n ({ name }) =&gt; name\n );\n\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n const flipModifier = state.orderedModifiers.find(\n ({ name }) =&gt; name === 'flip'\n );\n\n if (!flipModifier) {\n console.error(\n [\n 'Popper: \"auto\" placements require the \"flip\" modifier be',\n 'present and enabled to work.',\n ].join(' ')\n );\n }\n }\n\n const {\n marginTop,\n marginRight,\n marginBottom,\n marginLeft,\n } = getComputedStyle(popper);\n\n // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n if (\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\n parseFloat(margin)\n )\n ) {\n console.warn(\n [\n 'Popper: CSS \"margin\" styles cannot be used to apply padding',\n 'between the popper and its reference element or boundary.',\n 'To replicate margin, use the `offset` modifier, as well as',\n 'the `padding` option in the `preventOverflow` and `flip`',\n 'modifiers.',\n ].join(' ')\n );\n }\n }\n\n runModifierEffects();\n\n return instance.update();\n },\n\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n const { reference, popper } = state.elements;\n\n // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return;\n }\n\n // Store the reference and popper rects to be read by modifiers\n state.rects = {\n reference: getCompositeRect(\n reference,\n getOffsetParent(popper),\n state.options.strategy === 'fixed'\n ),\n popper: getLayoutRect(popper),\n };\n\n // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n state.reset = false;\n\n state.placement = state.options.placement;\n\n // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n state.orderedModifiers.forEach(\n (modifier) =&gt;\n (state.modifiersData[modifier.name] = {\n ...modifier.data,\n })\n );\n\n let __debug_loops__ = 0;\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\n if (__DEV__) {\n __debug_loops__ += 1;\n if (__debug_loops__ &gt; 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n const { fn, options = {}, name } = state.orderedModifiers[index];\n\n if (typeof fn === 'function') {\n state = fn({ state, options, name, instance }) || state;\n }\n }\n },\n\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\n () =&gt;\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\n instance.forceUpdate();\n resolve(state);\n })\n ),\n\n destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n },\n };\n\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return instance;\n }\n\n instance.setOptions(options).then((state) =&gt; {\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n });\n\n // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n function runModifierEffects() {\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\n if (typeof effect === 'function') {\n const cleanupFn = effect({ state, name, instance, options });\n const noopFn = () =&gt; {};\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach((fn) =&gt; fn());\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\n\nexport const createPopper = popperGenerator();\n\n// eslint-disable-next-line import/no-unused-modules\nexport { detectOverflow };\n"</span>,<span class="code-string">"// @flow\n\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\n let pending;\n return () =&gt; {\n if (!pending) {\n pending = new Promise&lt;T&gt;(resolve =&gt; {\n Promise.resolve().then(() =&gt; {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\n\nexport default function mergeByName(\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\n const merged = modifiers.reduce((merged, current) =&gt; {\n const existing = merged[current.name];\n merged[current.name] = existing\n ? {\n ...existing,\n ...current,\n options: { ...existing.options, ...current.options },\n data: { ...existing.data, ...current.data },\n }\n : current;\n return merged;\n }, {});\n\n // IE11 does not support Object.values\n return Object.keys(merged).map(key =&gt; merged[key]);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\n\n// Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\nexport default function getLayoutRect(element: HTMLElement): Rect {\n const clientRect = getBoundingClientRect(element);\n\n // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) &lt;= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) &lt;= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width,\n height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { State, SideObject, Padding } from '../types';\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\nimport getClippingRect from '../dom-utils/getClippingRect';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\nimport computeOffsets from './computeOffsets';\nimport rectToClientRect from './rectToClientRect';\nimport {\n clippingParents,\n reference,\n popper,\n bottom,\n top,\n right,\n basePlacements,\n viewport,\n} from '../enums';\nimport { isElement } from '../dom-utils/instanceOf';\nimport mergePaddingObject from './mergePaddingObject';\nimport expandToHashMap from './expandToHashMap';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n placement: Placement,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n elementContext: Context,\n altBoundary: boolean,\n padding: Padding,\n};\n\nexport default function detectOverflow(\n state: State,\n options: $Shape&lt;Options&gt; = {}\n): SideObject {\n const {\n placement = state.placement,\n boundary = clippingParents,\n rootBoundary = viewport,\n elementContext = popper,\n altBoundary = false,\n padding = 0,\n } = options;\n\n const paddingObject = mergePaddingObject(\n typeof padding !== 'number'\n ? padding\n : expandToHashMap(padding, basePlacements)\n );\n\n const altContext = elementContext === popper ? reference : popper;\n\n const popperRect = state.rects.popper;\n const element = state.elements[altBoundary ? altContext : elementContext];\n\n const clippingClientRect = getClippingRect(\n isElement(element)\n ? element\n : element.contextElement || getDocumentElement(state.elements.popper),\n boundary,\n rootBoundary\n );\n\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\n\n const popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement,\n });\n\n const popperClientRect = rectToClientRect({\n ...popperRect,\n ...popperOffsets,\n });\n\n const elementClientRect =\n elementContext === popper ? popperClientRect : referenceClientRect;\n\n // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n const overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom:\n elementClientRect.bottom -\n clippingClientRect.bottom +\n paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right:\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\n };\n\n const offsetData = state.modifiersData.offset;\n\n // Offsets can be applied only to the popper element\n if (elementContext === popper &amp;&amp; offsetData) {\n const offset = offsetData[placement];\n\n Object.keys(overflowOffsets).forEach((key) =&gt; {\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function expandToHashMap&lt;\n T: number | string | boolean,\n K: string\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\n return keys.reduce((hashMap, key) =&gt; {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\nimport getFreshSideObject from './getFreshSideObject';\n\nexport default function mergePaddingObject(\n paddingObject: $Shape&lt;SideObject&gt;\n): SideObject {\n return {\n ...getFreshSideObject(),\n ...paddingObject,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\n\nexport default function getFreshSideObject(): SideObject {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getBasePlacement from './getBasePlacement';\nimport getVariation from './getVariation';\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\nimport type {\n Rect,\n PositioningStrategy,\n Offsets,\n ClientRectObject,\n} from '../types';\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\n\nexport default function computeOffsets({\n reference,\n element,\n placement,\n}: {\n reference: Rect | ClientRectObject,\n element: Rect | ClientRectObject,\n strategy: PositioningStrategy,\n placement?: Placement,\n}): Offsets {\n const basePlacement = placement ? getBasePlacement(placement) : null;\n const variation = placement ? getVariation(placement) : null;\n const commonX = reference.x + reference.width / 2 - element.width / 2;\n const commonY = reference.y + reference.height / 2 - element.height / 2;\n\n let offsets;\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height,\n };\n break;\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height,\n };\n break;\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY,\n };\n break;\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY,\n };\n break;\n default:\n offsets = {\n x: reference.x,\n y: reference.y,\n };\n }\n\n const mainAxis = basePlacement\n ? getMainAxisFromPlacement(basePlacement)\n : null;\n\n if (mainAxis != null) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] =\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n case end:\n offsets[mainAxis] =\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n default:\n }\n }\n\n return offsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport { type BasePlacement, type Placement, auto } from '../enums';\n\nexport default function getBasePlacement(\n placement: Placement | typeof auto\n): BasePlacement {\n return (placement.split('-')[0]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport { type Variation, type Placement } from '../enums';\n\nexport default function getVariation(placement: Placement): ?Variation {\n return (placement.split('-')[1]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nexport default function getMainAxisFromPlacement(\n placement: Placement\n): 'x' | 'y' {\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\n}\n"</span>],<span class="code-attr">"names"</span>:[<span class="code-string">"getWindow"</span>,<span class="code-string">"node"</span>,<span class="code-string">"window"</span>,<span class="code-string">"toString"</span>,<span class="code-string">"ownerDocument"</span>,<span class="code-string">"defaultView"</span>,<span class="code-string">"isElement"</span>,<span class="code-string">"Element"</span>,<span class="code-string">"isHTMLElement"</span>,<span class="code-string">"HTMLElement"</span>,<span class="code-string">"isShadowRoot"</span>,<span class="code-string">"ShadowRoot"</span>,<span class="code-string">"max"</span>,<span class="code-string">"Math"</span>,<span class="code-string">"min"</span>,<span class="code-string">"round"</span>,<span class="code-string">"getBoundingClientRect"</span>,<span class="code-string">"element"</span>,<span class="code-string">"includeScale"</span>,<span class="code-string">"rect"</span>,<span class="code-string">"scaleX"</span>,<span class="code-string">"scaleY"</span>,<span class="code-string">"offsetHeight"</span>,<span class="code-string">"offsetWidth"</span>,<span class="code-string">"width"</span>,<span class="code-string">"height"</span>,<span class="code-string">"top"</span>,<span class="code-string">"right"</span>,<span class="code-string">"bottom"</span>,<span class="code-string">"left"</span>,<span class="code-string">"x"</span>,<span class="code-string">"y"</span>,<span class="code-string">"getWindowScroll"</span>,<span class="code-string">"win"</span>,<span class="code-string">"scrollLeft"</span>,<span class="code-string">"pageXOffset"</span>,<span class="code-string">"scrollTop"</span>,<span class="code-string">"pageYOffset"</span>,<span class="code-string">"getNodeName"</span>,<span class="code-string">"nodeName"</span>,<span class="code-string">"toLowerCase"</span>,<span class="code-string">"getDocumentElement"</span>,<span class="code-string">"document"</span>,<span class="code-string">"documentElement"</span>,<span class="code-string">"getWindowScrollBarX"</span>,<span class="code-string">"getComputedStyle"</span>,<span class="code-string">"isScrollParent"</span>,<span class="code-string">"overflow"</span>,<span class="code-string">"overflowX"</span>,<span class="code-string">"overflowY"</span>,<span class="code-string">"test"</span>,<span class="code-string">"getCompositeRect"</span>,<span class="code-string">"elementOrVirtualElement"</span>,<span class="code-string">"offsetParent"</span>,<span class="code-string">"isFixed"</span>,<span class="code-string">"isOffsetParentAnElement"</span>,<span class="code-string">"offsetParentIsScaled"</span>,<span class="code-string">"isElementScaled"</span>,<span class="code-string">"scroll"</span>,<span class="code-string">"offsets"</span>,<span class="code-string">"clientLeft"</span>,<span class="code-string">"clientTop"</span>,<span class="code-string">"getParentNode"</span>,<span class="code-string">"assignedSlot"</span>,<span class="code-string">"parentNode"</span>,<span class="code-string">"host"</span>,<span class="code-string">"getScrollParent"</span>,<span class="code-string">"indexOf"</span>,<span class="code-string">"body"</span>,<span class="code-string">"listScrollParents"</span>,<span class="code-string">"list"</span>,<span class="code-string">"scrollParent"</span>,<span class="code-string">"isBody"</span>,<span class="code-string">"_element$ownerDocumen"</span>,<span class="code-string">"target"</span>,<span class="code-string">"concat"</span>,<span class="code-string">"visualViewport"</span>,<span class="code-string">"updatedList"</span>,<span class="code-string">"isTableElement"</span>,<span class="code-string">"getTrueOffsetParent"</span>,<span class="code-string">"position"</span>,<span class="code-string">"getOffsetParent"</span>,<span class="code-string">"isFirefox"</span>,<span class="code-string">"navigator"</span>,<span class="code-string">"userAgent"</span>,<span class="code-string">"currentNode"</span>,<span class="code-string">"css"</span>,<span class="code-string">"transform"</span>,<span class="code-string">"perspective"</span>,<span class="code-string">"contain"</span>,<span class="code-string">"willChange"</span>,<span class="code-string">"filter"</span>,<span class="code-string">"getContainingBlock"</span>,<span class="code-string">"basePlacements"</span>,<span class="code-string">"viewport"</span>,<span class="code-string">"popper"</span>,<span class="code-string">"modifierPhases"</span>,<span class="code-string">"order"</span>,<span class="code-string">"modifiers"</span>,<span class="code-string">"map"</span>,<span class="code-string">"Map"</span>,<span class="code-string">"visited"</span>,<span class="code-string">"Set"</span>,<span class="code-string">"result"</span>,<span class="code-string">"sort"</span>,<span class="code-string">"modifier"</span>,<span class="code-string">"add"</span>,<span class="code-string">"name"</span>,<span class="code-string">"requires"</span>,<span class="code-string">"requiresIfExists"</span>,<span class="code-string">"forEach"</span>,<span class="code-string">"dep"</span>,<span class="code-string">"has"</span>,<span class="code-string">"depModifier"</span>,<span class="code-string">"get"</span>,<span class="code-string">"push"</span>,<span class="code-string">"set"</span>,<span class="code-string">"rectToClientRect"</span>,<span class="code-string">"getClientRectFromMixedType"</span>,<span class="code-string">"clippingParent"</span>,<span class="code-string">"html"</span>,<span class="code-string">"clientWidth"</span>,<span class="code-string">"clientHeight"</span>,<span class="code-string">"offsetLeft"</span>,<span class="code-string">"offsetTop"</span>,<span class="code-string">"getViewportRect"</span>,<span class="code-string">"getInnerBoundingClientRect"</span>,<span class="code-string">"winScroll"</span>,<span class="code-string">"scrollWidth"</span>,<span class="code-string">"scrollHeight"</span>,<span class="code-string">"direction"</span>,<span class="code-string">"getDocumentRect"</span>,<span class="code-string">"getClippingParents"</span>,<span class="code-string">"clippingParents"</span>,<span class="code-string">"clipperElement"</span>,<span class="code-string">"parent"</span>,<span class="code-string">"child"</span>,<span class="code-string">"rootNode"</span>,<span class="code-string">"getRootNode"</span>,<span class="code-string">"contains"</span>,<span class="code-string">"next"</span>,<span class="code-string">"isSameNode"</span>,<span class="code-string">"DEFAULT_OPTIONS"</span>,<span class="code-string">"placement"</span>,<span class="code-string">"strategy"</span>,<span class="code-string">"areValidElements"</span>,<span class="code-string">"args"</span>,<span class="code-string">"some"</span>,<span class="code-string">"popperGenerator"</span>,<span class="code-string">"generatorOptions"</span>,<span class="code-string">"defaultModifiers"</span>,<span class="code-string">"defaultOptions"</span>,<span class="code-string">"reference"</span>,<span class="code-string">"options"</span>,<span class="code-string">"fn"</span>,<span class="code-string">"pending"</span>,<span class="code-string">"state"</span>,<span class="code-string">"orderedModifiers"</span>,<span class="code-string">"modifiersData"</span>,<span class="code-string">"elements"</span>,<span class="code-string">"attributes"</span>,<span class="code-string">"styles"</span>,<span class="code-string">"effectCleanupFns"</span>,<span class="code-string">"isDestroyed"</span>,<span class="code-string">"instance"</span>,<span class="code-string">"setOptions"</span>,<span class="code-string">"setOptionsAction"</span>,<span class="code-string">"cleanupModifierEffects"</span>,<span class="code-string">"scrollParents"</span>,<span class="code-string">"contextElement"</span>,<span class="code-string">"merged"</span>,<span class="code-string">"reduce"</span>,<span class="code-string">"acc"</span>,<span class="code-string">"phase"</span>,<span class="code-string">"orderModifiers"</span>,<span class="code-string">"current"</span>,<span class="code-string">"existing"</span>,<span class="code-string">"data"</span>,<span class="code-string">"Object"</span>,<span class="code-string">"keys"</span>,<span class="code-string">"key"</span>,<span class="code-string">"m"</span>,<span class="code-string">"enabled"</span>,<span class="code-string">"effect"</span>,<span class="code-string">"cleanupFn"</span>,<span class="code-string">"noopFn"</span>,<span class="code-string">"update"</span>,<span class="code-string">"forceUpdate"</span>,<span class="code-string">"clientRect"</span>,<span class="code-string">"rects"</span>,<span class="code-string">"abs"</span>,<span class="code-string">"reset"</span>,<span class="code-string">"index"</span>,<span class="code-string">"length"</span>,<span class="code-string">"Promise"</span>,<span class="code-string">"resolve"</span>,<span class="code-string">"then"</span>,<span class="code-string">"undefined"</span>,<span class="code-string">"destroy"</span>,<span class="code-string">"onFirstUpdate"</span>,<span class="code-string">"createPopper"</span>,<span class="code-string">"value"</span>,<span class="code-string">"boundary"</span>,<span class="code-string">"rootBoundary"</span>,<span class="code-string">"elementContext"</span>,<span class="code-string">"altBoundary"</span>,<span class="code-string">"padding"</span>,<span class="code-string">"paddingObject"</span>,<span class="code-string">"mergePaddingObject"</span>,<span class="code-string">"hashMap"</span>,<span class="code-string">"altContext"</span>,<span class="code-string">"popperRect"</span>,<span class="code-string">"clippingClientRect"</span>,<span class="code-string">"mainClippingParents"</span>,<span class="code-string">"firstClippingParent"</span>,<span class="code-string">"clippingRect"</span>,<span class="code-string">"accRect"</span>,<span class="code-string">"getClippingRect"</span>,<span class="code-string">"referenceClientRect"</span>,<span class="code-string">"popperOffsets"</span>,<span class="code-string">"basePlacement"</span>,<span class="code-string">"split"</span>,<span class="code-string">"getBasePlacement"</span>,<span class="code-string">"variation"</span>,<span class="code-string">"getVariation"</span>,<span class="code-string">"commonX"</span>,<span class="code-string">"commonY"</span>,<span class="code-string">"mainAxis"</span>,<span class="code-string">"getMainAxisFromPlacement"</span>,<span class="code-string">"len"</span>,<span class="code-string">"computeOffsets"</span>,<span class="code-string">"popperClientRect"</span>,<span class="code-string">"elementClientRect"</span>,<span class="code-string">"overflowOffsets"</span>,<span class="code-string">"offsetData"</span>,<span class="code-string">"offset"</span>,<span class="code-string">"multiply"</span>,<span class="code-string">"axis"</span>],<span class="code-attr">"mappings"</span>:<span class="code-string">";;;;8OAIe,SAASA,EAAUC,MACpB,MAARA,SACKC,UAGe,oBAApBD,EAAKE,WAAkC,KACnCC,EAAgBH,EAAKG,qBACpBA,GAAgBA,EAAcC,aAAwBH,cAGxDD,ECTT,SAASK,EAAUL,UAEVA,aADYD,EAAUC,GAAMM,SACEN,aAAgBM,QAKvD,SAASC,EAAcP,UAEdA,aADYD,EAAUC,GAAMQ,aACER,aAAgBQ,YAKvD,SAASC,EAAaT,SAEM,oBAAfU,aAIJV,aADYD,EAAUC,GAAMU,YACEV,aAAgBU,YCxBhD,IAAMC,EAAMC,KAAKD,IACXE,EAAMD,KAAKC,IACXC,EAAQF,KAAKE,MCEX,SAASC,EACtBC,EACAC,YAAAA,IAAAA,GAAwB,OAElBC,EAAOF,EAAQD,wBACjBI,EAAS,EACTC,EAAS,KAETb,EAAcS,IAAYC,EAAc,KACpCI,EAAeL,EAAQK,aACvBC,EAAcN,EAAQM,YAIxBA,EAAc,IAChBH,EAASL,EAAMI,EAAKK,OAASD,GAAe,GAE1CD,EAAe,IACjBD,EAASN,EAAMI,EAAKM,QAAUH,GAAgB,SAI3C,CACLE,MAAOL,EAAKK,MAAQJ,EACpBK,OAAQN,EAAKM,OAASJ,EACtBK,IAAKP,EAAKO,IAAML,EAChBM,MAAOR,EAAKQ,MAAQP,EACpBQ,OAAQT,EAAKS,OAASP,EACtBQ,KAAMV,EAAKU,KAAOT,EAClBU,EAAGX,EAAKU,KAAOT,EACfW,EAAGZ,EAAKO,IAAML,GC/BH,SAASW,EAAgB/B,OAChCgC,EAAMjC,EAAUC,SAIf,CACLiC,WAJiBD,EAAIE,YAKrBC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,EAAkB,KACdE,EAAmB,MAAbF,EAAmB,SAAW,eAElCJ,OftDkB,QewDtBpK,EAAQwK,GACNxK,EAAQwK,IAAa3E,EAAU6E,GAAO,EAAIpN,EAAQoN,GAAO,afxDzC,Me2DlB1K,EAAQwK,GACNxK,EAAQwK,IAAa3E,EAAU6E,GAAO,EAAIpN,EAAQoN,GAAO,WAM1D1K,EJde2K,CAAe,CACnC9E,UAAWkE,EACXzM,QAASkM,EACTnE,SAAU,WACVD,UAAAA,IAGIwF,EAAmBlH,mBACpB8F,EACAQ,IAGCa,EACJ5B,IAAmB7G,EAASwI,EAAmBb,EAI3Ce,EAAkB,CACtB/M,IAAK0L,EAAmB1L,IAAM8M,EAAkB9M,IAAMqL,EAAcrL,IACpEE,OACE4M,EAAkB5M,OAClBwL,EAAmBxL,OACnBmL,EAAcnL,OAChBC,KAAMuL,EAAmBvL,KAAO2M,EAAkB3M,KAAOkL,EAAclL,KACvEF,MACE6M,EAAkB7M,MAAQyL,EAAmBzL,MAAQoL,EAAcpL,OAGjE+M,EAAa9E,EAAME,cAAc6E,UAGnC/B,IAAmB7G,GAAU2I,EAAY,KACrCC,EAASD,EAAW3F,GAE1BmC,OAAOC,KAAKsD,GAAiB3H,SAAQ,SAACsE,OAC9BwD,EAAW,CAACjN,EAAOC,GAAQuC,QAAQiH,IAAQ,EAAI,GAAK,EACpDyD,EAAO,CAACnN,EAAKE,GAAQuC,QAAQiH,IAAQ,EAAI,IAAM,IACrDqD,EAAgBrD,IAAQuD,EAAOE,GAAQD,YAIpCH"</span>}</code></td></tr><tr><td class="css-a4x74f">\</td><style data-emotion-css="jhhjkz">.css-jhhjkz{padding-left:10px;color:rgba(27,31,35,.3);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td class="css-jhhjkz">No newline at end of file</td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper-lite.js b/web/_static/popperjs/popper-lite.js
new file mode 100644
index 0000000..274743e
--- /dev/null
+++ b/web/_static/popperjs/popper-lite.js
@@ -0,0 +1,1490 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:31.692Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-lite.js","target":{"path":"/dist/umd/popper-lite.js","type":"file","details":{"contentType":"application/javascript","integrity":"sha384-9EtJO6f/bFNA+gAbji8gE31IGQyW/EO8Ap+WJ7I1gPS+Ie4QK9ckzPkyAzclZAsJ","language":"JavaScript","size":49614,"uri":null,"highlights":["<span class=\"code-comment\">/**\n</span>","<span class=\"code-comment\"> * @popperjs/core v2.11.5 - MIT License\n</span>","<span class=\"code-comment\"> */</span>\n","\n","(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">global, factory</span>) </span>{\n"," <span class=\"code-keyword\">typeof</span> exports === <span class=\"code-string\">'object'</span> &amp;&amp; <span class=\"code-keyword\">typeof</span> <span class=\"code-built_in\">module</span> !== <span class=\"code-string\">'undefined'</span> ? factory(exports) :\n"," <span class=\"code-keyword\">typeof</span> define === <span class=\"code-string\">'function'</span> &amp;&amp; define.amd ? define([<span class=\"code-string\">'exports'</span>], factory) :\n"," (global = <span class=\"code-keyword\">typeof</span> globalThis !== <span class=\"code-string\">'undefined'</span> ? globalThis : global || self, factory(global.Popper = {}));\n","}(<span class=\"code-keyword\">this</span>, (<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">exports</span>) </span>{ <span class=\"code-string\">'use strict'</span>;\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getWindow</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (node == <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (node.toString() !== <span class=\"code-string\">'[object Window]'</span>) {\n"," <span class=\"code-keyword\">var</span> ownerDocument = node.ownerDocument;\n"," <span class=\"code-keyword\">return</span> ownerDocument ? ownerDocument.defaultView || <span class=\"code-built_in\">window</span> : <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> node;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isElement</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">var</span> OwnElement = getWindow(node).Element;\n"," <span class=\"code-keyword\">return</span> node <span class=\"code-keyword\">instanceof</span> OwnElement || node <span class=\"code-keyword\">instanceof</span> Element;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isHTMLElement</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">var</span> OwnElement = getWindow(node).HTMLElement;\n"," <span class=\"code-keyword\">return</span> node <span class=\"code-keyword\">instanceof</span> OwnElement || node <span class=\"code-keyword\">instanceof</span> HTMLElement;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isShadowRoot</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-comment\">// IE 11 has no ShadowRoot</span>\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> ShadowRoot === <span class=\"code-string\">'undefined'</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> OwnElement = getWindow(node).ShadowRoot;\n"," <span class=\"code-keyword\">return</span> node <span class=\"code-keyword\">instanceof</span> OwnElement || node <span class=\"code-keyword\">instanceof</span> ShadowRoot;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> max = <span class=\"code-built_in\">Math</span>.max;\n"," <span class=\"code-keyword\">var</span> min = <span class=\"code-built_in\">Math</span>.min;\n"," <span class=\"code-keyword\">var</span> round = <span class=\"code-built_in\">Math</span>.round;\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getBoundingClientRect</span>(<span class=\"code-params\">element, includeScale</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (includeScale === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," includeScale = <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> rect = element.getBoundingClientRect();\n"," <span class=\"code-keyword\">var</span> scaleX = <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">var</span> scaleY = <span class=\"code-number\">1</span>;\n","\n"," <span class=\"code-keyword\">if</span> (isHTMLElement(element) &amp;&amp; includeScale) {\n"," <span class=\"code-keyword\">var</span> offsetHeight = element.offsetHeight;\n"," <span class=\"code-keyword\">var</span> offsetWidth = element.offsetWidth; <span class=\"code-comment\">// Do not attempt to divide by 0, otherwise we get `Infinity` as scale</span>\n"," <span class=\"code-comment\">// Fallback to 1 in case both values are `0`</span>\n","\n"," <span class=\"code-keyword\">if</span> (offsetWidth &gt; <span class=\"code-number\">0</span>) {\n"," scaleX = round(rect.width) / offsetWidth || <span class=\"code-number\">1</span>;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (offsetHeight &gt; <span class=\"code-number\">0</span>) {\n"," scaleY = round(rect.height) / offsetHeight || <span class=\"code-number\">1</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," width: rect.width / scaleX,\n"," height: rect.height / scaleY,\n"," top: rect.top / scaleY,\n"," right: rect.right / scaleX,\n"," bottom: rect.bottom / scaleY,\n"," left: rect.left / scaleX,\n"," x: rect.left / scaleX,\n"," y: rect.top / scaleY\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getWindowScroll</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">var</span> win = getWindow(node);\n"," <span class=\"code-keyword\">var</span> scrollLeft = win.pageXOffset;\n"," <span class=\"code-keyword\">var</span> scrollTop = win.pageYOffset;\n"," <span class=\"code-keyword\">return</span> {\n"," scrollLeft: scrollLeft,\n"," scrollTop: scrollTop\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getHTMLElementScroll</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> {\n"," scrollLeft: element.scrollLeft,\n"," scrollTop: element.scrollTop\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getNodeScroll</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (node === getWindow(node) || !isHTMLElement(node)) {\n"," <span class=\"code-keyword\">return</span> getWindowScroll(node);\n"," } <span class=\"code-keyword\">else</span> {\n"," <span class=\"code-keyword\">return</span> getHTMLElementScroll(node);\n"," }\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getNodeName</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> element ? (element.nodeName || <span class=\"code-string\">''</span>).toLowerCase() : <span class=\"code-literal\">null</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getDocumentElement</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-return]: assume body is always available</span>\n"," <span class=\"code-keyword\">return</span> ((isElement(element) ? element.ownerDocument : <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," element.document) || <span class=\"code-built_in\">window</span>.document).documentElement;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getWindowScrollBarX</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-comment\">// If &lt;html&gt; has a CSS width greater than the viewport, then this will be</span>\n"," <span class=\"code-comment\">// incorrect for RTL.</span>\n"," <span class=\"code-comment\">// Popper 1 is broken in this case and never had a bug report so let's assume</span>\n"," <span class=\"code-comment\">// it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;</span>\n"," <span class=\"code-comment\">// anyway.</span>\n"," <span class=\"code-comment\">// Browsers where the left scrollbar doesn't cause an issue report `0` for</span>\n"," <span class=\"code-comment\">// this (e.g. Edge 2019, IE11, Safari)</span>\n"," <span class=\"code-keyword\">return</span> getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getComputedStyle</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> getWindow(element).getComputedStyle(element);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isScrollParent</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-comment\">// Firefox wants us to check `-x` and `-y` variations as well</span>\n"," <span class=\"code-keyword\">var</span> _getComputedStyle = getComputedStyle(element),\n"," overflow = _getComputedStyle.overflow,\n"," overflowX = _getComputedStyle.overflowX,\n"," overflowY = _getComputedStyle.overflowY;\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-regexp\">/auto|scroll|overlay|hidden/</span>.test(overflow + overflowY + overflowX);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isElementScaled</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rect = element.getBoundingClientRect();\n"," <span class=\"code-keyword\">var</span> scaleX = round(rect.width) / element.offsetWidth || <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">var</span> scaleY = round(rect.height) / element.offsetHeight || <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">return</span> scaleX !== <span class=\"code-number\">1</span> || scaleY !== <span class=\"code-number\">1</span>;\n"," } <span class=\"code-comment\">// Returns the composite rect of an element relative to its offsetParent.</span>\n"," <span class=\"code-comment\">// Composite means it takes into account transforms as well as layout.</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getCompositeRect</span>(<span class=\"code-params\">elementOrVirtualElement, offsetParent, isFixed</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (isFixed === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," isFixed = <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> isOffsetParentAnElement = isHTMLElement(offsetParent);\n"," <span class=\"code-keyword\">var</span> offsetParentIsScaled = isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\n"," <span class=\"code-keyword\">var</span> documentElement = getDocumentElement(offsetParent);\n"," <span class=\"code-keyword\">var</span> rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);\n"," <span class=\"code-keyword\">var</span> scroll = {\n"," scrollLeft: <span class=\"code-number\">0</span>,\n"," scrollTop: <span class=\"code-number\">0</span>\n"," };\n"," <span class=\"code-keyword\">var</span> offsets = {\n"," x: <span class=\"code-number\">0</span>,\n"," y: <span class=\"code-number\">0</span>\n"," };\n","\n"," <span class=\"code-keyword\">if</span> (isOffsetParentAnElement || !isOffsetParentAnElement &amp;&amp; !isFixed) {\n"," <span class=\"code-keyword\">if</span> (getNodeName(offsetParent) !== <span class=\"code-string\">'body'</span> || <span class=\"code-comment\">// https://github.com/popperjs/popper-core/issues/1078</span>\n"," isScrollParent(documentElement)) {\n"," scroll = getNodeScroll(offsetParent);\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (isHTMLElement(offsetParent)) {\n"," offsets = getBoundingClientRect(offsetParent, <span class=\"code-literal\">true</span>);\n"," offsets.x += offsetParent.clientLeft;\n"," offsets.y += offsetParent.clientTop;\n"," } <span class=\"code-keyword\">else</span> <span class=\"code-keyword\">if</span> (documentElement) {\n"," offsets.x = getWindowScrollBarX(documentElement);\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," x: rect.left + scroll.scrollLeft - offsets.x,\n"," y: rect.top + scroll.scrollTop - offsets.y,\n"," width: rect.width,\n"," height: rect.height\n"," };\n"," }\n","\n"," <span class=\"code-comment\">// means it doesn't take into account transforms.</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getLayoutRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> clientRect = getBoundingClientRect(element); <span class=\"code-comment\">// Use the clientRect sizes if it's not been transformed.</span>\n"," <span class=\"code-comment\">// Fixes https://github.com/popperjs/popper-core/issues/1223</span>\n","\n"," <span class=\"code-keyword\">var</span> width = element.offsetWidth;\n"," <span class=\"code-keyword\">var</span> height = element.offsetHeight;\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-built_in\">Math</span>.abs(clientRect.width - width) &lt;= <span class=\"code-number\">1</span>) {\n"," width = clientRect.width;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-built_in\">Math</span>.abs(clientRect.height - height) &lt;= <span class=\"code-number\">1</span>) {\n"," height = clientRect.height;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," x: element.offsetLeft,\n"," y: element.offsetTop,\n"," width: width,\n"," height: height\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getParentNode</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (getNodeName(element) === <span class=\"code-string\">'html'</span>) {\n"," <span class=\"code-keyword\">return</span> element;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> (<span class=\"code-comment\">// this is a quicker (but less type safe) way to save quite some bytes from the bundle</span>\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-return]</span>\n"," <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," element.assignedSlot || <span class=\"code-comment\">// step into the shadow DOM of the parent of a slotted node</span>\n"," element.parentNode || ( <span class=\"code-comment\">// DOM Element detected</span>\n"," isShadowRoot(element) ? element.host : <span class=\"code-literal\">null</span>) || <span class=\"code-comment\">// ShadowRoot detected</span>\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-call]: HTMLElement is a Node</span>\n"," getDocumentElement(element) <span class=\"code-comment\">// fallback</span>\n","\n"," );\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getScrollParent</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">if</span> ([<span class=\"code-string\">'html'</span>, <span class=\"code-string\">'body'</span>, <span class=\"code-string\">'#document'</span>].indexOf(getNodeName(node)) &gt;= <span class=\"code-number\">0</span>) {\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-return]: assume body is always available</span>\n"," <span class=\"code-keyword\">return</span> node.ownerDocument.body;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\n"," <span class=\"code-keyword\">return</span> node;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> getScrollParent(getParentNode(node));\n"," }\n","\n"," <span class=\"code-comment\">/*\n</span>","<span class=\"code-comment\"> given a DOM element, return the list of all scroll parents, up the list of ancesors\n</span>","<span class=\"code-comment\"> until we get to the top window object. This list is what we attach scroll listeners\n</span>","<span class=\"code-comment\"> to, because if any of these parent elements scroll, we'll need to re-calculate the\n</span>","<span class=\"code-comment\"> reference element's position.\n</span>","<span class=\"code-comment\"> */</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">listScrollParents</span>(<span class=\"code-params\">element, list</span>) </span>{\n"," <span class=\"code-keyword\">var</span> _element$ownerDocumen;\n","\n"," <span class=\"code-keyword\">if</span> (list === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," list = [];\n"," }\n","\n"," <span class=\"code-keyword\">var</span> scrollParent = getScrollParent(element);\n"," <span class=\"code-keyword\">var</span> isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == <span class=\"code-literal\">null</span> ? <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> : _element$ownerDocumen.body);\n"," <span class=\"code-keyword\">var</span> win = getWindow(scrollParent);\n"," <span class=\"code-keyword\">var</span> target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n"," <span class=\"code-keyword\">var</span> updatedList = list.concat(target);\n"," <span class=\"code-keyword\">return</span> isBody ? updatedList : <span class=\"code-comment\">// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here</span>\n"," updatedList.concat(listScrollParents(getParentNode(target)));\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isTableElement</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> [<span class=\"code-string\">'table'</span>, <span class=\"code-string\">'td'</span>, <span class=\"code-string\">'th'</span>].indexOf(getNodeName(element)) &gt;= <span class=\"code-number\">0</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getTrueOffsetParent</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!isHTMLElement(element) || <span class=\"code-comment\">// https://github.com/popperjs/popper-core/issues/837</span>\n"," getComputedStyle(element).position === <span class=\"code-string\">'fixed'</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> element.offsetParent;\n"," } <span class=\"code-comment\">// `.offsetParent` reports `null` for fixed elements, while absolute elements</span>\n"," <span class=\"code-comment\">// return the containing block</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getContainingBlock</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> isFirefox = navigator.userAgent.toLowerCase().indexOf(<span class=\"code-string\">'firefox'</span>) !== <span class=\"code-number\">-1</span>;\n"," <span class=\"code-keyword\">var</span> isIE = navigator.userAgent.indexOf(<span class=\"code-string\">'Trident'</span>) !== <span class=\"code-number\">-1</span>;\n","\n"," <span class=\"code-keyword\">if</span> (isIE &amp;&amp; isHTMLElement(element)) {\n"," <span class=\"code-comment\">// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport</span>\n"," <span class=\"code-keyword\">var</span> elementCss = getComputedStyle(element);\n","\n"," <span class=\"code-keyword\">if</span> (elementCss.position === <span class=\"code-string\">'fixed'</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> currentNode = getParentNode(element);\n","\n"," <span class=\"code-keyword\">if</span> (isShadowRoot(currentNode)) {\n"," currentNode = currentNode.host;\n"," }\n","\n"," <span class=\"code-keyword\">while</span> (isHTMLElement(currentNode) &amp;&amp; [<span class=\"code-string\">'html'</span>, <span class=\"code-string\">'body'</span>].indexOf(getNodeName(currentNode)) &lt; <span class=\"code-number\">0</span>) {\n"," <span class=\"code-keyword\">var</span> css = getComputedStyle(currentNode); <span class=\"code-comment\">// This is non-exhaustive but covers the most common CSS properties that</span>\n"," <span class=\"code-comment\">// create a containing block.</span>\n"," <span class=\"code-comment\">// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block</span>\n","\n"," <span class=\"code-keyword\">if</span> (css.transform !== <span class=\"code-string\">'none'</span> || css.perspective !== <span class=\"code-string\">'none'</span> || css.contain === <span class=\"code-string\">'paint'</span> || [<span class=\"code-string\">'transform'</span>, <span class=\"code-string\">'perspective'</span>].indexOf(css.willChange) !== <span class=\"code-number\">-1</span> || isFirefox &amp;&amp; css.willChange === <span class=\"code-string\">'filter'</span> || isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== <span class=\"code-string\">'none'</span>) {\n"," <span class=\"code-keyword\">return</span> currentNode;\n"," } <span class=\"code-keyword\">else</span> {\n"," currentNode = currentNode.parentNode;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;\n"," } <span class=\"code-comment\">// Gets the closest ancestor positioned element. Handles some edge cases,</span>\n"," <span class=\"code-comment\">// such as table ancestors and cross browser bugs.</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getOffsetParent</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> <span class=\"code-built_in\">window</span> = getWindow(element);\n"," <span class=\"code-keyword\">var</span> offsetParent = getTrueOffsetParent(element);\n","\n"," <span class=\"code-keyword\">while</span> (offsetParent &amp;&amp; isTableElement(offsetParent) &amp;&amp; getComputedStyle(offsetParent).position === <span class=\"code-string\">'static'</span>) {\n"," offsetParent = getTrueOffsetParent(offsetParent);\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (offsetParent &amp;&amp; (getNodeName(offsetParent) === <span class=\"code-string\">'html'</span> || getNodeName(offsetParent) === <span class=\"code-string\">'body'</span> &amp;&amp; getComputedStyle(offsetParent).position === <span class=\"code-string\">'static'</span>)) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> offsetParent || getContainingBlock(element) || <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> top = <span class=\"code-string\">'top'</span>;\n"," <span class=\"code-keyword\">var</span> bottom = <span class=\"code-string\">'bottom'</span>;\n"," <span class=\"code-keyword\">var</span> right = <span class=\"code-string\">'right'</span>;\n"," <span class=\"code-keyword\">var</span> left = <span class=\"code-string\">'left'</span>;\n"," <span class=\"code-keyword\">var</span> auto = <span class=\"code-string\">'auto'</span>;\n"," <span class=\"code-keyword\">var</span> basePlacements = [top, bottom, right, left];\n"," <span class=\"code-keyword\">var</span> start = <span class=\"code-string\">'start'</span>;\n"," <span class=\"code-keyword\">var</span> end = <span class=\"code-string\">'end'</span>;\n"," <span class=\"code-keyword\">var</span> clippingParents = <span class=\"code-string\">'clippingParents'</span>;\n"," <span class=\"code-keyword\">var</span> viewport = <span class=\"code-string\">'viewport'</span>;\n"," <span class=\"code-keyword\">var</span> popper = <span class=\"code-string\">'popper'</span>;\n"," <span class=\"code-keyword\">var</span> reference = <span class=\"code-string\">'reference'</span>;\n","\n"," <span class=\"code-keyword\">var</span> beforeRead = <span class=\"code-string\">'beforeRead'</span>;\n"," <span class=\"code-keyword\">var</span> read = <span class=\"code-string\">'read'</span>;\n"," <span class=\"code-keyword\">var</span> afterRead = <span class=\"code-string\">'afterRead'</span>; <span class=\"code-comment\">// pure-logic modifiers</span>\n","\n"," <span class=\"code-keyword\">var</span> beforeMain = <span class=\"code-string\">'beforeMain'</span>;\n"," <span class=\"code-keyword\">var</span> main = <span class=\"code-string\">'main'</span>;\n"," <span class=\"code-keyword\">var</span> afterMain = <span class=\"code-string\">'afterMain'</span>; <span class=\"code-comment\">// modifier with the purpose to write to the DOM (or write into a framework state)</span>\n","\n"," <span class=\"code-keyword\">var</span> beforeWrite = <span class=\"code-string\">'beforeWrite'</span>;\n"," <span class=\"code-keyword\">var</span> write = <span class=\"code-string\">'write'</span>;\n"," <span class=\"code-keyword\">var</span> afterWrite = <span class=\"code-string\">'afterWrite'</span>;\n"," <span class=\"code-keyword\">var</span> modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">order</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," <span class=\"code-keyword\">var</span> map = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Map</span>();\n"," <span class=\"code-keyword\">var</span> visited = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Set</span>();\n"," <span class=\"code-keyword\">var</span> result = [];\n"," modifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," map.set(modifier.name, modifier);\n"," }); <span class=\"code-comment\">// On visiting object, check for its dependencies and visit them recursively</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">sort</span>(<span class=\"code-params\">modifier</span>) </span>{\n"," visited.add(modifier.name);\n"," <span class=\"code-keyword\">var</span> requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n"," requires.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">dep</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!visited.has(dep)) {\n"," <span class=\"code-keyword\">var</span> depModifier = map.get(dep);\n","\n"," <span class=\"code-keyword\">if</span> (depModifier) {\n"," sort(depModifier);\n"," }\n"," }\n"," });\n"," result.push(modifier);\n"," }\n","\n"," modifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!visited.has(modifier.name)) {\n"," <span class=\"code-comment\">// check for visited object</span>\n"," sort(modifier);\n"," }\n"," });\n"," <span class=\"code-keyword\">return</span> result;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">orderModifiers</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," <span class=\"code-comment\">// order based on dependencies</span>\n"," <span class=\"code-keyword\">var</span> orderedModifiers = order(modifiers); <span class=\"code-comment\">// order based on phase</span>\n","\n"," <span class=\"code-keyword\">return</span> modifierPhases.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">acc, phase</span>) </span>{\n"," <span class=\"code-keyword\">return</span> acc.concat(orderedModifiers.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," <span class=\"code-keyword\">return</span> modifier.phase === phase;\n"," }));\n"," }, []);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">debounce</span>(<span class=\"code-params\">fn</span>) </span>{\n"," <span class=\"code-keyword\">var</span> pending;\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!pending) {\n"," pending = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">resolve</span>) </span>{\n"," <span class=\"code-built_in\">Promise</span>.resolve().then(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," pending = <span class=\"code-literal\">undefined</span>;\n"," resolve(fn());\n"," });\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">return</span> pending;\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">format</span>(<span class=\"code-params\">str</span>) </span>{\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> _len = <span class=\"code-built_in\">arguments</span>.length, args = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Array</span>(_len &gt; <span class=\"code-number\">1</span> ? _len - <span class=\"code-number\">1</span> : <span class=\"code-number\">0</span>), _key = <span class=\"code-number\">1</span>; _key &lt; _len; _key++) {\n"," args[_key - <span class=\"code-number\">1</span>] = <span class=\"code-built_in\">arguments</span>[_key];\n"," }\n","\n"," <span class=\"code-keyword\">return</span> [].concat(args).reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">p, c</span>) </span>{\n"," <span class=\"code-keyword\">return</span> p.replace(<span class=\"code-regexp\">/%s/</span>, c);\n"," }, str);\n"," }\n","\n"," <span class=\"code-keyword\">var</span> INVALID_MODIFIER_ERROR = <span class=\"code-string\">'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s'</span>;\n"," <span class=\"code-keyword\">var</span> MISSING_DEPENDENCY_ERROR = <span class=\"code-string\">'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available'</span>;\n"," <span class=\"code-keyword\">var</span> VALID_PROPERTIES = [<span class=\"code-string\">'name'</span>, <span class=\"code-string\">'enabled'</span>, <span class=\"code-string\">'phase'</span>, <span class=\"code-string\">'fn'</span>, <span class=\"code-string\">'effect'</span>, <span class=\"code-string\">'requires'</span>, <span class=\"code-string\">'options'</span>];\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">validateModifiers</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," modifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," [].concat(<span class=\"code-built_in\">Object</span>.keys(modifier), VALID_PROPERTIES) <span class=\"code-comment\">// IE11-compatible replacement for `new Set(iterable)`</span>\n"," .filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">value, index, self</span>) </span>{\n"," <span class=\"code-keyword\">return</span> self.indexOf(value) === index;\n"," }).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">key</span>) </span>{\n"," <span class=\"code-keyword\">switch</span> (key) {\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'name'</span>:\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> modifier.name !== <span class=\"code-string\">'string'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, <span class=\"code-built_in\">String</span>(modifier.name), <span class=\"code-string\">'\"name\"'</span>, <span class=\"code-string\">'\"string\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.name) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'enabled'</span>:\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> modifier.enabled !== <span class=\"code-string\">'boolean'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"enabled\"'</span>, <span class=\"code-string\">'\"boolean\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.enabled) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'phase'</span>:\n"," <span class=\"code-keyword\">if</span> (modifierPhases.indexOf(modifier.phase) &lt; <span class=\"code-number\">0</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"phase\"'</span>, <span class=\"code-string\">\"either \"</span> + modifierPhases.join(<span class=\"code-string\">', '</span>), <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.phase) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'fn'</span>:\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> modifier.fn !== <span class=\"code-string\">'function'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"fn\"'</span>, <span class=\"code-string\">'\"function\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.fn) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'effect'</span>:\n"," <span class=\"code-keyword\">if</span> (modifier.effect != <span class=\"code-literal\">null</span> &amp;&amp; <span class=\"code-keyword\">typeof</span> modifier.effect !== <span class=\"code-string\">'function'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"effect\"'</span>, <span class=\"code-string\">'\"function\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.fn) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'requires'</span>:\n"," <span class=\"code-keyword\">if</span> (modifier.requires != <span class=\"code-literal\">null</span> &amp;&amp; !<span class=\"code-built_in\">Array</span>.isArray(modifier.requires)) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"requires\"'</span>, <span class=\"code-string\">'\"array\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.requires) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'requiresIfExists'</span>:\n"," <span class=\"code-keyword\">if</span> (!<span class=\"code-built_in\">Array</span>.isArray(modifier.requiresIfExists)) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"requiresIfExists\"'</span>, <span class=\"code-string\">'\"array\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.requiresIfExists) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'options'</span>:\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'data'</span>:\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">default</span>:\n"," <span class=\"code-built_in\">console</span>.error(<span class=\"code-string\">\"PopperJS: an invalid property has been provided to the \\\"\"</span> + modifier.name + <span class=\"code-string\">\"\\\" modifier, valid properties are \"</span> + VALID_PROPERTIES.map(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">s</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-string\">\"\\\"\"</span> + s + <span class=\"code-string\">\"\\\"\"</span>;\n"," }).join(<span class=\"code-string\">', '</span>) + <span class=\"code-string\">\"; but \\\"\"</span> + key + <span class=\"code-string\">\"\\\" was provided.\"</span>);\n"," }\n","\n"," modifier.requires &amp;&amp; modifier.requires.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">requirement</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (modifiers.find(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">mod</span>) </span>{\n"," <span class=\"code-keyword\">return</span> mod.name === requirement;\n"," }) == <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(MISSING_DEPENDENCY_ERROR, <span class=\"code-built_in\">String</span>(modifier.name), requirement, requirement));\n"," }\n"," });\n"," });\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">uniqueBy</span>(<span class=\"code-params\">arr, fn</span>) </span>{\n"," <span class=\"code-keyword\">var</span> identifiers = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Set</span>();\n"," <span class=\"code-keyword\">return</span> arr.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">item</span>) </span>{\n"," <span class=\"code-keyword\">var</span> identifier = fn(item);\n","\n"," <span class=\"code-keyword\">if</span> (!identifiers.has(identifier)) {\n"," identifiers.add(identifier);\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">true</span>;\n"," }\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getBasePlacement</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> placement.split(<span class=\"code-string\">'-'</span>)[<span class=\"code-number\">0</span>];\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">mergeByName</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," <span class=\"code-keyword\">var</span> merged = modifiers.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">merged, current</span>) </span>{\n"," <span class=\"code-keyword\">var</span> existing = merged[current.name];\n"," merged[current.name] = existing ? <span class=\"code-built_in\">Object</span>.assign({}, existing, current, {\n"," options: <span class=\"code-built_in\">Object</span>.assign({}, existing.options, current.options),\n"," data: <span class=\"code-built_in\">Object</span>.assign({}, existing.data, current.data)\n"," }) : current;\n"," <span class=\"code-keyword\">return</span> merged;\n"," }, {}); <span class=\"code-comment\">// IE11 does not support Object.values</span>\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.keys(merged).map(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">key</span>) </span>{\n"," <span class=\"code-keyword\">return</span> merged[key];\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getViewportRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> win = getWindow(element);\n"," <span class=\"code-keyword\">var</span> html = getDocumentElement(element);\n"," <span class=\"code-keyword\">var</span> visualViewport = win.visualViewport;\n"," <span class=\"code-keyword\">var</span> width = html.clientWidth;\n"," <span class=\"code-keyword\">var</span> height = html.clientHeight;\n"," <span class=\"code-keyword\">var</span> x = <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> y = <span class=\"code-number\">0</span>; <span class=\"code-comment\">// NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper</span>\n"," <span class=\"code-comment\">// can be obscured underneath it.</span>\n"," <span class=\"code-comment\">// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even</span>\n"," <span class=\"code-comment\">// if it isn't open, so if this isn't available, the popper will be detected</span>\n"," <span class=\"code-comment\">// to overflow the bottom of the screen too early.</span>\n","\n"," <span class=\"code-keyword\">if</span> (visualViewport) {\n"," width = visualViewport.width;\n"," height = visualViewport.height; <span class=\"code-comment\">// Uses Layout Viewport (like Chrome; Safari does not currently)</span>\n"," <span class=\"code-comment\">// In Chrome, it returns a value very close to 0 (+/-) but contains rounding</span>\n"," <span class=\"code-comment\">// errors due to floating point numbers, so we need to check precision.</span>\n"," <span class=\"code-comment\">// Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed</span>\n"," <span class=\"code-comment\">// Feature detection fails in mobile emulation mode in Chrome.</span>\n"," <span class=\"code-comment\">// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;</span>\n"," <span class=\"code-comment\">// 0.001</span>\n"," <span class=\"code-comment\">// Fallback here: \"Not Safari\" userAgent</span>\n","\n"," <span class=\"code-keyword\">if</span> (!<span class=\"code-regexp\">/^((?!chrome|android).)*safari/i</span>.test(navigator.userAgent)) {\n"," x = visualViewport.offsetLeft;\n"," y = visualViewport.offsetTop;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," width: width,\n"," height: height,\n"," x: x + getWindowScrollBarX(element),\n"," y: y\n"," };\n"," }\n","\n"," <span class=\"code-comment\">// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getDocumentRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> _element$ownerDocumen;\n","\n"," <span class=\"code-keyword\">var</span> html = getDocumentElement(element);\n"," <span class=\"code-keyword\">var</span> winScroll = getWindowScroll(element);\n"," <span class=\"code-keyword\">var</span> body = (_element$ownerDocumen = element.ownerDocument) == <span class=\"code-literal\">null</span> ? <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> : _element$ownerDocumen.body;\n"," <span class=\"code-keyword\">var</span> width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : <span class=\"code-number\">0</span>, body ? body.clientWidth : <span class=\"code-number\">0</span>);\n"," <span class=\"code-keyword\">var</span> height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : <span class=\"code-number\">0</span>, body ? body.clientHeight : <span class=\"code-number\">0</span>);\n"," <span class=\"code-keyword\">var</span> x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n"," <span class=\"code-keyword\">var</span> y = -winScroll.scrollTop;\n","\n"," <span class=\"code-keyword\">if</span> (getComputedStyle(body || html).direction === <span class=\"code-string\">'rtl'</span>) {\n"," x += max(html.clientWidth, body ? body.clientWidth : <span class=\"code-number\">0</span>) - width;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," width: width,\n"," height: height,\n"," x: x,\n"," y: y\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">contains</span>(<span class=\"code-params\">parent, child</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rootNode = child.getRootNode &amp;&amp; child.getRootNode(); <span class=\"code-comment\">// First, attempt with faster native method</span>\n","\n"," <span class=\"code-keyword\">if</span> (parent.contains(child)) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">true</span>;\n"," } <span class=\"code-comment\">// then fallback to custom implementation with Shadow DOM support</span>\n"," <span class=\"code-keyword\">else</span> <span class=\"code-keyword\">if</span> (rootNode &amp;&amp; isShadowRoot(rootNode)) {\n"," <span class=\"code-keyword\">var</span> next = child;\n","\n"," <span class=\"code-keyword\">do</span> {\n"," <span class=\"code-keyword\">if</span> (next &amp;&amp; parent.isSameNode(next)) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">true</span>;\n"," } <span class=\"code-comment\">// $FlowFixMe[prop-missing]: need a better way to handle this...</span>\n","\n","\n"," next = next.parentNode || next.host;\n"," } <span class=\"code-keyword\">while</span> (next);\n"," } <span class=\"code-comment\">// Give up, the result is false</span>\n","\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">rectToClientRect</span>(<span class=\"code-params\">rect</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, rect, {\n"," left: rect.x,\n"," top: rect.y,\n"," right: rect.x + rect.width,\n"," bottom: rect.y + rect.height\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getInnerBoundingClientRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rect = getBoundingClientRect(element);\n"," rect.top = rect.top + element.clientTop;\n"," rect.left = rect.left + element.clientLeft;\n"," rect.bottom = rect.top + element.clientHeight;\n"," rect.right = rect.left + element.clientWidth;\n"," rect.width = element.clientWidth;\n"," rect.height = element.clientHeight;\n"," rect.x = rect.left;\n"," rect.y = rect.top;\n"," <span class=\"code-keyword\">return</span> rect;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getClientRectFromMixedType</span>(<span class=\"code-params\">element, clippingParent</span>) </span>{\n"," <span class=\"code-keyword\">return</span> clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n"," } <span class=\"code-comment\">// A \"clipping parent\" is an overflowable container with the characteristic of</span>\n"," <span class=\"code-comment\">// clipping (or hiding) overflowing elements with a position different from</span>\n"," <span class=\"code-comment\">// `initial`</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getClippingParents</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> clippingParents = listScrollParents(getParentNode(element));\n"," <span class=\"code-keyword\">var</span> canEscapeClipping = [<span class=\"code-string\">'absolute'</span>, <span class=\"code-string\">'fixed'</span>].indexOf(getComputedStyle(element).position) &gt;= <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> clipperElement = canEscapeClipping &amp;&amp; isHTMLElement(element) ? getOffsetParent(element) : element;\n","\n"," <span class=\"code-keyword\">if</span> (!isElement(clipperElement)) {\n"," <span class=\"code-keyword\">return</span> [];\n"," } <span class=\"code-comment\">// $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414</span>\n","\n","\n"," <span class=\"code-keyword\">return</span> clippingParents.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">clippingParent</span>) </span>{\n"," <span class=\"code-keyword\">return</span> isElement(clippingParent) &amp;&amp; contains(clippingParent, clipperElement) &amp;&amp; getNodeName(clippingParent) !== <span class=\"code-string\">'body'</span>;\n"," });\n"," } <span class=\"code-comment\">// Gets the maximum area that the element is visible in due to any number of</span>\n"," <span class=\"code-comment\">// clipping parents</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getClippingRect</span>(<span class=\"code-params\">element, boundary, rootBoundary</span>) </span>{\n"," <span class=\"code-keyword\">var</span> mainClippingParents = boundary === <span class=\"code-string\">'clippingParents'</span> ? getClippingParents(element) : [].concat(boundary);\n"," <span class=\"code-keyword\">var</span> clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n"," <span class=\"code-keyword\">var</span> firstClippingParent = clippingParents[<span class=\"code-number\">0</span>];\n"," <span class=\"code-keyword\">var</span> clippingRect = clippingParents.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">accRect, clippingParent</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rect = getClientRectFromMixedType(element, clippingParent);\n"," accRect.top = max(rect.top, accRect.top);\n"," accRect.right = min(rect.right, accRect.right);\n"," accRect.bottom = min(rect.bottom, accRect.bottom);\n"," accRect.left = max(rect.left, accRect.left);\n"," <span class=\"code-keyword\">return</span> accRect;\n"," }, getClientRectFromMixedType(element, firstClippingParent));\n"," clippingRect.width = clippingRect.right - clippingRect.left;\n"," clippingRect.height = clippingRect.bottom - clippingRect.top;\n"," clippingRect.x = clippingRect.left;\n"," clippingRect.y = clippingRect.top;\n"," <span class=\"code-keyword\">return</span> clippingRect;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getVariation</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> placement.split(<span class=\"code-string\">'-'</span>)[<span class=\"code-number\">1</span>];\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getMainAxisFromPlacement</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> [<span class=\"code-string\">'top'</span>, <span class=\"code-string\">'bottom'</span>].indexOf(placement) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-string\">'x'</span> : <span class=\"code-string\">'y'</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">computeOffsets</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> reference = _ref.reference,\n"," element = _ref.element,\n"," placement = _ref.placement;\n"," <span class=\"code-keyword\">var</span> basePlacement = placement ? getBasePlacement(placement) : <span class=\"code-literal\">null</span>;\n"," <span class=\"code-keyword\">var</span> variation = placement ? getVariation(placement) : <span class=\"code-literal\">null</span>;\n"," <span class=\"code-keyword\">var</span> commonX = reference.x + reference.width / <span class=\"code-number\">2</span> - element.width / <span class=\"code-number\">2</span>;\n"," <span class=\"code-keyword\">var</span> commonY = reference.y + reference.height / <span class=\"code-number\">2</span> - element.height / <span class=\"code-number\">2</span>;\n"," <span class=\"code-keyword\">var</span> offsets;\n","\n"," <span class=\"code-keyword\">switch</span> (basePlacement) {\n"," <span class=\"code-keyword\">case</span> top:\n"," offsets = {\n"," x: commonX,\n"," y: reference.y - element.height\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> bottom:\n"," offsets = {\n"," x: commonX,\n"," y: reference.y + reference.height\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> right:\n"," offsets = {\n"," x: reference.x + reference.width,\n"," y: commonY\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> left:\n"," offsets = {\n"," x: reference.x - element.width,\n"," y: commonY\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">default</span>:\n"," offsets = {\n"," x: reference.x,\n"," y: reference.y\n"," };\n"," }\n","\n"," <span class=\"code-keyword\">var</span> mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : <span class=\"code-literal\">null</span>;\n","\n"," <span class=\"code-keyword\">if</span> (mainAxis != <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-keyword\">var</span> len = mainAxis === <span class=\"code-string\">'y'</span> ? <span class=\"code-string\">'height'</span> : <span class=\"code-string\">'width'</span>;\n","\n"," <span class=\"code-keyword\">switch</span> (variation) {\n"," <span class=\"code-keyword\">case</span> start:\n"," offsets[mainAxis] = offsets[mainAxis] - (reference[len] / <span class=\"code-number\">2</span> - element[len] / <span class=\"code-number\">2</span>);\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> end:\n"," offsets[mainAxis] = offsets[mainAxis] + (reference[len] / <span class=\"code-number\">2</span> - element[len] / <span class=\"code-number\">2</span>);\n"," <span class=\"code-keyword\">break</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> offsets;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getFreshSideObject</span>(<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">return</span> {\n"," top: <span class=\"code-number\">0</span>,\n"," right: <span class=\"code-number\">0</span>,\n"," bottom: <span class=\"code-number\">0</span>,\n"," left: <span class=\"code-number\">0</span>\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">mergePaddingObject</span>(<span class=\"code-params\">paddingObject</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, getFreshSideObject(), paddingObject);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">expandToHashMap</span>(<span class=\"code-params\">value, keys</span>) </span>{\n"," <span class=\"code-keyword\">return</span> keys.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">hashMap, key</span>) </span>{\n"," hashMap[key] = value;\n"," <span class=\"code-keyword\">return</span> hashMap;\n"," }, {});\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">detectOverflow</span>(<span class=\"code-params\">state, options</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," options = {};\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _options = options,\n"," _options$placement = _options.placement,\n"," placement = _options$placement === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? state.placement : _options$placement,\n"," _options$boundary = _options.boundary,\n"," boundary = _options$boundary === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? clippingParents : _options$boundary,\n"," _options$rootBoundary = _options.rootBoundary,\n"," rootBoundary = _options$rootBoundary === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? viewport : _options$rootBoundary,\n"," _options$elementConte = _options.elementContext,\n"," elementContext = _options$elementConte === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? popper : _options$elementConte,\n"," _options$altBoundary = _options.altBoundary,\n"," altBoundary = _options$altBoundary === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">false</span> : _options$altBoundary,\n"," _options$padding = _options.padding,\n"," padding = _options$padding === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-number\">0</span> : _options$padding;\n"," <span class=\"code-keyword\">var</span> paddingObject = mergePaddingObject(<span class=\"code-keyword\">typeof</span> padding !== <span class=\"code-string\">'number'</span> ? padding : expandToHashMap(padding, basePlacements));\n"," <span class=\"code-keyword\">var</span> altContext = elementContext === popper ? reference : popper;\n"," <span class=\"code-keyword\">var</span> popperRect = state.rects.popper;\n"," <span class=\"code-keyword\">var</span> element = state.elements[altBoundary ? altContext : elementContext];\n"," <span class=\"code-keyword\">var</span> clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);\n"," <span class=\"code-keyword\">var</span> referenceClientRect = getBoundingClientRect(state.elements.reference);\n"," <span class=\"code-keyword\">var</span> popperOffsets = computeOffsets({\n"," reference: referenceClientRect,\n"," element: popperRect,\n"," strategy: <span class=\"code-string\">'absolute'</span>,\n"," placement: placement\n"," });\n"," <span class=\"code-keyword\">var</span> popperClientRect = rectToClientRect(<span class=\"code-built_in\">Object</span>.assign({}, popperRect, popperOffsets));\n"," <span class=\"code-keyword\">var</span> elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; <span class=\"code-comment\">// positive = overflowing the clipping rect</span>\n"," <span class=\"code-comment\">// 0 or negative = within the clipping rect</span>\n","\n"," <span class=\"code-keyword\">var</span> overflowOffsets = {\n"," top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n"," bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n"," left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n"," right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n"," };\n"," <span class=\"code-keyword\">var</span> offsetData = state.modifiersData.offset; <span class=\"code-comment\">// Offsets can be applied only to the popper element</span>\n","\n"," <span class=\"code-keyword\">if</span> (elementContext === popper &amp;&amp; offsetData) {\n"," <span class=\"code-keyword\">var</span> offset = offsetData[placement];\n"," <span class=\"code-built_in\">Object</span>.keys(overflowOffsets).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">key</span>) </span>{\n"," <span class=\"code-keyword\">var</span> multiply = [right, bottom].indexOf(key) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-number\">1</span> : <span class=\"code-number\">-1</span>;\n"," <span class=\"code-keyword\">var</span> axis = [top, bottom].indexOf(key) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-string\">'y'</span> : <span class=\"code-string\">'x'</span>;\n"," overflowOffsets[key] += offset[axis] * multiply;\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">return</span> overflowOffsets;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> INVALID_ELEMENT_ERROR = <span class=\"code-string\">'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'</span>;\n"," <span class=\"code-keyword\">var</span> INFINITE_LOOP_ERROR = <span class=\"code-string\">'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.'</span>;\n"," <span class=\"code-keyword\">var</span> DEFAULT_OPTIONS = {\n"," placement: <span class=\"code-string\">'bottom'</span>,\n"," modifiers: [],\n"," strategy: <span class=\"code-string\">'absolute'</span>\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">areValidElements</span>(<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> _len = <span class=\"code-built_in\">arguments</span>.length, args = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Array</span>(_len), _key = <span class=\"code-number\">0</span>; _key &lt; _len; _key++) {\n"," args[_key] = <span class=\"code-built_in\">arguments</span>[_key];\n"," }\n","\n"," <span class=\"code-keyword\">return</span> !args.some(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> !(element &amp;&amp; <span class=\"code-keyword\">typeof</span> element.getBoundingClientRect === <span class=\"code-string\">'function'</span>);\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">popperGenerator</span>(<span class=\"code-params\">generatorOptions</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (generatorOptions === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," generatorOptions = {};\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _generatorOptions = generatorOptions,\n"," _generatorOptions$def = _generatorOptions.defaultModifiers,\n"," defaultModifiers = _generatorOptions$def === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? [] : _generatorOptions$def,\n"," _generatorOptions$def2 = _generatorOptions.defaultOptions,\n"," defaultOptions = _generatorOptions$def2 === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? DEFAULT_OPTIONS : _generatorOptions$def2;\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">createPopper</span>(<span class=\"code-params\">reference, popper, options</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," options = defaultOptions;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> state = {\n"," placement: <span class=\"code-string\">'bottom'</span>,\n"," orderedModifiers: [],\n"," options: <span class=\"code-built_in\">Object</span>.assign({}, DEFAULT_OPTIONS, defaultOptions),\n"," modifiersData: {},\n"," elements: {\n"," reference: reference,\n"," popper: popper\n"," },\n"," attributes: {},\n"," styles: {}\n"," };\n"," <span class=\"code-keyword\">var</span> effectCleanupFns = [];\n"," <span class=\"code-keyword\">var</span> isDestroyed = <span class=\"code-literal\">false</span>;\n"," <span class=\"code-keyword\">var</span> instance = {\n"," state: state,\n"," setOptions: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">setOptions</span>(<span class=\"code-params\">setOptionsAction</span>) </span>{\n"," <span class=\"code-keyword\">var</span> options = <span class=\"code-keyword\">typeof</span> setOptionsAction === <span class=\"code-string\">'function'</span> ? setOptionsAction(state.options) : setOptionsAction;\n"," cleanupModifierEffects();\n"," state.options = <span class=\"code-built_in\">Object</span>.assign({}, defaultOptions, state.options, options);\n"," state.scrollParents = {\n"," reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n"," popper: listScrollParents(popper)\n"," }; <span class=\"code-comment\">// Orders the modifiers based on their dependencies and `phase`</span>\n"," <span class=\"code-comment\">// properties</span>\n","\n"," <span class=\"code-keyword\">var</span> orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); <span class=\"code-comment\">// Strip out disabled modifiers</span>\n","\n"," state.orderedModifiers = orderedModifiers.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">m</span>) </span>{\n"," <span class=\"code-keyword\">return</span> m.enabled;\n"," }); <span class=\"code-comment\">// Validate the provided modifiers so that the consumer will get warned</span>\n"," <span class=\"code-comment\">// if one of the modifiers is invalid for any reason</span>\n","\n"," {\n"," <span class=\"code-keyword\">var</span> modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> name = _ref.name;\n"," <span class=\"code-keyword\">return</span> name;\n"," });\n"," validateModifiers(modifiers);\n","\n"," <span class=\"code-keyword\">if</span> (getBasePlacement(state.options.placement) === auto) {\n"," <span class=\"code-keyword\">var</span> flipModifier = state.orderedModifiers.find(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">_ref2</span>) </span>{\n"," <span class=\"code-keyword\">var</span> name = _ref2.name;\n"," <span class=\"code-keyword\">return</span> name === <span class=\"code-string\">'flip'</span>;\n"," });\n","\n"," <span class=\"code-keyword\">if</span> (!flipModifier) {\n"," <span class=\"code-built_in\">console</span>.error([<span class=\"code-string\">'Popper: \"auto\" placements require the \"flip\" modifier be'</span>, <span class=\"code-string\">'present and enabled to work.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _getComputedStyle = getComputedStyle(popper),\n"," marginTop = _getComputedStyle.marginTop,\n"," marginRight = _getComputedStyle.marginRight,\n"," marginBottom = _getComputedStyle.marginBottom,\n"," marginLeft = _getComputedStyle.marginLeft; <span class=\"code-comment\">// We no longer take into account `margins` on the popper, and it can</span>\n"," <span class=\"code-comment\">// cause bugs with positioning, so we'll warn the consumer</span>\n","\n","\n"," <span class=\"code-keyword\">if</span> ([marginTop, marginRight, marginBottom, marginLeft].some(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">margin</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">parseFloat</span>(margin);\n"," })) {\n"," <span class=\"code-built_in\">console</span>.warn([<span class=\"code-string\">'Popper: CSS \"margin\" styles cannot be used to apply padding'</span>, <span class=\"code-string\">'between the popper and its reference element or boundary.'</span>, <span class=\"code-string\">'To replicate margin, use the `offset` modifier, as well as'</span>, <span class=\"code-string\">'the `padding` option in the `preventOverflow` and `flip`'</span>, <span class=\"code-string\">'modifiers.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," }\n","\n"," runModifierEffects();\n"," <span class=\"code-keyword\">return</span> instance.update();\n"," },\n"," <span class=\"code-comment\">// Sync update \u2013 it will always be executed, even if not necessary. This</span>\n"," <span class=\"code-comment\">// is useful for low frequency updates where sync behavior simplifies the</span>\n"," <span class=\"code-comment\">// logic.</span>\n"," <span class=\"code-comment\">// For high frequency updates (e.g. `resize` and `scroll` events), always</span>\n"," <span class=\"code-comment\">// prefer the async Popper#update method</span>\n"," forceUpdate: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">forceUpdate</span>(<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">if</span> (isDestroyed) {\n"," <span class=\"code-keyword\">return</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _state$elements = state.elements,\n"," reference = _state$elements.reference,\n"," popper = _state$elements.popper; <span class=\"code-comment\">// Don't proceed if `reference` or `popper` are not valid elements</span>\n"," <span class=\"code-comment\">// anymore</span>\n","\n"," <span class=\"code-keyword\">if</span> (!areValidElements(reference, popper)) {\n"," {\n"," <span class=\"code-built_in\">console</span>.error(INVALID_ELEMENT_ERROR);\n"," }\n","\n"," <span class=\"code-keyword\">return</span>;\n"," } <span class=\"code-comment\">// Store the reference and popper rects to be read by modifiers</span>\n","\n","\n"," state.rects = {\n"," reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === <span class=\"code-string\">'fixed'</span>),\n"," popper: getLayoutRect(popper)\n"," }; <span class=\"code-comment\">// Modifiers have the ability to reset the current update cycle. The</span>\n"," <span class=\"code-comment\">// most common use case for this is the `flip` modifier changing the</span>\n"," <span class=\"code-comment\">// placement, which then needs to re-run all the modifiers, because the</span>\n"," <span class=\"code-comment\">// logic was previously ran for the previous placement and is therefore</span>\n"," <span class=\"code-comment\">// stale/incorrect</span>\n","\n"," state.reset = <span class=\"code-literal\">false</span>;\n"," state.placement = state.options.placement; <span class=\"code-comment\">// On each update cycle, the `modifiersData` property for each modifier</span>\n"," <span class=\"code-comment\">// is filled with the initial data specified by the modifier. This means</span>\n"," <span class=\"code-comment\">// it doesn't persist and is fresh on each update.</span>\n"," <span class=\"code-comment\">// To ensure persistent data, use `${name}#persistent`</span>\n","\n"," state.orderedModifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," <span class=\"code-keyword\">return</span> state.modifiersData[modifier.name] = <span class=\"code-built_in\">Object</span>.assign({}, modifier.data);\n"," });\n"," <span class=\"code-keyword\">var</span> __debug_loops__ = <span class=\"code-number\">0</span>;\n","\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> index = <span class=\"code-number\">0</span>; index &lt; state.orderedModifiers.length; index++) {\n"," {\n"," __debug_loops__ += <span class=\"code-number\">1</span>;\n","\n"," <span class=\"code-keyword\">if</span> (__debug_loops__ &gt; <span class=\"code-number\">100</span>) {\n"," <span class=\"code-built_in\">console</span>.error(INFINITE_LOOP_ERROR);\n"," <span class=\"code-keyword\">break</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (state.reset === <span class=\"code-literal\">true</span>) {\n"," state.reset = <span class=\"code-literal\">false</span>;\n"," index = <span class=\"code-number\">-1</span>;\n"," <span class=\"code-keyword\">continue</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _state$orderedModifie = state.orderedModifiers[index],\n"," fn = _state$orderedModifie.fn,\n"," _state$orderedModifie2 = _state$orderedModifie.options,\n"," _options = _state$orderedModifie2 === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? {} : _state$orderedModifie2,\n"," name = _state$orderedModifie.name;\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> fn === <span class=\"code-string\">'function'</span>) {\n"," state = fn({\n"," state: state,\n"," options: _options,\n"," name: name,\n"," instance: instance\n"," }) || state;\n"," }\n"," }\n"," },\n"," <span class=\"code-comment\">// Async and optimistically optimized update \u2013 it will not be executed if</span>\n"," <span class=\"code-comment\">// not necessary (debounced to run at most once-per-tick)</span>\n"," update: debounce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">resolve</span>) </span>{\n"," instance.forceUpdate();\n"," resolve(state);\n"," });\n"," }),\n"," destroy: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">destroy</span>(<span class=\"code-params\"></span>) </span>{\n"," cleanupModifierEffects();\n"," isDestroyed = <span class=\"code-literal\">true</span>;\n"," }\n"," };\n","\n"," <span class=\"code-keyword\">if</span> (!areValidElements(reference, popper)) {\n"," {\n"," <span class=\"code-built_in\">console</span>.error(INVALID_ELEMENT_ERROR);\n"," }\n","\n"," <span class=\"code-keyword\">return</span> instance;\n"," }\n","\n"," instance.setOptions(options).then(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">state</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!isDestroyed &amp;&amp; options.onFirstUpdate) {\n"," options.onFirstUpdate(state);\n"," }\n"," }); <span class=\"code-comment\">// Modifiers have the ability to execute arbitrary code before the first</span>\n"," <span class=\"code-comment\">// update cycle runs. They will be executed in the same order as the update</span>\n"," <span class=\"code-comment\">// cycle. This is useful when a modifier adds some persistent data that</span>\n"," <span class=\"code-comment\">// other modifiers need to use, but the modifier is run after the dependent</span>\n"," <span class=\"code-comment\">// one.</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">runModifierEffects</span>(<span class=\"code-params\"></span>) </span>{\n"," state.orderedModifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">_ref3</span>) </span>{\n"," <span class=\"code-keyword\">var</span> name = _ref3.name,\n"," _ref3$options = _ref3.options,\n"," options = _ref3$options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? {} : _ref3$options,\n"," effect = _ref3.effect;\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> effect === <span class=\"code-string\">'function'</span>) {\n"," <span class=\"code-keyword\">var</span> cleanupFn = effect({\n"," state: state,\n"," name: name,\n"," instance: instance,\n"," options: options\n"," });\n","\n"," <span class=\"code-keyword\">var</span> noopFn = <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">noopFn</span>(<span class=\"code-params\"></span>) </span>{};\n","\n"," effectCleanupFns.push(cleanupFn || noopFn);\n"," }\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">cleanupModifierEffects</span>(<span class=\"code-params\"></span>) </span>{\n"," effectCleanupFns.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">fn</span>) </span>{\n"," <span class=\"code-keyword\">return</span> fn();\n"," });\n"," effectCleanupFns = [];\n"," }\n","\n"," <span class=\"code-keyword\">return</span> instance;\n"," };\n"," }\n","\n"," <span class=\"code-keyword\">var</span> passive = {\n"," passive: <span class=\"code-literal\">true</span>\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">effect$1</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref.state,\n"," instance = _ref.instance,\n"," options = _ref.options;\n"," <span class=\"code-keyword\">var</span> _options$scroll = options.scroll,\n"," scroll = _options$scroll === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$scroll,\n"," _options$resize = options.resize,\n"," resize = _options$resize === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$resize;\n"," <span class=\"code-keyword\">var</span> <span class=\"code-built_in\">window</span> = getWindow(state.elements.popper);\n"," <span class=\"code-keyword\">var</span> scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n","\n"," <span class=\"code-keyword\">if</span> (scroll) {\n"," scrollParents.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">scrollParent</span>) </span>{\n"," scrollParent.addEventListener(<span class=\"code-string\">'scroll'</span>, instance.update, passive);\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (resize) {\n"," <span class=\"code-built_in\">window</span>.addEventListener(<span class=\"code-string\">'resize'</span>, instance.update, passive);\n"," }\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">if</span> (scroll) {\n"," scrollParents.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">scrollParent</span>) </span>{\n"," scrollParent.removeEventListener(<span class=\"code-string\">'scroll'</span>, instance.update, passive);\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (resize) {\n"," <span class=\"code-built_in\">window</span>.removeEventListener(<span class=\"code-string\">'resize'</span>, instance.update, passive);\n"," }\n"," };\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> eventListeners = {\n"," name: <span class=\"code-string\">'eventListeners'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'write'</span>,\n"," fn: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">fn</span>(<span class=\"code-params\"></span>) </span>{},\n"," effect: effect$<span class=\"code-number\">1</span>,\n"," data: {}\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">popperOffsets</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref.state,\n"," name = _ref.name;\n"," <span class=\"code-comment\">// Offsets are the actual position the popper needs to have to be</span>\n"," <span class=\"code-comment\">// properly positioned near its reference element</span>\n"," <span class=\"code-comment\">// This is the most basic placement, and will be adjusted by</span>\n"," <span class=\"code-comment\">// the modifiers in the next step</span>\n"," state.modifiersData[name] = computeOffsets({\n"," reference: state.rects.reference,\n"," element: state.rects.popper,\n"," strategy: <span class=\"code-string\">'absolute'</span>,\n"," placement: state.placement\n"," });\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> popperOffsets$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'popperOffsets'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'read'</span>,\n"," fn: popperOffsets,\n"," data: {}\n"," };\n","\n"," <span class=\"code-keyword\">var</span> unsetSides = {\n"," top: <span class=\"code-string\">'auto'</span>,\n"," right: <span class=\"code-string\">'auto'</span>,\n"," bottom: <span class=\"code-string\">'auto'</span>,\n"," left: <span class=\"code-string\">'auto'</span>\n"," }; <span class=\"code-comment\">// Round the offsets to the nearest suitable subpixel based on the DPR.</span>\n"," <span class=\"code-comment\">// Zooming can change the DPR, but it seems to report a value that will</span>\n"," <span class=\"code-comment\">// cleanly divide the values into the appropriate subpixels.</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">roundOffsetsByDPR</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> x = _ref.x,\n"," y = _ref.y;\n"," <span class=\"code-keyword\">var</span> win = <span class=\"code-built_in\">window</span>;\n"," <span class=\"code-keyword\">var</span> dpr = win.devicePixelRatio || <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">return</span> {\n"," x: round(x * dpr) / dpr || <span class=\"code-number\">0</span>,\n"," y: round(y * dpr) / dpr || <span class=\"code-number\">0</span>\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">mapToStyles</span>(<span class=\"code-params\">_ref2</span>) </span>{\n"," <span class=\"code-keyword\">var</span> _Object$assign2;\n","\n"," <span class=\"code-keyword\">var</span> popper = _ref2.popper,\n"," popperRect = _ref2.popperRect,\n"," placement = _ref2.placement,\n"," variation = _ref2.variation,\n"," offsets = _ref2.offsets,\n"," position = _ref2.position,\n"," gpuAcceleration = _ref2.gpuAcceleration,\n"," adaptive = _ref2.adaptive,\n"," roundOffsets = _ref2.roundOffsets,\n"," isFixed = _ref2.isFixed;\n"," <span class=\"code-keyword\">var</span> _offsets$x = offsets.x,\n"," x = _offsets$x === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-number\">0</span> : _offsets$x,\n"," _offsets$y = offsets.y,\n"," y = _offsets$y === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-number\">0</span> : _offsets$y;\n","\n"," <span class=\"code-keyword\">var</span> _ref3 = <span class=\"code-keyword\">typeof</span> roundOffsets === <span class=\"code-string\">'function'</span> ? roundOffsets({\n"," x: x,\n"," y: y\n"," }) : {\n"," x: x,\n"," y: y\n"," };\n","\n"," x = _ref3.x;\n"," y = _ref3.y;\n"," <span class=\"code-keyword\">var</span> hasX = offsets.hasOwnProperty(<span class=\"code-string\">'x'</span>);\n"," <span class=\"code-keyword\">var</span> hasY = offsets.hasOwnProperty(<span class=\"code-string\">'y'</span>);\n"," <span class=\"code-keyword\">var</span> sideX = left;\n"," <span class=\"code-keyword\">var</span> sideY = top;\n"," <span class=\"code-keyword\">var</span> win = <span class=\"code-built_in\">window</span>;\n","\n"," <span class=\"code-keyword\">if</span> (adaptive) {\n"," <span class=\"code-keyword\">var</span> offsetParent = getOffsetParent(popper);\n"," <span class=\"code-keyword\">var</span> heightProp = <span class=\"code-string\">'clientHeight'</span>;\n"," <span class=\"code-keyword\">var</span> widthProp = <span class=\"code-string\">'clientWidth'</span>;\n","\n"," <span class=\"code-keyword\">if</span> (offsetParent === getWindow(popper)) {\n"," offsetParent = getDocumentElement(popper);\n","\n"," <span class=\"code-keyword\">if</span> (getComputedStyle(offsetParent).position !== <span class=\"code-string\">'static'</span> &amp;&amp; position === <span class=\"code-string\">'absolute'</span>) {\n"," heightProp = <span class=\"code-string\">'scrollHeight'</span>;\n"," widthProp = <span class=\"code-string\">'scrollWidth'</span>;\n"," }\n"," } <span class=\"code-comment\">// $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it</span>\n","\n","\n"," offsetParent = offsetParent;\n","\n"," <span class=\"code-keyword\">if</span> (placement === top || (placement === left || placement === right) &amp;&amp; variation === end) {\n"," sideY = bottom;\n"," <span class=\"code-keyword\">var</span> offsetY = isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport ? win.visualViewport.height : <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," offsetParent[heightProp];\n"," y -= offsetY - popperRect.height;\n"," y *= gpuAcceleration ? <span class=\"code-number\">1</span> : <span class=\"code-number\">-1</span>;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (placement === left || (placement === top || placement === bottom) &amp;&amp; variation === end) {\n"," sideX = right;\n"," <span class=\"code-keyword\">var</span> offsetX = isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport ? win.visualViewport.width : <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," offsetParent[widthProp];\n"," x -= offsetX - popperRect.width;\n"," x *= gpuAcceleration ? <span class=\"code-number\">1</span> : <span class=\"code-number\">-1</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> commonStyles = <span class=\"code-built_in\">Object</span>.assign({\n"," position: position\n"," }, adaptive &amp;&amp; unsetSides);\n","\n"," <span class=\"code-keyword\">var</span> _ref4 = roundOffsets === <span class=\"code-literal\">true</span> ? roundOffsetsByDPR({\n"," x: x,\n"," y: y\n"," }) : {\n"," x: x,\n"," y: y\n"," };\n","\n"," x = _ref4.x;\n"," y = _ref4.y;\n","\n"," <span class=\"code-keyword\">if</span> (gpuAcceleration) {\n"," <span class=\"code-keyword\">var</span> _Object$assign;\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? <span class=\"code-string\">'0'</span> : <span class=\"code-string\">''</span>, _Object$assign[sideX] = hasX ? <span class=\"code-string\">'0'</span> : <span class=\"code-string\">''</span>, _Object$assign.transform = (win.devicePixelRatio || <span class=\"code-number\">1</span>) &lt;= <span class=\"code-number\">1</span> ? <span class=\"code-string\">\"translate(\"</span> + x + <span class=\"code-string\">\"px, \"</span> + y + <span class=\"code-string\">\"px)\"</span> : <span class=\"code-string\">\"translate3d(\"</span> + x + <span class=\"code-string\">\"px, \"</span> + y + <span class=\"code-string\">\"px, 0)\"</span>, _Object$assign));\n"," }\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + <span class=\"code-string\">\"px\"</span> : <span class=\"code-string\">''</span>, _Object$assign2[sideX] = hasX ? x + <span class=\"code-string\">\"px\"</span> : <span class=\"code-string\">''</span>, _Object$assign2.transform = <span class=\"code-string\">''</span>, _Object$assign2));\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">computeStyles</span>(<span class=\"code-params\">_ref5</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref5.state,\n"," options = _ref5.options;\n"," <span class=\"code-keyword\">var</span> _options$gpuAccelerat = options.gpuAcceleration,\n"," gpuAcceleration = _options$gpuAccelerat === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$gpuAccelerat,\n"," _options$adaptive = options.adaptive,\n"," adaptive = _options$adaptive === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$adaptive,\n"," _options$roundOffsets = options.roundOffsets,\n"," roundOffsets = _options$roundOffsets === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$roundOffsets;\n","\n"," {\n"," <span class=\"code-keyword\">var</span> transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || <span class=\"code-string\">''</span>;\n","\n"," <span class=\"code-keyword\">if</span> (adaptive &amp;&amp; [<span class=\"code-string\">'transform'</span>, <span class=\"code-string\">'top'</span>, <span class=\"code-string\">'right'</span>, <span class=\"code-string\">'bottom'</span>, <span class=\"code-string\">'left'</span>].some(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">property</span>) </span>{\n"," <span class=\"code-keyword\">return</span> transitionProperty.indexOf(property) &gt;= <span class=\"code-number\">0</span>;\n"," })) {\n"," <span class=\"code-built_in\">console</span>.warn([<span class=\"code-string\">'Popper: Detected CSS transitions on at least one of the following'</span>, <span class=\"code-string\">'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".'</span>, <span class=\"code-string\">'\\n\\n'</span>, <span class=\"code-string\">'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow'</span>, <span class=\"code-string\">'for smooth transitions, or remove these properties from the CSS'</span>, <span class=\"code-string\">'transition declaration on the popper element if only transitioning'</span>, <span class=\"code-string\">'opacity or background-color for example.'</span>, <span class=\"code-string\">'\\n\\n'</span>, <span class=\"code-string\">'We recommend using the popper element as a wrapper around an inner'</span>, <span class=\"code-string\">'element that can have any CSS property transitioned for animations.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> commonStyles = {\n"," placement: getBasePlacement(state.placement),\n"," variation: getVariation(state.placement),\n"," popper: state.elements.popper,\n"," popperRect: state.rects.popper,\n"," gpuAcceleration: gpuAcceleration,\n"," isFixed: state.options.strategy === <span class=\"code-string\">'fixed'</span>\n"," };\n","\n"," <span class=\"code-keyword\">if</span> (state.modifiersData.popperOffsets != <span class=\"code-literal\">null</span>) {\n"," state.styles.popper = <span class=\"code-built_in\">Object</span>.assign({}, state.styles.popper, mapToStyles(<span class=\"code-built_in\">Object</span>.assign({}, commonStyles, {\n"," offsets: state.modifiersData.popperOffsets,\n"," position: state.options.strategy,\n"," adaptive: adaptive,\n"," roundOffsets: roundOffsets\n"," })));\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (state.modifiersData.arrow != <span class=\"code-literal\">null</span>) {\n"," state.styles.arrow = <span class=\"code-built_in\">Object</span>.assign({}, state.styles.arrow, mapToStyles(<span class=\"code-built_in\">Object</span>.assign({}, commonStyles, {\n"," offsets: state.modifiersData.arrow,\n"," position: <span class=\"code-string\">'absolute'</span>,\n"," adaptive: <span class=\"code-literal\">false</span>,\n"," roundOffsets: roundOffsets\n"," })));\n"," }\n","\n"," state.attributes.popper = <span class=\"code-built_in\">Object</span>.assign({}, state.attributes.popper, {\n"," <span class=\"code-string\">'data-popper-placement'</span>: state.placement\n"," });\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> computeStyles$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'computeStyles'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'beforeWrite'</span>,\n"," fn: computeStyles,\n"," data: {}\n"," };\n","\n"," <span class=\"code-comment\">// and applies them to the HTMLElements such as popper and arrow</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">applyStyles</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref.state;\n"," <span class=\"code-built_in\">Object</span>.keys(state.elements).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">name</span>) </span>{\n"," <span class=\"code-keyword\">var</span> style = state.styles[name] || {};\n"," <span class=\"code-keyword\">var</span> attributes = state.attributes[name] || {};\n"," <span class=\"code-keyword\">var</span> element = state.elements[name]; <span class=\"code-comment\">// arrow is optional + virtual elements</span>\n","\n"," <span class=\"code-keyword\">if</span> (!isHTMLElement(element) || !getNodeName(element)) {\n"," <span class=\"code-keyword\">return</span>;\n"," } <span class=\"code-comment\">// Flow doesn't support to extend this property, but it's the most</span>\n"," <span class=\"code-comment\">// effective way to apply styles to an HTMLElement</span>\n"," <span class=\"code-comment\">// $FlowFixMe[cannot-write]</span>\n","\n","\n"," <span class=\"code-built_in\">Object</span>.assign(element.style, style);\n"," <span class=\"code-built_in\">Object</span>.keys(attributes).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">name</span>) </span>{\n"," <span class=\"code-keyword\">var</span> value = attributes[name];\n","\n"," <span class=\"code-keyword\">if</span> (value === <span class=\"code-literal\">false</span>) {\n"," element.removeAttribute(name);\n"," } <span class=\"code-keyword\">else</span> {\n"," element.setAttribute(name, value === <span class=\"code-literal\">true</span> ? <span class=\"code-string\">''</span> : value);\n"," }\n"," });\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">effect</span>(<span class=\"code-params\">_ref2</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref2.state;\n"," <span class=\"code-keyword\">var</span> initialStyles = {\n"," popper: {\n"," position: state.options.strategy,\n"," left: <span class=\"code-string\">'0'</span>,\n"," top: <span class=\"code-string\">'0'</span>,\n"," margin: <span class=\"code-string\">'0'</span>\n"," },\n"," arrow: {\n"," position: <span class=\"code-string\">'absolute'</span>\n"," },\n"," reference: {}\n"," };\n"," <span class=\"code-built_in\">Object</span>.assign(state.elements.popper.style, initialStyles.popper);\n"," state.styles = initialStyles;\n","\n"," <span class=\"code-keyword\">if</span> (state.elements.arrow) {\n"," <span class=\"code-built_in\">Object</span>.assign(state.elements.arrow.style, initialStyles.arrow);\n"," }\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-built_in\">Object</span>.keys(state.elements).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">name</span>) </span>{\n"," <span class=\"code-keyword\">var</span> element = state.elements[name];\n"," <span class=\"code-keyword\">var</span> attributes = state.attributes[name] || {};\n"," <span class=\"code-keyword\">var</span> styleProperties = <span class=\"code-built_in\">Object</span>.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); <span class=\"code-comment\">// Set all values to an empty string to unset them</span>\n","\n"," <span class=\"code-keyword\">var</span> style = styleProperties.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">style, property</span>) </span>{\n"," style[property] = <span class=\"code-string\">''</span>;\n"," <span class=\"code-keyword\">return</span> style;\n"," }, {}); <span class=\"code-comment\">// arrow is optional + virtual elements</span>\n","\n"," <span class=\"code-keyword\">if</span> (!isHTMLElement(element) || !getNodeName(element)) {\n"," <span class=\"code-keyword\">return</span>;\n"," }\n","\n"," <span class=\"code-built_in\">Object</span>.assign(element.style, style);\n"," <span class=\"code-built_in\">Object</span>.keys(attributes).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">attribute</span>) </span>{\n"," element.removeAttribute(attribute);\n"," });\n"," });\n"," };\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> applyStyles$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'applyStyles'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'write'</span>,\n"," fn: applyStyles,\n"," effect: effect,\n"," requires: [<span class=\"code-string\">'computeStyles'</span>]\n"," };\n","\n"," <span class=\"code-keyword\">var</span> defaultModifiers = [eventListeners, popperOffsets$<span class=\"code-number\">1</span>, computeStyles$<span class=\"code-number\">1</span>, applyStyles$<span class=\"code-number\">1</span>];\n"," <span class=\"code-keyword\">var</span> createPopper = <span class=\"code-comment\">/*#__PURE__*/</span>popperGenerator({\n"," defaultModifiers: defaultModifiers\n"," }); <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n"," exports.createPopper = createPopper;\n"," exports.defaultModifiers = defaultModifiers;\n"," exports.detectOverflow = detectOverflow;\n"," exports.popperGenerator = popperGenerator;\n","\n"," <span class=\"code-built_in\">Object</span>.defineProperty(exports, <span class=\"code-string\">'__esModule'</span>, { <span class=\"code-attr\">value</span>: <span class=\"code-literal\">true</span> });\n","\n","})));\n","<span class=\"code-comment\">//# sourceMappingURL=popper-lite.js.map</span>\n",""]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-lite.js</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>49.6 kB</span><span>JavaScript</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-lite.js" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code><span class="code-comment">/**
+</span></code></td></tr><tr><td id="L2" class="css-a4x74f"><span>2</span></td><td id="LC2" class="css-1dcdqdg"><code><span class="code-comment"> * @popperjs/core v2.11.5 - MIT License
+</span></code></td></tr><tr><td id="L3" class="css-a4x74f"><span>3</span></td><td id="LC3" class="css-1dcdqdg"><code><span class="code-comment"> */</span>
+</code></td></tr><tr><td id="L4" class="css-a4x74f"><span>4</span></td><td id="LC4" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L5" class="css-a4x74f"><span>5</span></td><td id="LC5" class="css-1dcdqdg"><code>(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">global, factory</span>) </span>{
+</code></td></tr><tr><td id="L6" class="css-a4x74f"><span>6</span></td><td id="LC6" class="css-1dcdqdg"><code> <span class="code-keyword">typeof</span> exports === <span class="code-string">'object'</span> &amp;&amp; <span class="code-keyword">typeof</span> <span class="code-built_in">module</span> !== <span class="code-string">'undefined'</span> ? factory(exports) :
+</code></td></tr><tr><td id="L7" class="css-a4x74f"><span>7</span></td><td id="LC7" class="css-1dcdqdg"><code> <span class="code-keyword">typeof</span> define === <span class="code-string">'function'</span> &amp;&amp; define.amd ? define([<span class="code-string">'exports'</span>], factory) :
+</code></td></tr><tr><td id="L8" class="css-a4x74f"><span>8</span></td><td id="LC8" class="css-1dcdqdg"><code> (global = <span class="code-keyword">typeof</span> globalThis !== <span class="code-string">'undefined'</span> ? globalThis : global || self, factory(global.Popper = {}));
+</code></td></tr><tr><td id="L9" class="css-a4x74f"><span>9</span></td><td id="LC9" class="css-1dcdqdg"><code>}(<span class="code-keyword">this</span>, (<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">exports</span>) </span>{ <span class="code-string">'use strict'</span>;
+</code></td></tr><tr><td id="L10" class="css-a4x74f"><span>10</span></td><td id="LC10" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L11" class="css-a4x74f"><span>11</span></td><td id="LC11" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getWindow</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L12" class="css-a4x74f"><span>12</span></td><td id="LC12" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (node == <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L13" class="css-a4x74f"><span>13</span></td><td id="LC13" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L14" class="css-a4x74f"><span>14</span></td><td id="LC14" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L15" class="css-a4x74f"><span>15</span></td><td id="LC15" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L16" class="css-a4x74f"><span>16</span></td><td id="LC16" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (node.toString() !== <span class="code-string">'[object Window]'</span>) {
+</code></td></tr><tr><td id="L17" class="css-a4x74f"><span>17</span></td><td id="LC17" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> ownerDocument = node.ownerDocument;
+</code></td></tr><tr><td id="L18" class="css-a4x74f"><span>18</span></td><td id="LC18" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> ownerDocument ? ownerDocument.defaultView || <span class="code-built_in">window</span> : <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L19" class="css-a4x74f"><span>19</span></td><td id="LC19" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L20" class="css-a4x74f"><span>20</span></td><td id="LC20" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L21" class="css-a4x74f"><span>21</span></td><td id="LC21" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node;
+</code></td></tr><tr><td id="L22" class="css-a4x74f"><span>22</span></td><td id="LC22" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L23" class="css-a4x74f"><span>23</span></td><td id="LC23" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L24" class="css-a4x74f"><span>24</span></td><td id="LC24" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isElement</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L25" class="css-a4x74f"><span>25</span></td><td id="LC25" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> OwnElement = getWindow(node).Element;
+</code></td></tr><tr><td id="L26" class="css-a4x74f"><span>26</span></td><td id="LC26" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node <span class="code-keyword">instanceof</span> OwnElement || node <span class="code-keyword">instanceof</span> Element;
+</code></td></tr><tr><td id="L27" class="css-a4x74f"><span>27</span></td><td id="LC27" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L28" class="css-a4x74f"><span>28</span></td><td id="LC28" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L29" class="css-a4x74f"><span>29</span></td><td id="LC29" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isHTMLElement</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L30" class="css-a4x74f"><span>30</span></td><td id="LC30" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> OwnElement = getWindow(node).HTMLElement;
+</code></td></tr><tr><td id="L31" class="css-a4x74f"><span>31</span></td><td id="LC31" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node <span class="code-keyword">instanceof</span> OwnElement || node <span class="code-keyword">instanceof</span> HTMLElement;
+</code></td></tr><tr><td id="L32" class="css-a4x74f"><span>32</span></td><td id="LC32" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L33" class="css-a4x74f"><span>33</span></td><td id="LC33" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L34" class="css-a4x74f"><span>34</span></td><td id="LC34" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isShadowRoot</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L35" class="css-a4x74f"><span>35</span></td><td id="LC35" class="css-1dcdqdg"><code> <span class="code-comment">// IE 11 has no ShadowRoot</span>
+</code></td></tr><tr><td id="L36" class="css-a4x74f"><span>36</span></td><td id="LC36" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> ShadowRoot === <span class="code-string">'undefined'</span>) {
+</code></td></tr><tr><td id="L37" class="css-a4x74f"><span>37</span></td><td id="LC37" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L38" class="css-a4x74f"><span>38</span></td><td id="LC38" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L39" class="css-a4x74f"><span>39</span></td><td id="LC39" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L40" class="css-a4x74f"><span>40</span></td><td id="LC40" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> OwnElement = getWindow(node).ShadowRoot;
+</code></td></tr><tr><td id="L41" class="css-a4x74f"><span>41</span></td><td id="LC41" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node <span class="code-keyword">instanceof</span> OwnElement || node <span class="code-keyword">instanceof</span> ShadowRoot;
+</code></td></tr><tr><td id="L42" class="css-a4x74f"><span>42</span></td><td id="LC42" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L43" class="css-a4x74f"><span>43</span></td><td id="LC43" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L44" class="css-a4x74f"><span>44</span></td><td id="LC44" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> max = <span class="code-built_in">Math</span>.max;
+</code></td></tr><tr><td id="L45" class="css-a4x74f"><span>45</span></td><td id="LC45" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> min = <span class="code-built_in">Math</span>.min;
+</code></td></tr><tr><td id="L46" class="css-a4x74f"><span>46</span></td><td id="LC46" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> round = <span class="code-built_in">Math</span>.round;
+</code></td></tr><tr><td id="L47" class="css-a4x74f"><span>47</span></td><td id="LC47" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L48" class="css-a4x74f"><span>48</span></td><td id="LC48" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getBoundingClientRect</span>(<span class="code-params">element, includeScale</span>) </span>{
+</code></td></tr><tr><td id="L49" class="css-a4x74f"><span>49</span></td><td id="LC49" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (includeScale === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L50" class="css-a4x74f"><span>50</span></td><td id="LC50" class="css-1dcdqdg"><code> includeScale = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L51" class="css-a4x74f"><span>51</span></td><td id="LC51" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L52" class="css-a4x74f"><span>52</span></td><td id="LC52" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L53" class="css-a4x74f"><span>53</span></td><td id="LC53" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = element.getBoundingClientRect();
+</code></td></tr><tr><td id="L54" class="css-a4x74f"><span>54</span></td><td id="LC54" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleX = <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L55" class="css-a4x74f"><span>55</span></td><td id="LC55" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleY = <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L56" class="css-a4x74f"><span>56</span></td><td id="LC56" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L57" class="css-a4x74f"><span>57</span></td><td id="LC57" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isHTMLElement(element) &amp;&amp; includeScale) {
+</code></td></tr><tr><td id="L58" class="css-a4x74f"><span>58</span></td><td id="LC58" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetHeight = element.offsetHeight;
+</code></td></tr><tr><td id="L59" class="css-a4x74f"><span>59</span></td><td id="LC59" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetWidth = element.offsetWidth; <span class="code-comment">// Do not attempt to divide by 0, otherwise we get `Infinity` as scale</span>
+</code></td></tr><tr><td id="L60" class="css-a4x74f"><span>60</span></td><td id="LC60" class="css-1dcdqdg"><code> <span class="code-comment">// Fallback to 1 in case both values are `0`</span>
+</code></td></tr><tr><td id="L61" class="css-a4x74f"><span>61</span></td><td id="LC61" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L62" class="css-a4x74f"><span>62</span></td><td id="LC62" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetWidth &gt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L63" class="css-a4x74f"><span>63</span></td><td id="LC63" class="css-1dcdqdg"><code> scaleX = round(rect.width) / offsetWidth || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L64" class="css-a4x74f"><span>64</span></td><td id="LC64" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L65" class="css-a4x74f"><span>65</span></td><td id="LC65" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L66" class="css-a4x74f"><span>66</span></td><td id="LC66" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetHeight &gt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L67" class="css-a4x74f"><span>67</span></td><td id="LC67" class="css-1dcdqdg"><code> scaleY = round(rect.height) / offsetHeight || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L68" class="css-a4x74f"><span>68</span></td><td id="LC68" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L69" class="css-a4x74f"><span>69</span></td><td id="LC69" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L70" class="css-a4x74f"><span>70</span></td><td id="LC70" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L71" class="css-a4x74f"><span>71</span></td><td id="LC71" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L72" class="css-a4x74f"><span>72</span></td><td id="LC72" class="css-1dcdqdg"><code> width: rect.width / scaleX,
+</code></td></tr><tr><td id="L73" class="css-a4x74f"><span>73</span></td><td id="LC73" class="css-1dcdqdg"><code> height: rect.height / scaleY,
+</code></td></tr><tr><td id="L74" class="css-a4x74f"><span>74</span></td><td id="LC74" class="css-1dcdqdg"><code> top: rect.top / scaleY,
+</code></td></tr><tr><td id="L75" class="css-a4x74f"><span>75</span></td><td id="LC75" class="css-1dcdqdg"><code> right: rect.right / scaleX,
+</code></td></tr><tr><td id="L76" class="css-a4x74f"><span>76</span></td><td id="LC76" class="css-1dcdqdg"><code> bottom: rect.bottom / scaleY,
+</code></td></tr><tr><td id="L77" class="css-a4x74f"><span>77</span></td><td id="LC77" class="css-1dcdqdg"><code> left: rect.left / scaleX,
+</code></td></tr><tr><td id="L78" class="css-a4x74f"><span>78</span></td><td id="LC78" class="css-1dcdqdg"><code> x: rect.left / scaleX,
+</code></td></tr><tr><td id="L79" class="css-a4x74f"><span>79</span></td><td id="LC79" class="css-1dcdqdg"><code> y: rect.top / scaleY
+</code></td></tr><tr><td id="L80" class="css-a4x74f"><span>80</span></td><td id="LC80" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L81" class="css-a4x74f"><span>81</span></td><td id="LC81" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L82" class="css-a4x74f"><span>82</span></td><td id="LC82" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L83" class="css-a4x74f"><span>83</span></td><td id="LC83" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getWindowScroll</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L84" class="css-a4x74f"><span>84</span></td><td id="LC84" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = getWindow(node);
+</code></td></tr><tr><td id="L85" class="css-a4x74f"><span>85</span></td><td id="LC85" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollLeft = win.pageXOffset;
+</code></td></tr><tr><td id="L86" class="css-a4x74f"><span>86</span></td><td id="LC86" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollTop = win.pageYOffset;
+</code></td></tr><tr><td id="L87" class="css-a4x74f"><span>87</span></td><td id="LC87" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L88" class="css-a4x74f"><span>88</span></td><td id="LC88" class="css-1dcdqdg"><code> scrollLeft: scrollLeft,
+</code></td></tr><tr><td id="L89" class="css-a4x74f"><span>89</span></td><td id="LC89" class="css-1dcdqdg"><code> scrollTop: scrollTop
+</code></td></tr><tr><td id="L90" class="css-a4x74f"><span>90</span></td><td id="LC90" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L91" class="css-a4x74f"><span>91</span></td><td id="LC91" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L92" class="css-a4x74f"><span>92</span></td><td id="LC92" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L93" class="css-a4x74f"><span>93</span></td><td id="LC93" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getHTMLElementScroll</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L94" class="css-a4x74f"><span>94</span></td><td id="LC94" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L95" class="css-a4x74f"><span>95</span></td><td id="LC95" class="css-1dcdqdg"><code> scrollLeft: element.scrollLeft,
+</code></td></tr><tr><td id="L96" class="css-a4x74f"><span>96</span></td><td id="LC96" class="css-1dcdqdg"><code> scrollTop: element.scrollTop
+</code></td></tr><tr><td id="L97" class="css-a4x74f"><span>97</span></td><td id="LC97" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L98" class="css-a4x74f"><span>98</span></td><td id="LC98" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L99" class="css-a4x74f"><span>99</span></td><td id="LC99" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L100" class="css-a4x74f"><span>100</span></td><td id="LC100" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getNodeScroll</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L101" class="css-a4x74f"><span>101</span></td><td id="LC101" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (node === getWindow(node) || !isHTMLElement(node)) {
+</code></td></tr><tr><td id="L102" class="css-a4x74f"><span>102</span></td><td id="LC102" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getWindowScroll(node);
+</code></td></tr><tr><td id="L103" class="css-a4x74f"><span>103</span></td><td id="LC103" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> {
+</code></td></tr><tr><td id="L104" class="css-a4x74f"><span>104</span></td><td id="LC104" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getHTMLElementScroll(node);
+</code></td></tr><tr><td id="L105" class="css-a4x74f"><span>105</span></td><td id="LC105" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L106" class="css-a4x74f"><span>106</span></td><td id="LC106" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L107" class="css-a4x74f"><span>107</span></td><td id="LC107" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L108" class="css-a4x74f"><span>108</span></td><td id="LC108" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getNodeName</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L109" class="css-a4x74f"><span>109</span></td><td id="LC109" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> element ? (element.nodeName || <span class="code-string">''</span>).toLowerCase() : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L110" class="css-a4x74f"><span>110</span></td><td id="LC110" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L111" class="css-a4x74f"><span>111</span></td><td id="LC111" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L112" class="css-a4x74f"><span>112</span></td><td id="LC112" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getDocumentElement</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L113" class="css-a4x74f"><span>113</span></td><td id="LC113" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-return]: assume body is always available</span>
+</code></td></tr><tr><td id="L114" class="css-a4x74f"><span>114</span></td><td id="LC114" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> ((isElement(element) ? element.ownerDocument : <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L115" class="css-a4x74f"><span>115</span></td><td id="LC115" class="css-1dcdqdg"><code> element.document) || <span class="code-built_in">window</span>.document).documentElement;
+</code></td></tr><tr><td id="L116" class="css-a4x74f"><span>116</span></td><td id="LC116" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L117" class="css-a4x74f"><span>117</span></td><td id="LC117" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L118" class="css-a4x74f"><span>118</span></td><td id="LC118" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getWindowScrollBarX</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L119" class="css-a4x74f"><span>119</span></td><td id="LC119" class="css-1dcdqdg"><code> <span class="code-comment">// If &lt;html&gt; has a CSS width greater than the viewport, then this will be</span>
+</code></td></tr><tr><td id="L120" class="css-a4x74f"><span>120</span></td><td id="LC120" class="css-1dcdqdg"><code> <span class="code-comment">// incorrect for RTL.</span>
+</code></td></tr><tr><td id="L121" class="css-a4x74f"><span>121</span></td><td id="LC121" class="css-1dcdqdg"><code> <span class="code-comment">// Popper 1 is broken in this case and never had a bug report so let's assume</span>
+</code></td></tr><tr><td id="L122" class="css-a4x74f"><span>122</span></td><td id="LC122" class="css-1dcdqdg"><code> <span class="code-comment">// it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;</span>
+</code></td></tr><tr><td id="L123" class="css-a4x74f"><span>123</span></td><td id="LC123" class="css-1dcdqdg"><code> <span class="code-comment">// anyway.</span>
+</code></td></tr><tr><td id="L124" class="css-a4x74f"><span>124</span></td><td id="LC124" class="css-1dcdqdg"><code> <span class="code-comment">// Browsers where the left scrollbar doesn't cause an issue report `0` for</span>
+</code></td></tr><tr><td id="L125" class="css-a4x74f"><span>125</span></td><td id="LC125" class="css-1dcdqdg"><code> <span class="code-comment">// this (e.g. Edge 2019, IE11, Safari)</span>
+</code></td></tr><tr><td id="L126" class="css-a4x74f"><span>126</span></td><td id="LC126" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
+</code></td></tr><tr><td id="L127" class="css-a4x74f"><span>127</span></td><td id="LC127" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L128" class="css-a4x74f"><span>128</span></td><td id="LC128" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L129" class="css-a4x74f"><span>129</span></td><td id="LC129" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getComputedStyle</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L130" class="css-a4x74f"><span>130</span></td><td id="LC130" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getWindow(element).getComputedStyle(element);
+</code></td></tr><tr><td id="L131" class="css-a4x74f"><span>131</span></td><td id="LC131" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L132" class="css-a4x74f"><span>132</span></td><td id="LC132" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L133" class="css-a4x74f"><span>133</span></td><td id="LC133" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isScrollParent</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L134" class="css-a4x74f"><span>134</span></td><td id="LC134" class="css-1dcdqdg"><code> <span class="code-comment">// Firefox wants us to check `-x` and `-y` variations as well</span>
+</code></td></tr><tr><td id="L135" class="css-a4x74f"><span>135</span></td><td id="LC135" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _getComputedStyle = getComputedStyle(element),
+</code></td></tr><tr><td id="L136" class="css-a4x74f"><span>136</span></td><td id="LC136" class="css-1dcdqdg"><code> overflow = _getComputedStyle.overflow,
+</code></td></tr><tr><td id="L137" class="css-a4x74f"><span>137</span></td><td id="LC137" class="css-1dcdqdg"><code> overflowX = _getComputedStyle.overflowX,
+</code></td></tr><tr><td id="L138" class="css-a4x74f"><span>138</span></td><td id="LC138" class="css-1dcdqdg"><code> overflowY = _getComputedStyle.overflowY;
+</code></td></tr><tr><td id="L139" class="css-a4x74f"><span>139</span></td><td id="LC139" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L140" class="css-a4x74f"><span>140</span></td><td id="LC140" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-regexp">/auto|scroll|overlay|hidden/</span>.test(overflow + overflowY + overflowX);
+</code></td></tr><tr><td id="L141" class="css-a4x74f"><span>141</span></td><td id="LC141" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L142" class="css-a4x74f"><span>142</span></td><td id="LC142" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L143" class="css-a4x74f"><span>143</span></td><td id="LC143" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isElementScaled</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L144" class="css-a4x74f"><span>144</span></td><td id="LC144" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = element.getBoundingClientRect();
+</code></td></tr><tr><td id="L145" class="css-a4x74f"><span>145</span></td><td id="LC145" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleX = round(rect.width) / element.offsetWidth || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L146" class="css-a4x74f"><span>146</span></td><td id="LC146" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleY = round(rect.height) / element.offsetHeight || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L147" class="css-a4x74f"><span>147</span></td><td id="LC147" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> scaleX !== <span class="code-number">1</span> || scaleY !== <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L148" class="css-a4x74f"><span>148</span></td><td id="LC148" class="css-1dcdqdg"><code> } <span class="code-comment">// Returns the composite rect of an element relative to its offsetParent.</span>
+</code></td></tr><tr><td id="L149" class="css-a4x74f"><span>149</span></td><td id="LC149" class="css-1dcdqdg"><code> <span class="code-comment">// Composite means it takes into account transforms as well as layout.</span>
+</code></td></tr><tr><td id="L150" class="css-a4x74f"><span>150</span></td><td id="LC150" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L151" class="css-a4x74f"><span>151</span></td><td id="LC151" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L152" class="css-a4x74f"><span>152</span></td><td id="LC152" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getCompositeRect</span>(<span class="code-params">elementOrVirtualElement, offsetParent, isFixed</span>) </span>{
+</code></td></tr><tr><td id="L153" class="css-a4x74f"><span>153</span></td><td id="LC153" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isFixed === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L154" class="css-a4x74f"><span>154</span></td><td id="LC154" class="css-1dcdqdg"><code> isFixed = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L155" class="css-a4x74f"><span>155</span></td><td id="LC155" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L156" class="css-a4x74f"><span>156</span></td><td id="LC156" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L157" class="css-a4x74f"><span>157</span></td><td id="LC157" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isOffsetParentAnElement = isHTMLElement(offsetParent);
+</code></td></tr><tr><td id="L158" class="css-a4x74f"><span>158</span></td><td id="LC158" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetParentIsScaled = isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);
+</code></td></tr><tr><td id="L159" class="css-a4x74f"><span>159</span></td><td id="LC159" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> documentElement = getDocumentElement(offsetParent);
+</code></td></tr><tr><td id="L160" class="css-a4x74f"><span>160</span></td><td id="LC160" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
+</code></td></tr><tr><td id="L161" class="css-a4x74f"><span>161</span></td><td id="LC161" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scroll = {
+</code></td></tr><tr><td id="L162" class="css-a4x74f"><span>162</span></td><td id="LC162" class="css-1dcdqdg"><code> scrollLeft: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L163" class="css-a4x74f"><span>163</span></td><td id="LC163" class="css-1dcdqdg"><code> scrollTop: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L164" class="css-a4x74f"><span>164</span></td><td id="LC164" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L165" class="css-a4x74f"><span>165</span></td><td id="LC165" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsets = {
+</code></td></tr><tr><td id="L166" class="css-a4x74f"><span>166</span></td><td id="LC166" class="css-1dcdqdg"><code> x: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L167" class="css-a4x74f"><span>167</span></td><td id="LC167" class="css-1dcdqdg"><code> y: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L168" class="css-a4x74f"><span>168</span></td><td id="LC168" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L169" class="css-a4x74f"><span>169</span></td><td id="LC169" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L170" class="css-a4x74f"><span>170</span></td><td id="LC170" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isOffsetParentAnElement || !isOffsetParentAnElement &amp;&amp; !isFixed) {
+</code></td></tr><tr><td id="L171" class="css-a4x74f"><span>171</span></td><td id="LC171" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getNodeName(offsetParent) !== <span class="code-string">'body'</span> || <span class="code-comment">// https://github.com/popperjs/popper-core/issues/1078</span>
+</code></td></tr><tr><td id="L172" class="css-a4x74f"><span>172</span></td><td id="LC172" class="css-1dcdqdg"><code> isScrollParent(documentElement)) {
+</code></td></tr><tr><td id="L173" class="css-a4x74f"><span>173</span></td><td id="LC173" class="css-1dcdqdg"><code> scroll = getNodeScroll(offsetParent);
+</code></td></tr><tr><td id="L174" class="css-a4x74f"><span>174</span></td><td id="LC174" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L175" class="css-a4x74f"><span>175</span></td><td id="LC175" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L176" class="css-a4x74f"><span>176</span></td><td id="LC176" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isHTMLElement(offsetParent)) {
+</code></td></tr><tr><td id="L177" class="css-a4x74f"><span>177</span></td><td id="LC177" class="css-1dcdqdg"><code> offsets = getBoundingClientRect(offsetParent, <span class="code-literal">true</span>);
+</code></td></tr><tr><td id="L178" class="css-a4x74f"><span>178</span></td><td id="LC178" class="css-1dcdqdg"><code> offsets.x += offsetParent.clientLeft;
+</code></td></tr><tr><td id="L179" class="css-a4x74f"><span>179</span></td><td id="LC179" class="css-1dcdqdg"><code> offsets.y += offsetParent.clientTop;
+</code></td></tr><tr><td id="L180" class="css-a4x74f"><span>180</span></td><td id="LC180" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> <span class="code-keyword">if</span> (documentElement) {
+</code></td></tr><tr><td id="L181" class="css-a4x74f"><span>181</span></td><td id="LC181" class="css-1dcdqdg"><code> offsets.x = getWindowScrollBarX(documentElement);
+</code></td></tr><tr><td id="L182" class="css-a4x74f"><span>182</span></td><td id="LC182" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L183" class="css-a4x74f"><span>183</span></td><td id="LC183" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L184" class="css-a4x74f"><span>184</span></td><td id="LC184" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L185" class="css-a4x74f"><span>185</span></td><td id="LC185" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L186" class="css-a4x74f"><span>186</span></td><td id="LC186" class="css-1dcdqdg"><code> x: rect.left + scroll.scrollLeft - offsets.x,
+</code></td></tr><tr><td id="L187" class="css-a4x74f"><span>187</span></td><td id="LC187" class="css-1dcdqdg"><code> y: rect.top + scroll.scrollTop - offsets.y,
+</code></td></tr><tr><td id="L188" class="css-a4x74f"><span>188</span></td><td id="LC188" class="css-1dcdqdg"><code> width: rect.width,
+</code></td></tr><tr><td id="L189" class="css-a4x74f"><span>189</span></td><td id="LC189" class="css-1dcdqdg"><code> height: rect.height
+</code></td></tr><tr><td id="L190" class="css-a4x74f"><span>190</span></td><td id="LC190" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L191" class="css-a4x74f"><span>191</span></td><td id="LC191" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L192" class="css-a4x74f"><span>192</span></td><td id="LC192" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L193" class="css-a4x74f"><span>193</span></td><td id="LC193" class="css-1dcdqdg"><code> <span class="code-comment">// means it doesn't take into account transforms.</span>
+</code></td></tr><tr><td id="L194" class="css-a4x74f"><span>194</span></td><td id="LC194" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L195" class="css-a4x74f"><span>195</span></td><td id="LC195" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getLayoutRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L196" class="css-a4x74f"><span>196</span></td><td id="LC196" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clientRect = getBoundingClientRect(element); <span class="code-comment">// Use the clientRect sizes if it's not been transformed.</span>
+</code></td></tr><tr><td id="L197" class="css-a4x74f"><span>197</span></td><td id="LC197" class="css-1dcdqdg"><code> <span class="code-comment">// Fixes https://github.com/popperjs/popper-core/issues/1223</span>
+</code></td></tr><tr><td id="L198" class="css-a4x74f"><span>198</span></td><td id="LC198" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L199" class="css-a4x74f"><span>199</span></td><td id="LC199" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> width = element.offsetWidth;
+</code></td></tr><tr><td id="L200" class="css-a4x74f"><span>200</span></td><td id="LC200" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> height = element.offsetHeight;
+</code></td></tr><tr><td id="L201" class="css-a4x74f"><span>201</span></td><td id="LC201" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L202" class="css-a4x74f"><span>202</span></td><td id="LC202" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-built_in">Math</span>.abs(clientRect.width - width) &lt;= <span class="code-number">1</span>) {
+</code></td></tr><tr><td id="L203" class="css-a4x74f"><span>203</span></td><td id="LC203" class="css-1dcdqdg"><code> width = clientRect.width;
+</code></td></tr><tr><td id="L204" class="css-a4x74f"><span>204</span></td><td id="LC204" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L205" class="css-a4x74f"><span>205</span></td><td id="LC205" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L206" class="css-a4x74f"><span>206</span></td><td id="LC206" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-built_in">Math</span>.abs(clientRect.height - height) &lt;= <span class="code-number">1</span>) {
+</code></td></tr><tr><td id="L207" class="css-a4x74f"><span>207</span></td><td id="LC207" class="css-1dcdqdg"><code> height = clientRect.height;
+</code></td></tr><tr><td id="L208" class="css-a4x74f"><span>208</span></td><td id="LC208" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L209" class="css-a4x74f"><span>209</span></td><td id="LC209" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L210" class="css-a4x74f"><span>210</span></td><td id="LC210" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L211" class="css-a4x74f"><span>211</span></td><td id="LC211" class="css-1dcdqdg"><code> x: element.offsetLeft,
+</code></td></tr><tr><td id="L212" class="css-a4x74f"><span>212</span></td><td id="LC212" class="css-1dcdqdg"><code> y: element.offsetTop,
+</code></td></tr><tr><td id="L213" class="css-a4x74f"><span>213</span></td><td id="LC213" class="css-1dcdqdg"><code> width: width,
+</code></td></tr><tr><td id="L214" class="css-a4x74f"><span>214</span></td><td id="LC214" class="css-1dcdqdg"><code> height: height
+</code></td></tr><tr><td id="L215" class="css-a4x74f"><span>215</span></td><td id="LC215" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L216" class="css-a4x74f"><span>216</span></td><td id="LC216" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L217" class="css-a4x74f"><span>217</span></td><td id="LC217" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L218" class="css-a4x74f"><span>218</span></td><td id="LC218" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getParentNode</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L219" class="css-a4x74f"><span>219</span></td><td id="LC219" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getNodeName(element) === <span class="code-string">'html'</span>) {
+</code></td></tr><tr><td id="L220" class="css-a4x74f"><span>220</span></td><td id="LC220" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> element;
+</code></td></tr><tr><td id="L221" class="css-a4x74f"><span>221</span></td><td id="LC221" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L222" class="css-a4x74f"><span>222</span></td><td id="LC222" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L223" class="css-a4x74f"><span>223</span></td><td id="LC223" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> (<span class="code-comment">// this is a quicker (but less type safe) way to save quite some bytes from the bundle</span>
+</code></td></tr><tr><td id="L224" class="css-a4x74f"><span>224</span></td><td id="LC224" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-return]</span>
+</code></td></tr><tr><td id="L225" class="css-a4x74f"><span>225</span></td><td id="LC225" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L226" class="css-a4x74f"><span>226</span></td><td id="LC226" class="css-1dcdqdg"><code> element.assignedSlot || <span class="code-comment">// step into the shadow DOM of the parent of a slotted node</span>
+</code></td></tr><tr><td id="L227" class="css-a4x74f"><span>227</span></td><td id="LC227" class="css-1dcdqdg"><code> element.parentNode || ( <span class="code-comment">// DOM Element detected</span>
+</code></td></tr><tr><td id="L228" class="css-a4x74f"><span>228</span></td><td id="LC228" class="css-1dcdqdg"><code> isShadowRoot(element) ? element.host : <span class="code-literal">null</span>) || <span class="code-comment">// ShadowRoot detected</span>
+</code></td></tr><tr><td id="L229" class="css-a4x74f"><span>229</span></td><td id="LC229" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-call]: HTMLElement is a Node</span>
+</code></td></tr><tr><td id="L230" class="css-a4x74f"><span>230</span></td><td id="LC230" class="css-1dcdqdg"><code> getDocumentElement(element) <span class="code-comment">// fallback</span>
+</code></td></tr><tr><td id="L231" class="css-a4x74f"><span>231</span></td><td id="LC231" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L232" class="css-a4x74f"><span>232</span></td><td id="LC232" class="css-1dcdqdg"><code> );
+</code></td></tr><tr><td id="L233" class="css-a4x74f"><span>233</span></td><td id="LC233" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L234" class="css-a4x74f"><span>234</span></td><td id="LC234" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L235" class="css-a4x74f"><span>235</span></td><td id="LC235" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getScrollParent</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L236" class="css-a4x74f"><span>236</span></td><td id="LC236" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> ([<span class="code-string">'html'</span>, <span class="code-string">'body'</span>, <span class="code-string">'#document'</span>].indexOf(getNodeName(node)) &gt;= <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L237" class="css-a4x74f"><span>237</span></td><td id="LC237" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-return]: assume body is always available</span>
+</code></td></tr><tr><td id="L238" class="css-a4x74f"><span>238</span></td><td id="LC238" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node.ownerDocument.body;
+</code></td></tr><tr><td id="L239" class="css-a4x74f"><span>239</span></td><td id="LC239" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L240" class="css-a4x74f"><span>240</span></td><td id="LC240" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L241" class="css-a4x74f"><span>241</span></td><td id="LC241" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {
+</code></td></tr><tr><td id="L242" class="css-a4x74f"><span>242</span></td><td id="LC242" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node;
+</code></td></tr><tr><td id="L243" class="css-a4x74f"><span>243</span></td><td id="LC243" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L244" class="css-a4x74f"><span>244</span></td><td id="LC244" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L245" class="css-a4x74f"><span>245</span></td><td id="LC245" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getScrollParent(getParentNode(node));
+</code></td></tr><tr><td id="L246" class="css-a4x74f"><span>246</span></td><td id="LC246" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L247" class="css-a4x74f"><span>247</span></td><td id="LC247" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L248" class="css-a4x74f"><span>248</span></td><td id="LC248" class="css-1dcdqdg"><code> <span class="code-comment">/*
+</span></code></td></tr><tr><td id="L249" class="css-a4x74f"><span>249</span></td><td id="LC249" class="css-1dcdqdg"><code><span class="code-comment"> given a DOM element, return the list of all scroll parents, up the list of ancesors
+</span></code></td></tr><tr><td id="L250" class="css-a4x74f"><span>250</span></td><td id="LC250" class="css-1dcdqdg"><code><span class="code-comment"> until we get to the top window object. This list is what we attach scroll listeners
+</span></code></td></tr><tr><td id="L251" class="css-a4x74f"><span>251</span></td><td id="LC251" class="css-1dcdqdg"><code><span class="code-comment"> to, because if any of these parent elements scroll, we'll need to re-calculate the
+</span></code></td></tr><tr><td id="L252" class="css-a4x74f"><span>252</span></td><td id="LC252" class="css-1dcdqdg"><code><span class="code-comment"> reference element's position.
+</span></code></td></tr><tr><td id="L253" class="css-a4x74f"><span>253</span></td><td id="LC253" class="css-1dcdqdg"><code><span class="code-comment"> */</span>
+</code></td></tr><tr><td id="L254" class="css-a4x74f"><span>254</span></td><td id="LC254" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L255" class="css-a4x74f"><span>255</span></td><td id="LC255" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">listScrollParents</span>(<span class="code-params">element, list</span>) </span>{
+</code></td></tr><tr><td id="L256" class="css-a4x74f"><span>256</span></td><td id="LC256" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _element$ownerDocumen;
+</code></td></tr><tr><td id="L257" class="css-a4x74f"><span>257</span></td><td id="LC257" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L258" class="css-a4x74f"><span>258</span></td><td id="LC258" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (list === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L259" class="css-a4x74f"><span>259</span></td><td id="LC259" class="css-1dcdqdg"><code> list = [];
+</code></td></tr><tr><td id="L260" class="css-a4x74f"><span>260</span></td><td id="LC260" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L261" class="css-a4x74f"><span>261</span></td><td id="LC261" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L262" class="css-a4x74f"><span>262</span></td><td id="LC262" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollParent = getScrollParent(element);
+</code></td></tr><tr><td id="L263" class="css-a4x74f"><span>263</span></td><td id="LC263" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == <span class="code-literal">null</span> ? <span class="code-keyword">void</span> <span class="code-number">0</span> : _element$ownerDocumen.body);
+</code></td></tr><tr><td id="L264" class="css-a4x74f"><span>264</span></td><td id="LC264" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = getWindow(scrollParent);
+</code></td></tr><tr><td id="L265" class="css-a4x74f"><span>265</span></td><td id="LC265" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
+</code></td></tr><tr><td id="L266" class="css-a4x74f"><span>266</span></td><td id="LC266" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> updatedList = list.concat(target);
+</code></td></tr><tr><td id="L267" class="css-a4x74f"><span>267</span></td><td id="LC267" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> isBody ? updatedList : <span class="code-comment">// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here</span>
+</code></td></tr><tr><td id="L268" class="css-a4x74f"><span>268</span></td><td id="LC268" class="css-1dcdqdg"><code> updatedList.concat(listScrollParents(getParentNode(target)));
+</code></td></tr><tr><td id="L269" class="css-a4x74f"><span>269</span></td><td id="LC269" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L270" class="css-a4x74f"><span>270</span></td><td id="LC270" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L271" class="css-a4x74f"><span>271</span></td><td id="LC271" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isTableElement</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L272" class="css-a4x74f"><span>272</span></td><td id="LC272" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [<span class="code-string">'table'</span>, <span class="code-string">'td'</span>, <span class="code-string">'th'</span>].indexOf(getNodeName(element)) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L273" class="css-a4x74f"><span>273</span></td><td id="LC273" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L274" class="css-a4x74f"><span>274</span></td><td id="LC274" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L275" class="css-a4x74f"><span>275</span></td><td id="LC275" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getTrueOffsetParent</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L276" class="css-a4x74f"><span>276</span></td><td id="LC276" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isHTMLElement(element) || <span class="code-comment">// https://github.com/popperjs/popper-core/issues/837</span>
+</code></td></tr><tr><td id="L277" class="css-a4x74f"><span>277</span></td><td id="LC277" class="css-1dcdqdg"><code> getComputedStyle(element).position === <span class="code-string">'fixed'</span>) {
+</code></td></tr><tr><td id="L278" class="css-a4x74f"><span>278</span></td><td id="LC278" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L279" class="css-a4x74f"><span>279</span></td><td id="LC279" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L280" class="css-a4x74f"><span>280</span></td><td id="LC280" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L281" class="css-a4x74f"><span>281</span></td><td id="LC281" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> element.offsetParent;
+</code></td></tr><tr><td id="L282" class="css-a4x74f"><span>282</span></td><td id="LC282" class="css-1dcdqdg"><code> } <span class="code-comment">// `.offsetParent` reports `null` for fixed elements, while absolute elements</span>
+</code></td></tr><tr><td id="L283" class="css-a4x74f"><span>283</span></td><td id="LC283" class="css-1dcdqdg"><code> <span class="code-comment">// return the containing block</span>
+</code></td></tr><tr><td id="L284" class="css-a4x74f"><span>284</span></td><td id="LC284" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L285" class="css-a4x74f"><span>285</span></td><td id="LC285" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L286" class="css-a4x74f"><span>286</span></td><td id="LC286" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getContainingBlock</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L287" class="css-a4x74f"><span>287</span></td><td id="LC287" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isFirefox = navigator.userAgent.toLowerCase().indexOf(<span class="code-string">'firefox'</span>) !== <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L288" class="css-a4x74f"><span>288</span></td><td id="LC288" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isIE = navigator.userAgent.indexOf(<span class="code-string">'Trident'</span>) !== <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L289" class="css-a4x74f"><span>289</span></td><td id="LC289" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L290" class="css-a4x74f"><span>290</span></td><td id="LC290" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isIE &amp;&amp; isHTMLElement(element)) {
+</code></td></tr><tr><td id="L291" class="css-a4x74f"><span>291</span></td><td id="LC291" class="css-1dcdqdg"><code> <span class="code-comment">// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport</span>
+</code></td></tr><tr><td id="L292" class="css-a4x74f"><span>292</span></td><td id="LC292" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> elementCss = getComputedStyle(element);
+</code></td></tr><tr><td id="L293" class="css-a4x74f"><span>293</span></td><td id="LC293" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L294" class="css-a4x74f"><span>294</span></td><td id="LC294" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (elementCss.position === <span class="code-string">'fixed'</span>) {
+</code></td></tr><tr><td id="L295" class="css-a4x74f"><span>295</span></td><td id="LC295" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L296" class="css-a4x74f"><span>296</span></td><td id="LC296" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L297" class="css-a4x74f"><span>297</span></td><td id="LC297" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L298" class="css-a4x74f"><span>298</span></td><td id="LC298" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L299" class="css-a4x74f"><span>299</span></td><td id="LC299" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> currentNode = getParentNode(element);
+</code></td></tr><tr><td id="L300" class="css-a4x74f"><span>300</span></td><td id="LC300" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L301" class="css-a4x74f"><span>301</span></td><td id="LC301" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isShadowRoot(currentNode)) {
+</code></td></tr><tr><td id="L302" class="css-a4x74f"><span>302</span></td><td id="LC302" class="css-1dcdqdg"><code> currentNode = currentNode.host;
+</code></td></tr><tr><td id="L303" class="css-a4x74f"><span>303</span></td><td id="LC303" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L304" class="css-a4x74f"><span>304</span></td><td id="LC304" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L305" class="css-a4x74f"><span>305</span></td><td id="LC305" class="css-1dcdqdg"><code> <span class="code-keyword">while</span> (isHTMLElement(currentNode) &amp;&amp; [<span class="code-string">'html'</span>, <span class="code-string">'body'</span>].indexOf(getNodeName(currentNode)) &lt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L306" class="css-a4x74f"><span>306</span></td><td id="LC306" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> css = getComputedStyle(currentNode); <span class="code-comment">// This is non-exhaustive but covers the most common CSS properties that</span>
+</code></td></tr><tr><td id="L307" class="css-a4x74f"><span>307</span></td><td id="LC307" class="css-1dcdqdg"><code> <span class="code-comment">// create a containing block.</span>
+</code></td></tr><tr><td id="L308" class="css-a4x74f"><span>308</span></td><td id="LC308" class="css-1dcdqdg"><code> <span class="code-comment">// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block</span>
+</code></td></tr><tr><td id="L309" class="css-a4x74f"><span>309</span></td><td id="LC309" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L310" class="css-a4x74f"><span>310</span></td><td id="LC310" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (css.transform !== <span class="code-string">'none'</span> || css.perspective !== <span class="code-string">'none'</span> || css.contain === <span class="code-string">'paint'</span> || [<span class="code-string">'transform'</span>, <span class="code-string">'perspective'</span>].indexOf(css.willChange) !== <span class="code-number">-1</span> || isFirefox &amp;&amp; css.willChange === <span class="code-string">'filter'</span> || isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== <span class="code-string">'none'</span>) {
+</code></td></tr><tr><td id="L311" class="css-a4x74f"><span>311</span></td><td id="LC311" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> currentNode;
+</code></td></tr><tr><td id="L312" class="css-a4x74f"><span>312</span></td><td id="LC312" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> {
+</code></td></tr><tr><td id="L313" class="css-a4x74f"><span>313</span></td><td id="LC313" class="css-1dcdqdg"><code> currentNode = currentNode.parentNode;
+</code></td></tr><tr><td id="L314" class="css-a4x74f"><span>314</span></td><td id="LC314" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L315" class="css-a4x74f"><span>315</span></td><td id="LC315" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L316" class="css-a4x74f"><span>316</span></td><td id="LC316" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L317" class="css-a4x74f"><span>317</span></td><td id="LC317" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L318" class="css-a4x74f"><span>318</span></td><td id="LC318" class="css-1dcdqdg"><code> } <span class="code-comment">// Gets the closest ancestor positioned element. Handles some edge cases,</span>
+</code></td></tr><tr><td id="L319" class="css-a4x74f"><span>319</span></td><td id="LC319" class="css-1dcdqdg"><code> <span class="code-comment">// such as table ancestors and cross browser bugs.</span>
+</code></td></tr><tr><td id="L320" class="css-a4x74f"><span>320</span></td><td id="LC320" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L321" class="css-a4x74f"><span>321</span></td><td id="LC321" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L322" class="css-a4x74f"><span>322</span></td><td id="LC322" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getOffsetParent</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L323" class="css-a4x74f"><span>323</span></td><td id="LC323" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> <span class="code-built_in">window</span> = getWindow(element);
+</code></td></tr><tr><td id="L324" class="css-a4x74f"><span>324</span></td><td id="LC324" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetParent = getTrueOffsetParent(element);
+</code></td></tr><tr><td id="L325" class="css-a4x74f"><span>325</span></td><td id="LC325" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L326" class="css-a4x74f"><span>326</span></td><td id="LC326" class="css-1dcdqdg"><code> <span class="code-keyword">while</span> (offsetParent &amp;&amp; isTableElement(offsetParent) &amp;&amp; getComputedStyle(offsetParent).position === <span class="code-string">'static'</span>) {
+</code></td></tr><tr><td id="L327" class="css-a4x74f"><span>327</span></td><td id="LC327" class="css-1dcdqdg"><code> offsetParent = getTrueOffsetParent(offsetParent);
+</code></td></tr><tr><td id="L328" class="css-a4x74f"><span>328</span></td><td id="LC328" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L329" class="css-a4x74f"><span>329</span></td><td id="LC329" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L330" class="css-a4x74f"><span>330</span></td><td id="LC330" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetParent &amp;&amp; (getNodeName(offsetParent) === <span class="code-string">'html'</span> || getNodeName(offsetParent) === <span class="code-string">'body'</span> &amp;&amp; getComputedStyle(offsetParent).position === <span class="code-string">'static'</span>)) {
+</code></td></tr><tr><td id="L331" class="css-a4x74f"><span>331</span></td><td id="LC331" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L332" class="css-a4x74f"><span>332</span></td><td id="LC332" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L333" class="css-a4x74f"><span>333</span></td><td id="LC333" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L334" class="css-a4x74f"><span>334</span></td><td id="LC334" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> offsetParent || getContainingBlock(element) || <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L335" class="css-a4x74f"><span>335</span></td><td id="LC335" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L336" class="css-a4x74f"><span>336</span></td><td id="LC336" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L337" class="css-a4x74f"><span>337</span></td><td id="LC337" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> top = <span class="code-string">'top'</span>;
+</code></td></tr><tr><td id="L338" class="css-a4x74f"><span>338</span></td><td id="LC338" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> bottom = <span class="code-string">'bottom'</span>;
+</code></td></tr><tr><td id="L339" class="css-a4x74f"><span>339</span></td><td id="LC339" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> right = <span class="code-string">'right'</span>;
+</code></td></tr><tr><td id="L340" class="css-a4x74f"><span>340</span></td><td id="LC340" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> left = <span class="code-string">'left'</span>;
+</code></td></tr><tr><td id="L341" class="css-a4x74f"><span>341</span></td><td id="LC341" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> auto = <span class="code-string">'auto'</span>;
+</code></td></tr><tr><td id="L342" class="css-a4x74f"><span>342</span></td><td id="LC342" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacements = [top, bottom, right, left];
+</code></td></tr><tr><td id="L343" class="css-a4x74f"><span>343</span></td><td id="LC343" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> start = <span class="code-string">'start'</span>;
+</code></td></tr><tr><td id="L344" class="css-a4x74f"><span>344</span></td><td id="LC344" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> end = <span class="code-string">'end'</span>;
+</code></td></tr><tr><td id="L345" class="css-a4x74f"><span>345</span></td><td id="LC345" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingParents = <span class="code-string">'clippingParents'</span>;
+</code></td></tr><tr><td id="L346" class="css-a4x74f"><span>346</span></td><td id="LC346" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> viewport = <span class="code-string">'viewport'</span>;
+</code></td></tr><tr><td id="L347" class="css-a4x74f"><span>347</span></td><td id="LC347" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popper = <span class="code-string">'popper'</span>;
+</code></td></tr><tr><td id="L348" class="css-a4x74f"><span>348</span></td><td id="LC348" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> reference = <span class="code-string">'reference'</span>;
+</code></td></tr><tr><td id="L349" class="css-a4x74f"><span>349</span></td><td id="LC349" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L350" class="css-a4x74f"><span>350</span></td><td id="LC350" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> beforeRead = <span class="code-string">'beforeRead'</span>;
+</code></td></tr><tr><td id="L351" class="css-a4x74f"><span>351</span></td><td id="LC351" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> read = <span class="code-string">'read'</span>;
+</code></td></tr><tr><td id="L352" class="css-a4x74f"><span>352</span></td><td id="LC352" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> afterRead = <span class="code-string">'afterRead'</span>; <span class="code-comment">// pure-logic modifiers</span>
+</code></td></tr><tr><td id="L353" class="css-a4x74f"><span>353</span></td><td id="LC353" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L354" class="css-a4x74f"><span>354</span></td><td id="LC354" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> beforeMain = <span class="code-string">'beforeMain'</span>;
+</code></td></tr><tr><td id="L355" class="css-a4x74f"><span>355</span></td><td id="LC355" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> main = <span class="code-string">'main'</span>;
+</code></td></tr><tr><td id="L356" class="css-a4x74f"><span>356</span></td><td id="LC356" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> afterMain = <span class="code-string">'afterMain'</span>; <span class="code-comment">// modifier with the purpose to write to the DOM (or write into a framework state)</span>
+</code></td></tr><tr><td id="L357" class="css-a4x74f"><span>357</span></td><td id="LC357" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L358" class="css-a4x74f"><span>358</span></td><td id="LC358" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> beforeWrite = <span class="code-string">'beforeWrite'</span>;
+</code></td></tr><tr><td id="L359" class="css-a4x74f"><span>359</span></td><td id="LC359" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> write = <span class="code-string">'write'</span>;
+</code></td></tr><tr><td id="L360" class="css-a4x74f"><span>360</span></td><td id="LC360" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> afterWrite = <span class="code-string">'afterWrite'</span>;
+</code></td></tr><tr><td id="L361" class="css-a4x74f"><span>361</span></td><td id="LC361" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
+</code></td></tr><tr><td id="L362" class="css-a4x74f"><span>362</span></td><td id="LC362" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L363" class="css-a4x74f"><span>363</span></td><td id="LC363" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">order</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L364" class="css-a4x74f"><span>364</span></td><td id="LC364" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> map = <span class="code-keyword">new</span> <span class="code-built_in">Map</span>();
+</code></td></tr><tr><td id="L365" class="css-a4x74f"><span>365</span></td><td id="LC365" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> visited = <span class="code-keyword">new</span> <span class="code-built_in">Set</span>();
+</code></td></tr><tr><td id="L366" class="css-a4x74f"><span>366</span></td><td id="LC366" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> result = [];
+</code></td></tr><tr><td id="L367" class="css-a4x74f"><span>367</span></td><td id="LC367" class="css-1dcdqdg"><code> modifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L368" class="css-a4x74f"><span>368</span></td><td id="LC368" class="css-1dcdqdg"><code> map.set(modifier.name, modifier);
+</code></td></tr><tr><td id="L369" class="css-a4x74f"><span>369</span></td><td id="LC369" class="css-1dcdqdg"><code> }); <span class="code-comment">// On visiting object, check for its dependencies and visit them recursively</span>
+</code></td></tr><tr><td id="L370" class="css-a4x74f"><span>370</span></td><td id="LC370" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L371" class="css-a4x74f"><span>371</span></td><td id="LC371" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">sort</span>(<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L372" class="css-a4x74f"><span>372</span></td><td id="LC372" class="css-1dcdqdg"><code> visited.add(modifier.name);
+</code></td></tr><tr><td id="L373" class="css-a4x74f"><span>373</span></td><td id="LC373" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
+</code></td></tr><tr><td id="L374" class="css-a4x74f"><span>374</span></td><td id="LC374" class="css-1dcdqdg"><code> requires.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">dep</span>) </span>{
+</code></td></tr><tr><td id="L375" class="css-a4x74f"><span>375</span></td><td id="LC375" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!visited.has(dep)) {
+</code></td></tr><tr><td id="L376" class="css-a4x74f"><span>376</span></td><td id="LC376" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> depModifier = map.get(dep);
+</code></td></tr><tr><td id="L377" class="css-a4x74f"><span>377</span></td><td id="LC377" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L378" class="css-a4x74f"><span>378</span></td><td id="LC378" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (depModifier) {
+</code></td></tr><tr><td id="L379" class="css-a4x74f"><span>379</span></td><td id="LC379" class="css-1dcdqdg"><code> sort(depModifier);
+</code></td></tr><tr><td id="L380" class="css-a4x74f"><span>380</span></td><td id="LC380" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L381" class="css-a4x74f"><span>381</span></td><td id="LC381" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L382" class="css-a4x74f"><span>382</span></td><td id="LC382" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L383" class="css-a4x74f"><span>383</span></td><td id="LC383" class="css-1dcdqdg"><code> result.push(modifier);
+</code></td></tr><tr><td id="L384" class="css-a4x74f"><span>384</span></td><td id="LC384" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L385" class="css-a4x74f"><span>385</span></td><td id="LC385" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L386" class="css-a4x74f"><span>386</span></td><td id="LC386" class="css-1dcdqdg"><code> modifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L387" class="css-a4x74f"><span>387</span></td><td id="LC387" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!visited.has(modifier.name)) {
+</code></td></tr><tr><td id="L388" class="css-a4x74f"><span>388</span></td><td id="LC388" class="css-1dcdqdg"><code> <span class="code-comment">// check for visited object</span>
+</code></td></tr><tr><td id="L389" class="css-a4x74f"><span>389</span></td><td id="LC389" class="css-1dcdqdg"><code> sort(modifier);
+</code></td></tr><tr><td id="L390" class="css-a4x74f"><span>390</span></td><td id="LC390" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L391" class="css-a4x74f"><span>391</span></td><td id="LC391" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L392" class="css-a4x74f"><span>392</span></td><td id="LC392" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> result;
+</code></td></tr><tr><td id="L393" class="css-a4x74f"><span>393</span></td><td id="LC393" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L394" class="css-a4x74f"><span>394</span></td><td id="LC394" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L395" class="css-a4x74f"><span>395</span></td><td id="LC395" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">orderModifiers</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L396" class="css-a4x74f"><span>396</span></td><td id="LC396" class="css-1dcdqdg"><code> <span class="code-comment">// order based on dependencies</span>
+</code></td></tr><tr><td id="L397" class="css-a4x74f"><span>397</span></td><td id="LC397" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> orderedModifiers = order(modifiers); <span class="code-comment">// order based on phase</span>
+</code></td></tr><tr><td id="L398" class="css-a4x74f"><span>398</span></td><td id="LC398" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L399" class="css-a4x74f"><span>399</span></td><td id="LC399" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> modifierPhases.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">acc, phase</span>) </span>{
+</code></td></tr><tr><td id="L400" class="css-a4x74f"><span>400</span></td><td id="LC400" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> acc.concat(orderedModifiers.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L401" class="css-a4x74f"><span>401</span></td><td id="LC401" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> modifier.phase === phase;
+</code></td></tr><tr><td id="L402" class="css-a4x74f"><span>402</span></td><td id="LC402" class="css-1dcdqdg"><code> }));
+</code></td></tr><tr><td id="L403" class="css-a4x74f"><span>403</span></td><td id="LC403" class="css-1dcdqdg"><code> }, []);
+</code></td></tr><tr><td id="L404" class="css-a4x74f"><span>404</span></td><td id="LC404" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L405" class="css-a4x74f"><span>405</span></td><td id="LC405" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L406" class="css-a4x74f"><span>406</span></td><td id="LC406" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">debounce</span>(<span class="code-params">fn</span>) </span>{
+</code></td></tr><tr><td id="L407" class="css-a4x74f"><span>407</span></td><td id="LC407" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> pending;
+</code></td></tr><tr><td id="L408" class="css-a4x74f"><span>408</span></td><td id="LC408" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L409" class="css-a4x74f"><span>409</span></td><td id="LC409" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!pending) {
+</code></td></tr><tr><td id="L410" class="css-a4x74f"><span>410</span></td><td id="LC410" class="css-1dcdqdg"><code> pending = <span class="code-keyword">new</span> <span class="code-built_in">Promise</span>(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">resolve</span>) </span>{
+</code></td></tr><tr><td id="L411" class="css-a4x74f"><span>411</span></td><td id="LC411" class="css-1dcdqdg"><code> <span class="code-built_in">Promise</span>.resolve().then(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L412" class="css-a4x74f"><span>412</span></td><td id="LC412" class="css-1dcdqdg"><code> pending = <span class="code-literal">undefined</span>;
+</code></td></tr><tr><td id="L413" class="css-a4x74f"><span>413</span></td><td id="LC413" class="css-1dcdqdg"><code> resolve(fn());
+</code></td></tr><tr><td id="L414" class="css-a4x74f"><span>414</span></td><td id="LC414" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L415" class="css-a4x74f"><span>415</span></td><td id="LC415" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L416" class="css-a4x74f"><span>416</span></td><td id="LC416" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L417" class="css-a4x74f"><span>417</span></td><td id="LC417" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L418" class="css-a4x74f"><span>418</span></td><td id="LC418" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> pending;
+</code></td></tr><tr><td id="L419" class="css-a4x74f"><span>419</span></td><td id="LC419" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L420" class="css-a4x74f"><span>420</span></td><td id="LC420" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L421" class="css-a4x74f"><span>421</span></td><td id="LC421" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L422" class="css-a4x74f"><span>422</span></td><td id="LC422" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">format</span>(<span class="code-params">str</span>) </span>{
+</code></td></tr><tr><td id="L423" class="css-a4x74f"><span>423</span></td><td id="LC423" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> _len = <span class="code-built_in">arguments</span>.length, args = <span class="code-keyword">new</span> <span class="code-built_in">Array</span>(_len &gt; <span class="code-number">1</span> ? _len - <span class="code-number">1</span> : <span class="code-number">0</span>), _key = <span class="code-number">1</span>; _key &lt; _len; _key++) {
+</code></td></tr><tr><td id="L424" class="css-a4x74f"><span>424</span></td><td id="LC424" class="css-1dcdqdg"><code> args[_key - <span class="code-number">1</span>] = <span class="code-built_in">arguments</span>[_key];
+</code></td></tr><tr><td id="L425" class="css-a4x74f"><span>425</span></td><td id="LC425" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L426" class="css-a4x74f"><span>426</span></td><td id="LC426" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L427" class="css-a4x74f"><span>427</span></td><td id="LC427" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [].concat(args).reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">p, c</span>) </span>{
+</code></td></tr><tr><td id="L428" class="css-a4x74f"><span>428</span></td><td id="LC428" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> p.replace(<span class="code-regexp">/%s/</span>, c);
+</code></td></tr><tr><td id="L429" class="css-a4x74f"><span>429</span></td><td id="LC429" class="css-1dcdqdg"><code> }, str);
+</code></td></tr><tr><td id="L430" class="css-a4x74f"><span>430</span></td><td id="LC430" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L431" class="css-a4x74f"><span>431</span></td><td id="LC431" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L432" class="css-a4x74f"><span>432</span></td><td id="LC432" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> INVALID_MODIFIER_ERROR = <span class="code-string">'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s'</span>;
+</code></td></tr><tr><td id="L433" class="css-a4x74f"><span>433</span></td><td id="LC433" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> MISSING_DEPENDENCY_ERROR = <span class="code-string">'Popper: modifier "%s" requires "%s", but "%s" modifier is not available'</span>;
+</code></td></tr><tr><td id="L434" class="css-a4x74f"><span>434</span></td><td id="LC434" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> VALID_PROPERTIES = [<span class="code-string">'name'</span>, <span class="code-string">'enabled'</span>, <span class="code-string">'phase'</span>, <span class="code-string">'fn'</span>, <span class="code-string">'effect'</span>, <span class="code-string">'requires'</span>, <span class="code-string">'options'</span>];
+</code></td></tr><tr><td id="L435" class="css-a4x74f"><span>435</span></td><td id="LC435" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">validateModifiers</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L436" class="css-a4x74f"><span>436</span></td><td id="LC436" class="css-1dcdqdg"><code> modifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L437" class="css-a4x74f"><span>437</span></td><td id="LC437" class="css-1dcdqdg"><code> [].concat(<span class="code-built_in">Object</span>.keys(modifier), VALID_PROPERTIES) <span class="code-comment">// IE11-compatible replacement for `new Set(iterable)`</span>
+</code></td></tr><tr><td id="L438" class="css-a4x74f"><span>438</span></td><td id="LC438" class="css-1dcdqdg"><code> .filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">value, index, self</span>) </span>{
+</code></td></tr><tr><td id="L439" class="css-a4x74f"><span>439</span></td><td id="LC439" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> self.indexOf(value) === index;
+</code></td></tr><tr><td id="L440" class="css-a4x74f"><span>440</span></td><td id="LC440" class="css-1dcdqdg"><code> }).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">key</span>) </span>{
+</code></td></tr><tr><td id="L441" class="css-a4x74f"><span>441</span></td><td id="LC441" class="css-1dcdqdg"><code> <span class="code-keyword">switch</span> (key) {
+</code></td></tr><tr><td id="L442" class="css-a4x74f"><span>442</span></td><td id="LC442" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'name'</span>:
+</code></td></tr><tr><td id="L443" class="css-a4x74f"><span>443</span></td><td id="LC443" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> modifier.name !== <span class="code-string">'string'</span>) {
+</code></td></tr><tr><td id="L444" class="css-a4x74f"><span>444</span></td><td id="LC444" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, <span class="code-built_in">String</span>(modifier.name), <span class="code-string">'"name"'</span>, <span class="code-string">'"string"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.name) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L445" class="css-a4x74f"><span>445</span></td><td id="LC445" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L446" class="css-a4x74f"><span>446</span></td><td id="LC446" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L447" class="css-a4x74f"><span>447</span></td><td id="LC447" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L448" class="css-a4x74f"><span>448</span></td><td id="LC448" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L449" class="css-a4x74f"><span>449</span></td><td id="LC449" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'enabled'</span>:
+</code></td></tr><tr><td id="L450" class="css-a4x74f"><span>450</span></td><td id="LC450" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> modifier.enabled !== <span class="code-string">'boolean'</span>) {
+</code></td></tr><tr><td id="L451" class="css-a4x74f"><span>451</span></td><td id="LC451" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"enabled"'</span>, <span class="code-string">'"boolean"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.enabled) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L452" class="css-a4x74f"><span>452</span></td><td id="LC452" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L453" class="css-a4x74f"><span>453</span></td><td id="LC453" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L454" class="css-a4x74f"><span>454</span></td><td id="LC454" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L455" class="css-a4x74f"><span>455</span></td><td id="LC455" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L456" class="css-a4x74f"><span>456</span></td><td id="LC456" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'phase'</span>:
+</code></td></tr><tr><td id="L457" class="css-a4x74f"><span>457</span></td><td id="LC457" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifierPhases.indexOf(modifier.phase) &lt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L458" class="css-a4x74f"><span>458</span></td><td id="LC458" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"phase"'</span>, <span class="code-string">"either "</span> + modifierPhases.join(<span class="code-string">', '</span>), <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.phase) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L459" class="css-a4x74f"><span>459</span></td><td id="LC459" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L460" class="css-a4x74f"><span>460</span></td><td id="LC460" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L461" class="css-a4x74f"><span>461</span></td><td id="LC461" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L462" class="css-a4x74f"><span>462</span></td><td id="LC462" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L463" class="css-a4x74f"><span>463</span></td><td id="LC463" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'fn'</span>:
+</code></td></tr><tr><td id="L464" class="css-a4x74f"><span>464</span></td><td id="LC464" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> modifier.fn !== <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L465" class="css-a4x74f"><span>465</span></td><td id="LC465" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"fn"'</span>, <span class="code-string">'"function"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.fn) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L466" class="css-a4x74f"><span>466</span></td><td id="LC466" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L467" class="css-a4x74f"><span>467</span></td><td id="LC467" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L468" class="css-a4x74f"><span>468</span></td><td id="LC468" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L469" class="css-a4x74f"><span>469</span></td><td id="LC469" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L470" class="css-a4x74f"><span>470</span></td><td id="LC470" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'effect'</span>:
+</code></td></tr><tr><td id="L471" class="css-a4x74f"><span>471</span></td><td id="LC471" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifier.effect != <span class="code-literal">null</span> &amp;&amp; <span class="code-keyword">typeof</span> modifier.effect !== <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L472" class="css-a4x74f"><span>472</span></td><td id="LC472" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"effect"'</span>, <span class="code-string">'"function"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.fn) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L473" class="css-a4x74f"><span>473</span></td><td id="LC473" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L474" class="css-a4x74f"><span>474</span></td><td id="LC474" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L475" class="css-a4x74f"><span>475</span></td><td id="LC475" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L476" class="css-a4x74f"><span>476</span></td><td id="LC476" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L477" class="css-a4x74f"><span>477</span></td><td id="LC477" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'requires'</span>:
+</code></td></tr><tr><td id="L478" class="css-a4x74f"><span>478</span></td><td id="LC478" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifier.requires != <span class="code-literal">null</span> &amp;&amp; !<span class="code-built_in">Array</span>.isArray(modifier.requires)) {
+</code></td></tr><tr><td id="L479" class="css-a4x74f"><span>479</span></td><td id="LC479" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"requires"'</span>, <span class="code-string">'"array"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.requires) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L480" class="css-a4x74f"><span>480</span></td><td id="LC480" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L481" class="css-a4x74f"><span>481</span></td><td id="LC481" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L482" class="css-a4x74f"><span>482</span></td><td id="LC482" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L483" class="css-a4x74f"><span>483</span></td><td id="LC483" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L484" class="css-a4x74f"><span>484</span></td><td id="LC484" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'requiresIfExists'</span>:
+</code></td></tr><tr><td id="L485" class="css-a4x74f"><span>485</span></td><td id="LC485" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!<span class="code-built_in">Array</span>.isArray(modifier.requiresIfExists)) {
+</code></td></tr><tr><td id="L486" class="css-a4x74f"><span>486</span></td><td id="LC486" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"requiresIfExists"'</span>, <span class="code-string">'"array"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.requiresIfExists) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L487" class="css-a4x74f"><span>487</span></td><td id="LC487" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L488" class="css-a4x74f"><span>488</span></td><td id="LC488" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L489" class="css-a4x74f"><span>489</span></td><td id="LC489" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L490" class="css-a4x74f"><span>490</span></td><td id="LC490" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L491" class="css-a4x74f"><span>491</span></td><td id="LC491" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'options'</span>:
+</code></td></tr><tr><td id="L492" class="css-a4x74f"><span>492</span></td><td id="LC492" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'data'</span>:
+</code></td></tr><tr><td id="L493" class="css-a4x74f"><span>493</span></td><td id="LC493" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L494" class="css-a4x74f"><span>494</span></td><td id="LC494" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L495" class="css-a4x74f"><span>495</span></td><td id="LC495" class="css-1dcdqdg"><code> <span class="code-keyword">default</span>:
+</code></td></tr><tr><td id="L496" class="css-a4x74f"><span>496</span></td><td id="LC496" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(<span class="code-string">"PopperJS: an invalid property has been provided to the \""</span> + modifier.name + <span class="code-string">"\" modifier, valid properties are "</span> + VALID_PROPERTIES.map(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">s</span>) </span>{
+</code></td></tr><tr><td id="L497" class="css-a4x74f"><span>497</span></td><td id="LC497" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-string">"\""</span> + s + <span class="code-string">"\""</span>;
+</code></td></tr><tr><td id="L498" class="css-a4x74f"><span>498</span></td><td id="LC498" class="css-1dcdqdg"><code> }).join(<span class="code-string">', '</span>) + <span class="code-string">"; but \""</span> + key + <span class="code-string">"\" was provided."</span>);
+</code></td></tr><tr><td id="L499" class="css-a4x74f"><span>499</span></td><td id="LC499" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L500" class="css-a4x74f"><span>500</span></td><td id="LC500" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L501" class="css-a4x74f"><span>501</span></td><td id="LC501" class="css-1dcdqdg"><code> modifier.requires &amp;&amp; modifier.requires.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">requirement</span>) </span>{
+</code></td></tr><tr><td id="L502" class="css-a4x74f"><span>502</span></td><td id="LC502" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifiers.find(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">mod</span>) </span>{
+</code></td></tr><tr><td id="L503" class="css-a4x74f"><span>503</span></td><td id="LC503" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> mod.name === requirement;
+</code></td></tr><tr><td id="L504" class="css-a4x74f"><span>504</span></td><td id="LC504" class="css-1dcdqdg"><code> }) == <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L505" class="css-a4x74f"><span>505</span></td><td id="LC505" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(MISSING_DEPENDENCY_ERROR, <span class="code-built_in">String</span>(modifier.name), requirement, requirement));
+</code></td></tr><tr><td id="L506" class="css-a4x74f"><span>506</span></td><td id="LC506" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L507" class="css-a4x74f"><span>507</span></td><td id="LC507" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L508" class="css-a4x74f"><span>508</span></td><td id="LC508" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L509" class="css-a4x74f"><span>509</span></td><td id="LC509" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L510" class="css-a4x74f"><span>510</span></td><td id="LC510" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L511" class="css-a4x74f"><span>511</span></td><td id="LC511" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L512" class="css-a4x74f"><span>512</span></td><td id="LC512" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">uniqueBy</span>(<span class="code-params">arr, fn</span>) </span>{
+</code></td></tr><tr><td id="L513" class="css-a4x74f"><span>513</span></td><td id="LC513" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> identifiers = <span class="code-keyword">new</span> <span class="code-built_in">Set</span>();
+</code></td></tr><tr><td id="L514" class="css-a4x74f"><span>514</span></td><td id="LC514" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> arr.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">item</span>) </span>{
+</code></td></tr><tr><td id="L515" class="css-a4x74f"><span>515</span></td><td id="LC515" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> identifier = fn(item);
+</code></td></tr><tr><td id="L516" class="css-a4x74f"><span>516</span></td><td id="LC516" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L517" class="css-a4x74f"><span>517</span></td><td id="LC517" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!identifiers.has(identifier)) {
+</code></td></tr><tr><td id="L518" class="css-a4x74f"><span>518</span></td><td id="LC518" class="css-1dcdqdg"><code> identifiers.add(identifier);
+</code></td></tr><tr><td id="L519" class="css-a4x74f"><span>519</span></td><td id="LC519" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L520" class="css-a4x74f"><span>520</span></td><td id="LC520" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L521" class="css-a4x74f"><span>521</span></td><td id="LC521" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L522" class="css-a4x74f"><span>522</span></td><td id="LC522" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L523" class="css-a4x74f"><span>523</span></td><td id="LC523" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L524" class="css-a4x74f"><span>524</span></td><td id="LC524" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getBasePlacement</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L525" class="css-a4x74f"><span>525</span></td><td id="LC525" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> placement.split(<span class="code-string">'-'</span>)[<span class="code-number">0</span>];
+</code></td></tr><tr><td id="L526" class="css-a4x74f"><span>526</span></td><td id="LC526" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L527" class="css-a4x74f"><span>527</span></td><td id="LC527" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L528" class="css-a4x74f"><span>528</span></td><td id="LC528" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">mergeByName</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L529" class="css-a4x74f"><span>529</span></td><td id="LC529" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> merged = modifiers.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">merged, current</span>) </span>{
+</code></td></tr><tr><td id="L530" class="css-a4x74f"><span>530</span></td><td id="LC530" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> existing = merged[current.name];
+</code></td></tr><tr><td id="L531" class="css-a4x74f"><span>531</span></td><td id="LC531" class="css-1dcdqdg"><code> merged[current.name] = existing ? <span class="code-built_in">Object</span>.assign({}, existing, current, {
+</code></td></tr><tr><td id="L532" class="css-a4x74f"><span>532</span></td><td id="LC532" class="css-1dcdqdg"><code> options: <span class="code-built_in">Object</span>.assign({}, existing.options, current.options),
+</code></td></tr><tr><td id="L533" class="css-a4x74f"><span>533</span></td><td id="LC533" class="css-1dcdqdg"><code> data: <span class="code-built_in">Object</span>.assign({}, existing.data, current.data)
+</code></td></tr><tr><td id="L534" class="css-a4x74f"><span>534</span></td><td id="LC534" class="css-1dcdqdg"><code> }) : current;
+</code></td></tr><tr><td id="L535" class="css-a4x74f"><span>535</span></td><td id="LC535" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> merged;
+</code></td></tr><tr><td id="L536" class="css-a4x74f"><span>536</span></td><td id="LC536" class="css-1dcdqdg"><code> }, {}); <span class="code-comment">// IE11 does not support Object.values</span>
+</code></td></tr><tr><td id="L537" class="css-a4x74f"><span>537</span></td><td id="LC537" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L538" class="css-a4x74f"><span>538</span></td><td id="LC538" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.keys(merged).map(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">key</span>) </span>{
+</code></td></tr><tr><td id="L539" class="css-a4x74f"><span>539</span></td><td id="LC539" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> merged[key];
+</code></td></tr><tr><td id="L540" class="css-a4x74f"><span>540</span></td><td id="LC540" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L541" class="css-a4x74f"><span>541</span></td><td id="LC541" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L542" class="css-a4x74f"><span>542</span></td><td id="LC542" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L543" class="css-a4x74f"><span>543</span></td><td id="LC543" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getViewportRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L544" class="css-a4x74f"><span>544</span></td><td id="LC544" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = getWindow(element);
+</code></td></tr><tr><td id="L545" class="css-a4x74f"><span>545</span></td><td id="LC545" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> html = getDocumentElement(element);
+</code></td></tr><tr><td id="L546" class="css-a4x74f"><span>546</span></td><td id="LC546" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> visualViewport = win.visualViewport;
+</code></td></tr><tr><td id="L547" class="css-a4x74f"><span>547</span></td><td id="LC547" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> width = html.clientWidth;
+</code></td></tr><tr><td id="L548" class="css-a4x74f"><span>548</span></td><td id="LC548" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> height = html.clientHeight;
+</code></td></tr><tr><td id="L549" class="css-a4x74f"><span>549</span></td><td id="LC549" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> x = <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L550" class="css-a4x74f"><span>550</span></td><td id="LC550" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> y = <span class="code-number">0</span>; <span class="code-comment">// NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper</span>
+</code></td></tr><tr><td id="L551" class="css-a4x74f"><span>551</span></td><td id="LC551" class="css-1dcdqdg"><code> <span class="code-comment">// can be obscured underneath it.</span>
+</code></td></tr><tr><td id="L552" class="css-a4x74f"><span>552</span></td><td id="LC552" class="css-1dcdqdg"><code> <span class="code-comment">// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even</span>
+</code></td></tr><tr><td id="L553" class="css-a4x74f"><span>553</span></td><td id="LC553" class="css-1dcdqdg"><code> <span class="code-comment">// if it isn't open, so if this isn't available, the popper will be detected</span>
+</code></td></tr><tr><td id="L554" class="css-a4x74f"><span>554</span></td><td id="LC554" class="css-1dcdqdg"><code> <span class="code-comment">// to overflow the bottom of the screen too early.</span>
+</code></td></tr><tr><td id="L555" class="css-a4x74f"><span>555</span></td><td id="LC555" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L556" class="css-a4x74f"><span>556</span></td><td id="LC556" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (visualViewport) {
+</code></td></tr><tr><td id="L557" class="css-a4x74f"><span>557</span></td><td id="LC557" class="css-1dcdqdg"><code> width = visualViewport.width;
+</code></td></tr><tr><td id="L558" class="css-a4x74f"><span>558</span></td><td id="LC558" class="css-1dcdqdg"><code> height = visualViewport.height; <span class="code-comment">// Uses Layout Viewport (like Chrome; Safari does not currently)</span>
+</code></td></tr><tr><td id="L559" class="css-a4x74f"><span>559</span></td><td id="LC559" class="css-1dcdqdg"><code> <span class="code-comment">// In Chrome, it returns a value very close to 0 (+/-) but contains rounding</span>
+</code></td></tr><tr><td id="L560" class="css-a4x74f"><span>560</span></td><td id="LC560" class="css-1dcdqdg"><code> <span class="code-comment">// errors due to floating point numbers, so we need to check precision.</span>
+</code></td></tr><tr><td id="L561" class="css-a4x74f"><span>561</span></td><td id="LC561" class="css-1dcdqdg"><code> <span class="code-comment">// Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed</span>
+</code></td></tr><tr><td id="L562" class="css-a4x74f"><span>562</span></td><td id="LC562" class="css-1dcdqdg"><code> <span class="code-comment">// Feature detection fails in mobile emulation mode in Chrome.</span>
+</code></td></tr><tr><td id="L563" class="css-a4x74f"><span>563</span></td><td id="LC563" class="css-1dcdqdg"><code> <span class="code-comment">// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;</span>
+</code></td></tr><tr><td id="L564" class="css-a4x74f"><span>564</span></td><td id="LC564" class="css-1dcdqdg"><code> <span class="code-comment">// 0.001</span>
+</code></td></tr><tr><td id="L565" class="css-a4x74f"><span>565</span></td><td id="LC565" class="css-1dcdqdg"><code> <span class="code-comment">// Fallback here: "Not Safari" userAgent</span>
+</code></td></tr><tr><td id="L566" class="css-a4x74f"><span>566</span></td><td id="LC566" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L567" class="css-a4x74f"><span>567</span></td><td id="LC567" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!<span class="code-regexp">/^((?!chrome|android).)*safari/i</span>.test(navigator.userAgent)) {
+</code></td></tr><tr><td id="L568" class="css-a4x74f"><span>568</span></td><td id="LC568" class="css-1dcdqdg"><code> x = visualViewport.offsetLeft;
+</code></td></tr><tr><td id="L569" class="css-a4x74f"><span>569</span></td><td id="LC569" class="css-1dcdqdg"><code> y = visualViewport.offsetTop;
+</code></td></tr><tr><td id="L570" class="css-a4x74f"><span>570</span></td><td id="LC570" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L571" class="css-a4x74f"><span>571</span></td><td id="LC571" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L572" class="css-a4x74f"><span>572</span></td><td id="LC572" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L573" class="css-a4x74f"><span>573</span></td><td id="LC573" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L574" class="css-a4x74f"><span>574</span></td><td id="LC574" class="css-1dcdqdg"><code> width: width,
+</code></td></tr><tr><td id="L575" class="css-a4x74f"><span>575</span></td><td id="LC575" class="css-1dcdqdg"><code> height: height,
+</code></td></tr><tr><td id="L576" class="css-a4x74f"><span>576</span></td><td id="LC576" class="css-1dcdqdg"><code> x: x + getWindowScrollBarX(element),
+</code></td></tr><tr><td id="L577" class="css-a4x74f"><span>577</span></td><td id="LC577" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L578" class="css-a4x74f"><span>578</span></td><td id="LC578" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L579" class="css-a4x74f"><span>579</span></td><td id="LC579" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L580" class="css-a4x74f"><span>580</span></td><td id="LC580" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L581" class="css-a4x74f"><span>581</span></td><td id="LC581" class="css-1dcdqdg"><code> <span class="code-comment">// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable</span>
+</code></td></tr><tr><td id="L582" class="css-a4x74f"><span>582</span></td><td id="LC582" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L583" class="css-a4x74f"><span>583</span></td><td id="LC583" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getDocumentRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L584" class="css-a4x74f"><span>584</span></td><td id="LC584" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _element$ownerDocumen;
+</code></td></tr><tr><td id="L585" class="css-a4x74f"><span>585</span></td><td id="LC585" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L586" class="css-a4x74f"><span>586</span></td><td id="LC586" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> html = getDocumentElement(element);
+</code></td></tr><tr><td id="L587" class="css-a4x74f"><span>587</span></td><td id="LC587" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> winScroll = getWindowScroll(element);
+</code></td></tr><tr><td id="L588" class="css-a4x74f"><span>588</span></td><td id="LC588" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> body = (_element$ownerDocumen = element.ownerDocument) == <span class="code-literal">null</span> ? <span class="code-keyword">void</span> <span class="code-number">0</span> : _element$ownerDocumen.body;
+</code></td></tr><tr><td id="L589" class="css-a4x74f"><span>589</span></td><td id="LC589" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : <span class="code-number">0</span>, body ? body.clientWidth : <span class="code-number">0</span>);
+</code></td></tr><tr><td id="L590" class="css-a4x74f"><span>590</span></td><td id="LC590" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : <span class="code-number">0</span>, body ? body.clientHeight : <span class="code-number">0</span>);
+</code></td></tr><tr><td id="L591" class="css-a4x74f"><span>591</span></td><td id="LC591" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> x = -winScroll.scrollLeft + getWindowScrollBarX(element);
+</code></td></tr><tr><td id="L592" class="css-a4x74f"><span>592</span></td><td id="LC592" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> y = -winScroll.scrollTop;
+</code></td></tr><tr><td id="L593" class="css-a4x74f"><span>593</span></td><td id="LC593" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L594" class="css-a4x74f"><span>594</span></td><td id="LC594" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getComputedStyle(body || html).direction === <span class="code-string">'rtl'</span>) {
+</code></td></tr><tr><td id="L595" class="css-a4x74f"><span>595</span></td><td id="LC595" class="css-1dcdqdg"><code> x += max(html.clientWidth, body ? body.clientWidth : <span class="code-number">0</span>) - width;
+</code></td></tr><tr><td id="L596" class="css-a4x74f"><span>596</span></td><td id="LC596" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L597" class="css-a4x74f"><span>597</span></td><td id="LC597" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L598" class="css-a4x74f"><span>598</span></td><td id="LC598" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L599" class="css-a4x74f"><span>599</span></td><td id="LC599" class="css-1dcdqdg"><code> width: width,
+</code></td></tr><tr><td id="L600" class="css-a4x74f"><span>600</span></td><td id="LC600" class="css-1dcdqdg"><code> height: height,
+</code></td></tr><tr><td id="L601" class="css-a4x74f"><span>601</span></td><td id="LC601" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L602" class="css-a4x74f"><span>602</span></td><td id="LC602" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L603" class="css-a4x74f"><span>603</span></td><td id="LC603" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L604" class="css-a4x74f"><span>604</span></td><td id="LC604" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L605" class="css-a4x74f"><span>605</span></td><td id="LC605" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L606" class="css-a4x74f"><span>606</span></td><td id="LC606" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">contains</span>(<span class="code-params">parent, child</span>) </span>{
+</code></td></tr><tr><td id="L607" class="css-a4x74f"><span>607</span></td><td id="LC607" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rootNode = child.getRootNode &amp;&amp; child.getRootNode(); <span class="code-comment">// First, attempt with faster native method</span>
+</code></td></tr><tr><td id="L608" class="css-a4x74f"><span>608</span></td><td id="LC608" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L609" class="css-a4x74f"><span>609</span></td><td id="LC609" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (parent.contains(child)) {
+</code></td></tr><tr><td id="L610" class="css-a4x74f"><span>610</span></td><td id="LC610" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L611" class="css-a4x74f"><span>611</span></td><td id="LC611" class="css-1dcdqdg"><code> } <span class="code-comment">// then fallback to custom implementation with Shadow DOM support</span>
+</code></td></tr><tr><td id="L612" class="css-a4x74f"><span>612</span></td><td id="LC612" class="css-1dcdqdg"><code> <span class="code-keyword">else</span> <span class="code-keyword">if</span> (rootNode &amp;&amp; isShadowRoot(rootNode)) {
+</code></td></tr><tr><td id="L613" class="css-a4x74f"><span>613</span></td><td id="LC613" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> next = child;
+</code></td></tr><tr><td id="L614" class="css-a4x74f"><span>614</span></td><td id="LC614" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L615" class="css-a4x74f"><span>615</span></td><td id="LC615" class="css-1dcdqdg"><code> <span class="code-keyword">do</span> {
+</code></td></tr><tr><td id="L616" class="css-a4x74f"><span>616</span></td><td id="LC616" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (next &amp;&amp; parent.isSameNode(next)) {
+</code></td></tr><tr><td id="L617" class="css-a4x74f"><span>617</span></td><td id="LC617" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L618" class="css-a4x74f"><span>618</span></td><td id="LC618" class="css-1dcdqdg"><code> } <span class="code-comment">// $FlowFixMe[prop-missing]: need a better way to handle this...</span>
+</code></td></tr><tr><td id="L619" class="css-a4x74f"><span>619</span></td><td id="LC619" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L620" class="css-a4x74f"><span>620</span></td><td id="LC620" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L621" class="css-a4x74f"><span>621</span></td><td id="LC621" class="css-1dcdqdg"><code> next = next.parentNode || next.host;
+</code></td></tr><tr><td id="L622" class="css-a4x74f"><span>622</span></td><td id="LC622" class="css-1dcdqdg"><code> } <span class="code-keyword">while</span> (next);
+</code></td></tr><tr><td id="L623" class="css-a4x74f"><span>623</span></td><td id="LC623" class="css-1dcdqdg"><code> } <span class="code-comment">// Give up, the result is false</span>
+</code></td></tr><tr><td id="L624" class="css-a4x74f"><span>624</span></td><td id="LC624" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L625" class="css-a4x74f"><span>625</span></td><td id="LC625" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L626" class="css-a4x74f"><span>626</span></td><td id="LC626" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L627" class="css-a4x74f"><span>627</span></td><td id="LC627" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L628" class="css-a4x74f"><span>628</span></td><td id="LC628" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L629" class="css-a4x74f"><span>629</span></td><td id="LC629" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">rectToClientRect</span>(<span class="code-params">rect</span>) </span>{
+</code></td></tr><tr><td id="L630" class="css-a4x74f"><span>630</span></td><td id="LC630" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, rect, {
+</code></td></tr><tr><td id="L631" class="css-a4x74f"><span>631</span></td><td id="LC631" class="css-1dcdqdg"><code> left: rect.x,
+</code></td></tr><tr><td id="L632" class="css-a4x74f"><span>632</span></td><td id="LC632" class="css-1dcdqdg"><code> top: rect.y,
+</code></td></tr><tr><td id="L633" class="css-a4x74f"><span>633</span></td><td id="LC633" class="css-1dcdqdg"><code> right: rect.x + rect.width,
+</code></td></tr><tr><td id="L634" class="css-a4x74f"><span>634</span></td><td id="LC634" class="css-1dcdqdg"><code> bottom: rect.y + rect.height
+</code></td></tr><tr><td id="L635" class="css-a4x74f"><span>635</span></td><td id="LC635" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L636" class="css-a4x74f"><span>636</span></td><td id="LC636" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L637" class="css-a4x74f"><span>637</span></td><td id="LC637" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L638" class="css-a4x74f"><span>638</span></td><td id="LC638" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getInnerBoundingClientRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L639" class="css-a4x74f"><span>639</span></td><td id="LC639" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = getBoundingClientRect(element);
+</code></td></tr><tr><td id="L640" class="css-a4x74f"><span>640</span></td><td id="LC640" class="css-1dcdqdg"><code> rect.top = rect.top + element.clientTop;
+</code></td></tr><tr><td id="L641" class="css-a4x74f"><span>641</span></td><td id="LC641" class="css-1dcdqdg"><code> rect.left = rect.left + element.clientLeft;
+</code></td></tr><tr><td id="L642" class="css-a4x74f"><span>642</span></td><td id="LC642" class="css-1dcdqdg"><code> rect.bottom = rect.top + element.clientHeight;
+</code></td></tr><tr><td id="L643" class="css-a4x74f"><span>643</span></td><td id="LC643" class="css-1dcdqdg"><code> rect.right = rect.left + element.clientWidth;
+</code></td></tr><tr><td id="L644" class="css-a4x74f"><span>644</span></td><td id="LC644" class="css-1dcdqdg"><code> rect.width = element.clientWidth;
+</code></td></tr><tr><td id="L645" class="css-a4x74f"><span>645</span></td><td id="LC645" class="css-1dcdqdg"><code> rect.height = element.clientHeight;
+</code></td></tr><tr><td id="L646" class="css-a4x74f"><span>646</span></td><td id="LC646" class="css-1dcdqdg"><code> rect.x = rect.left;
+</code></td></tr><tr><td id="L647" class="css-a4x74f"><span>647</span></td><td id="LC647" class="css-1dcdqdg"><code> rect.y = rect.top;
+</code></td></tr><tr><td id="L648" class="css-a4x74f"><span>648</span></td><td id="LC648" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> rect;
+</code></td></tr><tr><td id="L649" class="css-a4x74f"><span>649</span></td><td id="LC649" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L650" class="css-a4x74f"><span>650</span></td><td id="LC650" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L651" class="css-a4x74f"><span>651</span></td><td id="LC651" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getClientRectFromMixedType</span>(<span class="code-params">element, clippingParent</span>) </span>{
+</code></td></tr><tr><td id="L652" class="css-a4x74f"><span>652</span></td><td id="LC652" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
+</code></td></tr><tr><td id="L653" class="css-a4x74f"><span>653</span></td><td id="LC653" class="css-1dcdqdg"><code> } <span class="code-comment">// A "clipping parent" is an overflowable container with the characteristic of</span>
+</code></td></tr><tr><td id="L654" class="css-a4x74f"><span>654</span></td><td id="LC654" class="css-1dcdqdg"><code> <span class="code-comment">// clipping (or hiding) overflowing elements with a position different from</span>
+</code></td></tr><tr><td id="L655" class="css-a4x74f"><span>655</span></td><td id="LC655" class="css-1dcdqdg"><code> <span class="code-comment">// `initial`</span>
+</code></td></tr><tr><td id="L656" class="css-a4x74f"><span>656</span></td><td id="LC656" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L657" class="css-a4x74f"><span>657</span></td><td id="LC657" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L658" class="css-a4x74f"><span>658</span></td><td id="LC658" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getClippingParents</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L659" class="css-a4x74f"><span>659</span></td><td id="LC659" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingParents = listScrollParents(getParentNode(element));
+</code></td></tr><tr><td id="L660" class="css-a4x74f"><span>660</span></td><td id="LC660" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> canEscapeClipping = [<span class="code-string">'absolute'</span>, <span class="code-string">'fixed'</span>].indexOf(getComputedStyle(element).position) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L661" class="css-a4x74f"><span>661</span></td><td id="LC661" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clipperElement = canEscapeClipping &amp;&amp; isHTMLElement(element) ? getOffsetParent(element) : element;
+</code></td></tr><tr><td id="L662" class="css-a4x74f"><span>662</span></td><td id="LC662" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L663" class="css-a4x74f"><span>663</span></td><td id="LC663" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isElement(clipperElement)) {
+</code></td></tr><tr><td id="L664" class="css-a4x74f"><span>664</span></td><td id="LC664" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [];
+</code></td></tr><tr><td id="L665" class="css-a4x74f"><span>665</span></td><td id="LC665" class="css-1dcdqdg"><code> } <span class="code-comment">// $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414</span>
+</code></td></tr><tr><td id="L666" class="css-a4x74f"><span>666</span></td><td id="LC666" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L667" class="css-a4x74f"><span>667</span></td><td id="LC667" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L668" class="css-a4x74f"><span>668</span></td><td id="LC668" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> clippingParents.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">clippingParent</span>) </span>{
+</code></td></tr><tr><td id="L669" class="css-a4x74f"><span>669</span></td><td id="LC669" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> isElement(clippingParent) &amp;&amp; contains(clippingParent, clipperElement) &amp;&amp; getNodeName(clippingParent) !== <span class="code-string">'body'</span>;
+</code></td></tr><tr><td id="L670" class="css-a4x74f"><span>670</span></td><td id="LC670" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L671" class="css-a4x74f"><span>671</span></td><td id="LC671" class="css-1dcdqdg"><code> } <span class="code-comment">// Gets the maximum area that the element is visible in due to any number of</span>
+</code></td></tr><tr><td id="L672" class="css-a4x74f"><span>672</span></td><td id="LC672" class="css-1dcdqdg"><code> <span class="code-comment">// clipping parents</span>
+</code></td></tr><tr><td id="L673" class="css-a4x74f"><span>673</span></td><td id="LC673" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L674" class="css-a4x74f"><span>674</span></td><td id="LC674" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L675" class="css-a4x74f"><span>675</span></td><td id="LC675" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getClippingRect</span>(<span class="code-params">element, boundary, rootBoundary</span>) </span>{
+</code></td></tr><tr><td id="L676" class="css-a4x74f"><span>676</span></td><td id="LC676" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> mainClippingParents = boundary === <span class="code-string">'clippingParents'</span> ? getClippingParents(element) : [].concat(boundary);
+</code></td></tr><tr><td id="L677" class="css-a4x74f"><span>677</span></td><td id="LC677" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingParents = [].concat(mainClippingParents, [rootBoundary]);
+</code></td></tr><tr><td id="L678" class="css-a4x74f"><span>678</span></td><td id="LC678" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> firstClippingParent = clippingParents[<span class="code-number">0</span>];
+</code></td></tr><tr><td id="L679" class="css-a4x74f"><span>679</span></td><td id="LC679" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingRect = clippingParents.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">accRect, clippingParent</span>) </span>{
+</code></td></tr><tr><td id="L680" class="css-a4x74f"><span>680</span></td><td id="LC680" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = getClientRectFromMixedType(element, clippingParent);
+</code></td></tr><tr><td id="L681" class="css-a4x74f"><span>681</span></td><td id="LC681" class="css-1dcdqdg"><code> accRect.top = max(rect.top, accRect.top);
+</code></td></tr><tr><td id="L682" class="css-a4x74f"><span>682</span></td><td id="LC682" class="css-1dcdqdg"><code> accRect.right = min(rect.right, accRect.right);
+</code></td></tr><tr><td id="L683" class="css-a4x74f"><span>683</span></td><td id="LC683" class="css-1dcdqdg"><code> accRect.bottom = min(rect.bottom, accRect.bottom);
+</code></td></tr><tr><td id="L684" class="css-a4x74f"><span>684</span></td><td id="LC684" class="css-1dcdqdg"><code> accRect.left = max(rect.left, accRect.left);
+</code></td></tr><tr><td id="L685" class="css-a4x74f"><span>685</span></td><td id="LC685" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> accRect;
+</code></td></tr><tr><td id="L686" class="css-a4x74f"><span>686</span></td><td id="LC686" class="css-1dcdqdg"><code> }, getClientRectFromMixedType(element, firstClippingParent));
+</code></td></tr><tr><td id="L687" class="css-a4x74f"><span>687</span></td><td id="LC687" class="css-1dcdqdg"><code> clippingRect.width = clippingRect.right - clippingRect.left;
+</code></td></tr><tr><td id="L688" class="css-a4x74f"><span>688</span></td><td id="LC688" class="css-1dcdqdg"><code> clippingRect.height = clippingRect.bottom - clippingRect.top;
+</code></td></tr><tr><td id="L689" class="css-a4x74f"><span>689</span></td><td id="LC689" class="css-1dcdqdg"><code> clippingRect.x = clippingRect.left;
+</code></td></tr><tr><td id="L690" class="css-a4x74f"><span>690</span></td><td id="LC690" class="css-1dcdqdg"><code> clippingRect.y = clippingRect.top;
+</code></td></tr><tr><td id="L691" class="css-a4x74f"><span>691</span></td><td id="LC691" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> clippingRect;
+</code></td></tr><tr><td id="L692" class="css-a4x74f"><span>692</span></td><td id="LC692" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L693" class="css-a4x74f"><span>693</span></td><td id="LC693" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L694" class="css-a4x74f"><span>694</span></td><td id="LC694" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getVariation</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L695" class="css-a4x74f"><span>695</span></td><td id="LC695" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> placement.split(<span class="code-string">'-'</span>)[<span class="code-number">1</span>];
+</code></td></tr><tr><td id="L696" class="css-a4x74f"><span>696</span></td><td id="LC696" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L697" class="css-a4x74f"><span>697</span></td><td id="LC697" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L698" class="css-a4x74f"><span>698</span></td><td id="LC698" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getMainAxisFromPlacement</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L699" class="css-a4x74f"><span>699</span></td><td id="LC699" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [<span class="code-string">'top'</span>, <span class="code-string">'bottom'</span>].indexOf(placement) &gt;= <span class="code-number">0</span> ? <span class="code-string">'x'</span> : <span class="code-string">'y'</span>;
+</code></td></tr><tr><td id="L700" class="css-a4x74f"><span>700</span></td><td id="LC700" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L701" class="css-a4x74f"><span>701</span></td><td id="LC701" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L702" class="css-a4x74f"><span>702</span></td><td id="LC702" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">computeOffsets</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L703" class="css-a4x74f"><span>703</span></td><td id="LC703" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> reference = _ref.reference,
+</code></td></tr><tr><td id="L704" class="css-a4x74f"><span>704</span></td><td id="LC704" class="css-1dcdqdg"><code> element = _ref.element,
+</code></td></tr><tr><td id="L705" class="css-a4x74f"><span>705</span></td><td id="LC705" class="css-1dcdqdg"><code> placement = _ref.placement;
+</code></td></tr><tr><td id="L706" class="css-a4x74f"><span>706</span></td><td id="LC706" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacement = placement ? getBasePlacement(placement) : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L707" class="css-a4x74f"><span>707</span></td><td id="LC707" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> variation = placement ? getVariation(placement) : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L708" class="css-a4x74f"><span>708</span></td><td id="LC708" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonX = reference.x + reference.width / <span class="code-number">2</span> - element.width / <span class="code-number">2</span>;
+</code></td></tr><tr><td id="L709" class="css-a4x74f"><span>709</span></td><td id="LC709" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonY = reference.y + reference.height / <span class="code-number">2</span> - element.height / <span class="code-number">2</span>;
+</code></td></tr><tr><td id="L710" class="css-a4x74f"><span>710</span></td><td id="LC710" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsets;
+</code></td></tr><tr><td id="L711" class="css-a4x74f"><span>711</span></td><td id="LC711" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L712" class="css-a4x74f"><span>712</span></td><td id="LC712" class="css-1dcdqdg"><code> <span class="code-keyword">switch</span> (basePlacement) {
+</code></td></tr><tr><td id="L713" class="css-a4x74f"><span>713</span></td><td id="LC713" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> top:
+</code></td></tr><tr><td id="L714" class="css-a4x74f"><span>714</span></td><td id="LC714" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L715" class="css-a4x74f"><span>715</span></td><td id="LC715" class="css-1dcdqdg"><code> x: commonX,
+</code></td></tr><tr><td id="L716" class="css-a4x74f"><span>716</span></td><td id="LC716" class="css-1dcdqdg"><code> y: reference.y - element.height
+</code></td></tr><tr><td id="L717" class="css-a4x74f"><span>717</span></td><td id="LC717" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L718" class="css-a4x74f"><span>718</span></td><td id="LC718" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L719" class="css-a4x74f"><span>719</span></td><td id="LC719" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L720" class="css-a4x74f"><span>720</span></td><td id="LC720" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> bottom:
+</code></td></tr><tr><td id="L721" class="css-a4x74f"><span>721</span></td><td id="LC721" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L722" class="css-a4x74f"><span>722</span></td><td id="LC722" class="css-1dcdqdg"><code> x: commonX,
+</code></td></tr><tr><td id="L723" class="css-a4x74f"><span>723</span></td><td id="LC723" class="css-1dcdqdg"><code> y: reference.y + reference.height
+</code></td></tr><tr><td id="L724" class="css-a4x74f"><span>724</span></td><td id="LC724" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L725" class="css-a4x74f"><span>725</span></td><td id="LC725" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L726" class="css-a4x74f"><span>726</span></td><td id="LC726" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L727" class="css-a4x74f"><span>727</span></td><td id="LC727" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> right:
+</code></td></tr><tr><td id="L728" class="css-a4x74f"><span>728</span></td><td id="LC728" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L729" class="css-a4x74f"><span>729</span></td><td id="LC729" class="css-1dcdqdg"><code> x: reference.x + reference.width,
+</code></td></tr><tr><td id="L730" class="css-a4x74f"><span>730</span></td><td id="LC730" class="css-1dcdqdg"><code> y: commonY
+</code></td></tr><tr><td id="L731" class="css-a4x74f"><span>731</span></td><td id="LC731" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L732" class="css-a4x74f"><span>732</span></td><td id="LC732" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L733" class="css-a4x74f"><span>733</span></td><td id="LC733" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L734" class="css-a4x74f"><span>734</span></td><td id="LC734" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> left:
+</code></td></tr><tr><td id="L735" class="css-a4x74f"><span>735</span></td><td id="LC735" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L736" class="css-a4x74f"><span>736</span></td><td id="LC736" class="css-1dcdqdg"><code> x: reference.x - element.width,
+</code></td></tr><tr><td id="L737" class="css-a4x74f"><span>737</span></td><td id="LC737" class="css-1dcdqdg"><code> y: commonY
+</code></td></tr><tr><td id="L738" class="css-a4x74f"><span>738</span></td><td id="LC738" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L739" class="css-a4x74f"><span>739</span></td><td id="LC739" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L740" class="css-a4x74f"><span>740</span></td><td id="LC740" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L741" class="css-a4x74f"><span>741</span></td><td id="LC741" class="css-1dcdqdg"><code> <span class="code-keyword">default</span>:
+</code></td></tr><tr><td id="L742" class="css-a4x74f"><span>742</span></td><td id="LC742" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L743" class="css-a4x74f"><span>743</span></td><td id="LC743" class="css-1dcdqdg"><code> x: reference.x,
+</code></td></tr><tr><td id="L744" class="css-a4x74f"><span>744</span></td><td id="LC744" class="css-1dcdqdg"><code> y: reference.y
+</code></td></tr><tr><td id="L745" class="css-a4x74f"><span>745</span></td><td id="LC745" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L746" class="css-a4x74f"><span>746</span></td><td id="LC746" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L747" class="css-a4x74f"><span>747</span></td><td id="LC747" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L748" class="css-a4x74f"><span>748</span></td><td id="LC748" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L749" class="css-a4x74f"><span>749</span></td><td id="LC749" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L750" class="css-a4x74f"><span>750</span></td><td id="LC750" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (mainAxis != <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L751" class="css-a4x74f"><span>751</span></td><td id="LC751" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> len = mainAxis === <span class="code-string">'y'</span> ? <span class="code-string">'height'</span> : <span class="code-string">'width'</span>;
+</code></td></tr><tr><td id="L752" class="css-a4x74f"><span>752</span></td><td id="LC752" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L753" class="css-a4x74f"><span>753</span></td><td id="LC753" class="css-1dcdqdg"><code> <span class="code-keyword">switch</span> (variation) {
+</code></td></tr><tr><td id="L754" class="css-a4x74f"><span>754</span></td><td id="LC754" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> start:
+</code></td></tr><tr><td id="L755" class="css-a4x74f"><span>755</span></td><td id="LC755" class="css-1dcdqdg"><code> offsets[mainAxis] = offsets[mainAxis] - (reference[len] / <span class="code-number">2</span> - element[len] / <span class="code-number">2</span>);
+</code></td></tr><tr><td id="L756" class="css-a4x74f"><span>756</span></td><td id="LC756" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L757" class="css-a4x74f"><span>757</span></td><td id="LC757" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L758" class="css-a4x74f"><span>758</span></td><td id="LC758" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> end:
+</code></td></tr><tr><td id="L759" class="css-a4x74f"><span>759</span></td><td id="LC759" class="css-1dcdqdg"><code> offsets[mainAxis] = offsets[mainAxis] + (reference[len] / <span class="code-number">2</span> - element[len] / <span class="code-number">2</span>);
+</code></td></tr><tr><td id="L760" class="css-a4x74f"><span>760</span></td><td id="LC760" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L761" class="css-a4x74f"><span>761</span></td><td id="LC761" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L762" class="css-a4x74f"><span>762</span></td><td id="LC762" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L763" class="css-a4x74f"><span>763</span></td><td id="LC763" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L764" class="css-a4x74f"><span>764</span></td><td id="LC764" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> offsets;
+</code></td></tr><tr><td id="L765" class="css-a4x74f"><span>765</span></td><td id="LC765" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L766" class="css-a4x74f"><span>766</span></td><td id="LC766" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L767" class="css-a4x74f"><span>767</span></td><td id="LC767" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getFreshSideObject</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L768" class="css-a4x74f"><span>768</span></td><td id="LC768" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L769" class="css-a4x74f"><span>769</span></td><td id="LC769" class="css-1dcdqdg"><code> top: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L770" class="css-a4x74f"><span>770</span></td><td id="LC770" class="css-1dcdqdg"><code> right: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L771" class="css-a4x74f"><span>771</span></td><td id="LC771" class="css-1dcdqdg"><code> bottom: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L772" class="css-a4x74f"><span>772</span></td><td id="LC772" class="css-1dcdqdg"><code> left: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L773" class="css-a4x74f"><span>773</span></td><td id="LC773" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L774" class="css-a4x74f"><span>774</span></td><td id="LC774" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L775" class="css-a4x74f"><span>775</span></td><td id="LC775" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L776" class="css-a4x74f"><span>776</span></td><td id="LC776" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">mergePaddingObject</span>(<span class="code-params">paddingObject</span>) </span>{
+</code></td></tr><tr><td id="L777" class="css-a4x74f"><span>777</span></td><td id="LC777" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, getFreshSideObject(), paddingObject);
+</code></td></tr><tr><td id="L778" class="css-a4x74f"><span>778</span></td><td id="LC778" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L779" class="css-a4x74f"><span>779</span></td><td id="LC779" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L780" class="css-a4x74f"><span>780</span></td><td id="LC780" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">expandToHashMap</span>(<span class="code-params">value, keys</span>) </span>{
+</code></td></tr><tr><td id="L781" class="css-a4x74f"><span>781</span></td><td id="LC781" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> keys.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">hashMap, key</span>) </span>{
+</code></td></tr><tr><td id="L782" class="css-a4x74f"><span>782</span></td><td id="LC782" class="css-1dcdqdg"><code> hashMap[key] = value;
+</code></td></tr><tr><td id="L783" class="css-a4x74f"><span>783</span></td><td id="LC783" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> hashMap;
+</code></td></tr><tr><td id="L784" class="css-a4x74f"><span>784</span></td><td id="LC784" class="css-1dcdqdg"><code> }, {});
+</code></td></tr><tr><td id="L785" class="css-a4x74f"><span>785</span></td><td id="LC785" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L786" class="css-a4x74f"><span>786</span></td><td id="LC786" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L787" class="css-a4x74f"><span>787</span></td><td id="LC787" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">detectOverflow</span>(<span class="code-params">state, options</span>) </span>{
+</code></td></tr><tr><td id="L788" class="css-a4x74f"><span>788</span></td><td id="LC788" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (options === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L789" class="css-a4x74f"><span>789</span></td><td id="LC789" class="css-1dcdqdg"><code> options = {};
+</code></td></tr><tr><td id="L790" class="css-a4x74f"><span>790</span></td><td id="LC790" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L791" class="css-a4x74f"><span>791</span></td><td id="LC791" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L792" class="css-a4x74f"><span>792</span></td><td id="LC792" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options = options,
+</code></td></tr><tr><td id="L793" class="css-a4x74f"><span>793</span></td><td id="LC793" class="css-1dcdqdg"><code> _options$placement = _options.placement,
+</code></td></tr><tr><td id="L794" class="css-a4x74f"><span>794</span></td><td id="LC794" class="css-1dcdqdg"><code> placement = _options$placement === <span class="code-keyword">void</span> <span class="code-number">0</span> ? state.placement : _options$placement,
+</code></td></tr><tr><td id="L795" class="css-a4x74f"><span>795</span></td><td id="LC795" class="css-1dcdqdg"><code> _options$boundary = _options.boundary,
+</code></td></tr><tr><td id="L796" class="css-a4x74f"><span>796</span></td><td id="LC796" class="css-1dcdqdg"><code> boundary = _options$boundary === <span class="code-keyword">void</span> <span class="code-number">0</span> ? clippingParents : _options$boundary,
+</code></td></tr><tr><td id="L797" class="css-a4x74f"><span>797</span></td><td id="LC797" class="css-1dcdqdg"><code> _options$rootBoundary = _options.rootBoundary,
+</code></td></tr><tr><td id="L798" class="css-a4x74f"><span>798</span></td><td id="LC798" class="css-1dcdqdg"><code> rootBoundary = _options$rootBoundary === <span class="code-keyword">void</span> <span class="code-number">0</span> ? viewport : _options$rootBoundary,
+</code></td></tr><tr><td id="L799" class="css-a4x74f"><span>799</span></td><td id="LC799" class="css-1dcdqdg"><code> _options$elementConte = _options.elementContext,
+</code></td></tr><tr><td id="L800" class="css-a4x74f"><span>800</span></td><td id="LC800" class="css-1dcdqdg"><code> elementContext = _options$elementConte === <span class="code-keyword">void</span> <span class="code-number">0</span> ? popper : _options$elementConte,
+</code></td></tr><tr><td id="L801" class="css-a4x74f"><span>801</span></td><td id="LC801" class="css-1dcdqdg"><code> _options$altBoundary = _options.altBoundary,
+</code></td></tr><tr><td id="L802" class="css-a4x74f"><span>802</span></td><td id="LC802" class="css-1dcdqdg"><code> altBoundary = _options$altBoundary === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">false</span> : _options$altBoundary,
+</code></td></tr><tr><td id="L803" class="css-a4x74f"><span>803</span></td><td id="LC803" class="css-1dcdqdg"><code> _options$padding = _options.padding,
+</code></td></tr><tr><td id="L804" class="css-a4x74f"><span>804</span></td><td id="LC804" class="css-1dcdqdg"><code> padding = _options$padding === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-number">0</span> : _options$padding;
+</code></td></tr><tr><td id="L805" class="css-a4x74f"><span>805</span></td><td id="LC805" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> paddingObject = mergePaddingObject(<span class="code-keyword">typeof</span> padding !== <span class="code-string">'number'</span> ? padding : expandToHashMap(padding, basePlacements));
+</code></td></tr><tr><td id="L806" class="css-a4x74f"><span>806</span></td><td id="LC806" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> altContext = elementContext === popper ? reference : popper;
+</code></td></tr><tr><td id="L807" class="css-a4x74f"><span>807</span></td><td id="LC807" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperRect = state.rects.popper;
+</code></td></tr><tr><td id="L808" class="css-a4x74f"><span>808</span></td><td id="LC808" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> element = state.elements[altBoundary ? altContext : elementContext];
+</code></td></tr><tr><td id="L809" class="css-a4x74f"><span>809</span></td><td id="LC809" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
+</code></td></tr><tr><td id="L810" class="css-a4x74f"><span>810</span></td><td id="LC810" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> referenceClientRect = getBoundingClientRect(state.elements.reference);
+</code></td></tr><tr><td id="L811" class="css-a4x74f"><span>811</span></td><td id="LC811" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperOffsets = computeOffsets({
+</code></td></tr><tr><td id="L812" class="css-a4x74f"><span>812</span></td><td id="LC812" class="css-1dcdqdg"><code> reference: referenceClientRect,
+</code></td></tr><tr><td id="L813" class="css-a4x74f"><span>813</span></td><td id="LC813" class="css-1dcdqdg"><code> element: popperRect,
+</code></td></tr><tr><td id="L814" class="css-a4x74f"><span>814</span></td><td id="LC814" class="css-1dcdqdg"><code> strategy: <span class="code-string">'absolute'</span>,
+</code></td></tr><tr><td id="L815" class="css-a4x74f"><span>815</span></td><td id="LC815" class="css-1dcdqdg"><code> placement: placement
+</code></td></tr><tr><td id="L816" class="css-a4x74f"><span>816</span></td><td id="LC816" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L817" class="css-a4x74f"><span>817</span></td><td id="LC817" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperClientRect = rectToClientRect(<span class="code-built_in">Object</span>.assign({}, popperRect, popperOffsets));
+</code></td></tr><tr><td id="L818" class="css-a4x74f"><span>818</span></td><td id="LC818" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; <span class="code-comment">// positive = overflowing the clipping rect</span>
+</code></td></tr><tr><td id="L819" class="css-a4x74f"><span>819</span></td><td id="LC819" class="css-1dcdqdg"><code> <span class="code-comment">// 0 or negative = within the clipping rect</span>
+</code></td></tr><tr><td id="L820" class="css-a4x74f"><span>820</span></td><td id="LC820" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L821" class="css-a4x74f"><span>821</span></td><td id="LC821" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> overflowOffsets = {
+</code></td></tr><tr><td id="L822" class="css-a4x74f"><span>822</span></td><td id="LC822" class="css-1dcdqdg"><code> top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
+</code></td></tr><tr><td id="L823" class="css-a4x74f"><span>823</span></td><td id="LC823" class="css-1dcdqdg"><code> bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
+</code></td></tr><tr><td id="L824" class="css-a4x74f"><span>824</span></td><td id="LC824" class="css-1dcdqdg"><code> left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
+</code></td></tr><tr><td id="L825" class="css-a4x74f"><span>825</span></td><td id="LC825" class="css-1dcdqdg"><code> right: elementClientRect.right - clippingClientRect.right + paddingObject.right
+</code></td></tr><tr><td id="L826" class="css-a4x74f"><span>826</span></td><td id="LC826" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L827" class="css-a4x74f"><span>827</span></td><td id="LC827" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetData = state.modifiersData.offset; <span class="code-comment">// Offsets can be applied only to the popper element</span>
+</code></td></tr><tr><td id="L828" class="css-a4x74f"><span>828</span></td><td id="LC828" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L829" class="css-a4x74f"><span>829</span></td><td id="LC829" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (elementContext === popper &amp;&amp; offsetData) {
+</code></td></tr><tr><td id="L830" class="css-a4x74f"><span>830</span></td><td id="LC830" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offset = offsetData[placement];
+</code></td></tr><tr><td id="L831" class="css-a4x74f"><span>831</span></td><td id="LC831" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(overflowOffsets).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">key</span>) </span>{
+</code></td></tr><tr><td id="L832" class="css-a4x74f"><span>832</span></td><td id="LC832" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> multiply = [right, bottom].indexOf(key) &gt;= <span class="code-number">0</span> ? <span class="code-number">1</span> : <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L833" class="css-a4x74f"><span>833</span></td><td id="LC833" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> axis = [top, bottom].indexOf(key) &gt;= <span class="code-number">0</span> ? <span class="code-string">'y'</span> : <span class="code-string">'x'</span>;
+</code></td></tr><tr><td id="L834" class="css-a4x74f"><span>834</span></td><td id="LC834" class="css-1dcdqdg"><code> overflowOffsets[key] += offset[axis] * multiply;
+</code></td></tr><tr><td id="L835" class="css-a4x74f"><span>835</span></td><td id="LC835" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L836" class="css-a4x74f"><span>836</span></td><td id="LC836" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L837" class="css-a4x74f"><span>837</span></td><td id="LC837" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L838" class="css-a4x74f"><span>838</span></td><td id="LC838" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> overflowOffsets;
+</code></td></tr><tr><td id="L839" class="css-a4x74f"><span>839</span></td><td id="LC839" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L840" class="css-a4x74f"><span>840</span></td><td id="LC840" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L841" class="css-a4x74f"><span>841</span></td><td id="LC841" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> INVALID_ELEMENT_ERROR = <span class="code-string">'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'</span>;
+</code></td></tr><tr><td id="L842" class="css-a4x74f"><span>842</span></td><td id="LC842" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> INFINITE_LOOP_ERROR = <span class="code-string">'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.'</span>;
+</code></td></tr><tr><td id="L843" class="css-a4x74f"><span>843</span></td><td id="LC843" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> DEFAULT_OPTIONS = {
+</code></td></tr><tr><td id="L844" class="css-a4x74f"><span>844</span></td><td id="LC844" class="css-1dcdqdg"><code> placement: <span class="code-string">'bottom'</span>,
+</code></td></tr><tr><td id="L845" class="css-a4x74f"><span>845</span></td><td id="LC845" class="css-1dcdqdg"><code> modifiers: [],
+</code></td></tr><tr><td id="L846" class="css-a4x74f"><span>846</span></td><td id="LC846" class="css-1dcdqdg"><code> strategy: <span class="code-string">'absolute'</span>
+</code></td></tr><tr><td id="L847" class="css-a4x74f"><span>847</span></td><td id="LC847" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L848" class="css-a4x74f"><span>848</span></td><td id="LC848" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L849" class="css-a4x74f"><span>849</span></td><td id="LC849" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">areValidElements</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L850" class="css-a4x74f"><span>850</span></td><td id="LC850" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> _len = <span class="code-built_in">arguments</span>.length, args = <span class="code-keyword">new</span> <span class="code-built_in">Array</span>(_len), _key = <span class="code-number">0</span>; _key &lt; _len; _key++) {
+</code></td></tr><tr><td id="L851" class="css-a4x74f"><span>851</span></td><td id="LC851" class="css-1dcdqdg"><code> args[_key] = <span class="code-built_in">arguments</span>[_key];
+</code></td></tr><tr><td id="L852" class="css-a4x74f"><span>852</span></td><td id="LC852" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L853" class="css-a4x74f"><span>853</span></td><td id="LC853" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L854" class="css-a4x74f"><span>854</span></td><td id="LC854" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> !args.some(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L855" class="css-a4x74f"><span>855</span></td><td id="LC855" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> !(element &amp;&amp; <span class="code-keyword">typeof</span> element.getBoundingClientRect === <span class="code-string">'function'</span>);
+</code></td></tr><tr><td id="L856" class="css-a4x74f"><span>856</span></td><td id="LC856" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L857" class="css-a4x74f"><span>857</span></td><td id="LC857" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L858" class="css-a4x74f"><span>858</span></td><td id="LC858" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L859" class="css-a4x74f"><span>859</span></td><td id="LC859" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">popperGenerator</span>(<span class="code-params">generatorOptions</span>) </span>{
+</code></td></tr><tr><td id="L860" class="css-a4x74f"><span>860</span></td><td id="LC860" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (generatorOptions === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L861" class="css-a4x74f"><span>861</span></td><td id="LC861" class="css-1dcdqdg"><code> generatorOptions = {};
+</code></td></tr><tr><td id="L862" class="css-a4x74f"><span>862</span></td><td id="LC862" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L863" class="css-a4x74f"><span>863</span></td><td id="LC863" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L864" class="css-a4x74f"><span>864</span></td><td id="LC864" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _generatorOptions = generatorOptions,
+</code></td></tr><tr><td id="L865" class="css-a4x74f"><span>865</span></td><td id="LC865" class="css-1dcdqdg"><code> _generatorOptions$def = _generatorOptions.defaultModifiers,
+</code></td></tr><tr><td id="L866" class="css-a4x74f"><span>866</span></td><td id="LC866" class="css-1dcdqdg"><code> defaultModifiers = _generatorOptions$def === <span class="code-keyword">void</span> <span class="code-number">0</span> ? [] : _generatorOptions$def,
+</code></td></tr><tr><td id="L867" class="css-a4x74f"><span>867</span></td><td id="LC867" class="css-1dcdqdg"><code> _generatorOptions$def2 = _generatorOptions.defaultOptions,
+</code></td></tr><tr><td id="L868" class="css-a4x74f"><span>868</span></td><td id="LC868" class="css-1dcdqdg"><code> defaultOptions = _generatorOptions$def2 === <span class="code-keyword">void</span> <span class="code-number">0</span> ? DEFAULT_OPTIONS : _generatorOptions$def2;
+</code></td></tr><tr><td id="L869" class="css-a4x74f"><span>869</span></td><td id="LC869" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">createPopper</span>(<span class="code-params">reference, popper, options</span>) </span>{
+</code></td></tr><tr><td id="L870" class="css-a4x74f"><span>870</span></td><td id="LC870" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (options === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L871" class="css-a4x74f"><span>871</span></td><td id="LC871" class="css-1dcdqdg"><code> options = defaultOptions;
+</code></td></tr><tr><td id="L872" class="css-a4x74f"><span>872</span></td><td id="LC872" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L873" class="css-a4x74f"><span>873</span></td><td id="LC873" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L874" class="css-a4x74f"><span>874</span></td><td id="LC874" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = {
+</code></td></tr><tr><td id="L875" class="css-a4x74f"><span>875</span></td><td id="LC875" class="css-1dcdqdg"><code> placement: <span class="code-string">'bottom'</span>,
+</code></td></tr><tr><td id="L876" class="css-a4x74f"><span>876</span></td><td id="LC876" class="css-1dcdqdg"><code> orderedModifiers: [],
+</code></td></tr><tr><td id="L877" class="css-a4x74f"><span>877</span></td><td id="LC877" class="css-1dcdqdg"><code> options: <span class="code-built_in">Object</span>.assign({}, DEFAULT_OPTIONS, defaultOptions),
+</code></td></tr><tr><td id="L878" class="css-a4x74f"><span>878</span></td><td id="LC878" class="css-1dcdqdg"><code> modifiersData: {},
+</code></td></tr><tr><td id="L879" class="css-a4x74f"><span>879</span></td><td id="LC879" class="css-1dcdqdg"><code> elements: {
+</code></td></tr><tr><td id="L880" class="css-a4x74f"><span>880</span></td><td id="LC880" class="css-1dcdqdg"><code> reference: reference,
+</code></td></tr><tr><td id="L881" class="css-a4x74f"><span>881</span></td><td id="LC881" class="css-1dcdqdg"><code> popper: popper
+</code></td></tr><tr><td id="L882" class="css-a4x74f"><span>882</span></td><td id="LC882" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L883" class="css-a4x74f"><span>883</span></td><td id="LC883" class="css-1dcdqdg"><code> attributes: {},
+</code></td></tr><tr><td id="L884" class="css-a4x74f"><span>884</span></td><td id="LC884" class="css-1dcdqdg"><code> styles: {}
+</code></td></tr><tr><td id="L885" class="css-a4x74f"><span>885</span></td><td id="LC885" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L886" class="css-a4x74f"><span>886</span></td><td id="LC886" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> effectCleanupFns = [];
+</code></td></tr><tr><td id="L887" class="css-a4x74f"><span>887</span></td><td id="LC887" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isDestroyed = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L888" class="css-a4x74f"><span>888</span></td><td id="LC888" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> instance = {
+</code></td></tr><tr><td id="L889" class="css-a4x74f"><span>889</span></td><td id="LC889" class="css-1dcdqdg"><code> state: state,
+</code></td></tr><tr><td id="L890" class="css-a4x74f"><span>890</span></td><td id="LC890" class="css-1dcdqdg"><code> setOptions: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">setOptions</span>(<span class="code-params">setOptionsAction</span>) </span>{
+</code></td></tr><tr><td id="L891" class="css-a4x74f"><span>891</span></td><td id="LC891" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> options = <span class="code-keyword">typeof</span> setOptionsAction === <span class="code-string">'function'</span> ? setOptionsAction(state.options) : setOptionsAction;
+</code></td></tr><tr><td id="L892" class="css-a4x74f"><span>892</span></td><td id="LC892" class="css-1dcdqdg"><code> cleanupModifierEffects();
+</code></td></tr><tr><td id="L893" class="css-a4x74f"><span>893</span></td><td id="LC893" class="css-1dcdqdg"><code> state.options = <span class="code-built_in">Object</span>.assign({}, defaultOptions, state.options, options);
+</code></td></tr><tr><td id="L894" class="css-a4x74f"><span>894</span></td><td id="LC894" class="css-1dcdqdg"><code> state.scrollParents = {
+</code></td></tr><tr><td id="L895" class="css-a4x74f"><span>895</span></td><td id="LC895" class="css-1dcdqdg"><code> reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
+</code></td></tr><tr><td id="L896" class="css-a4x74f"><span>896</span></td><td id="LC896" class="css-1dcdqdg"><code> popper: listScrollParents(popper)
+</code></td></tr><tr><td id="L897" class="css-a4x74f"><span>897</span></td><td id="LC897" class="css-1dcdqdg"><code> }; <span class="code-comment">// Orders the modifiers based on their dependencies and `phase`</span>
+</code></td></tr><tr><td id="L898" class="css-a4x74f"><span>898</span></td><td id="LC898" class="css-1dcdqdg"><code> <span class="code-comment">// properties</span>
+</code></td></tr><tr><td id="L899" class="css-a4x74f"><span>899</span></td><td id="LC899" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L900" class="css-a4x74f"><span>900</span></td><td id="LC900" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); <span class="code-comment">// Strip out disabled modifiers</span>
+</code></td></tr><tr><td id="L901" class="css-a4x74f"><span>901</span></td><td id="LC901" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L902" class="css-a4x74f"><span>902</span></td><td id="LC902" class="css-1dcdqdg"><code> state.orderedModifiers = orderedModifiers.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">m</span>) </span>{
+</code></td></tr><tr><td id="L903" class="css-a4x74f"><span>903</span></td><td id="LC903" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> m.enabled;
+</code></td></tr><tr><td id="L904" class="css-a4x74f"><span>904</span></td><td id="LC904" class="css-1dcdqdg"><code> }); <span class="code-comment">// Validate the provided modifiers so that the consumer will get warned</span>
+</code></td></tr><tr><td id="L905" class="css-a4x74f"><span>905</span></td><td id="LC905" class="css-1dcdqdg"><code> <span class="code-comment">// if one of the modifiers is invalid for any reason</span>
+</code></td></tr><tr><td id="L906" class="css-a4x74f"><span>906</span></td><td id="LC906" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L907" class="css-a4x74f"><span>907</span></td><td id="LC907" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L908" class="css-a4x74f"><span>908</span></td><td id="LC908" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L909" class="css-a4x74f"><span>909</span></td><td id="LC909" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> name = _ref.name;
+</code></td></tr><tr><td id="L910" class="css-a4x74f"><span>910</span></td><td id="LC910" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> name;
+</code></td></tr><tr><td id="L911" class="css-a4x74f"><span>911</span></td><td id="LC911" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L912" class="css-a4x74f"><span>912</span></td><td id="LC912" class="css-1dcdqdg"><code> validateModifiers(modifiers);
+</code></td></tr><tr><td id="L913" class="css-a4x74f"><span>913</span></td><td id="LC913" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L914" class="css-a4x74f"><span>914</span></td><td id="LC914" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getBasePlacement(state.options.placement) === auto) {
+</code></td></tr><tr><td id="L915" class="css-a4x74f"><span>915</span></td><td id="LC915" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> flipModifier = state.orderedModifiers.find(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">_ref2</span>) </span>{
+</code></td></tr><tr><td id="L916" class="css-a4x74f"><span>916</span></td><td id="LC916" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> name = _ref2.name;
+</code></td></tr><tr><td id="L917" class="css-a4x74f"><span>917</span></td><td id="LC917" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> name === <span class="code-string">'flip'</span>;
+</code></td></tr><tr><td id="L918" class="css-a4x74f"><span>918</span></td><td id="LC918" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L919" class="css-a4x74f"><span>919</span></td><td id="LC919" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L920" class="css-a4x74f"><span>920</span></td><td id="LC920" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!flipModifier) {
+</code></td></tr><tr><td id="L921" class="css-a4x74f"><span>921</span></td><td id="LC921" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error([<span class="code-string">'Popper: "auto" placements require the "flip" modifier be'</span>, <span class="code-string">'present and enabled to work.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L922" class="css-a4x74f"><span>922</span></td><td id="LC922" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L923" class="css-a4x74f"><span>923</span></td><td id="LC923" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L924" class="css-a4x74f"><span>924</span></td><td id="LC924" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L925" class="css-a4x74f"><span>925</span></td><td id="LC925" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _getComputedStyle = getComputedStyle(popper),
+</code></td></tr><tr><td id="L926" class="css-a4x74f"><span>926</span></td><td id="LC926" class="css-1dcdqdg"><code> marginTop = _getComputedStyle.marginTop,
+</code></td></tr><tr><td id="L927" class="css-a4x74f"><span>927</span></td><td id="LC927" class="css-1dcdqdg"><code> marginRight = _getComputedStyle.marginRight,
+</code></td></tr><tr><td id="L928" class="css-a4x74f"><span>928</span></td><td id="LC928" class="css-1dcdqdg"><code> marginBottom = _getComputedStyle.marginBottom,
+</code></td></tr><tr><td id="L929" class="css-a4x74f"><span>929</span></td><td id="LC929" class="css-1dcdqdg"><code> marginLeft = _getComputedStyle.marginLeft; <span class="code-comment">// We no longer take into account `margins` on the popper, and it can</span>
+</code></td></tr><tr><td id="L930" class="css-a4x74f"><span>930</span></td><td id="LC930" class="css-1dcdqdg"><code> <span class="code-comment">// cause bugs with positioning, so we'll warn the consumer</span>
+</code></td></tr><tr><td id="L931" class="css-a4x74f"><span>931</span></td><td id="LC931" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L932" class="css-a4x74f"><span>932</span></td><td id="LC932" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L933" class="css-a4x74f"><span>933</span></td><td id="LC933" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> ([marginTop, marginRight, marginBottom, marginLeft].some(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">margin</span>) </span>{
+</code></td></tr><tr><td id="L934" class="css-a4x74f"><span>934</span></td><td id="LC934" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">parseFloat</span>(margin);
+</code></td></tr><tr><td id="L935" class="css-a4x74f"><span>935</span></td><td id="LC935" class="css-1dcdqdg"><code> })) {
+</code></td></tr><tr><td id="L936" class="css-a4x74f"><span>936</span></td><td id="LC936" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.warn([<span class="code-string">'Popper: CSS "margin" styles cannot be used to apply padding'</span>, <span class="code-string">'between the popper and its reference element or boundary.'</span>, <span class="code-string">'To replicate margin, use the `offset` modifier, as well as'</span>, <span class="code-string">'the `padding` option in the `preventOverflow` and `flip`'</span>, <span class="code-string">'modifiers.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L937" class="css-a4x74f"><span>937</span></td><td id="LC937" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L938" class="css-a4x74f"><span>938</span></td><td id="LC938" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L939" class="css-a4x74f"><span>939</span></td><td id="LC939" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L940" class="css-a4x74f"><span>940</span></td><td id="LC940" class="css-1dcdqdg"><code> runModifierEffects();
+</code></td></tr><tr><td id="L941" class="css-a4x74f"><span>941</span></td><td id="LC941" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> instance.update();
+</code></td></tr><tr><td id="L942" class="css-a4x74f"><span>942</span></td><td id="LC942" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L943" class="css-a4x74f"><span>943</span></td><td id="LC943" class="css-1dcdqdg"><code> <span class="code-comment">// Sync update – it will always be executed, even if not necessary. This</span>
+</code></td></tr><tr><td id="L944" class="css-a4x74f"><span>944</span></td><td id="LC944" class="css-1dcdqdg"><code> <span class="code-comment">// is useful for low frequency updates where sync behavior simplifies the</span>
+</code></td></tr><tr><td id="L945" class="css-a4x74f"><span>945</span></td><td id="LC945" class="css-1dcdqdg"><code> <span class="code-comment">// logic.</span>
+</code></td></tr><tr><td id="L946" class="css-a4x74f"><span>946</span></td><td id="LC946" class="css-1dcdqdg"><code> <span class="code-comment">// For high frequency updates (e.g. `resize` and `scroll` events), always</span>
+</code></td></tr><tr><td id="L947" class="css-a4x74f"><span>947</span></td><td id="LC947" class="css-1dcdqdg"><code> <span class="code-comment">// prefer the async Popper#update method</span>
+</code></td></tr><tr><td id="L948" class="css-a4x74f"><span>948</span></td><td id="LC948" class="css-1dcdqdg"><code> forceUpdate: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">forceUpdate</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L949" class="css-a4x74f"><span>949</span></td><td id="LC949" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isDestroyed) {
+</code></td></tr><tr><td id="L950" class="css-a4x74f"><span>950</span></td><td id="LC950" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L951" class="css-a4x74f"><span>951</span></td><td id="LC951" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L952" class="css-a4x74f"><span>952</span></td><td id="LC952" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L953" class="css-a4x74f"><span>953</span></td><td id="LC953" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _state$elements = state.elements,
+</code></td></tr><tr><td id="L954" class="css-a4x74f"><span>954</span></td><td id="LC954" class="css-1dcdqdg"><code> reference = _state$elements.reference,
+</code></td></tr><tr><td id="L955" class="css-a4x74f"><span>955</span></td><td id="LC955" class="css-1dcdqdg"><code> popper = _state$elements.popper; <span class="code-comment">// Don't proceed if `reference` or `popper` are not valid elements</span>
+</code></td></tr><tr><td id="L956" class="css-a4x74f"><span>956</span></td><td id="LC956" class="css-1dcdqdg"><code> <span class="code-comment">// anymore</span>
+</code></td></tr><tr><td id="L957" class="css-a4x74f"><span>957</span></td><td id="LC957" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L958" class="css-a4x74f"><span>958</span></td><td id="LC958" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!areValidElements(reference, popper)) {
+</code></td></tr><tr><td id="L959" class="css-a4x74f"><span>959</span></td><td id="LC959" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L960" class="css-a4x74f"><span>960</span></td><td id="LC960" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(INVALID_ELEMENT_ERROR);
+</code></td></tr><tr><td id="L961" class="css-a4x74f"><span>961</span></td><td id="LC961" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L962" class="css-a4x74f"><span>962</span></td><td id="LC962" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L963" class="css-a4x74f"><span>963</span></td><td id="LC963" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L964" class="css-a4x74f"><span>964</span></td><td id="LC964" class="css-1dcdqdg"><code> } <span class="code-comment">// Store the reference and popper rects to be read by modifiers</span>
+</code></td></tr><tr><td id="L965" class="css-a4x74f"><span>965</span></td><td id="LC965" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L966" class="css-a4x74f"><span>966</span></td><td id="LC966" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L967" class="css-a4x74f"><span>967</span></td><td id="LC967" class="css-1dcdqdg"><code> state.rects = {
+</code></td></tr><tr><td id="L968" class="css-a4x74f"><span>968</span></td><td id="LC968" class="css-1dcdqdg"><code> reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === <span class="code-string">'fixed'</span>),
+</code></td></tr><tr><td id="L969" class="css-a4x74f"><span>969</span></td><td id="LC969" class="css-1dcdqdg"><code> popper: getLayoutRect(popper)
+</code></td></tr><tr><td id="L970" class="css-a4x74f"><span>970</span></td><td id="LC970" class="css-1dcdqdg"><code> }; <span class="code-comment">// Modifiers have the ability to reset the current update cycle. The</span>
+</code></td></tr><tr><td id="L971" class="css-a4x74f"><span>971</span></td><td id="LC971" class="css-1dcdqdg"><code> <span class="code-comment">// most common use case for this is the `flip` modifier changing the</span>
+</code></td></tr><tr><td id="L972" class="css-a4x74f"><span>972</span></td><td id="LC972" class="css-1dcdqdg"><code> <span class="code-comment">// placement, which then needs to re-run all the modifiers, because the</span>
+</code></td></tr><tr><td id="L973" class="css-a4x74f"><span>973</span></td><td id="LC973" class="css-1dcdqdg"><code> <span class="code-comment">// logic was previously ran for the previous placement and is therefore</span>
+</code></td></tr><tr><td id="L974" class="css-a4x74f"><span>974</span></td><td id="LC974" class="css-1dcdqdg"><code> <span class="code-comment">// stale/incorrect</span>
+</code></td></tr><tr><td id="L975" class="css-a4x74f"><span>975</span></td><td id="LC975" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L976" class="css-a4x74f"><span>976</span></td><td id="LC976" class="css-1dcdqdg"><code> state.reset = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L977" class="css-a4x74f"><span>977</span></td><td id="LC977" class="css-1dcdqdg"><code> state.placement = state.options.placement; <span class="code-comment">// On each update cycle, the `modifiersData` property for each modifier</span>
+</code></td></tr><tr><td id="L978" class="css-a4x74f"><span>978</span></td><td id="LC978" class="css-1dcdqdg"><code> <span class="code-comment">// is filled with the initial data specified by the modifier. This means</span>
+</code></td></tr><tr><td id="L979" class="css-a4x74f"><span>979</span></td><td id="LC979" class="css-1dcdqdg"><code> <span class="code-comment">// it doesn't persist and is fresh on each update.</span>
+</code></td></tr><tr><td id="L980" class="css-a4x74f"><span>980</span></td><td id="LC980" class="css-1dcdqdg"><code> <span class="code-comment">// To ensure persistent data, use `${name}#persistent`</span>
+</code></td></tr><tr><td id="L981" class="css-a4x74f"><span>981</span></td><td id="LC981" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L982" class="css-a4x74f"><span>982</span></td><td id="LC982" class="css-1dcdqdg"><code> state.orderedModifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L983" class="css-a4x74f"><span>983</span></td><td id="LC983" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> state.modifiersData[modifier.name] = <span class="code-built_in">Object</span>.assign({}, modifier.data);
+</code></td></tr><tr><td id="L984" class="css-a4x74f"><span>984</span></td><td id="LC984" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L985" class="css-a4x74f"><span>985</span></td><td id="LC985" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> __debug_loops__ = <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L986" class="css-a4x74f"><span>986</span></td><td id="LC986" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L987" class="css-a4x74f"><span>987</span></td><td id="LC987" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> index = <span class="code-number">0</span>; index &lt; state.orderedModifiers.length; index++) {
+</code></td></tr><tr><td id="L988" class="css-a4x74f"><span>988</span></td><td id="LC988" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L989" class="css-a4x74f"><span>989</span></td><td id="LC989" class="css-1dcdqdg"><code> __debug_loops__ += <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L990" class="css-a4x74f"><span>990</span></td><td id="LC990" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L991" class="css-a4x74f"><span>991</span></td><td id="LC991" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (__debug_loops__ &gt; <span class="code-number">100</span>) {
+</code></td></tr><tr><td id="L992" class="css-a4x74f"><span>992</span></td><td id="LC992" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(INFINITE_LOOP_ERROR);
+</code></td></tr><tr><td id="L993" class="css-a4x74f"><span>993</span></td><td id="LC993" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L994" class="css-a4x74f"><span>994</span></td><td id="LC994" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L995" class="css-a4x74f"><span>995</span></td><td id="LC995" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L996" class="css-a4x74f"><span>996</span></td><td id="LC996" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L997" class="css-a4x74f"><span>997</span></td><td id="LC997" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.reset === <span class="code-literal">true</span>) {
+</code></td></tr><tr><td id="L998" class="css-a4x74f"><span>998</span></td><td id="LC998" class="css-1dcdqdg"><code> state.reset = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L999" class="css-a4x74f"><span>999</span></td><td id="LC999" class="css-1dcdqdg"><code> index = <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L1000" class="css-a4x74f"><span>1000</span></td><td id="LC1000" class="css-1dcdqdg"><code> <span class="code-keyword">continue</span>;
+</code></td></tr><tr><td id="L1001" class="css-a4x74f"><span>1001</span></td><td id="LC1001" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1002" class="css-a4x74f"><span>1002</span></td><td id="LC1002" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1003" class="css-a4x74f"><span>1003</span></td><td id="LC1003" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _state$orderedModifie = state.orderedModifiers[index],
+</code></td></tr><tr><td id="L1004" class="css-a4x74f"><span>1004</span></td><td id="LC1004" class="css-1dcdqdg"><code> fn = _state$orderedModifie.fn,
+</code></td></tr><tr><td id="L1005" class="css-a4x74f"><span>1005</span></td><td id="LC1005" class="css-1dcdqdg"><code> _state$orderedModifie2 = _state$orderedModifie.options,
+</code></td></tr><tr><td id="L1006" class="css-a4x74f"><span>1006</span></td><td id="LC1006" class="css-1dcdqdg"><code> _options = _state$orderedModifie2 === <span class="code-keyword">void</span> <span class="code-number">0</span> ? {} : _state$orderedModifie2,
+</code></td></tr><tr><td id="L1007" class="css-a4x74f"><span>1007</span></td><td id="LC1007" class="css-1dcdqdg"><code> name = _state$orderedModifie.name;
+</code></td></tr><tr><td id="L1008" class="css-a4x74f"><span>1008</span></td><td id="LC1008" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1009" class="css-a4x74f"><span>1009</span></td><td id="LC1009" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> fn === <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L1010" class="css-a4x74f"><span>1010</span></td><td id="LC1010" class="css-1dcdqdg"><code> state = fn({
+</code></td></tr><tr><td id="L1011" class="css-a4x74f"><span>1011</span></td><td id="LC1011" class="css-1dcdqdg"><code> state: state,
+</code></td></tr><tr><td id="L1012" class="css-a4x74f"><span>1012</span></td><td id="LC1012" class="css-1dcdqdg"><code> options: _options,
+</code></td></tr><tr><td id="L1013" class="css-a4x74f"><span>1013</span></td><td id="LC1013" class="css-1dcdqdg"><code> name: name,
+</code></td></tr><tr><td id="L1014" class="css-a4x74f"><span>1014</span></td><td id="LC1014" class="css-1dcdqdg"><code> instance: instance
+</code></td></tr><tr><td id="L1015" class="css-a4x74f"><span>1015</span></td><td id="LC1015" class="css-1dcdqdg"><code> }) || state;
+</code></td></tr><tr><td id="L1016" class="css-a4x74f"><span>1016</span></td><td id="LC1016" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1017" class="css-a4x74f"><span>1017</span></td><td id="LC1017" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1018" class="css-a4x74f"><span>1018</span></td><td id="LC1018" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L1019" class="css-a4x74f"><span>1019</span></td><td id="LC1019" class="css-1dcdqdg"><code> <span class="code-comment">// Async and optimistically optimized update – it will not be executed if</span>
+</code></td></tr><tr><td id="L1020" class="css-a4x74f"><span>1020</span></td><td id="LC1020" class="css-1dcdqdg"><code> <span class="code-comment">// not necessary (debounced to run at most once-per-tick)</span>
+</code></td></tr><tr><td id="L1021" class="css-a4x74f"><span>1021</span></td><td id="LC1021" class="css-1dcdqdg"><code> update: debounce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1022" class="css-a4x74f"><span>1022</span></td><td id="LC1022" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-keyword">new</span> <span class="code-built_in">Promise</span>(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">resolve</span>) </span>{
+</code></td></tr><tr><td id="L1023" class="css-a4x74f"><span>1023</span></td><td id="LC1023" class="css-1dcdqdg"><code> instance.forceUpdate();
+</code></td></tr><tr><td id="L1024" class="css-a4x74f"><span>1024</span></td><td id="LC1024" class="css-1dcdqdg"><code> resolve(state);
+</code></td></tr><tr><td id="L1025" class="css-a4x74f"><span>1025</span></td><td id="LC1025" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1026" class="css-a4x74f"><span>1026</span></td><td id="LC1026" class="css-1dcdqdg"><code> }),
+</code></td></tr><tr><td id="L1027" class="css-a4x74f"><span>1027</span></td><td id="LC1027" class="css-1dcdqdg"><code> destroy: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">destroy</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1028" class="css-a4x74f"><span>1028</span></td><td id="LC1028" class="css-1dcdqdg"><code> cleanupModifierEffects();
+</code></td></tr><tr><td id="L1029" class="css-a4x74f"><span>1029</span></td><td id="LC1029" class="css-1dcdqdg"><code> isDestroyed = <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L1030" class="css-a4x74f"><span>1030</span></td><td id="LC1030" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1031" class="css-a4x74f"><span>1031</span></td><td id="LC1031" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1032" class="css-a4x74f"><span>1032</span></td><td id="LC1032" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1033" class="css-a4x74f"><span>1033</span></td><td id="LC1033" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!areValidElements(reference, popper)) {
+</code></td></tr><tr><td id="L1034" class="css-a4x74f"><span>1034</span></td><td id="LC1034" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L1035" class="css-a4x74f"><span>1035</span></td><td id="LC1035" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(INVALID_ELEMENT_ERROR);
+</code></td></tr><tr><td id="L1036" class="css-a4x74f"><span>1036</span></td><td id="LC1036" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1037" class="css-a4x74f"><span>1037</span></td><td id="LC1037" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1038" class="css-a4x74f"><span>1038</span></td><td id="LC1038" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> instance;
+</code></td></tr><tr><td id="L1039" class="css-a4x74f"><span>1039</span></td><td id="LC1039" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1040" class="css-a4x74f"><span>1040</span></td><td id="LC1040" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1041" class="css-a4x74f"><span>1041</span></td><td id="LC1041" class="css-1dcdqdg"><code> instance.setOptions(options).then(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">state</span>) </span>{
+</code></td></tr><tr><td id="L1042" class="css-a4x74f"><span>1042</span></td><td id="LC1042" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isDestroyed &amp;&amp; options.onFirstUpdate) {
+</code></td></tr><tr><td id="L1043" class="css-a4x74f"><span>1043</span></td><td id="LC1043" class="css-1dcdqdg"><code> options.onFirstUpdate(state);
+</code></td></tr><tr><td id="L1044" class="css-a4x74f"><span>1044</span></td><td id="LC1044" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1045" class="css-a4x74f"><span>1045</span></td><td id="LC1045" class="css-1dcdqdg"><code> }); <span class="code-comment">// Modifiers have the ability to execute arbitrary code before the first</span>
+</code></td></tr><tr><td id="L1046" class="css-a4x74f"><span>1046</span></td><td id="LC1046" class="css-1dcdqdg"><code> <span class="code-comment">// update cycle runs. They will be executed in the same order as the update</span>
+</code></td></tr><tr><td id="L1047" class="css-a4x74f"><span>1047</span></td><td id="LC1047" class="css-1dcdqdg"><code> <span class="code-comment">// cycle. This is useful when a modifier adds some persistent data that</span>
+</code></td></tr><tr><td id="L1048" class="css-a4x74f"><span>1048</span></td><td id="LC1048" class="css-1dcdqdg"><code> <span class="code-comment">// other modifiers need to use, but the modifier is run after the dependent</span>
+</code></td></tr><tr><td id="L1049" class="css-a4x74f"><span>1049</span></td><td id="LC1049" class="css-1dcdqdg"><code> <span class="code-comment">// one.</span>
+</code></td></tr><tr><td id="L1050" class="css-a4x74f"><span>1050</span></td><td id="LC1050" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1051" class="css-a4x74f"><span>1051</span></td><td id="LC1051" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">runModifierEffects</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1052" class="css-a4x74f"><span>1052</span></td><td id="LC1052" class="css-1dcdqdg"><code> state.orderedModifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">_ref3</span>) </span>{
+</code></td></tr><tr><td id="L1053" class="css-a4x74f"><span>1053</span></td><td id="LC1053" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> name = _ref3.name,
+</code></td></tr><tr><td id="L1054" class="css-a4x74f"><span>1054</span></td><td id="LC1054" class="css-1dcdqdg"><code> _ref3$options = _ref3.options,
+</code></td></tr><tr><td id="L1055" class="css-a4x74f"><span>1055</span></td><td id="LC1055" class="css-1dcdqdg"><code> options = _ref3$options === <span class="code-keyword">void</span> <span class="code-number">0</span> ? {} : _ref3$options,
+</code></td></tr><tr><td id="L1056" class="css-a4x74f"><span>1056</span></td><td id="LC1056" class="css-1dcdqdg"><code> effect = _ref3.effect;
+</code></td></tr><tr><td id="L1057" class="css-a4x74f"><span>1057</span></td><td id="LC1057" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1058" class="css-a4x74f"><span>1058</span></td><td id="LC1058" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> effect === <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L1059" class="css-a4x74f"><span>1059</span></td><td id="LC1059" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> cleanupFn = effect({
+</code></td></tr><tr><td id="L1060" class="css-a4x74f"><span>1060</span></td><td id="LC1060" class="css-1dcdqdg"><code> state: state,
+</code></td></tr><tr><td id="L1061" class="css-a4x74f"><span>1061</span></td><td id="LC1061" class="css-1dcdqdg"><code> name: name,
+</code></td></tr><tr><td id="L1062" class="css-a4x74f"><span>1062</span></td><td id="LC1062" class="css-1dcdqdg"><code> instance: instance,
+</code></td></tr><tr><td id="L1063" class="css-a4x74f"><span>1063</span></td><td id="LC1063" class="css-1dcdqdg"><code> options: options
+</code></td></tr><tr><td id="L1064" class="css-a4x74f"><span>1064</span></td><td id="LC1064" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1065" class="css-a4x74f"><span>1065</span></td><td id="LC1065" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1066" class="css-a4x74f"><span>1066</span></td><td id="LC1066" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> noopFn = <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">noopFn</span>(<span class="code-params"></span>) </span>{};
+</code></td></tr><tr><td id="L1067" class="css-a4x74f"><span>1067</span></td><td id="LC1067" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1068" class="css-a4x74f"><span>1068</span></td><td id="LC1068" class="css-1dcdqdg"><code> effectCleanupFns.push(cleanupFn || noopFn);
+</code></td></tr><tr><td id="L1069" class="css-a4x74f"><span>1069</span></td><td id="LC1069" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1070" class="css-a4x74f"><span>1070</span></td><td id="LC1070" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1071" class="css-a4x74f"><span>1071</span></td><td id="LC1071" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1072" class="css-a4x74f"><span>1072</span></td><td id="LC1072" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1073" class="css-a4x74f"><span>1073</span></td><td id="LC1073" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">cleanupModifierEffects</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1074" class="css-a4x74f"><span>1074</span></td><td id="LC1074" class="css-1dcdqdg"><code> effectCleanupFns.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">fn</span>) </span>{
+</code></td></tr><tr><td id="L1075" class="css-a4x74f"><span>1075</span></td><td id="LC1075" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> fn();
+</code></td></tr><tr><td id="L1076" class="css-a4x74f"><span>1076</span></td><td id="LC1076" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1077" class="css-a4x74f"><span>1077</span></td><td id="LC1077" class="css-1dcdqdg"><code> effectCleanupFns = [];
+</code></td></tr><tr><td id="L1078" class="css-a4x74f"><span>1078</span></td><td id="LC1078" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1079" class="css-a4x74f"><span>1079</span></td><td id="LC1079" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1080" class="css-a4x74f"><span>1080</span></td><td id="LC1080" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> instance;
+</code></td></tr><tr><td id="L1081" class="css-a4x74f"><span>1081</span></td><td id="LC1081" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1082" class="css-a4x74f"><span>1082</span></td><td id="LC1082" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1083" class="css-a4x74f"><span>1083</span></td><td id="LC1083" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1084" class="css-a4x74f"><span>1084</span></td><td id="LC1084" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> passive = {
+</code></td></tr><tr><td id="L1085" class="css-a4x74f"><span>1085</span></td><td id="LC1085" class="css-1dcdqdg"><code> passive: <span class="code-literal">true</span>
+</code></td></tr><tr><td id="L1086" class="css-a4x74f"><span>1086</span></td><td id="LC1086" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1087" class="css-a4x74f"><span>1087</span></td><td id="LC1087" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1088" class="css-a4x74f"><span>1088</span></td><td id="LC1088" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">effect$1</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1089" class="css-a4x74f"><span>1089</span></td><td id="LC1089" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state,
+</code></td></tr><tr><td id="L1090" class="css-a4x74f"><span>1090</span></td><td id="LC1090" class="css-1dcdqdg"><code> instance = _ref.instance,
+</code></td></tr><tr><td id="L1091" class="css-a4x74f"><span>1091</span></td><td id="LC1091" class="css-1dcdqdg"><code> options = _ref.options;
+</code></td></tr><tr><td id="L1092" class="css-a4x74f"><span>1092</span></td><td id="LC1092" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options$scroll = options.scroll,
+</code></td></tr><tr><td id="L1093" class="css-a4x74f"><span>1093</span></td><td id="LC1093" class="css-1dcdqdg"><code> scroll = _options$scroll === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$scroll,
+</code></td></tr><tr><td id="L1094" class="css-a4x74f"><span>1094</span></td><td id="LC1094" class="css-1dcdqdg"><code> _options$resize = options.resize,
+</code></td></tr><tr><td id="L1095" class="css-a4x74f"><span>1095</span></td><td id="LC1095" class="css-1dcdqdg"><code> resize = _options$resize === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$resize;
+</code></td></tr><tr><td id="L1096" class="css-a4x74f"><span>1096</span></td><td id="LC1096" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> <span class="code-built_in">window</span> = getWindow(state.elements.popper);
+</code></td></tr><tr><td id="L1097" class="css-a4x74f"><span>1097</span></td><td id="LC1097" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
+</code></td></tr><tr><td id="L1098" class="css-a4x74f"><span>1098</span></td><td id="LC1098" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1099" class="css-a4x74f"><span>1099</span></td><td id="LC1099" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (scroll) {
+</code></td></tr><tr><td id="L1100" class="css-a4x74f"><span>1100</span></td><td id="LC1100" class="css-1dcdqdg"><code> scrollParents.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">scrollParent</span>) </span>{
+</code></td></tr><tr><td id="L1101" class="css-a4x74f"><span>1101</span></td><td id="LC1101" class="css-1dcdqdg"><code> scrollParent.addEventListener(<span class="code-string">'scroll'</span>, instance.update, passive);
+</code></td></tr><tr><td id="L1102" class="css-a4x74f"><span>1102</span></td><td id="LC1102" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1103" class="css-a4x74f"><span>1103</span></td><td id="LC1103" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1104" class="css-a4x74f"><span>1104</span></td><td id="LC1104" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1105" class="css-a4x74f"><span>1105</span></td><td id="LC1105" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (resize) {
+</code></td></tr><tr><td id="L1106" class="css-a4x74f"><span>1106</span></td><td id="LC1106" class="css-1dcdqdg"><code> <span class="code-built_in">window</span>.addEventListener(<span class="code-string">'resize'</span>, instance.update, passive);
+</code></td></tr><tr><td id="L1107" class="css-a4x74f"><span>1107</span></td><td id="LC1107" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1108" class="css-a4x74f"><span>1108</span></td><td id="LC1108" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1109" class="css-a4x74f"><span>1109</span></td><td id="LC1109" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1110" class="css-a4x74f"><span>1110</span></td><td id="LC1110" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (scroll) {
+</code></td></tr><tr><td id="L1111" class="css-a4x74f"><span>1111</span></td><td id="LC1111" class="css-1dcdqdg"><code> scrollParents.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">scrollParent</span>) </span>{
+</code></td></tr><tr><td id="L1112" class="css-a4x74f"><span>1112</span></td><td id="LC1112" class="css-1dcdqdg"><code> scrollParent.removeEventListener(<span class="code-string">'scroll'</span>, instance.update, passive);
+</code></td></tr><tr><td id="L1113" class="css-a4x74f"><span>1113</span></td><td id="LC1113" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1114" class="css-a4x74f"><span>1114</span></td><td id="LC1114" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1115" class="css-a4x74f"><span>1115</span></td><td id="LC1115" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1116" class="css-a4x74f"><span>1116</span></td><td id="LC1116" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (resize) {
+</code></td></tr><tr><td id="L1117" class="css-a4x74f"><span>1117</span></td><td id="LC1117" class="css-1dcdqdg"><code> <span class="code-built_in">window</span>.removeEventListener(<span class="code-string">'resize'</span>, instance.update, passive);
+</code></td></tr><tr><td id="L1118" class="css-a4x74f"><span>1118</span></td><td id="LC1118" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1119" class="css-a4x74f"><span>1119</span></td><td id="LC1119" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1120" class="css-a4x74f"><span>1120</span></td><td id="LC1120" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1121" class="css-a4x74f"><span>1121</span></td><td id="LC1121" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1122" class="css-a4x74f"><span>1122</span></td><td id="LC1122" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1123" class="css-a4x74f"><span>1123</span></td><td id="LC1123" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> eventListeners = {
+</code></td></tr><tr><td id="L1124" class="css-a4x74f"><span>1124</span></td><td id="LC1124" class="css-1dcdqdg"><code> name: <span class="code-string">'eventListeners'</span>,
+</code></td></tr><tr><td id="L1125" class="css-a4x74f"><span>1125</span></td><td id="LC1125" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1126" class="css-a4x74f"><span>1126</span></td><td id="LC1126" class="css-1dcdqdg"><code> phase: <span class="code-string">'write'</span>,
+</code></td></tr><tr><td id="L1127" class="css-a4x74f"><span>1127</span></td><td id="LC1127" class="css-1dcdqdg"><code> fn: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">fn</span>(<span class="code-params"></span>) </span>{},
+</code></td></tr><tr><td id="L1128" class="css-a4x74f"><span>1128</span></td><td id="LC1128" class="css-1dcdqdg"><code> effect: effect$<span class="code-number">1</span>,
+</code></td></tr><tr><td id="L1129" class="css-a4x74f"><span>1129</span></td><td id="LC1129" class="css-1dcdqdg"><code> data: {}
+</code></td></tr><tr><td id="L1130" class="css-a4x74f"><span>1130</span></td><td id="LC1130" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1131" class="css-a4x74f"><span>1131</span></td><td id="LC1131" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1132" class="css-a4x74f"><span>1132</span></td><td id="LC1132" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">popperOffsets</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1133" class="css-a4x74f"><span>1133</span></td><td id="LC1133" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state,
+</code></td></tr><tr><td id="L1134" class="css-a4x74f"><span>1134</span></td><td id="LC1134" class="css-1dcdqdg"><code> name = _ref.name;
+</code></td></tr><tr><td id="L1135" class="css-a4x74f"><span>1135</span></td><td id="LC1135" class="css-1dcdqdg"><code> <span class="code-comment">// Offsets are the actual position the popper needs to have to be</span>
+</code></td></tr><tr><td id="L1136" class="css-a4x74f"><span>1136</span></td><td id="LC1136" class="css-1dcdqdg"><code> <span class="code-comment">// properly positioned near its reference element</span>
+</code></td></tr><tr><td id="L1137" class="css-a4x74f"><span>1137</span></td><td id="LC1137" class="css-1dcdqdg"><code> <span class="code-comment">// This is the most basic placement, and will be adjusted by</span>
+</code></td></tr><tr><td id="L1138" class="css-a4x74f"><span>1138</span></td><td id="LC1138" class="css-1dcdqdg"><code> <span class="code-comment">// the modifiers in the next step</span>
+</code></td></tr><tr><td id="L1139" class="css-a4x74f"><span>1139</span></td><td id="LC1139" class="css-1dcdqdg"><code> state.modifiersData[name] = computeOffsets({
+</code></td></tr><tr><td id="L1140" class="css-a4x74f"><span>1140</span></td><td id="LC1140" class="css-1dcdqdg"><code> reference: state.rects.reference,
+</code></td></tr><tr><td id="L1141" class="css-a4x74f"><span>1141</span></td><td id="LC1141" class="css-1dcdqdg"><code> element: state.rects.popper,
+</code></td></tr><tr><td id="L1142" class="css-a4x74f"><span>1142</span></td><td id="LC1142" class="css-1dcdqdg"><code> strategy: <span class="code-string">'absolute'</span>,
+</code></td></tr><tr><td id="L1143" class="css-a4x74f"><span>1143</span></td><td id="LC1143" class="css-1dcdqdg"><code> placement: state.placement
+</code></td></tr><tr><td id="L1144" class="css-a4x74f"><span>1144</span></td><td id="LC1144" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1145" class="css-a4x74f"><span>1145</span></td><td id="LC1145" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1146" class="css-a4x74f"><span>1146</span></td><td id="LC1146" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1147" class="css-a4x74f"><span>1147</span></td><td id="LC1147" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1148" class="css-a4x74f"><span>1148</span></td><td id="LC1148" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperOffsets$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1149" class="css-a4x74f"><span>1149</span></td><td id="LC1149" class="css-1dcdqdg"><code> name: <span class="code-string">'popperOffsets'</span>,
+</code></td></tr><tr><td id="L1150" class="css-a4x74f"><span>1150</span></td><td id="LC1150" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1151" class="css-a4x74f"><span>1151</span></td><td id="LC1151" class="css-1dcdqdg"><code> phase: <span class="code-string">'read'</span>,
+</code></td></tr><tr><td id="L1152" class="css-a4x74f"><span>1152</span></td><td id="LC1152" class="css-1dcdqdg"><code> fn: popperOffsets,
+</code></td></tr><tr><td id="L1153" class="css-a4x74f"><span>1153</span></td><td id="LC1153" class="css-1dcdqdg"><code> data: {}
+</code></td></tr><tr><td id="L1154" class="css-a4x74f"><span>1154</span></td><td id="LC1154" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1155" class="css-a4x74f"><span>1155</span></td><td id="LC1155" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1156" class="css-a4x74f"><span>1156</span></td><td id="LC1156" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> unsetSides = {
+</code></td></tr><tr><td id="L1157" class="css-a4x74f"><span>1157</span></td><td id="LC1157" class="css-1dcdqdg"><code> top: <span class="code-string">'auto'</span>,
+</code></td></tr><tr><td id="L1158" class="css-a4x74f"><span>1158</span></td><td id="LC1158" class="css-1dcdqdg"><code> right: <span class="code-string">'auto'</span>,
+</code></td></tr><tr><td id="L1159" class="css-a4x74f"><span>1159</span></td><td id="LC1159" class="css-1dcdqdg"><code> bottom: <span class="code-string">'auto'</span>,
+</code></td></tr><tr><td id="L1160" class="css-a4x74f"><span>1160</span></td><td id="LC1160" class="css-1dcdqdg"><code> left: <span class="code-string">'auto'</span>
+</code></td></tr><tr><td id="L1161" class="css-a4x74f"><span>1161</span></td><td id="LC1161" class="css-1dcdqdg"><code> }; <span class="code-comment">// Round the offsets to the nearest suitable subpixel based on the DPR.</span>
+</code></td></tr><tr><td id="L1162" class="css-a4x74f"><span>1162</span></td><td id="LC1162" class="css-1dcdqdg"><code> <span class="code-comment">// Zooming can change the DPR, but it seems to report a value that will</span>
+</code></td></tr><tr><td id="L1163" class="css-a4x74f"><span>1163</span></td><td id="LC1163" class="css-1dcdqdg"><code> <span class="code-comment">// cleanly divide the values into the appropriate subpixels.</span>
+</code></td></tr><tr><td id="L1164" class="css-a4x74f"><span>1164</span></td><td id="LC1164" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1165" class="css-a4x74f"><span>1165</span></td><td id="LC1165" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">roundOffsetsByDPR</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1166" class="css-a4x74f"><span>1166</span></td><td id="LC1166" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> x = _ref.x,
+</code></td></tr><tr><td id="L1167" class="css-a4x74f"><span>1167</span></td><td id="LC1167" class="css-1dcdqdg"><code> y = _ref.y;
+</code></td></tr><tr><td id="L1168" class="css-a4x74f"><span>1168</span></td><td id="LC1168" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L1169" class="css-a4x74f"><span>1169</span></td><td id="LC1169" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> dpr = win.devicePixelRatio || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1170" class="css-a4x74f"><span>1170</span></td><td id="LC1170" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L1171" class="css-a4x74f"><span>1171</span></td><td id="LC1171" class="css-1dcdqdg"><code> x: round(x * dpr) / dpr || <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L1172" class="css-a4x74f"><span>1172</span></td><td id="LC1172" class="css-1dcdqdg"><code> y: round(y * dpr) / dpr || <span class="code-number">0</span>
+</code></td></tr><tr><td id="L1173" class="css-a4x74f"><span>1173</span></td><td id="LC1173" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1174" class="css-a4x74f"><span>1174</span></td><td id="LC1174" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1175" class="css-a4x74f"><span>1175</span></td><td id="LC1175" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1176" class="css-a4x74f"><span>1176</span></td><td id="LC1176" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">mapToStyles</span>(<span class="code-params">_ref2</span>) </span>{
+</code></td></tr><tr><td id="L1177" class="css-a4x74f"><span>1177</span></td><td id="LC1177" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _Object$assign2;
+</code></td></tr><tr><td id="L1178" class="css-a4x74f"><span>1178</span></td><td id="LC1178" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1179" class="css-a4x74f"><span>1179</span></td><td id="LC1179" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popper = _ref2.popper,
+</code></td></tr><tr><td id="L1180" class="css-a4x74f"><span>1180</span></td><td id="LC1180" class="css-1dcdqdg"><code> popperRect = _ref2.popperRect,
+</code></td></tr><tr><td id="L1181" class="css-a4x74f"><span>1181</span></td><td id="LC1181" class="css-1dcdqdg"><code> placement = _ref2.placement,
+</code></td></tr><tr><td id="L1182" class="css-a4x74f"><span>1182</span></td><td id="LC1182" class="css-1dcdqdg"><code> variation = _ref2.variation,
+</code></td></tr><tr><td id="L1183" class="css-a4x74f"><span>1183</span></td><td id="LC1183" class="css-1dcdqdg"><code> offsets = _ref2.offsets,
+</code></td></tr><tr><td id="L1184" class="css-a4x74f"><span>1184</span></td><td id="LC1184" class="css-1dcdqdg"><code> position = _ref2.position,
+</code></td></tr><tr><td id="L1185" class="css-a4x74f"><span>1185</span></td><td id="LC1185" class="css-1dcdqdg"><code> gpuAcceleration = _ref2.gpuAcceleration,
+</code></td></tr><tr><td id="L1186" class="css-a4x74f"><span>1186</span></td><td id="LC1186" class="css-1dcdqdg"><code> adaptive = _ref2.adaptive,
+</code></td></tr><tr><td id="L1187" class="css-a4x74f"><span>1187</span></td><td id="LC1187" class="css-1dcdqdg"><code> roundOffsets = _ref2.roundOffsets,
+</code></td></tr><tr><td id="L1188" class="css-a4x74f"><span>1188</span></td><td id="LC1188" class="css-1dcdqdg"><code> isFixed = _ref2.isFixed;
+</code></td></tr><tr><td id="L1189" class="css-a4x74f"><span>1189</span></td><td id="LC1189" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _offsets$x = offsets.x,
+</code></td></tr><tr><td id="L1190" class="css-a4x74f"><span>1190</span></td><td id="LC1190" class="css-1dcdqdg"><code> x = _offsets$x === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-number">0</span> : _offsets$x,
+</code></td></tr><tr><td id="L1191" class="css-a4x74f"><span>1191</span></td><td id="LC1191" class="css-1dcdqdg"><code> _offsets$y = offsets.y,
+</code></td></tr><tr><td id="L1192" class="css-a4x74f"><span>1192</span></td><td id="LC1192" class="css-1dcdqdg"><code> y = _offsets$y === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-number">0</span> : _offsets$y;
+</code></td></tr><tr><td id="L1193" class="css-a4x74f"><span>1193</span></td><td id="LC1193" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1194" class="css-a4x74f"><span>1194</span></td><td id="LC1194" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _ref3 = <span class="code-keyword">typeof</span> roundOffsets === <span class="code-string">'function'</span> ? roundOffsets({
+</code></td></tr><tr><td id="L1195" class="css-a4x74f"><span>1195</span></td><td id="LC1195" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L1196" class="css-a4x74f"><span>1196</span></td><td id="LC1196" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L1197" class="css-a4x74f"><span>1197</span></td><td id="LC1197" class="css-1dcdqdg"><code> }) : {
+</code></td></tr><tr><td id="L1198" class="css-a4x74f"><span>1198</span></td><td id="LC1198" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L1199" class="css-a4x74f"><span>1199</span></td><td id="LC1199" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L1200" class="css-a4x74f"><span>1200</span></td><td id="LC1200" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1201" class="css-a4x74f"><span>1201</span></td><td id="LC1201" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1202" class="css-a4x74f"><span>1202</span></td><td id="LC1202" class="css-1dcdqdg"><code> x = _ref3.x;
+</code></td></tr><tr><td id="L1203" class="css-a4x74f"><span>1203</span></td><td id="LC1203" class="css-1dcdqdg"><code> y = _ref3.y;
+</code></td></tr><tr><td id="L1204" class="css-a4x74f"><span>1204</span></td><td id="LC1204" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> hasX = offsets.hasOwnProperty(<span class="code-string">'x'</span>);
+</code></td></tr><tr><td id="L1205" class="css-a4x74f"><span>1205</span></td><td id="LC1205" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> hasY = offsets.hasOwnProperty(<span class="code-string">'y'</span>);
+</code></td></tr><tr><td id="L1206" class="css-a4x74f"><span>1206</span></td><td id="LC1206" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> sideX = left;
+</code></td></tr><tr><td id="L1207" class="css-a4x74f"><span>1207</span></td><td id="LC1207" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> sideY = top;
+</code></td></tr><tr><td id="L1208" class="css-a4x74f"><span>1208</span></td><td id="LC1208" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L1209" class="css-a4x74f"><span>1209</span></td><td id="LC1209" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1210" class="css-a4x74f"><span>1210</span></td><td id="LC1210" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (adaptive) {
+</code></td></tr><tr><td id="L1211" class="css-a4x74f"><span>1211</span></td><td id="LC1211" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetParent = getOffsetParent(popper);
+</code></td></tr><tr><td id="L1212" class="css-a4x74f"><span>1212</span></td><td id="LC1212" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> heightProp = <span class="code-string">'clientHeight'</span>;
+</code></td></tr><tr><td id="L1213" class="css-a4x74f"><span>1213</span></td><td id="LC1213" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> widthProp = <span class="code-string">'clientWidth'</span>;
+</code></td></tr><tr><td id="L1214" class="css-a4x74f"><span>1214</span></td><td id="LC1214" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1215" class="css-a4x74f"><span>1215</span></td><td id="LC1215" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetParent === getWindow(popper)) {
+</code></td></tr><tr><td id="L1216" class="css-a4x74f"><span>1216</span></td><td id="LC1216" class="css-1dcdqdg"><code> offsetParent = getDocumentElement(popper);
+</code></td></tr><tr><td id="L1217" class="css-a4x74f"><span>1217</span></td><td id="LC1217" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1218" class="css-a4x74f"><span>1218</span></td><td id="LC1218" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getComputedStyle(offsetParent).position !== <span class="code-string">'static'</span> &amp;&amp; position === <span class="code-string">'absolute'</span>) {
+</code></td></tr><tr><td id="L1219" class="css-a4x74f"><span>1219</span></td><td id="LC1219" class="css-1dcdqdg"><code> heightProp = <span class="code-string">'scrollHeight'</span>;
+</code></td></tr><tr><td id="L1220" class="css-a4x74f"><span>1220</span></td><td id="LC1220" class="css-1dcdqdg"><code> widthProp = <span class="code-string">'scrollWidth'</span>;
+</code></td></tr><tr><td id="L1221" class="css-a4x74f"><span>1221</span></td><td id="LC1221" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1222" class="css-a4x74f"><span>1222</span></td><td id="LC1222" class="css-1dcdqdg"><code> } <span class="code-comment">// $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it</span>
+</code></td></tr><tr><td id="L1223" class="css-a4x74f"><span>1223</span></td><td id="LC1223" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1224" class="css-a4x74f"><span>1224</span></td><td id="LC1224" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1225" class="css-a4x74f"><span>1225</span></td><td id="LC1225" class="css-1dcdqdg"><code> offsetParent = offsetParent;
+</code></td></tr><tr><td id="L1226" class="css-a4x74f"><span>1226</span></td><td id="LC1226" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1227" class="css-a4x74f"><span>1227</span></td><td id="LC1227" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (placement === top || (placement === left || placement === right) &amp;&amp; variation === end) {
+</code></td></tr><tr><td id="L1228" class="css-a4x74f"><span>1228</span></td><td id="LC1228" class="css-1dcdqdg"><code> sideY = bottom;
+</code></td></tr><tr><td id="L1229" class="css-a4x74f"><span>1229</span></td><td id="LC1229" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetY = isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport ? win.visualViewport.height : <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L1230" class="css-a4x74f"><span>1230</span></td><td id="LC1230" class="css-1dcdqdg"><code> offsetParent[heightProp];
+</code></td></tr><tr><td id="L1231" class="css-a4x74f"><span>1231</span></td><td id="LC1231" class="css-1dcdqdg"><code> y -= offsetY - popperRect.height;
+</code></td></tr><tr><td id="L1232" class="css-a4x74f"><span>1232</span></td><td id="LC1232" class="css-1dcdqdg"><code> y *= gpuAcceleration ? <span class="code-number">1</span> : <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L1233" class="css-a4x74f"><span>1233</span></td><td id="LC1233" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1234" class="css-a4x74f"><span>1234</span></td><td id="LC1234" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1235" class="css-a4x74f"><span>1235</span></td><td id="LC1235" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (placement === left || (placement === top || placement === bottom) &amp;&amp; variation === end) {
+</code></td></tr><tr><td id="L1236" class="css-a4x74f"><span>1236</span></td><td id="LC1236" class="css-1dcdqdg"><code> sideX = right;
+</code></td></tr><tr><td id="L1237" class="css-a4x74f"><span>1237</span></td><td id="LC1237" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetX = isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport ? win.visualViewport.width : <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L1238" class="css-a4x74f"><span>1238</span></td><td id="LC1238" class="css-1dcdqdg"><code> offsetParent[widthProp];
+</code></td></tr><tr><td id="L1239" class="css-a4x74f"><span>1239</span></td><td id="LC1239" class="css-1dcdqdg"><code> x -= offsetX - popperRect.width;
+</code></td></tr><tr><td id="L1240" class="css-a4x74f"><span>1240</span></td><td id="LC1240" class="css-1dcdqdg"><code> x *= gpuAcceleration ? <span class="code-number">1</span> : <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L1241" class="css-a4x74f"><span>1241</span></td><td id="LC1241" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1242" class="css-a4x74f"><span>1242</span></td><td id="LC1242" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1243" class="css-a4x74f"><span>1243</span></td><td id="LC1243" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1244" class="css-a4x74f"><span>1244</span></td><td id="LC1244" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonStyles = <span class="code-built_in">Object</span>.assign({
+</code></td></tr><tr><td id="L1245" class="css-a4x74f"><span>1245</span></td><td id="LC1245" class="css-1dcdqdg"><code> position: position
+</code></td></tr><tr><td id="L1246" class="css-a4x74f"><span>1246</span></td><td id="LC1246" class="css-1dcdqdg"><code> }, adaptive &amp;&amp; unsetSides);
+</code></td></tr><tr><td id="L1247" class="css-a4x74f"><span>1247</span></td><td id="LC1247" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1248" class="css-a4x74f"><span>1248</span></td><td id="LC1248" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _ref4 = roundOffsets === <span class="code-literal">true</span> ? roundOffsetsByDPR({
+</code></td></tr><tr><td id="L1249" class="css-a4x74f"><span>1249</span></td><td id="LC1249" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L1250" class="css-a4x74f"><span>1250</span></td><td id="LC1250" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L1251" class="css-a4x74f"><span>1251</span></td><td id="LC1251" class="css-1dcdqdg"><code> }) : {
+</code></td></tr><tr><td id="L1252" class="css-a4x74f"><span>1252</span></td><td id="LC1252" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L1253" class="css-a4x74f"><span>1253</span></td><td id="LC1253" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L1254" class="css-a4x74f"><span>1254</span></td><td id="LC1254" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1255" class="css-a4x74f"><span>1255</span></td><td id="LC1255" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1256" class="css-a4x74f"><span>1256</span></td><td id="LC1256" class="css-1dcdqdg"><code> x = _ref4.x;
+</code></td></tr><tr><td id="L1257" class="css-a4x74f"><span>1257</span></td><td id="LC1257" class="css-1dcdqdg"><code> y = _ref4.y;
+</code></td></tr><tr><td id="L1258" class="css-a4x74f"><span>1258</span></td><td id="LC1258" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1259" class="css-a4x74f"><span>1259</span></td><td id="LC1259" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (gpuAcceleration) {
+</code></td></tr><tr><td id="L1260" class="css-a4x74f"><span>1260</span></td><td id="LC1260" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _Object$assign;
+</code></td></tr><tr><td id="L1261" class="css-a4x74f"><span>1261</span></td><td id="LC1261" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1262" class="css-a4x74f"><span>1262</span></td><td id="LC1262" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? <span class="code-string">'0'</span> : <span class="code-string">''</span>, _Object$assign[sideX] = hasX ? <span class="code-string">'0'</span> : <span class="code-string">''</span>, _Object$assign.transform = (win.devicePixelRatio || <span class="code-number">1</span>) &lt;= <span class="code-number">1</span> ? <span class="code-string">"translate("</span> + x + <span class="code-string">"px, "</span> + y + <span class="code-string">"px)"</span> : <span class="code-string">"translate3d("</span> + x + <span class="code-string">"px, "</span> + y + <span class="code-string">"px, 0)"</span>, _Object$assign));
+</code></td></tr><tr><td id="L1263" class="css-a4x74f"><span>1263</span></td><td id="LC1263" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1264" class="css-a4x74f"><span>1264</span></td><td id="LC1264" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1265" class="css-a4x74f"><span>1265</span></td><td id="LC1265" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + <span class="code-string">"px"</span> : <span class="code-string">''</span>, _Object$assign2[sideX] = hasX ? x + <span class="code-string">"px"</span> : <span class="code-string">''</span>, _Object$assign2.transform = <span class="code-string">''</span>, _Object$assign2));
+</code></td></tr><tr><td id="L1266" class="css-a4x74f"><span>1266</span></td><td id="LC1266" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1267" class="css-a4x74f"><span>1267</span></td><td id="LC1267" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1268" class="css-a4x74f"><span>1268</span></td><td id="LC1268" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">computeStyles</span>(<span class="code-params">_ref5</span>) </span>{
+</code></td></tr><tr><td id="L1269" class="css-a4x74f"><span>1269</span></td><td id="LC1269" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref5.state,
+</code></td></tr><tr><td id="L1270" class="css-a4x74f"><span>1270</span></td><td id="LC1270" class="css-1dcdqdg"><code> options = _ref5.options;
+</code></td></tr><tr><td id="L1271" class="css-a4x74f"><span>1271</span></td><td id="LC1271" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options$gpuAccelerat = options.gpuAcceleration,
+</code></td></tr><tr><td id="L1272" class="css-a4x74f"><span>1272</span></td><td id="LC1272" class="css-1dcdqdg"><code> gpuAcceleration = _options$gpuAccelerat === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$gpuAccelerat,
+</code></td></tr><tr><td id="L1273" class="css-a4x74f"><span>1273</span></td><td id="LC1273" class="css-1dcdqdg"><code> _options$adaptive = options.adaptive,
+</code></td></tr><tr><td id="L1274" class="css-a4x74f"><span>1274</span></td><td id="LC1274" class="css-1dcdqdg"><code> adaptive = _options$adaptive === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$adaptive,
+</code></td></tr><tr><td id="L1275" class="css-a4x74f"><span>1275</span></td><td id="LC1275" class="css-1dcdqdg"><code> _options$roundOffsets = options.roundOffsets,
+</code></td></tr><tr><td id="L1276" class="css-a4x74f"><span>1276</span></td><td id="LC1276" class="css-1dcdqdg"><code> roundOffsets = _options$roundOffsets === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$roundOffsets;
+</code></td></tr><tr><td id="L1277" class="css-a4x74f"><span>1277</span></td><td id="LC1277" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1278" class="css-a4x74f"><span>1278</span></td><td id="LC1278" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L1279" class="css-a4x74f"><span>1279</span></td><td id="LC1279" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || <span class="code-string">''</span>;
+</code></td></tr><tr><td id="L1280" class="css-a4x74f"><span>1280</span></td><td id="LC1280" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1281" class="css-a4x74f"><span>1281</span></td><td id="LC1281" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (adaptive &amp;&amp; [<span class="code-string">'transform'</span>, <span class="code-string">'top'</span>, <span class="code-string">'right'</span>, <span class="code-string">'bottom'</span>, <span class="code-string">'left'</span>].some(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">property</span>) </span>{
+</code></td></tr><tr><td id="L1282" class="css-a4x74f"><span>1282</span></td><td id="LC1282" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> transitionProperty.indexOf(property) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1283" class="css-a4x74f"><span>1283</span></td><td id="LC1283" class="css-1dcdqdg"><code> })) {
+</code></td></tr><tr><td id="L1284" class="css-a4x74f"><span>1284</span></td><td id="LC1284" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.warn([<span class="code-string">'Popper: Detected CSS transitions on at least one of the following'</span>, <span class="code-string">'CSS properties: "transform", "top", "right", "bottom", "left".'</span>, <span class="code-string">'\n\n'</span>, <span class="code-string">'Disable the "computeStyles" modifier\'s `adaptive` option to allow'</span>, <span class="code-string">'for smooth transitions, or remove these properties from the CSS'</span>, <span class="code-string">'transition declaration on the popper element if only transitioning'</span>, <span class="code-string">'opacity or background-color for example.'</span>, <span class="code-string">'\n\n'</span>, <span class="code-string">'We recommend using the popper element as a wrapper around an inner'</span>, <span class="code-string">'element that can have any CSS property transitioned for animations.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L1285" class="css-a4x74f"><span>1285</span></td><td id="LC1285" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1286" class="css-a4x74f"><span>1286</span></td><td id="LC1286" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1287" class="css-a4x74f"><span>1287</span></td><td id="LC1287" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1288" class="css-a4x74f"><span>1288</span></td><td id="LC1288" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonStyles = {
+</code></td></tr><tr><td id="L1289" class="css-a4x74f"><span>1289</span></td><td id="LC1289" class="css-1dcdqdg"><code> placement: getBasePlacement(state.placement),
+</code></td></tr><tr><td id="L1290" class="css-a4x74f"><span>1290</span></td><td id="LC1290" class="css-1dcdqdg"><code> variation: getVariation(state.placement),
+</code></td></tr><tr><td id="L1291" class="css-a4x74f"><span>1291</span></td><td id="LC1291" class="css-1dcdqdg"><code> popper: state.elements.popper,
+</code></td></tr><tr><td id="L1292" class="css-a4x74f"><span>1292</span></td><td id="LC1292" class="css-1dcdqdg"><code> popperRect: state.rects.popper,
+</code></td></tr><tr><td id="L1293" class="css-a4x74f"><span>1293</span></td><td id="LC1293" class="css-1dcdqdg"><code> gpuAcceleration: gpuAcceleration,
+</code></td></tr><tr><td id="L1294" class="css-a4x74f"><span>1294</span></td><td id="LC1294" class="css-1dcdqdg"><code> isFixed: state.options.strategy === <span class="code-string">'fixed'</span>
+</code></td></tr><tr><td id="L1295" class="css-a4x74f"><span>1295</span></td><td id="LC1295" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1296" class="css-a4x74f"><span>1296</span></td><td id="LC1296" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1297" class="css-a4x74f"><span>1297</span></td><td id="LC1297" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.modifiersData.popperOffsets != <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L1298" class="css-a4x74f"><span>1298</span></td><td id="LC1298" class="css-1dcdqdg"><code> state.styles.popper = <span class="code-built_in">Object</span>.assign({}, state.styles.popper, mapToStyles(<span class="code-built_in">Object</span>.assign({}, commonStyles, {
+</code></td></tr><tr><td id="L1299" class="css-a4x74f"><span>1299</span></td><td id="LC1299" class="css-1dcdqdg"><code> offsets: state.modifiersData.popperOffsets,
+</code></td></tr><tr><td id="L1300" class="css-a4x74f"><span>1300</span></td><td id="LC1300" class="css-1dcdqdg"><code> position: state.options.strategy,
+</code></td></tr><tr><td id="L1301" class="css-a4x74f"><span>1301</span></td><td id="LC1301" class="css-1dcdqdg"><code> adaptive: adaptive,
+</code></td></tr><tr><td id="L1302" class="css-a4x74f"><span>1302</span></td><td id="LC1302" class="css-1dcdqdg"><code> roundOffsets: roundOffsets
+</code></td></tr><tr><td id="L1303" class="css-a4x74f"><span>1303</span></td><td id="LC1303" class="css-1dcdqdg"><code> })));
+</code></td></tr><tr><td id="L1304" class="css-a4x74f"><span>1304</span></td><td id="LC1304" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1305" class="css-a4x74f"><span>1305</span></td><td id="LC1305" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1306" class="css-a4x74f"><span>1306</span></td><td id="LC1306" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.modifiersData.arrow != <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L1307" class="css-a4x74f"><span>1307</span></td><td id="LC1307" class="css-1dcdqdg"><code> state.styles.arrow = <span class="code-built_in">Object</span>.assign({}, state.styles.arrow, mapToStyles(<span class="code-built_in">Object</span>.assign({}, commonStyles, {
+</code></td></tr><tr><td id="L1308" class="css-a4x74f"><span>1308</span></td><td id="LC1308" class="css-1dcdqdg"><code> offsets: state.modifiersData.arrow,
+</code></td></tr><tr><td id="L1309" class="css-a4x74f"><span>1309</span></td><td id="LC1309" class="css-1dcdqdg"><code> position: <span class="code-string">'absolute'</span>,
+</code></td></tr><tr><td id="L1310" class="css-a4x74f"><span>1310</span></td><td id="LC1310" class="css-1dcdqdg"><code> adaptive: <span class="code-literal">false</span>,
+</code></td></tr><tr><td id="L1311" class="css-a4x74f"><span>1311</span></td><td id="LC1311" class="css-1dcdqdg"><code> roundOffsets: roundOffsets
+</code></td></tr><tr><td id="L1312" class="css-a4x74f"><span>1312</span></td><td id="LC1312" class="css-1dcdqdg"><code> })));
+</code></td></tr><tr><td id="L1313" class="css-a4x74f"><span>1313</span></td><td id="LC1313" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1314" class="css-a4x74f"><span>1314</span></td><td id="LC1314" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1315" class="css-a4x74f"><span>1315</span></td><td id="LC1315" class="css-1dcdqdg"><code> state.attributes.popper = <span class="code-built_in">Object</span>.assign({}, state.attributes.popper, {
+</code></td></tr><tr><td id="L1316" class="css-a4x74f"><span>1316</span></td><td id="LC1316" class="css-1dcdqdg"><code> <span class="code-string">'data-popper-placement'</span>: state.placement
+</code></td></tr><tr><td id="L1317" class="css-a4x74f"><span>1317</span></td><td id="LC1317" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1318" class="css-a4x74f"><span>1318</span></td><td id="LC1318" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1319" class="css-a4x74f"><span>1319</span></td><td id="LC1319" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1320" class="css-a4x74f"><span>1320</span></td><td id="LC1320" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1321" class="css-a4x74f"><span>1321</span></td><td id="LC1321" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> computeStyles$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1322" class="css-a4x74f"><span>1322</span></td><td id="LC1322" class="css-1dcdqdg"><code> name: <span class="code-string">'computeStyles'</span>,
+</code></td></tr><tr><td id="L1323" class="css-a4x74f"><span>1323</span></td><td id="LC1323" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1324" class="css-a4x74f"><span>1324</span></td><td id="LC1324" class="css-1dcdqdg"><code> phase: <span class="code-string">'beforeWrite'</span>,
+</code></td></tr><tr><td id="L1325" class="css-a4x74f"><span>1325</span></td><td id="LC1325" class="css-1dcdqdg"><code> fn: computeStyles,
+</code></td></tr><tr><td id="L1326" class="css-a4x74f"><span>1326</span></td><td id="LC1326" class="css-1dcdqdg"><code> data: {}
+</code></td></tr><tr><td id="L1327" class="css-a4x74f"><span>1327</span></td><td id="LC1327" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1328" class="css-a4x74f"><span>1328</span></td><td id="LC1328" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1329" class="css-a4x74f"><span>1329</span></td><td id="LC1329" class="css-1dcdqdg"><code> <span class="code-comment">// and applies them to the HTMLElements such as popper and arrow</span>
+</code></td></tr><tr><td id="L1330" class="css-a4x74f"><span>1330</span></td><td id="LC1330" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1331" class="css-a4x74f"><span>1331</span></td><td id="LC1331" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">applyStyles</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1332" class="css-a4x74f"><span>1332</span></td><td id="LC1332" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state;
+</code></td></tr><tr><td id="L1333" class="css-a4x74f"><span>1333</span></td><td id="LC1333" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(state.elements).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">name</span>) </span>{
+</code></td></tr><tr><td id="L1334" class="css-a4x74f"><span>1334</span></td><td id="LC1334" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> style = state.styles[name] || {};
+</code></td></tr><tr><td id="L1335" class="css-a4x74f"><span>1335</span></td><td id="LC1335" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> attributes = state.attributes[name] || {};
+</code></td></tr><tr><td id="L1336" class="css-a4x74f"><span>1336</span></td><td id="LC1336" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> element = state.elements[name]; <span class="code-comment">// arrow is optional + virtual elements</span>
+</code></td></tr><tr><td id="L1337" class="css-a4x74f"><span>1337</span></td><td id="LC1337" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1338" class="css-a4x74f"><span>1338</span></td><td id="LC1338" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isHTMLElement(element) || !getNodeName(element)) {
+</code></td></tr><tr><td id="L1339" class="css-a4x74f"><span>1339</span></td><td id="LC1339" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1340" class="css-a4x74f"><span>1340</span></td><td id="LC1340" class="css-1dcdqdg"><code> } <span class="code-comment">// Flow doesn't support to extend this property, but it's the most</span>
+</code></td></tr><tr><td id="L1341" class="css-a4x74f"><span>1341</span></td><td id="LC1341" class="css-1dcdqdg"><code> <span class="code-comment">// effective way to apply styles to an HTMLElement</span>
+</code></td></tr><tr><td id="L1342" class="css-a4x74f"><span>1342</span></td><td id="LC1342" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[cannot-write]</span>
+</code></td></tr><tr><td id="L1343" class="css-a4x74f"><span>1343</span></td><td id="LC1343" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1344" class="css-a4x74f"><span>1344</span></td><td id="LC1344" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1345" class="css-a4x74f"><span>1345</span></td><td id="LC1345" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.assign(element.style, style);
+</code></td></tr><tr><td id="L1346" class="css-a4x74f"><span>1346</span></td><td id="LC1346" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(attributes).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">name</span>) </span>{
+</code></td></tr><tr><td id="L1347" class="css-a4x74f"><span>1347</span></td><td id="LC1347" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> value = attributes[name];
+</code></td></tr><tr><td id="L1348" class="css-a4x74f"><span>1348</span></td><td id="LC1348" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1349" class="css-a4x74f"><span>1349</span></td><td id="LC1349" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (value === <span class="code-literal">false</span>) {
+</code></td></tr><tr><td id="L1350" class="css-a4x74f"><span>1350</span></td><td id="LC1350" class="css-1dcdqdg"><code> element.removeAttribute(name);
+</code></td></tr><tr><td id="L1351" class="css-a4x74f"><span>1351</span></td><td id="LC1351" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> {
+</code></td></tr><tr><td id="L1352" class="css-a4x74f"><span>1352</span></td><td id="LC1352" class="css-1dcdqdg"><code> element.setAttribute(name, value === <span class="code-literal">true</span> ? <span class="code-string">''</span> : value);
+</code></td></tr><tr><td id="L1353" class="css-a4x74f"><span>1353</span></td><td id="LC1353" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1354" class="css-a4x74f"><span>1354</span></td><td id="LC1354" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1355" class="css-a4x74f"><span>1355</span></td><td id="LC1355" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1356" class="css-a4x74f"><span>1356</span></td><td id="LC1356" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1357" class="css-a4x74f"><span>1357</span></td><td id="LC1357" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1358" class="css-a4x74f"><span>1358</span></td><td id="LC1358" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">effect</span>(<span class="code-params">_ref2</span>) </span>{
+</code></td></tr><tr><td id="L1359" class="css-a4x74f"><span>1359</span></td><td id="LC1359" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref2.state;
+</code></td></tr><tr><td id="L1360" class="css-a4x74f"><span>1360</span></td><td id="LC1360" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> initialStyles = {
+</code></td></tr><tr><td id="L1361" class="css-a4x74f"><span>1361</span></td><td id="LC1361" class="css-1dcdqdg"><code> popper: {
+</code></td></tr><tr><td id="L1362" class="css-a4x74f"><span>1362</span></td><td id="LC1362" class="css-1dcdqdg"><code> position: state.options.strategy,
+</code></td></tr><tr><td id="L1363" class="css-a4x74f"><span>1363</span></td><td id="LC1363" class="css-1dcdqdg"><code> left: <span class="code-string">'0'</span>,
+</code></td></tr><tr><td id="L1364" class="css-a4x74f"><span>1364</span></td><td id="LC1364" class="css-1dcdqdg"><code> top: <span class="code-string">'0'</span>,
+</code></td></tr><tr><td id="L1365" class="css-a4x74f"><span>1365</span></td><td id="LC1365" class="css-1dcdqdg"><code> margin: <span class="code-string">'0'</span>
+</code></td></tr><tr><td id="L1366" class="css-a4x74f"><span>1366</span></td><td id="LC1366" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L1367" class="css-a4x74f"><span>1367</span></td><td id="LC1367" class="css-1dcdqdg"><code> arrow: {
+</code></td></tr><tr><td id="L1368" class="css-a4x74f"><span>1368</span></td><td id="LC1368" class="css-1dcdqdg"><code> position: <span class="code-string">'absolute'</span>
+</code></td></tr><tr><td id="L1369" class="css-a4x74f"><span>1369</span></td><td id="LC1369" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L1370" class="css-a4x74f"><span>1370</span></td><td id="LC1370" class="css-1dcdqdg"><code> reference: {}
+</code></td></tr><tr><td id="L1371" class="css-a4x74f"><span>1371</span></td><td id="LC1371" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1372" class="css-a4x74f"><span>1372</span></td><td id="LC1372" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.assign(state.elements.popper.style, initialStyles.popper);
+</code></td></tr><tr><td id="L1373" class="css-a4x74f"><span>1373</span></td><td id="LC1373" class="css-1dcdqdg"><code> state.styles = initialStyles;
+</code></td></tr><tr><td id="L1374" class="css-a4x74f"><span>1374</span></td><td id="LC1374" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1375" class="css-a4x74f"><span>1375</span></td><td id="LC1375" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.elements.arrow) {
+</code></td></tr><tr><td id="L1376" class="css-a4x74f"><span>1376</span></td><td id="LC1376" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.assign(state.elements.arrow.style, initialStyles.arrow);
+</code></td></tr><tr><td id="L1377" class="css-a4x74f"><span>1377</span></td><td id="LC1377" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1378" class="css-a4x74f"><span>1378</span></td><td id="LC1378" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1379" class="css-a4x74f"><span>1379</span></td><td id="LC1379" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1380" class="css-a4x74f"><span>1380</span></td><td id="LC1380" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(state.elements).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">name</span>) </span>{
+</code></td></tr><tr><td id="L1381" class="css-a4x74f"><span>1381</span></td><td id="LC1381" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> element = state.elements[name];
+</code></td></tr><tr><td id="L1382" class="css-a4x74f"><span>1382</span></td><td id="LC1382" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> attributes = state.attributes[name] || {};
+</code></td></tr><tr><td id="L1383" class="css-a4x74f"><span>1383</span></td><td id="LC1383" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> styleProperties = <span class="code-built_in">Object</span>.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); <span class="code-comment">// Set all values to an empty string to unset them</span>
+</code></td></tr><tr><td id="L1384" class="css-a4x74f"><span>1384</span></td><td id="LC1384" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1385" class="css-a4x74f"><span>1385</span></td><td id="LC1385" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> style = styleProperties.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">style, property</span>) </span>{
+</code></td></tr><tr><td id="L1386" class="css-a4x74f"><span>1386</span></td><td id="LC1386" class="css-1dcdqdg"><code> style[property] = <span class="code-string">''</span>;
+</code></td></tr><tr><td id="L1387" class="css-a4x74f"><span>1387</span></td><td id="LC1387" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> style;
+</code></td></tr><tr><td id="L1388" class="css-a4x74f"><span>1388</span></td><td id="LC1388" class="css-1dcdqdg"><code> }, {}); <span class="code-comment">// arrow is optional + virtual elements</span>
+</code></td></tr><tr><td id="L1389" class="css-a4x74f"><span>1389</span></td><td id="LC1389" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1390" class="css-a4x74f"><span>1390</span></td><td id="LC1390" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isHTMLElement(element) || !getNodeName(element)) {
+</code></td></tr><tr><td id="L1391" class="css-a4x74f"><span>1391</span></td><td id="LC1391" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1392" class="css-a4x74f"><span>1392</span></td><td id="LC1392" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1393" class="css-a4x74f"><span>1393</span></td><td id="LC1393" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1394" class="css-a4x74f"><span>1394</span></td><td id="LC1394" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.assign(element.style, style);
+</code></td></tr><tr><td id="L1395" class="css-a4x74f"><span>1395</span></td><td id="LC1395" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(attributes).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">attribute</span>) </span>{
+</code></td></tr><tr><td id="L1396" class="css-a4x74f"><span>1396</span></td><td id="LC1396" class="css-1dcdqdg"><code> element.removeAttribute(attribute);
+</code></td></tr><tr><td id="L1397" class="css-a4x74f"><span>1397</span></td><td id="LC1397" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1398" class="css-a4x74f"><span>1398</span></td><td id="LC1398" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1399" class="css-a4x74f"><span>1399</span></td><td id="LC1399" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1400" class="css-a4x74f"><span>1400</span></td><td id="LC1400" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1401" class="css-a4x74f"><span>1401</span></td><td id="LC1401" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1402" class="css-a4x74f"><span>1402</span></td><td id="LC1402" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1403" class="css-a4x74f"><span>1403</span></td><td id="LC1403" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> applyStyles$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1404" class="css-a4x74f"><span>1404</span></td><td id="LC1404" class="css-1dcdqdg"><code> name: <span class="code-string">'applyStyles'</span>,
+</code></td></tr><tr><td id="L1405" class="css-a4x74f"><span>1405</span></td><td id="LC1405" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1406" class="css-a4x74f"><span>1406</span></td><td id="LC1406" class="css-1dcdqdg"><code> phase: <span class="code-string">'write'</span>,
+</code></td></tr><tr><td id="L1407" class="css-a4x74f"><span>1407</span></td><td id="LC1407" class="css-1dcdqdg"><code> fn: applyStyles,
+</code></td></tr><tr><td id="L1408" class="css-a4x74f"><span>1408</span></td><td id="LC1408" class="css-1dcdqdg"><code> effect: effect,
+</code></td></tr><tr><td id="L1409" class="css-a4x74f"><span>1409</span></td><td id="LC1409" class="css-1dcdqdg"><code> requires: [<span class="code-string">'computeStyles'</span>]
+</code></td></tr><tr><td id="L1410" class="css-a4x74f"><span>1410</span></td><td id="LC1410" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1411" class="css-a4x74f"><span>1411</span></td><td id="LC1411" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1412" class="css-a4x74f"><span>1412</span></td><td id="LC1412" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> defaultModifiers = [eventListeners, popperOffsets$<span class="code-number">1</span>, computeStyles$<span class="code-number">1</span>, applyStyles$<span class="code-number">1</span>];
+</code></td></tr><tr><td id="L1413" class="css-a4x74f"><span>1413</span></td><td id="LC1413" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> createPopper = <span class="code-comment">/*#__PURE__*/</span>popperGenerator({
+</code></td></tr><tr><td id="L1414" class="css-a4x74f"><span>1414</span></td><td id="LC1414" class="css-1dcdqdg"><code> defaultModifiers: defaultModifiers
+</code></td></tr><tr><td id="L1415" class="css-a4x74f"><span>1415</span></td><td id="LC1415" class="css-1dcdqdg"><code> }); <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1416" class="css-a4x74f"><span>1416</span></td><td id="LC1416" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1417" class="css-a4x74f"><span>1417</span></td><td id="LC1417" class="css-1dcdqdg"><code> exports.createPopper = createPopper;
+</code></td></tr><tr><td id="L1418" class="css-a4x74f"><span>1418</span></td><td id="LC1418" class="css-1dcdqdg"><code> exports.defaultModifiers = defaultModifiers;
+</code></td></tr><tr><td id="L1419" class="css-a4x74f"><span>1419</span></td><td id="LC1419" class="css-1dcdqdg"><code> exports.detectOverflow = detectOverflow;
+</code></td></tr><tr><td id="L1420" class="css-a4x74f"><span>1420</span></td><td id="LC1420" class="css-1dcdqdg"><code> exports.popperGenerator = popperGenerator;
+</code></td></tr><tr><td id="L1421" class="css-a4x74f"><span>1421</span></td><td id="LC1421" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1422" class="css-a4x74f"><span>1422</span></td><td id="LC1422" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.defineProperty(exports, <span class="code-string">'__esModule'</span>, { <span class="code-attr">value</span>: <span class="code-literal">true</span> });
+</code></td></tr><tr><td id="L1423" class="css-a4x74f"><span>1423</span></td><td id="LC1423" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1424" class="css-a4x74f"><span>1424</span></td><td id="LC1424" class="css-1dcdqdg"><code>})));
+</code></td></tr><tr><td id="L1425" class="css-a4x74f"><span>1425</span></td><td id="LC1425" class="css-1dcdqdg"><code><span class="code-comment">//# sourceMappingURL=popper-lite.js.map</span>
+</code></td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper-lite.js.map b/web/_static/popperjs/popper-lite.js.map
new file mode 100644
index 0000000..ddead81
--- /dev/null
+++ b/web/_static/popperjs/popper-lite.js.map
@@ -0,0 +1,65 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:32.267Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-lite.js.map","target":{"path":"/dist/umd/popper-lite.js.map","type":"file","details":{"contentType":"application/json","integrity":"sha384-oQ6L8kk35yi8DaaqViwMj4Ewyu71/vshnsGsx+yuBJ9L58DAvTpVHPhQZrwfd50F","language":"Source Map (JSON)","size":109089,"uri":null,"highlights":["{<span class=\"code-attr\">\"version\"</span>:<span class=\"code-number\">3</span>,<span class=\"code-attr\">\"file\"</span>:<span class=\"code-string\">\"popper-lite.js\"</span>,<span class=\"code-attr\">\"sources\"</span>:[<span class=\"code-string\">\"../../src/dom-utils/getWindow.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/instanceOf.js\"</span>,<span class=\"code-string\">\"../../src/utils/math.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getBoundingClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getHTMLElementScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScrollBarX.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getComputedStyle.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getCompositeRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getLayoutRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getParentNode.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/listScrollParents.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isTableElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getOffsetParent.js\"</span>,<span class=\"code-string\">\"../../src/enums.js\"</span>,<span class=\"code-string\">\"../../src/utils/orderModifiers.js\"</span>,<span class=\"code-string\">\"../../src/utils/debounce.js\"</span>,<span class=\"code-string\">\"../../src/utils/format.js\"</span>,<span class=\"code-string\">\"../../src/utils/validateModifiers.js\"</span>,<span class=\"code-string\">\"../../src/utils/uniqueBy.js\"</span>,<span class=\"code-string\">\"../../src/utils/getBasePlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergeByName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getViewportRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/contains.js\"</span>,<span class=\"code-string\">\"../../src/utils/rectToClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getClippingRect.js\"</span>,<span class=\"code-string\">\"../../src/utils/getVariation.js\"</span>,<span class=\"code-string\">\"../../src/utils/getMainAxisFromPlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/computeOffsets.js\"</span>,<span class=\"code-string\">\"../../src/utils/getFreshSideObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergePaddingObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/expandToHashMap.js\"</span>,<span class=\"code-string\">\"../../src/utils/detectOverflow.js\"</span>,<span class=\"code-string\">\"../../src/createPopper.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/eventListeners.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/popperOffsets.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/computeStyles.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/applyStyles.js\"</span>,<span class=\"code-string\">\"../../src/popper-lite.js\"</span>],<span class=\"code-attr\">\"sourcesContent\"</span>:[<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\ndeclare function getWindow(node: Node | Window): Window;\\n\\nexport default function getWindow(node) {\\n if (node == null) {\\n return window;\\n }\\n\\n if (node.toString() !== '[object Window]') {\\n const ownerDocument = node.ownerDocument;\\n return ownerDocument ? ownerDocument.defaultView || window : window;\\n }\\n\\n return node;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\\n Element);\\nfunction isElement(node) {\\n const OwnElement = getWindow(node).Element;\\n return node instanceof OwnElement || node instanceof Element;\\n}\\n\\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\\n HTMLElement);\\nfunction isHTMLElement(node) {\\n const OwnElement = getWindow(node).HTMLElement;\\n return node instanceof OwnElement || node instanceof HTMLElement;\\n}\\n\\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\\n ShadowRoot);\\nfunction isShadowRoot(node) {\\n // IE 11 has no ShadowRoot\\n if (typeof ShadowRoot === 'undefined') {\\n return false;\\n }\\n const OwnElement = getWindow(node).ShadowRoot;\\n return node instanceof OwnElement || node instanceof ShadowRoot;\\n}\\n\\nexport { isElement, isHTMLElement, isShadowRoot };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const max = Math.max;\\nexport const min = Math.min;\\nexport const round = Math.round;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject, VirtualElement } from '../types';\\nimport { isHTMLElement } from './instanceOf';\\nimport { round } from '../utils/math';\\n\\nexport default function getBoundingClientRect(\\n element: Element | VirtualElement,\\n includeScale: boolean = false\\n): ClientRectObject {\\n const rect = element.getBoundingClientRect();\\n let scaleX = 1;\\n let scaleY = 1;\\n\\n if (isHTMLElement(element) &amp;&amp; includeScale) {\\n const offsetHeight = element.offsetHeight;\\n const offsetWidth = element.offsetWidth;\\n\\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\\n // Fallback to 1 in case both values are `0`\\n if (offsetWidth &gt; 0) {\\n scaleX = round(rect.width) / offsetWidth || 1;\\n }\\n if (offsetHeight &gt; 0) {\\n scaleY = round(rect.height) / offsetHeight || 1;\\n }\\n }\\n\\n return {\\n width: rect.width / scaleX,\\n height: rect.height / scaleY,\\n top: rect.top / scaleY,\\n right: rect.right / scaleX,\\n bottom: rect.bottom / scaleY,\\n left: rect.left / scaleX,\\n x: rect.left / scaleX,\\n y: rect.top / scaleY,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport type { Window } from '../types';\\n\\nexport default function getWindowScroll(node: Node | Window) {\\n const win = getWindow(node);\\n const scrollLeft = win.pageXOffset;\\n const scrollTop = win.pageYOffset;\\n\\n return {\\n scrollLeft,\\n scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function getHTMLElementScroll(element: HTMLElement) {\\n return {\\n scrollLeft: element.scrollLeft,\\n scrollTop: element.scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindowScroll from './getWindowScroll';\\nimport getWindow from './getWindow';\\nimport { isHTMLElement } from './instanceOf';\\nimport getHTMLElementScroll from './getHTMLElementScroll';\\nimport type { Window } from '../types';\\n\\nexport default function getNodeScroll(node: Node | Window) {\\n if (node === getWindow(node) || !isHTMLElement(node)) {\\n return getWindowScroll(node);\\n } else {\\n return getHTMLElementScroll(node);\\n }\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\n\\nexport default function getNodeName(element: ?Node | Window): ?string {\\n return element ? (element.nodeName || '').toLowerCase() : null;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isElement } from './instanceOf';\\nimport type { Window } from '../types';\\n\\nexport default function getDocumentElement(\\n element: Element | Window\\n): HTMLElement {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return (\\n (isElement(element)\\n ? element.ownerDocument\\n : // $FlowFixMe[prop-missing]\\n element.document) || window.document\\n ).documentElement;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScroll from './getWindowScroll';\\n\\nexport default function getWindowScrollBarX(element: Element): number {\\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\\n // incorrect for RTL.\\n // Popper 1 is broken in this case and never had a bug report so let's assume\\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\\n // anyway.\\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\\n // this (e.g. Edge 2019, IE11, Safari)\\n return (\\n getBoundingClientRect(getDocumentElement(element)).left +\\n getWindowScroll(element).scrollLeft\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\nexport default function getComputedStyle(\\n element: Element\\n): CSSStyleDeclaration {\\n return getWindow(element).getComputedStyle(element);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getComputedStyle from './getComputedStyle';\\n\\nexport default function isScrollParent(element: HTMLElement): boolean {\\n // Firefox wants us to check `-x` and `-y` variations as well\\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, VirtualElement, Window } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getNodeScroll from './getNodeScroll';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getDocumentElement from './getDocumentElement';\\nimport isScrollParent from './isScrollParent';\\nimport { round } from '../utils/math';\\n\\nfunction isElementScaled(element: HTMLElement) {\\n const rect = element.getBoundingClientRect();\\n const scaleX = round(rect.width) / element.offsetWidth || 1;\\n const scaleY = round(rect.height) / element.offsetHeight || 1;\\n\\n return scaleX !== 1 || scaleY !== 1;\\n}\\n\\n// Returns the composite rect of an element relative to its offsetParent.\\n// Composite means it takes into account transforms as well as layout.\\nexport default function getCompositeRect(\\n elementOrVirtualElement: Element | VirtualElement,\\n offsetParent: Element | Window,\\n isFixed: boolean = false\\n): Rect {\\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\\n const offsetParentIsScaled =\\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\\n const documentElement = getDocumentElement(offsetParent);\\n const rect = getBoundingClientRect(\\n elementOrVirtualElement,\\n offsetParentIsScaled\\n );\\n\\n let scroll = { scrollLeft: 0, scrollTop: 0 };\\n let offsets = { x: 0, y: 0 };\\n\\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\\n if (\\n getNodeName(offsetParent) !== 'body' ||\\n // https://github.com/popperjs/popper-core/issues/1078\\n isScrollParent(documentElement)\\n ) {\\n scroll = getNodeScroll(offsetParent);\\n }\\n\\n if (isHTMLElement(offsetParent)) {\\n offsets = getBoundingClientRect(offsetParent, true);\\n offsets.x += offsetParent.clientLeft;\\n offsets.y += offsetParent.clientTop;\\n } else if (documentElement) {\\n offsets.x = getWindowScrollBarX(documentElement);\\n }\\n }\\n\\n return {\\n x: rect.left + scroll.scrollLeft - offsets.x,\\n y: rect.top + scroll.scrollTop - offsets.y,\\n width: rect.width,\\n height: rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\n\\n// Returns the layout rect of an element relative to its offsetParent. Layout\\n// means it doesn't take into account transforms.\\nexport default function getLayoutRect(element: HTMLElement): Rect {\\n const clientRect = getBoundingClientRect(element);\\n\\n // Use the clientRect sizes if it's not been transformed.\\n // Fixes https://github.com/popperjs/popper-core/issues/1223\\n let width = element.offsetWidth;\\n let height = element.offsetHeight;\\n\\n if (Math.abs(clientRect.width - width) &lt;= 1) {\\n width = clientRect.width;\\n }\\n\\n if (Math.abs(clientRect.height - height) &lt;= 1) {\\n height = clientRect.height;\\n }\\n\\n return {\\n x: element.offsetLeft,\\n y: element.offsetTop,\\n width,\\n height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\nimport getDocumentElement from './getDocumentElement';\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function getParentNode(element: Node | ShadowRoot): Node {\\n if (getNodeName(element) === 'html') {\\n return element;\\n }\\n\\n return (\\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\\n // $FlowFixMe[incompatible-return]\\n // $FlowFixMe[prop-missing]\\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\\n element.parentNode || // DOM Element detected\\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\\n getDocumentElement(element) // fallback\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getParentNode from './getParentNode';\\nimport isScrollParent from './isScrollParent';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\n\\nexport default function getScrollParent(node: Node): HTMLElement {\\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return node.ownerDocument.body;\\n }\\n\\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\\n return node;\\n }\\n\\n return getScrollParent(getParentNode(node));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getScrollParent from './getScrollParent';\\nimport getParentNode from './getParentNode';\\nimport getWindow from './getWindow';\\nimport type { Window, VisualViewport } from '../types';\\nimport isScrollParent from './isScrollParent';\\n\\n/*\\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\\nuntil we get to the top window object. This list is what we attach scroll listeners\\nto, because if any of these parent elements scroll, we'll need to re-calculate the\\nreference element's position.\\n*/\\nexport default function listScrollParents(\\n element: Node,\\n list: Array&lt;Element | Window&gt; = []\\n): Array&lt;Element | Window | VisualViewport&gt; {\\n const scrollParent = getScrollParent(element);\\n const isBody = scrollParent === element.ownerDocument?.body;\\n const win = getWindow(scrollParent);\\n const target = isBody\\n ? [win].concat(\\n win.visualViewport || [],\\n isScrollParent(scrollParent) ? scrollParent : []\\n )\\n : scrollParent;\\n const updatedList = list.concat(target);\\n\\n return isBody\\n ? updatedList\\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\\n updatedList.concat(listScrollParents(getParentNode(target)));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\n\\nexport default function isTableElement(element: Element): boolean {\\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getNodeName from './getNodeName';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\\nimport isTableElement from './isTableElement';\\nimport getParentNode from './getParentNode';\\n\\nfunction getTrueOffsetParent(element: Element): ?Element {\\n if (\\n !isHTMLElement(element) ||\\n // https://github.com/popperjs/popper-core/issues/837\\n getComputedStyle(element).position === 'fixed'\\n ) {\\n return null;\\n }\\n\\n return element.offsetParent;\\n}\\n\\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\\n// return the containing block\\nfunction getContainingBlock(element: Element) {\\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\\n\\n if (isIE &amp;&amp; isHTMLElement(element)) {\\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\\n const elementCss = getComputedStyle(element);\\n if (elementCss.position === 'fixed') {\\n return null;\\n }\\n }\\n\\n let currentNode = getParentNode(element);\\n\\n if (isShadowRoot(currentNode)) {\\n currentNode = currentNode.host;\\n }\\n\\n while (\\n isHTMLElement(currentNode) &amp;&amp;\\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\\n ) {\\n const css = getComputedStyle(currentNode);\\n\\n // This is non-exhaustive but covers the most common CSS properties that\\n // create a containing block.\\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\\n if (\\n css.transform !== 'none' ||\\n css.perspective !== 'none' ||\\n css.contain === 'paint' ||\\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\\n ) {\\n return currentNode;\\n } else {\\n currentNode = currentNode.parentNode;\\n }\\n }\\n\\n return null;\\n}\\n\\n// Gets the closest ancestor positioned element. Handles some edge cases,\\n// such as table ancestors and cross browser bugs.\\nexport default function getOffsetParent(element: Element) {\\n const window = getWindow(element);\\n\\n let offsetParent = getTrueOffsetParent(element);\\n\\n while (\\n offsetParent &amp;&amp;\\n isTableElement(offsetParent) &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'\\n ) {\\n offsetParent = getTrueOffsetParent(offsetParent);\\n }\\n\\n if (\\n offsetParent &amp;&amp;\\n (getNodeName(offsetParent) === 'html' ||\\n (getNodeName(offsetParent) === 'body' &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'))\\n ) {\\n return window;\\n }\\n\\n return offsetParent || getContainingBlock(element) || window;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const top: 'top' = 'top';\\nexport const bottom: 'bottom' = 'bottom';\\nexport const right: 'right' = 'right';\\nexport const left: 'left' = 'left';\\nexport const auto: 'auto' = 'auto';\\nexport type BasePlacement =\\n | typeof top\\n | typeof bottom\\n | typeof right\\n | typeof left;\\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\\n\\nexport const start: 'start' = 'start';\\nexport const end: 'end' = 'end';\\nexport type Variation = typeof start | typeof end;\\n\\nexport const clippingParents: 'clippingParents' = 'clippingParents';\\nexport const viewport: 'viewport' = 'viewport';\\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\\nexport type RootBoundary = typeof viewport | 'document';\\n\\nexport const popper: 'popper' = 'popper';\\nexport const reference: 'reference' = 'reference';\\nexport type Context = typeof popper | typeof reference;\\n\\nexport type VariationPlacement =\\n | 'top-start'\\n | 'top-end'\\n | 'bottom-start'\\n | 'bottom-end'\\n | 'right-start'\\n | 'right-end'\\n | 'left-start'\\n | 'left-end';\\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\\n\\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\\n []\\n);\\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\\n (\\n acc: Array&lt;Placement&gt;,\\n placement: BasePlacement | typeof auto\\n ): Array&lt;Placement&gt; =&gt;\\n acc.concat([\\n placement,\\n (`${placement}-${start}`: any),\\n (`${placement}-${end}`: any),\\n ]),\\n []\\n);\\n\\n// modifiers that need to read the DOM\\nexport const beforeRead: 'beforeRead' = 'beforeRead';\\nexport const read: 'read' = 'read';\\nexport const afterRead: 'afterRead' = 'afterRead';\\n// pure-logic modifiers\\nexport const beforeMain: 'beforeMain' = 'beforeMain';\\nexport const main: 'main' = 'main';\\nexport const afterMain: 'afterMain' = 'afterMain';\\n// modifier with the purpose to write to the DOM (or write into a framework state)\\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\\nexport const write: 'write' = 'write';\\nexport const afterWrite: 'afterWrite' = 'afterWrite';\\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\\n beforeRead,\\n read,\\n afterRead,\\n beforeMain,\\n main,\\n afterMain,\\n beforeWrite,\\n write,\\n afterWrite,\\n];\\n\\nexport type ModifierPhases =\\n | typeof beforeRead\\n | typeof read\\n | typeof afterRead\\n | typeof beforeMain\\n | typeof main\\n | typeof afterMain\\n | typeof beforeWrite\\n | typeof write\\n | typeof afterWrite;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\nimport { modifierPhases } from '../enums';\\n\\n// source: https://stackoverflow.com/questions/49875255\\nfunction order(modifiers) {\\n const map = new Map();\\n const visited = new Set();\\n const result = [];\\n\\n modifiers.forEach(modifier =&gt; {\\n map.set(modifier.name, modifier);\\n });\\n\\n // On visiting object, check for its dependencies and visit them recursively\\n function sort(modifier: Modifier&lt;any, any&gt;) {\\n visited.add(modifier.name);\\n\\n const requires = [\\n ...(modifier.requires || []),\\n ...(modifier.requiresIfExists || []),\\n ];\\n\\n requires.forEach(dep =&gt; {\\n if (!visited.has(dep)) {\\n const depModifier = map.get(dep);\\n\\n if (depModifier) {\\n sort(depModifier);\\n }\\n }\\n });\\n\\n result.push(modifier);\\n }\\n\\n modifiers.forEach(modifier =&gt; {\\n if (!visited.has(modifier.name)) {\\n // check for visited object\\n sort(modifier);\\n }\\n });\\n\\n return result;\\n}\\n\\nexport default function orderModifiers(\\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\\n // order based on dependencies\\n const orderedModifiers = order(modifiers);\\n\\n // order based on phase\\n return modifierPhases.reduce((acc, phase) =&gt; {\\n return acc.concat(\\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\\n );\\n }, []);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\\n let pending;\\n return () =&gt; {\\n if (!pending) {\\n pending = new Promise&lt;T&gt;(resolve =&gt; {\\n Promise.resolve().then(() =&gt; {\\n pending = undefined;\\n resolve(fn());\\n });\\n });\\n }\\n\\n return pending;\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function format(str: string, ...args: Array&lt;string&gt;) {\\n return [...args].reduce((p, c) =&gt; p.replace(/%s/, c), str);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport format from './format';\\nimport { modifierPhases } from '../enums';\\n\\nconst INVALID_MODIFIER_ERROR =\\n 'Popper: modifier \\\"%s\\\" provided an invalid %s property, expected %s but got %s';\\nconst MISSING_DEPENDENCY_ERROR =\\n 'Popper: modifier \\\"%s\\\" requires \\\"%s\\\", but \\\"%s\\\" modifier is not available';\\nconst VALID_PROPERTIES = [\\n 'name',\\n 'enabled',\\n 'phase',\\n 'fn',\\n 'effect',\\n 'requires',\\n 'options',\\n];\\n\\nexport default function validateModifiers(modifiers: Array&lt;any&gt;): void {\\n modifiers.forEach((modifier) =&gt; {\\n [...Object.keys(modifier), ...VALID_PROPERTIES]\\n // IE11-compatible replacement for `new Set(iterable)`\\n .filter((value, index, self) =&gt; self.indexOf(value) === index)\\n .forEach((key) =&gt; {\\n switch (key) {\\n case 'name':\\n if (typeof modifier.name !== 'string') {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n String(modifier.name),\\n '\\\"name\\\"',\\n '\\\"string\\\"',\\n `\\\"${String(modifier.name)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'enabled':\\n if (typeof modifier.enabled !== 'boolean') {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"enabled\\\"',\\n '\\\"boolean\\\"',\\n `\\\"${String(modifier.enabled)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'phase':\\n if (modifierPhases.indexOf(modifier.phase) &lt; 0) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"phase\\\"',\\n `either ${modifierPhases.join(', ')}`,\\n `\\\"${String(modifier.phase)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'fn':\\n if (typeof modifier.fn !== 'function') {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"fn\\\"',\\n '\\\"function\\\"',\\n `\\\"${String(modifier.fn)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'effect':\\n if (\\n modifier.effect != null &amp;&amp;\\n typeof modifier.effect !== 'function'\\n ) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"effect\\\"',\\n '\\\"function\\\"',\\n `\\\"${String(modifier.fn)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'requires':\\n if (\\n modifier.requires != null &amp;&amp;\\n !Array.isArray(modifier.requires)\\n ) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"requires\\\"',\\n '\\\"array\\\"',\\n `\\\"${String(modifier.requires)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'requiresIfExists':\\n if (!Array.isArray(modifier.requiresIfExists)) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"requiresIfExists\\\"',\\n '\\\"array\\\"',\\n `\\\"${String(modifier.requiresIfExists)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'options':\\n case 'data':\\n break;\\n default:\\n console.error(\\n `PopperJS: an invalid property has been provided to the \\\"${\\n modifier.name\\n }\\\" modifier, valid properties are ${VALID_PROPERTIES.map(\\n (s) =&gt; `\\\"${s}\\\"`\\n ).join(', ')}; but \\\"${key}\\\" was provided.`\\n );\\n }\\n\\n modifier.requires &amp;&amp;\\n modifier.requires.forEach((requirement) =&gt; {\\n if (modifiers.find((mod) =&gt; mod.name === requirement) == null) {\\n console.error(\\n format(\\n MISSING_DEPENDENCY_ERROR,\\n String(modifier.name),\\n requirement,\\n requirement\\n )\\n );\\n }\\n });\\n });\\n });\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function uniqueBy&lt;T&gt;(arr: Array&lt;T&gt;, fn: T =&gt; any): Array&lt;T&gt; {\\n const identifiers = new Set();\\n\\n return arr.filter(item =&gt; {\\n const identifier = fn(item);\\n\\n if (!identifiers.has(identifier)) {\\n identifiers.add(identifier);\\n return true;\\n }\\n });\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type BasePlacement, type Placement, auto } from '../enums';\\n\\nexport default function getBasePlacement(\\n placement: Placement | typeof auto\\n): BasePlacement {\\n return (placement.split('-')[0]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\n\\nexport default function mergeByName(\\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\\n const merged = modifiers.reduce((merged, current) =&gt; {\\n const existing = merged[current.name];\\n merged[current.name] = existing\\n ? {\\n ...existing,\\n ...current,\\n options: { ...existing.options, ...current.options },\\n data: { ...existing.data, ...current.data },\\n }\\n : current;\\n return merged;\\n }, {});\\n\\n // IE11 does not support Object.values\\n return Object.keys(merged).map(key =&gt; merged[key]);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\n\\nexport default function getViewportRect(element: Element) {\\n const win = getWindow(element);\\n const html = getDocumentElement(element);\\n const visualViewport = win.visualViewport;\\n\\n let width = html.clientWidth;\\n let height = html.clientHeight;\\n let x = 0;\\n let y = 0;\\n\\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\\n // can be obscured underneath it.\\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\\n // if it isn't open, so if this isn't available, the popper will be detected\\n // to overflow the bottom of the screen too early.\\n if (visualViewport) {\\n width = visualViewport.width;\\n height = visualViewport.height;\\n\\n // Uses Layout Viewport (like Chrome; Safari does not currently)\\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\\n // errors due to floating point numbers, so we need to check precision.\\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\\n\\n // Feature detection fails in mobile emulation mode in Chrome.\\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\\n // 0.001\\n // Fallback here: \\\"Not Safari\\\" userAgent\\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\\n x = visualViewport.offsetLeft;\\n y = visualViewport.offsetTop;\\n }\\n }\\n\\n return {\\n width,\\n height,\\n x: x + getWindowScrollBarX(element),\\n y,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getWindowScroll from './getWindowScroll';\\nimport { max } from '../utils/math';\\n\\n// Gets the entire size of the scrollable document area, even extending outside\\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\\nexport default function getDocumentRect(element: HTMLElement): Rect {\\n const html = getDocumentElement(element);\\n const winScroll = getWindowScroll(element);\\n const body = element.ownerDocument?.body;\\n\\n const width = max(\\n html.scrollWidth,\\n html.clientWidth,\\n body ? body.scrollWidth : 0,\\n body ? body.clientWidth : 0\\n );\\n const height = max(\\n html.scrollHeight,\\n html.clientHeight,\\n body ? body.scrollHeight : 0,\\n body ? body.clientHeight : 0\\n );\\n\\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\\n const y = -winScroll.scrollTop;\\n\\n if (getComputedStyle(body || html).direction === 'rtl') {\\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\\n }\\n\\n return { width, height, x, y };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function contains(parent: Element, child: Element) {\\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\\n\\n // First, attempt with faster native method\\n if (parent.contains(child)) {\\n return true;\\n }\\n // then fallback to custom implementation with Shadow DOM support\\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\\n let next = child;\\n do {\\n if (next &amp;&amp; parent.isSameNode(next)) {\\n return true;\\n }\\n // $FlowFixMe[prop-missing]: need a better way to handle this...\\n next = next.parentNode || next.host;\\n } while (next);\\n }\\n\\n // Give up, the result is false\\n return false;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, ClientRectObject } from '../types';\\n\\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\\n return {\\n ...rect,\\n left: rect.x,\\n top: rect.y,\\n right: rect.x + rect.width,\\n bottom: rect.y + rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject } from '../types';\\nimport type { Boundary, RootBoundary } from '../enums';\\nimport { viewport } from '../enums';\\nimport getViewportRect from './getViewportRect';\\nimport getDocumentRect from './getDocumentRect';\\nimport listScrollParents from './listScrollParents';\\nimport getOffsetParent from './getOffsetParent';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isElement, isHTMLElement } from './instanceOf';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getParentNode from './getParentNode';\\nimport contains from './contains';\\nimport getNodeName from './getNodeName';\\nimport rectToClientRect from '../utils/rectToClientRect';\\nimport { max, min } from '../utils/math';\\n\\nfunction getInnerBoundingClientRect(element: Element) {\\n const rect = getBoundingClientRect(element);\\n\\n rect.top = rect.top + element.clientTop;\\n rect.left = rect.left + element.clientLeft;\\n rect.bottom = rect.top + element.clientHeight;\\n rect.right = rect.left + element.clientWidth;\\n rect.width = element.clientWidth;\\n rect.height = element.clientHeight;\\n rect.x = rect.left;\\n rect.y = rect.top;\\n\\n return rect;\\n}\\n\\nfunction getClientRectFromMixedType(\\n element: Element,\\n clippingParent: Element | RootBoundary\\n): ClientRectObject {\\n return clippingParent === viewport\\n ? rectToClientRect(getViewportRect(element))\\n : isElement(clippingParent)\\n ? getInnerBoundingClientRect(clippingParent)\\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\\n}\\n\\n// A \\\"clipping parent\\\" is an overflowable container with the characteristic of\\n// clipping (or hiding) overflowing elements with a position different from\\n// `initial`\\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\\n const clippingParents = listScrollParents(getParentNode(element));\\n const canEscapeClipping =\\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\\n const clipperElement =\\n canEscapeClipping &amp;&amp; isHTMLElement(element)\\n ? getOffsetParent(element)\\n : element;\\n\\n if (!isElement(clipperElement)) {\\n return [];\\n }\\n\\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\\n return clippingParents.filter(\\n (clippingParent) =&gt;\\n isElement(clippingParent) &amp;&amp;\\n contains(clippingParent, clipperElement) &amp;&amp;\\n getNodeName(clippingParent) !== 'body'\\n );\\n}\\n\\n// Gets the maximum area that the element is visible in due to any number of\\n// clipping parents\\nexport default function getClippingRect(\\n element: Element,\\n boundary: Boundary,\\n rootBoundary: RootBoundary\\n): ClientRectObject {\\n const mainClippingParents =\\n boundary === 'clippingParents'\\n ? getClippingParents(element)\\n : [].concat(boundary);\\n const clippingParents = [...mainClippingParents, rootBoundary];\\n const firstClippingParent = clippingParents[0];\\n\\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\\n const rect = getClientRectFromMixedType(element, clippingParent);\\n\\n accRect.top = max(rect.top, accRect.top);\\n accRect.right = min(rect.right, accRect.right);\\n accRect.bottom = min(rect.bottom, accRect.bottom);\\n accRect.left = max(rect.left, accRect.left);\\n\\n return accRect;\\n }, getClientRectFromMixedType(element, firstClippingParent));\\n\\n clippingRect.width = clippingRect.right - clippingRect.left;\\n clippingRect.height = clippingRect.bottom - clippingRect.top;\\n clippingRect.x = clippingRect.left;\\n clippingRect.y = clippingRect.top;\\n\\n return clippingRect;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type Variation, type Placement } from '../enums';\\n\\nexport default function getVariation(placement: Placement): ?Variation {\\n return (placement.split('-')[1]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nexport default function getMainAxisFromPlacement(\\n placement: Placement\\n): 'x' | 'y' {\\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBasePlacement from './getBasePlacement';\\nimport getVariation from './getVariation';\\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\\nimport type {\\n Rect,\\n PositioningStrategy,\\n Offsets,\\n ClientRectObject,\\n} from '../types';\\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\\n\\nexport default function computeOffsets({\\n reference,\\n element,\\n placement,\\n}: {\\n reference: Rect | ClientRectObject,\\n element: Rect | ClientRectObject,\\n strategy: PositioningStrategy,\\n placement?: Placement,\\n}): Offsets {\\n const basePlacement = placement ? getBasePlacement(placement) : null;\\n const variation = placement ? getVariation(placement) : null;\\n const commonX = reference.x + reference.width / 2 - element.width / 2;\\n const commonY = reference.y + reference.height / 2 - element.height / 2;\\n\\n let offsets;\\n switch (basePlacement) {\\n case top:\\n offsets = {\\n x: commonX,\\n y: reference.y - element.height,\\n };\\n break;\\n case bottom:\\n offsets = {\\n x: commonX,\\n y: reference.y + reference.height,\\n };\\n break;\\n case right:\\n offsets = {\\n x: reference.x + reference.width,\\n y: commonY,\\n };\\n break;\\n case left:\\n offsets = {\\n x: reference.x - element.width,\\n y: commonY,\\n };\\n break;\\n default:\\n offsets = {\\n x: reference.x,\\n y: reference.y,\\n };\\n }\\n\\n const mainAxis = basePlacement\\n ? getMainAxisFromPlacement(basePlacement)\\n : null;\\n\\n if (mainAxis != null) {\\n const len = mainAxis === 'y' ? 'height' : 'width';\\n\\n switch (variation) {\\n case start:\\n offsets[mainAxis] =\\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\\n break;\\n case end:\\n offsets[mainAxis] =\\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\\n break;\\n default:\\n }\\n }\\n\\n return offsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\n\\nexport default function getFreshSideObject(): SideObject {\\n return {\\n top: 0,\\n right: 0,\\n bottom: 0,\\n left: 0,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\nimport getFreshSideObject from './getFreshSideObject';\\n\\nexport default function mergePaddingObject(\\n paddingObject: $Shape&lt;SideObject&gt;\\n): SideObject {\\n return {\\n ...getFreshSideObject(),\\n ...paddingObject,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function expandToHashMap&lt;\\n T: number | string | boolean,\\n K: string\\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\\n return keys.reduce((hashMap, key) =&gt; {\\n hashMap[key] = value;\\n return hashMap;\\n }, {});\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { State, SideObject, Padding } from '../types';\\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\\nimport getClippingRect from '../dom-utils/getClippingRect';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\\nimport computeOffsets from './computeOffsets';\\nimport rectToClientRect from './rectToClientRect';\\nimport {\\n clippingParents,\\n reference,\\n popper,\\n bottom,\\n top,\\n right,\\n basePlacements,\\n viewport,\\n} from '../enums';\\nimport { isElement } from '../dom-utils/instanceOf';\\nimport mergePaddingObject from './mergePaddingObject';\\nimport expandToHashMap from './expandToHashMap';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n placement: Placement,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n elementContext: Context,\\n altBoundary: boolean,\\n padding: Padding,\\n};\\n\\nexport default function detectOverflow(\\n state: State,\\n options: $Shape&lt;Options&gt; = {}\\n): SideObject {\\n const {\\n placement = state.placement,\\n boundary = clippingParents,\\n rootBoundary = viewport,\\n elementContext = popper,\\n altBoundary = false,\\n padding = 0,\\n } = options;\\n\\n const paddingObject = mergePaddingObject(\\n typeof padding !== 'number'\\n ? padding\\n : expandToHashMap(padding, basePlacements)\\n );\\n\\n const altContext = elementContext === popper ? reference : popper;\\n\\n const popperRect = state.rects.popper;\\n const element = state.elements[altBoundary ? altContext : elementContext];\\n\\n const clippingClientRect = getClippingRect(\\n isElement(element)\\n ? element\\n : element.contextElement || getDocumentElement(state.elements.popper),\\n boundary,\\n rootBoundary\\n );\\n\\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\\n\\n const popperOffsets = computeOffsets({\\n reference: referenceClientRect,\\n element: popperRect,\\n strategy: 'absolute',\\n placement,\\n });\\n\\n const popperClientRect = rectToClientRect({\\n ...popperRect,\\n ...popperOffsets,\\n });\\n\\n const elementClientRect =\\n elementContext === popper ? popperClientRect : referenceClientRect;\\n\\n // positive = overflowing the clipping rect\\n // 0 or negative = within the clipping rect\\n const overflowOffsets = {\\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\\n bottom:\\n elementClientRect.bottom -\\n clippingClientRect.bottom +\\n paddingObject.bottom,\\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\\n right:\\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\\n };\\n\\n const offsetData = state.modifiersData.offset;\\n\\n // Offsets can be applied only to the popper element\\n if (elementContext === popper &amp;&amp; offsetData) {\\n const offset = offsetData[placement];\\n\\n Object.keys(overflowOffsets).forEach((key) =&gt; {\\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\\n overflowOffsets[key] += offset[axis] * multiply;\\n });\\n }\\n\\n return overflowOffsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n State,\\n OptionsGeneric,\\n Modifier,\\n Instance,\\n VirtualElement,\\n} from './types';\\nimport getCompositeRect from './dom-utils/getCompositeRect';\\nimport getLayoutRect from './dom-utils/getLayoutRect';\\nimport listScrollParents from './dom-utils/listScrollParents';\\nimport getOffsetParent from './dom-utils/getOffsetParent';\\nimport getComputedStyle from './dom-utils/getComputedStyle';\\nimport orderModifiers from './utils/orderModifiers';\\nimport debounce from './utils/debounce';\\nimport validateModifiers from './utils/validateModifiers';\\nimport uniqueBy from './utils/uniqueBy';\\nimport getBasePlacement from './utils/getBasePlacement';\\nimport mergeByName from './utils/mergeByName';\\nimport detectOverflow from './utils/detectOverflow';\\nimport { isElement } from './dom-utils/instanceOf';\\nimport { auto } from './enums';\\n\\nconst INVALID_ELEMENT_ERROR =\\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\\nconst INFINITE_LOOP_ERROR =\\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\\n\\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\\n placement: 'bottom',\\n modifiers: [],\\n strategy: 'absolute',\\n};\\n\\ntype PopperGeneratorArgs = {\\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\\n};\\n\\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\\n return !args.some(\\n (element) =&gt;\\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\\n );\\n}\\n\\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\\n const {\\n defaultModifiers = [],\\n defaultOptions = DEFAULT_OPTIONS,\\n } = generatorOptions;\\n\\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\\n reference: Element | VirtualElement,\\n popper: HTMLElement,\\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\\n ): Instance {\\n let state: $Shape&lt;State&gt; = {\\n placement: 'bottom',\\n orderedModifiers: [],\\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\\n modifiersData: {},\\n elements: {\\n reference,\\n popper,\\n },\\n attributes: {},\\n styles: {},\\n };\\n\\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\\n let isDestroyed = false;\\n\\n const instance = {\\n state,\\n setOptions(setOptionsAction) {\\n const options =\\n typeof setOptionsAction === 'function'\\n ? setOptionsAction(state.options)\\n : setOptionsAction;\\n\\n cleanupModifierEffects();\\n\\n state.options = {\\n // $FlowFixMe[exponential-spread]\\n ...defaultOptions,\\n ...state.options,\\n ...options,\\n };\\n\\n state.scrollParents = {\\n reference: isElement(reference)\\n ? listScrollParents(reference)\\n : reference.contextElement\\n ? listScrollParents(reference.contextElement)\\n : [],\\n popper: listScrollParents(popper),\\n };\\n\\n // Orders the modifiers based on their dependencies and `phase`\\n // properties\\n const orderedModifiers = orderModifiers(\\n mergeByName([...defaultModifiers, ...state.options.modifiers])\\n );\\n\\n // Strip out disabled modifiers\\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\\n\\n // Validate the provided modifiers so that the consumer will get warned\\n // if one of the modifiers is invalid for any reason\\n if (__DEV__) {\\n const modifiers = uniqueBy(\\n [...orderedModifiers, ...state.options.modifiers],\\n ({ name }) =&gt; name\\n );\\n\\n validateModifiers(modifiers);\\n\\n if (getBasePlacement(state.options.placement) === auto) {\\n const flipModifier = state.orderedModifiers.find(\\n ({ name }) =&gt; name === 'flip'\\n );\\n\\n if (!flipModifier) {\\n console.error(\\n [\\n 'Popper: \\\"auto\\\" placements require the \\\"flip\\\" modifier be',\\n 'present and enabled to work.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const {\\n marginTop,\\n marginRight,\\n marginBottom,\\n marginLeft,\\n } = getComputedStyle(popper);\\n\\n // We no longer take into account `margins` on the popper, and it can\\n // cause bugs with positioning, so we'll warn the consumer\\n if (\\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\\n parseFloat(margin)\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: CSS \\\"margin\\\" styles cannot be used to apply padding',\\n 'between the popper and its reference element or boundary.',\\n 'To replicate margin, use the `offset` modifier, as well as',\\n 'the `padding` option in the `preventOverflow` and `flip`',\\n 'modifiers.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n runModifierEffects();\\n\\n return instance.update();\\n },\\n\\n // Sync update \u2013 it will always be executed, even if not necessary. This\\n // is useful for low frequency updates where sync behavior simplifies the\\n // logic.\\n // For high frequency updates (e.g. `resize` and `scroll` events), always\\n // prefer the async Popper#update method\\n forceUpdate() {\\n if (isDestroyed) {\\n return;\\n }\\n\\n const { reference, popper } = state.elements;\\n\\n // Don't proceed if `reference` or `popper` are not valid elements\\n // anymore\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return;\\n }\\n\\n // Store the reference and popper rects to be read by modifiers\\n state.rects = {\\n reference: getCompositeRect(\\n reference,\\n getOffsetParent(popper),\\n state.options.strategy === 'fixed'\\n ),\\n popper: getLayoutRect(popper),\\n };\\n\\n // Modifiers have the ability to reset the current update cycle. The\\n // most common use case for this is the `flip` modifier changing the\\n // placement, which then needs to re-run all the modifiers, because the\\n // logic was previously ran for the previous placement and is therefore\\n // stale/incorrect\\n state.reset = false;\\n\\n state.placement = state.options.placement;\\n\\n // On each update cycle, the `modifiersData` property for each modifier\\n // is filled with the initial data specified by the modifier. This means\\n // it doesn't persist and is fresh on each update.\\n // To ensure persistent data, use `${name}#persistent`\\n state.orderedModifiers.forEach(\\n (modifier) =&gt;\\n (state.modifiersData[modifier.name] = {\\n ...modifier.data,\\n })\\n );\\n\\n let __debug_loops__ = 0;\\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\\n if (__DEV__) {\\n __debug_loops__ += 1;\\n if (__debug_loops__ &gt; 100) {\\n console.error(INFINITE_LOOP_ERROR);\\n break;\\n }\\n }\\n\\n if (state.reset === true) {\\n state.reset = false;\\n index = -1;\\n continue;\\n }\\n\\n const { fn, options = {}, name } = state.orderedModifiers[index];\\n\\n if (typeof fn === 'function') {\\n state = fn({ state, options, name, instance }) || state;\\n }\\n }\\n },\\n\\n // Async and optimistically optimized update \u2013 it will not be executed if\\n // not necessary (debounced to run at most once-per-tick)\\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\\n () =&gt;\\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\\n instance.forceUpdate();\\n resolve(state);\\n })\\n ),\\n\\n destroy() {\\n cleanupModifierEffects();\\n isDestroyed = true;\\n },\\n };\\n\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return instance;\\n }\\n\\n instance.setOptions(options).then((state) =&gt; {\\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\\n options.onFirstUpdate(state);\\n }\\n });\\n\\n // Modifiers have the ability to execute arbitrary code before the first\\n // update cycle runs. They will be executed in the same order as the update\\n // cycle. This is useful when a modifier adds some persistent data that\\n // other modifiers need to use, but the modifier is run after the dependent\\n // one.\\n function runModifierEffects() {\\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\\n if (typeof effect === 'function') {\\n const cleanupFn = effect({ state, name, instance, options });\\n const noopFn = () =&gt; {};\\n effectCleanupFns.push(cleanupFn || noopFn);\\n }\\n });\\n }\\n\\n function cleanupModifierEffects() {\\n effectCleanupFns.forEach((fn) =&gt; fn());\\n effectCleanupFns = [];\\n }\\n\\n return instance;\\n };\\n}\\n\\nexport const createPopper = popperGenerator();\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { detectOverflow };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ModifierArguments, Modifier } from '../types';\\nimport getWindow from '../dom-utils/getWindow';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n scroll: boolean,\\n resize: boolean,\\n};\\n\\nconst passive = { passive: true };\\n\\nfunction effect({ state, instance, options }: ModifierArguments&lt;Options&gt;) {\\n const { scroll = true, resize = true } = options;\\n\\n const window = getWindow(state.elements.popper);\\n const scrollParents = [\\n ...state.scrollParents.reference,\\n ...state.scrollParents.popper,\\n ];\\n\\n if (scroll) {\\n scrollParents.forEach(scrollParent =&gt; {\\n scrollParent.addEventListener('scroll', instance.update, passive);\\n });\\n }\\n\\n if (resize) {\\n window.addEventListener('resize', instance.update, passive);\\n }\\n\\n return () =&gt; {\\n if (scroll) {\\n scrollParents.forEach(scrollParent =&gt; {\\n scrollParent.removeEventListener('scroll', instance.update, passive);\\n });\\n }\\n\\n if (resize) {\\n window.removeEventListener('resize', instance.update, passive);\\n }\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type EventListenersModifier = Modifier&lt;'eventListeners', Options&gt;;\\nexport default ({\\n name: 'eventListeners',\\n enabled: true,\\n phase: 'write',\\n fn: () =&gt; {},\\n effect,\\n data: {},\\n}: EventListenersModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ModifierArguments, Modifier } from '../types';\\nimport computeOffsets from '../utils/computeOffsets';\\n\\nfunction popperOffsets({ state, name }: ModifierArguments&lt;{||}&gt;) {\\n // Offsets are the actual position the popper needs to have to be\\n // properly positioned near its reference element\\n // This is the most basic placement, and will be adjusted by\\n // the modifiers in the next step\\n state.modifiersData[name] = computeOffsets({\\n reference: state.rects.reference,\\n element: state.rects.popper,\\n strategy: 'absolute',\\n placement: state.placement,\\n });\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type PopperOffsetsModifier = Modifier&lt;'popperOffsets', {||}&gt;;\\nexport default ({\\n name: 'popperOffsets',\\n enabled: true,\\n phase: 'read',\\n fn: popperOffsets,\\n data: {},\\n}: PopperOffsetsModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n PositioningStrategy,\\n Offsets,\\n Modifier,\\n ModifierArguments,\\n Rect,\\n Window,\\n} from '../types';\\nimport {\\n type BasePlacement,\\n type Variation,\\n top,\\n left,\\n right,\\n bottom,\\n end,\\n} from '../enums';\\nimport getOffsetParent from '../dom-utils/getOffsetParent';\\nimport getWindow from '../dom-utils/getWindow';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getComputedStyle from '../dom-utils/getComputedStyle';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getVariation from '../utils/getVariation';\\nimport { round } from '../utils/math';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type RoundOffsets = (\\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;\\n) =&gt; Offsets;\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n gpuAcceleration: boolean,\\n adaptive: boolean,\\n roundOffsets?: boolean | RoundOffsets,\\n};\\n\\nconst unsetSides = {\\n top: 'auto',\\n right: 'auto',\\n bottom: 'auto',\\n left: 'auto',\\n};\\n\\n// Round the offsets to the nearest suitable subpixel based on the DPR.\\n// Zooming can change the DPR, but it seems to report a value that will\\n// cleanly divide the values into the appropriate subpixels.\\nfunction roundOffsetsByDPR({ x, y }): Offsets {\\n const win: Window = window;\\n const dpr = win.devicePixelRatio || 1;\\n\\n return {\\n x: round(x * dpr) / dpr || 0,\\n y: round(y * dpr) / dpr || 0,\\n };\\n}\\n\\nexport function mapToStyles({\\n popper,\\n popperRect,\\n placement,\\n variation,\\n offsets,\\n position,\\n gpuAcceleration,\\n adaptive,\\n roundOffsets,\\n isFixed,\\n}: {\\n popper: HTMLElement,\\n popperRect: Rect,\\n placement: BasePlacement,\\n variation: ?Variation,\\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;,\\n position: PositioningStrategy,\\n gpuAcceleration: boolean,\\n adaptive: boolean,\\n roundOffsets: boolean | RoundOffsets,\\n isFixed: boolean,\\n}) {\\n let { x = 0, y = 0 } = offsets;\\n\\n ({ x, y } =\\n typeof roundOffsets === 'function'\\n ? roundOffsets({ x, y })\\n : { x, y });\\n\\n const hasX = offsets.hasOwnProperty('x');\\n const hasY = offsets.hasOwnProperty('y');\\n\\n let sideX: string = left;\\n let sideY: string = top;\\n\\n const win: Window = window;\\n\\n if (adaptive) {\\n let offsetParent = getOffsetParent(popper);\\n let heightProp = 'clientHeight';\\n let widthProp = 'clientWidth';\\n\\n if (offsetParent === getWindow(popper)) {\\n offsetParent = getDocumentElement(popper);\\n\\n if (\\n getComputedStyle(offsetParent).position !== 'static' &amp;&amp;\\n position === 'absolute'\\n ) {\\n heightProp = 'scrollHeight';\\n widthProp = 'scrollWidth';\\n }\\n }\\n\\n // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\\n offsetParent = (offsetParent: Element);\\n\\n if (\\n placement === top ||\\n ((placement === left || placement === right) &amp;&amp; variation === end)\\n ) {\\n sideY = bottom;\\n const offsetY =\\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\\n ? win.visualViewport.height\\n : // $FlowFixMe[prop-missing]\\n offsetParent[heightProp];\\n y -= offsetY - popperRect.height;\\n y *= gpuAcceleration ? 1 : -1;\\n }\\n\\n if (\\n placement === left ||\\n ((placement === top || placement === bottom) &amp;&amp; variation === end)\\n ) {\\n sideX = right;\\n const offsetX =\\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\\n ? win.visualViewport.width\\n : // $FlowFixMe[prop-missing]\\n offsetParent[widthProp];\\n x -= offsetX - popperRect.width;\\n x *= gpuAcceleration ? 1 : -1;\\n }\\n }\\n\\n const commonStyles = {\\n position,\\n ...(adaptive &amp;&amp; unsetSides),\\n };\\n\\n ({ x, y } =\\n roundOffsets === true\\n ? roundOffsetsByDPR({ x, y })\\n : { x, y });\\n\\n if (gpuAcceleration) {\\n return {\\n ...commonStyles,\\n [sideY]: hasY ? '0' : '',\\n [sideX]: hasX ? '0' : '',\\n // Layer acceleration can disable subpixel rendering which causes slightly\\n // blurry text on low PPI displays, so we want to use 2D transforms\\n // instead\\n transform:\\n (win.devicePixelRatio || 1) &lt;= 1\\n ? `translate(${x}px, ${y}px)`\\n : `translate3d(${x}px, ${y}px, 0)`,\\n };\\n }\\n\\n return {\\n ...commonStyles,\\n [sideY]: hasY ? `${y}px` : '',\\n [sideX]: hasX ? `${x}px` : '',\\n transform: '',\\n };\\n}\\n\\nfunction computeStyles({ state, options }: ModifierArguments&lt;Options&gt;) {\\n const {\\n gpuAcceleration = true,\\n adaptive = true,\\n // defaults to use builtin `roundOffsetsByDPR`\\n roundOffsets = true,\\n } = options;\\n\\n if (__DEV__) {\\n const transitionProperty =\\n getComputedStyle(state.elements.popper).transitionProperty || '';\\n\\n if (\\n adaptive &amp;&amp;\\n ['transform', 'top', 'right', 'bottom', 'left'].some(\\n (property) =&gt; transitionProperty.indexOf(property) &gt;= 0\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: Detected CSS transitions on at least one of the following',\\n 'CSS properties: \\\"transform\\\", \\\"top\\\", \\\"right\\\", \\\"bottom\\\", \\\"left\\\".',\\n '\\\\n\\\\n',\\n 'Disable the \\\"computeStyles\\\" modifier\\\\'s `adaptive` option to allow',\\n 'for smooth transitions, or remove these properties from the CSS',\\n 'transition declaration on the popper element if only transitioning',\\n 'opacity or background-color for example.',\\n '\\\\n\\\\n',\\n 'We recommend using the popper element as a wrapper around an inner',\\n 'element that can have any CSS property transitioned for animations.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const commonStyles = {\\n placement: getBasePlacement(state.placement),\\n variation: getVariation(state.placement),\\n popper: state.elements.popper,\\n popperRect: state.rects.popper,\\n gpuAcceleration,\\n isFixed: state.options.strategy === 'fixed',\\n };\\n\\n if (state.modifiersData.popperOffsets != null) {\\n state.styles.popper = {\\n ...state.styles.popper,\\n ...mapToStyles({\\n ...commonStyles,\\n offsets: state.modifiersData.popperOffsets,\\n position: state.options.strategy,\\n adaptive,\\n roundOffsets,\\n }),\\n };\\n }\\n\\n if (state.modifiersData.arrow != null) {\\n state.styles.arrow = {\\n ...state.styles.arrow,\\n ...mapToStyles({\\n ...commonStyles,\\n offsets: state.modifiersData.arrow,\\n position: 'absolute',\\n adaptive: false,\\n roundOffsets,\\n }),\\n };\\n }\\n\\n state.attributes.popper = {\\n ...state.attributes.popper,\\n 'data-popper-placement': state.placement,\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ComputeStylesModifier = Modifier&lt;'computeStyles', Options&gt;;\\nexport default ({\\n name: 'computeStyles',\\n enabled: true,\\n phase: 'beforeWrite',\\n fn: computeStyles,\\n data: {},\\n}: ComputeStylesModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier, ModifierArguments } from '../types';\\nimport getNodeName from '../dom-utils/getNodeName';\\nimport { isHTMLElement } from '../dom-utils/instanceOf';\\n\\n// This modifier takes the styles prepared by the `computeStyles` modifier\\n// and applies them to the HTMLElements such as popper and arrow\\n\\nfunction applyStyles({ state }: ModifierArguments&lt;{||}&gt;) {\\n Object.keys(state.elements).forEach((name) =&gt; {\\n const style = state.styles[name] || {};\\n\\n const attributes = state.attributes[name] || {};\\n const element = state.elements[name];\\n\\n // arrow is optional + virtual elements\\n if (!isHTMLElement(element) || !getNodeName(element)) {\\n return;\\n }\\n\\n // Flow doesn't support to extend this property, but it's the most\\n // effective way to apply styles to an HTMLElement\\n // $FlowFixMe[cannot-write]\\n Object.assign(element.style, style);\\n\\n Object.keys(attributes).forEach((name) =&gt; {\\n const value = attributes[name];\\n if (value === false) {\\n element.removeAttribute(name);\\n } else {\\n element.setAttribute(name, value === true ? '' : value);\\n }\\n });\\n });\\n}\\n\\nfunction effect({ state }: ModifierArguments&lt;{||}&gt;) {\\n const initialStyles = {\\n popper: {\\n position: state.options.strategy,\\n left: '0',\\n top: '0',\\n margin: '0',\\n },\\n arrow: {\\n position: 'absolute',\\n },\\n reference: {},\\n };\\n\\n Object.assign(state.elements.popper.style, initialStyles.popper);\\n state.styles = initialStyles;\\n\\n if (state.elements.arrow) {\\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\\n }\\n\\n return () =&gt; {\\n Object.keys(state.elements).forEach((name) =&gt; {\\n const element = state.elements[name];\\n const attributes = state.attributes[name] || {};\\n\\n const styleProperties = Object.keys(\\n state.styles.hasOwnProperty(name)\\n ? state.styles[name]\\n : initialStyles[name]\\n );\\n\\n // Set all values to an empty string to unset them\\n const style = styleProperties.reduce((style, property) =&gt; {\\n style[property] = '';\\n return style;\\n }, {});\\n\\n // arrow is optional + virtual elements\\n if (!isHTMLElement(element) || !getNodeName(element)) {\\n return;\\n }\\n\\n Object.assign(element.style, style);\\n\\n Object.keys(attributes).forEach((attribute) =&gt; {\\n element.removeAttribute(attribute);\\n });\\n });\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ApplyStylesModifier = Modifier&lt;'applyStyles', {||}&gt;;\\nexport default ({\\n name: 'applyStyles',\\n enabled: true,\\n phase: 'write',\\n fn: applyStyles,\\n effect,\\n requires: ['computeStyles'],\\n}: ApplyStylesModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { popperGenerator, detectOverflow } from './createPopper';\\n\\nimport eventListeners from './modifiers/eventListeners';\\nimport popperOffsets from './modifiers/popperOffsets';\\nimport computeStyles from './modifiers/computeStyles';\\nimport applyStyles from './modifiers/applyStyles';\\n\\nexport type * from './types';\\n\\nconst defaultModifiers = [\\n eventListeners,\\n popperOffsets,\\n computeStyles,\\n applyStyles,\\n];\\n\\nconst createPopper = popperGenerator({ defaultModifiers });\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\\n\"</span>],<span class=\"code-attr\">\"names\"</span>:[<span class=\"code-string\">\"getWindow\"</span>,<span class=\"code-string\">\"node\"</span>,<span class=\"code-string\">\"window\"</span>,<span class=\"code-string\">\"toString\"</span>,<span class=\"code-string\">\"ownerDocument\"</span>,<span class=\"code-string\">\"defaultView\"</span>,<span class=\"code-string\">\"isElement\"</span>,<span class=\"code-string\">\"OwnElement\"</span>,<span class=\"code-string\">\"Element\"</span>,<span class=\"code-string\">\"isHTMLElement\"</span>,<span class=\"code-string\">\"HTMLElement\"</span>,<span class=\"code-string\">\"isShadowRoot\"</span>,<span class=\"code-string\">\"ShadowRoot\"</span>,<span class=\"code-string\">\"max\"</span>,<span class=\"code-string\">\"Math\"</span>,<span class=\"code-string\">\"min\"</span>,<span class=\"code-string\">\"round\"</span>,<span class=\"code-string\">\"getBoundingClientRect\"</span>,<span class=\"code-string\">\"element\"</span>,<span class=\"code-string\">\"includeScale\"</span>,<span class=\"code-string\">\"rect\"</span>,<span class=\"code-string\">\"scaleX\"</span>,<span class=\"code-string\">\"scaleY\"</span>,<span class=\"code-string\">\"offsetHeight\"</span>,<span class=\"code-string\">\"offsetWidth\"</span>,<span class=\"code-string\">\"width\"</span>,<span class=\"code-string\">\"height\"</span>,<span class=\"code-string\">\"top\"</span>,<span class=\"code-string\">\"right\"</span>,<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-string\">\"left\"</span>,<span class=\"code-string\">\"x\"</span>,<span class=\"code-string\">\"y\"</span>,<span class=\"code-string\">\"getWindowScroll\"</span>,<span class=\"code-string\">\"win\"</span>,<span class=\"code-string\">\"scrollLeft\"</span>,<span class=\"code-string\">\"pageXOffset\"</span>,<span class=\"code-string\">\"scrollTop\"</span>,<span class=\"code-string\">\"pageYOffset\"</span>,<span class=\"code-string\">\"getHTMLElementScroll\"</span>,<span class=\"code-string\">\"getNodeScroll\"</span>,<span class=\"code-string\">\"getNodeName\"</span>,<span class=\"code-string\">\"nodeName\"</span>,<span class=\"code-string\">\"toLowerCase\"</span>,<span class=\"code-string\">\"getDocumentElement\"</span>,<span class=\"code-string\">\"document\"</span>,<span class=\"code-string\">\"documentElement\"</span>,<span class=\"code-string\">\"getWindowScrollBarX\"</span>,<span class=\"code-string\">\"getComputedStyle\"</span>,<span class=\"code-string\">\"isScrollParent\"</span>,<span class=\"code-string\">\"overflow\"</span>,<span class=\"code-string\">\"overflowX\"</span>,<span class=\"code-string\">\"overflowY\"</span>,<span class=\"code-string\">\"test\"</span>,<span class=\"code-string\">\"isElementScaled\"</span>,<span class=\"code-string\">\"getCompositeRect\"</span>,<span class=\"code-string\">\"elementOrVirtualElement\"</span>,<span class=\"code-string\">\"offsetParent\"</span>,<span class=\"code-string\">\"isFixed\"</span>,<span class=\"code-string\">\"isOffsetParentAnElement\"</span>,<span class=\"code-string\">\"offsetParentIsScaled\"</span>,<span class=\"code-string\">\"scroll\"</span>,<span class=\"code-string\">\"offsets\"</span>,<span class=\"code-string\">\"clientLeft\"</span>,<span class=\"code-string\">\"clientTop\"</span>,<span class=\"code-string\">\"getLayoutRect\"</span>,<span class=\"code-string\">\"clientRect\"</span>,<span class=\"code-string\">\"abs\"</span>,<span class=\"code-string\">\"offsetLeft\"</span>,<span class=\"code-string\">\"offsetTop\"</span>,<span class=\"code-string\">\"getParentNode\"</span>,<span class=\"code-string\">\"assignedSlot\"</span>,<span class=\"code-string\">\"parentNode\"</span>,<span class=\"code-string\">\"host\"</span>,<span class=\"code-string\">\"getScrollParent\"</span>,<span class=\"code-string\">\"indexOf\"</span>,<span class=\"code-string\">\"body\"</span>,<span class=\"code-string\">\"listScrollParents\"</span>,<span class=\"code-string\">\"list\"</span>,<span class=\"code-string\">\"scrollParent\"</span>,<span class=\"code-string\">\"isBody\"</span>,<span class=\"code-string\">\"target\"</span>,<span class=\"code-string\">\"concat\"</span>,<span class=\"code-string\">\"visualViewport\"</span>,<span class=\"code-string\">\"updatedList\"</span>,<span class=\"code-string\">\"isTableElement\"</span>,<span class=\"code-string\">\"getTrueOffsetParent\"</span>,<span class=\"code-string\">\"position\"</span>,<span class=\"code-string\">\"getContainingBlock\"</span>,<span class=\"code-string\">\"isFirefox\"</span>,<span class=\"code-string\">\"navigator\"</span>,<span class=\"code-string\">\"userAgent\"</span>,<span class=\"code-string\">\"isIE\"</span>,<span class=\"code-string\">\"elementCss\"</span>,<span class=\"code-string\">\"currentNode\"</span>,<span class=\"code-string\">\"css\"</span>,<span class=\"code-string\">\"transform\"</span>,<span class=\"code-string\">\"perspective\"</span>,<span class=\"code-string\">\"contain\"</span>,<span class=\"code-string\">\"willChange\"</span>,<span class=\"code-string\">\"filter\"</span>,<span class=\"code-string\">\"getOffsetParent\"</span>,<span class=\"code-string\">\"auto\"</span>,<span class=\"code-string\">\"basePlacements\"</span>,<span class=\"code-string\">\"start\"</span>,<span class=\"code-string\">\"end\"</span>,<span class=\"code-string\">\"clippingParents\"</span>,<span class=\"code-string\">\"viewport\"</span>,<span class=\"code-string\">\"popper\"</span>,<span class=\"code-string\">\"reference\"</span>,<span class=\"code-string\">\"beforeRead\"</span>,<span class=\"code-string\">\"read\"</span>,<span class=\"code-string\">\"afterRead\"</span>,<span class=\"code-string\">\"beforeMain\"</span>,<span class=\"code-string\">\"main\"</span>,<span class=\"code-string\">\"afterMain\"</span>,<span class=\"code-string\">\"beforeWrite\"</span>,<span class=\"code-string\">\"write\"</span>,<span class=\"code-string\">\"afterWrite\"</span>,<span class=\"code-string\">\"modifierPhases\"</span>,<span class=\"code-string\">\"order\"</span>,<span class=\"code-string\">\"modifiers\"</span>,<span class=\"code-string\">\"map\"</span>,<span class=\"code-string\">\"Map\"</span>,<span class=\"code-string\">\"visited\"</span>,<span class=\"code-string\">\"Set\"</span>,<span class=\"code-string\">\"result\"</span>,<span class=\"code-string\">\"forEach\"</span>,<span class=\"code-string\">\"modifier\"</span>,<span class=\"code-string\">\"set\"</span>,<span class=\"code-string\">\"name\"</span>,<span class=\"code-string\">\"sort\"</span>,<span class=\"code-string\">\"add\"</span>,<span class=\"code-string\">\"requires\"</span>,<span class=\"code-string\">\"requiresIfExists\"</span>,<span class=\"code-string\">\"dep\"</span>,<span class=\"code-string\">\"has\"</span>,<span class=\"code-string\">\"depModifier\"</span>,<span class=\"code-string\">\"get\"</span>,<span class=\"code-string\">\"push\"</span>,<span class=\"code-string\">\"orderModifiers\"</span>,<span class=\"code-string\">\"orderedModifiers\"</span>,<span class=\"code-string\">\"reduce\"</span>,<span class=\"code-string\">\"acc\"</span>,<span class=\"code-string\">\"phase\"</span>,<span class=\"code-string\">\"debounce\"</span>,<span class=\"code-string\">\"fn\"</span>,<span class=\"code-string\">\"pending\"</span>,<span class=\"code-string\">\"Promise\"</span>,<span class=\"code-string\">\"resolve\"</span>,<span class=\"code-string\">\"then\"</span>,<span class=\"code-string\">\"undefined\"</span>,<span class=\"code-string\">\"format\"</span>,<span class=\"code-string\">\"str\"</span>,<span class=\"code-string\">\"args\"</span>,<span class=\"code-string\">\"p\"</span>,<span class=\"code-string\">\"c\"</span>,<span class=\"code-string\">\"replace\"</span>,<span class=\"code-string\">\"INVALID_MODIFIER_ERROR\"</span>,<span class=\"code-string\">\"MISSING_DEPENDENCY_ERROR\"</span>,<span class=\"code-string\">\"VALID_PROPERTIES\"</span>,<span class=\"code-string\">\"validateModifiers\"</span>,<span class=\"code-string\">\"Object\"</span>,<span class=\"code-string\">\"keys\"</span>,<span class=\"code-string\">\"value\"</span>,<span class=\"code-string\">\"index\"</span>,<span class=\"code-string\">\"self\"</span>,<span class=\"code-string\">\"key\"</span>,<span class=\"code-string\">\"console\"</span>,<span class=\"code-string\">\"error\"</span>,<span class=\"code-string\">\"String\"</span>,<span class=\"code-string\">\"enabled\"</span>,<span class=\"code-string\">\"join\"</span>,<span class=\"code-string\">\"effect\"</span>,<span class=\"code-string\">\"Array\"</span>,<span class=\"code-string\">\"isArray\"</span>,<span class=\"code-string\">\"s\"</span>,<span class=\"code-string\">\"requirement\"</span>,<span class=\"code-string\">\"find\"</span>,<span class=\"code-string\">\"mod\"</span>,<span class=\"code-string\">\"uniqueBy\"</span>,<span class=\"code-string\">\"arr\"</span>,<span class=\"code-string\">\"identifiers\"</span>,<span class=\"code-string\">\"item\"</span>,<span class=\"code-string\">\"identifier\"</span>,<span class=\"code-string\">\"getBasePlacement\"</span>,<span class=\"code-string\">\"placement\"</span>,<span class=\"code-string\">\"split\"</span>,<span class=\"code-string\">\"mergeByName\"</span>,<span class=\"code-string\">\"merged\"</span>,<span class=\"code-string\">\"current\"</span>,<span class=\"code-string\">\"existing\"</span>,<span class=\"code-string\">\"options\"</span>,<span class=\"code-string\">\"data\"</span>,<span class=\"code-string\">\"getViewportRect\"</span>,<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"clientWidth\"</span>,<span class=\"code-string\">\"clientHeight\"</span>,<span class=\"code-string\">\"getDocumentRect\"</span>,<span class=\"code-string\">\"winScroll\"</span>,<span class=\"code-string\">\"scrollWidth\"</span>,<span class=\"code-string\">\"scrollHeight\"</span>,<span class=\"code-string\">\"direction\"</span>,<span class=\"code-string\">\"contains\"</span>,<span class=\"code-string\">\"parent\"</span>,<span class=\"code-string\">\"child\"</span>,<span class=\"code-string\">\"rootNode\"</span>,<span class=\"code-string\">\"getRootNode\"</span>,<span class=\"code-string\">\"next\"</span>,<span class=\"code-string\">\"isSameNode\"</span>,<span class=\"code-string\">\"rectToClientRect\"</span>,<span class=\"code-string\">\"getInnerBoundingClientRect\"</span>,<span class=\"code-string\">\"getClientRectFromMixedType\"</span>,<span class=\"code-string\">\"clippingParent\"</span>,<span class=\"code-string\">\"getClippingParents\"</span>,<span class=\"code-string\">\"canEscapeClipping\"</span>,<span class=\"code-string\">\"clipperElement\"</span>,<span class=\"code-string\">\"getClippingRect\"</span>,<span class=\"code-string\">\"boundary\"</span>,<span class=\"code-string\">\"rootBoundary\"</span>,<span class=\"code-string\">\"mainClippingParents\"</span>,<span class=\"code-string\">\"firstClippingParent\"</span>,<span class=\"code-string\">\"clippingRect\"</span>,<span class=\"code-string\">\"accRect\"</span>,<span class=\"code-string\">\"getVariation\"</span>,<span class=\"code-string\">\"getMainAxisFromPlacement\"</span>,<span class=\"code-string\">\"computeOffsets\"</span>,<span class=\"code-string\">\"basePlacement\"</span>,<span class=\"code-string\">\"variation\"</span>,<span class=\"code-string\">\"commonX\"</span>,<span class=\"code-string\">\"commonY\"</span>,<span class=\"code-string\">\"mainAxis\"</span>,<span class=\"code-string\">\"len\"</span>,<span class=\"code-string\">\"getFreshSideObject\"</span>,<span class=\"code-string\">\"mergePaddingObject\"</span>,<span class=\"code-string\">\"paddingObject\"</span>,<span class=\"code-string\">\"expandToHashMap\"</span>,<span class=\"code-string\">\"hashMap\"</span>,<span class=\"code-string\">\"detectOverflow\"</span>,<span class=\"code-string\">\"state\"</span>,<span class=\"code-string\">\"elementContext\"</span>,<span class=\"code-string\">\"altBoundary\"</span>,<span class=\"code-string\">\"padding\"</span>,<span class=\"code-string\">\"altContext\"</span>,<span class=\"code-string\">\"popperRect\"</span>,<span class=\"code-string\">\"rects\"</span>,<span class=\"code-string\">\"elements\"</span>,<span class=\"code-string\">\"clippingClientRect\"</span>,<span class=\"code-string\">\"contextElement\"</span>,<span class=\"code-string\">\"referenceClientRect\"</span>,<span class=\"code-string\">\"popperOffsets\"</span>,<span class=\"code-string\">\"strategy\"</span>,<span class=\"code-string\">\"popperClientRect\"</span>,<span class=\"code-string\">\"elementClientRect\"</span>,<span class=\"code-string\">\"overflowOffsets\"</span>,<span class=\"code-string\">\"offsetData\"</span>,<span class=\"code-string\">\"modifiersData\"</span>,<span class=\"code-string\">\"offset\"</span>,<span class=\"code-string\">\"multiply\"</span>,<span class=\"code-string\">\"axis\"</span>,<span class=\"code-string\">\"INVALID_ELEMENT_ERROR\"</span>,<span class=\"code-string\">\"INFINITE_LOOP_ERROR\"</span>,<span class=\"code-string\">\"DEFAULT_OPTIONS\"</span>,<span class=\"code-string\">\"areValidElements\"</span>,<span class=\"code-string\">\"some\"</span>,<span class=\"code-string\">\"popperGenerator\"</span>,<span class=\"code-string\">\"generatorOptions\"</span>,<span class=\"code-string\">\"defaultModifiers\"</span>,<span class=\"code-string\">\"defaultOptions\"</span>,<span class=\"code-string\">\"createPopper\"</span>,<span class=\"code-string\">\"attributes\"</span>,<span class=\"code-string\">\"styles\"</span>,<span class=\"code-string\">\"effectCleanupFns\"</span>,<span class=\"code-string\">\"isDestroyed\"</span>,<span class=\"code-string\">\"instance\"</span>,<span class=\"code-string\">\"setOptions\"</span>,<span class=\"code-string\">\"setOptionsAction\"</span>,<span class=\"code-string\">\"cleanupModifierEffects\"</span>,<span class=\"code-string\">\"scrollParents\"</span>,<span class=\"code-string\">\"m\"</span>,<span class=\"code-string\">\"flipModifier\"</span>,<span class=\"code-string\">\"marginTop\"</span>,<span class=\"code-string\">\"marginRight\"</span>,<span class=\"code-string\">\"marginBottom\"</span>,<span class=\"code-string\">\"marginLeft\"</span>,<span class=\"code-string\">\"margin\"</span>,<span class=\"code-string\">\"parseFloat\"</span>,<span class=\"code-string\">\"warn\"</span>,<span class=\"code-string\">\"runModifierEffects\"</span>,<span class=\"code-string\">\"update\"</span>,<span class=\"code-string\">\"forceUpdate\"</span>,<span class=\"code-string\">\"reset\"</span>,<span class=\"code-string\">\"__debug_loops__\"</span>,<span class=\"code-string\">\"length\"</span>,<span class=\"code-string\">\"destroy\"</span>,<span class=\"code-string\">\"onFirstUpdate\"</span>,<span class=\"code-string\">\"cleanupFn\"</span>,<span class=\"code-string\">\"noopFn\"</span>,<span class=\"code-string\">\"passive\"</span>,<span class=\"code-string\">\"resize\"</span>,<span class=\"code-string\">\"addEventListener\"</span>,<span class=\"code-string\">\"removeEventListener\"</span>,<span class=\"code-string\">\"unsetSides\"</span>,<span class=\"code-string\">\"roundOffsetsByDPR\"</span>,<span class=\"code-string\">\"dpr\"</span>,<span class=\"code-string\">\"devicePixelRatio\"</span>,<span class=\"code-string\">\"mapToStyles\"</span>,<span class=\"code-string\">\"gpuAcceleration\"</span>,<span class=\"code-string\">\"adaptive\"</span>,<span class=\"code-string\">\"roundOffsets\"</span>,<span class=\"code-string\">\"hasX\"</span>,<span class=\"code-string\">\"hasOwnProperty\"</span>,<span class=\"code-string\">\"hasY\"</span>,<span class=\"code-string\">\"sideX\"</span>,<span class=\"code-string\">\"sideY\"</span>,<span class=\"code-string\">\"heightProp\"</span>,<span class=\"code-string\">\"widthProp\"</span>,<span class=\"code-string\">\"offsetY\"</span>,<span class=\"code-string\">\"offsetX\"</span>,<span class=\"code-string\">\"commonStyles\"</span>,<span class=\"code-string\">\"computeStyles\"</span>,<span class=\"code-string\">\"transitionProperty\"</span>,<span class=\"code-string\">\"property\"</span>,<span class=\"code-string\">\"arrow\"</span>,<span class=\"code-string\">\"applyStyles\"</span>,<span class=\"code-string\">\"style\"</span>,<span class=\"code-string\">\"assign\"</span>,<span class=\"code-string\">\"removeAttribute\"</span>,<span class=\"code-string\">\"setAttribute\"</span>,<span class=\"code-string\">\"initialStyles\"</span>,<span class=\"code-string\">\"styleProperties\"</span>,<span class=\"code-string\">\"attribute\"</span>,<span class=\"code-string\">\"eventListeners\"</span>],<span class=\"code-attr\">\"mappings\"</span>:<span class=\"code-string\">\";;;;;;;;;;EAIe,SAASA,SAAT,CAAmBC,IAAnB,EAAyB;EACtC,MAAIA,IAAI,IAAI,IAAZ,EAAkB;EAChB,WAAOC,MAAP;EACD;;EAED,MAAID,IAAI,CAACE,QAAL,OAAoB,iBAAxB,EAA2C;EACzC,QAAMC,aAAa,GAAGH,IAAI,CAACG,aAA3B;EACA,WAAOA,aAAa,GAAGA,aAAa,CAACC,WAAd,IAA6BH,MAAhC,GAAyCA,MAA7D;EACD;;EAED,SAAOD,IAAP;EACD;;ECVD,SAASK,SAAT,CAAmBL,IAAnB,EAAyB;EACvB,MAAMM,UAAU,GAAGP,SAAS,CAACC,IAAD,CAAT,CAAgBO,OAAnC;EACA,SAAOP,IAAI,YAAYM,UAAhB,IAA8BN,IAAI,YAAYO,OAArD;EACD;;EAID,SAASC,aAAT,CAAuBR,IAAvB,EAA6B;EAC3B,MAAMM,UAAU,GAAGP,SAAS,CAACC,IAAD,CAAT,CAAgBS,WAAnC;EACA,SAAOT,IAAI,YAAYM,UAAhB,IAA8BN,IAAI,YAAYS,WAArD;EACD;;EAID,SAASC,YAAT,CAAsBV,IAAtB,EAA4B;EAC1B;EACA,MAAI,OAAOW,UAAP,KAAsB,WAA1B,EAAuC;EACrC,WAAO,KAAP;EACD;;EACD,MAAML,UAAU,GAAGP,SAAS,CAACC,IAAD,CAAT,CAAgBW,UAAnC;EACA,SAAOX,IAAI,YAAYM,UAAhB,IAA8BN,IAAI,YAAYW,UAArD;EACD;;ECzBM,IAA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vBsE,eAHuB,EAIvBI,aAJuB;MAOnBvD,YAAY,gBAAGJ,eAAe,CAAC;EAAEE,EAAAA,gBAAgB,EAAhBA;EAAF,CAAD;;;;;;;;;\"</span>}"]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-lite.js.map</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>109 kB</span><span>Source Map (JSON)</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-lite.js.map" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code>{<span class="code-attr">"version"</span>:<span class="code-number">3</span>,<span class="code-attr">"file"</span>:<span class="code-string">"popper-lite.js"</span>,<span class="code-attr">"sources"</span>:[<span class="code-string">"../../src/dom-utils/getWindow.js"</span>,<span class="code-string">"../../src/dom-utils/instanceOf.js"</span>,<span class="code-string">"../../src/utils/math.js"</span>,<span class="code-string">"../../src/dom-utils/getBoundingClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getHTMLElementScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeName.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentElement.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScrollBarX.js"</span>,<span class="code-string">"../../src/dom-utils/getComputedStyle.js"</span>,<span class="code-string">"../../src/dom-utils/isScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/getCompositeRect.js"</span>,<span class="code-string">"../../src/dom-utils/getLayoutRect.js"</span>,<span class="code-string">"../../src/dom-utils/getParentNode.js"</span>,<span class="code-string">"../../src/dom-utils/getScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/listScrollParents.js"</span>,<span class="code-string">"../../src/dom-utils/isTableElement.js"</span>,<span class="code-string">"../../src/dom-utils/getOffsetParent.js"</span>,<span class="code-string">"../../src/enums.js"</span>,<span class="code-string">"../../src/utils/orderModifiers.js"</span>,<span class="code-string">"../../src/utils/debounce.js"</span>,<span class="code-string">"../../src/utils/format.js"</span>,<span class="code-string">"../../src/utils/validateModifiers.js"</span>,<span class="code-string">"../../src/utils/uniqueBy.js"</span>,<span class="code-string">"../../src/utils/getBasePlacement.js"</span>,<span class="code-string">"../../src/utils/mergeByName.js"</span>,<span class="code-string">"../../src/dom-utils/getViewportRect.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentRect.js"</span>,<span class="code-string">"../../src/dom-utils/contains.js"</span>,<span class="code-string">"../../src/utils/rectToClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getClippingRect.js"</span>,<span class="code-string">"../../src/utils/getVariation.js"</span>,<span class="code-string">"../../src/utils/getMainAxisFromPlacement.js"</span>,<span class="code-string">"../../src/utils/computeOffsets.js"</span>,<span class="code-string">"../../src/utils/getFreshSideObject.js"</span>,<span class="code-string">"../../src/utils/mergePaddingObject.js"</span>,<span class="code-string">"../../src/utils/expandToHashMap.js"</span>,<span class="code-string">"../../src/utils/detectOverflow.js"</span>,<span class="code-string">"../../src/createPopper.js"</span>,<span class="code-string">"../../src/modifiers/eventListeners.js"</span>,<span class="code-string">"../../src/modifiers/popperOffsets.js"</span>,<span class="code-string">"../../src/modifiers/computeStyles.js"</span>,<span class="code-string">"../../src/modifiers/applyStyles.js"</span>,<span class="code-string">"../../src/popper-lite.js"</span>],<span class="code-attr">"sourcesContent"</span>:[<span class="code-string">"// @flow\nimport type { Window } from '../types';\ndeclare function getWindow(node: Node | Window): Window;\n\nexport default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n const ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\n Element);\nfunction isElement(node) {\n const OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\n HTMLElement);\nfunction isHTMLElement(node) {\n const OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\n ShadowRoot);\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n const OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };\n"</span>,<span class="code-string">"// @flow\nexport const max = Math.max;\nexport const min = Math.min;\nexport const round = Math.round;\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject, VirtualElement } from '../types';\nimport { isHTMLElement } from './instanceOf';\nimport { round } from '../utils/math';\n\nexport default function getBoundingClientRect(\n element: Element | VirtualElement,\n includeScale: boolean = false\n): ClientRectObject {\n const rect = element.getBoundingClientRect();\n let scaleX = 1;\n let scaleY = 1;\n\n if (isHTMLElement(element) &amp;&amp; includeScale) {\n const offsetHeight = element.offsetHeight;\n const offsetWidth = element.offsetWidth;\n\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\n // Fallback to 1 in case both values are `0`\n if (offsetWidth &gt; 0) {\n scaleX = round(rect.width) / offsetWidth || 1;\n }\n if (offsetHeight &gt; 0) {\n scaleY = round(rect.height) / offsetHeight || 1;\n }\n }\n\n return {\n width: rect.width / scaleX,\n height: rect.height / scaleY,\n top: rect.top / scaleY,\n right: rect.right / scaleX,\n bottom: rect.bottom / scaleY,\n left: rect.left / scaleX,\n x: rect.left / scaleX,\n y: rect.top / scaleY,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport type { Window } from '../types';\n\nexport default function getWindowScroll(node: Node | Window) {\n const win = getWindow(node);\n const scrollLeft = win.pageXOffset;\n const scrollTop = win.pageYOffset;\n\n return {\n scrollLeft,\n scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function getHTMLElementScroll(element: HTMLElement) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindowScroll from './getWindowScroll';\nimport getWindow from './getWindow';\nimport { isHTMLElement } from './instanceOf';\nimport getHTMLElementScroll from './getHTMLElementScroll';\nimport type { Window } from '../types';\n\nexport default function getNodeScroll(node: Node | Window) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Window } from '../types';\n\nexport default function getNodeName(element: ?Node | Window): ?string {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}\n"</span>,<span class="code-string">"// @flow\nimport { isElement } from './instanceOf';\nimport type { Window } from '../types';\n\nexport default function getDocumentElement(\n element: Element | Window\n): HTMLElement {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return (\n (isElement(element)\n ? element.ownerDocument\n : // $FlowFixMe[prop-missing]\n element.document) || window.document\n ).documentElement;\n}\n"</span>,<span class="code-string">"// @flow\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScroll from './getWindowScroll';\n\nexport default function getWindowScrollBarX(element: Element): number {\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return (\n getBoundingClientRect(getDocumentElement(element)).left +\n getWindowScroll(element).scrollLeft\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\nexport default function getComputedStyle(\n element: Element\n): CSSStyleDeclaration {\n return getWindow(element).getComputedStyle(element);\n}\n"</span>,<span class="code-string">"// @flow\nimport getComputedStyle from './getComputedStyle';\n\nexport default function isScrollParent(element: HTMLElement): boolean {\n // Firefox wants us to check `-x` and `-y` variations as well\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, VirtualElement, Window } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getNodeScroll from './getNodeScroll';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getDocumentElement from './getDocumentElement';\nimport isScrollParent from './isScrollParent';\nimport { round } from '../utils/math';\n\nfunction isElementScaled(element: HTMLElement) {\n const rect = element.getBoundingClientRect();\n const scaleX = round(rect.width) / element.offsetWidth || 1;\n const scaleY = round(rect.height) / element.offsetHeight || 1;\n\n return scaleX !== 1 || scaleY !== 1;\n}\n\n// Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\nexport default function getCompositeRect(\n elementOrVirtualElement: Element | VirtualElement,\n offsetParent: Element | Window,\n isFixed: boolean = false\n): Rect {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const offsetParentIsScaled =\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const rect = getBoundingClientRect(\n elementOrVirtualElement,\n offsetParentIsScaled\n );\n\n let scroll = { scrollLeft: 0, scrollTop: 0 };\n let offsets = { x: 0, y: 0 };\n\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\n if (\n getNodeName(offsetParent) !== 'body' ||\n // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)\n ) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\n\n// Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\nexport default function getLayoutRect(element: HTMLElement): Rect {\n const clientRect = getBoundingClientRect(element);\n\n // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) &lt;= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) &lt;= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width,\n height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\nimport getDocumentElement from './getDocumentElement';\nimport { isShadowRoot } from './instanceOf';\n\nexport default function getParentNode(element: Node | ShadowRoot): Node {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || // DOM Element detected\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getParentNode from './getParentNode';\nimport isScrollParent from './isScrollParent';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\n\nexport default function getScrollParent(node: Node): HTMLElement {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}\n"</span>,<span class="code-string">"// @flow\nimport getScrollParent from './getScrollParent';\nimport getParentNode from './getParentNode';\nimport getWindow from './getWindow';\nimport type { Window, VisualViewport } from '../types';\nimport isScrollParent from './isScrollParent';\n\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\nexport default function listScrollParents(\n element: Node,\n list: Array&lt;Element | Window&gt; = []\n): Array&lt;Element | Window | VisualViewport&gt; {\n const scrollParent = getScrollParent(element);\n const isBody = scrollParent === element.ownerDocument?.body;\n const win = getWindow(scrollParent);\n const target = isBody\n ? [win].concat(\n win.visualViewport || [],\n isScrollParent(scrollParent) ? scrollParent : []\n )\n : scrollParent;\n const updatedList = list.concat(target);\n\n return isBody\n ? updatedList\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\n\nexport default function isTableElement(element: Element): boolean {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getNodeName from './getNodeName';\nimport getComputedStyle from './getComputedStyle';\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\nimport isTableElement from './isTableElement';\nimport getParentNode from './getParentNode';\n\nfunction getTrueOffsetParent(element: Element): ?Element {\n if (\n !isHTMLElement(element) ||\n // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed'\n ) {\n return null;\n }\n\n return element.offsetParent;\n}\n\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\nfunction getContainingBlock(element: Element) {\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\n\n if (isIE &amp;&amp; isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n const elementCss = getComputedStyle(element);\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n let currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (\n isHTMLElement(currentNode) &amp;&amp;\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\n ) {\n const css = getComputedStyle(currentNode);\n\n // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n if (\n css.transform !== 'none' ||\n css.perspective !== 'none' ||\n css.contain === 'paint' ||\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\n ) {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nexport default function getOffsetParent(element: Element) {\n const window = getWindow(element);\n\n let offsetParent = getTrueOffsetParent(element);\n\n while (\n offsetParent &amp;&amp;\n isTableElement(offsetParent) &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'\n ) {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (\n offsetParent &amp;&amp;\n (getNodeName(offsetParent) === 'html' ||\n (getNodeName(offsetParent) === 'body' &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'))\n ) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n"</span>,<span class="code-string">"// @flow\nexport const top: 'top' = 'top';\nexport const bottom: 'bottom' = 'bottom';\nexport const right: 'right' = 'right';\nexport const left: 'left' = 'left';\nexport const auto: 'auto' = 'auto';\nexport type BasePlacement =\n | typeof top\n | typeof bottom\n | typeof right\n | typeof left;\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\n\nexport const start: 'start' = 'start';\nexport const end: 'end' = 'end';\nexport type Variation = typeof start | typeof end;\n\nexport const clippingParents: 'clippingParents' = 'clippingParents';\nexport const viewport: 'viewport' = 'viewport';\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\nexport type RootBoundary = typeof viewport | 'document';\n\nexport const popper: 'popper' = 'popper';\nexport const reference: 'reference' = 'reference';\nexport type Context = typeof popper | typeof reference;\n\nexport type VariationPlacement =\n | 'top-start'\n | 'top-end'\n | 'bottom-start'\n | 'bottom-end'\n | 'right-start'\n | 'right-end'\n | 'left-start'\n | 'left-end';\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\n\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\n []\n);\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\n (\n acc: Array&lt;Placement&gt;,\n placement: BasePlacement | typeof auto\n ): Array&lt;Placement&gt; =&gt;\n acc.concat([\n placement,\n (`${placement}-${start}`: any),\n (`${placement}-${end}`: any),\n ]),\n []\n);\n\n// modifiers that need to read the DOM\nexport const beforeRead: 'beforeRead' = 'beforeRead';\nexport const read: 'read' = 'read';\nexport const afterRead: 'afterRead' = 'afterRead';\n// pure-logic modifiers\nexport const beforeMain: 'beforeMain' = 'beforeMain';\nexport const main: 'main' = 'main';\nexport const afterMain: 'afterMain' = 'afterMain';\n// modifier with the purpose to write to the DOM (or write into a framework state)\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\nexport const write: 'write' = 'write';\nexport const afterWrite: 'afterWrite' = 'afterWrite';\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\n beforeRead,\n read,\n afterRead,\n beforeMain,\n main,\n afterMain,\n beforeWrite,\n write,\n afterWrite,\n];\n\nexport type ModifierPhases =\n | typeof beforeRead\n | typeof read\n | typeof afterRead\n | typeof beforeMain\n | typeof main\n | typeof afterMain\n | typeof beforeWrite\n | typeof write\n | typeof afterWrite;\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\nimport { modifierPhases } from '../enums';\n\n// source: https://stackoverflow.com/questions/49875255\nfunction order(modifiers) {\n const map = new Map();\n const visited = new Set();\n const result = [];\n\n modifiers.forEach(modifier =&gt; {\n map.set(modifier.name, modifier);\n });\n\n // On visiting object, check for its dependencies and visit them recursively\n function sort(modifier: Modifier&lt;any, any&gt;) {\n visited.add(modifier.name);\n\n const requires = [\n ...(modifier.requires || []),\n ...(modifier.requiresIfExists || []),\n ];\n\n requires.forEach(dep =&gt; {\n if (!visited.has(dep)) {\n const depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n\n result.push(modifier);\n }\n\n modifiers.forEach(modifier =&gt; {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n\n return result;\n}\n\nexport default function orderModifiers(\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\n // order based on dependencies\n const orderedModifiers = order(modifiers);\n\n // order based on phase\n return modifierPhases.reduce((acc, phase) =&gt; {\n return acc.concat(\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\n );\n }, []);\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\n let pending;\n return () =&gt; {\n if (!pending) {\n pending = new Promise&lt;T&gt;(resolve =&gt; {\n Promise.resolve().then(() =&gt; {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function format(str: string, ...args: Array&lt;string&gt;) {\n return [...args].reduce((p, c) =&gt; p.replace(/%s/, c), str);\n}\n"</span>,<span class="code-string">"// @flow\nimport format from './format';\nimport { modifierPhases } from '../enums';\n\nconst INVALID_MODIFIER_ERROR =\n 'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s';\nconst MISSING_DEPENDENCY_ERROR =\n 'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available';\nconst VALID_PROPERTIES = [\n 'name',\n 'enabled',\n 'phase',\n 'fn',\n 'effect',\n 'requires',\n 'options',\n];\n\nexport default function validateModifiers(modifiers: Array&lt;any&gt;): void {\n modifiers.forEach((modifier) =&gt; {\n [...Object.keys(modifier), ...VALID_PROPERTIES]\n // IE11-compatible replacement for `new Set(iterable)`\n .filter((value, index, self) =&gt; self.indexOf(value) === index)\n .forEach((key) =&gt; {\n switch (key) {\n case 'name':\n if (typeof modifier.name !== 'string') {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n String(modifier.name),\n '\"name\"',\n '\"string\"',\n `\"${String(modifier.name)}\"`\n )\n );\n }\n break;\n case 'enabled':\n if (typeof modifier.enabled !== 'boolean') {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"enabled\"',\n '\"boolean\"',\n `\"${String(modifier.enabled)}\"`\n )\n );\n }\n break;\n case 'phase':\n if (modifierPhases.indexOf(modifier.phase) &lt; 0) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"phase\"',\n `either ${modifierPhases.join(', ')}`,\n `\"${String(modifier.phase)}\"`\n )\n );\n }\n break;\n case 'fn':\n if (typeof modifier.fn !== 'function') {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"fn\"',\n '\"function\"',\n `\"${String(modifier.fn)}\"`\n )\n );\n }\n break;\n case 'effect':\n if (\n modifier.effect != null &amp;&amp;\n typeof modifier.effect !== 'function'\n ) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"effect\"',\n '\"function\"',\n `\"${String(modifier.fn)}\"`\n )\n );\n }\n break;\n case 'requires':\n if (\n modifier.requires != null &amp;&amp;\n !Array.isArray(modifier.requires)\n ) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"requires\"',\n '\"array\"',\n `\"${String(modifier.requires)}\"`\n )\n );\n }\n break;\n case 'requiresIfExists':\n if (!Array.isArray(modifier.requiresIfExists)) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"requiresIfExists\"',\n '\"array\"',\n `\"${String(modifier.requiresIfExists)}\"`\n )\n );\n }\n break;\n case 'options':\n case 'data':\n break;\n default:\n console.error(\n `PopperJS: an invalid property has been provided to the \"${\n modifier.name\n }\" modifier, valid properties are ${VALID_PROPERTIES.map(\n (s) =&gt; `\"${s}\"`\n ).join(', ')}; but \"${key}\" was provided.`\n );\n }\n\n modifier.requires &amp;&amp;\n modifier.requires.forEach((requirement) =&gt; {\n if (modifiers.find((mod) =&gt; mod.name === requirement) == null) {\n console.error(\n format(\n MISSING_DEPENDENCY_ERROR,\n String(modifier.name),\n requirement,\n requirement\n )\n );\n }\n });\n });\n });\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function uniqueBy&lt;T&gt;(arr: Array&lt;T&gt;, fn: T =&gt; any): Array&lt;T&gt; {\n const identifiers = new Set();\n\n return arr.filter(item =&gt; {\n const identifier = fn(item);\n\n if (!identifiers.has(identifier)) {\n identifiers.add(identifier);\n return true;\n }\n });\n}\n"</span>,<span class="code-string">"// @flow\nimport { type BasePlacement, type Placement, auto } from '../enums';\n\nexport default function getBasePlacement(\n placement: Placement | typeof auto\n): BasePlacement {\n return (placement.split('-')[0]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\n\nexport default function mergeByName(\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\n const merged = modifiers.reduce((merged, current) =&gt; {\n const existing = merged[current.name];\n merged[current.name] = existing\n ? {\n ...existing,\n ...current,\n options: { ...existing.options, ...current.options },\n data: { ...existing.data, ...current.data },\n }\n : current;\n return merged;\n }, {});\n\n // IE11 does not support Object.values\n return Object.keys(merged).map(key =&gt; merged[key]);\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScrollBarX from './getWindowScrollBarX';\n\nexport default function getViewportRect(element: Element) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n\n // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\n\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width,\n height,\n x: x + getWindowScrollBarX(element),\n y,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getWindowScroll from './getWindowScroll';\nimport { max } from '../utils/math';\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\nexport default function getDocumentRect(element: HTMLElement): Rect {\n const html = getDocumentElement(element);\n const winScroll = getWindowScroll(element);\n const body = element.ownerDocument?.body;\n\n const width = max(\n html.scrollWidth,\n html.clientWidth,\n body ? body.scrollWidth : 0,\n body ? body.clientWidth : 0\n );\n const height = max(\n html.scrollHeight,\n html.clientHeight,\n body ? body.scrollHeight : 0,\n body ? body.clientHeight : 0\n );\n\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n const y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return { width, height, x, y };\n}\n"</span>,<span class="code-string">"// @flow\nimport { isShadowRoot } from './instanceOf';\n\nexport default function contains(parent: Element, child: Element) {\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\n\n // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n }\n // then fallback to custom implementation with Shadow DOM support\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\n let next = child;\n do {\n if (next &amp;&amp; parent.isSameNode(next)) {\n return true;\n }\n // $FlowFixMe[prop-missing]: need a better way to handle this...\n next = next.parentNode || next.host;\n } while (next);\n }\n\n // Give up, the result is false\n return false;\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, ClientRectObject } from '../types';\n\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\n return {\n ...rect,\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject } from '../types';\nimport type { Boundary, RootBoundary } from '../enums';\nimport { viewport } from '../enums';\nimport getViewportRect from './getViewportRect';\nimport getDocumentRect from './getDocumentRect';\nimport listScrollParents from './listScrollParents';\nimport getOffsetParent from './getOffsetParent';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport { isElement, isHTMLElement } from './instanceOf';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getParentNode from './getParentNode';\nimport contains from './contains';\nimport getNodeName from './getNodeName';\nimport rectToClientRect from '../utils/rectToClientRect';\nimport { max, min } from '../utils/math';\n\nfunction getInnerBoundingClientRect(element: Element) {\n const rect = getBoundingClientRect(element);\n\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n\n return rect;\n}\n\nfunction getClientRectFromMixedType(\n element: Element,\n clippingParent: Element | RootBoundary\n): ClientRectObject {\n return clippingParent === viewport\n ? rectToClientRect(getViewportRect(element))\n : isElement(clippingParent)\n ? getInnerBoundingClientRect(clippingParent)\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n}\n\n// A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\n const clippingParents = listScrollParents(getParentNode(element));\n const canEscapeClipping =\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\n const clipperElement =\n canEscapeClipping &amp;&amp; isHTMLElement(element)\n ? getOffsetParent(element)\n : element;\n\n if (!isElement(clipperElement)) {\n return [];\n }\n\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n return clippingParents.filter(\n (clippingParent) =&gt;\n isElement(clippingParent) &amp;&amp;\n contains(clippingParent, clipperElement) &amp;&amp;\n getNodeName(clippingParent) !== 'body'\n );\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping parents\nexport default function getClippingRect(\n element: Element,\n boundary: Boundary,\n rootBoundary: RootBoundary\n): ClientRectObject {\n const mainClippingParents =\n boundary === 'clippingParents'\n ? getClippingParents(element)\n : [].concat(boundary);\n const clippingParents = [...mainClippingParents, rootBoundary];\n const firstClippingParent = clippingParents[0];\n\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\n const rect = getClientRectFromMixedType(element, clippingParent);\n\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n\n return clippingRect;\n}\n"</span>,<span class="code-string">"// @flow\nimport { type Variation, type Placement } from '../enums';\n\nexport default function getVariation(placement: Placement): ?Variation {\n return (placement.split('-')[1]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nexport default function getMainAxisFromPlacement(\n placement: Placement\n): 'x' | 'y' {\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\n}\n"</span>,<span class="code-string">"// @flow\nimport getBasePlacement from './getBasePlacement';\nimport getVariation from './getVariation';\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\nimport type {\n Rect,\n PositioningStrategy,\n Offsets,\n ClientRectObject,\n} from '../types';\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\n\nexport default function computeOffsets({\n reference,\n element,\n placement,\n}: {\n reference: Rect | ClientRectObject,\n element: Rect | ClientRectObject,\n strategy: PositioningStrategy,\n placement?: Placement,\n}): Offsets {\n const basePlacement = placement ? getBasePlacement(placement) : null;\n const variation = placement ? getVariation(placement) : null;\n const commonX = reference.x + reference.width / 2 - element.width / 2;\n const commonY = reference.y + reference.height / 2 - element.height / 2;\n\n let offsets;\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height,\n };\n break;\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height,\n };\n break;\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY,\n };\n break;\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY,\n };\n break;\n default:\n offsets = {\n x: reference.x,\n y: reference.y,\n };\n }\n\n const mainAxis = basePlacement\n ? getMainAxisFromPlacement(basePlacement)\n : null;\n\n if (mainAxis != null) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] =\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n case end:\n offsets[mainAxis] =\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n default:\n }\n }\n\n return offsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\n\nexport default function getFreshSideObject(): SideObject {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\nimport getFreshSideObject from './getFreshSideObject';\n\nexport default function mergePaddingObject(\n paddingObject: $Shape&lt;SideObject&gt;\n): SideObject {\n return {\n ...getFreshSideObject(),\n ...paddingObject,\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function expandToHashMap&lt;\n T: number | string | boolean,\n K: string\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\n return keys.reduce((hashMap, key) =&gt; {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}\n"</span>,<span class="code-string">"// @flow\nimport type { State, SideObject, Padding } from '../types';\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\nimport getClippingRect from '../dom-utils/getClippingRect';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\nimport computeOffsets from './computeOffsets';\nimport rectToClientRect from './rectToClientRect';\nimport {\n clippingParents,\n reference,\n popper,\n bottom,\n top,\n right,\n basePlacements,\n viewport,\n} from '../enums';\nimport { isElement } from '../dom-utils/instanceOf';\nimport mergePaddingObject from './mergePaddingObject';\nimport expandToHashMap from './expandToHashMap';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n placement: Placement,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n elementContext: Context,\n altBoundary: boolean,\n padding: Padding,\n};\n\nexport default function detectOverflow(\n state: State,\n options: $Shape&lt;Options&gt; = {}\n): SideObject {\n const {\n placement = state.placement,\n boundary = clippingParents,\n rootBoundary = viewport,\n elementContext = popper,\n altBoundary = false,\n padding = 0,\n } = options;\n\n const paddingObject = mergePaddingObject(\n typeof padding !== 'number'\n ? padding\n : expandToHashMap(padding, basePlacements)\n );\n\n const altContext = elementContext === popper ? reference : popper;\n\n const popperRect = state.rects.popper;\n const element = state.elements[altBoundary ? altContext : elementContext];\n\n const clippingClientRect = getClippingRect(\n isElement(element)\n ? element\n : element.contextElement || getDocumentElement(state.elements.popper),\n boundary,\n rootBoundary\n );\n\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\n\n const popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement,\n });\n\n const popperClientRect = rectToClientRect({\n ...popperRect,\n ...popperOffsets,\n });\n\n const elementClientRect =\n elementContext === popper ? popperClientRect : referenceClientRect;\n\n // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n const overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom:\n elementClientRect.bottom -\n clippingClientRect.bottom +\n paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right:\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\n };\n\n const offsetData = state.modifiersData.offset;\n\n // Offsets can be applied only to the popper element\n if (elementContext === popper &amp;&amp; offsetData) {\n const offset = offsetData[placement];\n\n Object.keys(overflowOffsets).forEach((key) =&gt; {\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport type {\n State,\n OptionsGeneric,\n Modifier,\n Instance,\n VirtualElement,\n} from './types';\nimport getCompositeRect from './dom-utils/getCompositeRect';\nimport getLayoutRect from './dom-utils/getLayoutRect';\nimport listScrollParents from './dom-utils/listScrollParents';\nimport getOffsetParent from './dom-utils/getOffsetParent';\nimport getComputedStyle from './dom-utils/getComputedStyle';\nimport orderModifiers from './utils/orderModifiers';\nimport debounce from './utils/debounce';\nimport validateModifiers from './utils/validateModifiers';\nimport uniqueBy from './utils/uniqueBy';\nimport getBasePlacement from './utils/getBasePlacement';\nimport mergeByName from './utils/mergeByName';\nimport detectOverflow from './utils/detectOverflow';\nimport { isElement } from './dom-utils/instanceOf';\nimport { auto } from './enums';\n\nconst INVALID_ELEMENT_ERROR =\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nconst INFINITE_LOOP_ERROR =\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\n\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute',\n};\n\ntype PopperGeneratorArgs = {\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\n};\n\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\n return !args.some(\n (element) =&gt;\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\n );\n}\n\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\n const {\n defaultModifiers = [],\n defaultOptions = DEFAULT_OPTIONS,\n } = generatorOptions;\n\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\n reference: Element | VirtualElement,\n popper: HTMLElement,\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\n ): Instance {\n let state: $Shape&lt;State&gt; = {\n placement: 'bottom',\n orderedModifiers: [],\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\n modifiersData: {},\n elements: {\n reference,\n popper,\n },\n attributes: {},\n styles: {},\n };\n\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\n let isDestroyed = false;\n\n const instance = {\n state,\n setOptions(setOptionsAction) {\n const options =\n typeof setOptionsAction === 'function'\n ? setOptionsAction(state.options)\n : setOptionsAction;\n\n cleanupModifierEffects();\n\n state.options = {\n // $FlowFixMe[exponential-spread]\n ...defaultOptions,\n ...state.options,\n ...options,\n };\n\n state.scrollParents = {\n reference: isElement(reference)\n ? listScrollParents(reference)\n : reference.contextElement\n ? listScrollParents(reference.contextElement)\n : [],\n popper: listScrollParents(popper),\n };\n\n // Orders the modifiers based on their dependencies and `phase`\n // properties\n const orderedModifiers = orderModifiers(\n mergeByName([...defaultModifiers, ...state.options.modifiers])\n );\n\n // Strip out disabled modifiers\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\n\n // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n if (__DEV__) {\n const modifiers = uniqueBy(\n [...orderedModifiers, ...state.options.modifiers],\n ({ name }) =&gt; name\n );\n\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n const flipModifier = state.orderedModifiers.find(\n ({ name }) =&gt; name === 'flip'\n );\n\n if (!flipModifier) {\n console.error(\n [\n 'Popper: \"auto\" placements require the \"flip\" modifier be',\n 'present and enabled to work.',\n ].join(' ')\n );\n }\n }\n\n const {\n marginTop,\n marginRight,\n marginBottom,\n marginLeft,\n } = getComputedStyle(popper);\n\n // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n if (\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\n parseFloat(margin)\n )\n ) {\n console.warn(\n [\n 'Popper: CSS \"margin\" styles cannot be used to apply padding',\n 'between the popper and its reference element or boundary.',\n 'To replicate margin, use the `offset` modifier, as well as',\n 'the `padding` option in the `preventOverflow` and `flip`',\n 'modifiers.',\n ].join(' ')\n );\n }\n }\n\n runModifierEffects();\n\n return instance.update();\n },\n\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n const { reference, popper } = state.elements;\n\n // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return;\n }\n\n // Store the reference and popper rects to be read by modifiers\n state.rects = {\n reference: getCompositeRect(\n reference,\n getOffsetParent(popper),\n state.options.strategy === 'fixed'\n ),\n popper: getLayoutRect(popper),\n };\n\n // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n state.reset = false;\n\n state.placement = state.options.placement;\n\n // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n state.orderedModifiers.forEach(\n (modifier) =&gt;\n (state.modifiersData[modifier.name] = {\n ...modifier.data,\n })\n );\n\n let __debug_loops__ = 0;\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\n if (__DEV__) {\n __debug_loops__ += 1;\n if (__debug_loops__ &gt; 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n const { fn, options = {}, name } = state.orderedModifiers[index];\n\n if (typeof fn === 'function') {\n state = fn({ state, options, name, instance }) || state;\n }\n }\n },\n\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\n () =&gt;\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\n instance.forceUpdate();\n resolve(state);\n })\n ),\n\n destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n },\n };\n\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return instance;\n }\n\n instance.setOptions(options).then((state) =&gt; {\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n });\n\n // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n function runModifierEffects() {\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\n if (typeof effect === 'function') {\n const cleanupFn = effect({ state, name, instance, options });\n const noopFn = () =&gt; {};\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach((fn) =&gt; fn());\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\n\nexport const createPopper = popperGenerator();\n\n// eslint-disable-next-line import/no-unused-modules\nexport { detectOverflow };\n"</span>,<span class="code-string">"// @flow\nimport type { ModifierArguments, Modifier } from '../types';\nimport getWindow from '../dom-utils/getWindow';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n scroll: boolean,\n resize: boolean,\n};\n\nconst passive = { passive: true };\n\nfunction effect({ state, instance, options }: ModifierArguments&lt;Options&gt;) {\n const { scroll = true, resize = true } = options;\n\n const window = getWindow(state.elements.popper);\n const scrollParents = [\n ...state.scrollParents.reference,\n ...state.scrollParents.popper,\n ];\n\n if (scroll) {\n scrollParents.forEach(scrollParent =&gt; {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return () =&gt; {\n if (scroll) {\n scrollParents.forEach(scrollParent =&gt; {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type EventListenersModifier = Modifier&lt;'eventListeners', Options&gt;;\nexport default ({\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: () =&gt; {},\n effect,\n data: {},\n}: EventListenersModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { ModifierArguments, Modifier } from '../types';\nimport computeOffsets from '../utils/computeOffsets';\n\nfunction popperOffsets({ state, name }: ModifierArguments&lt;{||}&gt;) {\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement,\n });\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type PopperOffsetsModifier = Modifier&lt;'popperOffsets', {||}&gt;;\nexport default ({\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {},\n}: PopperOffsetsModifier);\n"</span>,<span class="code-string">"// @flow\nimport type {\n PositioningStrategy,\n Offsets,\n Modifier,\n ModifierArguments,\n Rect,\n Window,\n} from '../types';\nimport {\n type BasePlacement,\n type Variation,\n top,\n left,\n right,\n bottom,\n end,\n} from '../enums';\nimport getOffsetParent from '../dom-utils/getOffsetParent';\nimport getWindow from '../dom-utils/getWindow';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getComputedStyle from '../dom-utils/getComputedStyle';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getVariation from '../utils/getVariation';\nimport { round } from '../utils/math';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type RoundOffsets = (\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;\n) =&gt; Offsets;\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n gpuAcceleration: boolean,\n adaptive: boolean,\n roundOffsets?: boolean | RoundOffsets,\n};\n\nconst unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto',\n};\n\n// Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\nfunction roundOffsetsByDPR({ x, y }): Offsets {\n const win: Window = window;\n const dpr = win.devicePixelRatio || 1;\n\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0,\n };\n}\n\nexport function mapToStyles({\n popper,\n popperRect,\n placement,\n variation,\n offsets,\n position,\n gpuAcceleration,\n adaptive,\n roundOffsets,\n isFixed,\n}: {\n popper: HTMLElement,\n popperRect: Rect,\n placement: BasePlacement,\n variation: ?Variation,\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;,\n position: PositioningStrategy,\n gpuAcceleration: boolean,\n adaptive: boolean,\n roundOffsets: boolean | RoundOffsets,\n isFixed: boolean,\n}) {\n let { x = 0, y = 0 } = offsets;\n\n ({ x, y } =\n typeof roundOffsets === 'function'\n ? roundOffsets({ x, y })\n : { x, y });\n\n const hasX = offsets.hasOwnProperty('x');\n const hasY = offsets.hasOwnProperty('y');\n\n let sideX: string = left;\n let sideY: string = top;\n\n const win: Window = window;\n\n if (adaptive) {\n let offsetParent = getOffsetParent(popper);\n let heightProp = 'clientHeight';\n let widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (\n getComputedStyle(offsetParent).position !== 'static' &amp;&amp;\n position === 'absolute'\n ) {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n }\n\n // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n offsetParent = (offsetParent: Element);\n\n if (\n placement === top ||\n ((placement === left || placement === right) &amp;&amp; variation === end)\n ) {\n sideY = bottom;\n const offsetY =\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\n ? win.visualViewport.height\n : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (\n placement === left ||\n ((placement === top || placement === bottom) &amp;&amp; variation === end)\n ) {\n sideX = right;\n const offsetX =\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\n ? win.visualViewport.width\n : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n const commonStyles = {\n position,\n ...(adaptive &amp;&amp; unsetSides),\n };\n\n ({ x, y } =\n roundOffsets === true\n ? roundOffsetsByDPR({ x, y })\n : { x, y });\n\n if (gpuAcceleration) {\n return {\n ...commonStyles,\n [sideY]: hasY ? '0' : '',\n [sideX]: hasX ? '0' : '',\n // Layer acceleration can disable subpixel rendering which causes slightly\n // blurry text on low PPI displays, so we want to use 2D transforms\n // instead\n transform:\n (win.devicePixelRatio || 1) &lt;= 1\n ? `translate(${x}px, ${y}px)`\n : `translate3d(${x}px, ${y}px, 0)`,\n };\n }\n\n return {\n ...commonStyles,\n [sideY]: hasY ? `${y}px` : '',\n [sideX]: hasX ? `${x}px` : '',\n transform: '',\n };\n}\n\nfunction computeStyles({ state, options }: ModifierArguments&lt;Options&gt;) {\n const {\n gpuAcceleration = true,\n adaptive = true,\n // defaults to use builtin `roundOffsetsByDPR`\n roundOffsets = true,\n } = options;\n\n if (__DEV__) {\n const transitionProperty =\n getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (\n adaptive &amp;&amp;\n ['transform', 'top', 'right', 'bottom', 'left'].some(\n (property) =&gt; transitionProperty.indexOf(property) &gt;= 0\n )\n ) {\n console.warn(\n [\n 'Popper: Detected CSS transitions on at least one of the following',\n 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".',\n '\\n\\n',\n 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow',\n 'for smooth transitions, or remove these properties from the CSS',\n 'transition declaration on the popper element if only transitioning',\n 'opacity or background-color for example.',\n '\\n\\n',\n 'We recommend using the popper element as a wrapper around an inner',\n 'element that can have any CSS property transitioned for animations.',\n ].join(' ')\n );\n }\n }\n\n const commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration,\n isFixed: state.options.strategy === 'fixed',\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = {\n ...state.styles.popper,\n ...mapToStyles({\n ...commonStyles,\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive,\n roundOffsets,\n }),\n };\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = {\n ...state.styles.arrow,\n ...mapToStyles({\n ...commonStyles,\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets,\n }),\n };\n }\n\n state.attributes.popper = {\n ...state.attributes.popper,\n 'data-popper-placement': state.placement,\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ComputeStylesModifier = Modifier&lt;'computeStyles', Options&gt;;\nexport default ({\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {},\n}: ComputeStylesModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier, ModifierArguments } from '../types';\nimport getNodeName from '../dom-utils/getNodeName';\nimport { isHTMLElement } from '../dom-utils/instanceOf';\n\n// This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles({ state }: ModifierArguments&lt;{||}&gt;) {\n Object.keys(state.elements).forEach((name) =&gt; {\n const style = state.styles[name] || {};\n\n const attributes = state.attributes[name] || {};\n const element = state.elements[name];\n\n // arrow is optional + virtual elements\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n Object.assign(element.style, style);\n\n Object.keys(attributes).forEach((name) =&gt; {\n const value = attributes[name];\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect({ state }: ModifierArguments&lt;{||}&gt;) {\n const initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0',\n },\n arrow: {\n position: 'absolute',\n },\n reference: {},\n };\n\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return () =&gt; {\n Object.keys(state.elements).forEach((name) =&gt; {\n const element = state.elements[name];\n const attributes = state.attributes[name] || {};\n\n const styleProperties = Object.keys(\n state.styles.hasOwnProperty(name)\n ? state.styles[name]\n : initialStyles[name]\n );\n\n // Set all values to an empty string to unset them\n const style = styleProperties.reduce((style, property) =&gt; {\n style[property] = '';\n return style;\n }, {});\n\n // arrow is optional + virtual elements\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n\n Object.keys(attributes).forEach((attribute) =&gt; {\n element.removeAttribute(attribute);\n });\n });\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ApplyStylesModifier = Modifier&lt;'applyStyles', {||}&gt;;\nexport default ({\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect,\n requires: ['computeStyles'],\n}: ApplyStylesModifier);\n"</span>,<span class="code-string">"// @flow\nimport { popperGenerator, detectOverflow } from './createPopper';\n\nimport eventListeners from './modifiers/eventListeners';\nimport popperOffsets from './modifiers/popperOffsets';\nimport computeStyles from './modifiers/computeStyles';\nimport applyStyles from './modifiers/applyStyles';\n\nexport type * from './types';\n\nconst defaultModifiers = [\n eventListeners,\n popperOffsets,\n computeStyles,\n applyStyles,\n];\n\nconst createPopper = popperGenerator({ defaultModifiers });\n\n// eslint-disable-next-line import/no-unused-modules\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\n"</span>],<span class="code-attr">"names"</span>:[<span class="code-string">"getWindow"</span>,<span class="code-string">"node"</span>,<span class="code-string">"window"</span>,<span class="code-string">"toString"</span>,<span class="code-string">"ownerDocument"</span>,<span class="code-string">"defaultView"</span>,<span class="code-string">"isElement"</span>,<span class="code-string">"OwnElement"</span>,<span class="code-string">"Element"</span>,<span class="code-string">"isHTMLElement"</span>,<span class="code-string">"HTMLElement"</span>,<span class="code-string">"isShadowRoot"</span>,<span class="code-string">"ShadowRoot"</span>,<span class="code-string">"max"</span>,<span class="code-string">"Math"</span>,<span class="code-string">"min"</span>,<span class="code-string">"round"</span>,<span class="code-string">"getBoundingClientRect"</span>,<span class="code-string">"element"</span>,<span class="code-string">"includeScale"</span>,<span class="code-string">"rect"</span>,<span class="code-string">"scaleX"</span>,<span class="code-string">"scaleY"</span>,<span class="code-string">"offsetHeight"</span>,<span class="code-string">"offsetWidth"</span>,<span class="code-string">"width"</span>,<span class="code-string">"height"</span>,<span class="code-string">"top"</span>,<span class="code-string">"right"</span>,<span class="code-string">"bottom"</span>,<span class="code-string">"left"</span>,<span class="code-string">"x"</span>,<span class="code-string">"y"</span>,<span class="code-string">"getWindowScroll"</span>,<span class="code-string">"win"</span>,<span class="code-string">"scrollLeft"</span>,<span class="code-string">"pageXOffset"</span>,<span class="code-string">"scrollTop"</span>,<span class="code-string">"pageYOffset"</span>,<span class="code-string">"getHTMLElementScroll"</span>,<span class="code-string">"getNodeScroll"</span>,<span class="code-string">"getNodeName"</span>,<span class="code-string">"nodeName"</span>,<span class="code-string">"toLowerCase"</span>,<span class="code-string">"getDocumentElement"</span>,<span class="code-string">"document"</span>,<span class="code-string">"documentElement"</span>,<span class="code-string">"getWindowScrollBarX"</span>,<span class="code-string">"getComputedStyle"</span>,<span class="code-string">"isScrollParent"</span>,<span class="code-string">"overflow"</span>,<span class="code-string">"overflowX"</span>,<span class="code-string">"overflowY"</span>,<span class="code-string">"test"</span>,<span class="code-string">"isElementScaled"</span>,<span class="code-string">"getCompositeRect"</span>,<span class="code-string">"elementOrVirtualElement"</span>,<span class="code-string">"offsetParent"</span>,<span class="code-string">"isFixed"</span>,<span class="code-string">"isOffsetParentAnElement"</span>,<span class="code-string">"offsetParentIsScaled"</span>,<span class="code-string">"scroll"</span>,<span class="code-string">"offsets"</span>,<span class="code-string">"clientLeft"</span>,<span class="code-string">"clientTop"</span>,<span class="code-string">"getLayoutRect"</span>,<span class="code-string">"clientRect"</span>,<span class="code-string">"abs"</span>,<span class="code-string">"offsetLeft"</span>,<span class="code-string">"offsetTop"</span>,<span class="code-string">"getParentNode"</span>,<span class="code-string">"assignedSlot"</span>,<span class="code-string">"parentNode"</span>,<span class="code-string">"host"</span>,<span class="code-string">"getScrollParent"</span>,<span class="code-string">"indexOf"</span>,<span class="code-string">"body"</span>,<span class="code-string">"listScrollParents"</span>,<span class="code-string">"list"</span>,<span class="code-string">"scrollParent"</span>,<span class="code-string">"isBody"</span>,<span class="code-string">"target"</span>,<span class="code-string">"concat"</span>,<span class="code-string">"visualViewport"</span>,<span class="code-string">"updatedList"</span>,<span class="code-string">"isTableElement"</span>,<span class="code-string">"getTrueOffsetParent"</span>,<span class="code-string">"position"</span>,<span class="code-string">"getContainingBlock"</span>,<span class="code-string">"isFirefox"</span>,<span class="code-string">"navigator"</span>,<span class="code-string">"userAgent"</span>,<span class="code-string">"isIE"</span>,<span class="code-string">"elementCss"</span>,<span class="code-string">"currentNode"</span>,<span class="code-string">"css"</span>,<span class="code-string">"transform"</span>,<span class="code-string">"perspective"</span>,<span class="code-string">"contain"</span>,<span class="code-string">"willChange"</span>,<span class="code-string">"filter"</span>,<span class="code-string">"getOffsetParent"</span>,<span class="code-string">"auto"</span>,<span class="code-string">"basePlacements"</span>,<span class="code-string">"start"</span>,<span class="code-string">"end"</span>,<span class="code-string">"clippingParents"</span>,<span class="code-string">"viewport"</span>,<span class="code-string">"popper"</span>,<span class="code-string">"reference"</span>,<span class="code-string">"beforeRead"</span>,<span class="code-string">"read"</span>,<span class="code-string">"afterRead"</span>,<span class="code-string">"beforeMain"</span>,<span class="code-string">"main"</span>,<span class="code-string">"afterMain"</span>,<span class="code-string">"beforeWrite"</span>,<span class="code-string">"write"</span>,<span class="code-string">"afterWrite"</span>,<span class="code-string">"modifierPhases"</span>,<span class="code-string">"order"</span>,<span class="code-string">"modifiers"</span>,<span class="code-string">"map"</span>,<span class="code-string">"Map"</span>,<span class="code-string">"visited"</span>,<span class="code-string">"Set"</span>,<span class="code-string">"result"</span>,<span class="code-string">"forEach"</span>,<span class="code-string">"modifier"</span>,<span class="code-string">"set"</span>,<span class="code-string">"name"</span>,<span class="code-string">"sort"</span>,<span class="code-string">"add"</span>,<span class="code-string">"requires"</span>,<span class="code-string">"requiresIfExists"</span>,<span class="code-string">"dep"</span>,<span class="code-string">"has"</span>,<span class="code-string">"depModifier"</span>,<span class="code-string">"get"</span>,<span class="code-string">"push"</span>,<span class="code-string">"orderModifiers"</span>,<span class="code-string">"orderedModifiers"</span>,<span class="code-string">"reduce"</span>,<span class="code-string">"acc"</span>,<span class="code-string">"phase"</span>,<span class="code-string">"debounce"</span>,<span class="code-string">"fn"</span>,<span class="code-string">"pending"</span>,<span class="code-string">"Promise"</span>,<span class="code-string">"resolve"</span>,<span class="code-string">"then"</span>,<span class="code-string">"undefined"</span>,<span class="code-string">"format"</span>,<span class="code-string">"str"</span>,<span class="code-string">"args"</span>,<span class="code-string">"p"</span>,<span class="code-string">"c"</span>,<span class="code-string">"replace"</span>,<span class="code-string">"INVALID_MODIFIER_ERROR"</span>,<span class="code-string">"MISSING_DEPENDENCY_ERROR"</span>,<span class="code-string">"VALID_PROPERTIES"</span>,<span class="code-string">"validateModifiers"</span>,<span class="code-string">"Object"</span>,<span class="code-string">"keys"</span>,<span class="code-string">"value"</span>,<span class="code-string">"index"</span>,<span class="code-string">"self"</span>,<span class="code-string">"key"</span>,<span class="code-string">"console"</span>,<span class="code-string">"error"</span>,<span class="code-string">"String"</span>,<span class="code-string">"enabled"</span>,<span class="code-string">"join"</span>,<span class="code-string">"effect"</span>,<span class="code-string">"Array"</span>,<span class="code-string">"isArray"</span>,<span class="code-string">"s"</span>,<span class="code-string">"requirement"</span>,<span class="code-string">"find"</span>,<span class="code-string">"mod"</span>,<span class="code-string">"uniqueBy"</span>,<span class="code-string">"arr"</span>,<span class="code-string">"identifiers"</span>,<span class="code-string">"item"</span>,<span class="code-string">"identifier"</span>,<span class="code-string">"getBasePlacement"</span>,<span class="code-string">"placement"</span>,<span class="code-string">"split"</span>,<span class="code-string">"mergeByName"</span>,<span class="code-string">"merged"</span>,<span class="code-string">"current"</span>,<span class="code-string">"existing"</span>,<span class="code-string">"options"</span>,<span class="code-string">"data"</span>,<span class="code-string">"getViewportRect"</span>,<span class="code-string">"html"</span>,<span class="code-string">"clientWidth"</span>,<span class="code-string">"clientHeight"</span>,<span class="code-string">"getDocumentRect"</span>,<span class="code-string">"winScroll"</span>,<span class="code-string">"scrollWidth"</span>,<span class="code-string">"scrollHeight"</span>,<span class="code-string">"direction"</span>,<span class="code-string">"contains"</span>,<span class="code-string">"parent"</span>,<span class="code-string">"child"</span>,<span class="code-string">"rootNode"</span>,<span class="code-string">"getRootNode"</span>,<span class="code-string">"next"</span>,<span class="code-string">"isSameNode"</span>,<span class="code-string">"rectToClientRect"</span>,<span class="code-string">"getInnerBoundingClientRect"</span>,<span class="code-string">"getClientRectFromMixedType"</span>,<span class="code-string">"clippingParent"</span>,<span class="code-string">"getClippingParents"</span>,<span class="code-string">"canEscapeClipping"</span>,<span class="code-string">"clipperElement"</span>,<span class="code-string">"getClippingRect"</span>,<span class="code-string">"boundary"</span>,<span class="code-string">"rootBoundary"</span>,<span class="code-string">"mainClippingParents"</span>,<span class="code-string">"firstClippingParent"</span>,<span class="code-string">"clippingRect"</span>,<span class="code-string">"accRect"</span>,<span class="code-string">"getVariation"</span>,<span class="code-string">"getMainAxisFromPlacement"</span>,<span class="code-string">"computeOffsets"</span>,<span class="code-string">"basePlacement"</span>,<span class="code-string">"variation"</span>,<span class="code-string">"commonX"</span>,<span class="code-string">"commonY"</span>,<span class="code-string">"mainAxis"</span>,<span class="code-string">"len"</span>,<span class="code-string">"getFreshSideObject"</span>,<span class="code-string">"mergePaddingObject"</span>,<span class="code-string">"paddingObject"</span>,<span class="code-string">"expandToHashMap"</span>,<span class="code-string">"hashMap"</span>,<span class="code-string">"detectOverflow"</span>,<span class="code-string">"state"</span>,<span class="code-string">"elementContext"</span>,<span class="code-string">"altBoundary"</span>,<span class="code-string">"padding"</span>,<span class="code-string">"altContext"</span>,<span class="code-string">"popperRect"</span>,<span class="code-string">"rects"</span>,<span class="code-string">"elements"</span>,<span class="code-string">"clippingClientRect"</span>,<span class="code-string">"contextElement"</span>,<span class="code-string">"referenceClientRect"</span>,<span class="code-string">"popperOffsets"</span>,<span class="code-string">"strategy"</span>,<span class="code-string">"popperClientRect"</span>,<span class="code-string">"elementClientRect"</span>,<span class="code-string">"overflowOffsets"</span>,<span class="code-string">"offsetData"</span>,<span class="code-string">"modifiersData"</span>,<span class="code-string">"offset"</span>,<span class="code-string">"multiply"</span>,<span class="code-string">"axis"</span>,<span class="code-string">"INVALID_ELEMENT_ERROR"</span>,<span class="code-string">"INFINITE_LOOP_ERROR"</span>,<span class="code-string">"DEFAULT_OPTIONS"</span>,<span class="code-string">"areValidElements"</span>,<span class="code-string">"some"</span>,<span class="code-string">"popperGenerator"</span>,<span class="code-string">"generatorOptions"</span>,<span class="code-string">"defaultModifiers"</span>,<span class="code-string">"defaultOptions"</span>,<span class="code-string">"createPopper"</span>,<span class="code-string">"attributes"</span>,<span class="code-string">"styles"</span>,<span class="code-string">"effectCleanupFns"</span>,<span class="code-string">"isDestroyed"</span>,<span class="code-string">"instance"</span>,<span class="code-string">"setOptions"</span>,<span class="code-string">"setOptionsAction"</span>,<span class="code-string">"cleanupModifierEffects"</span>,<span class="code-string">"scrollParents"</span>,<span class="code-string">"m"</span>,<span class="code-string">"flipModifier"</span>,<span class="code-string">"marginTop"</span>,<span class="code-string">"marginRight"</span>,<span class="code-string">"marginBottom"</span>,<span class="code-string">"marginLeft"</span>,<span class="code-string">"margin"</span>,<span class="code-string">"parseFloat"</span>,<span class="code-string">"warn"</span>,<span class="code-string">"runModifierEffects"</span>,<span class="code-string">"update"</span>,<span class="code-string">"forceUpdate"</span>,<span class="code-string">"reset"</span>,<span class="code-string">"__debug_loops__"</span>,<span class="code-string">"length"</span>,<span class="code-string">"destroy"</span>,<span class="code-string">"onFirstUpdate"</span>,<span class="code-string">"cleanupFn"</span>,<span class="code-string">"noopFn"</span>,<span class="code-string">"passive"</span>,<span class="code-string">"resize"</span>,<span class="code-string">"addEventListener"</span>,<span class="code-string">"removeEventListener"</span>,<span class="code-string">"unsetSides"</span>,<span class="code-string">"roundOffsetsByDPR"</span>,<span class="code-string">"dpr"</span>,<span class="code-string">"devicePixelRatio"</span>,<span class="code-string">"mapToStyles"</span>,<span class="code-string">"gpuAcceleration"</span>,<span class="code-string">"adaptive"</span>,<span class="code-string">"roundOffsets"</span>,<span class="code-string">"hasX"</span>,<span class="code-string">"hasOwnProperty"</span>,<span class="code-string">"hasY"</span>,<span class="code-string">"sideX"</span>,<span class="code-string">"sideY"</span>,<span class="code-string">"heightProp"</span>,<span class="code-string">"widthProp"</span>,<span class="code-string">"offsetY"</span>,<span class="code-string">"offsetX"</span>,<span class="code-string">"commonStyles"</span>,<span class="code-string">"computeStyles"</span>,<span class="code-string">"transitionProperty"</span>,<span class="code-string">"property"</span>,<span class="code-string">"arrow"</span>,<span class="code-string">"applyStyles"</span>,<span class="code-string">"style"</span>,<span class="code-string">"assign"</span>,<span class="code-string">"removeAttribute"</span>,<span class="code-string">"setAttribute"</span>,<span class="code-string">"initialStyles"</span>,<span class="code-string">"styleProperties"</span>,<span class="code-string">"attribute"</span>,<span class="code-string">"eventListeners"</span>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ACgC,MAAN,CAAa7I,IAAb,CADJ,GAEIuM,aAAa,CAACvM,IAAD,CAHK,CAAxB,CAJ4C;;EAW5C,UAAMmM,KAAK,GAAGK,eAAe,CAAC5L,MAAhB,CAAuB,UAACuL,KAAD,EAAQH,QAAR,EAAqB;EACxDG,QAAAA,KAAK,CAACH,QAAD,CAAL,GAAkB,EAAlB;EACA,eAAOG,KAAP;EACD,OAHa,EAGX,EAHW,CAAd,CAX4C;;EAiB5C,UAAI,CAAC5T,aAAa,CAACS,OAAD,CAAd,IAA2B,CAACuB,WAAW,CAACvB,OAAD,CAA3C,EAAsD;EACpD;EACD;;EAEDgJ,MAAAA,MAAM,CAACoK,MAAP,CAAcpT,OAAO,CAACmT,KAAtB,EAA6BA,KAA7B;EAEAnK,MAAAA,MAAM,CAACC,IAAP,CAAY2G,UAAZ,EAAwB/I,OAAxB,CAAgC,UAAC4M,SAAD,EAAe;EAC7CzT,QAAAA,OAAO,CAACqT,eAAR,CAAwBI,SAAxB;EACD,OAFD;EAGD,KA1BD;EA2BD,GA5BD;EA6BD;;;AAID,sBAAgB;EACdzM,EAAAA,IAAI,EAAE,aADQ;EAEdyC,EAAAA,OAAO,EAAE,IAFK;EAGd3B,EAAAA,KAAK,EAAE,OAHO;EAIdE,EAAAA,EAAE,EAAEkL,WAJU;EAKdvJ,EAAAA,MAAM,EAANA,MALc;EAMdxC,EAAAA,QAAQ,EAAE,CAAC,eAAD;EANI,CAAhB;;MChFMsI,gBAAgB,GAAG,CACvBiE,cADuB,EAEvBlF,eAFuB,EAGvBsE,eAHuB,EAIvBI,aAJuB;MAOnBvD,YAAY,gBAAGJ,eAAe,CAAC;EAAEE,EAAAA,gBAAgB,EAAhBA;EAAF,CAAD;;;;;;;;;"</span>}</code></td></tr><tr><td class="css-a4x74f">\</td><style data-emotion-css="jhhjkz">.css-jhhjkz{padding-left:10px;color:rgba(27,31,35,.3);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td class="css-jhhjkz">No newline at end of file</td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper-lite.min.js b/web/_static/popperjs/popper-lite.min.js
new file mode 100644
index 0000000..31876d7
--- /dev/null
+++ b/web/_static/popperjs/popper-lite.min.js
@@ -0,0 +1,71 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:32.663Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-lite.min.js","target":{"path":"/dist/umd/popper-lite.min.js","type":"file","details":{"contentType":"application/javascript","integrity":"sha384-u8WS75SN5JVL4gN3NSBNaOtl0UYxP5Amtag+23/St2NPHZEbv4HVFidVn0S3ORVR","language":"JavaScript","size":13218,"uri":null,"highlights":["<span class=\"code-comment\">/**\n</span>","<span class=\"code-comment\"> * @popperjs/core v2.11.5 - MIT License\n</span>","<span class=\"code-comment\"> */</span>\n","\n","!<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-string\">\"object\"</span>==<span class=\"code-keyword\">typeof</span> exports&amp;&amp;<span class=\"code-string\">\"undefined\"</span>!=<span class=\"code-keyword\">typeof</span> <span class=\"code-built_in\">module</span>?t(exports):<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> define&amp;&amp;define.amd?define([<span class=\"code-string\">\"exports\"</span>],t):t((e=<span class=\"code-string\">\"undefined\"</span>!=<span class=\"code-keyword\">typeof</span> globalThis?globalThis:e||self).Popper={})}(<span class=\"code-keyword\">this</span>,(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-string\">\"use strict\"</span>;<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">t</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">if</span>(<span class=\"code-literal\">null</span>==e)<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">window</span>;<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"[object Window]\"</span>!==e.toString()){<span class=\"code-keyword\">var</span> t=e.ownerDocument;<span class=\"code-keyword\">return</span> t&amp;&amp;t.defaultView||<span class=\"code-built_in\">window</span>}<span class=\"code-keyword\">return</span> e}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">n</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e <span class=\"code-keyword\">instanceof</span> t(e).Element||e <span class=\"code-keyword\">instanceof</span> Element}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">o</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e <span class=\"code-keyword\">instanceof</span> t(e).HTMLElement||e <span class=\"code-keyword\">instanceof</span> HTMLElement}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">r</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span><span class=\"code-string\">\"undefined\"</span>!=<span class=\"code-keyword\">typeof</span> ShadowRoot&amp;&amp;(e <span class=\"code-keyword\">instanceof</span> t(e).ShadowRoot||e <span class=\"code-keyword\">instanceof</span> ShadowRoot)}<span class=\"code-keyword\">var</span> i=<span class=\"code-built_in\">Math</span>.max,a=<span class=\"code-built_in\">Math</span>.min,s=<span class=\"code-built_in\">Math</span>.round;<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">f</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===t&amp;&amp;(t=!<span class=\"code-number\">1</span>);<span class=\"code-keyword\">var</span> n=e.getBoundingClientRect(),r=<span class=\"code-number\">1</span>,i=<span class=\"code-number\">1</span>;<span class=\"code-keyword\">if</span>(o(e)&amp;&amp;t){<span class=\"code-keyword\">var</span> a=e.offsetHeight,f=e.offsetWidth;f&gt;<span class=\"code-number\">0</span>&amp;&amp;(r=s(n.width)/f||<span class=\"code-number\">1</span>),a&gt;<span class=\"code-number\">0</span>&amp;&amp;(i=s(n.height)/a||<span class=\"code-number\">1</span>)}<span class=\"code-keyword\">return</span>{<span class=\"code-attr\">width</span>:n.width/r,<span class=\"code-attr\">height</span>:n.height/i,<span class=\"code-attr\">top</span>:n.top/i,<span class=\"code-attr\">right</span>:n.right/r,<span class=\"code-attr\">bottom</span>:n.bottom/i,<span class=\"code-attr\">left</span>:n.left/r,<span class=\"code-attr\">x</span>:n.left/r,<span class=\"code-attr\">y</span>:n.top/i}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">c</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n=t(e);<span class=\"code-keyword\">return</span>{<span class=\"code-attr\">scrollLeft</span>:n.pageXOffset,<span class=\"code-attr\">scrollTop</span>:n.pageYOffset}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">u</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e?(e.nodeName||<span class=\"code-string\">\"\"</span>).toLowerCase():<span class=\"code-literal\">null</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">l</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>((n(e)?e.ownerDocument:e.document)||<span class=\"code-built_in\">window</span>.document).documentElement}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">p</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> f(l(e)).left+c(e).scrollLeft}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">d</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> t(e).getComputedStyle(e)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">h</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=d(e),n=t.overflow,o=t.overflowX,r=t.overflowY;<span class=\"code-keyword\">return</span><span class=\"code-regexp\">/auto|scroll|overlay|hidden/</span>.test(n+r+o)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">m</span>(<span class=\"code-params\">e,n,r</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===r&amp;&amp;(r=!<span class=\"code-number\">1</span>);<span class=\"code-keyword\">var</span> i,a,d=o(n),m=o(n)&amp;&amp;<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||<span class=\"code-number\">1</span>,o=s(t.height)/e.offsetHeight||<span class=\"code-number\">1</span>;<span class=\"code-keyword\">return</span> <span class=\"code-number\">1</span>!==n||<span class=\"code-number\">1</span>!==o}(n),v=l(n),g=f(e,m),y={<span class=\"code-attr\">scrollLeft</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">scrollTop</span>:<span class=\"code-number\">0</span>},b={<span class=\"code-attr\">x</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">y</span>:<span class=\"code-number\">0</span>};<span class=\"code-keyword\">return</span>(d||!d&amp;&amp;!r)&amp;&amp;((<span class=\"code-string\">\"body\"</span>!==u(n)||h(v))&amp;&amp;(y=(i=n)!==t(i)&amp;&amp;o(i)?{<span class=\"code-attr\">scrollLeft</span>:(a=i).scrollLeft,<span class=\"code-attr\">scrollTop</span>:a.scrollTop}:c(i)),o(n)?((b=f(n,!<span class=\"code-number\">0</span>)).x+=n.clientLeft,b.y+=n.clientTop):v&amp;&amp;(b.x=p(v))),{<span class=\"code-attr\">x</span>:g.left+y.scrollLeft-b.x,<span class=\"code-attr\">y</span>:g.top+y.scrollTop-b.y,<span class=\"code-attr\">width</span>:g.width,<span class=\"code-attr\">height</span>:g.height}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">v</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span><span class=\"code-string\">\"html\"</span>===u(e)?e:e.assignedSlot||e.parentNode||(r(e)?e.host:<span class=\"code-literal\">null</span>)||l(e)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">g</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>[<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"body\"</span>,<span class=\"code-string\">\"#document\"</span>].indexOf(u(e))&gt;=<span class=\"code-number\">0</span>?e.ownerDocument.body:o(e)&amp;&amp;h(e)?e:g(v(e))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">y</span>(<span class=\"code-params\">e,n</span>)</span>{<span class=\"code-keyword\">var</span> o;<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===n&amp;&amp;(n=[]);<span class=\"code-keyword\">var</span> r=g(e),i=r===(<span class=\"code-literal\">null</span>==(o=e.ownerDocument)?<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>:o.body),a=t(r),s=i?[a].concat(a.visualViewport||[],h(r)?r:[]):r,f=n.concat(s);<span class=\"code-keyword\">return</span> i?f:f.concat(y(v(s)))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">b</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>[<span class=\"code-string\">\"table\"</span>,<span class=\"code-string\">\"td\"</span>,<span class=\"code-string\">\"th\"</span>].indexOf(u(e))&gt;=<span class=\"code-number\">0</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">w</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> o(e)&amp;&amp;<span class=\"code-string\">\"fixed\"</span>!==d(e).position?e.offsetParent:<span class=\"code-literal\">null</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">x</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> n=t(e),i=w(e);i&amp;&amp;b(i)&amp;&amp;<span class=\"code-string\">\"static\"</span>===d(i).position;)i=w(i);<span class=\"code-keyword\">return</span> i&amp;&amp;(<span class=\"code-string\">\"html\"</span>===u(i)||<span class=\"code-string\">\"body\"</span>===u(i)&amp;&amp;<span class=\"code-string\">\"static\"</span>===d(i).position)?n:i||<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=<span class=\"code-number\">-1</span>!==navigator.userAgent.toLowerCase().indexOf(<span class=\"code-string\">\"firefox\"</span>);<span class=\"code-keyword\">if</span>(<span class=\"code-number\">-1</span>!==navigator.userAgent.indexOf(<span class=\"code-string\">\"Trident\"</span>)&amp;&amp;o(e)&amp;&amp;<span class=\"code-string\">\"fixed\"</span>===d(e).position)<span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;<span class=\"code-keyword\">var</span> n=v(e);<span class=\"code-keyword\">for</span>(r(n)&amp;&amp;(n=n.host);o(n)&amp;&amp;[<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"body\"</span>].indexOf(u(n))&lt;<span class=\"code-number\">0</span>;){<span class=\"code-keyword\">var</span> i=d(n);<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"none\"</span>!==i.transform||<span class=\"code-string\">\"none\"</span>!==i.perspective||<span class=\"code-string\">\"paint\"</span>===i.contain||<span class=\"code-number\">-1</span>!==[<span class=\"code-string\">\"transform\"</span>,<span class=\"code-string\">\"perspective\"</span>].indexOf(i.willChange)||t&amp;&amp;<span class=\"code-string\">\"filter\"</span>===i.willChange||t&amp;&amp;i.filter&amp;&amp;<span class=\"code-string\">\"none\"</span>!==i.filter)<span class=\"code-keyword\">return</span> n;n=n.parentNode}<span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>}(e)||n}<span class=\"code-keyword\">var</span> O=<span class=\"code-string\">\"top\"</span>,j=<span class=\"code-string\">\"bottom\"</span>,E=<span class=\"code-string\">\"right\"</span>,L=<span class=\"code-string\">\"left\"</span>,M=[O,j,E,L],W=<span class=\"code-string\">\"end\"</span>,P=<span class=\"code-string\">\"viewport\"</span>,T=<span class=\"code-string\">\"popper\"</span>,H=[<span class=\"code-string\">\"beforeRead\"</span>,<span class=\"code-string\">\"read\"</span>,<span class=\"code-string\">\"afterRead\"</span>,<span class=\"code-string\">\"beforeMain\"</span>,<span class=\"code-string\">\"main\"</span>,<span class=\"code-string\">\"afterMain\"</span>,<span class=\"code-string\">\"beforeWrite\"</span>,<span class=\"code-string\">\"write\"</span>,<span class=\"code-string\">\"afterWrite\"</span>];<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">R</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Map</span>,n=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Set</span>,o=[];<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">r</span>(<span class=\"code-params\">e</span>)</span>{n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">if</span>(!n.has(e)){<span class=\"code-keyword\">var</span> o=t.get(e);o&amp;&amp;r(o)}})),o.push(e)}<span class=\"code-keyword\">return</span> e.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{t.set(e.name,e)})),e.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{n.has(e.name)||r(e)})),o}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">D</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.split(<span class=\"code-string\">\"-\"</span>)[<span class=\"code-number\">0</span>]}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">k</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({},e,{<span class=\"code-attr\">left</span>:e.x,<span class=\"code-attr\">top</span>:e.y,<span class=\"code-attr\">right</span>:e.x+e.width,<span class=\"code-attr\">bottom</span>:e.y+e.height})}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">S</span>(<span class=\"code-params\">e,o</span>)</span>{<span class=\"code-keyword\">return</span> o===P?k(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n=t(e),o=l(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,s=<span class=\"code-number\">0</span>,f=<span class=\"code-number\">0</span>;<span class=\"code-keyword\">return</span> r&amp;&amp;(i=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,f=r.offsetTop)),{<span class=\"code-attr\">width</span>:i,<span class=\"code-attr\">height</span>:a,<span class=\"code-attr\">x</span>:s+p(e),<span class=\"code-attr\">y</span>:f}}(e)):n(o)?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=f(e);<span class=\"code-keyword\">return</span> t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(o):k(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t,n=l(e),o=c(e),r=<span class=\"code-literal\">null</span>==(t=e.ownerDocument)?<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>:t.body,a=i(n.scrollWidth,n.clientWidth,r?r.scrollWidth:<span class=\"code-number\">0</span>,r?r.clientWidth:<span class=\"code-number\">0</span>),s=i(n.scrollHeight,n.clientHeight,r?r.scrollHeight:<span class=\"code-number\">0</span>,r?r.clientHeight:<span class=\"code-number\">0</span>),f=-o.scrollLeft+p(e),u=-o.scrollTop;<span class=\"code-keyword\">return</span><span class=\"code-string\">\"rtl\"</span>===d(r||n).direction&amp;&amp;(f+=i(n.clientWidth,r?r.clientWidth:<span class=\"code-number\">0</span>)-a),{<span class=\"code-attr\">width</span>:a,<span class=\"code-attr\">height</span>:s,<span class=\"code-attr\">x</span>:f,<span class=\"code-attr\">y</span>:u}}(l(e)))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">A</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=y(v(e)),i=[<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-string\">\"fixed\"</span>].indexOf(d(e).position)&gt;=<span class=\"code-number\">0</span>&amp;&amp;o(e)?x(e):e;<span class=\"code-keyword\">return</span> n(i)?t.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> n(e)&amp;&amp;<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">var</span> n=t.getRootNode&amp;&amp;t.getRootNode();<span class=\"code-keyword\">if</span>(e.contains(t))<span class=\"code-keyword\">return</span>!<span class=\"code-number\">0</span>;<span class=\"code-keyword\">if</span>(n&amp;&amp;r(n)){<span class=\"code-keyword\">var</span> o=t;<span class=\"code-keyword\">do</span>{<span class=\"code-keyword\">if</span>(o&amp;&amp;e.isSameNode(o))<span class=\"code-keyword\">return</span>!<span class=\"code-number\">0</span>;o=o.parentNode||o.host}<span class=\"code-keyword\">while</span>(o)}<span class=\"code-keyword\">return</span>!<span class=\"code-number\">1</span>}(e,i)&amp;&amp;<span class=\"code-string\">\"body\"</span>!==u(e)})):[]}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">C</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.split(<span class=\"code-string\">\"-\"</span>)[<span class=\"code-number\">1</span>]}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">N</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t,n=e.reference,o=e.element,r=e.placement,i=r?D(r):<span class=\"code-literal\">null</span>,a=r?C(r):<span class=\"code-literal\">null</span>,s=n.x+n.width/<span class=\"code-number\">2</span>-o.width/<span class=\"code-number\">2</span>,f=n.y+n.height/<span class=\"code-number\">2</span>-o.height/<span class=\"code-number\">2</span>;<span class=\"code-keyword\">switch</span>(i){<span class=\"code-keyword\">case</span> O:t={<span class=\"code-attr\">x</span>:s,<span class=\"code-attr\">y</span>:n.y-o.height};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> j:t={<span class=\"code-attr\">x</span>:s,<span class=\"code-attr\">y</span>:n.y+n.height};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> E:t={<span class=\"code-attr\">x</span>:n.x+n.width,<span class=\"code-attr\">y</span>:f};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> L:t={<span class=\"code-attr\">x</span>:n.x-o.width,<span class=\"code-attr\">y</span>:f};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">default</span>:t={<span class=\"code-attr\">x</span>:n.x,<span class=\"code-attr\">y</span>:n.y}}<span class=\"code-keyword\">var</span> c=i?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>[<span class=\"code-string\">\"top\"</span>,<span class=\"code-string\">\"bottom\"</span>].indexOf(e)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-string\">\"x\"</span>:<span class=\"code-string\">\"y\"</span>}(i):<span class=\"code-literal\">null</span>;<span class=\"code-keyword\">if</span>(<span class=\"code-literal\">null</span>!=c){<span class=\"code-keyword\">var</span> u=<span class=\"code-string\">\"y\"</span>===c?<span class=\"code-string\">\"height\"</span>:<span class=\"code-string\">\"width\"</span>;<span class=\"code-keyword\">switch</span>(a){<span class=\"code-keyword\">case</span><span class=\"code-string\">\"start\"</span>:t[c]=t[c]-(n[u]/<span class=\"code-number\">2</span>-o[u]/<span class=\"code-number\">2</span>);<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> W:t[c]=t[c]+(n[u]/<span class=\"code-number\">2</span>-o[u]/<span class=\"code-number\">2</span>)}}<span class=\"code-keyword\">return</span> t}<span class=\"code-keyword\">var</span> V={<span class=\"code-attr\">placement</span>:<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-attr\">modifiers</span>:[],<span class=\"code-attr\">strategy</span>:<span class=\"code-string\">\"absolute\"</span>};<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">B</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> e=<span class=\"code-built_in\">arguments</span>.length,t=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Array</span>(e),n=<span class=\"code-number\">0</span>;n&lt;e;n++)t[n]=<span class=\"code-built_in\">arguments</span>[n];<span class=\"code-keyword\">return</span>!t.some((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>!(e&amp;&amp;<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> e.getBoundingClientRect)}))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">F</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===e&amp;&amp;(e={});<span class=\"code-keyword\">var</span> t=e,o=t.defaultModifiers,r=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o?[]:o,i=t.defaultOptions,a=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===i?V:i;<span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t,o</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o&amp;&amp;(o=a);<span class=\"code-keyword\">var</span> i,s,c={<span class=\"code-attr\">placement</span>:<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-attr\">orderedModifiers</span>:[],<span class=\"code-attr\">options</span>:<span class=\"code-built_in\">Object</span>.assign({},V,a),<span class=\"code-attr\">modifiersData</span>:{},<span class=\"code-attr\">elements</span>:{<span class=\"code-attr\">reference</span>:e,<span class=\"code-attr\">popper</span>:t},<span class=\"code-attr\">attributes</span>:{},<span class=\"code-attr\">styles</span>:{}},u=[],l=!<span class=\"code-number\">1</span>,p={<span class=\"code-attr\">state</span>:c,<span class=\"code-attr\">setOptions</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">o</span>)</span>{<span class=\"code-keyword\">var</span> i=<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> o?o(c.options):o;d(),c.options=<span class=\"code-built_in\">Object</span>.assign({},a,c.options,i),c.scrollParents={<span class=\"code-attr\">reference</span>:n(e)?y(e):e.contextElement?y(e.contextElement):[],<span class=\"code-attr\">popper</span>:y(t)};<span class=\"code-keyword\">var</span> s,f,l=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=R(e);<span class=\"code-keyword\">return</span> H.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,n</span>)</span>{<span class=\"code-keyword\">return</span> e.concat(t.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.phase===n})))}),[])}((s=[].concat(r,c.options.modifiers),f=s.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">var</span> n=e[t.name];<span class=\"code-keyword\">return</span> e[t.name]=n?<span class=\"code-built_in\">Object</span>.assign({},n,t,{<span class=\"code-attr\">options</span>:<span class=\"code-built_in\">Object</span>.assign({},n.options,t.options),<span class=\"code-attr\">data</span>:<span class=\"code-built_in\">Object</span>.assign({},n.data,t.data)}):t,e}),{}),<span class=\"code-built_in\">Object</span>.keys(f).map((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> f[e]}))));<span class=\"code-keyword\">return</span> c.orderedModifiers=l.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.enabled})),c.orderedModifiers.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.name,n=e.options,o=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===n?{}:n,r=e.effect;<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> r){<span class=\"code-keyword\">var</span> i=r({<span class=\"code-attr\">state</span>:c,<span class=\"code-attr\">name</span>:t,<span class=\"code-attr\">instance</span>:p,<span class=\"code-attr\">options</span>:o}),a=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{};u.push(i||a)}})),p.update()},<span class=\"code-attr\">forceUpdate</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">if</span>(!l){<span class=\"code-keyword\">var</span> e=c.elements,t=e.reference,n=e.popper;<span class=\"code-keyword\">if</span>(B(t,n)){<span class=\"code-keyword\">var</span> o,r,i,a;c.rects={<span class=\"code-attr\">reference</span>:m(t,x(n),<span class=\"code-string\">\"fixed\"</span>===c.options.strategy),<span class=\"code-attr\">popper</span>:(o=n,r=f(o),i=o.offsetWidth,a=o.offsetHeight,<span class=\"code-built_in\">Math</span>.abs(r.width-i)&lt;=<span class=\"code-number\">1</span>&amp;&amp;(i=r.width),<span class=\"code-built_in\">Math</span>.abs(r.height-a)&lt;=<span class=\"code-number\">1</span>&amp;&amp;(a=r.height),{<span class=\"code-attr\">x</span>:o.offsetLeft,<span class=\"code-attr\">y</span>:o.offsetTop,<span class=\"code-attr\">width</span>:i,<span class=\"code-attr\">height</span>:a})},c.reset=!<span class=\"code-number\">1</span>,c.placement=c.options.placement,c.orderedModifiers.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> c.modifiersData[e.name]=<span class=\"code-built_in\">Object</span>.assign({},e.data)}));<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> s=<span class=\"code-number\">0</span>;s&lt;c.orderedModifiers.length;s++)<span class=\"code-keyword\">if</span>(!<span class=\"code-number\">0</span>!==c.reset){<span class=\"code-keyword\">var</span> u=c.orderedModifiers[s],d=u.fn,h=u.options,v=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===h?{}:h,g=u.name;<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> d&amp;&amp;(c=d({<span class=\"code-attr\">state</span>:c,<span class=\"code-attr\">options</span>:v,<span class=\"code-attr\">name</span>:g,<span class=\"code-attr\">instance</span>:p})||c)}<span class=\"code-keyword\">else</span> c.reset=!<span class=\"code-number\">1</span>,s=<span class=\"code-number\">-1</span>}}},<span class=\"code-attr\">update</span>:(i=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{p.forceUpdate(),e(c)}))},<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">return</span> s||(s=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-built_in\">Promise</span>.resolve().then((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{s=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>,e(i())}))}))),s}),<span class=\"code-attr\">destroy</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{d(),l=!<span class=\"code-number\">0</span>}};<span class=\"code-keyword\">if</span>(!B(e,t))<span class=\"code-keyword\">return</span> p;<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">d</span>(<span class=\"code-params\"></span>)</span>{u.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e()})),u=[]}<span class=\"code-keyword\">return</span> p.setOptions(o).then((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{!l&amp;&amp;o.onFirstUpdate&amp;&amp;o.onFirstUpdate(e)})),p}}<span class=\"code-keyword\">var</span> U={<span class=\"code-attr\">passive</span>:!<span class=\"code-number\">0</span>};<span class=\"code-keyword\">var</span> q={<span class=\"code-attr\">top</span>:<span class=\"code-string\">\"auto\"</span>,<span class=\"code-attr\">right</span>:<span class=\"code-string\">\"auto\"</span>,<span class=\"code-attr\">bottom</span>:<span class=\"code-string\">\"auto\"</span>,<span class=\"code-attr\">left</span>:<span class=\"code-string\">\"auto\"</span>};<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">z</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n,o=e.popper,r=e.popperRect,i=e.placement,a=e.variation,f=e.offsets,c=e.position,u=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,m=e.isFixed,v=f.x,g=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===v?<span class=\"code-number\">0</span>:v,y=f.y,b=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===y?<span class=\"code-number\">0</span>:y,w=<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> h?h({<span class=\"code-attr\">x</span>:g,<span class=\"code-attr\">y</span>:b}):{<span class=\"code-attr\">x</span>:g,<span class=\"code-attr\">y</span>:b};g=w.x,b=w.y;<span class=\"code-keyword\">var</span> M=f.hasOwnProperty(<span class=\"code-string\">\"x\"</span>),P=f.hasOwnProperty(<span class=\"code-string\">\"y\"</span>),T=L,H=O,R=<span class=\"code-built_in\">window</span>;<span class=\"code-keyword\">if</span>(p){<span class=\"code-keyword\">var</span> D=x(o),k=<span class=\"code-string\">\"clientHeight\"</span>,S=<span class=\"code-string\">\"clientWidth\"</span>;<span class=\"code-keyword\">if</span>(D===t(o)&amp;&amp;<span class=\"code-string\">\"static\"</span>!==d(D=l(o)).position&amp;&amp;<span class=\"code-string\">\"absolute\"</span>===c&amp;&amp;(k=<span class=\"code-string\">\"scrollHeight\"</span>,S=<span class=\"code-string\">\"scrollWidth\"</span>),D=D,i===O||(i===L||i===E)&amp;&amp;a===W)H=j,b-=(m&amp;&amp;D===R&amp;&amp;R.visualViewport?R.visualViewport.height:D[k])-r.height,b*=u?<span class=\"code-number\">1</span>:<span class=\"code-number\">-1</span>;<span class=\"code-keyword\">if</span>(i===L||(i===O||i===j)&amp;&amp;a===W)T=E,g-=(m&amp;&amp;D===R&amp;&amp;R.visualViewport?R.visualViewport.width:D[S])-r.width,g*=u?<span class=\"code-number\">1</span>:<span class=\"code-number\">-1</span>}<span class=\"code-keyword\">var</span> A,C=<span class=\"code-built_in\">Object</span>.assign({<span class=\"code-attr\">position</span>:c},p&amp;&amp;q),N=!<span class=\"code-number\">0</span>===h?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.x,n=e.y,o=<span class=\"code-built_in\">window</span>.devicePixelRatio||<span class=\"code-number\">1</span>;<span class=\"code-keyword\">return</span>{<span class=\"code-attr\">x</span>:s(t*o)/o||<span class=\"code-number\">0</span>,<span class=\"code-attr\">y</span>:s(n*o)/o||<span class=\"code-number\">0</span>}}({<span class=\"code-attr\">x</span>:g,<span class=\"code-attr\">y</span>:b}):{<span class=\"code-attr\">x</span>:g,<span class=\"code-attr\">y</span>:b};<span class=\"code-keyword\">return</span> g=N.x,b=N.y,u?<span class=\"code-built_in\">Object</span>.assign({},C,((A={})[H]=P?<span class=\"code-string\">\"0\"</span>:<span class=\"code-string\">\"\"</span>,A[T]=M?<span class=\"code-string\">\"0\"</span>:<span class=\"code-string\">\"\"</span>,A.transform=(R.devicePixelRatio||<span class=\"code-number\">1</span>)&lt;=<span class=\"code-number\">1</span>?<span class=\"code-string\">\"translate(\"</span>+g+<span class=\"code-string\">\"px, \"</span>+b+<span class=\"code-string\">\"px)\"</span>:<span class=\"code-string\">\"translate3d(\"</span>+g+<span class=\"code-string\">\"px, \"</span>+b+<span class=\"code-string\">\"px, 0)\"</span>,A)):<span class=\"code-built_in\">Object</span>.assign({},C,((n={})[H]=P?b+<span class=\"code-string\">\"px\"</span>:<span class=\"code-string\">\"\"</span>,n[T]=M?g+<span class=\"code-string\">\"px\"</span>:<span class=\"code-string\">\"\"</span>,n.transform=<span class=\"code-string\">\"\"</span>,n))}<span class=\"code-keyword\">var</span> X=[{<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"eventListeners\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"write\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{},<span class=\"code-attr\">effect</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n=e.state,o=e.instance,r=e.options,i=r.scroll,a=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===i||i,s=r.resize,f=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===s||s,c=t(n.elements.popper),u=[].concat(n.scrollParents.reference,n.scrollParents.popper);<span class=\"code-keyword\">return</span> a&amp;&amp;u.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{e.addEventListener(<span class=\"code-string\">\"scroll\"</span>,o.update,U)})),f&amp;&amp;c.addEventListener(<span class=\"code-string\">\"resize\"</span>,o.update,U),<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{a&amp;&amp;u.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{e.removeEventListener(<span class=\"code-string\">\"scroll\"</span>,o.update,U)})),f&amp;&amp;c.removeEventListener(<span class=\"code-string\">\"resize\"</span>,o.update,U)}},<span class=\"code-attr\">data</span>:{}},{<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"popperOffsets\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"read\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n=e.name;t.modifiersData[n]=N({<span class=\"code-attr\">reference</span>:t.rects.reference,<span class=\"code-attr\">element</span>:t.rects.popper,<span class=\"code-attr\">strategy</span>:<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-attr\">placement</span>:t.placement})},<span class=\"code-attr\">data</span>:{}},{<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"computeStyles\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"beforeWrite\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n=e.options,o=n.gpuAcceleration,r=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o||o,i=n.adaptive,a=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===i||i,s=n.roundOffsets,f=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===s||s,c={<span class=\"code-attr\">placement</span>:D(t.placement),<span class=\"code-attr\">variation</span>:C(t.placement),<span class=\"code-attr\">popper</span>:t.elements.popper,<span class=\"code-attr\">popperRect</span>:t.rects.popper,<span class=\"code-attr\">gpuAcceleration</span>:r,<span class=\"code-attr\">isFixed</span>:<span class=\"code-string\">\"fixed\"</span>===t.options.strategy};<span class=\"code-literal\">null</span>!=t.modifiersData.popperOffsets&amp;&amp;(t.styles.popper=<span class=\"code-built_in\">Object</span>.assign({},t.styles.popper,z(<span class=\"code-built_in\">Object</span>.assign({},c,{<span class=\"code-attr\">offsets</span>:t.modifiersData.popperOffsets,<span class=\"code-attr\">position</span>:t.options.strategy,<span class=\"code-attr\">adaptive</span>:a,<span class=\"code-attr\">roundOffsets</span>:f})))),<span class=\"code-literal\">null</span>!=t.modifiersData.arrow&amp;&amp;(t.styles.arrow=<span class=\"code-built_in\">Object</span>.assign({},t.styles.arrow,z(<span class=\"code-built_in\">Object</span>.assign({},c,{<span class=\"code-attr\">offsets</span>:t.modifiersData.arrow,<span class=\"code-attr\">position</span>:<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-attr\">adaptive</span>:!<span class=\"code-number\">1</span>,<span class=\"code-attr\">roundOffsets</span>:f})))),t.attributes.popper=<span class=\"code-built_in\">Object</span>.assign({},t.attributes.popper,{<span class=\"code-string\">\"data-popper-placement\"</span>:t.placement})},<span class=\"code-attr\">data</span>:{}},{<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"applyStyles\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"write\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state;<span class=\"code-built_in\">Object</span>.keys(t.elements).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];o(i)&amp;&amp;u(i)&amp;&amp;(<span class=\"code-built_in\">Object</span>.assign(i.style,n),<span class=\"code-built_in\">Object</span>.keys(r).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=r[e];!<span class=\"code-number\">1</span>===t?i.removeAttribute(e):i.setAttribute(e,!<span class=\"code-number\">0</span>===t?<span class=\"code-string\">\"\"</span>:t)})))}))},<span class=\"code-attr\">effect</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n={<span class=\"code-attr\">popper</span>:{<span class=\"code-attr\">position</span>:t.options.strategy,<span class=\"code-attr\">left</span>:<span class=\"code-string\">\"0\"</span>,<span class=\"code-attr\">top</span>:<span class=\"code-string\">\"0\"</span>,<span class=\"code-attr\">margin</span>:<span class=\"code-string\">\"0\"</span>},<span class=\"code-attr\">arrow</span>:{<span class=\"code-attr\">position</span>:<span class=\"code-string\">\"absolute\"</span>},<span class=\"code-attr\">reference</span>:{}};<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&amp;&amp;<span class=\"code-built_in\">Object</span>.assign(t.elements.arrow.style,n.arrow),<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-built_in\">Object</span>.keys(t.elements).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> r=t.elements[e],i=t.attributes[e]||{},a=<span class=\"code-built_in\">Object</span>.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">return</span> e[t]=<span class=\"code-string\">\"\"</span>,e}),{});o(r)&amp;&amp;u(r)&amp;&amp;(<span class=\"code-built_in\">Object</span>.assign(r.style,a),<span class=\"code-built_in\">Object</span>.keys(i).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{r.removeAttribute(e)})))}))}},<span class=\"code-attr\">requires</span>:[<span class=\"code-string\">\"computeStyles\"</span>]}],Y=F({<span class=\"code-attr\">defaultModifiers</span>:X});e.createPopper=Y,e.defaultModifiers=X,e.detectOverflow=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===t&amp;&amp;(t={});<span class=\"code-keyword\">var</span> o,r=t,s=r.placement,c=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===s?e.placement:s,u=r.boundary,p=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===u?<span class=\"code-string\">\"clippingParents\"</span>:u,d=r.rootBoundary,h=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===d?P:d,m=r.elementContext,v=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===m?T:m,g=r.altBoundary,y=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>!==g&amp;&amp;g,b=r.padding,w=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===b?<span class=\"code-number\">0</span>:b,x=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({},{<span class=\"code-attr\">top</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">right</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">bottom</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">left</span>:<span class=\"code-number\">0</span>},e)}(<span class=\"code-string\">\"number\"</span>!=<span class=\"code-keyword\">typeof</span> w?w:(o=w,M.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">return</span> e[t]=o,e}),{}))),L=v===T?<span class=\"code-string\">\"reference\"</span>:T,W=e.rects.popper,H=e.elements[y?L:v],R=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t,n</span>)</span>{<span class=\"code-keyword\">var</span> o=<span class=\"code-string\">\"clippingParents\"</span>===t?A(e):[].concat(t),r=[].concat(o,[n]),s=r[<span class=\"code-number\">0</span>],f=r.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,n</span>)</span>{<span class=\"code-keyword\">var</span> o=S(e,n);<span class=\"code-keyword\">return</span> t.top=i(o.top,t.top),t.right=a(o.right,t.right),t.bottom=a(o.bottom,t.bottom),t.left=i(o.left,t.left),t}),S(e,s));<span class=\"code-keyword\">return</span> f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}(n(H)?H:H.contextElement||l(e.elements.popper),p,h),D=f(e.elements.reference),C=N({<span class=\"code-attr\">reference</span>:D,<span class=\"code-attr\">element</span>:W,<span class=\"code-attr\">strategy</span>:<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-attr\">placement</span>:c}),V=k(<span class=\"code-built_in\">Object</span>.assign({},W,C)),B=v===T?V:D,F={<span class=\"code-attr\">top</span>:R.top-B.top+x.top,<span class=\"code-attr\">bottom</span>:B.bottom-R.bottom+x.bottom,<span class=\"code-attr\">left</span>:R.left-B.left+x.left,<span class=\"code-attr\">right</span>:B.right-R.right+x.right},U=e.modifiersData.offset;<span class=\"code-keyword\">if</span>(v===T&amp;&amp;U){<span class=\"code-keyword\">var</span> q=U[c];<span class=\"code-built_in\">Object</span>.keys(F).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=[E,j].indexOf(e)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-number\">1</span>:<span class=\"code-number\">-1</span>,n=[O,j].indexOf(e)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-string\">\"y\"</span>:<span class=\"code-string\">\"x\"</span>;F[e]+=q[n]*t}))}<span class=\"code-keyword\">return</span> F},e.popperGenerator=F,<span class=\"code-built_in\">Object</span>.defineProperty(e,<span class=\"code-string\">\"__esModule\"</span>,{<span class=\"code-attr\">value</span>:!<span class=\"code-number\">0</span>})}));\n","<span class=\"code-comment\">//# sourceMappingURL=popper-lite.min.js.map</span>\n",""]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-lite.min.js</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>13.2 kB</span><span>JavaScript</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-lite.min.js" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code><span class="code-comment">/**
+</span></code></td></tr><tr><td id="L2" class="css-a4x74f"><span>2</span></td><td id="LC2" class="css-1dcdqdg"><code><span class="code-comment"> * @popperjs/core v2.11.5 - MIT License
+</span></code></td></tr><tr><td id="L3" class="css-a4x74f"><span>3</span></td><td id="LC3" class="css-1dcdqdg"><code><span class="code-comment"> */</span>
+</code></td></tr><tr><td id="L4" class="css-a4x74f"><span>4</span></td><td id="LC4" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L5" class="css-a4x74f"><span>5</span></td><td id="LC5" class="css-1dcdqdg"><code>!<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-string">"object"</span>==<span class="code-keyword">typeof</span> exports&amp;&amp;<span class="code-string">"undefined"</span>!=<span class="code-keyword">typeof</span> <span class="code-built_in">module</span>?t(exports):<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> define&amp;&amp;define.amd?define([<span class="code-string">"exports"</span>],t):t((e=<span class="code-string">"undefined"</span>!=<span class="code-keyword">typeof</span> globalThis?globalThis:e||self).Popper={})}(<span class="code-keyword">this</span>,(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-string">"use strict"</span>;<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">t</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">if</span>(<span class="code-literal">null</span>==e)<span class="code-keyword">return</span> <span class="code-built_in">window</span>;<span class="code-keyword">if</span>(<span class="code-string">"[object Window]"</span>!==e.toString()){<span class="code-keyword">var</span> t=e.ownerDocument;<span class="code-keyword">return</span> t&amp;&amp;t.defaultView||<span class="code-built_in">window</span>}<span class="code-keyword">return</span> e}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">n</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e <span class="code-keyword">instanceof</span> t(e).Element||e <span class="code-keyword">instanceof</span> Element}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">o</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e <span class="code-keyword">instanceof</span> t(e).HTMLElement||e <span class="code-keyword">instanceof</span> HTMLElement}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">r</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span><span class="code-string">"undefined"</span>!=<span class="code-keyword">typeof</span> ShadowRoot&amp;&amp;(e <span class="code-keyword">instanceof</span> t(e).ShadowRoot||e <span class="code-keyword">instanceof</span> ShadowRoot)}<span class="code-keyword">var</span> i=<span class="code-built_in">Math</span>.max,a=<span class="code-built_in">Math</span>.min,s=<span class="code-built_in">Math</span>.round;<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">f</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===t&amp;&amp;(t=!<span class="code-number">1</span>);<span class="code-keyword">var</span> n=e.getBoundingClientRect(),r=<span class="code-number">1</span>,i=<span class="code-number">1</span>;<span class="code-keyword">if</span>(o(e)&amp;&amp;t){<span class="code-keyword">var</span> a=e.offsetHeight,f=e.offsetWidth;f&gt;<span class="code-number">0</span>&amp;&amp;(r=s(n.width)/f||<span class="code-number">1</span>),a&gt;<span class="code-number">0</span>&amp;&amp;(i=s(n.height)/a||<span class="code-number">1</span>)}<span class="code-keyword">return</span>{<span class="code-attr">width</span>:n.width/r,<span class="code-attr">height</span>:n.height/i,<span class="code-attr">top</span>:n.top/i,<span class="code-attr">right</span>:n.right/r,<span class="code-attr">bottom</span>:n.bottom/i,<span class="code-attr">left</span>:n.left/r,<span class="code-attr">x</span>:n.left/r,<span class="code-attr">y</span>:n.top/i}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">c</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n=t(e);<span class="code-keyword">return</span>{<span class="code-attr">scrollLeft</span>:n.pageXOffset,<span class="code-attr">scrollTop</span>:n.pageYOffset}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">u</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e?(e.nodeName||<span class="code-string">""</span>).toLowerCase():<span class="code-literal">null</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">l</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>((n(e)?e.ownerDocument:e.document)||<span class="code-built_in">window</span>.document).documentElement}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">p</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> f(l(e)).left+c(e).scrollLeft}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">d</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> t(e).getComputedStyle(e)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">h</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=d(e),n=t.overflow,o=t.overflowX,r=t.overflowY;<span class="code-keyword">return</span><span class="code-regexp">/auto|scroll|overlay|hidden/</span>.test(n+r+o)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">m</span>(<span class="code-params">e,n,r</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===r&amp;&amp;(r=!<span class="code-number">1</span>);<span class="code-keyword">var</span> i,a,d=o(n),m=o(n)&amp;&amp;<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||<span class="code-number">1</span>,o=s(t.height)/e.offsetHeight||<span class="code-number">1</span>;<span class="code-keyword">return</span> <span class="code-number">1</span>!==n||<span class="code-number">1</span>!==o}(n),v=l(n),g=f(e,m),y={<span class="code-attr">scrollLeft</span>:<span class="code-number">0</span>,<span class="code-attr">scrollTop</span>:<span class="code-number">0</span>},b={<span class="code-attr">x</span>:<span class="code-number">0</span>,<span class="code-attr">y</span>:<span class="code-number">0</span>};<span class="code-keyword">return</span>(d||!d&amp;&amp;!r)&amp;&amp;((<span class="code-string">"body"</span>!==u(n)||h(v))&amp;&amp;(y=(i=n)!==t(i)&amp;&amp;o(i)?{<span class="code-attr">scrollLeft</span>:(a=i).scrollLeft,<span class="code-attr">scrollTop</span>:a.scrollTop}:c(i)),o(n)?((b=f(n,!<span class="code-number">0</span>)).x+=n.clientLeft,b.y+=n.clientTop):v&amp;&amp;(b.x=p(v))),{<span class="code-attr">x</span>:g.left+y.scrollLeft-b.x,<span class="code-attr">y</span>:g.top+y.scrollTop-b.y,<span class="code-attr">width</span>:g.width,<span class="code-attr">height</span>:g.height}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">v</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span><span class="code-string">"html"</span>===u(e)?e:e.assignedSlot||e.parentNode||(r(e)?e.host:<span class="code-literal">null</span>)||l(e)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">g</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>[<span class="code-string">"html"</span>,<span class="code-string">"body"</span>,<span class="code-string">"#document"</span>].indexOf(u(e))&gt;=<span class="code-number">0</span>?e.ownerDocument.body:o(e)&amp;&amp;h(e)?e:g(v(e))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">y</span>(<span class="code-params">e,n</span>)</span>{<span class="code-keyword">var</span> o;<span class="code-keyword">void</span> <span class="code-number">0</span>===n&amp;&amp;(n=[]);<span class="code-keyword">var</span> r=g(e),i=r===(<span class="code-literal">null</span>==(o=e.ownerDocument)?<span class="code-keyword">void</span> <span class="code-number">0</span>:o.body),a=t(r),s=i?[a].concat(a.visualViewport||[],h(r)?r:[]):r,f=n.concat(s);<span class="code-keyword">return</span> i?f:f.concat(y(v(s)))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">b</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>[<span class="code-string">"table"</span>,<span class="code-string">"td"</span>,<span class="code-string">"th"</span>].indexOf(u(e))&gt;=<span class="code-number">0</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">w</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> o(e)&amp;&amp;<span class="code-string">"fixed"</span>!==d(e).position?e.offsetParent:<span class="code-literal">null</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">x</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">for</span>(<span class="code-keyword">var</span> n=t(e),i=w(e);i&amp;&amp;b(i)&amp;&amp;<span class="code-string">"static"</span>===d(i).position;)i=w(i);<span class="code-keyword">return</span> i&amp;&amp;(<span class="code-string">"html"</span>===u(i)||<span class="code-string">"body"</span>===u(i)&amp;&amp;<span class="code-string">"static"</span>===d(i).position)?n:i||<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=<span class="code-number">-1</span>!==navigator.userAgent.toLowerCase().indexOf(<span class="code-string">"firefox"</span>);<span class="code-keyword">if</span>(<span class="code-number">-1</span>!==navigator.userAgent.indexOf(<span class="code-string">"Trident"</span>)&amp;&amp;o(e)&amp;&amp;<span class="code-string">"fixed"</span>===d(e).position)<span class="code-keyword">return</span> <span class="code-literal">null</span>;<span class="code-keyword">var</span> n=v(e);<span class="code-keyword">for</span>(r(n)&amp;&amp;(n=n.host);o(n)&amp;&amp;[<span class="code-string">"html"</span>,<span class="code-string">"body"</span>].indexOf(u(n))&lt;<span class="code-number">0</span>;){<span class="code-keyword">var</span> i=d(n);<span class="code-keyword">if</span>(<span class="code-string">"none"</span>!==i.transform||<span class="code-string">"none"</span>!==i.perspective||<span class="code-string">"paint"</span>===i.contain||<span class="code-number">-1</span>!==[<span class="code-string">"transform"</span>,<span class="code-string">"perspective"</span>].indexOf(i.willChange)||t&amp;&amp;<span class="code-string">"filter"</span>===i.willChange||t&amp;&amp;i.filter&amp;&amp;<span class="code-string">"none"</span>!==i.filter)<span class="code-keyword">return</span> n;n=n.parentNode}<span class="code-keyword">return</span> <span class="code-literal">null</span>}(e)||n}<span class="code-keyword">var</span> O=<span class="code-string">"top"</span>,j=<span class="code-string">"bottom"</span>,E=<span class="code-string">"right"</span>,L=<span class="code-string">"left"</span>,M=[O,j,E,L],W=<span class="code-string">"end"</span>,P=<span class="code-string">"viewport"</span>,T=<span class="code-string">"popper"</span>,H=[<span class="code-string">"beforeRead"</span>,<span class="code-string">"read"</span>,<span class="code-string">"afterRead"</span>,<span class="code-string">"beforeMain"</span>,<span class="code-string">"main"</span>,<span class="code-string">"afterMain"</span>,<span class="code-string">"beforeWrite"</span>,<span class="code-string">"write"</span>,<span class="code-string">"afterWrite"</span>];<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">R</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=<span class="code-keyword">new</span> <span class="code-built_in">Map</span>,n=<span class="code-keyword">new</span> <span class="code-built_in">Set</span>,o=[];<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">r</span>(<span class="code-params">e</span>)</span>{n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">if</span>(!n.has(e)){<span class="code-keyword">var</span> o=t.get(e);o&amp;&amp;r(o)}})),o.push(e)}<span class="code-keyword">return</span> e.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{t.set(e.name,e)})),e.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{n.has(e.name)||r(e)})),o}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">D</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.split(<span class="code-string">"-"</span>)[<span class="code-number">0</span>]}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">k</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({},e,{<span class="code-attr">left</span>:e.x,<span class="code-attr">top</span>:e.y,<span class="code-attr">right</span>:e.x+e.width,<span class="code-attr">bottom</span>:e.y+e.height})}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">S</span>(<span class="code-params">e,o</span>)</span>{<span class="code-keyword">return</span> o===P?k(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n=t(e),o=l(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,s=<span class="code-number">0</span>,f=<span class="code-number">0</span>;<span class="code-keyword">return</span> r&amp;&amp;(i=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,f=r.offsetTop)),{<span class="code-attr">width</span>:i,<span class="code-attr">height</span>:a,<span class="code-attr">x</span>:s+p(e),<span class="code-attr">y</span>:f}}(e)):n(o)?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=f(e);<span class="code-keyword">return</span> t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(o):k(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t,n=l(e),o=c(e),r=<span class="code-literal">null</span>==(t=e.ownerDocument)?<span class="code-keyword">void</span> <span class="code-number">0</span>:t.body,a=i(n.scrollWidth,n.clientWidth,r?r.scrollWidth:<span class="code-number">0</span>,r?r.clientWidth:<span class="code-number">0</span>),s=i(n.scrollHeight,n.clientHeight,r?r.scrollHeight:<span class="code-number">0</span>,r?r.clientHeight:<span class="code-number">0</span>),f=-o.scrollLeft+p(e),u=-o.scrollTop;<span class="code-keyword">return</span><span class="code-string">"rtl"</span>===d(r||n).direction&amp;&amp;(f+=i(n.clientWidth,r?r.clientWidth:<span class="code-number">0</span>)-a),{<span class="code-attr">width</span>:a,<span class="code-attr">height</span>:s,<span class="code-attr">x</span>:f,<span class="code-attr">y</span>:u}}(l(e)))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">A</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=y(v(e)),i=[<span class="code-string">"absolute"</span>,<span class="code-string">"fixed"</span>].indexOf(d(e).position)&gt;=<span class="code-number">0</span>&amp;&amp;o(e)?x(e):e;<span class="code-keyword">return</span> n(i)?t.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> n(e)&amp;&amp;<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">var</span> n=t.getRootNode&amp;&amp;t.getRootNode();<span class="code-keyword">if</span>(e.contains(t))<span class="code-keyword">return</span>!<span class="code-number">0</span>;<span class="code-keyword">if</span>(n&amp;&amp;r(n)){<span class="code-keyword">var</span> o=t;<span class="code-keyword">do</span>{<span class="code-keyword">if</span>(o&amp;&amp;e.isSameNode(o))<span class="code-keyword">return</span>!<span class="code-number">0</span>;o=o.parentNode||o.host}<span class="code-keyword">while</span>(o)}<span class="code-keyword">return</span>!<span class="code-number">1</span>}(e,i)&amp;&amp;<span class="code-string">"body"</span>!==u(e)})):[]}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">C</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.split(<span class="code-string">"-"</span>)[<span class="code-number">1</span>]}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">N</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t,n=e.reference,o=e.element,r=e.placement,i=r?D(r):<span class="code-literal">null</span>,a=r?C(r):<span class="code-literal">null</span>,s=n.x+n.width/<span class="code-number">2</span>-o.width/<span class="code-number">2</span>,f=n.y+n.height/<span class="code-number">2</span>-o.height/<span class="code-number">2</span>;<span class="code-keyword">switch</span>(i){<span class="code-keyword">case</span> O:t={<span class="code-attr">x</span>:s,<span class="code-attr">y</span>:n.y-o.height};<span class="code-keyword">break</span>;<span class="code-keyword">case</span> j:t={<span class="code-attr">x</span>:s,<span class="code-attr">y</span>:n.y+n.height};<span class="code-keyword">break</span>;<span class="code-keyword">case</span> E:t={<span class="code-attr">x</span>:n.x+n.width,<span class="code-attr">y</span>:f};<span class="code-keyword">break</span>;<span class="code-keyword">case</span> L:t={<span class="code-attr">x</span>:n.x-o.width,<span class="code-attr">y</span>:f};<span class="code-keyword">break</span>;<span class="code-keyword">default</span>:t={<span class="code-attr">x</span>:n.x,<span class="code-attr">y</span>:n.y}}<span class="code-keyword">var</span> c=i?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>[<span class="code-string">"top"</span>,<span class="code-string">"bottom"</span>].indexOf(e)&gt;=<span class="code-number">0</span>?<span class="code-string">"x"</span>:<span class="code-string">"y"</span>}(i):<span class="code-literal">null</span>;<span class="code-keyword">if</span>(<span class="code-literal">null</span>!=c){<span class="code-keyword">var</span> u=<span class="code-string">"y"</span>===c?<span class="code-string">"height"</span>:<span class="code-string">"width"</span>;<span class="code-keyword">switch</span>(a){<span class="code-keyword">case</span><span class="code-string">"start"</span>:t[c]=t[c]-(n[u]/<span class="code-number">2</span>-o[u]/<span class="code-number">2</span>);<span class="code-keyword">break</span>;<span class="code-keyword">case</span> W:t[c]=t[c]+(n[u]/<span class="code-number">2</span>-o[u]/<span class="code-number">2</span>)}}<span class="code-keyword">return</span> t}<span class="code-keyword">var</span> V={<span class="code-attr">placement</span>:<span class="code-string">"bottom"</span>,<span class="code-attr">modifiers</span>:[],<span class="code-attr">strategy</span>:<span class="code-string">"absolute"</span>};<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">B</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">for</span>(<span class="code-keyword">var</span> e=<span class="code-built_in">arguments</span>.length,t=<span class="code-keyword">new</span> <span class="code-built_in">Array</span>(e),n=<span class="code-number">0</span>;n&lt;e;n++)t[n]=<span class="code-built_in">arguments</span>[n];<span class="code-keyword">return</span>!t.some((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>!(e&amp;&amp;<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> e.getBoundingClientRect)}))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">F</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===e&amp;&amp;(e={});<span class="code-keyword">var</span> t=e,o=t.defaultModifiers,r=<span class="code-keyword">void</span> <span class="code-number">0</span>===o?[]:o,i=t.defaultOptions,a=<span class="code-keyword">void</span> <span class="code-number">0</span>===i?V:i;<span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t,o</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===o&amp;&amp;(o=a);<span class="code-keyword">var</span> i,s,c={<span class="code-attr">placement</span>:<span class="code-string">"bottom"</span>,<span class="code-attr">orderedModifiers</span>:[],<span class="code-attr">options</span>:<span class="code-built_in">Object</span>.assign({},V,a),<span class="code-attr">modifiersData</span>:{},<span class="code-attr">elements</span>:{<span class="code-attr">reference</span>:e,<span class="code-attr">popper</span>:t},<span class="code-attr">attributes</span>:{},<span class="code-attr">styles</span>:{}},u=[],l=!<span class="code-number">1</span>,p={<span class="code-attr">state</span>:c,<span class="code-attr">setOptions</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">o</span>)</span>{<span class="code-keyword">var</span> i=<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> o?o(c.options):o;d(),c.options=<span class="code-built_in">Object</span>.assign({},a,c.options,i),c.scrollParents={<span class="code-attr">reference</span>:n(e)?y(e):e.contextElement?y(e.contextElement):[],<span class="code-attr">popper</span>:y(t)};<span class="code-keyword">var</span> s,f,l=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=R(e);<span class="code-keyword">return</span> H.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,n</span>)</span>{<span class="code-keyword">return</span> e.concat(t.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.phase===n})))}),[])}((s=[].concat(r,c.options.modifiers),f=s.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">var</span> n=e[t.name];<span class="code-keyword">return</span> e[t.name]=n?<span class="code-built_in">Object</span>.assign({},n,t,{<span class="code-attr">options</span>:<span class="code-built_in">Object</span>.assign({},n.options,t.options),<span class="code-attr">data</span>:<span class="code-built_in">Object</span>.assign({},n.data,t.data)}):t,e}),{}),<span class="code-built_in">Object</span>.keys(f).map((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> f[e]}))));<span class="code-keyword">return</span> c.orderedModifiers=l.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.enabled})),c.orderedModifiers.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.name,n=e.options,o=<span class="code-keyword">void</span> <span class="code-number">0</span>===n?{}:n,r=e.effect;<span class="code-keyword">if</span>(<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> r){<span class="code-keyword">var</span> i=r({<span class="code-attr">state</span>:c,<span class="code-attr">name</span>:t,<span class="code-attr">instance</span>:p,<span class="code-attr">options</span>:o}),a=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{};u.push(i||a)}})),p.update()},<span class="code-attr">forceUpdate</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">if</span>(!l){<span class="code-keyword">var</span> e=c.elements,t=e.reference,n=e.popper;<span class="code-keyword">if</span>(B(t,n)){<span class="code-keyword">var</span> o,r,i,a;c.rects={<span class="code-attr">reference</span>:m(t,x(n),<span class="code-string">"fixed"</span>===c.options.strategy),<span class="code-attr">popper</span>:(o=n,r=f(o),i=o.offsetWidth,a=o.offsetHeight,<span class="code-built_in">Math</span>.abs(r.width-i)&lt;=<span class="code-number">1</span>&amp;&amp;(i=r.width),<span class="code-built_in">Math</span>.abs(r.height-a)&lt;=<span class="code-number">1</span>&amp;&amp;(a=r.height),{<span class="code-attr">x</span>:o.offsetLeft,<span class="code-attr">y</span>:o.offsetTop,<span class="code-attr">width</span>:i,<span class="code-attr">height</span>:a})},c.reset=!<span class="code-number">1</span>,c.placement=c.options.placement,c.orderedModifiers.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> c.modifiersData[e.name]=<span class="code-built_in">Object</span>.assign({},e.data)}));<span class="code-keyword">for</span>(<span class="code-keyword">var</span> s=<span class="code-number">0</span>;s&lt;c.orderedModifiers.length;s++)<span class="code-keyword">if</span>(!<span class="code-number">0</span>!==c.reset){<span class="code-keyword">var</span> u=c.orderedModifiers[s],d=u.fn,h=u.options,v=<span class="code-keyword">void</span> <span class="code-number">0</span>===h?{}:h,g=u.name;<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> d&amp;&amp;(c=d({<span class="code-attr">state</span>:c,<span class="code-attr">options</span>:v,<span class="code-attr">name</span>:g,<span class="code-attr">instance</span>:p})||c)}<span class="code-keyword">else</span> c.reset=!<span class="code-number">1</span>,s=<span class="code-number">-1</span>}}},<span class="code-attr">update</span>:(i=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">return</span> <span class="code-keyword">new</span> <span class="code-built_in">Promise</span>((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{p.forceUpdate(),e(c)}))},<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">return</span> s||(s=<span class="code-keyword">new</span> <span class="code-built_in">Promise</span>((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-built_in">Promise</span>.resolve().then((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{s=<span class="code-keyword">void</span> <span class="code-number">0</span>,e(i())}))}))),s}),<span class="code-attr">destroy</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{d(),l=!<span class="code-number">0</span>}};<span class="code-keyword">if</span>(!B(e,t))<span class="code-keyword">return</span> p;<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">d</span>(<span class="code-params"></span>)</span>{u.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e()})),u=[]}<span class="code-keyword">return</span> p.setOptions(o).then((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{!l&amp;&amp;o.onFirstUpdate&amp;&amp;o.onFirstUpdate(e)})),p}}<span class="code-keyword">var</span> U={<span class="code-attr">passive</span>:!<span class="code-number">0</span>};<span class="code-keyword">var</span> q={<span class="code-attr">top</span>:<span class="code-string">"auto"</span>,<span class="code-attr">right</span>:<span class="code-string">"auto"</span>,<span class="code-attr">bottom</span>:<span class="code-string">"auto"</span>,<span class="code-attr">left</span>:<span class="code-string">"auto"</span>};<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">z</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n,o=e.popper,r=e.popperRect,i=e.placement,a=e.variation,f=e.offsets,c=e.position,u=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,m=e.isFixed,v=f.x,g=<span class="code-keyword">void</span> <span class="code-number">0</span>===v?<span class="code-number">0</span>:v,y=f.y,b=<span class="code-keyword">void</span> <span class="code-number">0</span>===y?<span class="code-number">0</span>:y,w=<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> h?h({<span class="code-attr">x</span>:g,<span class="code-attr">y</span>:b}):{<span class="code-attr">x</span>:g,<span class="code-attr">y</span>:b};g=w.x,b=w.y;<span class="code-keyword">var</span> M=f.hasOwnProperty(<span class="code-string">"x"</span>),P=f.hasOwnProperty(<span class="code-string">"y"</span>),T=L,H=O,R=<span class="code-built_in">window</span>;<span class="code-keyword">if</span>(p){<span class="code-keyword">var</span> D=x(o),k=<span class="code-string">"clientHeight"</span>,S=<span class="code-string">"clientWidth"</span>;<span class="code-keyword">if</span>(D===t(o)&amp;&amp;<span class="code-string">"static"</span>!==d(D=l(o)).position&amp;&amp;<span class="code-string">"absolute"</span>===c&amp;&amp;(k=<span class="code-string">"scrollHeight"</span>,S=<span class="code-string">"scrollWidth"</span>),D=D,i===O||(i===L||i===E)&amp;&amp;a===W)H=j,b-=(m&amp;&amp;D===R&amp;&amp;R.visualViewport?R.visualViewport.height:D[k])-r.height,b*=u?<span class="code-number">1</span>:<span class="code-number">-1</span>;<span class="code-keyword">if</span>(i===L||(i===O||i===j)&amp;&amp;a===W)T=E,g-=(m&amp;&amp;D===R&amp;&amp;R.visualViewport?R.visualViewport.width:D[S])-r.width,g*=u?<span class="code-number">1</span>:<span class="code-number">-1</span>}<span class="code-keyword">var</span> A,C=<span class="code-built_in">Object</span>.assign({<span class="code-attr">position</span>:c},p&amp;&amp;q),N=!<span class="code-number">0</span>===h?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.x,n=e.y,o=<span class="code-built_in">window</span>.devicePixelRatio||<span class="code-number">1</span>;<span class="code-keyword">return</span>{<span class="code-attr">x</span>:s(t*o)/o||<span class="code-number">0</span>,<span class="code-attr">y</span>:s(n*o)/o||<span class="code-number">0</span>}}({<span class="code-attr">x</span>:g,<span class="code-attr">y</span>:b}):{<span class="code-attr">x</span>:g,<span class="code-attr">y</span>:b};<span class="code-keyword">return</span> g=N.x,b=N.y,u?<span class="code-built_in">Object</span>.assign({},C,((A={})[H]=P?<span class="code-string">"0"</span>:<span class="code-string">""</span>,A[T]=M?<span class="code-string">"0"</span>:<span class="code-string">""</span>,A.transform=(R.devicePixelRatio||<span class="code-number">1</span>)&lt;=<span class="code-number">1</span>?<span class="code-string">"translate("</span>+g+<span class="code-string">"px, "</span>+b+<span class="code-string">"px)"</span>:<span class="code-string">"translate3d("</span>+g+<span class="code-string">"px, "</span>+b+<span class="code-string">"px, 0)"</span>,A)):<span class="code-built_in">Object</span>.assign({},C,((n={})[H]=P?b+<span class="code-string">"px"</span>:<span class="code-string">""</span>,n[T]=M?g+<span class="code-string">"px"</span>:<span class="code-string">""</span>,n.transform=<span class="code-string">""</span>,n))}<span class="code-keyword">var</span> X=[{<span class="code-attr">name</span>:<span class="code-string">"eventListeners"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"write"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{},<span class="code-attr">effect</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n=e.state,o=e.instance,r=e.options,i=r.scroll,a=<span class="code-keyword">void</span> <span class="code-number">0</span>===i||i,s=r.resize,f=<span class="code-keyword">void</span> <span class="code-number">0</span>===s||s,c=t(n.elements.popper),u=[].concat(n.scrollParents.reference,n.scrollParents.popper);<span class="code-keyword">return</span> a&amp;&amp;u.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{e.addEventListener(<span class="code-string">"scroll"</span>,o.update,U)})),f&amp;&amp;c.addEventListener(<span class="code-string">"resize"</span>,o.update,U),<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{a&amp;&amp;u.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{e.removeEventListener(<span class="code-string">"scroll"</span>,o.update,U)})),f&amp;&amp;c.removeEventListener(<span class="code-string">"resize"</span>,o.update,U)}},<span class="code-attr">data</span>:{}},{<span class="code-attr">name</span>:<span class="code-string">"popperOffsets"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"read"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n=e.name;t.modifiersData[n]=N({<span class="code-attr">reference</span>:t.rects.reference,<span class="code-attr">element</span>:t.rects.popper,<span class="code-attr">strategy</span>:<span class="code-string">"absolute"</span>,<span class="code-attr">placement</span>:t.placement})},<span class="code-attr">data</span>:{}},{<span class="code-attr">name</span>:<span class="code-string">"computeStyles"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"beforeWrite"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n=e.options,o=n.gpuAcceleration,r=<span class="code-keyword">void</span> <span class="code-number">0</span>===o||o,i=n.adaptive,a=<span class="code-keyword">void</span> <span class="code-number">0</span>===i||i,s=n.roundOffsets,f=<span class="code-keyword">void</span> <span class="code-number">0</span>===s||s,c={<span class="code-attr">placement</span>:D(t.placement),<span class="code-attr">variation</span>:C(t.placement),<span class="code-attr">popper</span>:t.elements.popper,<span class="code-attr">popperRect</span>:t.rects.popper,<span class="code-attr">gpuAcceleration</span>:r,<span class="code-attr">isFixed</span>:<span class="code-string">"fixed"</span>===t.options.strategy};<span class="code-literal">null</span>!=t.modifiersData.popperOffsets&amp;&amp;(t.styles.popper=<span class="code-built_in">Object</span>.assign({},t.styles.popper,z(<span class="code-built_in">Object</span>.assign({},c,{<span class="code-attr">offsets</span>:t.modifiersData.popperOffsets,<span class="code-attr">position</span>:t.options.strategy,<span class="code-attr">adaptive</span>:a,<span class="code-attr">roundOffsets</span>:f})))),<span class="code-literal">null</span>!=t.modifiersData.arrow&amp;&amp;(t.styles.arrow=<span class="code-built_in">Object</span>.assign({},t.styles.arrow,z(<span class="code-built_in">Object</span>.assign({},c,{<span class="code-attr">offsets</span>:t.modifiersData.arrow,<span class="code-attr">position</span>:<span class="code-string">"absolute"</span>,<span class="code-attr">adaptive</span>:!<span class="code-number">1</span>,<span class="code-attr">roundOffsets</span>:f})))),t.attributes.popper=<span class="code-built_in">Object</span>.assign({},t.attributes.popper,{<span class="code-string">"data-popper-placement"</span>:t.placement})},<span class="code-attr">data</span>:{}},{<span class="code-attr">name</span>:<span class="code-string">"applyStyles"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"write"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state;<span class="code-built_in">Object</span>.keys(t.elements).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];o(i)&amp;&amp;u(i)&amp;&amp;(<span class="code-built_in">Object</span>.assign(i.style,n),<span class="code-built_in">Object</span>.keys(r).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=r[e];!<span class="code-number">1</span>===t?i.removeAttribute(e):i.setAttribute(e,!<span class="code-number">0</span>===t?<span class="code-string">""</span>:t)})))}))},<span class="code-attr">effect</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n={<span class="code-attr">popper</span>:{<span class="code-attr">position</span>:t.options.strategy,<span class="code-attr">left</span>:<span class="code-string">"0"</span>,<span class="code-attr">top</span>:<span class="code-string">"0"</span>,<span class="code-attr">margin</span>:<span class="code-string">"0"</span>},<span class="code-attr">arrow</span>:{<span class="code-attr">position</span>:<span class="code-string">"absolute"</span>},<span class="code-attr">reference</span>:{}};<span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&amp;&amp;<span class="code-built_in">Object</span>.assign(t.elements.arrow.style,n.arrow),<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-built_in">Object</span>.keys(t.elements).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> r=t.elements[e],i=t.attributes[e]||{},a=<span class="code-built_in">Object</span>.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">return</span> e[t]=<span class="code-string">""</span>,e}),{});o(r)&amp;&amp;u(r)&amp;&amp;(<span class="code-built_in">Object</span>.assign(r.style,a),<span class="code-built_in">Object</span>.keys(i).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{r.removeAttribute(e)})))}))}},<span class="code-attr">requires</span>:[<span class="code-string">"computeStyles"</span>]}],Y=F({<span class="code-attr">defaultModifiers</span>:X});e.createPopper=Y,e.defaultModifiers=X,e.detectOverflow=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===t&amp;&amp;(t={});<span class="code-keyword">var</span> o,r=t,s=r.placement,c=<span class="code-keyword">void</span> <span class="code-number">0</span>===s?e.placement:s,u=r.boundary,p=<span class="code-keyword">void</span> <span class="code-number">0</span>===u?<span class="code-string">"clippingParents"</span>:u,d=r.rootBoundary,h=<span class="code-keyword">void</span> <span class="code-number">0</span>===d?P:d,m=r.elementContext,v=<span class="code-keyword">void</span> <span class="code-number">0</span>===m?T:m,g=r.altBoundary,y=<span class="code-keyword">void</span> <span class="code-number">0</span>!==g&amp;&amp;g,b=r.padding,w=<span class="code-keyword">void</span> <span class="code-number">0</span>===b?<span class="code-number">0</span>:b,x=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({},{<span class="code-attr">top</span>:<span class="code-number">0</span>,<span class="code-attr">right</span>:<span class="code-number">0</span>,<span class="code-attr">bottom</span>:<span class="code-number">0</span>,<span class="code-attr">left</span>:<span class="code-number">0</span>},e)}(<span class="code-string">"number"</span>!=<span class="code-keyword">typeof</span> w?w:(o=w,M.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">return</span> e[t]=o,e}),{}))),L=v===T?<span class="code-string">"reference"</span>:T,W=e.rects.popper,H=e.elements[y?L:v],R=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t,n</span>)</span>{<span class="code-keyword">var</span> o=<span class="code-string">"clippingParents"</span>===t?A(e):[].concat(t),r=[].concat(o,[n]),s=r[<span class="code-number">0</span>],f=r.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,n</span>)</span>{<span class="code-keyword">var</span> o=S(e,n);<span class="code-keyword">return</span> t.top=i(o.top,t.top),t.right=a(o.right,t.right),t.bottom=a(o.bottom,t.bottom),t.left=i(o.left,t.left),t}),S(e,s));<span class="code-keyword">return</span> f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}(n(H)?H:H.contextElement||l(e.elements.popper),p,h),D=f(e.elements.reference),C=N({<span class="code-attr">reference</span>:D,<span class="code-attr">element</span>:W,<span class="code-attr">strategy</span>:<span class="code-string">"absolute"</span>,<span class="code-attr">placement</span>:c}),V=k(<span class="code-built_in">Object</span>.assign({},W,C)),B=v===T?V:D,F={<span class="code-attr">top</span>:R.top-B.top+x.top,<span class="code-attr">bottom</span>:B.bottom-R.bottom+x.bottom,<span class="code-attr">left</span>:R.left-B.left+x.left,<span class="code-attr">right</span>:B.right-R.right+x.right},U=e.modifiersData.offset;<span class="code-keyword">if</span>(v===T&amp;&amp;U){<span class="code-keyword">var</span> q=U[c];<span class="code-built_in">Object</span>.keys(F).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=[E,j].indexOf(e)&gt;=<span class="code-number">0</span>?<span class="code-number">1</span>:<span class="code-number">-1</span>,n=[O,j].indexOf(e)&gt;=<span class="code-number">0</span>?<span class="code-string">"y"</span>:<span class="code-string">"x"</span>;F[e]+=q[n]*t}))}<span class="code-keyword">return</span> F},e.popperGenerator=F,<span class="code-built_in">Object</span>.defineProperty(e,<span class="code-string">"__esModule"</span>,{<span class="code-attr">value</span>:!<span class="code-number">0</span>})}));
+</code></td></tr><tr><td id="L6" class="css-a4x74f"><span>6</span></td><td id="LC6" class="css-1dcdqdg"><code><span class="code-comment">//# sourceMappingURL=popper-lite.min.js.map</span>
+</code></td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper-lite.min.js.flow b/web/_static/popperjs/popper-lite.min.js.flow
new file mode 100644
index 0000000..d1b0261
--- /dev/null
+++ b/web/_static/popperjs/popper-lite.min.js.flow
@@ -0,0 +1,65 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:33.409Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-lite.min.js.flow","target":{"path":"/dist/umd/popper-lite.min.js.flow","type":"file","details":{"contentType":"text/plain","integrity":"sha384-Xr4I75zLfH7FBkCoti23DQyokLGg9a+kwLxAGf8RtmJVEOsBSRp0T1WkbikpKbCj","language":"Flow","size":51,"uri":null,"highlights":null}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-lite.min.js.flow</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>51 B</span><span>Flow</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-lite.min.js.flow" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1ruxp1v">.css-1ruxp1v{padding:20px;}</style><div class="css-1ruxp1v"><style data-emotion-css="xi606m">.css-xi606m{text-align:center;}</style><p class="css-xi606m">No preview available.</p></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper-lite.min.js.map b/web/_static/popperjs/popper-lite.min.js.map
new file mode 100644
index 0000000..d4ba1d3
--- /dev/null
+++ b/web/_static/popperjs/popper-lite.min.js.map
@@ -0,0 +1,65 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:34.328Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper-lite.min.js.map","target":{"path":"/dist/umd/popper-lite.min.js.map","type":"file","details":{"contentType":"application/json","integrity":"sha384-z663ZHxvcYjcM7SXQSGE7tVnvxxFD3wUKyFkqu828arkJsUc+i2t6AjuB0/HLOgn","language":"Source Map (JSON)","size":77020,"uri":null,"highlights":["{<span class=\"code-attr\">\"version\"</span>:<span class=\"code-number\">3</span>,<span class=\"code-attr\">\"file\"</span>:<span class=\"code-string\">\"popper-lite.min.js\"</span>,<span class=\"code-attr\">\"sources\"</span>:[<span class=\"code-string\">\"../../src/dom-utils/getWindow.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/instanceOf.js\"</span>,<span class=\"code-string\">\"../../src/utils/math.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getBoundingClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScrollBarX.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getComputedStyle.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getCompositeRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getHTMLElementScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getParentNode.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/listScrollParents.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isTableElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getOffsetParent.js\"</span>,<span class=\"code-string\">\"../../src/enums.js\"</span>,<span class=\"code-string\">\"../../src/utils/orderModifiers.js\"</span>,<span class=\"code-string\">\"../../src/utils/getBasePlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/rectToClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getClippingRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getViewportRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/contains.js\"</span>,<span class=\"code-string\">\"../../src/utils/getVariation.js\"</span>,<span class=\"code-string\">\"../../src/utils/computeOffsets.js\"</span>,<span class=\"code-string\">\"../../src/utils/getMainAxisFromPlacement.js\"</span>,<span class=\"code-string\">\"../../src/createPopper.js\"</span>,<span class=\"code-string\">\"../../src/utils/debounce.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergeByName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getLayoutRect.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/eventListeners.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/computeStyles.js\"</span>,<span class=\"code-string\">\"../../src/popper-lite.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/popperOffsets.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/applyStyles.js\"</span>,<span class=\"code-string\">\"../../src/utils/detectOverflow.js\"</span>,<span class=\"code-string\">\"../../src/utils/expandToHashMap.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergePaddingObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/getFreshSideObject.js\"</span>],<span class=\"code-attr\">\"sourcesContent\"</span>:[<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\ndeclare function getWindow(node: Node | Window): Window;\\n\\nexport default function getWindow(node) {\\n if (node == null) {\\n return window;\\n }\\n\\n if (node.toString() !== '[object Window]') {\\n const ownerDocument = node.ownerDocument;\\n return ownerDocument ? ownerDocument.defaultView || window : window;\\n }\\n\\n return node;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\\n Element);\\nfunction isElement(node) {\\n const OwnElement = getWindow(node).Element;\\n return node instanceof OwnElement || node instanceof Element;\\n}\\n\\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\\n HTMLElement);\\nfunction isHTMLElement(node) {\\n const OwnElement = getWindow(node).HTMLElement;\\n return node instanceof OwnElement || node instanceof HTMLElement;\\n}\\n\\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\\n ShadowRoot);\\nfunction isShadowRoot(node) {\\n // IE 11 has no ShadowRoot\\n if (typeof ShadowRoot === 'undefined') {\\n return false;\\n }\\n const OwnElement = getWindow(node).ShadowRoot;\\n return node instanceof OwnElement || node instanceof ShadowRoot;\\n}\\n\\nexport { isElement, isHTMLElement, isShadowRoot };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const max = Math.max;\\nexport const min = Math.min;\\nexport const round = Math.round;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject, VirtualElement } from '../types';\\nimport { isHTMLElement } from './instanceOf';\\nimport { round } from '../utils/math';\\n\\nexport default function getBoundingClientRect(\\n element: Element | VirtualElement,\\n includeScale: boolean = false\\n): ClientRectObject {\\n const rect = element.getBoundingClientRect();\\n let scaleX = 1;\\n let scaleY = 1;\\n\\n if (isHTMLElement(element) &amp;&amp; includeScale) {\\n const offsetHeight = element.offsetHeight;\\n const offsetWidth = element.offsetWidth;\\n\\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\\n // Fallback to 1 in case both values are `0`\\n if (offsetWidth &gt; 0) {\\n scaleX = round(rect.width) / offsetWidth || 1;\\n }\\n if (offsetHeight &gt; 0) {\\n scaleY = round(rect.height) / offsetHeight || 1;\\n }\\n }\\n\\n return {\\n width: rect.width / scaleX,\\n height: rect.height / scaleY,\\n top: rect.top / scaleY,\\n right: rect.right / scaleX,\\n bottom: rect.bottom / scaleY,\\n left: rect.left / scaleX,\\n x: rect.left / scaleX,\\n y: rect.top / scaleY,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport type { Window } from '../types';\\n\\nexport default function getWindowScroll(node: Node | Window) {\\n const win = getWindow(node);\\n const scrollLeft = win.pageXOffset;\\n const scrollTop = win.pageYOffset;\\n\\n return {\\n scrollLeft,\\n scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\n\\nexport default function getNodeName(element: ?Node | Window): ?string {\\n return element ? (element.nodeName || '').toLowerCase() : null;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isElement } from './instanceOf';\\nimport type { Window } from '../types';\\n\\nexport default function getDocumentElement(\\n element: Element | Window\\n): HTMLElement {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return (\\n (isElement(element)\\n ? element.ownerDocument\\n : // $FlowFixMe[prop-missing]\\n element.document) || window.document\\n ).documentElement;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScroll from './getWindowScroll';\\n\\nexport default function getWindowScrollBarX(element: Element): number {\\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\\n // incorrect for RTL.\\n // Popper 1 is broken in this case and never had a bug report so let's assume\\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\\n // anyway.\\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\\n // this (e.g. Edge 2019, IE11, Safari)\\n return (\\n getBoundingClientRect(getDocumentElement(element)).left +\\n getWindowScroll(element).scrollLeft\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\nexport default function getComputedStyle(\\n element: Element\\n): CSSStyleDeclaration {\\n return getWindow(element).getComputedStyle(element);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getComputedStyle from './getComputedStyle';\\n\\nexport default function isScrollParent(element: HTMLElement): boolean {\\n // Firefox wants us to check `-x` and `-y` variations as well\\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, VirtualElement, Window } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getNodeScroll from './getNodeScroll';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getDocumentElement from './getDocumentElement';\\nimport isScrollParent from './isScrollParent';\\nimport { round } from '../utils/math';\\n\\nfunction isElementScaled(element: HTMLElement) {\\n const rect = element.getBoundingClientRect();\\n const scaleX = round(rect.width) / element.offsetWidth || 1;\\n const scaleY = round(rect.height) / element.offsetHeight || 1;\\n\\n return scaleX !== 1 || scaleY !== 1;\\n}\\n\\n// Returns the composite rect of an element relative to its offsetParent.\\n// Composite means it takes into account transforms as well as layout.\\nexport default function getCompositeRect(\\n elementOrVirtualElement: Element | VirtualElement,\\n offsetParent: Element | Window,\\n isFixed: boolean = false\\n): Rect {\\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\\n const offsetParentIsScaled =\\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\\n const documentElement = getDocumentElement(offsetParent);\\n const rect = getBoundingClientRect(\\n elementOrVirtualElement,\\n offsetParentIsScaled\\n );\\n\\n let scroll = { scrollLeft: 0, scrollTop: 0 };\\n let offsets = { x: 0, y: 0 };\\n\\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\\n if (\\n getNodeName(offsetParent) !== 'body' ||\\n // https://github.com/popperjs/popper-core/issues/1078\\n isScrollParent(documentElement)\\n ) {\\n scroll = getNodeScroll(offsetParent);\\n }\\n\\n if (isHTMLElement(offsetParent)) {\\n offsets = getBoundingClientRect(offsetParent, true);\\n offsets.x += offsetParent.clientLeft;\\n offsets.y += offsetParent.clientTop;\\n } else if (documentElement) {\\n offsets.x = getWindowScrollBarX(documentElement);\\n }\\n }\\n\\n return {\\n x: rect.left + scroll.scrollLeft - offsets.x,\\n y: rect.top + scroll.scrollTop - offsets.y,\\n width: rect.width,\\n height: rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindowScroll from './getWindowScroll';\\nimport getWindow from './getWindow';\\nimport { isHTMLElement } from './instanceOf';\\nimport getHTMLElementScroll from './getHTMLElementScroll';\\nimport type { Window } from '../types';\\n\\nexport default function getNodeScroll(node: Node | Window) {\\n if (node === getWindow(node) || !isHTMLElement(node)) {\\n return getWindowScroll(node);\\n } else {\\n return getHTMLElementScroll(node);\\n }\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function getHTMLElementScroll(element: HTMLElement) {\\n return {\\n scrollLeft: element.scrollLeft,\\n scrollTop: element.scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\nimport getDocumentElement from './getDocumentElement';\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function getParentNode(element: Node | ShadowRoot): Node {\\n if (getNodeName(element) === 'html') {\\n return element;\\n }\\n\\n return (\\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\\n // $FlowFixMe[incompatible-return]\\n // $FlowFixMe[prop-missing]\\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\\n element.parentNode || // DOM Element detected\\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\\n getDocumentElement(element) // fallback\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getParentNode from './getParentNode';\\nimport isScrollParent from './isScrollParent';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\n\\nexport default function getScrollParent(node: Node): HTMLElement {\\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return node.ownerDocument.body;\\n }\\n\\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\\n return node;\\n }\\n\\n return getScrollParent(getParentNode(node));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getScrollParent from './getScrollParent';\\nimport getParentNode from './getParentNode';\\nimport getWindow from './getWindow';\\nimport type { Window, VisualViewport } from '../types';\\nimport isScrollParent from './isScrollParent';\\n\\n/*\\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\\nuntil we get to the top window object. This list is what we attach scroll listeners\\nto, because if any of these parent elements scroll, we'll need to re-calculate the\\nreference element's position.\\n*/\\nexport default function listScrollParents(\\n element: Node,\\n list: Array&lt;Element | Window&gt; = []\\n): Array&lt;Element | Window | VisualViewport&gt; {\\n const scrollParent = getScrollParent(element);\\n const isBody = scrollParent === element.ownerDocument?.body;\\n const win = getWindow(scrollParent);\\n const target = isBody\\n ? [win].concat(\\n win.visualViewport || [],\\n isScrollParent(scrollParent) ? scrollParent : []\\n )\\n : scrollParent;\\n const updatedList = list.concat(target);\\n\\n return isBody\\n ? updatedList\\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\\n updatedList.concat(listScrollParents(getParentNode(target)));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\n\\nexport default function isTableElement(element: Element): boolean {\\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getNodeName from './getNodeName';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\\nimport isTableElement from './isTableElement';\\nimport getParentNode from './getParentNode';\\n\\nfunction getTrueOffsetParent(element: Element): ?Element {\\n if (\\n !isHTMLElement(element) ||\\n // https://github.com/popperjs/popper-core/issues/837\\n getComputedStyle(element).position === 'fixed'\\n ) {\\n return null;\\n }\\n\\n return element.offsetParent;\\n}\\n\\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\\n// return the containing block\\nfunction getContainingBlock(element: Element) {\\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\\n\\n if (isIE &amp;&amp; isHTMLElement(element)) {\\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\\n const elementCss = getComputedStyle(element);\\n if (elementCss.position === 'fixed') {\\n return null;\\n }\\n }\\n\\n let currentNode = getParentNode(element);\\n\\n if (isShadowRoot(currentNode)) {\\n currentNode = currentNode.host;\\n }\\n\\n while (\\n isHTMLElement(currentNode) &amp;&amp;\\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\\n ) {\\n const css = getComputedStyle(currentNode);\\n\\n // This is non-exhaustive but covers the most common CSS properties that\\n // create a containing block.\\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\\n if (\\n css.transform !== 'none' ||\\n css.perspective !== 'none' ||\\n css.contain === 'paint' ||\\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\\n ) {\\n return currentNode;\\n } else {\\n currentNode = currentNode.parentNode;\\n }\\n }\\n\\n return null;\\n}\\n\\n// Gets the closest ancestor positioned element. Handles some edge cases,\\n// such as table ancestors and cross browser bugs.\\nexport default function getOffsetParent(element: Element) {\\n const window = getWindow(element);\\n\\n let offsetParent = getTrueOffsetParent(element);\\n\\n while (\\n offsetParent &amp;&amp;\\n isTableElement(offsetParent) &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'\\n ) {\\n offsetParent = getTrueOffsetParent(offsetParent);\\n }\\n\\n if (\\n offsetParent &amp;&amp;\\n (getNodeName(offsetParent) === 'html' ||\\n (getNodeName(offsetParent) === 'body' &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'))\\n ) {\\n return window;\\n }\\n\\n return offsetParent || getContainingBlock(element) || window;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const top: 'top' = 'top';\\nexport const bottom: 'bottom' = 'bottom';\\nexport const right: 'right' = 'right';\\nexport const left: 'left' = 'left';\\nexport const auto: 'auto' = 'auto';\\nexport type BasePlacement =\\n | typeof top\\n | typeof bottom\\n | typeof right\\n | typeof left;\\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\\n\\nexport const start: 'start' = 'start';\\nexport const end: 'end' = 'end';\\nexport type Variation = typeof start | typeof end;\\n\\nexport const clippingParents: 'clippingParents' = 'clippingParents';\\nexport const viewport: 'viewport' = 'viewport';\\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\\nexport type RootBoundary = typeof viewport | 'document';\\n\\nexport const popper: 'popper' = 'popper';\\nexport const reference: 'reference' = 'reference';\\nexport type Context = typeof popper | typeof reference;\\n\\nexport type VariationPlacement =\\n | 'top-start'\\n | 'top-end'\\n | 'bottom-start'\\n | 'bottom-end'\\n | 'right-start'\\n | 'right-end'\\n | 'left-start'\\n | 'left-end';\\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\\n\\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\\n []\\n);\\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\\n (\\n acc: Array&lt;Placement&gt;,\\n placement: BasePlacement | typeof auto\\n ): Array&lt;Placement&gt; =&gt;\\n acc.concat([\\n placement,\\n (`${placement}-${start}`: any),\\n (`${placement}-${end}`: any),\\n ]),\\n []\\n);\\n\\n// modifiers that need to read the DOM\\nexport const beforeRead: 'beforeRead' = 'beforeRead';\\nexport const read: 'read' = 'read';\\nexport const afterRead: 'afterRead' = 'afterRead';\\n// pure-logic modifiers\\nexport const beforeMain: 'beforeMain' = 'beforeMain';\\nexport const main: 'main' = 'main';\\nexport const afterMain: 'afterMain' = 'afterMain';\\n// modifier with the purpose to write to the DOM (or write into a framework state)\\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\\nexport const write: 'write' = 'write';\\nexport const afterWrite: 'afterWrite' = 'afterWrite';\\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\\n beforeRead,\\n read,\\n afterRead,\\n beforeMain,\\n main,\\n afterMain,\\n beforeWrite,\\n write,\\n afterWrite,\\n];\\n\\nexport type ModifierPhases =\\n | typeof beforeRead\\n | typeof read\\n | typeof afterRead\\n | typeof beforeMain\\n | typeof main\\n | typeof afterMain\\n | typeof beforeWrite\\n | typeof write\\n | typeof afterWrite;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\nimport { modifierPhases } from '../enums';\\n\\n// source: https://stackoverflow.com/questions/49875255\\nfunction order(modifiers) {\\n const map = new Map();\\n const visited = new Set();\\n const result = [];\\n\\n modifiers.forEach(modifier =&gt; {\\n map.set(modifier.name, modifier);\\n });\\n\\n // On visiting object, check for its dependencies and visit them recursively\\n function sort(modifier: Modifier&lt;any, any&gt;) {\\n visited.add(modifier.name);\\n\\n const requires = [\\n ...(modifier.requires || []),\\n ...(modifier.requiresIfExists || []),\\n ];\\n\\n requires.forEach(dep =&gt; {\\n if (!visited.has(dep)) {\\n const depModifier = map.get(dep);\\n\\n if (depModifier) {\\n sort(depModifier);\\n }\\n }\\n });\\n\\n result.push(modifier);\\n }\\n\\n modifiers.forEach(modifier =&gt; {\\n if (!visited.has(modifier.name)) {\\n // check for visited object\\n sort(modifier);\\n }\\n });\\n\\n return result;\\n}\\n\\nexport default function orderModifiers(\\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\\n // order based on dependencies\\n const orderedModifiers = order(modifiers);\\n\\n // order based on phase\\n return modifierPhases.reduce((acc, phase) =&gt; {\\n return acc.concat(\\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\\n );\\n }, []);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type BasePlacement, type Placement, auto } from '../enums';\\n\\nexport default function getBasePlacement(\\n placement: Placement | typeof auto\\n): BasePlacement {\\n return (placement.split('-')[0]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, ClientRectObject } from '../types';\\n\\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\\n return {\\n ...rect,\\n left: rect.x,\\n top: rect.y,\\n right: rect.x + rect.width,\\n bottom: rect.y + rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject } from '../types';\\nimport type { Boundary, RootBoundary } from '../enums';\\nimport { viewport } from '../enums';\\nimport getViewportRect from './getViewportRect';\\nimport getDocumentRect from './getDocumentRect';\\nimport listScrollParents from './listScrollParents';\\nimport getOffsetParent from './getOffsetParent';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isElement, isHTMLElement } from './instanceOf';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getParentNode from './getParentNode';\\nimport contains from './contains';\\nimport getNodeName from './getNodeName';\\nimport rectToClientRect from '../utils/rectToClientRect';\\nimport { max, min } from '../utils/math';\\n\\nfunction getInnerBoundingClientRect(element: Element) {\\n const rect = getBoundingClientRect(element);\\n\\n rect.top = rect.top + element.clientTop;\\n rect.left = rect.left + element.clientLeft;\\n rect.bottom = rect.top + element.clientHeight;\\n rect.right = rect.left + element.clientWidth;\\n rect.width = element.clientWidth;\\n rect.height = element.clientHeight;\\n rect.x = rect.left;\\n rect.y = rect.top;\\n\\n return rect;\\n}\\n\\nfunction getClientRectFromMixedType(\\n element: Element,\\n clippingParent: Element | RootBoundary\\n): ClientRectObject {\\n return clippingParent === viewport\\n ? rectToClientRect(getViewportRect(element))\\n : isElement(clippingParent)\\n ? getInnerBoundingClientRect(clippingParent)\\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\\n}\\n\\n// A \\\"clipping parent\\\" is an overflowable container with the characteristic of\\n// clipping (or hiding) overflowing elements with a position different from\\n// `initial`\\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\\n const clippingParents = listScrollParents(getParentNode(element));\\n const canEscapeClipping =\\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\\n const clipperElement =\\n canEscapeClipping &amp;&amp; isHTMLElement(element)\\n ? getOffsetParent(element)\\n : element;\\n\\n if (!isElement(clipperElement)) {\\n return [];\\n }\\n\\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\\n return clippingParents.filter(\\n (clippingParent) =&gt;\\n isElement(clippingParent) &amp;&amp;\\n contains(clippingParent, clipperElement) &amp;&amp;\\n getNodeName(clippingParent) !== 'body'\\n );\\n}\\n\\n// Gets the maximum area that the element is visible in due to any number of\\n// clipping parents\\nexport default function getClippingRect(\\n element: Element,\\n boundary: Boundary,\\n rootBoundary: RootBoundary\\n): ClientRectObject {\\n const mainClippingParents =\\n boundary === 'clippingParents'\\n ? getClippingParents(element)\\n : [].concat(boundary);\\n const clippingParents = [...mainClippingParents, rootBoundary];\\n const firstClippingParent = clippingParents[0];\\n\\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\\n const rect = getClientRectFromMixedType(element, clippingParent);\\n\\n accRect.top = max(rect.top, accRect.top);\\n accRect.right = min(rect.right, accRect.right);\\n accRect.bottom = min(rect.bottom, accRect.bottom);\\n accRect.left = max(rect.left, accRect.left);\\n\\n return accRect;\\n }, getClientRectFromMixedType(element, firstClippingParent));\\n\\n clippingRect.width = clippingRect.right - clippingRect.left;\\n clippingRect.height = clippingRect.bottom - clippingRect.top;\\n clippingRect.x = clippingRect.left;\\n clippingRect.y = clippingRect.top;\\n\\n return clippingRect;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\n\\nexport default function getViewportRect(element: Element) {\\n const win = getWindow(element);\\n const html = getDocumentElement(element);\\n const visualViewport = win.visualViewport;\\n\\n let width = html.clientWidth;\\n let height = html.clientHeight;\\n let x = 0;\\n let y = 0;\\n\\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\\n // can be obscured underneath it.\\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\\n // if it isn't open, so if this isn't available, the popper will be detected\\n // to overflow the bottom of the screen too early.\\n if (visualViewport) {\\n width = visualViewport.width;\\n height = visualViewport.height;\\n\\n // Uses Layout Viewport (like Chrome; Safari does not currently)\\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\\n // errors due to floating point numbers, so we need to check precision.\\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\\n\\n // Feature detection fails in mobile emulation mode in Chrome.\\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\\n // 0.001\\n // Fallback here: \\\"Not Safari\\\" userAgent\\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\\n x = visualViewport.offsetLeft;\\n y = visualViewport.offsetTop;\\n }\\n }\\n\\n return {\\n width,\\n height,\\n x: x + getWindowScrollBarX(element),\\n y,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getWindowScroll from './getWindowScroll';\\nimport { max } from '../utils/math';\\n\\n// Gets the entire size of the scrollable document area, even extending outside\\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\\nexport default function getDocumentRect(element: HTMLElement): Rect {\\n const html = getDocumentElement(element);\\n const winScroll = getWindowScroll(element);\\n const body = element.ownerDocument?.body;\\n\\n const width = max(\\n html.scrollWidth,\\n html.clientWidth,\\n body ? body.scrollWidth : 0,\\n body ? body.clientWidth : 0\\n );\\n const height = max(\\n html.scrollHeight,\\n html.clientHeight,\\n body ? body.scrollHeight : 0,\\n body ? body.clientHeight : 0\\n );\\n\\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\\n const y = -winScroll.scrollTop;\\n\\n if (getComputedStyle(body || html).direction === 'rtl') {\\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\\n }\\n\\n return { width, height, x, y };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function contains(parent: Element, child: Element) {\\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\\n\\n // First, attempt with faster native method\\n if (parent.contains(child)) {\\n return true;\\n }\\n // then fallback to custom implementation with Shadow DOM support\\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\\n let next = child;\\n do {\\n if (next &amp;&amp; parent.isSameNode(next)) {\\n return true;\\n }\\n // $FlowFixMe[prop-missing]: need a better way to handle this...\\n next = next.parentNode || next.host;\\n } while (next);\\n }\\n\\n // Give up, the result is false\\n return false;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type Variation, type Placement } from '../enums';\\n\\nexport default function getVariation(placement: Placement): ?Variation {\\n return (placement.split('-')[1]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBasePlacement from './getBasePlacement';\\nimport getVariation from './getVariation';\\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\\nimport type {\\n Rect,\\n PositioningStrategy,\\n Offsets,\\n ClientRectObject,\\n} from '../types';\\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\\n\\nexport default function computeOffsets({\\n reference,\\n element,\\n placement,\\n}: {\\n reference: Rect | ClientRectObject,\\n element: Rect | ClientRectObject,\\n strategy: PositioningStrategy,\\n placement?: Placement,\\n}): Offsets {\\n const basePlacement = placement ? getBasePlacement(placement) : null;\\n const variation = placement ? getVariation(placement) : null;\\n const commonX = reference.x + reference.width / 2 - element.width / 2;\\n const commonY = reference.y + reference.height / 2 - element.height / 2;\\n\\n let offsets;\\n switch (basePlacement) {\\n case top:\\n offsets = {\\n x: commonX,\\n y: reference.y - element.height,\\n };\\n break;\\n case bottom:\\n offsets = {\\n x: commonX,\\n y: reference.y + reference.height,\\n };\\n break;\\n case right:\\n offsets = {\\n x: reference.x + reference.width,\\n y: commonY,\\n };\\n break;\\n case left:\\n offsets = {\\n x: reference.x - element.width,\\n y: commonY,\\n };\\n break;\\n default:\\n offsets = {\\n x: reference.x,\\n y: reference.y,\\n };\\n }\\n\\n const mainAxis = basePlacement\\n ? getMainAxisFromPlacement(basePlacement)\\n : null;\\n\\n if (mainAxis != null) {\\n const len = mainAxis === 'y' ? 'height' : 'width';\\n\\n switch (variation) {\\n case start:\\n offsets[mainAxis] =\\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\\n break;\\n case end:\\n offsets[mainAxis] =\\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\\n break;\\n default:\\n }\\n }\\n\\n return offsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nexport default function getMainAxisFromPlacement(\\n placement: Placement\\n): 'x' | 'y' {\\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n State,\\n OptionsGeneric,\\n Modifier,\\n Instance,\\n VirtualElement,\\n} from './types';\\nimport getCompositeRect from './dom-utils/getCompositeRect';\\nimport getLayoutRect from './dom-utils/getLayoutRect';\\nimport listScrollParents from './dom-utils/listScrollParents';\\nimport getOffsetParent from './dom-utils/getOffsetParent';\\nimport getComputedStyle from './dom-utils/getComputedStyle';\\nimport orderModifiers from './utils/orderModifiers';\\nimport debounce from './utils/debounce';\\nimport validateModifiers from './utils/validateModifiers';\\nimport uniqueBy from './utils/uniqueBy';\\nimport getBasePlacement from './utils/getBasePlacement';\\nimport mergeByName from './utils/mergeByName';\\nimport detectOverflow from './utils/detectOverflow';\\nimport { isElement } from './dom-utils/instanceOf';\\nimport { auto } from './enums';\\n\\nconst INVALID_ELEMENT_ERROR =\\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\\nconst INFINITE_LOOP_ERROR =\\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\\n\\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\\n placement: 'bottom',\\n modifiers: [],\\n strategy: 'absolute',\\n};\\n\\ntype PopperGeneratorArgs = {\\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\\n};\\n\\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\\n return !args.some(\\n (element) =&gt;\\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\\n );\\n}\\n\\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\\n const {\\n defaultModifiers = [],\\n defaultOptions = DEFAULT_OPTIONS,\\n } = generatorOptions;\\n\\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\\n reference: Element | VirtualElement,\\n popper: HTMLElement,\\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\\n ): Instance {\\n let state: $Shape&lt;State&gt; = {\\n placement: 'bottom',\\n orderedModifiers: [],\\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\\n modifiersData: {},\\n elements: {\\n reference,\\n popper,\\n },\\n attributes: {},\\n styles: {},\\n };\\n\\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\\n let isDestroyed = false;\\n\\n const instance = {\\n state,\\n setOptions(setOptionsAction) {\\n const options =\\n typeof setOptionsAction === 'function'\\n ? setOptionsAction(state.options)\\n : setOptionsAction;\\n\\n cleanupModifierEffects();\\n\\n state.options = {\\n // $FlowFixMe[exponential-spread]\\n ...defaultOptions,\\n ...state.options,\\n ...options,\\n };\\n\\n state.scrollParents = {\\n reference: isElement(reference)\\n ? listScrollParents(reference)\\n : reference.contextElement\\n ? listScrollParents(reference.contextElement)\\n : [],\\n popper: listScrollParents(popper),\\n };\\n\\n // Orders the modifiers based on their dependencies and `phase`\\n // properties\\n const orderedModifiers = orderModifiers(\\n mergeByName([...defaultModifiers, ...state.options.modifiers])\\n );\\n\\n // Strip out disabled modifiers\\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\\n\\n // Validate the provided modifiers so that the consumer will get warned\\n // if one of the modifiers is invalid for any reason\\n if (__DEV__) {\\n const modifiers = uniqueBy(\\n [...orderedModifiers, ...state.options.modifiers],\\n ({ name }) =&gt; name\\n );\\n\\n validateModifiers(modifiers);\\n\\n if (getBasePlacement(state.options.placement) === auto) {\\n const flipModifier = state.orderedModifiers.find(\\n ({ name }) =&gt; name === 'flip'\\n );\\n\\n if (!flipModifier) {\\n console.error(\\n [\\n 'Popper: \\\"auto\\\" placements require the \\\"flip\\\" modifier be',\\n 'present and enabled to work.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const {\\n marginTop,\\n marginRight,\\n marginBottom,\\n marginLeft,\\n } = getComputedStyle(popper);\\n\\n // We no longer take into account `margins` on the popper, and it can\\n // cause bugs with positioning, so we'll warn the consumer\\n if (\\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\\n parseFloat(margin)\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: CSS \\\"margin\\\" styles cannot be used to apply padding',\\n 'between the popper and its reference element or boundary.',\\n 'To replicate margin, use the `offset` modifier, as well as',\\n 'the `padding` option in the `preventOverflow` and `flip`',\\n 'modifiers.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n runModifierEffects();\\n\\n return instance.update();\\n },\\n\\n // Sync update \u2013 it will always be executed, even if not necessary. This\\n // is useful for low frequency updates where sync behavior simplifies the\\n // logic.\\n // For high frequency updates (e.g. `resize` and `scroll` events), always\\n // prefer the async Popper#update method\\n forceUpdate() {\\n if (isDestroyed) {\\n return;\\n }\\n\\n const { reference, popper } = state.elements;\\n\\n // Don't proceed if `reference` or `popper` are not valid elements\\n // anymore\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return;\\n }\\n\\n // Store the reference and popper rects to be read by modifiers\\n state.rects = {\\n reference: getCompositeRect(\\n reference,\\n getOffsetParent(popper),\\n state.options.strategy === 'fixed'\\n ),\\n popper: getLayoutRect(popper),\\n };\\n\\n // Modifiers have the ability to reset the current update cycle. The\\n // most common use case for this is the `flip` modifier changing the\\n // placement, which then needs to re-run all the modifiers, because the\\n // logic was previously ran for the previous placement and is therefore\\n // stale/incorrect\\n state.reset = false;\\n\\n state.placement = state.options.placement;\\n\\n // On each update cycle, the `modifiersData` property for each modifier\\n // is filled with the initial data specified by the modifier. This means\\n // it doesn't persist and is fresh on each update.\\n // To ensure persistent data, use `${name}#persistent`\\n state.orderedModifiers.forEach(\\n (modifier) =&gt;\\n (state.modifiersData[modifier.name] = {\\n ...modifier.data,\\n })\\n );\\n\\n let __debug_loops__ = 0;\\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\\n if (__DEV__) {\\n __debug_loops__ += 1;\\n if (__debug_loops__ &gt; 100) {\\n console.error(INFINITE_LOOP_ERROR);\\n break;\\n }\\n }\\n\\n if (state.reset === true) {\\n state.reset = false;\\n index = -1;\\n continue;\\n }\\n\\n const { fn, options = {}, name } = state.orderedModifiers[index];\\n\\n if (typeof fn === 'function') {\\n state = fn({ state, options, name, instance }) || state;\\n }\\n }\\n },\\n\\n // Async and optimistically optimized update \u2013 it will not be executed if\\n // not necessary (debounced to run at most once-per-tick)\\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\\n () =&gt;\\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\\n instance.forceUpdate();\\n resolve(state);\\n })\\n ),\\n\\n destroy() {\\n cleanupModifierEffects();\\n isDestroyed = true;\\n },\\n };\\n\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return instance;\\n }\\n\\n instance.setOptions(options).then((state) =&gt; {\\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\\n options.onFirstUpdate(state);\\n }\\n });\\n\\n // Modifiers have the ability to execute arbitrary code before the first\\n // update cycle runs. They will be executed in the same order as the update\\n // cycle. This is useful when a modifier adds some persistent data that\\n // other modifiers need to use, but the modifier is run after the dependent\\n // one.\\n function runModifierEffects() {\\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\\n if (typeof effect === 'function') {\\n const cleanupFn = effect({ state, name, instance, options });\\n const noopFn = () =&gt; {};\\n effectCleanupFns.push(cleanupFn || noopFn);\\n }\\n });\\n }\\n\\n function cleanupModifierEffects() {\\n effectCleanupFns.forEach((fn) =&gt; fn());\\n effectCleanupFns = [];\\n }\\n\\n return instance;\\n };\\n}\\n\\nexport const createPopper = popperGenerator();\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { detectOverflow };\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\\n let pending;\\n return () =&gt; {\\n if (!pending) {\\n pending = new Promise&lt;T&gt;(resolve =&gt; {\\n Promise.resolve().then(() =&gt; {\\n pending = undefined;\\n resolve(fn());\\n });\\n });\\n }\\n\\n return pending;\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\n\\nexport default function mergeByName(\\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\\n const merged = modifiers.reduce((merged, current) =&gt; {\\n const existing = merged[current.name];\\n merged[current.name] = existing\\n ? {\\n ...existing,\\n ...current,\\n options: { ...existing.options, ...current.options },\\n data: { ...existing.data, ...current.data },\\n }\\n : current;\\n return merged;\\n }, {});\\n\\n // IE11 does not support Object.values\\n return Object.keys(merged).map(key =&gt; merged[key]);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\n\\n// Returns the layout rect of an element relative to its offsetParent. Layout\\n// means it doesn't take into account transforms.\\nexport default function getLayoutRect(element: HTMLElement): Rect {\\n const clientRect = getBoundingClientRect(element);\\n\\n // Use the clientRect sizes if it's not been transformed.\\n // Fixes https://github.com/popperjs/popper-core/issues/1223\\n let width = element.offsetWidth;\\n let height = element.offsetHeight;\\n\\n if (Math.abs(clientRect.width - width) &lt;= 1) {\\n width = clientRect.width;\\n }\\n\\n if (Math.abs(clientRect.height - height) &lt;= 1) {\\n height = clientRect.height;\\n }\\n\\n return {\\n x: element.offsetLeft,\\n y: element.offsetTop,\\n width,\\n height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ModifierArguments, Modifier } from '../types';\\nimport getWindow from '../dom-utils/getWindow';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n scroll: boolean,\\n resize: boolean,\\n};\\n\\nconst passive = { passive: true };\\n\\nfunction effect({ state, instance, options }: ModifierArguments&lt;Options&gt;) {\\n const { scroll = true, resize = true } = options;\\n\\n const window = getWindow(state.elements.popper);\\n const scrollParents = [\\n ...state.scrollParents.reference,\\n ...state.scrollParents.popper,\\n ];\\n\\n if (scroll) {\\n scrollParents.forEach(scrollParent =&gt; {\\n scrollParent.addEventListener('scroll', instance.update, passive);\\n });\\n }\\n\\n if (resize) {\\n window.addEventListener('resize', instance.update, passive);\\n }\\n\\n return () =&gt; {\\n if (scroll) {\\n scrollParents.forEach(scrollParent =&gt; {\\n scrollParent.removeEventListener('scroll', instance.update, passive);\\n });\\n }\\n\\n if (resize) {\\n window.removeEventListener('resize', instance.update, passive);\\n }\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type EventListenersModifier = Modifier&lt;'eventListeners', Options&gt;;\\nexport default ({\\n name: 'eventListeners',\\n enabled: true,\\n phase: 'write',\\n fn: () =&gt; {},\\n effect,\\n data: {},\\n}: EventListenersModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n PositioningStrategy,\\n Offsets,\\n Modifier,\\n ModifierArguments,\\n Rect,\\n Window,\\n} from '../types';\\nimport {\\n type BasePlacement,\\n type Variation,\\n top,\\n left,\\n right,\\n bottom,\\n end,\\n} from '../enums';\\nimport getOffsetParent from '../dom-utils/getOffsetParent';\\nimport getWindow from '../dom-utils/getWindow';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getComputedStyle from '../dom-utils/getComputedStyle';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getVariation from '../utils/getVariation';\\nimport { round } from '../utils/math';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type RoundOffsets = (\\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;\\n) =&gt; Offsets;\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n gpuAcceleration: boolean,\\n adaptive: boolean,\\n roundOffsets?: boolean | RoundOffsets,\\n};\\n\\nconst unsetSides = {\\n top: 'auto',\\n right: 'auto',\\n bottom: 'auto',\\n left: 'auto',\\n};\\n\\n// Round the offsets to the nearest suitable subpixel based on the DPR.\\n// Zooming can change the DPR, but it seems to report a value that will\\n// cleanly divide the values into the appropriate subpixels.\\nfunction roundOffsetsByDPR({ x, y }): Offsets {\\n const win: Window = window;\\n const dpr = win.devicePixelRatio || 1;\\n\\n return {\\n x: round(x * dpr) / dpr || 0,\\n y: round(y * dpr) / dpr || 0,\\n };\\n}\\n\\nexport function mapToStyles({\\n popper,\\n popperRect,\\n placement,\\n variation,\\n offsets,\\n position,\\n gpuAcceleration,\\n adaptive,\\n roundOffsets,\\n isFixed,\\n}: {\\n popper: HTMLElement,\\n popperRect: Rect,\\n placement: BasePlacement,\\n variation: ?Variation,\\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;,\\n position: PositioningStrategy,\\n gpuAcceleration: boolean,\\n adaptive: boolean,\\n roundOffsets: boolean | RoundOffsets,\\n isFixed: boolean,\\n}) {\\n let { x = 0, y = 0 } = offsets;\\n\\n ({ x, y } =\\n typeof roundOffsets === 'function'\\n ? roundOffsets({ x, y })\\n : { x, y });\\n\\n const hasX = offsets.hasOwnProperty('x');\\n const hasY = offsets.hasOwnProperty('y');\\n\\n let sideX: string = left;\\n let sideY: string = top;\\n\\n const win: Window = window;\\n\\n if (adaptive) {\\n let offsetParent = getOffsetParent(popper);\\n let heightProp = 'clientHeight';\\n let widthProp = 'clientWidth';\\n\\n if (offsetParent === getWindow(popper)) {\\n offsetParent = getDocumentElement(popper);\\n\\n if (\\n getComputedStyle(offsetParent).position !== 'static' &amp;&amp;\\n position === 'absolute'\\n ) {\\n heightProp = 'scrollHeight';\\n widthProp = 'scrollWidth';\\n }\\n }\\n\\n // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\\n offsetParent = (offsetParent: Element);\\n\\n if (\\n placement === top ||\\n ((placement === left || placement === right) &amp;&amp; variation === end)\\n ) {\\n sideY = bottom;\\n const offsetY =\\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\\n ? win.visualViewport.height\\n : // $FlowFixMe[prop-missing]\\n offsetParent[heightProp];\\n y -= offsetY - popperRect.height;\\n y *= gpuAcceleration ? 1 : -1;\\n }\\n\\n if (\\n placement === left ||\\n ((placement === top || placement === bottom) &amp;&amp; variation === end)\\n ) {\\n sideX = right;\\n const offsetX =\\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\\n ? win.visualViewport.width\\n : // $FlowFixMe[prop-missing]\\n offsetParent[widthProp];\\n x -= offsetX - popperRect.width;\\n x *= gpuAcceleration ? 1 : -1;\\n }\\n }\\n\\n const commonStyles = {\\n position,\\n ...(adaptive &amp;&amp; unsetSides),\\n };\\n\\n ({ x, y } =\\n roundOffsets === true\\n ? roundOffsetsByDPR({ x, y })\\n : { x, y });\\n\\n if (gpuAcceleration) {\\n return {\\n ...commonStyles,\\n [sideY]: hasY ? '0' : '',\\n [sideX]: hasX ? '0' : '',\\n // Layer acceleration can disable subpixel rendering which causes slightly\\n // blurry text on low PPI displays, so we want to use 2D transforms\\n // instead\\n transform:\\n (win.devicePixelRatio || 1) &lt;= 1\\n ? `translate(${x}px, ${y}px)`\\n : `translate3d(${x}px, ${y}px, 0)`,\\n };\\n }\\n\\n return {\\n ...commonStyles,\\n [sideY]: hasY ? `${y}px` : '',\\n [sideX]: hasX ? `${x}px` : '',\\n transform: '',\\n };\\n}\\n\\nfunction computeStyles({ state, options }: ModifierArguments&lt;Options&gt;) {\\n const {\\n gpuAcceleration = true,\\n adaptive = true,\\n // defaults to use builtin `roundOffsetsByDPR`\\n roundOffsets = true,\\n } = options;\\n\\n if (__DEV__) {\\n const transitionProperty =\\n getComputedStyle(state.elements.popper).transitionProperty || '';\\n\\n if (\\n adaptive &amp;&amp;\\n ['transform', 'top', 'right', 'bottom', 'left'].some(\\n (property) =&gt; transitionProperty.indexOf(property) &gt;= 0\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: Detected CSS transitions on at least one of the following',\\n 'CSS properties: \\\"transform\\\", \\\"top\\\", \\\"right\\\", \\\"bottom\\\", \\\"left\\\".',\\n '\\\\n\\\\n',\\n 'Disable the \\\"computeStyles\\\" modifier\\\\'s `adaptive` option to allow',\\n 'for smooth transitions, or remove these properties from the CSS',\\n 'transition declaration on the popper element if only transitioning',\\n 'opacity or background-color for example.',\\n '\\\\n\\\\n',\\n 'We recommend using the popper element as a wrapper around an inner',\\n 'element that can have any CSS property transitioned for animations.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const commonStyles = {\\n placement: getBasePlacement(state.placement),\\n variation: getVariation(state.placement),\\n popper: state.elements.popper,\\n popperRect: state.rects.popper,\\n gpuAcceleration,\\n isFixed: state.options.strategy === 'fixed',\\n };\\n\\n if (state.modifiersData.popperOffsets != null) {\\n state.styles.popper = {\\n ...state.styles.popper,\\n ...mapToStyles({\\n ...commonStyles,\\n offsets: state.modifiersData.popperOffsets,\\n position: state.options.strategy,\\n adaptive,\\n roundOffsets,\\n }),\\n };\\n }\\n\\n if (state.modifiersData.arrow != null) {\\n state.styles.arrow = {\\n ...state.styles.arrow,\\n ...mapToStyles({\\n ...commonStyles,\\n offsets: state.modifiersData.arrow,\\n position: 'absolute',\\n adaptive: false,\\n roundOffsets,\\n }),\\n };\\n }\\n\\n state.attributes.popper = {\\n ...state.attributes.popper,\\n 'data-popper-placement': state.placement,\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ComputeStylesModifier = Modifier&lt;'computeStyles', Options&gt;;\\nexport default ({\\n name: 'computeStyles',\\n enabled: true,\\n phase: 'beforeWrite',\\n fn: computeStyles,\\n data: {},\\n}: ComputeStylesModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { popperGenerator, detectOverflow } from './createPopper';\\n\\nimport eventListeners from './modifiers/eventListeners';\\nimport popperOffsets from './modifiers/popperOffsets';\\nimport computeStyles from './modifiers/computeStyles';\\nimport applyStyles from './modifiers/applyStyles';\\n\\nexport type * from './types';\\n\\nconst defaultModifiers = [\\n eventListeners,\\n popperOffsets,\\n computeStyles,\\n applyStyles,\\n];\\n\\nconst createPopper = popperGenerator({ defaultModifiers });\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ModifierArguments, Modifier } from '../types';\\nimport computeOffsets from '../utils/computeOffsets';\\n\\nfunction popperOffsets({ state, name }: ModifierArguments&lt;{||}&gt;) {\\n // Offsets are the actual position the popper needs to have to be\\n // properly positioned near its reference element\\n // This is the most basic placement, and will be adjusted by\\n // the modifiers in the next step\\n state.modifiersData[name] = computeOffsets({\\n reference: state.rects.reference,\\n element: state.rects.popper,\\n strategy: 'absolute',\\n placement: state.placement,\\n });\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type PopperOffsetsModifier = Modifier&lt;'popperOffsets', {||}&gt;;\\nexport default ({\\n name: 'popperOffsets',\\n enabled: true,\\n phase: 'read',\\n fn: popperOffsets,\\n data: {},\\n}: PopperOffsetsModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier, ModifierArguments } from '../types';\\nimport getNodeName from '../dom-utils/getNodeName';\\nimport { isHTMLElement } from '../dom-utils/instanceOf';\\n\\n// This modifier takes the styles prepared by the `computeStyles` modifier\\n// and applies them to the HTMLElements such as popper and arrow\\n\\nfunction applyStyles({ state }: ModifierArguments&lt;{||}&gt;) {\\n Object.keys(state.elements).forEach((name) =&gt; {\\n const style = state.styles[name] || {};\\n\\n const attributes = state.attributes[name] || {};\\n const element = state.elements[name];\\n\\n // arrow is optional + virtual elements\\n if (!isHTMLElement(element) || !getNodeName(element)) {\\n return;\\n }\\n\\n // Flow doesn't support to extend this property, but it's the most\\n // effective way to apply styles to an HTMLElement\\n // $FlowFixMe[cannot-write]\\n Object.assign(element.style, style);\\n\\n Object.keys(attributes).forEach((name) =&gt; {\\n const value = attributes[name];\\n if (value === false) {\\n element.removeAttribute(name);\\n } else {\\n element.setAttribute(name, value === true ? '' : value);\\n }\\n });\\n });\\n}\\n\\nfunction effect({ state }: ModifierArguments&lt;{||}&gt;) {\\n const initialStyles = {\\n popper: {\\n position: state.options.strategy,\\n left: '0',\\n top: '0',\\n margin: '0',\\n },\\n arrow: {\\n position: 'absolute',\\n },\\n reference: {},\\n };\\n\\n Object.assign(state.elements.popper.style, initialStyles.popper);\\n state.styles = initialStyles;\\n\\n if (state.elements.arrow) {\\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\\n }\\n\\n return () =&gt; {\\n Object.keys(state.elements).forEach((name) =&gt; {\\n const element = state.elements[name];\\n const attributes = state.attributes[name] || {};\\n\\n const styleProperties = Object.keys(\\n state.styles.hasOwnProperty(name)\\n ? state.styles[name]\\n : initialStyles[name]\\n );\\n\\n // Set all values to an empty string to unset them\\n const style = styleProperties.reduce((style, property) =&gt; {\\n style[property] = '';\\n return style;\\n }, {});\\n\\n // arrow is optional + virtual elements\\n if (!isHTMLElement(element) || !getNodeName(element)) {\\n return;\\n }\\n\\n Object.assign(element.style, style);\\n\\n Object.keys(attributes).forEach((attribute) =&gt; {\\n element.removeAttribute(attribute);\\n });\\n });\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ApplyStylesModifier = Modifier&lt;'applyStyles', {||}&gt;;\\nexport default ({\\n name: 'applyStyles',\\n enabled: true,\\n phase: 'write',\\n fn: applyStyles,\\n effect,\\n requires: ['computeStyles'],\\n}: ApplyStylesModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { State, SideObject, Padding } from '../types';\\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\\nimport getClippingRect from '../dom-utils/getClippingRect';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\\nimport computeOffsets from './computeOffsets';\\nimport rectToClientRect from './rectToClientRect';\\nimport {\\n clippingParents,\\n reference,\\n popper,\\n bottom,\\n top,\\n right,\\n basePlacements,\\n viewport,\\n} from '../enums';\\nimport { isElement } from '../dom-utils/instanceOf';\\nimport mergePaddingObject from './mergePaddingObject';\\nimport expandToHashMap from './expandToHashMap';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n placement: Placement,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n elementContext: Context,\\n altBoundary: boolean,\\n padding: Padding,\\n};\\n\\nexport default function detectOverflow(\\n state: State,\\n options: $Shape&lt;Options&gt; = {}\\n): SideObject {\\n const {\\n placement = state.placement,\\n boundary = clippingParents,\\n rootBoundary = viewport,\\n elementContext = popper,\\n altBoundary = false,\\n padding = 0,\\n } = options;\\n\\n const paddingObject = mergePaddingObject(\\n typeof padding !== 'number'\\n ? padding\\n : expandToHashMap(padding, basePlacements)\\n );\\n\\n const altContext = elementContext === popper ? reference : popper;\\n\\n const popperRect = state.rects.popper;\\n const element = state.elements[altBoundary ? altContext : elementContext];\\n\\n const clippingClientRect = getClippingRect(\\n isElement(element)\\n ? element\\n : element.contextElement || getDocumentElement(state.elements.popper),\\n boundary,\\n rootBoundary\\n );\\n\\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\\n\\n const popperOffsets = computeOffsets({\\n reference: referenceClientRect,\\n element: popperRect,\\n strategy: 'absolute',\\n placement,\\n });\\n\\n const popperClientRect = rectToClientRect({\\n ...popperRect,\\n ...popperOffsets,\\n });\\n\\n const elementClientRect =\\n elementContext === popper ? popperClientRect : referenceClientRect;\\n\\n // positive = overflowing the clipping rect\\n // 0 or negative = within the clipping rect\\n const overflowOffsets = {\\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\\n bottom:\\n elementClientRect.bottom -\\n clippingClientRect.bottom +\\n paddingObject.bottom,\\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\\n right:\\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\\n };\\n\\n const offsetData = state.modifiersData.offset;\\n\\n // Offsets can be applied only to the popper element\\n if (elementContext === popper &amp;&amp; offsetData) {\\n const offset = offsetData[placement];\\n\\n Object.keys(overflowOffsets).forEach((key) =&gt; {\\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\\n overflowOffsets[key] += offset[axis] * multiply;\\n });\\n }\\n\\n return overflowOffsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function expandToHashMap&lt;\\n T: number | string | boolean,\\n K: string\\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\\n return keys.reduce((hashMap, key) =&gt; {\\n hashMap[key] = value;\\n return hashMap;\\n }, {});\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\nimport getFreshSideObject from './getFreshSideObject';\\n\\nexport default function mergePaddingObject(\\n paddingObject: $Shape&lt;SideObject&gt;\\n): SideObject {\\n return {\\n ...getFreshSideObject(),\\n ...paddingObject,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\n\\nexport default function getFreshSideObject(): SideObject {\\n return {\\n top: 0,\\n right: 0,\\n bottom: 0,\\n left: 0,\\n };\\n}\\n\"</span>],<span class=\"code-attr\">\"names\"</span>:[<span class=\"code-string\">\"getWindow\"</span>,<span class=\"code-string\">\"node\"</span>,<span class=\"code-string\">\"window\"</span>,<span class=\"code-string\">\"toString\"</span>,<span class=\"code-string\">\"ownerDocument\"</span>,<span class=\"code-string\">\"defaultView\"</span>,<span class=\"code-string\">\"isElement\"</span>,<span class=\"code-string\">\"Element\"</span>,<span class=\"code-string\">\"isHTMLElement\"</span>,<span class=\"code-string\">\"HTMLElement\"</span>,<span class=\"code-string\">\"isShadowRoot\"</span>,<span class=\"code-string\">\"ShadowRoot\"</span>,<span class=\"code-string\">\"max\"</span>,<span class=\"code-string\">\"Math\"</span>,<span class=\"code-string\">\"min\"</span>,<span class=\"code-string\">\"round\"</span>,<span class=\"code-string\">\"getBoundingClientRect\"</span>,<span class=\"code-string\">\"element\"</span>,<span class=\"code-string\">\"includeScale\"</span>,<span class=\"code-string\">\"rect\"</span>,<span class=\"code-string\">\"scaleX\"</span>,<span class=\"code-string\">\"scaleY\"</span>,<span class=\"code-string\">\"offsetHeight\"</span>,<span class=\"code-string\">\"offsetWidth\"</span>,<span class=\"code-string\">\"width\"</span>,<span class=\"code-string\">\"height\"</span>,<span class=\"code-string\">\"top\"</span>,<span class=\"code-string\">\"right\"</span>,<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-string\">\"left\"</span>,<span class=\"code-string\">\"x\"</span>,<span class=\"code-string\">\"y\"</span>,<span class=\"code-string\">\"getWindowScroll\"</span>,<span class=\"code-string\">\"win\"</span>,<span class=\"code-string\">\"scrollLeft\"</span>,<span class=\"code-string\">\"pageXOffset\"</span>,<span class=\"code-string\">\"scrollTop\"</span>,<span class=\"code-string\">\"pageYOffset\"</span>,<span class=\"code-string\">\"getNodeName\"</span>,<span class=\"code-string\">\"nodeName\"</span>,<span class=\"code-string\">\"toLowerCase\"</span>,<span class=\"code-string\">\"getDocumentElement\"</span>,<span class=\"code-string\">\"document\"</span>,<span class=\"code-string\">\"documentElement\"</span>,<span class=\"code-string\">\"getWindowScrollBarX\"</span>,<span class=\"code-string\">\"getComputedStyle\"</span>,<span class=\"code-string\">\"isScrollParent\"</span>,<span class=\"code-string\">\"overflow\"</span>,<span class=\"code-string\">\"overflowX\"</span>,<span class=\"code-string\">\"overflowY\"</span>,<span class=\"code-string\">\"test\"</span>,<span class=\"code-string\">\"getCompositeRect\"</span>,<span class=\"code-string\">\"elementOrVirtualElement\"</span>,<span class=\"code-string\">\"offsetParent\"</span>,<span class=\"code-string\">\"isFixed\"</span>,<span class=\"code-string\">\"isOffsetParentAnElement\"</span>,<span class=\"code-string\">\"offsetParentIsScaled\"</span>,<span class=\"code-string\">\"isElementScaled\"</span>,<span class=\"code-string\">\"scroll\"</span>,<span class=\"code-string\">\"offsets\"</span>,<span class=\"code-string\">\"clientLeft\"</span>,<span class=\"code-string\">\"clientTop\"</span>,<span class=\"code-string\">\"getParentNode\"</span>,<span class=\"code-string\">\"assignedSlot\"</span>,<span class=\"code-string\">\"parentNode\"</span>,<span class=\"code-string\">\"host\"</span>,<span class=\"code-string\">\"getScrollParent\"</span>,<span class=\"code-string\">\"indexOf\"</span>,<span class=\"code-string\">\"body\"</span>,<span class=\"code-string\">\"listScrollParents\"</span>,<span class=\"code-string\">\"list\"</span>,<span class=\"code-string\">\"scrollParent\"</span>,<span class=\"code-string\">\"isBody\"</span>,<span class=\"code-string\">\"_element$ownerDocumen\"</span>,<span class=\"code-string\">\"target\"</span>,<span class=\"code-string\">\"concat\"</span>,<span class=\"code-string\">\"visualViewport\"</span>,<span class=\"code-string\">\"updatedList\"</span>,<span class=\"code-string\">\"isTableElement\"</span>,<span class=\"code-string\">\"getTrueOffsetParent\"</span>,<span class=\"code-string\">\"position\"</span>,<span class=\"code-string\">\"getOffsetParent\"</span>,<span class=\"code-string\">\"isFirefox\"</span>,<span class=\"code-string\">\"navigator\"</span>,<span class=\"code-string\">\"userAgent\"</span>,<span class=\"code-string\">\"currentNode\"</span>,<span class=\"code-string\">\"css\"</span>,<span class=\"code-string\">\"transform\"</span>,<span class=\"code-string\">\"perspective\"</span>,<span class=\"code-string\">\"contain\"</span>,<span class=\"code-string\">\"willChange\"</span>,<span class=\"code-string\">\"filter\"</span>,<span class=\"code-string\">\"getContainingBlock\"</span>,<span class=\"code-string\">\"basePlacements\"</span>,<span class=\"code-string\">\"end\"</span>,<span class=\"code-string\">\"viewport\"</span>,<span class=\"code-string\">\"popper\"</span>,<span class=\"code-string\">\"modifierPhases\"</span>,<span class=\"code-string\">\"order\"</span>,<span class=\"code-string\">\"modifiers\"</span>,<span class=\"code-string\">\"map\"</span>,<span class=\"code-string\">\"Map\"</span>,<span class=\"code-string\">\"visited\"</span>,<span class=\"code-string\">\"Set\"</span>,<span class=\"code-string\">\"result\"</span>,<span class=\"code-string\">\"sort\"</span>,<span class=\"code-string\">\"modifier\"</span>,<span class=\"code-string\">\"add\"</span>,<span class=\"code-string\">\"name\"</span>,<span class=\"code-string\">\"requires\"</span>,<span class=\"code-string\">\"requiresIfExists\"</span>,<span class=\"code-string\">\"forEach\"</span>,<span class=\"code-string\">\"dep\"</span>,<span class=\"code-string\">\"has\"</span>,<span class=\"code-string\">\"depModifier\"</span>,<span class=\"code-string\">\"get\"</span>,<span class=\"code-string\">\"push\"</span>,<span class=\"code-string\">\"set\"</span>,<span class=\"code-string\">\"getBasePlacement\"</span>,<span class=\"code-string\">\"placement\"</span>,<span class=\"code-string\">\"split\"</span>,<span class=\"code-string\">\"rectToClientRect\"</span>,<span class=\"code-string\">\"getClientRectFromMixedType\"</span>,<span class=\"code-string\">\"clippingParent\"</span>,<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"clientWidth\"</span>,<span class=\"code-string\">\"clientHeight\"</span>,<span class=\"code-string\">\"offsetLeft\"</span>,<span class=\"code-string\">\"offsetTop\"</span>,<span class=\"code-string\">\"getViewportRect\"</span>,<span class=\"code-string\">\"getInnerBoundingClientRect\"</span>,<span class=\"code-string\">\"winScroll\"</span>,<span class=\"code-string\">\"scrollWidth\"</span>,<span class=\"code-string\">\"scrollHeight\"</span>,<span class=\"code-string\">\"direction\"</span>,<span class=\"code-string\">\"getDocumentRect\"</span>,<span class=\"code-string\">\"getClippingParents\"</span>,<span class=\"code-string\">\"clippingParents\"</span>,<span class=\"code-string\">\"clipperElement\"</span>,<span class=\"code-string\">\"parent\"</span>,<span class=\"code-string\">\"child\"</span>,<span class=\"code-string\">\"rootNode\"</span>,<span class=\"code-string\">\"getRootNode\"</span>,<span class=\"code-string\">\"contains\"</span>,<span class=\"code-string\">\"next\"</span>,<span class=\"code-string\">\"isSameNode\"</span>,<span class=\"code-string\">\"getVariation\"</span>,<span class=\"code-string\">\"computeOffsets\"</span>,<span class=\"code-string\">\"reference\"</span>,<span class=\"code-string\">\"basePlacement\"</span>,<span class=\"code-string\">\"variation\"</span>,<span class=\"code-string\">\"commonX\"</span>,<span class=\"code-string\">\"commonY\"</span>,<span class=\"code-string\">\"mainAxis\"</span>,<span class=\"code-string\">\"getMainAxisFromPlacement\"</span>,<span class=\"code-string\">\"len\"</span>,<span class=\"code-string\">\"DEFAULT_OPTIONS\"</span>,<span class=\"code-string\">\"strategy\"</span>,<span class=\"code-string\">\"areValidElements\"</span>,<span class=\"code-string\">\"args\"</span>,<span class=\"code-string\">\"some\"</span>,<span class=\"code-string\">\"popperGenerator\"</span>,<span class=\"code-string\">\"generatorOptions\"</span>,<span class=\"code-string\">\"defaultModifiers\"</span>,<span class=\"code-string\">\"defaultOptions\"</span>,<span class=\"code-string\">\"options\"</span>,<span class=\"code-string\">\"fn\"</span>,<span class=\"code-string\">\"pending\"</span>,<span class=\"code-string\">\"state\"</span>,<span class=\"code-string\">\"orderedModifiers\"</span>,<span class=\"code-string\">\"modifiersData\"</span>,<span class=\"code-string\">\"elements\"</span>,<span class=\"code-string\">\"attributes\"</span>,<span class=\"code-string\">\"styles\"</span>,<span class=\"code-string\">\"effectCleanupFns\"</span>,<span class=\"code-string\">\"isDestroyed\"</span>,<span class=\"code-string\">\"instance\"</span>,<span class=\"code-string\">\"setOptions\"</span>,<span class=\"code-string\">\"setOptionsAction\"</span>,<span class=\"code-string\">\"cleanupModifierEffects\"</span>,<span class=\"code-string\">\"scrollParents\"</span>,<span class=\"code-string\">\"contextElement\"</span>,<span class=\"code-string\">\"merged\"</span>,<span class=\"code-string\">\"reduce\"</span>,<span class=\"code-string\">\"acc\"</span>,<span class=\"code-string\">\"phase\"</span>,<span class=\"code-string\">\"orderModifiers\"</span>,<span class=\"code-string\">\"current\"</span>,<span class=\"code-string\">\"existing\"</span>,<span class=\"code-string\">\"data\"</span>,<span class=\"code-string\">\"Object\"</span>,<span class=\"code-string\">\"keys\"</span>,<span class=\"code-string\">\"key\"</span>,<span class=\"code-string\">\"m\"</span>,<span class=\"code-string\">\"enabled\"</span>,<span class=\"code-string\">\"effect\"</span>,<span class=\"code-string\">\"cleanupFn\"</span>,<span class=\"code-string\">\"noopFn\"</span>,<span class=\"code-string\">\"update\"</span>,<span class=\"code-string\">\"forceUpdate\"</span>,<span class=\"code-string\">\"clientRect\"</span>,<span class=\"code-string\">\"rects\"</span>,<span class=\"code-string\">\"abs\"</span>,<span class=\"code-string\">\"reset\"</span>,<span class=\"code-string\">\"index\"</span>,<span class=\"code-string\">\"length\"</span>,<span class=\"code-string\">\"Promise\"</span>,<span class=\"code-string\">\"resolve\"</span>,<span class=\"code-string\">\"then\"</span>,<span class=\"code-string\">\"undefined\"</span>,<span class=\"code-string\">\"destroy\"</span>,<span class=\"code-string\">\"onFirstUpdate\"</span>,<span class=\"code-string\">\"passive\"</span>,<span class=\"code-string\">\"unsetSides\"</span>,<span class=\"code-string\">\"mapToStyles\"</span>,<span class=\"code-string\">\"popperRect\"</span>,<span class=\"code-string\">\"gpuAcceleration\"</span>,<span class=\"code-string\">\"adaptive\"</span>,<span class=\"code-string\">\"roundOffsets\"</span>,<span class=\"code-string\">\"hasX\"</span>,<span class=\"code-string\">\"hasOwnProperty\"</span>,<span class=\"code-string\">\"hasY\"</span>,<span class=\"code-string\">\"sideX\"</span>,<span class=\"code-string\">\"sideY\"</span>,<span class=\"code-string\">\"heightProp\"</span>,<span class=\"code-string\">\"widthProp\"</span>,<span class=\"code-string\">\"commonStyles\"</span>,<span class=\"code-string\">\"dpr\"</span>,<span class=\"code-string\">\"devicePixelRatio\"</span>,<span class=\"code-string\">\"roundOffsetsByDPR\"</span>,<span class=\"code-string\">\"resize\"</span>,<span class=\"code-string\">\"addEventListener\"</span>,<span class=\"code-string\">\"removeEventListener\"</span>,<span class=\"code-string\">\"popperOffsets\"</span>,<span class=\"code-string\">\"arrow\"</span>,<span class=\"code-string\">\"style\"</span>,<span class=\"code-string\">\"assign\"</span>,<span class=\"code-string\">\"value\"</span>,<span class=\"code-string\">\"removeAttribute\"</span>,<span class=\"code-string\">\"setAttribute\"</span>,<span class=\"code-string\">\"initialStyles\"</span>,<span class=\"code-string\">\"margin\"</span>,<span class=\"code-string\">\"property\"</span>,<span class=\"code-string\">\"attribute\"</span>,<span class=\"code-string\">\"createPopper\"</span>,<span class=\"code-string\">\"boundary\"</span>,<span class=\"code-string\">\"rootBoundary\"</span>,<span class=\"code-string\">\"elementContext\"</span>,<span class=\"code-string\">\"altBoundary\"</span>,<span class=\"code-string\">\"padding\"</span>,<span class=\"code-string\">\"paddingObject\"</span>,<span class=\"code-string\">\"mergePaddingObject\"</span>,<span class=\"code-string\">\"hashMap\"</span>,<span class=\"code-string\">\"altContext\"</span>,<span class=\"code-string\">\"clippingClientRect\"</span>,<span class=\"code-string\">\"mainClippingParents\"</span>,<span class=\"code-string\">\"firstClippingParent\"</span>,<span class=\"code-string\">\"clippingRect\"</span>,<span class=\"code-string\">\"accRect\"</span>,<span class=\"code-string\">\"getClippingRect\"</span>,<span class=\"code-string\">\"referenceClientRect\"</span>,<span class=\"code-string\">\"popperClientRect\"</span>,<span class=\"code-string\">\"elementClientRect\"</span>,<span class=\"code-string\">\"overflowOffsets\"</span>,<span class=\"code-string\">\"offsetData\"</span>,<span class=\"code-string\">\"offset\"</span>,<span class=\"code-string\">\"multiply\"</span>,<span class=\"code-string\">\"axis\"</span>],<span class=\"code-attr\">\"mappings\"</span>:<span class=\"code-string\">\";;;;8OAIe,SAASA,EAAUC,MACpB,MAARA,SACKC,UAGe,oBAApBD,EAAKE,WAAkC,KACnCC,EAAgBH,EAAKG,qBACpBA,GAAgBA,EAAcC,aAAwBH,cAGxDD,ECTT,SAASK,EAAUL,UAEVA,aADYD,EAAUC,GAAMM,SACEN,aAAgBM,QAKvD,SAASC,EAAcP,UAEdA,aADYD,EAAUC,GAAMQ,aACER,aAAgBQ,YAKvD,SAASC,EAAaT,SAEM,oBAAfU,aAIJV,aADYD,EAAUC,GAAMU,YACEV,aAAgBU,YCxBhD,IAAMC,EAAMC,KAAKD,IACXE,EAAMD,KAAKC,IACXC,EAAQF,KAAKE,MCEX,SAASC,EACtBC,EACAC,YAAAA,IAAAA,GAAwB,OAElBC,EAAOF,EAAQD,wBACjBI,EAAS,EACTC,EAAS,KAETb,EAAcS,IAAYC,EAAc,KACpCI,EAAeL,EAAQK,aACvBC,EAAcN,EAAQM,YAIxBA,EAAc,IAChBH,EAASL,EAAMI,EAAKK,OAASD,GAAe,GAE1CD,EAAe,IACjBD,EAASN,EAAMI,EAAKM,QAAUH,GAAgB,SAI3C,CACLE,MAAOL,EAAKK,MAAQJ,EACpBK,OAAQN,EAAKM,OAASJ,EACtBK,IAAKP,EAAKO,IAAML,EAChBM,MAAOR,EAAKQ,MAAQP,EACpBQ,OAAQT,EAAKS,OAASP,EACtBQ,KAAMV,EAAKU,KAAOT,EAClBU,EAAGX,EAAKU,KAAOT,EACfW,EAAGZ,EAAKO,IAAML,GC/BH,SAASW,EAAgB/B,OAChCgC,EAAMjC,EAAUC,SAIf,CACLiC,WAJiBD,EAAIE,YAKrBC,UAJgBH,EAAII,aCJT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E,QAChEqJ,EACAC,GAGIc,EAAsBpP,EAAsBwJ,EAAMG,SAASvB,WAE3DqF,EAAgBtF,EAAe,CACnCC,UAAWgH,EACXnP,QAASsM,EACT1D,SAAU,WACVtC,UAAAA,IAGI8I,EAAmB5I,mBACpB8F,EACAkB,IAGC6B,EACJf,IAAmBvJ,EAASqK,EAAmBD,EAI3CG,EAAkB,CACtB7O,IAAKoO,EAAmBpO,IAAM4O,EAAkB5O,IAAMgO,EAAchO,IACpEE,OACE0O,EAAkB1O,OAClBkO,EAAmBlO,OACnB8N,EAAc9N,OAChBC,KAAMiO,EAAmBjO,KAAOyO,EAAkBzO,KAAO6N,EAAc7N,KACvEF,MACE2O,EAAkB3O,MAAQmO,EAAmBnO,MAAQ+N,EAAc/N,OAGjE6O,EAAahG,EAAME,cAAc+F,UAGnClB,IAAmBvJ,GAAUwK,EAAY,KACrCC,EAASD,EAAWjJ,GAE1BuE,OAAOC,KAAKwE,GAAiBxJ,SAAQ,SAACiF,OAC9B0E,EAAW,CAAC/O,EAAOC,GAAQuC,QAAQ6H,IAAQ,EAAI,GAAK,EACpD2E,EAAO,CAACjP,EAAKE,GAAQuC,QAAQ6H,IAAQ,EAAI,IAAM,IACrDuE,EAAgBvE,IAAQyE,EAAOE,GAAQD,YAIpCH\"</span>}"]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper-lite.min.js.map</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>77 kB</span><span>Source Map (JSON)</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper-lite.min.js.map" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code>{<span class="code-attr">"version"</span>:<span class="code-number">3</span>,<span class="code-attr">"file"</span>:<span class="code-string">"popper-lite.min.js"</span>,<span class="code-attr">"sources"</span>:[<span class="code-string">"../../src/dom-utils/getWindow.js"</span>,<span class="code-string">"../../src/dom-utils/instanceOf.js"</span>,<span class="code-string">"../../src/utils/math.js"</span>,<span class="code-string">"../../src/dom-utils/getBoundingClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeName.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentElement.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScrollBarX.js"</span>,<span class="code-string">"../../src/dom-utils/getComputedStyle.js"</span>,<span class="code-string">"../../src/dom-utils/isScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/getCompositeRect.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getHTMLElementScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getParentNode.js"</span>,<span class="code-string">"../../src/dom-utils/getScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/listScrollParents.js"</span>,<span class="code-string">"../../src/dom-utils/isTableElement.js"</span>,<span class="code-string">"../../src/dom-utils/getOffsetParent.js"</span>,<span class="code-string">"../../src/enums.js"</span>,<span class="code-string">"../../src/utils/orderModifiers.js"</span>,<span class="code-string">"../../src/utils/getBasePlacement.js"</span>,<span class="code-string">"../../src/utils/rectToClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getClippingRect.js"</span>,<span class="code-string">"../../src/dom-utils/getViewportRect.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentRect.js"</span>,<span class="code-string">"../../src/dom-utils/contains.js"</span>,<span class="code-string">"../../src/utils/getVariation.js"</span>,<span class="code-string">"../../src/utils/computeOffsets.js"</span>,<span class="code-string">"../../src/utils/getMainAxisFromPlacement.js"</span>,<span class="code-string">"../../src/createPopper.js"</span>,<span class="code-string">"../../src/utils/debounce.js"</span>,<span class="code-string">"../../src/utils/mergeByName.js"</span>,<span class="code-string">"../../src/dom-utils/getLayoutRect.js"</span>,<span class="code-string">"../../src/modifiers/eventListeners.js"</span>,<span class="code-string">"../../src/modifiers/computeStyles.js"</span>,<span class="code-string">"../../src/popper-lite.js"</span>,<span class="code-string">"../../src/modifiers/popperOffsets.js"</span>,<span class="code-string">"../../src/modifiers/applyStyles.js"</span>,<span class="code-string">"../../src/utils/detectOverflow.js"</span>,<span class="code-string">"../../src/utils/expandToHashMap.js"</span>,<span class="code-string">"../../src/utils/mergePaddingObject.js"</span>,<span class="code-string">"../../src/utils/getFreshSideObject.js"</span>],<span class="code-attr">"sourcesContent"</span>:[<span class="code-string">"// @flow\nimport type { Window } from '../types';\ndeclare function getWindow(node: Node | Window): Window;\n\nexport default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n const ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\n Element);\nfunction isElement(node) {\n const OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\n HTMLElement);\nfunction isHTMLElement(node) {\n const OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\n ShadowRoot);\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n const OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };\n"</span>,<span class="code-string">"// @flow\nexport const max = Math.max;\nexport const min = Math.min;\nexport const round = Math.round;\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject, VirtualElement } from '../types';\nimport { isHTMLElement } from './instanceOf';\nimport { round } from '../utils/math';\n\nexport default function getBoundingClientRect(\n element: Element | VirtualElement,\n includeScale: boolean = false\n): ClientRectObject {\n const rect = element.getBoundingClientRect();\n let scaleX = 1;\n let scaleY = 1;\n\n if (isHTMLElement(element) &amp;&amp; includeScale) {\n const offsetHeight = element.offsetHeight;\n const offsetWidth = element.offsetWidth;\n\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\n // Fallback to 1 in case both values are `0`\n if (offsetWidth &gt; 0) {\n scaleX = round(rect.width) / offsetWidth || 1;\n }\n if (offsetHeight &gt; 0) {\n scaleY = round(rect.height) / offsetHeight || 1;\n }\n }\n\n return {\n width: rect.width / scaleX,\n height: rect.height / scaleY,\n top: rect.top / scaleY,\n right: rect.right / scaleX,\n bottom: rect.bottom / scaleY,\n left: rect.left / scaleX,\n x: rect.left / scaleX,\n y: rect.top / scaleY,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport type { Window } from '../types';\n\nexport default function getWindowScroll(node: Node | Window) {\n const win = getWindow(node);\n const scrollLeft = win.pageXOffset;\n const scrollTop = win.pageYOffset;\n\n return {\n scrollLeft,\n scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Window } from '../types';\n\nexport default function getNodeName(element: ?Node | Window): ?string {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}\n"</span>,<span class="code-string">"// @flow\nimport { isElement } from './instanceOf';\nimport type { Window } from '../types';\n\nexport default function getDocumentElement(\n element: Element | Window\n): HTMLElement {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return (\n (isElement(element)\n ? element.ownerDocument\n : // $FlowFixMe[prop-missing]\n element.document) || window.document\n ).documentElement;\n}\n"</span>,<span class="code-string">"// @flow\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScroll from './getWindowScroll';\n\nexport default function getWindowScrollBarX(element: Element): number {\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return (\n getBoundingClientRect(getDocumentElement(element)).left +\n getWindowScroll(element).scrollLeft\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\nexport default function getComputedStyle(\n element: Element\n): CSSStyleDeclaration {\n return getWindow(element).getComputedStyle(element);\n}\n"</span>,<span class="code-string">"// @flow\nimport getComputedStyle from './getComputedStyle';\n\nexport default function isScrollParent(element: HTMLElement): boolean {\n // Firefox wants us to check `-x` and `-y` variations as well\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, VirtualElement, Window } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getNodeScroll from './getNodeScroll';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getDocumentElement from './getDocumentElement';\nimport isScrollParent from './isScrollParent';\nimport { round } from '../utils/math';\n\nfunction isElementScaled(element: HTMLElement) {\n const rect = element.getBoundingClientRect();\n const scaleX = round(rect.width) / element.offsetWidth || 1;\n const scaleY = round(rect.height) / element.offsetHeight || 1;\n\n return scaleX !== 1 || scaleY !== 1;\n}\n\n// Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\nexport default function getCompositeRect(\n elementOrVirtualElement: Element | VirtualElement,\n offsetParent: Element | Window,\n isFixed: boolean = false\n): Rect {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const offsetParentIsScaled =\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const rect = getBoundingClientRect(\n elementOrVirtualElement,\n offsetParentIsScaled\n );\n\n let scroll = { scrollLeft: 0, scrollTop: 0 };\n let offsets = { x: 0, y: 0 };\n\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\n if (\n getNodeName(offsetParent) !== 'body' ||\n // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)\n ) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindowScroll from './getWindowScroll';\nimport getWindow from './getWindow';\nimport { isHTMLElement } from './instanceOf';\nimport getHTMLElementScroll from './getHTMLElementScroll';\nimport type { Window } from '../types';\n\nexport default function getNodeScroll(node: Node | Window) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function getHTMLElementScroll(element: HTMLElement) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\nimport getDocumentElement from './getDocumentElement';\nimport { isShadowRoot } from './instanceOf';\n\nexport default function getParentNode(element: Node | ShadowRoot): Node {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || // DOM Element detected\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getParentNode from './getParentNode';\nimport isScrollParent from './isScrollParent';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\n\nexport default function getScrollParent(node: Node): HTMLElement {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}\n"</span>,<span class="code-string">"// @flow\nimport getScrollParent from './getScrollParent';\nimport getParentNode from './getParentNode';\nimport getWindow from './getWindow';\nimport type { Window, VisualViewport } from '../types';\nimport isScrollParent from './isScrollParent';\n\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\nexport default function listScrollParents(\n element: Node,\n list: Array&lt;Element | Window&gt; = []\n): Array&lt;Element | Window | VisualViewport&gt; {\n const scrollParent = getScrollParent(element);\n const isBody = scrollParent === element.ownerDocument?.body;\n const win = getWindow(scrollParent);\n const target = isBody\n ? [win].concat(\n win.visualViewport || [],\n isScrollParent(scrollParent) ? scrollParent : []\n )\n : scrollParent;\n const updatedList = list.concat(target);\n\n return isBody\n ? updatedList\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\n\nexport default function isTableElement(element: Element): boolean {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getNodeName from './getNodeName';\nimport getComputedStyle from './getComputedStyle';\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\nimport isTableElement from './isTableElement';\nimport getParentNode from './getParentNode';\n\nfunction getTrueOffsetParent(element: Element): ?Element {\n if (\n !isHTMLElement(element) ||\n // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed'\n ) {\n return null;\n }\n\n return element.offsetParent;\n}\n\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\nfunction getContainingBlock(element: Element) {\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\n\n if (isIE &amp;&amp; isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n const elementCss = getComputedStyle(element);\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n let currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (\n isHTMLElement(currentNode) &amp;&amp;\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\n ) {\n const css = getComputedStyle(currentNode);\n\n // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n if (\n css.transform !== 'none' ||\n css.perspective !== 'none' ||\n css.contain === 'paint' ||\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\n ) {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nexport default function getOffsetParent(element: Element) {\n const window = getWindow(element);\n\n let offsetParent = getTrueOffsetParent(element);\n\n while (\n offsetParent &amp;&amp;\n isTableElement(offsetParent) &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'\n ) {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (\n offsetParent &amp;&amp;\n (getNodeName(offsetParent) === 'html' ||\n (getNodeName(offsetParent) === 'body' &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'))\n ) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n"</span>,<span class="code-string">"// @flow\nexport const top: 'top' = 'top';\nexport const bottom: 'bottom' = 'bottom';\nexport const right: 'right' = 'right';\nexport const left: 'left' = 'left';\nexport const auto: 'auto' = 'auto';\nexport type BasePlacement =\n | typeof top\n | typeof bottom\n | typeof right\n | typeof left;\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\n\nexport const start: 'start' = 'start';\nexport const end: 'end' = 'end';\nexport type Variation = typeof start | typeof end;\n\nexport const clippingParents: 'clippingParents' = 'clippingParents';\nexport const viewport: 'viewport' = 'viewport';\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\nexport type RootBoundary = typeof viewport | 'document';\n\nexport const popper: 'popper' = 'popper';\nexport const reference: 'reference' = 'reference';\nexport type Context = typeof popper | typeof reference;\n\nexport type VariationPlacement =\n | 'top-start'\n | 'top-end'\n | 'bottom-start'\n | 'bottom-end'\n | 'right-start'\n | 'right-end'\n | 'left-start'\n | 'left-end';\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\n\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\n []\n);\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\n (\n acc: Array&lt;Placement&gt;,\n placement: BasePlacement | typeof auto\n ): Array&lt;Placement&gt; =&gt;\n acc.concat([\n placement,\n (`${placement}-${start}`: any),\n (`${placement}-${end}`: any),\n ]),\n []\n);\n\n// modifiers that need to read the DOM\nexport const beforeRead: 'beforeRead' = 'beforeRead';\nexport const read: 'read' = 'read';\nexport const afterRead: 'afterRead' = 'afterRead';\n// pure-logic modifiers\nexport const beforeMain: 'beforeMain' = 'beforeMain';\nexport const main: 'main' = 'main';\nexport const afterMain: 'afterMain' = 'afterMain';\n// modifier with the purpose to write to the DOM (or write into a framework state)\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\nexport const write: 'write' = 'write';\nexport const afterWrite: 'afterWrite' = 'afterWrite';\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\n beforeRead,\n read,\n afterRead,\n beforeMain,\n main,\n afterMain,\n beforeWrite,\n write,\n afterWrite,\n];\n\nexport type ModifierPhases =\n | typeof beforeRead\n | typeof read\n | typeof afterRead\n | typeof beforeMain\n | typeof main\n | typeof afterMain\n | typeof beforeWrite\n | typeof write\n | typeof afterWrite;\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\nimport { modifierPhases } from '../enums';\n\n// source: https://stackoverflow.com/questions/49875255\nfunction order(modifiers) {\n const map = new Map();\n const visited = new Set();\n const result = [];\n\n modifiers.forEach(modifier =&gt; {\n map.set(modifier.name, modifier);\n });\n\n // On visiting object, check for its dependencies and visit them recursively\n function sort(modifier: Modifier&lt;any, any&gt;) {\n visited.add(modifier.name);\n\n const requires = [\n ...(modifier.requires || []),\n ...(modifier.requiresIfExists || []),\n ];\n\n requires.forEach(dep =&gt; {\n if (!visited.has(dep)) {\n const depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n\n result.push(modifier);\n }\n\n modifiers.forEach(modifier =&gt; {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n\n return result;\n}\n\nexport default function orderModifiers(\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\n // order based on dependencies\n const orderedModifiers = order(modifiers);\n\n // order based on phase\n return modifierPhases.reduce((acc, phase) =&gt; {\n return acc.concat(\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\n );\n }, []);\n}\n"</span>,<span class="code-string">"// @flow\nimport { type BasePlacement, type Placement, auto } from '../enums';\n\nexport default function getBasePlacement(\n placement: Placement | typeof auto\n): BasePlacement {\n return (placement.split('-')[0]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, ClientRectObject } from '../types';\n\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\n return {\n ...rect,\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject } from '../types';\nimport type { Boundary, RootBoundary } from '../enums';\nimport { viewport } from '../enums';\nimport getViewportRect from './getViewportRect';\nimport getDocumentRect from './getDocumentRect';\nimport listScrollParents from './listScrollParents';\nimport getOffsetParent from './getOffsetParent';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport { isElement, isHTMLElement } from './instanceOf';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getParentNode from './getParentNode';\nimport contains from './contains';\nimport getNodeName from './getNodeName';\nimport rectToClientRect from '../utils/rectToClientRect';\nimport { max, min } from '../utils/math';\n\nfunction getInnerBoundingClientRect(element: Element) {\n const rect = getBoundingClientRect(element);\n\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n\n return rect;\n}\n\nfunction getClientRectFromMixedType(\n element: Element,\n clippingParent: Element | RootBoundary\n): ClientRectObject {\n return clippingParent === viewport\n ? rectToClientRect(getViewportRect(element))\n : isElement(clippingParent)\n ? getInnerBoundingClientRect(clippingParent)\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n}\n\n// A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\n const clippingParents = listScrollParents(getParentNode(element));\n const canEscapeClipping =\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\n const clipperElement =\n canEscapeClipping &amp;&amp; isHTMLElement(element)\n ? getOffsetParent(element)\n : element;\n\n if (!isElement(clipperElement)) {\n return [];\n }\n\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n return clippingParents.filter(\n (clippingParent) =&gt;\n isElement(clippingParent) &amp;&amp;\n contains(clippingParent, clipperElement) &amp;&amp;\n getNodeName(clippingParent) !== 'body'\n );\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping parents\nexport default function getClippingRect(\n element: Element,\n boundary: Boundary,\n rootBoundary: RootBoundary\n): ClientRectObject {\n const mainClippingParents =\n boundary === 'clippingParents'\n ? getClippingParents(element)\n : [].concat(boundary);\n const clippingParents = [...mainClippingParents, rootBoundary];\n const firstClippingParent = clippingParents[0];\n\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\n const rect = getClientRectFromMixedType(element, clippingParent);\n\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n\n return clippingRect;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScrollBarX from './getWindowScrollBarX';\n\nexport default function getViewportRect(element: Element) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n\n // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\n\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width,\n height,\n x: x + getWindowScrollBarX(element),\n y,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getWindowScroll from './getWindowScroll';\nimport { max } from '../utils/math';\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\nexport default function getDocumentRect(element: HTMLElement): Rect {\n const html = getDocumentElement(element);\n const winScroll = getWindowScroll(element);\n const body = element.ownerDocument?.body;\n\n const width = max(\n html.scrollWidth,\n html.clientWidth,\n body ? body.scrollWidth : 0,\n body ? body.clientWidth : 0\n );\n const height = max(\n html.scrollHeight,\n html.clientHeight,\n body ? body.scrollHeight : 0,\n body ? body.clientHeight : 0\n );\n\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n const y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return { width, height, x, y };\n}\n"</span>,<span class="code-string">"// @flow\nimport { isShadowRoot } from './instanceOf';\n\nexport default function contains(parent: Element, child: Element) {\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\n\n // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n }\n // then fallback to custom implementation with Shadow DOM support\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\n let next = child;\n do {\n if (next &amp;&amp; parent.isSameNode(next)) {\n return true;\n }\n // $FlowFixMe[prop-missing]: need a better way to handle this...\n next = next.parentNode || next.host;\n } while (next);\n }\n\n // Give up, the result is false\n return false;\n}\n"</span>,<span class="code-string">"// @flow\nimport { type Variation, type Placement } from '../enums';\n\nexport default function getVariation(placement: Placement): ?Variation {\n return (placement.split('-')[1]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport getBasePlacement from './getBasePlacement';\nimport getVariation from './getVariation';\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\nimport type {\n Rect,\n PositioningStrategy,\n Offsets,\n ClientRectObject,\n} from '../types';\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\n\nexport default function computeOffsets({\n reference,\n element,\n placement,\n}: {\n reference: Rect | ClientRectObject,\n element: Rect | ClientRectObject,\n strategy: PositioningStrategy,\n placement?: Placement,\n}): Offsets {\n const basePlacement = placement ? getBasePlacement(placement) : null;\n const variation = placement ? getVariation(placement) : null;\n const commonX = reference.x + reference.width / 2 - element.width / 2;\n const commonY = reference.y + reference.height / 2 - element.height / 2;\n\n let offsets;\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height,\n };\n break;\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height,\n };\n break;\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY,\n };\n break;\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY,\n };\n break;\n default:\n offsets = {\n x: reference.x,\n y: reference.y,\n };\n }\n\n const mainAxis = basePlacement\n ? getMainAxisFromPlacement(basePlacement)\n : null;\n\n if (mainAxis != null) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] =\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n case end:\n offsets[mainAxis] =\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n default:\n }\n }\n\n return offsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nexport default function getMainAxisFromPlacement(\n placement: Placement\n): 'x' | 'y' {\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\n}\n"</span>,<span class="code-string">"// @flow\nimport type {\n State,\n OptionsGeneric,\n Modifier,\n Instance,\n VirtualElement,\n} from './types';\nimport getCompositeRect from './dom-utils/getCompositeRect';\nimport getLayoutRect from './dom-utils/getLayoutRect';\nimport listScrollParents from './dom-utils/listScrollParents';\nimport getOffsetParent from './dom-utils/getOffsetParent';\nimport getComputedStyle from './dom-utils/getComputedStyle';\nimport orderModifiers from './utils/orderModifiers';\nimport debounce from './utils/debounce';\nimport validateModifiers from './utils/validateModifiers';\nimport uniqueBy from './utils/uniqueBy';\nimport getBasePlacement from './utils/getBasePlacement';\nimport mergeByName from './utils/mergeByName';\nimport detectOverflow from './utils/detectOverflow';\nimport { isElement } from './dom-utils/instanceOf';\nimport { auto } from './enums';\n\nconst INVALID_ELEMENT_ERROR =\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nconst INFINITE_LOOP_ERROR =\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\n\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute',\n};\n\ntype PopperGeneratorArgs = {\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\n};\n\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\n return !args.some(\n (element) =&gt;\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\n );\n}\n\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\n const {\n defaultModifiers = [],\n defaultOptions = DEFAULT_OPTIONS,\n } = generatorOptions;\n\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\n reference: Element | VirtualElement,\n popper: HTMLElement,\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\n ): Instance {\n let state: $Shape&lt;State&gt; = {\n placement: 'bottom',\n orderedModifiers: [],\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\n modifiersData: {},\n elements: {\n reference,\n popper,\n },\n attributes: {},\n styles: {},\n };\n\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\n let isDestroyed = false;\n\n const instance = {\n state,\n setOptions(setOptionsAction) {\n const options =\n typeof setOptionsAction === 'function'\n ? setOptionsAction(state.options)\n : setOptionsAction;\n\n cleanupModifierEffects();\n\n state.options = {\n // $FlowFixMe[exponential-spread]\n ...defaultOptions,\n ...state.options,\n ...options,\n };\n\n state.scrollParents = {\n reference: isElement(reference)\n ? listScrollParents(reference)\n : reference.contextElement\n ? listScrollParents(reference.contextElement)\n : [],\n popper: listScrollParents(popper),\n };\n\n // Orders the modifiers based on their dependencies and `phase`\n // properties\n const orderedModifiers = orderModifiers(\n mergeByName([...defaultModifiers, ...state.options.modifiers])\n );\n\n // Strip out disabled modifiers\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\n\n // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n if (__DEV__) {\n const modifiers = uniqueBy(\n [...orderedModifiers, ...state.options.modifiers],\n ({ name }) =&gt; name\n );\n\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n const flipModifier = state.orderedModifiers.find(\n ({ name }) =&gt; name === 'flip'\n );\n\n if (!flipModifier) {\n console.error(\n [\n 'Popper: \"auto\" placements require the \"flip\" modifier be',\n 'present and enabled to work.',\n ].join(' ')\n );\n }\n }\n\n const {\n marginTop,\n marginRight,\n marginBottom,\n marginLeft,\n } = getComputedStyle(popper);\n\n // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n if (\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\n parseFloat(margin)\n )\n ) {\n console.warn(\n [\n 'Popper: CSS \"margin\" styles cannot be used to apply padding',\n 'between the popper and its reference element or boundary.',\n 'To replicate margin, use the `offset` modifier, as well as',\n 'the `padding` option in the `preventOverflow` and `flip`',\n 'modifiers.',\n ].join(' ')\n );\n }\n }\n\n runModifierEffects();\n\n return instance.update();\n },\n\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n const { reference, popper } = state.elements;\n\n // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return;\n }\n\n // Store the reference and popper rects to be read by modifiers\n state.rects = {\n reference: getCompositeRect(\n reference,\n getOffsetParent(popper),\n state.options.strategy === 'fixed'\n ),\n popper: getLayoutRect(popper),\n };\n\n // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n state.reset = false;\n\n state.placement = state.options.placement;\n\n // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n state.orderedModifiers.forEach(\n (modifier) =&gt;\n (state.modifiersData[modifier.name] = {\n ...modifier.data,\n })\n );\n\n let __debug_loops__ = 0;\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\n if (__DEV__) {\n __debug_loops__ += 1;\n if (__debug_loops__ &gt; 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n const { fn, options = {}, name } = state.orderedModifiers[index];\n\n if (typeof fn === 'function') {\n state = fn({ state, options, name, instance }) || state;\n }\n }\n },\n\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\n () =&gt;\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\n instance.forceUpdate();\n resolve(state);\n })\n ),\n\n destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n },\n };\n\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return instance;\n }\n\n instance.setOptions(options).then((state) =&gt; {\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n });\n\n // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n function runModifierEffects() {\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\n if (typeof effect === 'function') {\n const cleanupFn = effect({ state, name, instance, options });\n const noopFn = () =&gt; {};\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach((fn) =&gt; fn());\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\n\nexport const createPopper = popperGenerator();\n\n// eslint-disable-next-line import/no-unused-modules\nexport { detectOverflow };\n"</span>,<span class="code-string">"// @flow\n\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\n let pending;\n return () =&gt; {\n if (!pending) {\n pending = new Promise&lt;T&gt;(resolve =&gt; {\n Promise.resolve().then(() =&gt; {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\n\nexport default function mergeByName(\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\n const merged = modifiers.reduce((merged, current) =&gt; {\n const existing = merged[current.name];\n merged[current.name] = existing\n ? {\n ...existing,\n ...current,\n options: { ...existing.options, ...current.options },\n data: { ...existing.data, ...current.data },\n }\n : current;\n return merged;\n }, {});\n\n // IE11 does not support Object.values\n return Object.keys(merged).map(key =&gt; merged[key]);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\n\n// Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\nexport default function getLayoutRect(element: HTMLElement): Rect {\n const clientRect = getBoundingClientRect(element);\n\n // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) &lt;= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) &lt;= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width,\n height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { ModifierArguments, Modifier } from '../types';\nimport getWindow from '../dom-utils/getWindow';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n scroll: boolean,\n resize: boolean,\n};\n\nconst passive = { passive: true };\n\nfunction effect({ state, instance, options }: ModifierArguments&lt;Options&gt;) {\n const { scroll = true, resize = true } = options;\n\n const window = getWindow(state.elements.popper);\n const scrollParents = [\n ...state.scrollParents.reference,\n ...state.scrollParents.popper,\n ];\n\n if (scroll) {\n scrollParents.forEach(scrollParent =&gt; {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return () =&gt; {\n if (scroll) {\n scrollParents.forEach(scrollParent =&gt; {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type EventListenersModifier = Modifier&lt;'eventListeners', Options&gt;;\nexport default ({\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: () =&gt; {},\n effect,\n data: {},\n}: EventListenersModifier);\n"</span>,<span class="code-string">"// @flow\nimport type {\n PositioningStrategy,\n Offsets,\n Modifier,\n ModifierArguments,\n Rect,\n Window,\n} from '../types';\nimport {\n type BasePlacement,\n type Variation,\n top,\n left,\n right,\n bottom,\n end,\n} from '../enums';\nimport getOffsetParent from '../dom-utils/getOffsetParent';\nimport getWindow from '../dom-utils/getWindow';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getComputedStyle from '../dom-utils/getComputedStyle';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getVariation from '../utils/getVariation';\nimport { round } from '../utils/math';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type RoundOffsets = (\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;\n) =&gt; Offsets;\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n gpuAcceleration: boolean,\n adaptive: boolean,\n roundOffsets?: boolean | RoundOffsets,\n};\n\nconst unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto',\n};\n\n// Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\nfunction roundOffsetsByDPR({ x, y }): Offsets {\n const win: Window = window;\n const dpr = win.devicePixelRatio || 1;\n\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0,\n };\n}\n\nexport function mapToStyles({\n popper,\n popperRect,\n placement,\n variation,\n offsets,\n position,\n gpuAcceleration,\n adaptive,\n roundOffsets,\n isFixed,\n}: {\n popper: HTMLElement,\n popperRect: Rect,\n placement: BasePlacement,\n variation: ?Variation,\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;,\n position: PositioningStrategy,\n gpuAcceleration: boolean,\n adaptive: boolean,\n roundOffsets: boolean | RoundOffsets,\n isFixed: boolean,\n}) {\n let { x = 0, y = 0 } = offsets;\n\n ({ x, y } =\n typeof roundOffsets === 'function'\n ? roundOffsets({ x, y })\n : { x, y });\n\n const hasX = offsets.hasOwnProperty('x');\n const hasY = offsets.hasOwnProperty('y');\n\n let sideX: string = left;\n let sideY: string = top;\n\n const win: Window = window;\n\n if (adaptive) {\n let offsetParent = getOffsetParent(popper);\n let heightProp = 'clientHeight';\n let widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (\n getComputedStyle(offsetParent).position !== 'static' &amp;&amp;\n position === 'absolute'\n ) {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n }\n\n // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n offsetParent = (offsetParent: Element);\n\n if (\n placement === top ||\n ((placement === left || placement === right) &amp;&amp; variation === end)\n ) {\n sideY = bottom;\n const offsetY =\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\n ? win.visualViewport.height\n : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (\n placement === left ||\n ((placement === top || placement === bottom) &amp;&amp; variation === end)\n ) {\n sideX = right;\n const offsetX =\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\n ? win.visualViewport.width\n : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n const commonStyles = {\n position,\n ...(adaptive &amp;&amp; unsetSides),\n };\n\n ({ x, y } =\n roundOffsets === true\n ? roundOffsetsByDPR({ x, y })\n : { x, y });\n\n if (gpuAcceleration) {\n return {\n ...commonStyles,\n [sideY]: hasY ? '0' : '',\n [sideX]: hasX ? '0' : '',\n // Layer acceleration can disable subpixel rendering which causes slightly\n // blurry text on low PPI displays, so we want to use 2D transforms\n // instead\n transform:\n (win.devicePixelRatio || 1) &lt;= 1\n ? `translate(${x}px, ${y}px)`\n : `translate3d(${x}px, ${y}px, 0)`,\n };\n }\n\n return {\n ...commonStyles,\n [sideY]: hasY ? `${y}px` : '',\n [sideX]: hasX ? `${x}px` : '',\n transform: '',\n };\n}\n\nfunction computeStyles({ state, options }: ModifierArguments&lt;Options&gt;) {\n const {\n gpuAcceleration = true,\n adaptive = true,\n // defaults to use builtin `roundOffsetsByDPR`\n roundOffsets = true,\n } = options;\n\n if (__DEV__) {\n const transitionProperty =\n getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (\n adaptive &amp;&amp;\n ['transform', 'top', 'right', 'bottom', 'left'].some(\n (property) =&gt; transitionProperty.indexOf(property) &gt;= 0\n )\n ) {\n console.warn(\n [\n 'Popper: Detected CSS transitions on at least one of the following',\n 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".',\n '\\n\\n',\n 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow',\n 'for smooth transitions, or remove these properties from the CSS',\n 'transition declaration on the popper element if only transitioning',\n 'opacity or background-color for example.',\n '\\n\\n',\n 'We recommend using the popper element as a wrapper around an inner',\n 'element that can have any CSS property transitioned for animations.',\n ].join(' ')\n );\n }\n }\n\n const commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration,\n isFixed: state.options.strategy === 'fixed',\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = {\n ...state.styles.popper,\n ...mapToStyles({\n ...commonStyles,\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive,\n roundOffsets,\n }),\n };\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = {\n ...state.styles.arrow,\n ...mapToStyles({\n ...commonStyles,\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets,\n }),\n };\n }\n\n state.attributes.popper = {\n ...state.attributes.popper,\n 'data-popper-placement': state.placement,\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ComputeStylesModifier = Modifier&lt;'computeStyles', Options&gt;;\nexport default ({\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {},\n}: ComputeStylesModifier);\n"</span>,<span class="code-string">"// @flow\nimport { popperGenerator, detectOverflow } from './createPopper';\n\nimport eventListeners from './modifiers/eventListeners';\nimport popperOffsets from './modifiers/popperOffsets';\nimport computeStyles from './modifiers/computeStyles';\nimport applyStyles from './modifiers/applyStyles';\n\nexport type * from './types';\n\nconst defaultModifiers = [\n eventListeners,\n popperOffsets,\n computeStyles,\n applyStyles,\n];\n\nconst createPopper = popperGenerator({ defaultModifiers });\n\n// eslint-disable-next-line import/no-unused-modules\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\n"</span>,<span class="code-string">"// @flow\nimport type { ModifierArguments, Modifier } from '../types';\nimport computeOffsets from '../utils/computeOffsets';\n\nfunction popperOffsets({ state, name }: ModifierArguments&lt;{||}&gt;) {\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement,\n });\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type PopperOffsetsModifier = Modifier&lt;'popperOffsets', {||}&gt;;\nexport default ({\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {},\n}: PopperOffsetsModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier, ModifierArguments } from '../types';\nimport getNodeName from '../dom-utils/getNodeName';\nimport { isHTMLElement } from '../dom-utils/instanceOf';\n\n// This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles({ state }: ModifierArguments&lt;{||}&gt;) {\n Object.keys(state.elements).forEach((name) =&gt; {\n const style = state.styles[name] || {};\n\n const attributes = state.attributes[name] || {};\n const element = state.elements[name];\n\n // arrow is optional + virtual elements\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n Object.assign(element.style, style);\n\n Object.keys(attributes).forEach((name) =&gt; {\n const value = attributes[name];\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect({ state }: ModifierArguments&lt;{||}&gt;) {\n const initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0',\n },\n arrow: {\n position: 'absolute',\n },\n reference: {},\n };\n\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return () =&gt; {\n Object.keys(state.elements).forEach((name) =&gt; {\n const element = state.elements[name];\n const attributes = state.attributes[name] || {};\n\n const styleProperties = Object.keys(\n state.styles.hasOwnProperty(name)\n ? state.styles[name]\n : initialStyles[name]\n );\n\n // Set all values to an empty string to unset them\n const style = styleProperties.reduce((style, property) =&gt; {\n style[property] = '';\n return style;\n }, {});\n\n // arrow is optional + virtual elements\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n\n Object.keys(attributes).forEach((attribute) =&gt; {\n element.removeAttribute(attribute);\n });\n });\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ApplyStylesModifier = Modifier&lt;'applyStyles', {||}&gt;;\nexport default ({\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect,\n requires: ['computeStyles'],\n}: ApplyStylesModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { State, SideObject, Padding } from '../types';\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\nimport getClippingRect from '../dom-utils/getClippingRect';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\nimport computeOffsets from './computeOffsets';\nimport rectToClientRect from './rectToClientRect';\nimport {\n clippingParents,\n reference,\n popper,\n bottom,\n top,\n right,\n basePlacements,\n viewport,\n} from '../enums';\nimport { isElement } from '../dom-utils/instanceOf';\nimport mergePaddingObject from './mergePaddingObject';\nimport expandToHashMap from './expandToHashMap';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n placement: Placement,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n elementContext: Context,\n altBoundary: boolean,\n padding: Padding,\n};\n\nexport default function detectOverflow(\n state: State,\n options: $Shape&lt;Options&gt; = {}\n): SideObject {\n const {\n placement = state.placement,\n boundary = clippingParents,\n rootBoundary = viewport,\n elementContext = popper,\n altBoundary = false,\n padding = 0,\n } = options;\n\n const paddingObject = mergePaddingObject(\n typeof padding !== 'number'\n ? padding\n : expandToHashMap(padding, basePlacements)\n );\n\n const altContext = elementContext === popper ? reference : popper;\n\n const popperRect = state.rects.popper;\n const element = state.elements[altBoundary ? altContext : elementContext];\n\n const clippingClientRect = getClippingRect(\n isElement(element)\n ? element\n : element.contextElement || getDocumentElement(state.elements.popper),\n boundary,\n rootBoundary\n );\n\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\n\n const popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement,\n });\n\n const popperClientRect = rectToClientRect({\n ...popperRect,\n ...popperOffsets,\n });\n\n const elementClientRect =\n elementContext === popper ? popperClientRect : referenceClientRect;\n\n // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n const overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom:\n elementClientRect.bottom -\n clippingClientRect.bottom +\n paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right:\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\n };\n\n const offsetData = state.modifiersData.offset;\n\n // Offsets can be applied only to the popper element\n if (elementContext === popper &amp;&amp; offsetData) {\n const offset = offsetData[placement];\n\n Object.keys(overflowOffsets).forEach((key) =&gt; {\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function expandToHashMap&lt;\n T: number | string | boolean,\n K: string\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\n return keys.reduce((hashMap, key) =&gt; {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\nimport getFreshSideObject from './getFreshSideObject';\n\nexport default function mergePaddingObject(\n paddingObject: $Shape&lt;SideObject&gt;\n): SideObject {\n return {\n ...getFreshSideObject(),\n ...paddingObject,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\n\nexport default function getFreshSideObject(): SideObject {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n };\n}\n"</span>],<span class="code-attr">"names"</span>:[<span class="code-string">"getWindow"</span>,<span class="code-string">"node"</span>,<span class="code-string">"window"</span>,<span class="code-string">"toString"</span>,<span class="code-string">"ownerDocument"</span>,<span class="code-string">"defaultView"</span>,<span class="code-string">"isElement"</span>,<span class="code-string">"Element"</span>,<span class="code-string">"isHTMLElement"</span>,<span class="code-string">"HTMLElement"</span>,<span class="code-string">"isShadowRoot"</span>,<span class="code-string">"ShadowRoot"</span>,<span class="code-string">"max"</span>,<span class="code-string">"Math"</span>,<span class="code-string">"min"</span>,<span class="code-string">"round"</span>,<span class="code-string">"getBoundingClientRect"</span>,<span class="code-string">"element"</span>,<span class="code-string">"includeScale"</span>,<span class="code-string">"rect"</span>,<span class="code-string">"scaleX"</span>,<span class="code-string">"scaleY"</span>,<span class="code-string">"offsetHeight"</span>,<span class="code-string">"offsetWidth"</span>,<span class="code-string">"width"</span>,<span class="code-string">"height"</span>,<span class="code-string">"top"</span>,<span class="code-string">"right"</span>,<span class="code-string">"bottom"</span>,<span class="code-string">"left"</span>,<span class="code-string">"x"</span>,<span class="code-string">"y"</span>,<span class="code-string">"getWindowScroll"</span>,<span class="code-string">"win"</span>,<span class="code-string">"scrollLeft"</span>,<span class="code-string">"pageXOffset"</span>,<span class="code-string">"scrollTop"</span>,<span class="code-string">"pageYOffset"</span>,<span class="code-string">"getNodeName"</span>,<span class="code-string">"nodeName"</span>,<span class="code-string">"toLowerCase"</span>,<span class="code-string">"getDocumentElement"</span>,<span class="code-string">"document"</span>,<span class="code-string">"documentElement"</span>,<span class="code-string">"getWindowScrollBarX"</span>,<span class="code-string">"getComputedStyle"</span>,<span class="code-string">"isScrollParent"</span>,<span class="code-string">"overflow"</span>,<span class="code-string">"overflowX"</span>,<span class="code-string">"overflowY"</span>,<span class="code-string">"test"</span>,<span class="code-string">"getCompositeRect"</span>,<span class="code-string">"elementOrVirtualElement"</span>,<span class="code-string">"offsetParent"</span>,<span class="code-string">"isFixed"</span>,<span class="code-string">"isOffsetParentAnElement"</span>,<span class="code-string">"offsetParentIsScaled"</span>,<span class="code-string">"isElementScaled"</span>,<span class="code-string">"scroll"</span>,<span class="code-string">"offsets"</span>,<span class="code-string">"clientLeft"</span>,<span class="code-string">"clientTop"</span>,<span class="code-string">"getParentNode"</span>,<span class="code-string">"assignedSlot"</span>,<span class="code-string">"parentNode"</span>,<span class="code-string">"host"</span>,<span class="code-string">"getScrollParent"</span>,<span class="code-string">"indexOf"</span>,<span class="code-string">"body"</span>,<span class="code-string">"listScrollParents"</span>,<span class="code-string">"list"</span>,<span class="code-string">"scrollParent"</span>,<span class="code-string">"isBody"</span>,<span class="code-string">"_element$ownerDocumen"</span>,<span class="code-string">"target"</span>,<span class="code-string">"concat"</span>,<span class="code-string">"visualViewport"</span>,<span class="code-string">"updatedList"</span>,<span class="code-string">"isTableElement"</span>,<span class="code-string">"getTrueOffsetParent"</span>,<span class="code-string">"position"</span>,<span class="code-string">"getOffsetParent"</span>,<span class="code-string">"isFirefox"</span>,<span class="code-string">"navigator"</span>,<span class="code-string">"userAgent"</span>,<span class="code-string">"currentNode"</span>,<span class="code-string">"css"</span>,<span class="code-string">"transform"</span>,<span class="code-string">"perspective"</span>,<span class="code-string">"contain"</span>,<span class="code-string">"willChange"</span>,<span class="code-string">"filter"</span>,<span class="code-string">"getContainingBlock"</span>,<span class="code-string">"basePlacements"</span>,<span class="code-string">"end"</span>,<span class="code-string">"viewport"</span>,<span class="code-string">"popper"</span>,<span class="code-string">"modifierPhases"</span>,<span class="code-string">"order"</span>,<span class="code-string">"modifiers"</span>,<span class="code-string">"map"</span>,<span class="code-string">"Map"</span>,<span class="code-string">"visited"</span>,<span class="code-string">"Set"</span>,<span class="code-string">"result"</span>,<span class="code-string">"sort"</span>,<span class="code-string">"modifier"</span>,<span class="code-string">"add"</span>,<span class="code-string">"name"</span>,<span class="code-string">"requires"</span>,<span class="code-string">"requiresIfExists"</span>,<span class="code-string">"forEach"</span>,<span class="code-string">"dep"</span>,<span class="code-string">"has"</span>,<span class="code-string">"depModifier"</span>,<span class="code-string">"get"</span>,<span class="code-string">"push"</span>,<span class="code-string">"set"</span>,<span class="code-string">"getBasePlacement"</span>,<span class="code-string">"placement"</span>,<span class="code-string">"split"</span>,<span class="code-string">"rectToClientRect"</span>,<span class="code-string">"getClientRectFromMixedType"</span>,<span class="code-string">"clippingParent"</span>,<span class="code-string">"html"</span>,<span class="code-string">"clientWidth"</span>,<span class="code-string">"clientHeight"</span>,<span class="code-string">"offsetLeft"</span>,<span class="code-string">"offsetTop"</span>,<span class="code-string">"getViewportRect"</span>,<span class="code-string">"getInnerBoundingClientRect"</span>,<span class="code-string">"winScroll"</span>,<span class="code-string">"scrollWidth"</span>,<span class="code-string">"scrollHeight"</span>,<span class="code-string">"direction"</span>,<span class="code-string">"getDocumentRect"</span>,<span class="code-string">"getClippingParents"</span>,<span class="code-string">"clippingParents"</span>,<span class="code-string">"clipperElement"</span>,<span class="code-string">"parent"</span>,<span class="code-string">"child"</span>,<span class="code-string">"rootNode"</span>,<span class="code-string">"getRootNode"</span>,<span class="code-string">"contains"</span>,<span class="code-string">"next"</span>,<span class="code-string">"isSameNode"</span>,<span class="code-string">"getVariation"</span>,<span class="code-string">"computeOffsets"</span>,<span class="code-string">"reference"</span>,<span class="code-string">"basePlacement"</span>,<span class="code-string">"variation"</span>,<span class="code-string">"commonX"</span>,<span class="code-string">"commonY"</span>,<span class="code-string">"mainAxis"</span>,<span class="code-string">"getMainAxisFromPlacement"</span>,<span class="code-string">"len"</span>,<span class="code-string">"DEFAULT_OPTIONS"</span>,<span class="code-string">"strategy"</span>,<span class="code-string">"areValidElements"</span>,<span class="code-string">"args"</span>,<span class="code-string">"some"</span>,<span class="code-string">"popperGenerator"</span>,<span class="code-string">"generatorOptions"</span>,<span class="code-string">"defaultModifiers"</span>,<span class="code-string">"defaultOptions"</span>,<span class="code-string">"options"</span>,<span class="code-string">"fn"</span>,<span class="code-string">"pending"</span>,<span class="code-string">"state"</span>,<span class="code-string">"orderedModifiers"</span>,<span class="code-string">"modifiersData"</span>,<span class="code-string">"elements"</span>,<span class="code-string">"attributes"</span>,<span class="code-string">"styles"</span>,<span class="code-string">"effectCleanupFns"</span>,<span class="code-string">"isDestroyed"</span>,<span class="code-string">"instance"</span>,<span class="code-string">"setOptions"</span>,<span class="code-string">"setOptionsAction"</span>,<span class="code-string">"cleanupModifierEffects"</span>,<span class="code-string">"scrollParents"</span>,<span class="code-string">"contextElement"</span>,<span class="code-string">"merged"</span>,<span class="code-string">"reduce"</span>,<span class="code-string">"acc"</span>,<span class="code-string">"phase"</span>,<span class="code-string">"orderModifiers"</span>,<span class="code-string">"current"</span>,<span class="code-string">"existing"</span>,<span class="code-string">"data"</span>,<span class="code-string">"Object"</span>,<span class="code-string">"keys"</span>,<span class="code-string">"key"</span>,<span class="code-string">"m"</span>,<span class="code-string">"enabled"</span>,<span class="code-string">"effect"</span>,<span class="code-string">"cleanupFn"</span>,<span class="code-string">"noopFn"</span>,<span class="code-string">"update"</span>,<span class="code-string">"forceUpdate"</span>,<span class="code-string">"clientRect"</span>,<span class="code-string">"rects"</span>,<span class="code-string">"abs"</span>,<span class="code-string">"reset"</span>,<span class="code-string">"index"</span>,<span class="code-string">"length"</span>,<span class="code-string">"Promise"</span>,<span class="code-string">"resolve"</span>,<span class="code-string">"then"</span>,<span class="code-string">"undefined"</span>,<span class="code-string">"destroy"</span>,<span class="code-string">"onFirstUpdate"</span>,<span class="code-string">"passive"</span>,<span class="code-string">"unsetSides"</span>,<span class="code-string">"mapToStyles"</span>,<span class="code-string">"popperRect"</span>,<span class="code-string">"gpuAcceleration"</span>,<span class="code-string">"adaptive"</span>,<span class="code-string">"roundOffsets"</span>,<span class="code-string">"hasX"</span>,<span class="code-string">"hasOwnProperty"</span>,<span class="code-string">"hasY"</span>,<span class="code-string">"sideX"</span>,<span class="code-string">"sideY"</span>,<span class="code-string">"heightProp"</span>,<span class="code-string">"widthProp"</span>,<span class="code-string">"commonStyles"</span>,<span class="code-string">"dpr"</span>,<span class="code-string">"devicePixelRatio"</span>,<span class="code-string">"roundOffsetsByDPR"</span>,<span class="code-string">"resize"</span>,<span class="code-string">"addEventListener"</span>,<span class="code-string">"removeEventListener"</span>,<span class="code-string">"popperOffsets"</span>,<span class="code-string">"arrow"</span>,<span class="code-string">"style"</span>,<span class="code-string">"assign"</span>,<span class="code-string">"value"</span>,<span class="code-string">"removeAttribute"</span>,<span class="code-string">"setAttribute"</span>,<span class="code-string">"initialStyles"</span>,<span class="code-string">"margin"</span>,<span class="code-string">"property"</span>,<span class="code-string">"attribute"</span>,<span class="code-string">"createPopper"</span>,<span class="code-string">"boundary"</span>,<span class="code-string">"rootBoundary"</span>,<span class="code-string">"elementContext"</span>,<span class="code-string">"altBoundary"</span>,<span class="code-string">"padding"</span>,<span class="code-string">"paddingObject"</span>,<span class="code-string">"mergePaddingObject"</span>,<span class="code-string">"hashMap"</span>,<span class="code-string">"altContext"</span>,<span class="code-string">"clippingClientRect"</span>,<span class="code-string">"mainClippingParents"</span>,<span class="code-string">"firstClippingParent"</span>,<span class="code-string">"clippingRect"</span>,<span class="code-string">"accRect"</span>,<span class="code-string">"getClippingRect"</span>,<span class="code-string">"referenceClientRect"</span>,<span class="code-string">"popperClientRect"</span>,<span class="code-string">"elementClientRect"</span>,<span class="code-string">"overflowOffsets"</span>,<span class="code-string">"offsetData"</span>,<span class="code-string">"offset"</span>,<span class="code-string">"multiply"</span>,<span class="code-string">"axis"</span>],<span class="code-attr">"mappings"</span>:<span class="code-string">";;;;8OAIe,SAASA,EAAUC,MACpB,MAARA,SACKC,UAGe,oBAApBD,EAAKE,WAAkC,KACnCC,EAAgBH,EAAKG,qBACpBA,GAAgBA,EAAcC,aAAwBH,cAGxDD,ECTT,SAASK,EAAUL,UAEVA,aADYD,EAAUC,GAAMM,SACEN,aAAgBM,QAKvD,SAASC,EAAcP,UAEdA,aADYD,EAAUC,GAAMQ,aACER,aAAgBQ,YAKvD,SAASC,EAAaT,SAEM,oBAAfU,aAIJV,aADYD,EAAUC,GAAMU,YACEV,aAAgBU,YCxBhD,IAAMC,EAAMC,KAAKD,IACXE,EAAMD,KAAKC,IACXC,EAAQF,KAAKE,MCEX,SAASC,EACtBC,EACAC,YAAAA,IAAAA,GAAwB,OAElBC,EAAOF,EAAQD,wBACjBI,EAAS,EACTC,EAAS,KAETb,EAAcS,IAAYC,EAAc,KACpCI,EAAeL,EAAQK,aACvBC,EAAcN,EAAQM,YAIxBA,EAAc,IAChB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>}</code></td></tr><tr><td class="css-a4x74f">\</td><style data-emotion-css="jhhjkz">.css-jhhjkz{padding-left:10px;color:rgba(27,31,35,.3);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td class="css-jhhjkz">No newline at end of file</td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper.js b/web/_static/popperjs/popper.js
new file mode 100644
index 0000000..b9ca1e8
--- /dev/null
+++ b/web/_static/popperjs/popper.js
@@ -0,0 +1,2062 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:35.254Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper.js","target":{"path":"/dist/umd/popper.js","type":"file","details":{"contentType":"application/javascript","integrity":"sha384-KJIe03YUlPjz3Eo/3uVA2oSW0woVMhRGqnRcAGEOzHwIe1mGotcuBU0uBibZbjPD","language":"JavaScript","size":70814,"uri":null,"highlights":["<span class=\"code-comment\">/**\n</span>","<span class=\"code-comment\"> * @popperjs/core v2.11.5 - MIT License\n</span>","<span class=\"code-comment\"> */</span>\n","\n","(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">global, factory</span>) </span>{\n"," <span class=\"code-keyword\">typeof</span> exports === <span class=\"code-string\">'object'</span> &amp;&amp; <span class=\"code-keyword\">typeof</span> <span class=\"code-built_in\">module</span> !== <span class=\"code-string\">'undefined'</span> ? factory(exports) :\n"," <span class=\"code-keyword\">typeof</span> define === <span class=\"code-string\">'function'</span> &amp;&amp; define.amd ? define([<span class=\"code-string\">'exports'</span>], factory) :\n"," (global = <span class=\"code-keyword\">typeof</span> globalThis !== <span class=\"code-string\">'undefined'</span> ? globalThis : global || self, factory(global.Popper = {}));\n","}(<span class=\"code-keyword\">this</span>, (<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">exports</span>) </span>{ <span class=\"code-string\">'use strict'</span>;\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getWindow</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (node == <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (node.toString() !== <span class=\"code-string\">'[object Window]'</span>) {\n"," <span class=\"code-keyword\">var</span> ownerDocument = node.ownerDocument;\n"," <span class=\"code-keyword\">return</span> ownerDocument ? ownerDocument.defaultView || <span class=\"code-built_in\">window</span> : <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> node;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isElement</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">var</span> OwnElement = getWindow(node).Element;\n"," <span class=\"code-keyword\">return</span> node <span class=\"code-keyword\">instanceof</span> OwnElement || node <span class=\"code-keyword\">instanceof</span> Element;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isHTMLElement</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">var</span> OwnElement = getWindow(node).HTMLElement;\n"," <span class=\"code-keyword\">return</span> node <span class=\"code-keyword\">instanceof</span> OwnElement || node <span class=\"code-keyword\">instanceof</span> HTMLElement;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isShadowRoot</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-comment\">// IE 11 has no ShadowRoot</span>\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> ShadowRoot === <span class=\"code-string\">'undefined'</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> OwnElement = getWindow(node).ShadowRoot;\n"," <span class=\"code-keyword\">return</span> node <span class=\"code-keyword\">instanceof</span> OwnElement || node <span class=\"code-keyword\">instanceof</span> ShadowRoot;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> max = <span class=\"code-built_in\">Math</span>.max;\n"," <span class=\"code-keyword\">var</span> min = <span class=\"code-built_in\">Math</span>.min;\n"," <span class=\"code-keyword\">var</span> round = <span class=\"code-built_in\">Math</span>.round;\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getBoundingClientRect</span>(<span class=\"code-params\">element, includeScale</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (includeScale === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," includeScale = <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> rect = element.getBoundingClientRect();\n"," <span class=\"code-keyword\">var</span> scaleX = <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">var</span> scaleY = <span class=\"code-number\">1</span>;\n","\n"," <span class=\"code-keyword\">if</span> (isHTMLElement(element) &amp;&amp; includeScale) {\n"," <span class=\"code-keyword\">var</span> offsetHeight = element.offsetHeight;\n"," <span class=\"code-keyword\">var</span> offsetWidth = element.offsetWidth; <span class=\"code-comment\">// Do not attempt to divide by 0, otherwise we get `Infinity` as scale</span>\n"," <span class=\"code-comment\">// Fallback to 1 in case both values are `0`</span>\n","\n"," <span class=\"code-keyword\">if</span> (offsetWidth &gt; <span class=\"code-number\">0</span>) {\n"," scaleX = round(rect.width) / offsetWidth || <span class=\"code-number\">1</span>;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (offsetHeight &gt; <span class=\"code-number\">0</span>) {\n"," scaleY = round(rect.height) / offsetHeight || <span class=\"code-number\">1</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," width: rect.width / scaleX,\n"," height: rect.height / scaleY,\n"," top: rect.top / scaleY,\n"," right: rect.right / scaleX,\n"," bottom: rect.bottom / scaleY,\n"," left: rect.left / scaleX,\n"," x: rect.left / scaleX,\n"," y: rect.top / scaleY\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getWindowScroll</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">var</span> win = getWindow(node);\n"," <span class=\"code-keyword\">var</span> scrollLeft = win.pageXOffset;\n"," <span class=\"code-keyword\">var</span> scrollTop = win.pageYOffset;\n"," <span class=\"code-keyword\">return</span> {\n"," scrollLeft: scrollLeft,\n"," scrollTop: scrollTop\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getHTMLElementScroll</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> {\n"," scrollLeft: element.scrollLeft,\n"," scrollTop: element.scrollTop\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getNodeScroll</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (node === getWindow(node) || !isHTMLElement(node)) {\n"," <span class=\"code-keyword\">return</span> getWindowScroll(node);\n"," } <span class=\"code-keyword\">else</span> {\n"," <span class=\"code-keyword\">return</span> getHTMLElementScroll(node);\n"," }\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getNodeName</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> element ? (element.nodeName || <span class=\"code-string\">''</span>).toLowerCase() : <span class=\"code-literal\">null</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getDocumentElement</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-return]: assume body is always available</span>\n"," <span class=\"code-keyword\">return</span> ((isElement(element) ? element.ownerDocument : <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," element.document) || <span class=\"code-built_in\">window</span>.document).documentElement;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getWindowScrollBarX</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-comment\">// If &lt;html&gt; has a CSS width greater than the viewport, then this will be</span>\n"," <span class=\"code-comment\">// incorrect for RTL.</span>\n"," <span class=\"code-comment\">// Popper 1 is broken in this case and never had a bug report so let's assume</span>\n"," <span class=\"code-comment\">// it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;</span>\n"," <span class=\"code-comment\">// anyway.</span>\n"," <span class=\"code-comment\">// Browsers where the left scrollbar doesn't cause an issue report `0` for</span>\n"," <span class=\"code-comment\">// this (e.g. Edge 2019, IE11, Safari)</span>\n"," <span class=\"code-keyword\">return</span> getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getComputedStyle</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> getWindow(element).getComputedStyle(element);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isScrollParent</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-comment\">// Firefox wants us to check `-x` and `-y` variations as well</span>\n"," <span class=\"code-keyword\">var</span> _getComputedStyle = getComputedStyle(element),\n"," overflow = _getComputedStyle.overflow,\n"," overflowX = _getComputedStyle.overflowX,\n"," overflowY = _getComputedStyle.overflowY;\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-regexp\">/auto|scroll|overlay|hidden/</span>.test(overflow + overflowY + overflowX);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isElementScaled</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rect = element.getBoundingClientRect();\n"," <span class=\"code-keyword\">var</span> scaleX = round(rect.width) / element.offsetWidth || <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">var</span> scaleY = round(rect.height) / element.offsetHeight || <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">return</span> scaleX !== <span class=\"code-number\">1</span> || scaleY !== <span class=\"code-number\">1</span>;\n"," } <span class=\"code-comment\">// Returns the composite rect of an element relative to its offsetParent.</span>\n"," <span class=\"code-comment\">// Composite means it takes into account transforms as well as layout.</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getCompositeRect</span>(<span class=\"code-params\">elementOrVirtualElement, offsetParent, isFixed</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (isFixed === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," isFixed = <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> isOffsetParentAnElement = isHTMLElement(offsetParent);\n"," <span class=\"code-keyword\">var</span> offsetParentIsScaled = isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\n"," <span class=\"code-keyword\">var</span> documentElement = getDocumentElement(offsetParent);\n"," <span class=\"code-keyword\">var</span> rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);\n"," <span class=\"code-keyword\">var</span> scroll = {\n"," scrollLeft: <span class=\"code-number\">0</span>,\n"," scrollTop: <span class=\"code-number\">0</span>\n"," };\n"," <span class=\"code-keyword\">var</span> offsets = {\n"," x: <span class=\"code-number\">0</span>,\n"," y: <span class=\"code-number\">0</span>\n"," };\n","\n"," <span class=\"code-keyword\">if</span> (isOffsetParentAnElement || !isOffsetParentAnElement &amp;&amp; !isFixed) {\n"," <span class=\"code-keyword\">if</span> (getNodeName(offsetParent) !== <span class=\"code-string\">'body'</span> || <span class=\"code-comment\">// https://github.com/popperjs/popper-core/issues/1078</span>\n"," isScrollParent(documentElement)) {\n"," scroll = getNodeScroll(offsetParent);\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (isHTMLElement(offsetParent)) {\n"," offsets = getBoundingClientRect(offsetParent, <span class=\"code-literal\">true</span>);\n"," offsets.x += offsetParent.clientLeft;\n"," offsets.y += offsetParent.clientTop;\n"," } <span class=\"code-keyword\">else</span> <span class=\"code-keyword\">if</span> (documentElement) {\n"," offsets.x = getWindowScrollBarX(documentElement);\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," x: rect.left + scroll.scrollLeft - offsets.x,\n"," y: rect.top + scroll.scrollTop - offsets.y,\n"," width: rect.width,\n"," height: rect.height\n"," };\n"," }\n","\n"," <span class=\"code-comment\">// means it doesn't take into account transforms.</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getLayoutRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> clientRect = getBoundingClientRect(element); <span class=\"code-comment\">// Use the clientRect sizes if it's not been transformed.</span>\n"," <span class=\"code-comment\">// Fixes https://github.com/popperjs/popper-core/issues/1223</span>\n","\n"," <span class=\"code-keyword\">var</span> width = element.offsetWidth;\n"," <span class=\"code-keyword\">var</span> height = element.offsetHeight;\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-built_in\">Math</span>.abs(clientRect.width - width) &lt;= <span class=\"code-number\">1</span>) {\n"," width = clientRect.width;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-built_in\">Math</span>.abs(clientRect.height - height) &lt;= <span class=\"code-number\">1</span>) {\n"," height = clientRect.height;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," x: element.offsetLeft,\n"," y: element.offsetTop,\n"," width: width,\n"," height: height\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getParentNode</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (getNodeName(element) === <span class=\"code-string\">'html'</span>) {\n"," <span class=\"code-keyword\">return</span> element;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> (<span class=\"code-comment\">// this is a quicker (but less type safe) way to save quite some bytes from the bundle</span>\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-return]</span>\n"," <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," element.assignedSlot || <span class=\"code-comment\">// step into the shadow DOM of the parent of a slotted node</span>\n"," element.parentNode || ( <span class=\"code-comment\">// DOM Element detected</span>\n"," isShadowRoot(element) ? element.host : <span class=\"code-literal\">null</span>) || <span class=\"code-comment\">// ShadowRoot detected</span>\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-call]: HTMLElement is a Node</span>\n"," getDocumentElement(element) <span class=\"code-comment\">// fallback</span>\n","\n"," );\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getScrollParent</span>(<span class=\"code-params\">node</span>) </span>{\n"," <span class=\"code-keyword\">if</span> ([<span class=\"code-string\">'html'</span>, <span class=\"code-string\">'body'</span>, <span class=\"code-string\">'#document'</span>].indexOf(getNodeName(node)) &gt;= <span class=\"code-number\">0</span>) {\n"," <span class=\"code-comment\">// $FlowFixMe[incompatible-return]: assume body is always available</span>\n"," <span class=\"code-keyword\">return</span> node.ownerDocument.body;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\n"," <span class=\"code-keyword\">return</span> node;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> getScrollParent(getParentNode(node));\n"," }\n","\n"," <span class=\"code-comment\">/*\n</span>","<span class=\"code-comment\"> given a DOM element, return the list of all scroll parents, up the list of ancesors\n</span>","<span class=\"code-comment\"> until we get to the top window object. This list is what we attach scroll listeners\n</span>","<span class=\"code-comment\"> to, because if any of these parent elements scroll, we'll need to re-calculate the\n</span>","<span class=\"code-comment\"> reference element's position.\n</span>","<span class=\"code-comment\"> */</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">listScrollParents</span>(<span class=\"code-params\">element, list</span>) </span>{\n"," <span class=\"code-keyword\">var</span> _element$ownerDocumen;\n","\n"," <span class=\"code-keyword\">if</span> (list === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," list = [];\n"," }\n","\n"," <span class=\"code-keyword\">var</span> scrollParent = getScrollParent(element);\n"," <span class=\"code-keyword\">var</span> isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == <span class=\"code-literal\">null</span> ? <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> : _element$ownerDocumen.body);\n"," <span class=\"code-keyword\">var</span> win = getWindow(scrollParent);\n"," <span class=\"code-keyword\">var</span> target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n"," <span class=\"code-keyword\">var</span> updatedList = list.concat(target);\n"," <span class=\"code-keyword\">return</span> isBody ? updatedList : <span class=\"code-comment\">// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here</span>\n"," updatedList.concat(listScrollParents(getParentNode(target)));\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isTableElement</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> [<span class=\"code-string\">'table'</span>, <span class=\"code-string\">'td'</span>, <span class=\"code-string\">'th'</span>].indexOf(getNodeName(element)) &gt;= <span class=\"code-number\">0</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getTrueOffsetParent</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!isHTMLElement(element) || <span class=\"code-comment\">// https://github.com/popperjs/popper-core/issues/837</span>\n"," getComputedStyle(element).position === <span class=\"code-string\">'fixed'</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> element.offsetParent;\n"," } <span class=\"code-comment\">// `.offsetParent` reports `null` for fixed elements, while absolute elements</span>\n"," <span class=\"code-comment\">// return the containing block</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getContainingBlock</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> isFirefox = navigator.userAgent.toLowerCase().indexOf(<span class=\"code-string\">'firefox'</span>) !== <span class=\"code-number\">-1</span>;\n"," <span class=\"code-keyword\">var</span> isIE = navigator.userAgent.indexOf(<span class=\"code-string\">'Trident'</span>) !== <span class=\"code-number\">-1</span>;\n","\n"," <span class=\"code-keyword\">if</span> (isIE &amp;&amp; isHTMLElement(element)) {\n"," <span class=\"code-comment\">// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport</span>\n"," <span class=\"code-keyword\">var</span> elementCss = getComputedStyle(element);\n","\n"," <span class=\"code-keyword\">if</span> (elementCss.position === <span class=\"code-string\">'fixed'</span>) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> currentNode = getParentNode(element);\n","\n"," <span class=\"code-keyword\">if</span> (isShadowRoot(currentNode)) {\n"," currentNode = currentNode.host;\n"," }\n","\n"," <span class=\"code-keyword\">while</span> (isHTMLElement(currentNode) &amp;&amp; [<span class=\"code-string\">'html'</span>, <span class=\"code-string\">'body'</span>].indexOf(getNodeName(currentNode)) &lt; <span class=\"code-number\">0</span>) {\n"," <span class=\"code-keyword\">var</span> css = getComputedStyle(currentNode); <span class=\"code-comment\">// This is non-exhaustive but covers the most common CSS properties that</span>\n"," <span class=\"code-comment\">// create a containing block.</span>\n"," <span class=\"code-comment\">// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block</span>\n","\n"," <span class=\"code-keyword\">if</span> (css.transform !== <span class=\"code-string\">'none'</span> || css.perspective !== <span class=\"code-string\">'none'</span> || css.contain === <span class=\"code-string\">'paint'</span> || [<span class=\"code-string\">'transform'</span>, <span class=\"code-string\">'perspective'</span>].indexOf(css.willChange) !== <span class=\"code-number\">-1</span> || isFirefox &amp;&amp; css.willChange === <span class=\"code-string\">'filter'</span> || isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== <span class=\"code-string\">'none'</span>) {\n"," <span class=\"code-keyword\">return</span> currentNode;\n"," } <span class=\"code-keyword\">else</span> {\n"," currentNode = currentNode.parentNode;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;\n"," } <span class=\"code-comment\">// Gets the closest ancestor positioned element. Handles some edge cases,</span>\n"," <span class=\"code-comment\">// such as table ancestors and cross browser bugs.</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getOffsetParent</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> <span class=\"code-built_in\">window</span> = getWindow(element);\n"," <span class=\"code-keyword\">var</span> offsetParent = getTrueOffsetParent(element);\n","\n"," <span class=\"code-keyword\">while</span> (offsetParent &amp;&amp; isTableElement(offsetParent) &amp;&amp; getComputedStyle(offsetParent).position === <span class=\"code-string\">'static'</span>) {\n"," offsetParent = getTrueOffsetParent(offsetParent);\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (offsetParent &amp;&amp; (getNodeName(offsetParent) === <span class=\"code-string\">'html'</span> || getNodeName(offsetParent) === <span class=\"code-string\">'body'</span> &amp;&amp; getComputedStyle(offsetParent).position === <span class=\"code-string\">'static'</span>)) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> offsetParent || getContainingBlock(element) || <span class=\"code-built_in\">window</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> top = <span class=\"code-string\">'top'</span>;\n"," <span class=\"code-keyword\">var</span> bottom = <span class=\"code-string\">'bottom'</span>;\n"," <span class=\"code-keyword\">var</span> right = <span class=\"code-string\">'right'</span>;\n"," <span class=\"code-keyword\">var</span> left = <span class=\"code-string\">'left'</span>;\n"," <span class=\"code-keyword\">var</span> auto = <span class=\"code-string\">'auto'</span>;\n"," <span class=\"code-keyword\">var</span> basePlacements = [top, bottom, right, left];\n"," <span class=\"code-keyword\">var</span> start = <span class=\"code-string\">'start'</span>;\n"," <span class=\"code-keyword\">var</span> end = <span class=\"code-string\">'end'</span>;\n"," <span class=\"code-keyword\">var</span> clippingParents = <span class=\"code-string\">'clippingParents'</span>;\n"," <span class=\"code-keyword\">var</span> viewport = <span class=\"code-string\">'viewport'</span>;\n"," <span class=\"code-keyword\">var</span> popper = <span class=\"code-string\">'popper'</span>;\n"," <span class=\"code-keyword\">var</span> reference = <span class=\"code-string\">'reference'</span>;\n"," <span class=\"code-keyword\">var</span> variationPlacements = <span class=\"code-comment\">/*#__PURE__*/</span>basePlacements.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">acc, placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> acc.concat([placement + <span class=\"code-string\">\"-\"</span> + start, placement + <span class=\"code-string\">\"-\"</span> + end]);\n"," }, []);\n"," <span class=\"code-keyword\">var</span> placements = <span class=\"code-comment\">/*#__PURE__*/</span>[].concat(basePlacements, [auto]).reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">acc, placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> acc.concat([placement, placement + <span class=\"code-string\">\"-\"</span> + start, placement + <span class=\"code-string\">\"-\"</span> + end]);\n"," }, []); <span class=\"code-comment\">// modifiers that need to read the DOM</span>\n","\n"," <span class=\"code-keyword\">var</span> beforeRead = <span class=\"code-string\">'beforeRead'</span>;\n"," <span class=\"code-keyword\">var</span> read = <span class=\"code-string\">'read'</span>;\n"," <span class=\"code-keyword\">var</span> afterRead = <span class=\"code-string\">'afterRead'</span>; <span class=\"code-comment\">// pure-logic modifiers</span>\n","\n"," <span class=\"code-keyword\">var</span> beforeMain = <span class=\"code-string\">'beforeMain'</span>;\n"," <span class=\"code-keyword\">var</span> main = <span class=\"code-string\">'main'</span>;\n"," <span class=\"code-keyword\">var</span> afterMain = <span class=\"code-string\">'afterMain'</span>; <span class=\"code-comment\">// modifier with the purpose to write to the DOM (or write into a framework state)</span>\n","\n"," <span class=\"code-keyword\">var</span> beforeWrite = <span class=\"code-string\">'beforeWrite'</span>;\n"," <span class=\"code-keyword\">var</span> write = <span class=\"code-string\">'write'</span>;\n"," <span class=\"code-keyword\">var</span> afterWrite = <span class=\"code-string\">'afterWrite'</span>;\n"," <span class=\"code-keyword\">var</span> modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">order</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," <span class=\"code-keyword\">var</span> map = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Map</span>();\n"," <span class=\"code-keyword\">var</span> visited = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Set</span>();\n"," <span class=\"code-keyword\">var</span> result = [];\n"," modifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," map.set(modifier.name, modifier);\n"," }); <span class=\"code-comment\">// On visiting object, check for its dependencies and visit them recursively</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">sort</span>(<span class=\"code-params\">modifier</span>) </span>{\n"," visited.add(modifier.name);\n"," <span class=\"code-keyword\">var</span> requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n"," requires.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">dep</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!visited.has(dep)) {\n"," <span class=\"code-keyword\">var</span> depModifier = map.get(dep);\n","\n"," <span class=\"code-keyword\">if</span> (depModifier) {\n"," sort(depModifier);\n"," }\n"," }\n"," });\n"," result.push(modifier);\n"," }\n","\n"," modifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!visited.has(modifier.name)) {\n"," <span class=\"code-comment\">// check for visited object</span>\n"," sort(modifier);\n"," }\n"," });\n"," <span class=\"code-keyword\">return</span> result;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">orderModifiers</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," <span class=\"code-comment\">// order based on dependencies</span>\n"," <span class=\"code-keyword\">var</span> orderedModifiers = order(modifiers); <span class=\"code-comment\">// order based on phase</span>\n","\n"," <span class=\"code-keyword\">return</span> modifierPhases.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">acc, phase</span>) </span>{\n"," <span class=\"code-keyword\">return</span> acc.concat(orderedModifiers.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," <span class=\"code-keyword\">return</span> modifier.phase === phase;\n"," }));\n"," }, []);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">debounce</span>(<span class=\"code-params\">fn</span>) </span>{\n"," <span class=\"code-keyword\">var</span> pending;\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!pending) {\n"," pending = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">resolve</span>) </span>{\n"," <span class=\"code-built_in\">Promise</span>.resolve().then(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," pending = <span class=\"code-literal\">undefined</span>;\n"," resolve(fn());\n"," });\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">return</span> pending;\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">format</span>(<span class=\"code-params\">str</span>) </span>{\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> _len = <span class=\"code-built_in\">arguments</span>.length, args = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Array</span>(_len &gt; <span class=\"code-number\">1</span> ? _len - <span class=\"code-number\">1</span> : <span class=\"code-number\">0</span>), _key = <span class=\"code-number\">1</span>; _key &lt; _len; _key++) {\n"," args[_key - <span class=\"code-number\">1</span>] = <span class=\"code-built_in\">arguments</span>[_key];\n"," }\n","\n"," <span class=\"code-keyword\">return</span> [].concat(args).reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">p, c</span>) </span>{\n"," <span class=\"code-keyword\">return</span> p.replace(<span class=\"code-regexp\">/%s/</span>, c);\n"," }, str);\n"," }\n","\n"," <span class=\"code-keyword\">var</span> INVALID_MODIFIER_ERROR = <span class=\"code-string\">'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s'</span>;\n"," <span class=\"code-keyword\">var</span> MISSING_DEPENDENCY_ERROR = <span class=\"code-string\">'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available'</span>;\n"," <span class=\"code-keyword\">var</span> VALID_PROPERTIES = [<span class=\"code-string\">'name'</span>, <span class=\"code-string\">'enabled'</span>, <span class=\"code-string\">'phase'</span>, <span class=\"code-string\">'fn'</span>, <span class=\"code-string\">'effect'</span>, <span class=\"code-string\">'requires'</span>, <span class=\"code-string\">'options'</span>];\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">validateModifiers</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," modifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," [].concat(<span class=\"code-built_in\">Object</span>.keys(modifier), VALID_PROPERTIES) <span class=\"code-comment\">// IE11-compatible replacement for `new Set(iterable)`</span>\n"," .filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">value, index, self</span>) </span>{\n"," <span class=\"code-keyword\">return</span> self.indexOf(value) === index;\n"," }).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">key</span>) </span>{\n"," <span class=\"code-keyword\">switch</span> (key) {\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'name'</span>:\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> modifier.name !== <span class=\"code-string\">'string'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, <span class=\"code-built_in\">String</span>(modifier.name), <span class=\"code-string\">'\"name\"'</span>, <span class=\"code-string\">'\"string\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.name) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'enabled'</span>:\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> modifier.enabled !== <span class=\"code-string\">'boolean'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"enabled\"'</span>, <span class=\"code-string\">'\"boolean\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.enabled) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'phase'</span>:\n"," <span class=\"code-keyword\">if</span> (modifierPhases.indexOf(modifier.phase) &lt; <span class=\"code-number\">0</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"phase\"'</span>, <span class=\"code-string\">\"either \"</span> + modifierPhases.join(<span class=\"code-string\">', '</span>), <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.phase) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'fn'</span>:\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> modifier.fn !== <span class=\"code-string\">'function'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"fn\"'</span>, <span class=\"code-string\">'\"function\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.fn) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'effect'</span>:\n"," <span class=\"code-keyword\">if</span> (modifier.effect != <span class=\"code-literal\">null</span> &amp;&amp; <span class=\"code-keyword\">typeof</span> modifier.effect !== <span class=\"code-string\">'function'</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"effect\"'</span>, <span class=\"code-string\">'\"function\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.fn) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'requires'</span>:\n"," <span class=\"code-keyword\">if</span> (modifier.requires != <span class=\"code-literal\">null</span> &amp;&amp; !<span class=\"code-built_in\">Array</span>.isArray(modifier.requires)) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"requires\"'</span>, <span class=\"code-string\">'\"array\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.requires) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'requiresIfExists'</span>:\n"," <span class=\"code-keyword\">if</span> (!<span class=\"code-built_in\">Array</span>.isArray(modifier.requiresIfExists)) {\n"," <span class=\"code-built_in\">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class=\"code-string\">'\"requiresIfExists\"'</span>, <span class=\"code-string\">'\"array\"'</span>, <span class=\"code-string\">\"\\\"\"</span> + <span class=\"code-built_in\">String</span>(modifier.requiresIfExists) + <span class=\"code-string\">\"\\\"\"</span>));\n"," }\n","\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'options'</span>:\n"," <span class=\"code-keyword\">case</span> <span class=\"code-string\">'data'</span>:\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">default</span>:\n"," <span class=\"code-built_in\">console</span>.error(<span class=\"code-string\">\"PopperJS: an invalid property has been provided to the \\\"\"</span> + modifier.name + <span class=\"code-string\">\"\\\" modifier, valid properties are \"</span> + VALID_PROPERTIES.map(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">s</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-string\">\"\\\"\"</span> + s + <span class=\"code-string\">\"\\\"\"</span>;\n"," }).join(<span class=\"code-string\">', '</span>) + <span class=\"code-string\">\"; but \\\"\"</span> + key + <span class=\"code-string\">\"\\\" was provided.\"</span>);\n"," }\n","\n"," modifier.requires &amp;&amp; modifier.requires.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">requirement</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (modifiers.find(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">mod</span>) </span>{\n"," <span class=\"code-keyword\">return</span> mod.name === requirement;\n"," }) == <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-built_in\">console</span>.error(format(MISSING_DEPENDENCY_ERROR, <span class=\"code-built_in\">String</span>(modifier.name), requirement, requirement));\n"," }\n"," });\n"," });\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">uniqueBy</span>(<span class=\"code-params\">arr, fn</span>) </span>{\n"," <span class=\"code-keyword\">var</span> identifiers = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Set</span>();\n"," <span class=\"code-keyword\">return</span> arr.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">item</span>) </span>{\n"," <span class=\"code-keyword\">var</span> identifier = fn(item);\n","\n"," <span class=\"code-keyword\">if</span> (!identifiers.has(identifier)) {\n"," identifiers.add(identifier);\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">true</span>;\n"," }\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getBasePlacement</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> placement.split(<span class=\"code-string\">'-'</span>)[<span class=\"code-number\">0</span>];\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">mergeByName</span>(<span class=\"code-params\">modifiers</span>) </span>{\n"," <span class=\"code-keyword\">var</span> merged = modifiers.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">merged, current</span>) </span>{\n"," <span class=\"code-keyword\">var</span> existing = merged[current.name];\n"," merged[current.name] = existing ? <span class=\"code-built_in\">Object</span>.assign({}, existing, current, {\n"," options: <span class=\"code-built_in\">Object</span>.assign({}, existing.options, current.options),\n"," data: <span class=\"code-built_in\">Object</span>.assign({}, existing.data, current.data)\n"," }) : current;\n"," <span class=\"code-keyword\">return</span> merged;\n"," }, {}); <span class=\"code-comment\">// IE11 does not support Object.values</span>\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.keys(merged).map(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">key</span>) </span>{\n"," <span class=\"code-keyword\">return</span> merged[key];\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getViewportRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> win = getWindow(element);\n"," <span class=\"code-keyword\">var</span> html = getDocumentElement(element);\n"," <span class=\"code-keyword\">var</span> visualViewport = win.visualViewport;\n"," <span class=\"code-keyword\">var</span> width = html.clientWidth;\n"," <span class=\"code-keyword\">var</span> height = html.clientHeight;\n"," <span class=\"code-keyword\">var</span> x = <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> y = <span class=\"code-number\">0</span>; <span class=\"code-comment\">// NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper</span>\n"," <span class=\"code-comment\">// can be obscured underneath it.</span>\n"," <span class=\"code-comment\">// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even</span>\n"," <span class=\"code-comment\">// if it isn't open, so if this isn't available, the popper will be detected</span>\n"," <span class=\"code-comment\">// to overflow the bottom of the screen too early.</span>\n","\n"," <span class=\"code-keyword\">if</span> (visualViewport) {\n"," width = visualViewport.width;\n"," height = visualViewport.height; <span class=\"code-comment\">// Uses Layout Viewport (like Chrome; Safari does not currently)</span>\n"," <span class=\"code-comment\">// In Chrome, it returns a value very close to 0 (+/-) but contains rounding</span>\n"," <span class=\"code-comment\">// errors due to floating point numbers, so we need to check precision.</span>\n"," <span class=\"code-comment\">// Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed</span>\n"," <span class=\"code-comment\">// Feature detection fails in mobile emulation mode in Chrome.</span>\n"," <span class=\"code-comment\">// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;</span>\n"," <span class=\"code-comment\">// 0.001</span>\n"," <span class=\"code-comment\">// Fallback here: \"Not Safari\" userAgent</span>\n","\n"," <span class=\"code-keyword\">if</span> (!<span class=\"code-regexp\">/^((?!chrome|android).)*safari/i</span>.test(navigator.userAgent)) {\n"," x = visualViewport.offsetLeft;\n"," y = visualViewport.offsetTop;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," width: width,\n"," height: height,\n"," x: x + getWindowScrollBarX(element),\n"," y: y\n"," };\n"," }\n","\n"," <span class=\"code-comment\">// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getDocumentRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> _element$ownerDocumen;\n","\n"," <span class=\"code-keyword\">var</span> html = getDocumentElement(element);\n"," <span class=\"code-keyword\">var</span> winScroll = getWindowScroll(element);\n"," <span class=\"code-keyword\">var</span> body = (_element$ownerDocumen = element.ownerDocument) == <span class=\"code-literal\">null</span> ? <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> : _element$ownerDocumen.body;\n"," <span class=\"code-keyword\">var</span> width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : <span class=\"code-number\">0</span>, body ? body.clientWidth : <span class=\"code-number\">0</span>);\n"," <span class=\"code-keyword\">var</span> height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : <span class=\"code-number\">0</span>, body ? body.clientHeight : <span class=\"code-number\">0</span>);\n"," <span class=\"code-keyword\">var</span> x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n"," <span class=\"code-keyword\">var</span> y = -winScroll.scrollTop;\n","\n"," <span class=\"code-keyword\">if</span> (getComputedStyle(body || html).direction === <span class=\"code-string\">'rtl'</span>) {\n"," x += max(html.clientWidth, body ? body.clientWidth : <span class=\"code-number\">0</span>) - width;\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," width: width,\n"," height: height,\n"," x: x,\n"," y: y\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">contains</span>(<span class=\"code-params\">parent, child</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rootNode = child.getRootNode &amp;&amp; child.getRootNode(); <span class=\"code-comment\">// First, attempt with faster native method</span>\n","\n"," <span class=\"code-keyword\">if</span> (parent.contains(child)) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">true</span>;\n"," } <span class=\"code-comment\">// then fallback to custom implementation with Shadow DOM support</span>\n"," <span class=\"code-keyword\">else</span> <span class=\"code-keyword\">if</span> (rootNode &amp;&amp; isShadowRoot(rootNode)) {\n"," <span class=\"code-keyword\">var</span> next = child;\n","\n"," <span class=\"code-keyword\">do</span> {\n"," <span class=\"code-keyword\">if</span> (next &amp;&amp; parent.isSameNode(next)) {\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">true</span>;\n"," } <span class=\"code-comment\">// $FlowFixMe[prop-missing]: need a better way to handle this...</span>\n","\n","\n"," next = next.parentNode || next.host;\n"," } <span class=\"code-keyword\">while</span> (next);\n"," } <span class=\"code-comment\">// Give up, the result is false</span>\n","\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-literal\">false</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">rectToClientRect</span>(<span class=\"code-params\">rect</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, rect, {\n"," left: rect.x,\n"," top: rect.y,\n"," right: rect.x + rect.width,\n"," bottom: rect.y + rect.height\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getInnerBoundingClientRect</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rect = getBoundingClientRect(element);\n"," rect.top = rect.top + element.clientTop;\n"," rect.left = rect.left + element.clientLeft;\n"," rect.bottom = rect.top + element.clientHeight;\n"," rect.right = rect.left + element.clientWidth;\n"," rect.width = element.clientWidth;\n"," rect.height = element.clientHeight;\n"," rect.x = rect.left;\n"," rect.y = rect.top;\n"," <span class=\"code-keyword\">return</span> rect;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getClientRectFromMixedType</span>(<span class=\"code-params\">element, clippingParent</span>) </span>{\n"," <span class=\"code-keyword\">return</span> clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n"," } <span class=\"code-comment\">// A \"clipping parent\" is an overflowable container with the characteristic of</span>\n"," <span class=\"code-comment\">// clipping (or hiding) overflowing elements with a position different from</span>\n"," <span class=\"code-comment\">// `initial`</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getClippingParents</span>(<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">var</span> clippingParents = listScrollParents(getParentNode(element));\n"," <span class=\"code-keyword\">var</span> canEscapeClipping = [<span class=\"code-string\">'absolute'</span>, <span class=\"code-string\">'fixed'</span>].indexOf(getComputedStyle(element).position) &gt;= <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> clipperElement = canEscapeClipping &amp;&amp; isHTMLElement(element) ? getOffsetParent(element) : element;\n","\n"," <span class=\"code-keyword\">if</span> (!isElement(clipperElement)) {\n"," <span class=\"code-keyword\">return</span> [];\n"," } <span class=\"code-comment\">// $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414</span>\n","\n","\n"," <span class=\"code-keyword\">return</span> clippingParents.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">clippingParent</span>) </span>{\n"," <span class=\"code-keyword\">return</span> isElement(clippingParent) &amp;&amp; contains(clippingParent, clipperElement) &amp;&amp; getNodeName(clippingParent) !== <span class=\"code-string\">'body'</span>;\n"," });\n"," } <span class=\"code-comment\">// Gets the maximum area that the element is visible in due to any number of</span>\n"," <span class=\"code-comment\">// clipping parents</span>\n","\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getClippingRect</span>(<span class=\"code-params\">element, boundary, rootBoundary</span>) </span>{\n"," <span class=\"code-keyword\">var</span> mainClippingParents = boundary === <span class=\"code-string\">'clippingParents'</span> ? getClippingParents(element) : [].concat(boundary);\n"," <span class=\"code-keyword\">var</span> clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n"," <span class=\"code-keyword\">var</span> firstClippingParent = clippingParents[<span class=\"code-number\">0</span>];\n"," <span class=\"code-keyword\">var</span> clippingRect = clippingParents.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">accRect, clippingParent</span>) </span>{\n"," <span class=\"code-keyword\">var</span> rect = getClientRectFromMixedType(element, clippingParent);\n"," accRect.top = max(rect.top, accRect.top);\n"," accRect.right = min(rect.right, accRect.right);\n"," accRect.bottom = min(rect.bottom, accRect.bottom);\n"," accRect.left = max(rect.left, accRect.left);\n"," <span class=\"code-keyword\">return</span> accRect;\n"," }, getClientRectFromMixedType(element, firstClippingParent));\n"," clippingRect.width = clippingRect.right - clippingRect.left;\n"," clippingRect.height = clippingRect.bottom - clippingRect.top;\n"," clippingRect.x = clippingRect.left;\n"," clippingRect.y = clippingRect.top;\n"," <span class=\"code-keyword\">return</span> clippingRect;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getVariation</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> placement.split(<span class=\"code-string\">'-'</span>)[<span class=\"code-number\">1</span>];\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getMainAxisFromPlacement</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> [<span class=\"code-string\">'top'</span>, <span class=\"code-string\">'bottom'</span>].indexOf(placement) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-string\">'x'</span> : <span class=\"code-string\">'y'</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">computeOffsets</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> reference = _ref.reference,\n"," element = _ref.element,\n"," placement = _ref.placement;\n"," <span class=\"code-keyword\">var</span> basePlacement = placement ? getBasePlacement(placement) : <span class=\"code-literal\">null</span>;\n"," <span class=\"code-keyword\">var</span> variation = placement ? getVariation(placement) : <span class=\"code-literal\">null</span>;\n"," <span class=\"code-keyword\">var</span> commonX = reference.x + reference.width / <span class=\"code-number\">2</span> - element.width / <span class=\"code-number\">2</span>;\n"," <span class=\"code-keyword\">var</span> commonY = reference.y + reference.height / <span class=\"code-number\">2</span> - element.height / <span class=\"code-number\">2</span>;\n"," <span class=\"code-keyword\">var</span> offsets;\n","\n"," <span class=\"code-keyword\">switch</span> (basePlacement) {\n"," <span class=\"code-keyword\">case</span> top:\n"," offsets = {\n"," x: commonX,\n"," y: reference.y - element.height\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> bottom:\n"," offsets = {\n"," x: commonX,\n"," y: reference.y + reference.height\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> right:\n"," offsets = {\n"," x: reference.x + reference.width,\n"," y: commonY\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> left:\n"," offsets = {\n"," x: reference.x - element.width,\n"," y: commonY\n"," };\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">default</span>:\n"," offsets = {\n"," x: reference.x,\n"," y: reference.y\n"," };\n"," }\n","\n"," <span class=\"code-keyword\">var</span> mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : <span class=\"code-literal\">null</span>;\n","\n"," <span class=\"code-keyword\">if</span> (mainAxis != <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-keyword\">var</span> len = mainAxis === <span class=\"code-string\">'y'</span> ? <span class=\"code-string\">'height'</span> : <span class=\"code-string\">'width'</span>;\n","\n"," <span class=\"code-keyword\">switch</span> (variation) {\n"," <span class=\"code-keyword\">case</span> start:\n"," offsets[mainAxis] = offsets[mainAxis] - (reference[len] / <span class=\"code-number\">2</span> - element[len] / <span class=\"code-number\">2</span>);\n"," <span class=\"code-keyword\">break</span>;\n","\n"," <span class=\"code-keyword\">case</span> end:\n"," offsets[mainAxis] = offsets[mainAxis] + (reference[len] / <span class=\"code-number\">2</span> - element[len] / <span class=\"code-number\">2</span>);\n"," <span class=\"code-keyword\">break</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">return</span> offsets;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getFreshSideObject</span>(<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">return</span> {\n"," top: <span class=\"code-number\">0</span>,\n"," right: <span class=\"code-number\">0</span>,\n"," bottom: <span class=\"code-number\">0</span>,\n"," left: <span class=\"code-number\">0</span>\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">mergePaddingObject</span>(<span class=\"code-params\">paddingObject</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, getFreshSideObject(), paddingObject);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">expandToHashMap</span>(<span class=\"code-params\">value, keys</span>) </span>{\n"," <span class=\"code-keyword\">return</span> keys.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">hashMap, key</span>) </span>{\n"," hashMap[key] = value;\n"," <span class=\"code-keyword\">return</span> hashMap;\n"," }, {});\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">detectOverflow</span>(<span class=\"code-params\">state, options</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," options = {};\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _options = options,\n"," _options$placement = _options.placement,\n"," placement = _options$placement === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? state.placement : _options$placement,\n"," _options$boundary = _options.boundary,\n"," boundary = _options$boundary === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? clippingParents : _options$boundary,\n"," _options$rootBoundary = _options.rootBoundary,\n"," rootBoundary = _options$rootBoundary === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? viewport : _options$rootBoundary,\n"," _options$elementConte = _options.elementContext,\n"," elementContext = _options$elementConte === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? popper : _options$elementConte,\n"," _options$altBoundary = _options.altBoundary,\n"," altBoundary = _options$altBoundary === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">false</span> : _options$altBoundary,\n"," _options$padding = _options.padding,\n"," padding = _options$padding === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-number\">0</span> : _options$padding;\n"," <span class=\"code-keyword\">var</span> paddingObject = mergePaddingObject(<span class=\"code-keyword\">typeof</span> padding !== <span class=\"code-string\">'number'</span> ? padding : expandToHashMap(padding, basePlacements));\n"," <span class=\"code-keyword\">var</span> altContext = elementContext === popper ? reference : popper;\n"," <span class=\"code-keyword\">var</span> popperRect = state.rects.popper;\n"," <span class=\"code-keyword\">var</span> element = state.elements[altBoundary ? altContext : elementContext];\n"," <span class=\"code-keyword\">var</span> clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);\n"," <span class=\"code-keyword\">var</span> referenceClientRect = getBoundingClientRect(state.elements.reference);\n"," <span class=\"code-keyword\">var</span> popperOffsets = computeOffsets({\n"," reference: referenceClientRect,\n"," element: popperRect,\n"," strategy: <span class=\"code-string\">'absolute'</span>,\n"," placement: placement\n"," });\n"," <span class=\"code-keyword\">var</span> popperClientRect = rectToClientRect(<span class=\"code-built_in\">Object</span>.assign({}, popperRect, popperOffsets));\n"," <span class=\"code-keyword\">var</span> elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; <span class=\"code-comment\">// positive = overflowing the clipping rect</span>\n"," <span class=\"code-comment\">// 0 or negative = within the clipping rect</span>\n","\n"," <span class=\"code-keyword\">var</span> overflowOffsets = {\n"," top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n"," bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n"," left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n"," right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n"," };\n"," <span class=\"code-keyword\">var</span> offsetData = state.modifiersData.offset; <span class=\"code-comment\">// Offsets can be applied only to the popper element</span>\n","\n"," <span class=\"code-keyword\">if</span> (elementContext === popper &amp;&amp; offsetData) {\n"," <span class=\"code-keyword\">var</span> offset = offsetData[placement];\n"," <span class=\"code-built_in\">Object</span>.keys(overflowOffsets).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">key</span>) </span>{\n"," <span class=\"code-keyword\">var</span> multiply = [right, bottom].indexOf(key) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-number\">1</span> : <span class=\"code-number\">-1</span>;\n"," <span class=\"code-keyword\">var</span> axis = [top, bottom].indexOf(key) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-string\">'y'</span> : <span class=\"code-string\">'x'</span>;\n"," overflowOffsets[key] += offset[axis] * multiply;\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">return</span> overflowOffsets;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> INVALID_ELEMENT_ERROR = <span class=\"code-string\">'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'</span>;\n"," <span class=\"code-keyword\">var</span> INFINITE_LOOP_ERROR = <span class=\"code-string\">'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.'</span>;\n"," <span class=\"code-keyword\">var</span> DEFAULT_OPTIONS = {\n"," placement: <span class=\"code-string\">'bottom'</span>,\n"," modifiers: [],\n"," strategy: <span class=\"code-string\">'absolute'</span>\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">areValidElements</span>(<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> _len = <span class=\"code-built_in\">arguments</span>.length, args = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Array</span>(_len), _key = <span class=\"code-number\">0</span>; _key &lt; _len; _key++) {\n"," args[_key] = <span class=\"code-built_in\">arguments</span>[_key];\n"," }\n","\n"," <span class=\"code-keyword\">return</span> !args.some(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">element</span>) </span>{\n"," <span class=\"code-keyword\">return</span> !(element &amp;&amp; <span class=\"code-keyword\">typeof</span> element.getBoundingClientRect === <span class=\"code-string\">'function'</span>);\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">popperGenerator</span>(<span class=\"code-params\">generatorOptions</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (generatorOptions === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," generatorOptions = {};\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _generatorOptions = generatorOptions,\n"," _generatorOptions$def = _generatorOptions.defaultModifiers,\n"," defaultModifiers = _generatorOptions$def === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? [] : _generatorOptions$def,\n"," _generatorOptions$def2 = _generatorOptions.defaultOptions,\n"," defaultOptions = _generatorOptions$def2 === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? DEFAULT_OPTIONS : _generatorOptions$def2;\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">createPopper</span>(<span class=\"code-params\">reference, popper, options</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," options = defaultOptions;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> state = {\n"," placement: <span class=\"code-string\">'bottom'</span>,\n"," orderedModifiers: [],\n"," options: <span class=\"code-built_in\">Object</span>.assign({}, DEFAULT_OPTIONS, defaultOptions),\n"," modifiersData: {},\n"," elements: {\n"," reference: reference,\n"," popper: popper\n"," },\n"," attributes: {},\n"," styles: {}\n"," };\n"," <span class=\"code-keyword\">var</span> effectCleanupFns = [];\n"," <span class=\"code-keyword\">var</span> isDestroyed = <span class=\"code-literal\">false</span>;\n"," <span class=\"code-keyword\">var</span> instance = {\n"," state: state,\n"," setOptions: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">setOptions</span>(<span class=\"code-params\">setOptionsAction</span>) </span>{\n"," <span class=\"code-keyword\">var</span> options = <span class=\"code-keyword\">typeof</span> setOptionsAction === <span class=\"code-string\">'function'</span> ? setOptionsAction(state.options) : setOptionsAction;\n"," cleanupModifierEffects();\n"," state.options = <span class=\"code-built_in\">Object</span>.assign({}, defaultOptions, state.options, options);\n"," state.scrollParents = {\n"," reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n"," popper: listScrollParents(popper)\n"," }; <span class=\"code-comment\">// Orders the modifiers based on their dependencies and `phase`</span>\n"," <span class=\"code-comment\">// properties</span>\n","\n"," <span class=\"code-keyword\">var</span> orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); <span class=\"code-comment\">// Strip out disabled modifiers</span>\n","\n"," state.orderedModifiers = orderedModifiers.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">m</span>) </span>{\n"," <span class=\"code-keyword\">return</span> m.enabled;\n"," }); <span class=\"code-comment\">// Validate the provided modifiers so that the consumer will get warned</span>\n"," <span class=\"code-comment\">// if one of the modifiers is invalid for any reason</span>\n","\n"," {\n"," <span class=\"code-keyword\">var</span> modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> name = _ref.name;\n"," <span class=\"code-keyword\">return</span> name;\n"," });\n"," validateModifiers(modifiers);\n","\n"," <span class=\"code-keyword\">if</span> (getBasePlacement(state.options.placement) === auto) {\n"," <span class=\"code-keyword\">var</span> flipModifier = state.orderedModifiers.find(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">_ref2</span>) </span>{\n"," <span class=\"code-keyword\">var</span> name = _ref2.name;\n"," <span class=\"code-keyword\">return</span> name === <span class=\"code-string\">'flip'</span>;\n"," });\n","\n"," <span class=\"code-keyword\">if</span> (!flipModifier) {\n"," <span class=\"code-built_in\">console</span>.error([<span class=\"code-string\">'Popper: \"auto\" placements require the \"flip\" modifier be'</span>, <span class=\"code-string\">'present and enabled to work.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _getComputedStyle = getComputedStyle(popper),\n"," marginTop = _getComputedStyle.marginTop,\n"," marginRight = _getComputedStyle.marginRight,\n"," marginBottom = _getComputedStyle.marginBottom,\n"," marginLeft = _getComputedStyle.marginLeft; <span class=\"code-comment\">// We no longer take into account `margins` on the popper, and it can</span>\n"," <span class=\"code-comment\">// cause bugs with positioning, so we'll warn the consumer</span>\n","\n","\n"," <span class=\"code-keyword\">if</span> ([marginTop, marginRight, marginBottom, marginLeft].some(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">margin</span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">parseFloat</span>(margin);\n"," })) {\n"," <span class=\"code-built_in\">console</span>.warn([<span class=\"code-string\">'Popper: CSS \"margin\" styles cannot be used to apply padding'</span>, <span class=\"code-string\">'between the popper and its reference element or boundary.'</span>, <span class=\"code-string\">'To replicate margin, use the `offset` modifier, as well as'</span>, <span class=\"code-string\">'the `padding` option in the `preventOverflow` and `flip`'</span>, <span class=\"code-string\">'modifiers.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," }\n","\n"," runModifierEffects();\n"," <span class=\"code-keyword\">return</span> instance.update();\n"," },\n"," <span class=\"code-comment\">// Sync update \u2013 it will always be executed, even if not necessary. This</span>\n"," <span class=\"code-comment\">// is useful for low frequency updates where sync behavior simplifies the</span>\n"," <span class=\"code-comment\">// logic.</span>\n"," <span class=\"code-comment\">// For high frequency updates (e.g. `resize` and `scroll` events), always</span>\n"," <span class=\"code-comment\">// prefer the async Popper#update method</span>\n"," forceUpdate: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">forceUpdate</span>(<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">if</span> (isDestroyed) {\n"," <span class=\"code-keyword\">return</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _state$elements = state.elements,\n"," reference = _state$elements.reference,\n"," popper = _state$elements.popper; <span class=\"code-comment\">// Don't proceed if `reference` or `popper` are not valid elements</span>\n"," <span class=\"code-comment\">// anymore</span>\n","\n"," <span class=\"code-keyword\">if</span> (!areValidElements(reference, popper)) {\n"," {\n"," <span class=\"code-built_in\">console</span>.error(INVALID_ELEMENT_ERROR);\n"," }\n","\n"," <span class=\"code-keyword\">return</span>;\n"," } <span class=\"code-comment\">// Store the reference and popper rects to be read by modifiers</span>\n","\n","\n"," state.rects = {\n"," reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === <span class=\"code-string\">'fixed'</span>),\n"," popper: getLayoutRect(popper)\n"," }; <span class=\"code-comment\">// Modifiers have the ability to reset the current update cycle. The</span>\n"," <span class=\"code-comment\">// most common use case for this is the `flip` modifier changing the</span>\n"," <span class=\"code-comment\">// placement, which then needs to re-run all the modifiers, because the</span>\n"," <span class=\"code-comment\">// logic was previously ran for the previous placement and is therefore</span>\n"," <span class=\"code-comment\">// stale/incorrect</span>\n","\n"," state.reset = <span class=\"code-literal\">false</span>;\n"," state.placement = state.options.placement; <span class=\"code-comment\">// On each update cycle, the `modifiersData` property for each modifier</span>\n"," <span class=\"code-comment\">// is filled with the initial data specified by the modifier. This means</span>\n"," <span class=\"code-comment\">// it doesn't persist and is fresh on each update.</span>\n"," <span class=\"code-comment\">// To ensure persistent data, use `${name}#persistent`</span>\n","\n"," state.orderedModifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">modifier</span>) </span>{\n"," <span class=\"code-keyword\">return</span> state.modifiersData[modifier.name] = <span class=\"code-built_in\">Object</span>.assign({}, modifier.data);\n"," });\n"," <span class=\"code-keyword\">var</span> __debug_loops__ = <span class=\"code-number\">0</span>;\n","\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> index = <span class=\"code-number\">0</span>; index &lt; state.orderedModifiers.length; index++) {\n"," {\n"," __debug_loops__ += <span class=\"code-number\">1</span>;\n","\n"," <span class=\"code-keyword\">if</span> (__debug_loops__ &gt; <span class=\"code-number\">100</span>) {\n"," <span class=\"code-built_in\">console</span>.error(INFINITE_LOOP_ERROR);\n"," <span class=\"code-keyword\">break</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (state.reset === <span class=\"code-literal\">true</span>) {\n"," state.reset = <span class=\"code-literal\">false</span>;\n"," index = <span class=\"code-number\">-1</span>;\n"," <span class=\"code-keyword\">continue</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _state$orderedModifie = state.orderedModifiers[index],\n"," fn = _state$orderedModifie.fn,\n"," _state$orderedModifie2 = _state$orderedModifie.options,\n"," _options = _state$orderedModifie2 === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? {} : _state$orderedModifie2,\n"," name = _state$orderedModifie.name;\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> fn === <span class=\"code-string\">'function'</span>) {\n"," state = fn({\n"," state: state,\n"," options: _options,\n"," name: name,\n"," instance: instance\n"," }) || state;\n"," }\n"," }\n"," },\n"," <span class=\"code-comment\">// Async and optimistically optimized update \u2013 it will not be executed if</span>\n"," <span class=\"code-comment\">// not necessary (debounced to run at most once-per-tick)</span>\n"," update: debounce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">return</span> <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">resolve</span>) </span>{\n"," instance.forceUpdate();\n"," resolve(state);\n"," });\n"," }),\n"," destroy: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">destroy</span>(<span class=\"code-params\"></span>) </span>{\n"," cleanupModifierEffects();\n"," isDestroyed = <span class=\"code-literal\">true</span>;\n"," }\n"," };\n","\n"," <span class=\"code-keyword\">if</span> (!areValidElements(reference, popper)) {\n"," {\n"," <span class=\"code-built_in\">console</span>.error(INVALID_ELEMENT_ERROR);\n"," }\n","\n"," <span class=\"code-keyword\">return</span> instance;\n"," }\n","\n"," instance.setOptions(options).then(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">state</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (!isDestroyed &amp;&amp; options.onFirstUpdate) {\n"," options.onFirstUpdate(state);\n"," }\n"," }); <span class=\"code-comment\">// Modifiers have the ability to execute arbitrary code before the first</span>\n"," <span class=\"code-comment\">// update cycle runs. They will be executed in the same order as the update</span>\n"," <span class=\"code-comment\">// cycle. This is useful when a modifier adds some persistent data that</span>\n"," <span class=\"code-comment\">// other modifiers need to use, but the modifier is run after the dependent</span>\n"," <span class=\"code-comment\">// one.</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">runModifierEffects</span>(<span class=\"code-params\"></span>) </span>{\n"," state.orderedModifiers.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">_ref3</span>) </span>{\n"," <span class=\"code-keyword\">var</span> name = _ref3.name,\n"," _ref3$options = _ref3.options,\n"," options = _ref3$options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? {} : _ref3$options,\n"," effect = _ref3.effect;\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> effect === <span class=\"code-string\">'function'</span>) {\n"," <span class=\"code-keyword\">var</span> cleanupFn = effect({\n"," state: state,\n"," name: name,\n"," instance: instance,\n"," options: options\n"," });\n","\n"," <span class=\"code-keyword\">var</span> noopFn = <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">noopFn</span>(<span class=\"code-params\"></span>) </span>{};\n","\n"," effectCleanupFns.push(cleanupFn || noopFn);\n"," }\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">cleanupModifierEffects</span>(<span class=\"code-params\"></span>) </span>{\n"," effectCleanupFns.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">fn</span>) </span>{\n"," <span class=\"code-keyword\">return</span> fn();\n"," });\n"," effectCleanupFns = [];\n"," }\n","\n"," <span class=\"code-keyword\">return</span> instance;\n"," };\n"," }\n","\n"," <span class=\"code-keyword\">var</span> passive = {\n"," passive: <span class=\"code-literal\">true</span>\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">effect$2</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref.state,\n"," instance = _ref.instance,\n"," options = _ref.options;\n"," <span class=\"code-keyword\">var</span> _options$scroll = options.scroll,\n"," scroll = _options$scroll === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$scroll,\n"," _options$resize = options.resize,\n"," resize = _options$resize === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$resize;\n"," <span class=\"code-keyword\">var</span> <span class=\"code-built_in\">window</span> = getWindow(state.elements.popper);\n"," <span class=\"code-keyword\">var</span> scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n","\n"," <span class=\"code-keyword\">if</span> (scroll) {\n"," scrollParents.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">scrollParent</span>) </span>{\n"," scrollParent.addEventListener(<span class=\"code-string\">'scroll'</span>, instance.update, passive);\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (resize) {\n"," <span class=\"code-built_in\">window</span>.addEventListener(<span class=\"code-string\">'resize'</span>, instance.update, passive);\n"," }\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-keyword\">if</span> (scroll) {\n"," scrollParents.forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">scrollParent</span>) </span>{\n"," scrollParent.removeEventListener(<span class=\"code-string\">'scroll'</span>, instance.update, passive);\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (resize) {\n"," <span class=\"code-built_in\">window</span>.removeEventListener(<span class=\"code-string\">'resize'</span>, instance.update, passive);\n"," }\n"," };\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> eventListeners = {\n"," name: <span class=\"code-string\">'eventListeners'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'write'</span>,\n"," fn: <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">fn</span>(<span class=\"code-params\"></span>) </span>{},\n"," effect: effect$<span class=\"code-number\">2</span>,\n"," data: {}\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">popperOffsets</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref.state,\n"," name = _ref.name;\n"," <span class=\"code-comment\">// Offsets are the actual position the popper needs to have to be</span>\n"," <span class=\"code-comment\">// properly positioned near its reference element</span>\n"," <span class=\"code-comment\">// This is the most basic placement, and will be adjusted by</span>\n"," <span class=\"code-comment\">// the modifiers in the next step</span>\n"," state.modifiersData[name] = computeOffsets({\n"," reference: state.rects.reference,\n"," element: state.rects.popper,\n"," strategy: <span class=\"code-string\">'absolute'</span>,\n"," placement: state.placement\n"," });\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> popperOffsets$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'popperOffsets'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'read'</span>,\n"," fn: popperOffsets,\n"," data: {}\n"," };\n","\n"," <span class=\"code-keyword\">var</span> unsetSides = {\n"," top: <span class=\"code-string\">'auto'</span>,\n"," right: <span class=\"code-string\">'auto'</span>,\n"," bottom: <span class=\"code-string\">'auto'</span>,\n"," left: <span class=\"code-string\">'auto'</span>\n"," }; <span class=\"code-comment\">// Round the offsets to the nearest suitable subpixel based on the DPR.</span>\n"," <span class=\"code-comment\">// Zooming can change the DPR, but it seems to report a value that will</span>\n"," <span class=\"code-comment\">// cleanly divide the values into the appropriate subpixels.</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">roundOffsetsByDPR</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> x = _ref.x,\n"," y = _ref.y;\n"," <span class=\"code-keyword\">var</span> win = <span class=\"code-built_in\">window</span>;\n"," <span class=\"code-keyword\">var</span> dpr = win.devicePixelRatio || <span class=\"code-number\">1</span>;\n"," <span class=\"code-keyword\">return</span> {\n"," x: round(x * dpr) / dpr || <span class=\"code-number\">0</span>,\n"," y: round(y * dpr) / dpr || <span class=\"code-number\">0</span>\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">mapToStyles</span>(<span class=\"code-params\">_ref2</span>) </span>{\n"," <span class=\"code-keyword\">var</span> _Object$assign2;\n","\n"," <span class=\"code-keyword\">var</span> popper = _ref2.popper,\n"," popperRect = _ref2.popperRect,\n"," placement = _ref2.placement,\n"," variation = _ref2.variation,\n"," offsets = _ref2.offsets,\n"," position = _ref2.position,\n"," gpuAcceleration = _ref2.gpuAcceleration,\n"," adaptive = _ref2.adaptive,\n"," roundOffsets = _ref2.roundOffsets,\n"," isFixed = _ref2.isFixed;\n"," <span class=\"code-keyword\">var</span> _offsets$x = offsets.x,\n"," x = _offsets$x === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-number\">0</span> : _offsets$x,\n"," _offsets$y = offsets.y,\n"," y = _offsets$y === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-number\">0</span> : _offsets$y;\n","\n"," <span class=\"code-keyword\">var</span> _ref3 = <span class=\"code-keyword\">typeof</span> roundOffsets === <span class=\"code-string\">'function'</span> ? roundOffsets({\n"," x: x,\n"," y: y\n"," }) : {\n"," x: x,\n"," y: y\n"," };\n","\n"," x = _ref3.x;\n"," y = _ref3.y;\n"," <span class=\"code-keyword\">var</span> hasX = offsets.hasOwnProperty(<span class=\"code-string\">'x'</span>);\n"," <span class=\"code-keyword\">var</span> hasY = offsets.hasOwnProperty(<span class=\"code-string\">'y'</span>);\n"," <span class=\"code-keyword\">var</span> sideX = left;\n"," <span class=\"code-keyword\">var</span> sideY = top;\n"," <span class=\"code-keyword\">var</span> win = <span class=\"code-built_in\">window</span>;\n","\n"," <span class=\"code-keyword\">if</span> (adaptive) {\n"," <span class=\"code-keyword\">var</span> offsetParent = getOffsetParent(popper);\n"," <span class=\"code-keyword\">var</span> heightProp = <span class=\"code-string\">'clientHeight'</span>;\n"," <span class=\"code-keyword\">var</span> widthProp = <span class=\"code-string\">'clientWidth'</span>;\n","\n"," <span class=\"code-keyword\">if</span> (offsetParent === getWindow(popper)) {\n"," offsetParent = getDocumentElement(popper);\n","\n"," <span class=\"code-keyword\">if</span> (getComputedStyle(offsetParent).position !== <span class=\"code-string\">'static'</span> &amp;&amp; position === <span class=\"code-string\">'absolute'</span>) {\n"," heightProp = <span class=\"code-string\">'scrollHeight'</span>;\n"," widthProp = <span class=\"code-string\">'scrollWidth'</span>;\n"," }\n"," } <span class=\"code-comment\">// $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it</span>\n","\n","\n"," offsetParent = offsetParent;\n","\n"," <span class=\"code-keyword\">if</span> (placement === top || (placement === left || placement === right) &amp;&amp; variation === end) {\n"," sideY = bottom;\n"," <span class=\"code-keyword\">var</span> offsetY = isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport ? win.visualViewport.height : <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," offsetParent[heightProp];\n"," y -= offsetY - popperRect.height;\n"," y *= gpuAcceleration ? <span class=\"code-number\">1</span> : <span class=\"code-number\">-1</span>;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (placement === left || (placement === top || placement === bottom) &amp;&amp; variation === end) {\n"," sideX = right;\n"," <span class=\"code-keyword\">var</span> offsetX = isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport ? win.visualViewport.width : <span class=\"code-comment\">// $FlowFixMe[prop-missing]</span>\n"," offsetParent[widthProp];\n"," x -= offsetX - popperRect.width;\n"," x *= gpuAcceleration ? <span class=\"code-number\">1</span> : <span class=\"code-number\">-1</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> commonStyles = <span class=\"code-built_in\">Object</span>.assign({\n"," position: position\n"," }, adaptive &amp;&amp; unsetSides);\n","\n"," <span class=\"code-keyword\">var</span> _ref4 = roundOffsets === <span class=\"code-literal\">true</span> ? roundOffsetsByDPR({\n"," x: x,\n"," y: y\n"," }) : {\n"," x: x,\n"," y: y\n"," };\n","\n"," x = _ref4.x;\n"," y = _ref4.y;\n","\n"," <span class=\"code-keyword\">if</span> (gpuAcceleration) {\n"," <span class=\"code-keyword\">var</span> _Object$assign;\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? <span class=\"code-string\">'0'</span> : <span class=\"code-string\">''</span>, _Object$assign[sideX] = hasX ? <span class=\"code-string\">'0'</span> : <span class=\"code-string\">''</span>, _Object$assign.transform = (win.devicePixelRatio || <span class=\"code-number\">1</span>) &lt;= <span class=\"code-number\">1</span> ? <span class=\"code-string\">\"translate(\"</span> + x + <span class=\"code-string\">\"px, \"</span> + y + <span class=\"code-string\">\"px)\"</span> : <span class=\"code-string\">\"translate3d(\"</span> + x + <span class=\"code-string\">\"px, \"</span> + y + <span class=\"code-string\">\"px, 0)\"</span>, _Object$assign));\n"," }\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + <span class=\"code-string\">\"px\"</span> : <span class=\"code-string\">''</span>, _Object$assign2[sideX] = hasX ? x + <span class=\"code-string\">\"px\"</span> : <span class=\"code-string\">''</span>, _Object$assign2.transform = <span class=\"code-string\">''</span>, _Object$assign2));\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">computeStyles</span>(<span class=\"code-params\">_ref5</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref5.state,\n"," options = _ref5.options;\n"," <span class=\"code-keyword\">var</span> _options$gpuAccelerat = options.gpuAcceleration,\n"," gpuAcceleration = _options$gpuAccelerat === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$gpuAccelerat,\n"," _options$adaptive = options.adaptive,\n"," adaptive = _options$adaptive === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$adaptive,\n"," _options$roundOffsets = options.roundOffsets,\n"," roundOffsets = _options$roundOffsets === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$roundOffsets;\n","\n"," {\n"," <span class=\"code-keyword\">var</span> transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || <span class=\"code-string\">''</span>;\n","\n"," <span class=\"code-keyword\">if</span> (adaptive &amp;&amp; [<span class=\"code-string\">'transform'</span>, <span class=\"code-string\">'top'</span>, <span class=\"code-string\">'right'</span>, <span class=\"code-string\">'bottom'</span>, <span class=\"code-string\">'left'</span>].some(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">property</span>) </span>{\n"," <span class=\"code-keyword\">return</span> transitionProperty.indexOf(property) &gt;= <span class=\"code-number\">0</span>;\n"," })) {\n"," <span class=\"code-built_in\">console</span>.warn([<span class=\"code-string\">'Popper: Detected CSS transitions on at least one of the following'</span>, <span class=\"code-string\">'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".'</span>, <span class=\"code-string\">'\\n\\n'</span>, <span class=\"code-string\">'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow'</span>, <span class=\"code-string\">'for smooth transitions, or remove these properties from the CSS'</span>, <span class=\"code-string\">'transition declaration on the popper element if only transitioning'</span>, <span class=\"code-string\">'opacity or background-color for example.'</span>, <span class=\"code-string\">'\\n\\n'</span>, <span class=\"code-string\">'We recommend using the popper element as a wrapper around an inner'</span>, <span class=\"code-string\">'element that can have any CSS property transitioned for animations.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">var</span> commonStyles = {\n"," placement: getBasePlacement(state.placement),\n"," variation: getVariation(state.placement),\n"," popper: state.elements.popper,\n"," popperRect: state.rects.popper,\n"," gpuAcceleration: gpuAcceleration,\n"," isFixed: state.options.strategy === <span class=\"code-string\">'fixed'</span>\n"," };\n","\n"," <span class=\"code-keyword\">if</span> (state.modifiersData.popperOffsets != <span class=\"code-literal\">null</span>) {\n"," state.styles.popper = <span class=\"code-built_in\">Object</span>.assign({}, state.styles.popper, mapToStyles(<span class=\"code-built_in\">Object</span>.assign({}, commonStyles, {\n"," offsets: state.modifiersData.popperOffsets,\n"," position: state.options.strategy,\n"," adaptive: adaptive,\n"," roundOffsets: roundOffsets\n"," })));\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (state.modifiersData.arrow != <span class=\"code-literal\">null</span>) {\n"," state.styles.arrow = <span class=\"code-built_in\">Object</span>.assign({}, state.styles.arrow, mapToStyles(<span class=\"code-built_in\">Object</span>.assign({}, commonStyles, {\n"," offsets: state.modifiersData.arrow,\n"," position: <span class=\"code-string\">'absolute'</span>,\n"," adaptive: <span class=\"code-literal\">false</span>,\n"," roundOffsets: roundOffsets\n"," })));\n"," }\n","\n"," state.attributes.popper = <span class=\"code-built_in\">Object</span>.assign({}, state.attributes.popper, {\n"," <span class=\"code-string\">'data-popper-placement'</span>: state.placement\n"," });\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> computeStyles$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'computeStyles'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'beforeWrite'</span>,\n"," fn: computeStyles,\n"," data: {}\n"," };\n","\n"," <span class=\"code-comment\">// and applies them to the HTMLElements such as popper and arrow</span>\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">applyStyles</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref.state;\n"," <span class=\"code-built_in\">Object</span>.keys(state.elements).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">name</span>) </span>{\n"," <span class=\"code-keyword\">var</span> style = state.styles[name] || {};\n"," <span class=\"code-keyword\">var</span> attributes = state.attributes[name] || {};\n"," <span class=\"code-keyword\">var</span> element = state.elements[name]; <span class=\"code-comment\">// arrow is optional + virtual elements</span>\n","\n"," <span class=\"code-keyword\">if</span> (!isHTMLElement(element) || !getNodeName(element)) {\n"," <span class=\"code-keyword\">return</span>;\n"," } <span class=\"code-comment\">// Flow doesn't support to extend this property, but it's the most</span>\n"," <span class=\"code-comment\">// effective way to apply styles to an HTMLElement</span>\n"," <span class=\"code-comment\">// $FlowFixMe[cannot-write]</span>\n","\n","\n"," <span class=\"code-built_in\">Object</span>.assign(element.style, style);\n"," <span class=\"code-built_in\">Object</span>.keys(attributes).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">name</span>) </span>{\n"," <span class=\"code-keyword\">var</span> value = attributes[name];\n","\n"," <span class=\"code-keyword\">if</span> (value === <span class=\"code-literal\">false</span>) {\n"," element.removeAttribute(name);\n"," } <span class=\"code-keyword\">else</span> {\n"," element.setAttribute(name, value === <span class=\"code-literal\">true</span> ? <span class=\"code-string\">''</span> : value);\n"," }\n"," });\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">effect$1</span>(<span class=\"code-params\">_ref2</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref2.state;\n"," <span class=\"code-keyword\">var</span> initialStyles = {\n"," popper: {\n"," position: state.options.strategy,\n"," left: <span class=\"code-string\">'0'</span>,\n"," top: <span class=\"code-string\">'0'</span>,\n"," margin: <span class=\"code-string\">'0'</span>\n"," },\n"," arrow: {\n"," position: <span class=\"code-string\">'absolute'</span>\n"," },\n"," reference: {}\n"," };\n"," <span class=\"code-built_in\">Object</span>.assign(state.elements.popper.style, initialStyles.popper);\n"," state.styles = initialStyles;\n","\n"," <span class=\"code-keyword\">if</span> (state.elements.arrow) {\n"," <span class=\"code-built_in\">Object</span>.assign(state.elements.arrow.style, initialStyles.arrow);\n"," }\n","\n"," <span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\"></span>) </span>{\n"," <span class=\"code-built_in\">Object</span>.keys(state.elements).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">name</span>) </span>{\n"," <span class=\"code-keyword\">var</span> element = state.elements[name];\n"," <span class=\"code-keyword\">var</span> attributes = state.attributes[name] || {};\n"," <span class=\"code-keyword\">var</span> styleProperties = <span class=\"code-built_in\">Object</span>.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); <span class=\"code-comment\">// Set all values to an empty string to unset them</span>\n","\n"," <span class=\"code-keyword\">var</span> style = styleProperties.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">style, property</span>) </span>{\n"," style[property] = <span class=\"code-string\">''</span>;\n"," <span class=\"code-keyword\">return</span> style;\n"," }, {}); <span class=\"code-comment\">// arrow is optional + virtual elements</span>\n","\n"," <span class=\"code-keyword\">if</span> (!isHTMLElement(element) || !getNodeName(element)) {\n"," <span class=\"code-keyword\">return</span>;\n"," }\n","\n"," <span class=\"code-built_in\">Object</span>.assign(element.style, style);\n"," <span class=\"code-built_in\">Object</span>.keys(attributes).forEach(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">attribute</span>) </span>{\n"," element.removeAttribute(attribute);\n"," });\n"," });\n"," };\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> applyStyles$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'applyStyles'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'write'</span>,\n"," fn: applyStyles,\n"," effect: effect$<span class=\"code-number\">1</span>,\n"," requires: [<span class=\"code-string\">'computeStyles'</span>]\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">distanceAndSkiddingToXY</span>(<span class=\"code-params\">placement, rects, offset</span>) </span>{\n"," <span class=\"code-keyword\">var</span> basePlacement = getBasePlacement(placement);\n"," <span class=\"code-keyword\">var</span> invertDistance = [left, top].indexOf(basePlacement) &gt;= <span class=\"code-number\">0</span> ? <span class=\"code-number\">-1</span> : <span class=\"code-number\">1</span>;\n","\n"," <span class=\"code-keyword\">var</span> _ref = <span class=\"code-keyword\">typeof</span> offset === <span class=\"code-string\">'function'</span> ? offset(<span class=\"code-built_in\">Object</span>.assign({}, rects, {\n"," placement: placement\n"," })) : offset,\n"," skidding = _ref[<span class=\"code-number\">0</span>],\n"," distance = _ref[<span class=\"code-number\">1</span>];\n","\n"," skidding = skidding || <span class=\"code-number\">0</span>;\n"," distance = (distance || <span class=\"code-number\">0</span>) * invertDistance;\n"," <span class=\"code-keyword\">return</span> [left, right].indexOf(basePlacement) &gt;= <span class=\"code-number\">0</span> ? {\n"," x: distance,\n"," y: skidding\n"," } : {\n"," x: skidding,\n"," y: distance\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">offset</span>(<span class=\"code-params\">_ref2</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref2.state,\n"," options = _ref2.options,\n"," name = _ref2.name;\n"," <span class=\"code-keyword\">var</span> _options$offset = options.offset,\n"," offset = _options$offset === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? [<span class=\"code-number\">0</span>, <span class=\"code-number\">0</span>] : _options$offset;\n"," <span class=\"code-keyword\">var</span> data = placements.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">acc, placement</span>) </span>{\n"," acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n"," <span class=\"code-keyword\">return</span> acc;\n"," }, {});\n"," <span class=\"code-keyword\">var</span> _data$state$placement = data[state.placement],\n"," x = _data$state$placement.x,\n"," y = _data$state$placement.y;\n","\n"," <span class=\"code-keyword\">if</span> (state.modifiersData.popperOffsets != <span class=\"code-literal\">null</span>) {\n"," state.modifiersData.popperOffsets.x += x;\n"," state.modifiersData.popperOffsets.y += y;\n"," }\n","\n"," state.modifiersData[name] = data;\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> offset$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'offset'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'main'</span>,\n"," requires: [<span class=\"code-string\">'popperOffsets'</span>],\n"," fn: offset\n"," };\n","\n"," <span class=\"code-keyword\">var</span> hash$<span class=\"code-number\">1</span> = {\n"," left: <span class=\"code-string\">'right'</span>,\n"," right: <span class=\"code-string\">'left'</span>,\n"," bottom: <span class=\"code-string\">'top'</span>,\n"," top: <span class=\"code-string\">'bottom'</span>\n"," };\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getOppositePlacement</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> placement.replace(<span class=\"code-regexp\">/left|right|bottom|top/g</span>, <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">matched</span>) </span>{\n"," <span class=\"code-keyword\">return</span> hash$<span class=\"code-number\">1</span>[matched];\n"," });\n"," }\n","\n"," <span class=\"code-keyword\">var</span> hash = {\n"," start: <span class=\"code-string\">'end'</span>,\n"," end: <span class=\"code-string\">'start'</span>\n"," };\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getOppositeVariationPlacement</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> placement.replace(<span class=\"code-regexp\">/start|end/g</span>, <span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">matched</span>) </span>{\n"," <span class=\"code-keyword\">return</span> hash[matched];\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">computeAutoPlacement</span>(<span class=\"code-params\">state, options</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (options === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," options = {};\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _options = options,\n"," placement = _options.placement,\n"," boundary = _options.boundary,\n"," rootBoundary = _options.rootBoundary,\n"," padding = _options.padding,\n"," flipVariations = _options.flipVariations,\n"," _options$allowedAutoP = _options.allowedAutoPlacements,\n"," allowedAutoPlacements = _options$allowedAutoP === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? placements : _options$allowedAutoP;\n"," <span class=\"code-keyword\">var</span> variation = getVariation(placement);\n"," <span class=\"code-keyword\">var</span> placements$<span class=\"code-number\">1</span> = variation ? flipVariations ? variationPlacements : variationPlacements.filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> getVariation(placement) === variation;\n"," }) : basePlacements;\n"," <span class=\"code-keyword\">var</span> allowedPlacements = placements$<span class=\"code-number\">1.</span>filter(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> allowedAutoPlacements.indexOf(placement) &gt;= <span class=\"code-number\">0</span>;\n"," });\n","\n"," <span class=\"code-keyword\">if</span> (allowedPlacements.length === <span class=\"code-number\">0</span>) {\n"," allowedPlacements = placements$<span class=\"code-number\">1</span>;\n","\n"," {\n"," <span class=\"code-built_in\">console</span>.error([<span class=\"code-string\">'Popper: The `allowedAutoPlacements` option did not allow any'</span>, <span class=\"code-string\">'placements. Ensure the `placement` option matches the variation'</span>, <span class=\"code-string\">'of the allowed placements.'</span>, <span class=\"code-string\">'For example, \"auto\" cannot be used to allow \"bottom-start\".'</span>, <span class=\"code-string\">'Use \"auto-start\" instead.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," } <span class=\"code-comment\">// $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> overflows = allowedPlacements.reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">acc, placement</span>) </span>{\n"," acc[placement] = detectOverflow(state, {\n"," placement: placement,\n"," boundary: boundary,\n"," rootBoundary: rootBoundary,\n"," padding: padding\n"," })[getBasePlacement(placement)];\n"," <span class=\"code-keyword\">return</span> acc;\n"," }, {});\n"," <span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.keys(overflows).sort(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">a, b</span>) </span>{\n"," <span class=\"code-keyword\">return</span> overflows[a] - overflows[b];\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getExpandedFallbackPlacements</span>(<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (getBasePlacement(placement) === auto) {\n"," <span class=\"code-keyword\">return</span> [];\n"," }\n","\n"," <span class=\"code-keyword\">var</span> oppositePlacement = getOppositePlacement(placement);\n"," <span class=\"code-keyword\">return</span> [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">flip</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref.state,\n"," options = _ref.options,\n"," name = _ref.name;\n","\n"," <span class=\"code-keyword\">if</span> (state.modifiersData[name]._skip) {\n"," <span class=\"code-keyword\">return</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> _options$mainAxis = options.mainAxis,\n"," checkMainAxis = _options$mainAxis === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$mainAxis,\n"," _options$altAxis = options.altAxis,\n"," checkAltAxis = _options$altAxis === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$altAxis,\n"," specifiedFallbackPlacements = options.fallbackPlacements,\n"," padding = options.padding,\n"," boundary = options.boundary,\n"," rootBoundary = options.rootBoundary,\n"," altBoundary = options.altBoundary,\n"," _options$flipVariatio = options.flipVariations,\n"," flipVariations = _options$flipVariatio === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$flipVariatio,\n"," allowedAutoPlacements = options.allowedAutoPlacements;\n"," <span class=\"code-keyword\">var</span> preferredPlacement = state.options.placement;\n"," <span class=\"code-keyword\">var</span> basePlacement = getBasePlacement(preferredPlacement);\n"," <span class=\"code-keyword\">var</span> isBasePlacement = basePlacement === preferredPlacement;\n"," <span class=\"code-keyword\">var</span> fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n"," <span class=\"code-keyword\">var</span> placements = [preferredPlacement].concat(fallbackPlacements).reduce(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">acc, placement</span>) </span>{\n"," <span class=\"code-keyword\">return</span> acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n"," placement: placement,\n"," boundary: boundary,\n"," rootBoundary: rootBoundary,\n"," padding: padding,\n"," flipVariations: flipVariations,\n"," allowedAutoPlacements: allowedAutoPlacements\n"," }) : placement);\n"," }, []);\n"," <span class=\"code-keyword\">var</span> referenceRect = state.rects.reference;\n"," <span class=\"code-keyword\">var</span> popperRect = state.rects.popper;\n"," <span class=\"code-keyword\">var</span> checksMap = <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Map</span>();\n"," <span class=\"code-keyword\">var</span> makeFallbackChecks = <span class=\"code-literal\">true</span>;\n"," <span class=\"code-keyword\">var</span> firstFittingPlacement = placements[<span class=\"code-number\">0</span>];\n","\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> i = <span class=\"code-number\">0</span>; i &lt; placements.length; i++) {\n"," <span class=\"code-keyword\">var</span> placement = placements[i];\n","\n"," <span class=\"code-keyword\">var</span> _basePlacement = getBasePlacement(placement);\n","\n"," <span class=\"code-keyword\">var</span> isStartVariation = getVariation(placement) === start;\n"," <span class=\"code-keyword\">var</span> isVertical = [top, bottom].indexOf(_basePlacement) &gt;= <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> len = isVertical ? <span class=\"code-string\">'width'</span> : <span class=\"code-string\">'height'</span>;\n"," <span class=\"code-keyword\">var</span> overflow = detectOverflow(state, {\n"," placement: placement,\n"," boundary: boundary,\n"," rootBoundary: rootBoundary,\n"," altBoundary: altBoundary,\n"," padding: padding\n"," });\n"," <span class=\"code-keyword\">var</span> mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n","\n"," <span class=\"code-keyword\">if</span> (referenceRect[len] &gt; popperRect[len]) {\n"," mainVariationSide = getOppositePlacement(mainVariationSide);\n"," }\n","\n"," <span class=\"code-keyword\">var</span> altVariationSide = getOppositePlacement(mainVariationSide);\n"," <span class=\"code-keyword\">var</span> checks = [];\n","\n"," <span class=\"code-keyword\">if</span> (checkMainAxis) {\n"," checks.push(overflow[_basePlacement] &lt;= <span class=\"code-number\">0</span>);\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (checkAltAxis) {\n"," checks.push(overflow[mainVariationSide] &lt;= <span class=\"code-number\">0</span>, overflow[altVariationSide] &lt;= <span class=\"code-number\">0</span>);\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (checks.every(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">check</span>) </span>{\n"," <span class=\"code-keyword\">return</span> check;\n"," })) {\n"," firstFittingPlacement = placement;\n"," makeFallbackChecks = <span class=\"code-literal\">false</span>;\n"," <span class=\"code-keyword\">break</span>;\n"," }\n","\n"," checksMap.set(placement, checks);\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (makeFallbackChecks) {\n"," <span class=\"code-comment\">// `2` may be desired in some cases \u2013 research later</span>\n"," <span class=\"code-keyword\">var</span> numberOfChecks = flipVariations ? <span class=\"code-number\">3</span> : <span class=\"code-number\">1</span>;\n","\n"," <span class=\"code-keyword\">var</span> _loop = <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">_loop</span>(<span class=\"code-params\">_i</span>) </span>{\n"," <span class=\"code-keyword\">var</span> fittingPlacement = placements.find(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">placement</span>) </span>{\n"," <span class=\"code-keyword\">var</span> checks = checksMap.get(placement);\n","\n"," <span class=\"code-keyword\">if</span> (checks) {\n"," <span class=\"code-keyword\">return</span> checks.slice(<span class=\"code-number\">0</span>, _i).every(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">check</span>) </span>{\n"," <span class=\"code-keyword\">return</span> check;\n"," });\n"," }\n"," });\n","\n"," <span class=\"code-keyword\">if</span> (fittingPlacement) {\n"," firstFittingPlacement = fittingPlacement;\n"," <span class=\"code-keyword\">return</span> <span class=\"code-string\">\"break\"</span>;\n"," }\n"," };\n","\n"," <span class=\"code-keyword\">for</span> (<span class=\"code-keyword\">var</span> _i = numberOfChecks; _i &gt; <span class=\"code-number\">0</span>; _i--) {\n"," <span class=\"code-keyword\">var</span> _ret = _loop(_i);\n","\n"," <span class=\"code-keyword\">if</span> (_ret === <span class=\"code-string\">\"break\"</span>) <span class=\"code-keyword\">break</span>;\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (state.placement !== firstFittingPlacement) {\n"," state.modifiersData[name]._skip = <span class=\"code-literal\">true</span>;\n"," state.placement = firstFittingPlacement;\n"," state.reset = <span class=\"code-literal\">true</span>;\n"," }\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> flip$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'flip'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'main'</span>,\n"," fn: flip,\n"," requiresIfExists: [<span class=\"code-string\">'offset'</span>],\n"," data: {\n"," _skip: <span class=\"code-literal\">false</span>\n"," }\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getAltAxis</span>(<span class=\"code-params\">axis</span>) </span>{\n"," <span class=\"code-keyword\">return</span> axis === <span class=\"code-string\">'x'</span> ? <span class=\"code-string\">'y'</span> : <span class=\"code-string\">'x'</span>;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">within</span>(<span class=\"code-params\">min$<span class=\"code-number\">1</span>, value, max$<span class=\"code-number\">1</span></span>) </span>{\n"," <span class=\"code-keyword\">return</span> max(min$<span class=\"code-number\">1</span>, min(value, max$<span class=\"code-number\">1</span>));\n"," }\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">withinMaxClamp</span>(<span class=\"code-params\">min, value, max</span>) </span>{\n"," <span class=\"code-keyword\">var</span> v = within(min, value, max);\n"," <span class=\"code-keyword\">return</span> v &gt; max ? max : v;\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">preventOverflow</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref.state,\n"," options = _ref.options,\n"," name = _ref.name;\n"," <span class=\"code-keyword\">var</span> _options$mainAxis = options.mainAxis,\n"," checkMainAxis = _options$mainAxis === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$mainAxis,\n"," _options$altAxis = options.altAxis,\n"," checkAltAxis = _options$altAxis === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">false</span> : _options$altAxis,\n"," boundary = options.boundary,\n"," rootBoundary = options.rootBoundary,\n"," altBoundary = options.altBoundary,\n"," padding = options.padding,\n"," _options$tether = options.tether,\n"," tether = _options$tether === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-literal\">true</span> : _options$tether,\n"," _options$tetherOffset = options.tetherOffset,\n"," tetherOffset = _options$tetherOffset === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-number\">0</span> : _options$tetherOffset;\n"," <span class=\"code-keyword\">var</span> overflow = detectOverflow(state, {\n"," boundary: boundary,\n"," rootBoundary: rootBoundary,\n"," padding: padding,\n"," altBoundary: altBoundary\n"," });\n"," <span class=\"code-keyword\">var</span> basePlacement = getBasePlacement(state.placement);\n"," <span class=\"code-keyword\">var</span> variation = getVariation(state.placement);\n"," <span class=\"code-keyword\">var</span> isBasePlacement = !variation;\n"," <span class=\"code-keyword\">var</span> mainAxis = getMainAxisFromPlacement(basePlacement);\n"," <span class=\"code-keyword\">var</span> altAxis = getAltAxis(mainAxis);\n"," <span class=\"code-keyword\">var</span> popperOffsets = state.modifiersData.popperOffsets;\n"," <span class=\"code-keyword\">var</span> referenceRect = state.rects.reference;\n"," <span class=\"code-keyword\">var</span> popperRect = state.rects.popper;\n"," <span class=\"code-keyword\">var</span> tetherOffsetValue = <span class=\"code-keyword\">typeof</span> tetherOffset === <span class=\"code-string\">'function'</span> ? tetherOffset(<span class=\"code-built_in\">Object</span>.assign({}, state.rects, {\n"," placement: state.placement\n"," })) : tetherOffset;\n"," <span class=\"code-keyword\">var</span> normalizedTetherOffsetValue = <span class=\"code-keyword\">typeof</span> tetherOffsetValue === <span class=\"code-string\">'number'</span> ? {\n"," mainAxis: tetherOffsetValue,\n"," altAxis: tetherOffsetValue\n"," } : <span class=\"code-built_in\">Object</span>.assign({\n"," mainAxis: <span class=\"code-number\">0</span>,\n"," altAxis: <span class=\"code-number\">0</span>\n"," }, tetherOffsetValue);\n"," <span class=\"code-keyword\">var</span> offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : <span class=\"code-literal\">null</span>;\n"," <span class=\"code-keyword\">var</span> data = {\n"," x: <span class=\"code-number\">0</span>,\n"," y: <span class=\"code-number\">0</span>\n"," };\n","\n"," <span class=\"code-keyword\">if</span> (!popperOffsets) {\n"," <span class=\"code-keyword\">return</span>;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (checkMainAxis) {\n"," <span class=\"code-keyword\">var</span> _offsetModifierState$;\n","\n"," <span class=\"code-keyword\">var</span> mainSide = mainAxis === <span class=\"code-string\">'y'</span> ? top : left;\n"," <span class=\"code-keyword\">var</span> altSide = mainAxis === <span class=\"code-string\">'y'</span> ? bottom : right;\n"," <span class=\"code-keyword\">var</span> len = mainAxis === <span class=\"code-string\">'y'</span> ? <span class=\"code-string\">'height'</span> : <span class=\"code-string\">'width'</span>;\n"," <span class=\"code-keyword\">var</span> offset = popperOffsets[mainAxis];\n"," <span class=\"code-keyword\">var</span> min$<span class=\"code-number\">1</span> = offset + overflow[mainSide];\n"," <span class=\"code-keyword\">var</span> max$<span class=\"code-number\">1</span> = offset - overflow[altSide];\n"," <span class=\"code-keyword\">var</span> additive = tether ? -popperRect[len] / <span class=\"code-number\">2</span> : <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> minLen = variation === start ? referenceRect[len] : popperRect[len];\n"," <span class=\"code-keyword\">var</span> maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; <span class=\"code-comment\">// We need to include the arrow in the calculation so the arrow doesn't go</span>\n"," <span class=\"code-comment\">// outside the reference bounds</span>\n","\n"," <span class=\"code-keyword\">var</span> arrowElement = state.elements.arrow;\n"," <span class=\"code-keyword\">var</span> arrowRect = tether &amp;&amp; arrowElement ? getLayoutRect(arrowElement) : {\n"," width: <span class=\"code-number\">0</span>,\n"," height: <span class=\"code-number\">0</span>\n"," };\n"," <span class=\"code-keyword\">var</span> arrowPaddingObject = state.modifiersData[<span class=\"code-string\">'arrow#persistent'</span>] ? state.modifiersData[<span class=\"code-string\">'arrow#persistent'</span>].padding : getFreshSideObject();\n"," <span class=\"code-keyword\">var</span> arrowPaddingMin = arrowPaddingObject[mainSide];\n"," <span class=\"code-keyword\">var</span> arrowPaddingMax = arrowPaddingObject[altSide]; <span class=\"code-comment\">// If the reference length is smaller than the arrow length, we don't want</span>\n"," <span class=\"code-comment\">// to include its full size in the calculation. If the reference is small</span>\n"," <span class=\"code-comment\">// and near the edge of a boundary, the popper can overflow even if the</span>\n"," <span class=\"code-comment\">// reference is not overflowing as well (e.g. virtual elements with no</span>\n"," <span class=\"code-comment\">// width or height)</span>\n","\n"," <span class=\"code-keyword\">var</span> arrowLen = within(<span class=\"code-number\">0</span>, referenceRect[len], arrowRect[len]);\n"," <span class=\"code-keyword\">var</span> minOffset = isBasePlacement ? referenceRect[len] / <span class=\"code-number\">2</span> - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n"," <span class=\"code-keyword\">var</span> maxOffset = isBasePlacement ? -referenceRect[len] / <span class=\"code-number\">2</span> + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n"," <span class=\"code-keyword\">var</span> arrowOffsetParent = state.elements.arrow &amp;&amp; getOffsetParent(state.elements.arrow);\n"," <span class=\"code-keyword\">var</span> clientOffset = arrowOffsetParent ? mainAxis === <span class=\"code-string\">'y'</span> ? arrowOffsetParent.clientTop || <span class=\"code-number\">0</span> : arrowOffsetParent.clientLeft || <span class=\"code-number\">0</span> : <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> offsetModifierValue = (_offsetModifierState$ = offsetModifierState == <span class=\"code-literal\">null</span> ? <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> : offsetModifierState[mainAxis]) != <span class=\"code-literal\">null</span> ? _offsetModifierState$ : <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n"," <span class=\"code-keyword\">var</span> tetherMax = offset + maxOffset - offsetModifierValue;\n"," <span class=\"code-keyword\">var</span> preventedOffset = within(tether ? min(min$<span class=\"code-number\">1</span>, tetherMin) : min$<span class=\"code-number\">1</span>, offset, tether ? max(max$<span class=\"code-number\">1</span>, tetherMax) : max$<span class=\"code-number\">1</span>);\n"," popperOffsets[mainAxis] = preventedOffset;\n"," data[mainAxis] = preventedOffset - offset;\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (checkAltAxis) {\n"," <span class=\"code-keyword\">var</span> _offsetModifierState$<span class=\"code-number\">2</span>;\n","\n"," <span class=\"code-keyword\">var</span> _mainSide = mainAxis === <span class=\"code-string\">'x'</span> ? top : left;\n","\n"," <span class=\"code-keyword\">var</span> _altSide = mainAxis === <span class=\"code-string\">'x'</span> ? bottom : right;\n","\n"," <span class=\"code-keyword\">var</span> _offset = popperOffsets[altAxis];\n","\n"," <span class=\"code-keyword\">var</span> _len = altAxis === <span class=\"code-string\">'y'</span> ? <span class=\"code-string\">'height'</span> : <span class=\"code-string\">'width'</span>;\n","\n"," <span class=\"code-keyword\">var</span> _min = _offset + overflow[_mainSide];\n","\n"," <span class=\"code-keyword\">var</span> _max = _offset - overflow[_altSide];\n","\n"," <span class=\"code-keyword\">var</span> isOriginSide = [top, left].indexOf(basePlacement) !== <span class=\"code-number\">-1</span>;\n","\n"," <span class=\"code-keyword\">var</span> _offsetModifierValue = (_offsetModifierState$<span class=\"code-number\">2</span> = offsetModifierState == <span class=\"code-literal\">null</span> ? <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> : offsetModifierState[altAxis]) != <span class=\"code-literal\">null</span> ? _offsetModifierState$<span class=\"code-number\">2</span> : <span class=\"code-number\">0</span>;\n","\n"," <span class=\"code-keyword\">var</span> _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n","\n"," <span class=\"code-keyword\">var</span> _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n","\n"," <span class=\"code-keyword\">var</span> _preventedOffset = tether &amp;&amp; isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n","\n"," popperOffsets[altAxis] = _preventedOffset;\n"," data[altAxis] = _preventedOffset - _offset;\n"," }\n","\n"," state.modifiersData[name] = data;\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> preventOverflow$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'preventOverflow'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'main'</span>,\n"," fn: preventOverflow,\n"," requiresIfExists: [<span class=\"code-string\">'offset'</span>]\n"," };\n","\n"," <span class=\"code-keyword\">var</span> toPaddingObject = <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">toPaddingObject</span>(<span class=\"code-params\">padding, state</span>) </span>{\n"," padding = <span class=\"code-keyword\">typeof</span> padding === <span class=\"code-string\">'function'</span> ? padding(<span class=\"code-built_in\">Object</span>.assign({}, state.rects, {\n"," placement: state.placement\n"," })) : padding;\n"," <span class=\"code-keyword\">return</span> mergePaddingObject(<span class=\"code-keyword\">typeof</span> padding !== <span class=\"code-string\">'number'</span> ? padding : expandToHashMap(padding, basePlacements));\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">arrow</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> _state$modifiersData$;\n","\n"," <span class=\"code-keyword\">var</span> state = _ref.state,\n"," name = _ref.name,\n"," options = _ref.options;\n"," <span class=\"code-keyword\">var</span> arrowElement = state.elements.arrow;\n"," <span class=\"code-keyword\">var</span> popperOffsets = state.modifiersData.popperOffsets;\n"," <span class=\"code-keyword\">var</span> basePlacement = getBasePlacement(state.placement);\n"," <span class=\"code-keyword\">var</span> axis = getMainAxisFromPlacement(basePlacement);\n"," <span class=\"code-keyword\">var</span> isVertical = [left, right].indexOf(basePlacement) &gt;= <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> len = isVertical ? <span class=\"code-string\">'height'</span> : <span class=\"code-string\">'width'</span>;\n","\n"," <span class=\"code-keyword\">if</span> (!arrowElement || !popperOffsets) {\n"," <span class=\"code-keyword\">return</span>;\n"," }\n","\n"," <span class=\"code-keyword\">var</span> paddingObject = toPaddingObject(options.padding, state);\n"," <span class=\"code-keyword\">var</span> arrowRect = getLayoutRect(arrowElement);\n"," <span class=\"code-keyword\">var</span> minProp = axis === <span class=\"code-string\">'y'</span> ? top : left;\n"," <span class=\"code-keyword\">var</span> maxProp = axis === <span class=\"code-string\">'y'</span> ? bottom : right;\n"," <span class=\"code-keyword\">var</span> endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n"," <span class=\"code-keyword\">var</span> startDiff = popperOffsets[axis] - state.rects.reference[axis];\n"," <span class=\"code-keyword\">var</span> arrowOffsetParent = getOffsetParent(arrowElement);\n"," <span class=\"code-keyword\">var</span> clientSize = arrowOffsetParent ? axis === <span class=\"code-string\">'y'</span> ? arrowOffsetParent.clientHeight || <span class=\"code-number\">0</span> : arrowOffsetParent.clientWidth || <span class=\"code-number\">0</span> : <span class=\"code-number\">0</span>;\n"," <span class=\"code-keyword\">var</span> centerToReference = endDiff / <span class=\"code-number\">2</span> - startDiff / <span class=\"code-number\">2</span>; <span class=\"code-comment\">// Make sure the arrow doesn't overflow the popper if the center point is</span>\n"," <span class=\"code-comment\">// outside of the popper bounds</span>\n","\n"," <span class=\"code-keyword\">var</span> min = paddingObject[minProp];\n"," <span class=\"code-keyword\">var</span> max = clientSize - arrowRect[len] - paddingObject[maxProp];\n"," <span class=\"code-keyword\">var</span> center = clientSize / <span class=\"code-number\">2</span> - arrowRect[len] / <span class=\"code-number\">2</span> + centerToReference;\n"," <span class=\"code-keyword\">var</span> offset = within(min, center, max); <span class=\"code-comment\">// Prevents breaking syntax highlighting...</span>\n","\n"," <span class=\"code-keyword\">var</span> axisProp = axis;\n"," state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">effect</span>(<span class=\"code-params\">_ref2</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref2.state,\n"," options = _ref2.options;\n"," <span class=\"code-keyword\">var</span> _options$element = options.element,\n"," arrowElement = _options$element === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span> ? <span class=\"code-string\">'[data-popper-arrow]'</span> : _options$element;\n","\n"," <span class=\"code-keyword\">if</span> (arrowElement == <span class=\"code-literal\">null</span>) {\n"," <span class=\"code-keyword\">return</span>;\n"," } <span class=\"code-comment\">// CSS selector</span>\n","\n","\n"," <span class=\"code-keyword\">if</span> (<span class=\"code-keyword\">typeof</span> arrowElement === <span class=\"code-string\">'string'</span>) {\n"," arrowElement = state.elements.popper.querySelector(arrowElement);\n","\n"," <span class=\"code-keyword\">if</span> (!arrowElement) {\n"," <span class=\"code-keyword\">return</span>;\n"," }\n"," }\n","\n"," {\n"," <span class=\"code-keyword\">if</span> (!isHTMLElement(arrowElement)) {\n"," <span class=\"code-built_in\">console</span>.error([<span class=\"code-string\">'Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).'</span>, <span class=\"code-string\">'To use an SVG arrow, wrap it in an HTMLElement that will be used as'</span>, <span class=\"code-string\">'the arrow.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n"," }\n","\n"," <span class=\"code-keyword\">if</span> (!contains(state.elements.popper, arrowElement)) {\n"," {\n"," <span class=\"code-built_in\">console</span>.error([<span class=\"code-string\">'Popper: \"arrow\" modifier\\'s `element` must be a child of the popper'</span>, <span class=\"code-string\">'element.'</span>].join(<span class=\"code-string\">' '</span>));\n"," }\n","\n"," <span class=\"code-keyword\">return</span>;\n"," }\n","\n"," state.elements.arrow = arrowElement;\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> arrow$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'arrow'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'main'</span>,\n"," fn: arrow,\n"," effect: effect,\n"," requires: [<span class=\"code-string\">'popperOffsets'</span>],\n"," requiresIfExists: [<span class=\"code-string\">'preventOverflow'</span>]\n"," };\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">getSideOffsets</span>(<span class=\"code-params\">overflow, rect, preventedOffsets</span>) </span>{\n"," <span class=\"code-keyword\">if</span> (preventedOffsets === <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>) {\n"," preventedOffsets = {\n"," x: <span class=\"code-number\">0</span>,\n"," y: <span class=\"code-number\">0</span>\n"," };\n"," }\n","\n"," <span class=\"code-keyword\">return</span> {\n"," top: overflow.top - rect.height - preventedOffsets.y,\n"," right: overflow.right - rect.width + preventedOffsets.x,\n"," bottom: overflow.bottom - rect.height + preventedOffsets.y,\n"," left: overflow.left - rect.width - preventedOffsets.x\n"," };\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">isAnySideFullyClipped</span>(<span class=\"code-params\">overflow</span>) </span>{\n"," <span class=\"code-keyword\">return</span> [top, right, bottom, left].some(<span class=\"code-function\"><span class=\"code-keyword\">function</span> (<span class=\"code-params\">side</span>) </span>{\n"," <span class=\"code-keyword\">return</span> overflow[side] &gt;= <span class=\"code-number\">0</span>;\n"," });\n"," }\n","\n"," <span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">hide</span>(<span class=\"code-params\">_ref</span>) </span>{\n"," <span class=\"code-keyword\">var</span> state = _ref.state,\n"," name = _ref.name;\n"," <span class=\"code-keyword\">var</span> referenceRect = state.rects.reference;\n"," <span class=\"code-keyword\">var</span> popperRect = state.rects.popper;\n"," <span class=\"code-keyword\">var</span> preventedOffsets = state.modifiersData.preventOverflow;\n"," <span class=\"code-keyword\">var</span> referenceOverflow = detectOverflow(state, {\n"," elementContext: <span class=\"code-string\">'reference'</span>\n"," });\n"," <span class=\"code-keyword\">var</span> popperAltOverflow = detectOverflow(state, {\n"," altBoundary: <span class=\"code-literal\">true</span>\n"," });\n"," <span class=\"code-keyword\">var</span> referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n"," <span class=\"code-keyword\">var</span> popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n"," <span class=\"code-keyword\">var</span> isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n"," <span class=\"code-keyword\">var</span> hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n"," state.modifiersData[name] = {\n"," referenceClippingOffsets: referenceClippingOffsets,\n"," popperEscapeOffsets: popperEscapeOffsets,\n"," isReferenceHidden: isReferenceHidden,\n"," hasPopperEscaped: hasPopperEscaped\n"," };\n"," state.attributes.popper = <span class=\"code-built_in\">Object</span>.assign({}, state.attributes.popper, {\n"," <span class=\"code-string\">'data-popper-reference-hidden'</span>: isReferenceHidden,\n"," <span class=\"code-string\">'data-popper-escaped'</span>: hasPopperEscaped\n"," });\n"," } <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n","\n"," <span class=\"code-keyword\">var</span> hide$<span class=\"code-number\">1</span> = {\n"," name: <span class=\"code-string\">'hide'</span>,\n"," enabled: <span class=\"code-literal\">true</span>,\n"," phase: <span class=\"code-string\">'main'</span>,\n"," requiresIfExists: [<span class=\"code-string\">'preventOverflow'</span>],\n"," fn: hide\n"," };\n","\n"," <span class=\"code-keyword\">var</span> defaultModifiers$<span class=\"code-number\">1</span> = [eventListeners, popperOffsets$<span class=\"code-number\">1</span>, computeStyles$<span class=\"code-number\">1</span>, applyStyles$<span class=\"code-number\">1</span>];\n"," <span class=\"code-keyword\">var</span> createPopper$<span class=\"code-number\">1</span> = <span class=\"code-comment\">/*#__PURE__*/</span>popperGenerator({\n"," defaultModifiers: defaultModifiers$<span class=\"code-number\">1</span>\n"," }); <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n"," <span class=\"code-keyword\">var</span> defaultModifiers = [eventListeners, popperOffsets$<span class=\"code-number\">1</span>, computeStyles$<span class=\"code-number\">1</span>, applyStyles$<span class=\"code-number\">1</span>, offset$<span class=\"code-number\">1</span>, flip$<span class=\"code-number\">1</span>, preventOverflow$<span class=\"code-number\">1</span>, arrow$<span class=\"code-number\">1</span>, hide$<span class=\"code-number\">1</span>];\n"," <span class=\"code-keyword\">var</span> createPopper = <span class=\"code-comment\">/*#__PURE__*/</span>popperGenerator({\n"," defaultModifiers: defaultModifiers\n"," }); <span class=\"code-comment\">// eslint-disable-next-line import/no-unused-modules</span>\n","\n"," exports.applyStyles = applyStyles$<span class=\"code-number\">1</span>;\n"," exports.arrow = arrow$<span class=\"code-number\">1</span>;\n"," exports.computeStyles = computeStyles$<span class=\"code-number\">1</span>;\n"," exports.createPopper = createPopper;\n"," exports.createPopperLite = createPopper$<span class=\"code-number\">1</span>;\n"," exports.defaultModifiers = defaultModifiers;\n"," exports.detectOverflow = detectOverflow;\n"," exports.eventListeners = eventListeners;\n"," exports.flip = flip$<span class=\"code-number\">1</span>;\n"," exports.hide = hide$<span class=\"code-number\">1</span>;\n"," exports.offset = offset$<span class=\"code-number\">1</span>;\n"," exports.popperGenerator = popperGenerator;\n"," exports.popperOffsets = popperOffsets$<span class=\"code-number\">1</span>;\n"," exports.preventOverflow = preventOverflow$<span class=\"code-number\">1</span>;\n","\n"," <span class=\"code-built_in\">Object</span>.defineProperty(exports, <span class=\"code-string\">'__esModule'</span>, { <span class=\"code-attr\">value</span>: <span class=\"code-literal\">true</span> });\n","\n","})));\n","<span class=\"code-comment\">//# sourceMappingURL=popper.js.map</span>\n",""]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper.js</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>70.8 kB</span><span>JavaScript</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper.js" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code><span class="code-comment">/**
+</span></code></td></tr><tr><td id="L2" class="css-a4x74f"><span>2</span></td><td id="LC2" class="css-1dcdqdg"><code><span class="code-comment"> * @popperjs/core v2.11.5 - MIT License
+</span></code></td></tr><tr><td id="L3" class="css-a4x74f"><span>3</span></td><td id="LC3" class="css-1dcdqdg"><code><span class="code-comment"> */</span>
+</code></td></tr><tr><td id="L4" class="css-a4x74f"><span>4</span></td><td id="LC4" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L5" class="css-a4x74f"><span>5</span></td><td id="LC5" class="css-1dcdqdg"><code>(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">global, factory</span>) </span>{
+</code></td></tr><tr><td id="L6" class="css-a4x74f"><span>6</span></td><td id="LC6" class="css-1dcdqdg"><code> <span class="code-keyword">typeof</span> exports === <span class="code-string">'object'</span> &amp;&amp; <span class="code-keyword">typeof</span> <span class="code-built_in">module</span> !== <span class="code-string">'undefined'</span> ? factory(exports) :
+</code></td></tr><tr><td id="L7" class="css-a4x74f"><span>7</span></td><td id="LC7" class="css-1dcdqdg"><code> <span class="code-keyword">typeof</span> define === <span class="code-string">'function'</span> &amp;&amp; define.amd ? define([<span class="code-string">'exports'</span>], factory) :
+</code></td></tr><tr><td id="L8" class="css-a4x74f"><span>8</span></td><td id="LC8" class="css-1dcdqdg"><code> (global = <span class="code-keyword">typeof</span> globalThis !== <span class="code-string">'undefined'</span> ? globalThis : global || self, factory(global.Popper = {}));
+</code></td></tr><tr><td id="L9" class="css-a4x74f"><span>9</span></td><td id="LC9" class="css-1dcdqdg"><code>}(<span class="code-keyword">this</span>, (<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">exports</span>) </span>{ <span class="code-string">'use strict'</span>;
+</code></td></tr><tr><td id="L10" class="css-a4x74f"><span>10</span></td><td id="LC10" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L11" class="css-a4x74f"><span>11</span></td><td id="LC11" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getWindow</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L12" class="css-a4x74f"><span>12</span></td><td id="LC12" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (node == <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L13" class="css-a4x74f"><span>13</span></td><td id="LC13" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L14" class="css-a4x74f"><span>14</span></td><td id="LC14" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L15" class="css-a4x74f"><span>15</span></td><td id="LC15" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L16" class="css-a4x74f"><span>16</span></td><td id="LC16" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (node.toString() !== <span class="code-string">'[object Window]'</span>) {
+</code></td></tr><tr><td id="L17" class="css-a4x74f"><span>17</span></td><td id="LC17" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> ownerDocument = node.ownerDocument;
+</code></td></tr><tr><td id="L18" class="css-a4x74f"><span>18</span></td><td id="LC18" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> ownerDocument ? ownerDocument.defaultView || <span class="code-built_in">window</span> : <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L19" class="css-a4x74f"><span>19</span></td><td id="LC19" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L20" class="css-a4x74f"><span>20</span></td><td id="LC20" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L21" class="css-a4x74f"><span>21</span></td><td id="LC21" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node;
+</code></td></tr><tr><td id="L22" class="css-a4x74f"><span>22</span></td><td id="LC22" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L23" class="css-a4x74f"><span>23</span></td><td id="LC23" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L24" class="css-a4x74f"><span>24</span></td><td id="LC24" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isElement</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L25" class="css-a4x74f"><span>25</span></td><td id="LC25" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> OwnElement = getWindow(node).Element;
+</code></td></tr><tr><td id="L26" class="css-a4x74f"><span>26</span></td><td id="LC26" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node <span class="code-keyword">instanceof</span> OwnElement || node <span class="code-keyword">instanceof</span> Element;
+</code></td></tr><tr><td id="L27" class="css-a4x74f"><span>27</span></td><td id="LC27" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L28" class="css-a4x74f"><span>28</span></td><td id="LC28" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L29" class="css-a4x74f"><span>29</span></td><td id="LC29" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isHTMLElement</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L30" class="css-a4x74f"><span>30</span></td><td id="LC30" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> OwnElement = getWindow(node).HTMLElement;
+</code></td></tr><tr><td id="L31" class="css-a4x74f"><span>31</span></td><td id="LC31" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node <span class="code-keyword">instanceof</span> OwnElement || node <span class="code-keyword">instanceof</span> HTMLElement;
+</code></td></tr><tr><td id="L32" class="css-a4x74f"><span>32</span></td><td id="LC32" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L33" class="css-a4x74f"><span>33</span></td><td id="LC33" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L34" class="css-a4x74f"><span>34</span></td><td id="LC34" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isShadowRoot</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L35" class="css-a4x74f"><span>35</span></td><td id="LC35" class="css-1dcdqdg"><code> <span class="code-comment">// IE 11 has no ShadowRoot</span>
+</code></td></tr><tr><td id="L36" class="css-a4x74f"><span>36</span></td><td id="LC36" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> ShadowRoot === <span class="code-string">'undefined'</span>) {
+</code></td></tr><tr><td id="L37" class="css-a4x74f"><span>37</span></td><td id="LC37" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L38" class="css-a4x74f"><span>38</span></td><td id="LC38" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L39" class="css-a4x74f"><span>39</span></td><td id="LC39" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L40" class="css-a4x74f"><span>40</span></td><td id="LC40" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> OwnElement = getWindow(node).ShadowRoot;
+</code></td></tr><tr><td id="L41" class="css-a4x74f"><span>41</span></td><td id="LC41" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node <span class="code-keyword">instanceof</span> OwnElement || node <span class="code-keyword">instanceof</span> ShadowRoot;
+</code></td></tr><tr><td id="L42" class="css-a4x74f"><span>42</span></td><td id="LC42" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L43" class="css-a4x74f"><span>43</span></td><td id="LC43" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L44" class="css-a4x74f"><span>44</span></td><td id="LC44" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> max = <span class="code-built_in">Math</span>.max;
+</code></td></tr><tr><td id="L45" class="css-a4x74f"><span>45</span></td><td id="LC45" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> min = <span class="code-built_in">Math</span>.min;
+</code></td></tr><tr><td id="L46" class="css-a4x74f"><span>46</span></td><td id="LC46" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> round = <span class="code-built_in">Math</span>.round;
+</code></td></tr><tr><td id="L47" class="css-a4x74f"><span>47</span></td><td id="LC47" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L48" class="css-a4x74f"><span>48</span></td><td id="LC48" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getBoundingClientRect</span>(<span class="code-params">element, includeScale</span>) </span>{
+</code></td></tr><tr><td id="L49" class="css-a4x74f"><span>49</span></td><td id="LC49" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (includeScale === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L50" class="css-a4x74f"><span>50</span></td><td id="LC50" class="css-1dcdqdg"><code> includeScale = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L51" class="css-a4x74f"><span>51</span></td><td id="LC51" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L52" class="css-a4x74f"><span>52</span></td><td id="LC52" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L53" class="css-a4x74f"><span>53</span></td><td id="LC53" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = element.getBoundingClientRect();
+</code></td></tr><tr><td id="L54" class="css-a4x74f"><span>54</span></td><td id="LC54" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleX = <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L55" class="css-a4x74f"><span>55</span></td><td id="LC55" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleY = <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L56" class="css-a4x74f"><span>56</span></td><td id="LC56" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L57" class="css-a4x74f"><span>57</span></td><td id="LC57" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isHTMLElement(element) &amp;&amp; includeScale) {
+</code></td></tr><tr><td id="L58" class="css-a4x74f"><span>58</span></td><td id="LC58" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetHeight = element.offsetHeight;
+</code></td></tr><tr><td id="L59" class="css-a4x74f"><span>59</span></td><td id="LC59" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetWidth = element.offsetWidth; <span class="code-comment">// Do not attempt to divide by 0, otherwise we get `Infinity` as scale</span>
+</code></td></tr><tr><td id="L60" class="css-a4x74f"><span>60</span></td><td id="LC60" class="css-1dcdqdg"><code> <span class="code-comment">// Fallback to 1 in case both values are `0`</span>
+</code></td></tr><tr><td id="L61" class="css-a4x74f"><span>61</span></td><td id="LC61" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L62" class="css-a4x74f"><span>62</span></td><td id="LC62" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetWidth &gt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L63" class="css-a4x74f"><span>63</span></td><td id="LC63" class="css-1dcdqdg"><code> scaleX = round(rect.width) / offsetWidth || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L64" class="css-a4x74f"><span>64</span></td><td id="LC64" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L65" class="css-a4x74f"><span>65</span></td><td id="LC65" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L66" class="css-a4x74f"><span>66</span></td><td id="LC66" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetHeight &gt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L67" class="css-a4x74f"><span>67</span></td><td id="LC67" class="css-1dcdqdg"><code> scaleY = round(rect.height) / offsetHeight || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L68" class="css-a4x74f"><span>68</span></td><td id="LC68" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L69" class="css-a4x74f"><span>69</span></td><td id="LC69" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L70" class="css-a4x74f"><span>70</span></td><td id="LC70" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L71" class="css-a4x74f"><span>71</span></td><td id="LC71" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L72" class="css-a4x74f"><span>72</span></td><td id="LC72" class="css-1dcdqdg"><code> width: rect.width / scaleX,
+</code></td></tr><tr><td id="L73" class="css-a4x74f"><span>73</span></td><td id="LC73" class="css-1dcdqdg"><code> height: rect.height / scaleY,
+</code></td></tr><tr><td id="L74" class="css-a4x74f"><span>74</span></td><td id="LC74" class="css-1dcdqdg"><code> top: rect.top / scaleY,
+</code></td></tr><tr><td id="L75" class="css-a4x74f"><span>75</span></td><td id="LC75" class="css-1dcdqdg"><code> right: rect.right / scaleX,
+</code></td></tr><tr><td id="L76" class="css-a4x74f"><span>76</span></td><td id="LC76" class="css-1dcdqdg"><code> bottom: rect.bottom / scaleY,
+</code></td></tr><tr><td id="L77" class="css-a4x74f"><span>77</span></td><td id="LC77" class="css-1dcdqdg"><code> left: rect.left / scaleX,
+</code></td></tr><tr><td id="L78" class="css-a4x74f"><span>78</span></td><td id="LC78" class="css-1dcdqdg"><code> x: rect.left / scaleX,
+</code></td></tr><tr><td id="L79" class="css-a4x74f"><span>79</span></td><td id="LC79" class="css-1dcdqdg"><code> y: rect.top / scaleY
+</code></td></tr><tr><td id="L80" class="css-a4x74f"><span>80</span></td><td id="LC80" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L81" class="css-a4x74f"><span>81</span></td><td id="LC81" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L82" class="css-a4x74f"><span>82</span></td><td id="LC82" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L83" class="css-a4x74f"><span>83</span></td><td id="LC83" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getWindowScroll</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L84" class="css-a4x74f"><span>84</span></td><td id="LC84" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = getWindow(node);
+</code></td></tr><tr><td id="L85" class="css-a4x74f"><span>85</span></td><td id="LC85" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollLeft = win.pageXOffset;
+</code></td></tr><tr><td id="L86" class="css-a4x74f"><span>86</span></td><td id="LC86" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollTop = win.pageYOffset;
+</code></td></tr><tr><td id="L87" class="css-a4x74f"><span>87</span></td><td id="LC87" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L88" class="css-a4x74f"><span>88</span></td><td id="LC88" class="css-1dcdqdg"><code> scrollLeft: scrollLeft,
+</code></td></tr><tr><td id="L89" class="css-a4x74f"><span>89</span></td><td id="LC89" class="css-1dcdqdg"><code> scrollTop: scrollTop
+</code></td></tr><tr><td id="L90" class="css-a4x74f"><span>90</span></td><td id="LC90" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L91" class="css-a4x74f"><span>91</span></td><td id="LC91" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L92" class="css-a4x74f"><span>92</span></td><td id="LC92" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L93" class="css-a4x74f"><span>93</span></td><td id="LC93" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getHTMLElementScroll</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L94" class="css-a4x74f"><span>94</span></td><td id="LC94" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L95" class="css-a4x74f"><span>95</span></td><td id="LC95" class="css-1dcdqdg"><code> scrollLeft: element.scrollLeft,
+</code></td></tr><tr><td id="L96" class="css-a4x74f"><span>96</span></td><td id="LC96" class="css-1dcdqdg"><code> scrollTop: element.scrollTop
+</code></td></tr><tr><td id="L97" class="css-a4x74f"><span>97</span></td><td id="LC97" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L98" class="css-a4x74f"><span>98</span></td><td id="LC98" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L99" class="css-a4x74f"><span>99</span></td><td id="LC99" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L100" class="css-a4x74f"><span>100</span></td><td id="LC100" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getNodeScroll</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L101" class="css-a4x74f"><span>101</span></td><td id="LC101" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (node === getWindow(node) || !isHTMLElement(node)) {
+</code></td></tr><tr><td id="L102" class="css-a4x74f"><span>102</span></td><td id="LC102" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getWindowScroll(node);
+</code></td></tr><tr><td id="L103" class="css-a4x74f"><span>103</span></td><td id="LC103" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> {
+</code></td></tr><tr><td id="L104" class="css-a4x74f"><span>104</span></td><td id="LC104" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getHTMLElementScroll(node);
+</code></td></tr><tr><td id="L105" class="css-a4x74f"><span>105</span></td><td id="LC105" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L106" class="css-a4x74f"><span>106</span></td><td id="LC106" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L107" class="css-a4x74f"><span>107</span></td><td id="LC107" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L108" class="css-a4x74f"><span>108</span></td><td id="LC108" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getNodeName</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L109" class="css-a4x74f"><span>109</span></td><td id="LC109" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> element ? (element.nodeName || <span class="code-string">''</span>).toLowerCase() : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L110" class="css-a4x74f"><span>110</span></td><td id="LC110" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L111" class="css-a4x74f"><span>111</span></td><td id="LC111" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L112" class="css-a4x74f"><span>112</span></td><td id="LC112" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getDocumentElement</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L113" class="css-a4x74f"><span>113</span></td><td id="LC113" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-return]: assume body is always available</span>
+</code></td></tr><tr><td id="L114" class="css-a4x74f"><span>114</span></td><td id="LC114" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> ((isElement(element) ? element.ownerDocument : <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L115" class="css-a4x74f"><span>115</span></td><td id="LC115" class="css-1dcdqdg"><code> element.document) || <span class="code-built_in">window</span>.document).documentElement;
+</code></td></tr><tr><td id="L116" class="css-a4x74f"><span>116</span></td><td id="LC116" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L117" class="css-a4x74f"><span>117</span></td><td id="LC117" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L118" class="css-a4x74f"><span>118</span></td><td id="LC118" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getWindowScrollBarX</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L119" class="css-a4x74f"><span>119</span></td><td id="LC119" class="css-1dcdqdg"><code> <span class="code-comment">// If &lt;html&gt; has a CSS width greater than the viewport, then this will be</span>
+</code></td></tr><tr><td id="L120" class="css-a4x74f"><span>120</span></td><td id="LC120" class="css-1dcdqdg"><code> <span class="code-comment">// incorrect for RTL.</span>
+</code></td></tr><tr><td id="L121" class="css-a4x74f"><span>121</span></td><td id="LC121" class="css-1dcdqdg"><code> <span class="code-comment">// Popper 1 is broken in this case and never had a bug report so let's assume</span>
+</code></td></tr><tr><td id="L122" class="css-a4x74f"><span>122</span></td><td id="LC122" class="css-1dcdqdg"><code> <span class="code-comment">// it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;</span>
+</code></td></tr><tr><td id="L123" class="css-a4x74f"><span>123</span></td><td id="LC123" class="css-1dcdqdg"><code> <span class="code-comment">// anyway.</span>
+</code></td></tr><tr><td id="L124" class="css-a4x74f"><span>124</span></td><td id="LC124" class="css-1dcdqdg"><code> <span class="code-comment">// Browsers where the left scrollbar doesn't cause an issue report `0` for</span>
+</code></td></tr><tr><td id="L125" class="css-a4x74f"><span>125</span></td><td id="LC125" class="css-1dcdqdg"><code> <span class="code-comment">// this (e.g. Edge 2019, IE11, Safari)</span>
+</code></td></tr><tr><td id="L126" class="css-a4x74f"><span>126</span></td><td id="LC126" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
+</code></td></tr><tr><td id="L127" class="css-a4x74f"><span>127</span></td><td id="LC127" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L128" class="css-a4x74f"><span>128</span></td><td id="LC128" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L129" class="css-a4x74f"><span>129</span></td><td id="LC129" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getComputedStyle</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L130" class="css-a4x74f"><span>130</span></td><td id="LC130" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getWindow(element).getComputedStyle(element);
+</code></td></tr><tr><td id="L131" class="css-a4x74f"><span>131</span></td><td id="LC131" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L132" class="css-a4x74f"><span>132</span></td><td id="LC132" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L133" class="css-a4x74f"><span>133</span></td><td id="LC133" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isScrollParent</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L134" class="css-a4x74f"><span>134</span></td><td id="LC134" class="css-1dcdqdg"><code> <span class="code-comment">// Firefox wants us to check `-x` and `-y` variations as well</span>
+</code></td></tr><tr><td id="L135" class="css-a4x74f"><span>135</span></td><td id="LC135" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _getComputedStyle = getComputedStyle(element),
+</code></td></tr><tr><td id="L136" class="css-a4x74f"><span>136</span></td><td id="LC136" class="css-1dcdqdg"><code> overflow = _getComputedStyle.overflow,
+</code></td></tr><tr><td id="L137" class="css-a4x74f"><span>137</span></td><td id="LC137" class="css-1dcdqdg"><code> overflowX = _getComputedStyle.overflowX,
+</code></td></tr><tr><td id="L138" class="css-a4x74f"><span>138</span></td><td id="LC138" class="css-1dcdqdg"><code> overflowY = _getComputedStyle.overflowY;
+</code></td></tr><tr><td id="L139" class="css-a4x74f"><span>139</span></td><td id="LC139" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L140" class="css-a4x74f"><span>140</span></td><td id="LC140" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-regexp">/auto|scroll|overlay|hidden/</span>.test(overflow + overflowY + overflowX);
+</code></td></tr><tr><td id="L141" class="css-a4x74f"><span>141</span></td><td id="LC141" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L142" class="css-a4x74f"><span>142</span></td><td id="LC142" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L143" class="css-a4x74f"><span>143</span></td><td id="LC143" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isElementScaled</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L144" class="css-a4x74f"><span>144</span></td><td id="LC144" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = element.getBoundingClientRect();
+</code></td></tr><tr><td id="L145" class="css-a4x74f"><span>145</span></td><td id="LC145" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleX = round(rect.width) / element.offsetWidth || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L146" class="css-a4x74f"><span>146</span></td><td id="LC146" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scaleY = round(rect.height) / element.offsetHeight || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L147" class="css-a4x74f"><span>147</span></td><td id="LC147" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> scaleX !== <span class="code-number">1</span> || scaleY !== <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L148" class="css-a4x74f"><span>148</span></td><td id="LC148" class="css-1dcdqdg"><code> } <span class="code-comment">// Returns the composite rect of an element relative to its offsetParent.</span>
+</code></td></tr><tr><td id="L149" class="css-a4x74f"><span>149</span></td><td id="LC149" class="css-1dcdqdg"><code> <span class="code-comment">// Composite means it takes into account transforms as well as layout.</span>
+</code></td></tr><tr><td id="L150" class="css-a4x74f"><span>150</span></td><td id="LC150" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L151" class="css-a4x74f"><span>151</span></td><td id="LC151" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L152" class="css-a4x74f"><span>152</span></td><td id="LC152" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getCompositeRect</span>(<span class="code-params">elementOrVirtualElement, offsetParent, isFixed</span>) </span>{
+</code></td></tr><tr><td id="L153" class="css-a4x74f"><span>153</span></td><td id="LC153" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isFixed === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L154" class="css-a4x74f"><span>154</span></td><td id="LC154" class="css-1dcdqdg"><code> isFixed = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L155" class="css-a4x74f"><span>155</span></td><td id="LC155" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L156" class="css-a4x74f"><span>156</span></td><td id="LC156" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L157" class="css-a4x74f"><span>157</span></td><td id="LC157" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isOffsetParentAnElement = isHTMLElement(offsetParent);
+</code></td></tr><tr><td id="L158" class="css-a4x74f"><span>158</span></td><td id="LC158" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetParentIsScaled = isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);
+</code></td></tr><tr><td id="L159" class="css-a4x74f"><span>159</span></td><td id="LC159" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> documentElement = getDocumentElement(offsetParent);
+</code></td></tr><tr><td id="L160" class="css-a4x74f"><span>160</span></td><td id="LC160" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
+</code></td></tr><tr><td id="L161" class="css-a4x74f"><span>161</span></td><td id="LC161" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scroll = {
+</code></td></tr><tr><td id="L162" class="css-a4x74f"><span>162</span></td><td id="LC162" class="css-1dcdqdg"><code> scrollLeft: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L163" class="css-a4x74f"><span>163</span></td><td id="LC163" class="css-1dcdqdg"><code> scrollTop: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L164" class="css-a4x74f"><span>164</span></td><td id="LC164" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L165" class="css-a4x74f"><span>165</span></td><td id="LC165" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsets = {
+</code></td></tr><tr><td id="L166" class="css-a4x74f"><span>166</span></td><td id="LC166" class="css-1dcdqdg"><code> x: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L167" class="css-a4x74f"><span>167</span></td><td id="LC167" class="css-1dcdqdg"><code> y: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L168" class="css-a4x74f"><span>168</span></td><td id="LC168" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L169" class="css-a4x74f"><span>169</span></td><td id="LC169" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L170" class="css-a4x74f"><span>170</span></td><td id="LC170" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isOffsetParentAnElement || !isOffsetParentAnElement &amp;&amp; !isFixed) {
+</code></td></tr><tr><td id="L171" class="css-a4x74f"><span>171</span></td><td id="LC171" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getNodeName(offsetParent) !== <span class="code-string">'body'</span> || <span class="code-comment">// https://github.com/popperjs/popper-core/issues/1078</span>
+</code></td></tr><tr><td id="L172" class="css-a4x74f"><span>172</span></td><td id="LC172" class="css-1dcdqdg"><code> isScrollParent(documentElement)) {
+</code></td></tr><tr><td id="L173" class="css-a4x74f"><span>173</span></td><td id="LC173" class="css-1dcdqdg"><code> scroll = getNodeScroll(offsetParent);
+</code></td></tr><tr><td id="L174" class="css-a4x74f"><span>174</span></td><td id="LC174" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L175" class="css-a4x74f"><span>175</span></td><td id="LC175" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L176" class="css-a4x74f"><span>176</span></td><td id="LC176" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isHTMLElement(offsetParent)) {
+</code></td></tr><tr><td id="L177" class="css-a4x74f"><span>177</span></td><td id="LC177" class="css-1dcdqdg"><code> offsets = getBoundingClientRect(offsetParent, <span class="code-literal">true</span>);
+</code></td></tr><tr><td id="L178" class="css-a4x74f"><span>178</span></td><td id="LC178" class="css-1dcdqdg"><code> offsets.x += offsetParent.clientLeft;
+</code></td></tr><tr><td id="L179" class="css-a4x74f"><span>179</span></td><td id="LC179" class="css-1dcdqdg"><code> offsets.y += offsetParent.clientTop;
+</code></td></tr><tr><td id="L180" class="css-a4x74f"><span>180</span></td><td id="LC180" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> <span class="code-keyword">if</span> (documentElement) {
+</code></td></tr><tr><td id="L181" class="css-a4x74f"><span>181</span></td><td id="LC181" class="css-1dcdqdg"><code> offsets.x = getWindowScrollBarX(documentElement);
+</code></td></tr><tr><td id="L182" class="css-a4x74f"><span>182</span></td><td id="LC182" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L183" class="css-a4x74f"><span>183</span></td><td id="LC183" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L184" class="css-a4x74f"><span>184</span></td><td id="LC184" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L185" class="css-a4x74f"><span>185</span></td><td id="LC185" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L186" class="css-a4x74f"><span>186</span></td><td id="LC186" class="css-1dcdqdg"><code> x: rect.left + scroll.scrollLeft - offsets.x,
+</code></td></tr><tr><td id="L187" class="css-a4x74f"><span>187</span></td><td id="LC187" class="css-1dcdqdg"><code> y: rect.top + scroll.scrollTop - offsets.y,
+</code></td></tr><tr><td id="L188" class="css-a4x74f"><span>188</span></td><td id="LC188" class="css-1dcdqdg"><code> width: rect.width,
+</code></td></tr><tr><td id="L189" class="css-a4x74f"><span>189</span></td><td id="LC189" class="css-1dcdqdg"><code> height: rect.height
+</code></td></tr><tr><td id="L190" class="css-a4x74f"><span>190</span></td><td id="LC190" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L191" class="css-a4x74f"><span>191</span></td><td id="LC191" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L192" class="css-a4x74f"><span>192</span></td><td id="LC192" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L193" class="css-a4x74f"><span>193</span></td><td id="LC193" class="css-1dcdqdg"><code> <span class="code-comment">// means it doesn't take into account transforms.</span>
+</code></td></tr><tr><td id="L194" class="css-a4x74f"><span>194</span></td><td id="LC194" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L195" class="css-a4x74f"><span>195</span></td><td id="LC195" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getLayoutRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L196" class="css-a4x74f"><span>196</span></td><td id="LC196" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clientRect = getBoundingClientRect(element); <span class="code-comment">// Use the clientRect sizes if it's not been transformed.</span>
+</code></td></tr><tr><td id="L197" class="css-a4x74f"><span>197</span></td><td id="LC197" class="css-1dcdqdg"><code> <span class="code-comment">// Fixes https://github.com/popperjs/popper-core/issues/1223</span>
+</code></td></tr><tr><td id="L198" class="css-a4x74f"><span>198</span></td><td id="LC198" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L199" class="css-a4x74f"><span>199</span></td><td id="LC199" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> width = element.offsetWidth;
+</code></td></tr><tr><td id="L200" class="css-a4x74f"><span>200</span></td><td id="LC200" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> height = element.offsetHeight;
+</code></td></tr><tr><td id="L201" class="css-a4x74f"><span>201</span></td><td id="LC201" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L202" class="css-a4x74f"><span>202</span></td><td id="LC202" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-built_in">Math</span>.abs(clientRect.width - width) &lt;= <span class="code-number">1</span>) {
+</code></td></tr><tr><td id="L203" class="css-a4x74f"><span>203</span></td><td id="LC203" class="css-1dcdqdg"><code> width = clientRect.width;
+</code></td></tr><tr><td id="L204" class="css-a4x74f"><span>204</span></td><td id="LC204" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L205" class="css-a4x74f"><span>205</span></td><td id="LC205" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L206" class="css-a4x74f"><span>206</span></td><td id="LC206" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-built_in">Math</span>.abs(clientRect.height - height) &lt;= <span class="code-number">1</span>) {
+</code></td></tr><tr><td id="L207" class="css-a4x74f"><span>207</span></td><td id="LC207" class="css-1dcdqdg"><code> height = clientRect.height;
+</code></td></tr><tr><td id="L208" class="css-a4x74f"><span>208</span></td><td id="LC208" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L209" class="css-a4x74f"><span>209</span></td><td id="LC209" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L210" class="css-a4x74f"><span>210</span></td><td id="LC210" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L211" class="css-a4x74f"><span>211</span></td><td id="LC211" class="css-1dcdqdg"><code> x: element.offsetLeft,
+</code></td></tr><tr><td id="L212" class="css-a4x74f"><span>212</span></td><td id="LC212" class="css-1dcdqdg"><code> y: element.offsetTop,
+</code></td></tr><tr><td id="L213" class="css-a4x74f"><span>213</span></td><td id="LC213" class="css-1dcdqdg"><code> width: width,
+</code></td></tr><tr><td id="L214" class="css-a4x74f"><span>214</span></td><td id="LC214" class="css-1dcdqdg"><code> height: height
+</code></td></tr><tr><td id="L215" class="css-a4x74f"><span>215</span></td><td id="LC215" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L216" class="css-a4x74f"><span>216</span></td><td id="LC216" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L217" class="css-a4x74f"><span>217</span></td><td id="LC217" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L218" class="css-a4x74f"><span>218</span></td><td id="LC218" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getParentNode</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L219" class="css-a4x74f"><span>219</span></td><td id="LC219" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getNodeName(element) === <span class="code-string">'html'</span>) {
+</code></td></tr><tr><td id="L220" class="css-a4x74f"><span>220</span></td><td id="LC220" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> element;
+</code></td></tr><tr><td id="L221" class="css-a4x74f"><span>221</span></td><td id="LC221" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L222" class="css-a4x74f"><span>222</span></td><td id="LC222" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L223" class="css-a4x74f"><span>223</span></td><td id="LC223" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> (<span class="code-comment">// this is a quicker (but less type safe) way to save quite some bytes from the bundle</span>
+</code></td></tr><tr><td id="L224" class="css-a4x74f"><span>224</span></td><td id="LC224" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-return]</span>
+</code></td></tr><tr><td id="L225" class="css-a4x74f"><span>225</span></td><td id="LC225" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L226" class="css-a4x74f"><span>226</span></td><td id="LC226" class="css-1dcdqdg"><code> element.assignedSlot || <span class="code-comment">// step into the shadow DOM of the parent of a slotted node</span>
+</code></td></tr><tr><td id="L227" class="css-a4x74f"><span>227</span></td><td id="LC227" class="css-1dcdqdg"><code> element.parentNode || ( <span class="code-comment">// DOM Element detected</span>
+</code></td></tr><tr><td id="L228" class="css-a4x74f"><span>228</span></td><td id="LC228" class="css-1dcdqdg"><code> isShadowRoot(element) ? element.host : <span class="code-literal">null</span>) || <span class="code-comment">// ShadowRoot detected</span>
+</code></td></tr><tr><td id="L229" class="css-a4x74f"><span>229</span></td><td id="LC229" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-call]: HTMLElement is a Node</span>
+</code></td></tr><tr><td id="L230" class="css-a4x74f"><span>230</span></td><td id="LC230" class="css-1dcdqdg"><code> getDocumentElement(element) <span class="code-comment">// fallback</span>
+</code></td></tr><tr><td id="L231" class="css-a4x74f"><span>231</span></td><td id="LC231" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L232" class="css-a4x74f"><span>232</span></td><td id="LC232" class="css-1dcdqdg"><code> );
+</code></td></tr><tr><td id="L233" class="css-a4x74f"><span>233</span></td><td id="LC233" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L234" class="css-a4x74f"><span>234</span></td><td id="LC234" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L235" class="css-a4x74f"><span>235</span></td><td id="LC235" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getScrollParent</span>(<span class="code-params">node</span>) </span>{
+</code></td></tr><tr><td id="L236" class="css-a4x74f"><span>236</span></td><td id="LC236" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> ([<span class="code-string">'html'</span>, <span class="code-string">'body'</span>, <span class="code-string">'#document'</span>].indexOf(getNodeName(node)) &gt;= <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L237" class="css-a4x74f"><span>237</span></td><td id="LC237" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[incompatible-return]: assume body is always available</span>
+</code></td></tr><tr><td id="L238" class="css-a4x74f"><span>238</span></td><td id="LC238" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node.ownerDocument.body;
+</code></td></tr><tr><td id="L239" class="css-a4x74f"><span>239</span></td><td id="LC239" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L240" class="css-a4x74f"><span>240</span></td><td id="LC240" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L241" class="css-a4x74f"><span>241</span></td><td id="LC241" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {
+</code></td></tr><tr><td id="L242" class="css-a4x74f"><span>242</span></td><td id="LC242" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> node;
+</code></td></tr><tr><td id="L243" class="css-a4x74f"><span>243</span></td><td id="LC243" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L244" class="css-a4x74f"><span>244</span></td><td id="LC244" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L245" class="css-a4x74f"><span>245</span></td><td id="LC245" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getScrollParent(getParentNode(node));
+</code></td></tr><tr><td id="L246" class="css-a4x74f"><span>246</span></td><td id="LC246" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L247" class="css-a4x74f"><span>247</span></td><td id="LC247" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L248" class="css-a4x74f"><span>248</span></td><td id="LC248" class="css-1dcdqdg"><code> <span class="code-comment">/*
+</span></code></td></tr><tr><td id="L249" class="css-a4x74f"><span>249</span></td><td id="LC249" class="css-1dcdqdg"><code><span class="code-comment"> given a DOM element, return the list of all scroll parents, up the list of ancesors
+</span></code></td></tr><tr><td id="L250" class="css-a4x74f"><span>250</span></td><td id="LC250" class="css-1dcdqdg"><code><span class="code-comment"> until we get to the top window object. This list is what we attach scroll listeners
+</span></code></td></tr><tr><td id="L251" class="css-a4x74f"><span>251</span></td><td id="LC251" class="css-1dcdqdg"><code><span class="code-comment"> to, because if any of these parent elements scroll, we'll need to re-calculate the
+</span></code></td></tr><tr><td id="L252" class="css-a4x74f"><span>252</span></td><td id="LC252" class="css-1dcdqdg"><code><span class="code-comment"> reference element's position.
+</span></code></td></tr><tr><td id="L253" class="css-a4x74f"><span>253</span></td><td id="LC253" class="css-1dcdqdg"><code><span class="code-comment"> */</span>
+</code></td></tr><tr><td id="L254" class="css-a4x74f"><span>254</span></td><td id="LC254" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L255" class="css-a4x74f"><span>255</span></td><td id="LC255" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">listScrollParents</span>(<span class="code-params">element, list</span>) </span>{
+</code></td></tr><tr><td id="L256" class="css-a4x74f"><span>256</span></td><td id="LC256" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _element$ownerDocumen;
+</code></td></tr><tr><td id="L257" class="css-a4x74f"><span>257</span></td><td id="LC257" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L258" class="css-a4x74f"><span>258</span></td><td id="LC258" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (list === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L259" class="css-a4x74f"><span>259</span></td><td id="LC259" class="css-1dcdqdg"><code> list = [];
+</code></td></tr><tr><td id="L260" class="css-a4x74f"><span>260</span></td><td id="LC260" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L261" class="css-a4x74f"><span>261</span></td><td id="LC261" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L262" class="css-a4x74f"><span>262</span></td><td id="LC262" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollParent = getScrollParent(element);
+</code></td></tr><tr><td id="L263" class="css-a4x74f"><span>263</span></td><td id="LC263" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == <span class="code-literal">null</span> ? <span class="code-keyword">void</span> <span class="code-number">0</span> : _element$ownerDocumen.body);
+</code></td></tr><tr><td id="L264" class="css-a4x74f"><span>264</span></td><td id="LC264" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = getWindow(scrollParent);
+</code></td></tr><tr><td id="L265" class="css-a4x74f"><span>265</span></td><td id="LC265" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
+</code></td></tr><tr><td id="L266" class="css-a4x74f"><span>266</span></td><td id="LC266" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> updatedList = list.concat(target);
+</code></td></tr><tr><td id="L267" class="css-a4x74f"><span>267</span></td><td id="LC267" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> isBody ? updatedList : <span class="code-comment">// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here</span>
+</code></td></tr><tr><td id="L268" class="css-a4x74f"><span>268</span></td><td id="LC268" class="css-1dcdqdg"><code> updatedList.concat(listScrollParents(getParentNode(target)));
+</code></td></tr><tr><td id="L269" class="css-a4x74f"><span>269</span></td><td id="LC269" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L270" class="css-a4x74f"><span>270</span></td><td id="LC270" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L271" class="css-a4x74f"><span>271</span></td><td id="LC271" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isTableElement</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L272" class="css-a4x74f"><span>272</span></td><td id="LC272" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [<span class="code-string">'table'</span>, <span class="code-string">'td'</span>, <span class="code-string">'th'</span>].indexOf(getNodeName(element)) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L273" class="css-a4x74f"><span>273</span></td><td id="LC273" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L274" class="css-a4x74f"><span>274</span></td><td id="LC274" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L275" class="css-a4x74f"><span>275</span></td><td id="LC275" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getTrueOffsetParent</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L276" class="css-a4x74f"><span>276</span></td><td id="LC276" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isHTMLElement(element) || <span class="code-comment">// https://github.com/popperjs/popper-core/issues/837</span>
+</code></td></tr><tr><td id="L277" class="css-a4x74f"><span>277</span></td><td id="LC277" class="css-1dcdqdg"><code> getComputedStyle(element).position === <span class="code-string">'fixed'</span>) {
+</code></td></tr><tr><td id="L278" class="css-a4x74f"><span>278</span></td><td id="LC278" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L279" class="css-a4x74f"><span>279</span></td><td id="LC279" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L280" class="css-a4x74f"><span>280</span></td><td id="LC280" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L281" class="css-a4x74f"><span>281</span></td><td id="LC281" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> element.offsetParent;
+</code></td></tr><tr><td id="L282" class="css-a4x74f"><span>282</span></td><td id="LC282" class="css-1dcdqdg"><code> } <span class="code-comment">// `.offsetParent` reports `null` for fixed elements, while absolute elements</span>
+</code></td></tr><tr><td id="L283" class="css-a4x74f"><span>283</span></td><td id="LC283" class="css-1dcdqdg"><code> <span class="code-comment">// return the containing block</span>
+</code></td></tr><tr><td id="L284" class="css-a4x74f"><span>284</span></td><td id="LC284" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L285" class="css-a4x74f"><span>285</span></td><td id="LC285" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L286" class="css-a4x74f"><span>286</span></td><td id="LC286" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getContainingBlock</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L287" class="css-a4x74f"><span>287</span></td><td id="LC287" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isFirefox = navigator.userAgent.toLowerCase().indexOf(<span class="code-string">'firefox'</span>) !== <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L288" class="css-a4x74f"><span>288</span></td><td id="LC288" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isIE = navigator.userAgent.indexOf(<span class="code-string">'Trident'</span>) !== <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L289" class="css-a4x74f"><span>289</span></td><td id="LC289" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L290" class="css-a4x74f"><span>290</span></td><td id="LC290" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isIE &amp;&amp; isHTMLElement(element)) {
+</code></td></tr><tr><td id="L291" class="css-a4x74f"><span>291</span></td><td id="LC291" class="css-1dcdqdg"><code> <span class="code-comment">// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport</span>
+</code></td></tr><tr><td id="L292" class="css-a4x74f"><span>292</span></td><td id="LC292" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> elementCss = getComputedStyle(element);
+</code></td></tr><tr><td id="L293" class="css-a4x74f"><span>293</span></td><td id="LC293" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L294" class="css-a4x74f"><span>294</span></td><td id="LC294" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (elementCss.position === <span class="code-string">'fixed'</span>) {
+</code></td></tr><tr><td id="L295" class="css-a4x74f"><span>295</span></td><td id="LC295" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L296" class="css-a4x74f"><span>296</span></td><td id="LC296" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L297" class="css-a4x74f"><span>297</span></td><td id="LC297" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L298" class="css-a4x74f"><span>298</span></td><td id="LC298" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L299" class="css-a4x74f"><span>299</span></td><td id="LC299" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> currentNode = getParentNode(element);
+</code></td></tr><tr><td id="L300" class="css-a4x74f"><span>300</span></td><td id="LC300" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L301" class="css-a4x74f"><span>301</span></td><td id="LC301" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isShadowRoot(currentNode)) {
+</code></td></tr><tr><td id="L302" class="css-a4x74f"><span>302</span></td><td id="LC302" class="css-1dcdqdg"><code> currentNode = currentNode.host;
+</code></td></tr><tr><td id="L303" class="css-a4x74f"><span>303</span></td><td id="LC303" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L304" class="css-a4x74f"><span>304</span></td><td id="LC304" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L305" class="css-a4x74f"><span>305</span></td><td id="LC305" class="css-1dcdqdg"><code> <span class="code-keyword">while</span> (isHTMLElement(currentNode) &amp;&amp; [<span class="code-string">'html'</span>, <span class="code-string">'body'</span>].indexOf(getNodeName(currentNode)) &lt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L306" class="css-a4x74f"><span>306</span></td><td id="LC306" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> css = getComputedStyle(currentNode); <span class="code-comment">// This is non-exhaustive but covers the most common CSS properties that</span>
+</code></td></tr><tr><td id="L307" class="css-a4x74f"><span>307</span></td><td id="LC307" class="css-1dcdqdg"><code> <span class="code-comment">// create a containing block.</span>
+</code></td></tr><tr><td id="L308" class="css-a4x74f"><span>308</span></td><td id="LC308" class="css-1dcdqdg"><code> <span class="code-comment">// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block</span>
+</code></td></tr><tr><td id="L309" class="css-a4x74f"><span>309</span></td><td id="LC309" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L310" class="css-a4x74f"><span>310</span></td><td id="LC310" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (css.transform !== <span class="code-string">'none'</span> || css.perspective !== <span class="code-string">'none'</span> || css.contain === <span class="code-string">'paint'</span> || [<span class="code-string">'transform'</span>, <span class="code-string">'perspective'</span>].indexOf(css.willChange) !== <span class="code-number">-1</span> || isFirefox &amp;&amp; css.willChange === <span class="code-string">'filter'</span> || isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== <span class="code-string">'none'</span>) {
+</code></td></tr><tr><td id="L311" class="css-a4x74f"><span>311</span></td><td id="LC311" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> currentNode;
+</code></td></tr><tr><td id="L312" class="css-a4x74f"><span>312</span></td><td id="LC312" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> {
+</code></td></tr><tr><td id="L313" class="css-a4x74f"><span>313</span></td><td id="LC313" class="css-1dcdqdg"><code> currentNode = currentNode.parentNode;
+</code></td></tr><tr><td id="L314" class="css-a4x74f"><span>314</span></td><td id="LC314" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L315" class="css-a4x74f"><span>315</span></td><td id="LC315" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L316" class="css-a4x74f"><span>316</span></td><td id="LC316" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L317" class="css-a4x74f"><span>317</span></td><td id="LC317" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L318" class="css-a4x74f"><span>318</span></td><td id="LC318" class="css-1dcdqdg"><code> } <span class="code-comment">// Gets the closest ancestor positioned element. Handles some edge cases,</span>
+</code></td></tr><tr><td id="L319" class="css-a4x74f"><span>319</span></td><td id="LC319" class="css-1dcdqdg"><code> <span class="code-comment">// such as table ancestors and cross browser bugs.</span>
+</code></td></tr><tr><td id="L320" class="css-a4x74f"><span>320</span></td><td id="LC320" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L321" class="css-a4x74f"><span>321</span></td><td id="LC321" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L322" class="css-a4x74f"><span>322</span></td><td id="LC322" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getOffsetParent</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L323" class="css-a4x74f"><span>323</span></td><td id="LC323" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> <span class="code-built_in">window</span> = getWindow(element);
+</code></td></tr><tr><td id="L324" class="css-a4x74f"><span>324</span></td><td id="LC324" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetParent = getTrueOffsetParent(element);
+</code></td></tr><tr><td id="L325" class="css-a4x74f"><span>325</span></td><td id="LC325" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L326" class="css-a4x74f"><span>326</span></td><td id="LC326" class="css-1dcdqdg"><code> <span class="code-keyword">while</span> (offsetParent &amp;&amp; isTableElement(offsetParent) &amp;&amp; getComputedStyle(offsetParent).position === <span class="code-string">'static'</span>) {
+</code></td></tr><tr><td id="L327" class="css-a4x74f"><span>327</span></td><td id="LC327" class="css-1dcdqdg"><code> offsetParent = getTrueOffsetParent(offsetParent);
+</code></td></tr><tr><td id="L328" class="css-a4x74f"><span>328</span></td><td id="LC328" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L329" class="css-a4x74f"><span>329</span></td><td id="LC329" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L330" class="css-a4x74f"><span>330</span></td><td id="LC330" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetParent &amp;&amp; (getNodeName(offsetParent) === <span class="code-string">'html'</span> || getNodeName(offsetParent) === <span class="code-string">'body'</span> &amp;&amp; getComputedStyle(offsetParent).position === <span class="code-string">'static'</span>)) {
+</code></td></tr><tr><td id="L331" class="css-a4x74f"><span>331</span></td><td id="LC331" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L332" class="css-a4x74f"><span>332</span></td><td id="LC332" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L333" class="css-a4x74f"><span>333</span></td><td id="LC333" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L334" class="css-a4x74f"><span>334</span></td><td id="LC334" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> offsetParent || getContainingBlock(element) || <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L335" class="css-a4x74f"><span>335</span></td><td id="LC335" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L336" class="css-a4x74f"><span>336</span></td><td id="LC336" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L337" class="css-a4x74f"><span>337</span></td><td id="LC337" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> top = <span class="code-string">'top'</span>;
+</code></td></tr><tr><td id="L338" class="css-a4x74f"><span>338</span></td><td id="LC338" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> bottom = <span class="code-string">'bottom'</span>;
+</code></td></tr><tr><td id="L339" class="css-a4x74f"><span>339</span></td><td id="LC339" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> right = <span class="code-string">'right'</span>;
+</code></td></tr><tr><td id="L340" class="css-a4x74f"><span>340</span></td><td id="LC340" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> left = <span class="code-string">'left'</span>;
+</code></td></tr><tr><td id="L341" class="css-a4x74f"><span>341</span></td><td id="LC341" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> auto = <span class="code-string">'auto'</span>;
+</code></td></tr><tr><td id="L342" class="css-a4x74f"><span>342</span></td><td id="LC342" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacements = [top, bottom, right, left];
+</code></td></tr><tr><td id="L343" class="css-a4x74f"><span>343</span></td><td id="LC343" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> start = <span class="code-string">'start'</span>;
+</code></td></tr><tr><td id="L344" class="css-a4x74f"><span>344</span></td><td id="LC344" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> end = <span class="code-string">'end'</span>;
+</code></td></tr><tr><td id="L345" class="css-a4x74f"><span>345</span></td><td id="LC345" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingParents = <span class="code-string">'clippingParents'</span>;
+</code></td></tr><tr><td id="L346" class="css-a4x74f"><span>346</span></td><td id="LC346" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> viewport = <span class="code-string">'viewport'</span>;
+</code></td></tr><tr><td id="L347" class="css-a4x74f"><span>347</span></td><td id="LC347" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popper = <span class="code-string">'popper'</span>;
+</code></td></tr><tr><td id="L348" class="css-a4x74f"><span>348</span></td><td id="LC348" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> reference = <span class="code-string">'reference'</span>;
+</code></td></tr><tr><td id="L349" class="css-a4x74f"><span>349</span></td><td id="LC349" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> variationPlacements = <span class="code-comment">/*#__PURE__*/</span>basePlacements.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">acc, placement</span>) </span>{
+</code></td></tr><tr><td id="L350" class="css-a4x74f"><span>350</span></td><td id="LC350" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> acc.concat([placement + <span class="code-string">"-"</span> + start, placement + <span class="code-string">"-"</span> + end]);
+</code></td></tr><tr><td id="L351" class="css-a4x74f"><span>351</span></td><td id="LC351" class="css-1dcdqdg"><code> }, []);
+</code></td></tr><tr><td id="L352" class="css-a4x74f"><span>352</span></td><td id="LC352" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> placements = <span class="code-comment">/*#__PURE__*/</span>[].concat(basePlacements, [auto]).reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">acc, placement</span>) </span>{
+</code></td></tr><tr><td id="L353" class="css-a4x74f"><span>353</span></td><td id="LC353" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> acc.concat([placement, placement + <span class="code-string">"-"</span> + start, placement + <span class="code-string">"-"</span> + end]);
+</code></td></tr><tr><td id="L354" class="css-a4x74f"><span>354</span></td><td id="LC354" class="css-1dcdqdg"><code> }, []); <span class="code-comment">// modifiers that need to read the DOM</span>
+</code></td></tr><tr><td id="L355" class="css-a4x74f"><span>355</span></td><td id="LC355" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L356" class="css-a4x74f"><span>356</span></td><td id="LC356" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> beforeRead = <span class="code-string">'beforeRead'</span>;
+</code></td></tr><tr><td id="L357" class="css-a4x74f"><span>357</span></td><td id="LC357" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> read = <span class="code-string">'read'</span>;
+</code></td></tr><tr><td id="L358" class="css-a4x74f"><span>358</span></td><td id="LC358" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> afterRead = <span class="code-string">'afterRead'</span>; <span class="code-comment">// pure-logic modifiers</span>
+</code></td></tr><tr><td id="L359" class="css-a4x74f"><span>359</span></td><td id="LC359" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L360" class="css-a4x74f"><span>360</span></td><td id="LC360" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> beforeMain = <span class="code-string">'beforeMain'</span>;
+</code></td></tr><tr><td id="L361" class="css-a4x74f"><span>361</span></td><td id="LC361" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> main = <span class="code-string">'main'</span>;
+</code></td></tr><tr><td id="L362" class="css-a4x74f"><span>362</span></td><td id="LC362" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> afterMain = <span class="code-string">'afterMain'</span>; <span class="code-comment">// modifier with the purpose to write to the DOM (or write into a framework state)</span>
+</code></td></tr><tr><td id="L363" class="css-a4x74f"><span>363</span></td><td id="LC363" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L364" class="css-a4x74f"><span>364</span></td><td id="LC364" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> beforeWrite = <span class="code-string">'beforeWrite'</span>;
+</code></td></tr><tr><td id="L365" class="css-a4x74f"><span>365</span></td><td id="LC365" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> write = <span class="code-string">'write'</span>;
+</code></td></tr><tr><td id="L366" class="css-a4x74f"><span>366</span></td><td id="LC366" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> afterWrite = <span class="code-string">'afterWrite'</span>;
+</code></td></tr><tr><td id="L367" class="css-a4x74f"><span>367</span></td><td id="LC367" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
+</code></td></tr><tr><td id="L368" class="css-a4x74f"><span>368</span></td><td id="LC368" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L369" class="css-a4x74f"><span>369</span></td><td id="LC369" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">order</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L370" class="css-a4x74f"><span>370</span></td><td id="LC370" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> map = <span class="code-keyword">new</span> <span class="code-built_in">Map</span>();
+</code></td></tr><tr><td id="L371" class="css-a4x74f"><span>371</span></td><td id="LC371" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> visited = <span class="code-keyword">new</span> <span class="code-built_in">Set</span>();
+</code></td></tr><tr><td id="L372" class="css-a4x74f"><span>372</span></td><td id="LC372" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> result = [];
+</code></td></tr><tr><td id="L373" class="css-a4x74f"><span>373</span></td><td id="LC373" class="css-1dcdqdg"><code> modifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L374" class="css-a4x74f"><span>374</span></td><td id="LC374" class="css-1dcdqdg"><code> map.set(modifier.name, modifier);
+</code></td></tr><tr><td id="L375" class="css-a4x74f"><span>375</span></td><td id="LC375" class="css-1dcdqdg"><code> }); <span class="code-comment">// On visiting object, check for its dependencies and visit them recursively</span>
+</code></td></tr><tr><td id="L376" class="css-a4x74f"><span>376</span></td><td id="LC376" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L377" class="css-a4x74f"><span>377</span></td><td id="LC377" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">sort</span>(<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L378" class="css-a4x74f"><span>378</span></td><td id="LC378" class="css-1dcdqdg"><code> visited.add(modifier.name);
+</code></td></tr><tr><td id="L379" class="css-a4x74f"><span>379</span></td><td id="LC379" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
+</code></td></tr><tr><td id="L380" class="css-a4x74f"><span>380</span></td><td id="LC380" class="css-1dcdqdg"><code> requires.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">dep</span>) </span>{
+</code></td></tr><tr><td id="L381" class="css-a4x74f"><span>381</span></td><td id="LC381" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!visited.has(dep)) {
+</code></td></tr><tr><td id="L382" class="css-a4x74f"><span>382</span></td><td id="LC382" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> depModifier = map.get(dep);
+</code></td></tr><tr><td id="L383" class="css-a4x74f"><span>383</span></td><td id="LC383" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L384" class="css-a4x74f"><span>384</span></td><td id="LC384" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (depModifier) {
+</code></td></tr><tr><td id="L385" class="css-a4x74f"><span>385</span></td><td id="LC385" class="css-1dcdqdg"><code> sort(depModifier);
+</code></td></tr><tr><td id="L386" class="css-a4x74f"><span>386</span></td><td id="LC386" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L387" class="css-a4x74f"><span>387</span></td><td id="LC387" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L388" class="css-a4x74f"><span>388</span></td><td id="LC388" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L389" class="css-a4x74f"><span>389</span></td><td id="LC389" class="css-1dcdqdg"><code> result.push(modifier);
+</code></td></tr><tr><td id="L390" class="css-a4x74f"><span>390</span></td><td id="LC390" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L391" class="css-a4x74f"><span>391</span></td><td id="LC391" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L392" class="css-a4x74f"><span>392</span></td><td id="LC392" class="css-1dcdqdg"><code> modifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L393" class="css-a4x74f"><span>393</span></td><td id="LC393" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!visited.has(modifier.name)) {
+</code></td></tr><tr><td id="L394" class="css-a4x74f"><span>394</span></td><td id="LC394" class="css-1dcdqdg"><code> <span class="code-comment">// check for visited object</span>
+</code></td></tr><tr><td id="L395" class="css-a4x74f"><span>395</span></td><td id="LC395" class="css-1dcdqdg"><code> sort(modifier);
+</code></td></tr><tr><td id="L396" class="css-a4x74f"><span>396</span></td><td id="LC396" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L397" class="css-a4x74f"><span>397</span></td><td id="LC397" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L398" class="css-a4x74f"><span>398</span></td><td id="LC398" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> result;
+</code></td></tr><tr><td id="L399" class="css-a4x74f"><span>399</span></td><td id="LC399" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L400" class="css-a4x74f"><span>400</span></td><td id="LC400" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L401" class="css-a4x74f"><span>401</span></td><td id="LC401" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">orderModifiers</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L402" class="css-a4x74f"><span>402</span></td><td id="LC402" class="css-1dcdqdg"><code> <span class="code-comment">// order based on dependencies</span>
+</code></td></tr><tr><td id="L403" class="css-a4x74f"><span>403</span></td><td id="LC403" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> orderedModifiers = order(modifiers); <span class="code-comment">// order based on phase</span>
+</code></td></tr><tr><td id="L404" class="css-a4x74f"><span>404</span></td><td id="LC404" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L405" class="css-a4x74f"><span>405</span></td><td id="LC405" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> modifierPhases.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">acc, phase</span>) </span>{
+</code></td></tr><tr><td id="L406" class="css-a4x74f"><span>406</span></td><td id="LC406" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> acc.concat(orderedModifiers.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L407" class="css-a4x74f"><span>407</span></td><td id="LC407" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> modifier.phase === phase;
+</code></td></tr><tr><td id="L408" class="css-a4x74f"><span>408</span></td><td id="LC408" class="css-1dcdqdg"><code> }));
+</code></td></tr><tr><td id="L409" class="css-a4x74f"><span>409</span></td><td id="LC409" class="css-1dcdqdg"><code> }, []);
+</code></td></tr><tr><td id="L410" class="css-a4x74f"><span>410</span></td><td id="LC410" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L411" class="css-a4x74f"><span>411</span></td><td id="LC411" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L412" class="css-a4x74f"><span>412</span></td><td id="LC412" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">debounce</span>(<span class="code-params">fn</span>) </span>{
+</code></td></tr><tr><td id="L413" class="css-a4x74f"><span>413</span></td><td id="LC413" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> pending;
+</code></td></tr><tr><td id="L414" class="css-a4x74f"><span>414</span></td><td id="LC414" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L415" class="css-a4x74f"><span>415</span></td><td id="LC415" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!pending) {
+</code></td></tr><tr><td id="L416" class="css-a4x74f"><span>416</span></td><td id="LC416" class="css-1dcdqdg"><code> pending = <span class="code-keyword">new</span> <span class="code-built_in">Promise</span>(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">resolve</span>) </span>{
+</code></td></tr><tr><td id="L417" class="css-a4x74f"><span>417</span></td><td id="LC417" class="css-1dcdqdg"><code> <span class="code-built_in">Promise</span>.resolve().then(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L418" class="css-a4x74f"><span>418</span></td><td id="LC418" class="css-1dcdqdg"><code> pending = <span class="code-literal">undefined</span>;
+</code></td></tr><tr><td id="L419" class="css-a4x74f"><span>419</span></td><td id="LC419" class="css-1dcdqdg"><code> resolve(fn());
+</code></td></tr><tr><td id="L420" class="css-a4x74f"><span>420</span></td><td id="LC420" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L421" class="css-a4x74f"><span>421</span></td><td id="LC421" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L422" class="css-a4x74f"><span>422</span></td><td id="LC422" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L423" class="css-a4x74f"><span>423</span></td><td id="LC423" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L424" class="css-a4x74f"><span>424</span></td><td id="LC424" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> pending;
+</code></td></tr><tr><td id="L425" class="css-a4x74f"><span>425</span></td><td id="LC425" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L426" class="css-a4x74f"><span>426</span></td><td id="LC426" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L427" class="css-a4x74f"><span>427</span></td><td id="LC427" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L428" class="css-a4x74f"><span>428</span></td><td id="LC428" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">format</span>(<span class="code-params">str</span>) </span>{
+</code></td></tr><tr><td id="L429" class="css-a4x74f"><span>429</span></td><td id="LC429" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> _len = <span class="code-built_in">arguments</span>.length, args = <span class="code-keyword">new</span> <span class="code-built_in">Array</span>(_len &gt; <span class="code-number">1</span> ? _len - <span class="code-number">1</span> : <span class="code-number">0</span>), _key = <span class="code-number">1</span>; _key &lt; _len; _key++) {
+</code></td></tr><tr><td id="L430" class="css-a4x74f"><span>430</span></td><td id="LC430" class="css-1dcdqdg"><code> args[_key - <span class="code-number">1</span>] = <span class="code-built_in">arguments</span>[_key];
+</code></td></tr><tr><td id="L431" class="css-a4x74f"><span>431</span></td><td id="LC431" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L432" class="css-a4x74f"><span>432</span></td><td id="LC432" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L433" class="css-a4x74f"><span>433</span></td><td id="LC433" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [].concat(args).reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">p, c</span>) </span>{
+</code></td></tr><tr><td id="L434" class="css-a4x74f"><span>434</span></td><td id="LC434" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> p.replace(<span class="code-regexp">/%s/</span>, c);
+</code></td></tr><tr><td id="L435" class="css-a4x74f"><span>435</span></td><td id="LC435" class="css-1dcdqdg"><code> }, str);
+</code></td></tr><tr><td id="L436" class="css-a4x74f"><span>436</span></td><td id="LC436" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L437" class="css-a4x74f"><span>437</span></td><td id="LC437" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L438" class="css-a4x74f"><span>438</span></td><td id="LC438" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> INVALID_MODIFIER_ERROR = <span class="code-string">'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s'</span>;
+</code></td></tr><tr><td id="L439" class="css-a4x74f"><span>439</span></td><td id="LC439" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> MISSING_DEPENDENCY_ERROR = <span class="code-string">'Popper: modifier "%s" requires "%s", but "%s" modifier is not available'</span>;
+</code></td></tr><tr><td id="L440" class="css-a4x74f"><span>440</span></td><td id="LC440" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> VALID_PROPERTIES = [<span class="code-string">'name'</span>, <span class="code-string">'enabled'</span>, <span class="code-string">'phase'</span>, <span class="code-string">'fn'</span>, <span class="code-string">'effect'</span>, <span class="code-string">'requires'</span>, <span class="code-string">'options'</span>];
+</code></td></tr><tr><td id="L441" class="css-a4x74f"><span>441</span></td><td id="LC441" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">validateModifiers</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L442" class="css-a4x74f"><span>442</span></td><td id="LC442" class="css-1dcdqdg"><code> modifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L443" class="css-a4x74f"><span>443</span></td><td id="LC443" class="css-1dcdqdg"><code> [].concat(<span class="code-built_in">Object</span>.keys(modifier), VALID_PROPERTIES) <span class="code-comment">// IE11-compatible replacement for `new Set(iterable)`</span>
+</code></td></tr><tr><td id="L444" class="css-a4x74f"><span>444</span></td><td id="LC444" class="css-1dcdqdg"><code> .filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">value, index, self</span>) </span>{
+</code></td></tr><tr><td id="L445" class="css-a4x74f"><span>445</span></td><td id="LC445" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> self.indexOf(value) === index;
+</code></td></tr><tr><td id="L446" class="css-a4x74f"><span>446</span></td><td id="LC446" class="css-1dcdqdg"><code> }).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">key</span>) </span>{
+</code></td></tr><tr><td id="L447" class="css-a4x74f"><span>447</span></td><td id="LC447" class="css-1dcdqdg"><code> <span class="code-keyword">switch</span> (key) {
+</code></td></tr><tr><td id="L448" class="css-a4x74f"><span>448</span></td><td id="LC448" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'name'</span>:
+</code></td></tr><tr><td id="L449" class="css-a4x74f"><span>449</span></td><td id="LC449" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> modifier.name !== <span class="code-string">'string'</span>) {
+</code></td></tr><tr><td id="L450" class="css-a4x74f"><span>450</span></td><td id="LC450" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, <span class="code-built_in">String</span>(modifier.name), <span class="code-string">'"name"'</span>, <span class="code-string">'"string"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.name) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L451" class="css-a4x74f"><span>451</span></td><td id="LC451" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L452" class="css-a4x74f"><span>452</span></td><td id="LC452" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L453" class="css-a4x74f"><span>453</span></td><td id="LC453" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L454" class="css-a4x74f"><span>454</span></td><td id="LC454" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L455" class="css-a4x74f"><span>455</span></td><td id="LC455" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'enabled'</span>:
+</code></td></tr><tr><td id="L456" class="css-a4x74f"><span>456</span></td><td id="LC456" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> modifier.enabled !== <span class="code-string">'boolean'</span>) {
+</code></td></tr><tr><td id="L457" class="css-a4x74f"><span>457</span></td><td id="LC457" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"enabled"'</span>, <span class="code-string">'"boolean"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.enabled) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L458" class="css-a4x74f"><span>458</span></td><td id="LC458" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L459" class="css-a4x74f"><span>459</span></td><td id="LC459" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L460" class="css-a4x74f"><span>460</span></td><td id="LC460" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L461" class="css-a4x74f"><span>461</span></td><td id="LC461" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L462" class="css-a4x74f"><span>462</span></td><td id="LC462" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'phase'</span>:
+</code></td></tr><tr><td id="L463" class="css-a4x74f"><span>463</span></td><td id="LC463" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifierPhases.indexOf(modifier.phase) &lt; <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L464" class="css-a4x74f"><span>464</span></td><td id="LC464" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"phase"'</span>, <span class="code-string">"either "</span> + modifierPhases.join(<span class="code-string">', '</span>), <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.phase) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L465" class="css-a4x74f"><span>465</span></td><td id="LC465" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L466" class="css-a4x74f"><span>466</span></td><td id="LC466" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L467" class="css-a4x74f"><span>467</span></td><td id="LC467" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L468" class="css-a4x74f"><span>468</span></td><td id="LC468" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L469" class="css-a4x74f"><span>469</span></td><td id="LC469" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'fn'</span>:
+</code></td></tr><tr><td id="L470" class="css-a4x74f"><span>470</span></td><td id="LC470" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> modifier.fn !== <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L471" class="css-a4x74f"><span>471</span></td><td id="LC471" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"fn"'</span>, <span class="code-string">'"function"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.fn) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L472" class="css-a4x74f"><span>472</span></td><td id="LC472" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L473" class="css-a4x74f"><span>473</span></td><td id="LC473" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L474" class="css-a4x74f"><span>474</span></td><td id="LC474" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L475" class="css-a4x74f"><span>475</span></td><td id="LC475" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L476" class="css-a4x74f"><span>476</span></td><td id="LC476" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'effect'</span>:
+</code></td></tr><tr><td id="L477" class="css-a4x74f"><span>477</span></td><td id="LC477" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifier.effect != <span class="code-literal">null</span> &amp;&amp; <span class="code-keyword">typeof</span> modifier.effect !== <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L478" class="css-a4x74f"><span>478</span></td><td id="LC478" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"effect"'</span>, <span class="code-string">'"function"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.fn) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L479" class="css-a4x74f"><span>479</span></td><td id="LC479" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L480" class="css-a4x74f"><span>480</span></td><td id="LC480" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L481" class="css-a4x74f"><span>481</span></td><td id="LC481" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L482" class="css-a4x74f"><span>482</span></td><td id="LC482" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L483" class="css-a4x74f"><span>483</span></td><td id="LC483" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'requires'</span>:
+</code></td></tr><tr><td id="L484" class="css-a4x74f"><span>484</span></td><td id="LC484" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifier.requires != <span class="code-literal">null</span> &amp;&amp; !<span class="code-built_in">Array</span>.isArray(modifier.requires)) {
+</code></td></tr><tr><td id="L485" class="css-a4x74f"><span>485</span></td><td id="LC485" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"requires"'</span>, <span class="code-string">'"array"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.requires) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L486" class="css-a4x74f"><span>486</span></td><td id="LC486" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L487" class="css-a4x74f"><span>487</span></td><td id="LC487" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L488" class="css-a4x74f"><span>488</span></td><td id="LC488" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L489" class="css-a4x74f"><span>489</span></td><td id="LC489" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L490" class="css-a4x74f"><span>490</span></td><td id="LC490" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'requiresIfExists'</span>:
+</code></td></tr><tr><td id="L491" class="css-a4x74f"><span>491</span></td><td id="LC491" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!<span class="code-built_in">Array</span>.isArray(modifier.requiresIfExists)) {
+</code></td></tr><tr><td id="L492" class="css-a4x74f"><span>492</span></td><td id="LC492" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(INVALID_MODIFIER_ERROR, modifier.name, <span class="code-string">'"requiresIfExists"'</span>, <span class="code-string">'"array"'</span>, <span class="code-string">"\""</span> + <span class="code-built_in">String</span>(modifier.requiresIfExists) + <span class="code-string">"\""</span>));
+</code></td></tr><tr><td id="L493" class="css-a4x74f"><span>493</span></td><td id="LC493" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L494" class="css-a4x74f"><span>494</span></td><td id="LC494" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L495" class="css-a4x74f"><span>495</span></td><td id="LC495" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L496" class="css-a4x74f"><span>496</span></td><td id="LC496" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L497" class="css-a4x74f"><span>497</span></td><td id="LC497" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'options'</span>:
+</code></td></tr><tr><td id="L498" class="css-a4x74f"><span>498</span></td><td id="LC498" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> <span class="code-string">'data'</span>:
+</code></td></tr><tr><td id="L499" class="css-a4x74f"><span>499</span></td><td id="LC499" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L500" class="css-a4x74f"><span>500</span></td><td id="LC500" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L501" class="css-a4x74f"><span>501</span></td><td id="LC501" class="css-1dcdqdg"><code> <span class="code-keyword">default</span>:
+</code></td></tr><tr><td id="L502" class="css-a4x74f"><span>502</span></td><td id="LC502" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(<span class="code-string">"PopperJS: an invalid property has been provided to the \""</span> + modifier.name + <span class="code-string">"\" modifier, valid properties are "</span> + VALID_PROPERTIES.map(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">s</span>) </span>{
+</code></td></tr><tr><td id="L503" class="css-a4x74f"><span>503</span></td><td id="LC503" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-string">"\""</span> + s + <span class="code-string">"\""</span>;
+</code></td></tr><tr><td id="L504" class="css-a4x74f"><span>504</span></td><td id="LC504" class="css-1dcdqdg"><code> }).join(<span class="code-string">', '</span>) + <span class="code-string">"; but \""</span> + key + <span class="code-string">"\" was provided."</span>);
+</code></td></tr><tr><td id="L505" class="css-a4x74f"><span>505</span></td><td id="LC505" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L506" class="css-a4x74f"><span>506</span></td><td id="LC506" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L507" class="css-a4x74f"><span>507</span></td><td id="LC507" class="css-1dcdqdg"><code> modifier.requires &amp;&amp; modifier.requires.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">requirement</span>) </span>{
+</code></td></tr><tr><td id="L508" class="css-a4x74f"><span>508</span></td><td id="LC508" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (modifiers.find(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">mod</span>) </span>{
+</code></td></tr><tr><td id="L509" class="css-a4x74f"><span>509</span></td><td id="LC509" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> mod.name === requirement;
+</code></td></tr><tr><td id="L510" class="css-a4x74f"><span>510</span></td><td id="LC510" class="css-1dcdqdg"><code> }) == <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L511" class="css-a4x74f"><span>511</span></td><td id="LC511" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(format(MISSING_DEPENDENCY_ERROR, <span class="code-built_in">String</span>(modifier.name), requirement, requirement));
+</code></td></tr><tr><td id="L512" class="css-a4x74f"><span>512</span></td><td id="LC512" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L513" class="css-a4x74f"><span>513</span></td><td id="LC513" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L514" class="css-a4x74f"><span>514</span></td><td id="LC514" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L515" class="css-a4x74f"><span>515</span></td><td id="LC515" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L516" class="css-a4x74f"><span>516</span></td><td id="LC516" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L517" class="css-a4x74f"><span>517</span></td><td id="LC517" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L518" class="css-a4x74f"><span>518</span></td><td id="LC518" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">uniqueBy</span>(<span class="code-params">arr, fn</span>) </span>{
+</code></td></tr><tr><td id="L519" class="css-a4x74f"><span>519</span></td><td id="LC519" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> identifiers = <span class="code-keyword">new</span> <span class="code-built_in">Set</span>();
+</code></td></tr><tr><td id="L520" class="css-a4x74f"><span>520</span></td><td id="LC520" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> arr.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">item</span>) </span>{
+</code></td></tr><tr><td id="L521" class="css-a4x74f"><span>521</span></td><td id="LC521" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> identifier = fn(item);
+</code></td></tr><tr><td id="L522" class="css-a4x74f"><span>522</span></td><td id="LC522" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L523" class="css-a4x74f"><span>523</span></td><td id="LC523" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!identifiers.has(identifier)) {
+</code></td></tr><tr><td id="L524" class="css-a4x74f"><span>524</span></td><td id="LC524" class="css-1dcdqdg"><code> identifiers.add(identifier);
+</code></td></tr><tr><td id="L525" class="css-a4x74f"><span>525</span></td><td id="LC525" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L526" class="css-a4x74f"><span>526</span></td><td id="LC526" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L527" class="css-a4x74f"><span>527</span></td><td id="LC527" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L528" class="css-a4x74f"><span>528</span></td><td id="LC528" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L529" class="css-a4x74f"><span>529</span></td><td id="LC529" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L530" class="css-a4x74f"><span>530</span></td><td id="LC530" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getBasePlacement</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L531" class="css-a4x74f"><span>531</span></td><td id="LC531" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> placement.split(<span class="code-string">'-'</span>)[<span class="code-number">0</span>];
+</code></td></tr><tr><td id="L532" class="css-a4x74f"><span>532</span></td><td id="LC532" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L533" class="css-a4x74f"><span>533</span></td><td id="LC533" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L534" class="css-a4x74f"><span>534</span></td><td id="LC534" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">mergeByName</span>(<span class="code-params">modifiers</span>) </span>{
+</code></td></tr><tr><td id="L535" class="css-a4x74f"><span>535</span></td><td id="LC535" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> merged = modifiers.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">merged, current</span>) </span>{
+</code></td></tr><tr><td id="L536" class="css-a4x74f"><span>536</span></td><td id="LC536" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> existing = merged[current.name];
+</code></td></tr><tr><td id="L537" class="css-a4x74f"><span>537</span></td><td id="LC537" class="css-1dcdqdg"><code> merged[current.name] = existing ? <span class="code-built_in">Object</span>.assign({}, existing, current, {
+</code></td></tr><tr><td id="L538" class="css-a4x74f"><span>538</span></td><td id="LC538" class="css-1dcdqdg"><code> options: <span class="code-built_in">Object</span>.assign({}, existing.options, current.options),
+</code></td></tr><tr><td id="L539" class="css-a4x74f"><span>539</span></td><td id="LC539" class="css-1dcdqdg"><code> data: <span class="code-built_in">Object</span>.assign({}, existing.data, current.data)
+</code></td></tr><tr><td id="L540" class="css-a4x74f"><span>540</span></td><td id="LC540" class="css-1dcdqdg"><code> }) : current;
+</code></td></tr><tr><td id="L541" class="css-a4x74f"><span>541</span></td><td id="LC541" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> merged;
+</code></td></tr><tr><td id="L542" class="css-a4x74f"><span>542</span></td><td id="LC542" class="css-1dcdqdg"><code> }, {}); <span class="code-comment">// IE11 does not support Object.values</span>
+</code></td></tr><tr><td id="L543" class="css-a4x74f"><span>543</span></td><td id="LC543" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L544" class="css-a4x74f"><span>544</span></td><td id="LC544" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.keys(merged).map(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">key</span>) </span>{
+</code></td></tr><tr><td id="L545" class="css-a4x74f"><span>545</span></td><td id="LC545" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> merged[key];
+</code></td></tr><tr><td id="L546" class="css-a4x74f"><span>546</span></td><td id="LC546" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L547" class="css-a4x74f"><span>547</span></td><td id="LC547" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L548" class="css-a4x74f"><span>548</span></td><td id="LC548" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L549" class="css-a4x74f"><span>549</span></td><td id="LC549" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getViewportRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L550" class="css-a4x74f"><span>550</span></td><td id="LC550" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = getWindow(element);
+</code></td></tr><tr><td id="L551" class="css-a4x74f"><span>551</span></td><td id="LC551" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> html = getDocumentElement(element);
+</code></td></tr><tr><td id="L552" class="css-a4x74f"><span>552</span></td><td id="LC552" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> visualViewport = win.visualViewport;
+</code></td></tr><tr><td id="L553" class="css-a4x74f"><span>553</span></td><td id="LC553" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> width = html.clientWidth;
+</code></td></tr><tr><td id="L554" class="css-a4x74f"><span>554</span></td><td id="LC554" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> height = html.clientHeight;
+</code></td></tr><tr><td id="L555" class="css-a4x74f"><span>555</span></td><td id="LC555" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> x = <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L556" class="css-a4x74f"><span>556</span></td><td id="LC556" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> y = <span class="code-number">0</span>; <span class="code-comment">// NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper</span>
+</code></td></tr><tr><td id="L557" class="css-a4x74f"><span>557</span></td><td id="LC557" class="css-1dcdqdg"><code> <span class="code-comment">// can be obscured underneath it.</span>
+</code></td></tr><tr><td id="L558" class="css-a4x74f"><span>558</span></td><td id="LC558" class="css-1dcdqdg"><code> <span class="code-comment">// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even</span>
+</code></td></tr><tr><td id="L559" class="css-a4x74f"><span>559</span></td><td id="LC559" class="css-1dcdqdg"><code> <span class="code-comment">// if it isn't open, so if this isn't available, the popper will be detected</span>
+</code></td></tr><tr><td id="L560" class="css-a4x74f"><span>560</span></td><td id="LC560" class="css-1dcdqdg"><code> <span class="code-comment">// to overflow the bottom of the screen too early.</span>
+</code></td></tr><tr><td id="L561" class="css-a4x74f"><span>561</span></td><td id="LC561" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L562" class="css-a4x74f"><span>562</span></td><td id="LC562" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (visualViewport) {
+</code></td></tr><tr><td id="L563" class="css-a4x74f"><span>563</span></td><td id="LC563" class="css-1dcdqdg"><code> width = visualViewport.width;
+</code></td></tr><tr><td id="L564" class="css-a4x74f"><span>564</span></td><td id="LC564" class="css-1dcdqdg"><code> height = visualViewport.height; <span class="code-comment">// Uses Layout Viewport (like Chrome; Safari does not currently)</span>
+</code></td></tr><tr><td id="L565" class="css-a4x74f"><span>565</span></td><td id="LC565" class="css-1dcdqdg"><code> <span class="code-comment">// In Chrome, it returns a value very close to 0 (+/-) but contains rounding</span>
+</code></td></tr><tr><td id="L566" class="css-a4x74f"><span>566</span></td><td id="LC566" class="css-1dcdqdg"><code> <span class="code-comment">// errors due to floating point numbers, so we need to check precision.</span>
+</code></td></tr><tr><td id="L567" class="css-a4x74f"><span>567</span></td><td id="LC567" class="css-1dcdqdg"><code> <span class="code-comment">// Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed</span>
+</code></td></tr><tr><td id="L568" class="css-a4x74f"><span>568</span></td><td id="LC568" class="css-1dcdqdg"><code> <span class="code-comment">// Feature detection fails in mobile emulation mode in Chrome.</span>
+</code></td></tr><tr><td id="L569" class="css-a4x74f"><span>569</span></td><td id="LC569" class="css-1dcdqdg"><code> <span class="code-comment">// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;</span>
+</code></td></tr><tr><td id="L570" class="css-a4x74f"><span>570</span></td><td id="LC570" class="css-1dcdqdg"><code> <span class="code-comment">// 0.001</span>
+</code></td></tr><tr><td id="L571" class="css-a4x74f"><span>571</span></td><td id="LC571" class="css-1dcdqdg"><code> <span class="code-comment">// Fallback here: "Not Safari" userAgent</span>
+</code></td></tr><tr><td id="L572" class="css-a4x74f"><span>572</span></td><td id="LC572" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L573" class="css-a4x74f"><span>573</span></td><td id="LC573" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!<span class="code-regexp">/^((?!chrome|android).)*safari/i</span>.test(navigator.userAgent)) {
+</code></td></tr><tr><td id="L574" class="css-a4x74f"><span>574</span></td><td id="LC574" class="css-1dcdqdg"><code> x = visualViewport.offsetLeft;
+</code></td></tr><tr><td id="L575" class="css-a4x74f"><span>575</span></td><td id="LC575" class="css-1dcdqdg"><code> y = visualViewport.offsetTop;
+</code></td></tr><tr><td id="L576" class="css-a4x74f"><span>576</span></td><td id="LC576" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L577" class="css-a4x74f"><span>577</span></td><td id="LC577" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L578" class="css-a4x74f"><span>578</span></td><td id="LC578" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L579" class="css-a4x74f"><span>579</span></td><td id="LC579" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L580" class="css-a4x74f"><span>580</span></td><td id="LC580" class="css-1dcdqdg"><code> width: width,
+</code></td></tr><tr><td id="L581" class="css-a4x74f"><span>581</span></td><td id="LC581" class="css-1dcdqdg"><code> height: height,
+</code></td></tr><tr><td id="L582" class="css-a4x74f"><span>582</span></td><td id="LC582" class="css-1dcdqdg"><code> x: x + getWindowScrollBarX(element),
+</code></td></tr><tr><td id="L583" class="css-a4x74f"><span>583</span></td><td id="LC583" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L584" class="css-a4x74f"><span>584</span></td><td id="LC584" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L585" class="css-a4x74f"><span>585</span></td><td id="LC585" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L586" class="css-a4x74f"><span>586</span></td><td id="LC586" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L587" class="css-a4x74f"><span>587</span></td><td id="LC587" class="css-1dcdqdg"><code> <span class="code-comment">// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable</span>
+</code></td></tr><tr><td id="L588" class="css-a4x74f"><span>588</span></td><td id="LC588" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L589" class="css-a4x74f"><span>589</span></td><td id="LC589" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getDocumentRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L590" class="css-a4x74f"><span>590</span></td><td id="LC590" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _element$ownerDocumen;
+</code></td></tr><tr><td id="L591" class="css-a4x74f"><span>591</span></td><td id="LC591" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L592" class="css-a4x74f"><span>592</span></td><td id="LC592" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> html = getDocumentElement(element);
+</code></td></tr><tr><td id="L593" class="css-a4x74f"><span>593</span></td><td id="LC593" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> winScroll = getWindowScroll(element);
+</code></td></tr><tr><td id="L594" class="css-a4x74f"><span>594</span></td><td id="LC594" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> body = (_element$ownerDocumen = element.ownerDocument) == <span class="code-literal">null</span> ? <span class="code-keyword">void</span> <span class="code-number">0</span> : _element$ownerDocumen.body;
+</code></td></tr><tr><td id="L595" class="css-a4x74f"><span>595</span></td><td id="LC595" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : <span class="code-number">0</span>, body ? body.clientWidth : <span class="code-number">0</span>);
+</code></td></tr><tr><td id="L596" class="css-a4x74f"><span>596</span></td><td id="LC596" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : <span class="code-number">0</span>, body ? body.clientHeight : <span class="code-number">0</span>);
+</code></td></tr><tr><td id="L597" class="css-a4x74f"><span>597</span></td><td id="LC597" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> x = -winScroll.scrollLeft + getWindowScrollBarX(element);
+</code></td></tr><tr><td id="L598" class="css-a4x74f"><span>598</span></td><td id="LC598" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> y = -winScroll.scrollTop;
+</code></td></tr><tr><td id="L599" class="css-a4x74f"><span>599</span></td><td id="LC599" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L600" class="css-a4x74f"><span>600</span></td><td id="LC600" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getComputedStyle(body || html).direction === <span class="code-string">'rtl'</span>) {
+</code></td></tr><tr><td id="L601" class="css-a4x74f"><span>601</span></td><td id="LC601" class="css-1dcdqdg"><code> x += max(html.clientWidth, body ? body.clientWidth : <span class="code-number">0</span>) - width;
+</code></td></tr><tr><td id="L602" class="css-a4x74f"><span>602</span></td><td id="LC602" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L603" class="css-a4x74f"><span>603</span></td><td id="LC603" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L604" class="css-a4x74f"><span>604</span></td><td id="LC604" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L605" class="css-a4x74f"><span>605</span></td><td id="LC605" class="css-1dcdqdg"><code> width: width,
+</code></td></tr><tr><td id="L606" class="css-a4x74f"><span>606</span></td><td id="LC606" class="css-1dcdqdg"><code> height: height,
+</code></td></tr><tr><td id="L607" class="css-a4x74f"><span>607</span></td><td id="LC607" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L608" class="css-a4x74f"><span>608</span></td><td id="LC608" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L609" class="css-a4x74f"><span>609</span></td><td id="LC609" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L610" class="css-a4x74f"><span>610</span></td><td id="LC610" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L611" class="css-a4x74f"><span>611</span></td><td id="LC611" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L612" class="css-a4x74f"><span>612</span></td><td id="LC612" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">contains</span>(<span class="code-params">parent, child</span>) </span>{
+</code></td></tr><tr><td id="L613" class="css-a4x74f"><span>613</span></td><td id="LC613" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rootNode = child.getRootNode &amp;&amp; child.getRootNode(); <span class="code-comment">// First, attempt with faster native method</span>
+</code></td></tr><tr><td id="L614" class="css-a4x74f"><span>614</span></td><td id="LC614" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L615" class="css-a4x74f"><span>615</span></td><td id="LC615" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (parent.contains(child)) {
+</code></td></tr><tr><td id="L616" class="css-a4x74f"><span>616</span></td><td id="LC616" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L617" class="css-a4x74f"><span>617</span></td><td id="LC617" class="css-1dcdqdg"><code> } <span class="code-comment">// then fallback to custom implementation with Shadow DOM support</span>
+</code></td></tr><tr><td id="L618" class="css-a4x74f"><span>618</span></td><td id="LC618" class="css-1dcdqdg"><code> <span class="code-keyword">else</span> <span class="code-keyword">if</span> (rootNode &amp;&amp; isShadowRoot(rootNode)) {
+</code></td></tr><tr><td id="L619" class="css-a4x74f"><span>619</span></td><td id="LC619" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> next = child;
+</code></td></tr><tr><td id="L620" class="css-a4x74f"><span>620</span></td><td id="LC620" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L621" class="css-a4x74f"><span>621</span></td><td id="LC621" class="css-1dcdqdg"><code> <span class="code-keyword">do</span> {
+</code></td></tr><tr><td id="L622" class="css-a4x74f"><span>622</span></td><td id="LC622" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (next &amp;&amp; parent.isSameNode(next)) {
+</code></td></tr><tr><td id="L623" class="css-a4x74f"><span>623</span></td><td id="LC623" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L624" class="css-a4x74f"><span>624</span></td><td id="LC624" class="css-1dcdqdg"><code> } <span class="code-comment">// $FlowFixMe[prop-missing]: need a better way to handle this...</span>
+</code></td></tr><tr><td id="L625" class="css-a4x74f"><span>625</span></td><td id="LC625" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L626" class="css-a4x74f"><span>626</span></td><td id="LC626" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L627" class="css-a4x74f"><span>627</span></td><td id="LC627" class="css-1dcdqdg"><code> next = next.parentNode || next.host;
+</code></td></tr><tr><td id="L628" class="css-a4x74f"><span>628</span></td><td id="LC628" class="css-1dcdqdg"><code> } <span class="code-keyword">while</span> (next);
+</code></td></tr><tr><td id="L629" class="css-a4x74f"><span>629</span></td><td id="LC629" class="css-1dcdqdg"><code> } <span class="code-comment">// Give up, the result is false</span>
+</code></td></tr><tr><td id="L630" class="css-a4x74f"><span>630</span></td><td id="LC630" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L631" class="css-a4x74f"><span>631</span></td><td id="LC631" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L632" class="css-a4x74f"><span>632</span></td><td id="LC632" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L633" class="css-a4x74f"><span>633</span></td><td id="LC633" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L634" class="css-a4x74f"><span>634</span></td><td id="LC634" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L635" class="css-a4x74f"><span>635</span></td><td id="LC635" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">rectToClientRect</span>(<span class="code-params">rect</span>) </span>{
+</code></td></tr><tr><td id="L636" class="css-a4x74f"><span>636</span></td><td id="LC636" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, rect, {
+</code></td></tr><tr><td id="L637" class="css-a4x74f"><span>637</span></td><td id="LC637" class="css-1dcdqdg"><code> left: rect.x,
+</code></td></tr><tr><td id="L638" class="css-a4x74f"><span>638</span></td><td id="LC638" class="css-1dcdqdg"><code> top: rect.y,
+</code></td></tr><tr><td id="L639" class="css-a4x74f"><span>639</span></td><td id="LC639" class="css-1dcdqdg"><code> right: rect.x + rect.width,
+</code></td></tr><tr><td id="L640" class="css-a4x74f"><span>640</span></td><td id="LC640" class="css-1dcdqdg"><code> bottom: rect.y + rect.height
+</code></td></tr><tr><td id="L641" class="css-a4x74f"><span>641</span></td><td id="LC641" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L642" class="css-a4x74f"><span>642</span></td><td id="LC642" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L643" class="css-a4x74f"><span>643</span></td><td id="LC643" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L644" class="css-a4x74f"><span>644</span></td><td id="LC644" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getInnerBoundingClientRect</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L645" class="css-a4x74f"><span>645</span></td><td id="LC645" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = getBoundingClientRect(element);
+</code></td></tr><tr><td id="L646" class="css-a4x74f"><span>646</span></td><td id="LC646" class="css-1dcdqdg"><code> rect.top = rect.top + element.clientTop;
+</code></td></tr><tr><td id="L647" class="css-a4x74f"><span>647</span></td><td id="LC647" class="css-1dcdqdg"><code> rect.left = rect.left + element.clientLeft;
+</code></td></tr><tr><td id="L648" class="css-a4x74f"><span>648</span></td><td id="LC648" class="css-1dcdqdg"><code> rect.bottom = rect.top + element.clientHeight;
+</code></td></tr><tr><td id="L649" class="css-a4x74f"><span>649</span></td><td id="LC649" class="css-1dcdqdg"><code> rect.right = rect.left + element.clientWidth;
+</code></td></tr><tr><td id="L650" class="css-a4x74f"><span>650</span></td><td id="LC650" class="css-1dcdqdg"><code> rect.width = element.clientWidth;
+</code></td></tr><tr><td id="L651" class="css-a4x74f"><span>651</span></td><td id="LC651" class="css-1dcdqdg"><code> rect.height = element.clientHeight;
+</code></td></tr><tr><td id="L652" class="css-a4x74f"><span>652</span></td><td id="LC652" class="css-1dcdqdg"><code> rect.x = rect.left;
+</code></td></tr><tr><td id="L653" class="css-a4x74f"><span>653</span></td><td id="LC653" class="css-1dcdqdg"><code> rect.y = rect.top;
+</code></td></tr><tr><td id="L654" class="css-a4x74f"><span>654</span></td><td id="LC654" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> rect;
+</code></td></tr><tr><td id="L655" class="css-a4x74f"><span>655</span></td><td id="LC655" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L656" class="css-a4x74f"><span>656</span></td><td id="LC656" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L657" class="css-a4x74f"><span>657</span></td><td id="LC657" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getClientRectFromMixedType</span>(<span class="code-params">element, clippingParent</span>) </span>{
+</code></td></tr><tr><td id="L658" class="css-a4x74f"><span>658</span></td><td id="LC658" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
+</code></td></tr><tr><td id="L659" class="css-a4x74f"><span>659</span></td><td id="LC659" class="css-1dcdqdg"><code> } <span class="code-comment">// A "clipping parent" is an overflowable container with the characteristic of</span>
+</code></td></tr><tr><td id="L660" class="css-a4x74f"><span>660</span></td><td id="LC660" class="css-1dcdqdg"><code> <span class="code-comment">// clipping (or hiding) overflowing elements with a position different from</span>
+</code></td></tr><tr><td id="L661" class="css-a4x74f"><span>661</span></td><td id="LC661" class="css-1dcdqdg"><code> <span class="code-comment">// `initial`</span>
+</code></td></tr><tr><td id="L662" class="css-a4x74f"><span>662</span></td><td id="LC662" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L663" class="css-a4x74f"><span>663</span></td><td id="LC663" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L664" class="css-a4x74f"><span>664</span></td><td id="LC664" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getClippingParents</span>(<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L665" class="css-a4x74f"><span>665</span></td><td id="LC665" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingParents = listScrollParents(getParentNode(element));
+</code></td></tr><tr><td id="L666" class="css-a4x74f"><span>666</span></td><td id="LC666" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> canEscapeClipping = [<span class="code-string">'absolute'</span>, <span class="code-string">'fixed'</span>].indexOf(getComputedStyle(element).position) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L667" class="css-a4x74f"><span>667</span></td><td id="LC667" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clipperElement = canEscapeClipping &amp;&amp; isHTMLElement(element) ? getOffsetParent(element) : element;
+</code></td></tr><tr><td id="L668" class="css-a4x74f"><span>668</span></td><td id="LC668" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L669" class="css-a4x74f"><span>669</span></td><td id="LC669" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isElement(clipperElement)) {
+</code></td></tr><tr><td id="L670" class="css-a4x74f"><span>670</span></td><td id="LC670" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [];
+</code></td></tr><tr><td id="L671" class="css-a4x74f"><span>671</span></td><td id="LC671" class="css-1dcdqdg"><code> } <span class="code-comment">// $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414</span>
+</code></td></tr><tr><td id="L672" class="css-a4x74f"><span>672</span></td><td id="LC672" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L673" class="css-a4x74f"><span>673</span></td><td id="LC673" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L674" class="css-a4x74f"><span>674</span></td><td id="LC674" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> clippingParents.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">clippingParent</span>) </span>{
+</code></td></tr><tr><td id="L675" class="css-a4x74f"><span>675</span></td><td id="LC675" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> isElement(clippingParent) &amp;&amp; contains(clippingParent, clipperElement) &amp;&amp; getNodeName(clippingParent) !== <span class="code-string">'body'</span>;
+</code></td></tr><tr><td id="L676" class="css-a4x74f"><span>676</span></td><td id="LC676" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L677" class="css-a4x74f"><span>677</span></td><td id="LC677" class="css-1dcdqdg"><code> } <span class="code-comment">// Gets the maximum area that the element is visible in due to any number of</span>
+</code></td></tr><tr><td id="L678" class="css-a4x74f"><span>678</span></td><td id="LC678" class="css-1dcdqdg"><code> <span class="code-comment">// clipping parents</span>
+</code></td></tr><tr><td id="L679" class="css-a4x74f"><span>679</span></td><td id="LC679" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L680" class="css-a4x74f"><span>680</span></td><td id="LC680" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L681" class="css-a4x74f"><span>681</span></td><td id="LC681" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getClippingRect</span>(<span class="code-params">element, boundary, rootBoundary</span>) </span>{
+</code></td></tr><tr><td id="L682" class="css-a4x74f"><span>682</span></td><td id="LC682" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> mainClippingParents = boundary === <span class="code-string">'clippingParents'</span> ? getClippingParents(element) : [].concat(boundary);
+</code></td></tr><tr><td id="L683" class="css-a4x74f"><span>683</span></td><td id="LC683" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingParents = [].concat(mainClippingParents, [rootBoundary]);
+</code></td></tr><tr><td id="L684" class="css-a4x74f"><span>684</span></td><td id="LC684" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> firstClippingParent = clippingParents[<span class="code-number">0</span>];
+</code></td></tr><tr><td id="L685" class="css-a4x74f"><span>685</span></td><td id="LC685" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingRect = clippingParents.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">accRect, clippingParent</span>) </span>{
+</code></td></tr><tr><td id="L686" class="css-a4x74f"><span>686</span></td><td id="LC686" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> rect = getClientRectFromMixedType(element, clippingParent);
+</code></td></tr><tr><td id="L687" class="css-a4x74f"><span>687</span></td><td id="LC687" class="css-1dcdqdg"><code> accRect.top = max(rect.top, accRect.top);
+</code></td></tr><tr><td id="L688" class="css-a4x74f"><span>688</span></td><td id="LC688" class="css-1dcdqdg"><code> accRect.right = min(rect.right, accRect.right);
+</code></td></tr><tr><td id="L689" class="css-a4x74f"><span>689</span></td><td id="LC689" class="css-1dcdqdg"><code> accRect.bottom = min(rect.bottom, accRect.bottom);
+</code></td></tr><tr><td id="L690" class="css-a4x74f"><span>690</span></td><td id="LC690" class="css-1dcdqdg"><code> accRect.left = max(rect.left, accRect.left);
+</code></td></tr><tr><td id="L691" class="css-a4x74f"><span>691</span></td><td id="LC691" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> accRect;
+</code></td></tr><tr><td id="L692" class="css-a4x74f"><span>692</span></td><td id="LC692" class="css-1dcdqdg"><code> }, getClientRectFromMixedType(element, firstClippingParent));
+</code></td></tr><tr><td id="L693" class="css-a4x74f"><span>693</span></td><td id="LC693" class="css-1dcdqdg"><code> clippingRect.width = clippingRect.right - clippingRect.left;
+</code></td></tr><tr><td id="L694" class="css-a4x74f"><span>694</span></td><td id="LC694" class="css-1dcdqdg"><code> clippingRect.height = clippingRect.bottom - clippingRect.top;
+</code></td></tr><tr><td id="L695" class="css-a4x74f"><span>695</span></td><td id="LC695" class="css-1dcdqdg"><code> clippingRect.x = clippingRect.left;
+</code></td></tr><tr><td id="L696" class="css-a4x74f"><span>696</span></td><td id="LC696" class="css-1dcdqdg"><code> clippingRect.y = clippingRect.top;
+</code></td></tr><tr><td id="L697" class="css-a4x74f"><span>697</span></td><td id="LC697" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> clippingRect;
+</code></td></tr><tr><td id="L698" class="css-a4x74f"><span>698</span></td><td id="LC698" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L699" class="css-a4x74f"><span>699</span></td><td id="LC699" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L700" class="css-a4x74f"><span>700</span></td><td id="LC700" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getVariation</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L701" class="css-a4x74f"><span>701</span></td><td id="LC701" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> placement.split(<span class="code-string">'-'</span>)[<span class="code-number">1</span>];
+</code></td></tr><tr><td id="L702" class="css-a4x74f"><span>702</span></td><td id="LC702" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L703" class="css-a4x74f"><span>703</span></td><td id="LC703" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L704" class="css-a4x74f"><span>704</span></td><td id="LC704" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getMainAxisFromPlacement</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L705" class="css-a4x74f"><span>705</span></td><td id="LC705" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [<span class="code-string">'top'</span>, <span class="code-string">'bottom'</span>].indexOf(placement) &gt;= <span class="code-number">0</span> ? <span class="code-string">'x'</span> : <span class="code-string">'y'</span>;
+</code></td></tr><tr><td id="L706" class="css-a4x74f"><span>706</span></td><td id="LC706" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L707" class="css-a4x74f"><span>707</span></td><td id="LC707" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L708" class="css-a4x74f"><span>708</span></td><td id="LC708" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">computeOffsets</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L709" class="css-a4x74f"><span>709</span></td><td id="LC709" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> reference = _ref.reference,
+</code></td></tr><tr><td id="L710" class="css-a4x74f"><span>710</span></td><td id="LC710" class="css-1dcdqdg"><code> element = _ref.element,
+</code></td></tr><tr><td id="L711" class="css-a4x74f"><span>711</span></td><td id="LC711" class="css-1dcdqdg"><code> placement = _ref.placement;
+</code></td></tr><tr><td id="L712" class="css-a4x74f"><span>712</span></td><td id="LC712" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacement = placement ? getBasePlacement(placement) : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L713" class="css-a4x74f"><span>713</span></td><td id="LC713" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> variation = placement ? getVariation(placement) : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L714" class="css-a4x74f"><span>714</span></td><td id="LC714" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonX = reference.x + reference.width / <span class="code-number">2</span> - element.width / <span class="code-number">2</span>;
+</code></td></tr><tr><td id="L715" class="css-a4x74f"><span>715</span></td><td id="LC715" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonY = reference.y + reference.height / <span class="code-number">2</span> - element.height / <span class="code-number">2</span>;
+</code></td></tr><tr><td id="L716" class="css-a4x74f"><span>716</span></td><td id="LC716" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsets;
+</code></td></tr><tr><td id="L717" class="css-a4x74f"><span>717</span></td><td id="LC717" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L718" class="css-a4x74f"><span>718</span></td><td id="LC718" class="css-1dcdqdg"><code> <span class="code-keyword">switch</span> (basePlacement) {
+</code></td></tr><tr><td id="L719" class="css-a4x74f"><span>719</span></td><td id="LC719" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> top:
+</code></td></tr><tr><td id="L720" class="css-a4x74f"><span>720</span></td><td id="LC720" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L721" class="css-a4x74f"><span>721</span></td><td id="LC721" class="css-1dcdqdg"><code> x: commonX,
+</code></td></tr><tr><td id="L722" class="css-a4x74f"><span>722</span></td><td id="LC722" class="css-1dcdqdg"><code> y: reference.y - element.height
+</code></td></tr><tr><td id="L723" class="css-a4x74f"><span>723</span></td><td id="LC723" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L724" class="css-a4x74f"><span>724</span></td><td id="LC724" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L725" class="css-a4x74f"><span>725</span></td><td id="LC725" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L726" class="css-a4x74f"><span>726</span></td><td id="LC726" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> bottom:
+</code></td></tr><tr><td id="L727" class="css-a4x74f"><span>727</span></td><td id="LC727" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L728" class="css-a4x74f"><span>728</span></td><td id="LC728" class="css-1dcdqdg"><code> x: commonX,
+</code></td></tr><tr><td id="L729" class="css-a4x74f"><span>729</span></td><td id="LC729" class="css-1dcdqdg"><code> y: reference.y + reference.height
+</code></td></tr><tr><td id="L730" class="css-a4x74f"><span>730</span></td><td id="LC730" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L731" class="css-a4x74f"><span>731</span></td><td id="LC731" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L732" class="css-a4x74f"><span>732</span></td><td id="LC732" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L733" class="css-a4x74f"><span>733</span></td><td id="LC733" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> right:
+</code></td></tr><tr><td id="L734" class="css-a4x74f"><span>734</span></td><td id="LC734" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L735" class="css-a4x74f"><span>735</span></td><td id="LC735" class="css-1dcdqdg"><code> x: reference.x + reference.width,
+</code></td></tr><tr><td id="L736" class="css-a4x74f"><span>736</span></td><td id="LC736" class="css-1dcdqdg"><code> y: commonY
+</code></td></tr><tr><td id="L737" class="css-a4x74f"><span>737</span></td><td id="LC737" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L738" class="css-a4x74f"><span>738</span></td><td id="LC738" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L739" class="css-a4x74f"><span>739</span></td><td id="LC739" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L740" class="css-a4x74f"><span>740</span></td><td id="LC740" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> left:
+</code></td></tr><tr><td id="L741" class="css-a4x74f"><span>741</span></td><td id="LC741" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L742" class="css-a4x74f"><span>742</span></td><td id="LC742" class="css-1dcdqdg"><code> x: reference.x - element.width,
+</code></td></tr><tr><td id="L743" class="css-a4x74f"><span>743</span></td><td id="LC743" class="css-1dcdqdg"><code> y: commonY
+</code></td></tr><tr><td id="L744" class="css-a4x74f"><span>744</span></td><td id="LC744" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L745" class="css-a4x74f"><span>745</span></td><td id="LC745" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L746" class="css-a4x74f"><span>746</span></td><td id="LC746" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L747" class="css-a4x74f"><span>747</span></td><td id="LC747" class="css-1dcdqdg"><code> <span class="code-keyword">default</span>:
+</code></td></tr><tr><td id="L748" class="css-a4x74f"><span>748</span></td><td id="LC748" class="css-1dcdqdg"><code> offsets = {
+</code></td></tr><tr><td id="L749" class="css-a4x74f"><span>749</span></td><td id="LC749" class="css-1dcdqdg"><code> x: reference.x,
+</code></td></tr><tr><td id="L750" class="css-a4x74f"><span>750</span></td><td id="LC750" class="css-1dcdqdg"><code> y: reference.y
+</code></td></tr><tr><td id="L751" class="css-a4x74f"><span>751</span></td><td id="LC751" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L752" class="css-a4x74f"><span>752</span></td><td id="LC752" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L753" class="css-a4x74f"><span>753</span></td><td id="LC753" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L754" class="css-a4x74f"><span>754</span></td><td id="LC754" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L755" class="css-a4x74f"><span>755</span></td><td id="LC755" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L756" class="css-a4x74f"><span>756</span></td><td id="LC756" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (mainAxis != <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L757" class="css-a4x74f"><span>757</span></td><td id="LC757" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> len = mainAxis === <span class="code-string">'y'</span> ? <span class="code-string">'height'</span> : <span class="code-string">'width'</span>;
+</code></td></tr><tr><td id="L758" class="css-a4x74f"><span>758</span></td><td id="LC758" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L759" class="css-a4x74f"><span>759</span></td><td id="LC759" class="css-1dcdqdg"><code> <span class="code-keyword">switch</span> (variation) {
+</code></td></tr><tr><td id="L760" class="css-a4x74f"><span>760</span></td><td id="LC760" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> start:
+</code></td></tr><tr><td id="L761" class="css-a4x74f"><span>761</span></td><td id="LC761" class="css-1dcdqdg"><code> offsets[mainAxis] = offsets[mainAxis] - (reference[len] / <span class="code-number">2</span> - element[len] / <span class="code-number">2</span>);
+</code></td></tr><tr><td id="L762" class="css-a4x74f"><span>762</span></td><td id="LC762" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L763" class="css-a4x74f"><span>763</span></td><td id="LC763" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L764" class="css-a4x74f"><span>764</span></td><td id="LC764" class="css-1dcdqdg"><code> <span class="code-keyword">case</span> end:
+</code></td></tr><tr><td id="L765" class="css-a4x74f"><span>765</span></td><td id="LC765" class="css-1dcdqdg"><code> offsets[mainAxis] = offsets[mainAxis] + (reference[len] / <span class="code-number">2</span> - element[len] / <span class="code-number">2</span>);
+</code></td></tr><tr><td id="L766" class="css-a4x74f"><span>766</span></td><td id="LC766" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L767" class="css-a4x74f"><span>767</span></td><td id="LC767" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L768" class="css-a4x74f"><span>768</span></td><td id="LC768" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L769" class="css-a4x74f"><span>769</span></td><td id="LC769" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L770" class="css-a4x74f"><span>770</span></td><td id="LC770" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> offsets;
+</code></td></tr><tr><td id="L771" class="css-a4x74f"><span>771</span></td><td id="LC771" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L772" class="css-a4x74f"><span>772</span></td><td id="LC772" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L773" class="css-a4x74f"><span>773</span></td><td id="LC773" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getFreshSideObject</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L774" class="css-a4x74f"><span>774</span></td><td id="LC774" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L775" class="css-a4x74f"><span>775</span></td><td id="LC775" class="css-1dcdqdg"><code> top: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L776" class="css-a4x74f"><span>776</span></td><td id="LC776" class="css-1dcdqdg"><code> right: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L777" class="css-a4x74f"><span>777</span></td><td id="LC777" class="css-1dcdqdg"><code> bottom: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L778" class="css-a4x74f"><span>778</span></td><td id="LC778" class="css-1dcdqdg"><code> left: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L779" class="css-a4x74f"><span>779</span></td><td id="LC779" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L780" class="css-a4x74f"><span>780</span></td><td id="LC780" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L781" class="css-a4x74f"><span>781</span></td><td id="LC781" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L782" class="css-a4x74f"><span>782</span></td><td id="LC782" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">mergePaddingObject</span>(<span class="code-params">paddingObject</span>) </span>{
+</code></td></tr><tr><td id="L783" class="css-a4x74f"><span>783</span></td><td id="LC783" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, getFreshSideObject(), paddingObject);
+</code></td></tr><tr><td id="L784" class="css-a4x74f"><span>784</span></td><td id="LC784" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L785" class="css-a4x74f"><span>785</span></td><td id="LC785" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L786" class="css-a4x74f"><span>786</span></td><td id="LC786" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">expandToHashMap</span>(<span class="code-params">value, keys</span>) </span>{
+</code></td></tr><tr><td id="L787" class="css-a4x74f"><span>787</span></td><td id="LC787" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> keys.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">hashMap, key</span>) </span>{
+</code></td></tr><tr><td id="L788" class="css-a4x74f"><span>788</span></td><td id="LC788" class="css-1dcdqdg"><code> hashMap[key] = value;
+</code></td></tr><tr><td id="L789" class="css-a4x74f"><span>789</span></td><td id="LC789" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> hashMap;
+</code></td></tr><tr><td id="L790" class="css-a4x74f"><span>790</span></td><td id="LC790" class="css-1dcdqdg"><code> }, {});
+</code></td></tr><tr><td id="L791" class="css-a4x74f"><span>791</span></td><td id="LC791" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L792" class="css-a4x74f"><span>792</span></td><td id="LC792" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L793" class="css-a4x74f"><span>793</span></td><td id="LC793" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">detectOverflow</span>(<span class="code-params">state, options</span>) </span>{
+</code></td></tr><tr><td id="L794" class="css-a4x74f"><span>794</span></td><td id="LC794" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (options === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L795" class="css-a4x74f"><span>795</span></td><td id="LC795" class="css-1dcdqdg"><code> options = {};
+</code></td></tr><tr><td id="L796" class="css-a4x74f"><span>796</span></td><td id="LC796" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L797" class="css-a4x74f"><span>797</span></td><td id="LC797" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L798" class="css-a4x74f"><span>798</span></td><td id="LC798" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options = options,
+</code></td></tr><tr><td id="L799" class="css-a4x74f"><span>799</span></td><td id="LC799" class="css-1dcdqdg"><code> _options$placement = _options.placement,
+</code></td></tr><tr><td id="L800" class="css-a4x74f"><span>800</span></td><td id="LC800" class="css-1dcdqdg"><code> placement = _options$placement === <span class="code-keyword">void</span> <span class="code-number">0</span> ? state.placement : _options$placement,
+</code></td></tr><tr><td id="L801" class="css-a4x74f"><span>801</span></td><td id="LC801" class="css-1dcdqdg"><code> _options$boundary = _options.boundary,
+</code></td></tr><tr><td id="L802" class="css-a4x74f"><span>802</span></td><td id="LC802" class="css-1dcdqdg"><code> boundary = _options$boundary === <span class="code-keyword">void</span> <span class="code-number">0</span> ? clippingParents : _options$boundary,
+</code></td></tr><tr><td id="L803" class="css-a4x74f"><span>803</span></td><td id="LC803" class="css-1dcdqdg"><code> _options$rootBoundary = _options.rootBoundary,
+</code></td></tr><tr><td id="L804" class="css-a4x74f"><span>804</span></td><td id="LC804" class="css-1dcdqdg"><code> rootBoundary = _options$rootBoundary === <span class="code-keyword">void</span> <span class="code-number">0</span> ? viewport : _options$rootBoundary,
+</code></td></tr><tr><td id="L805" class="css-a4x74f"><span>805</span></td><td id="LC805" class="css-1dcdqdg"><code> _options$elementConte = _options.elementContext,
+</code></td></tr><tr><td id="L806" class="css-a4x74f"><span>806</span></td><td id="LC806" class="css-1dcdqdg"><code> elementContext = _options$elementConte === <span class="code-keyword">void</span> <span class="code-number">0</span> ? popper : _options$elementConte,
+</code></td></tr><tr><td id="L807" class="css-a4x74f"><span>807</span></td><td id="LC807" class="css-1dcdqdg"><code> _options$altBoundary = _options.altBoundary,
+</code></td></tr><tr><td id="L808" class="css-a4x74f"><span>808</span></td><td id="LC808" class="css-1dcdqdg"><code> altBoundary = _options$altBoundary === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">false</span> : _options$altBoundary,
+</code></td></tr><tr><td id="L809" class="css-a4x74f"><span>809</span></td><td id="LC809" class="css-1dcdqdg"><code> _options$padding = _options.padding,
+</code></td></tr><tr><td id="L810" class="css-a4x74f"><span>810</span></td><td id="LC810" class="css-1dcdqdg"><code> padding = _options$padding === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-number">0</span> : _options$padding;
+</code></td></tr><tr><td id="L811" class="css-a4x74f"><span>811</span></td><td id="LC811" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> paddingObject = mergePaddingObject(<span class="code-keyword">typeof</span> padding !== <span class="code-string">'number'</span> ? padding : expandToHashMap(padding, basePlacements));
+</code></td></tr><tr><td id="L812" class="css-a4x74f"><span>812</span></td><td id="LC812" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> altContext = elementContext === popper ? reference : popper;
+</code></td></tr><tr><td id="L813" class="css-a4x74f"><span>813</span></td><td id="LC813" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperRect = state.rects.popper;
+</code></td></tr><tr><td id="L814" class="css-a4x74f"><span>814</span></td><td id="LC814" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> element = state.elements[altBoundary ? altContext : elementContext];
+</code></td></tr><tr><td id="L815" class="css-a4x74f"><span>815</span></td><td id="LC815" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
+</code></td></tr><tr><td id="L816" class="css-a4x74f"><span>816</span></td><td id="LC816" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> referenceClientRect = getBoundingClientRect(state.elements.reference);
+</code></td></tr><tr><td id="L817" class="css-a4x74f"><span>817</span></td><td id="LC817" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperOffsets = computeOffsets({
+</code></td></tr><tr><td id="L818" class="css-a4x74f"><span>818</span></td><td id="LC818" class="css-1dcdqdg"><code> reference: referenceClientRect,
+</code></td></tr><tr><td id="L819" class="css-a4x74f"><span>819</span></td><td id="LC819" class="css-1dcdqdg"><code> element: popperRect,
+</code></td></tr><tr><td id="L820" class="css-a4x74f"><span>820</span></td><td id="LC820" class="css-1dcdqdg"><code> strategy: <span class="code-string">'absolute'</span>,
+</code></td></tr><tr><td id="L821" class="css-a4x74f"><span>821</span></td><td id="LC821" class="css-1dcdqdg"><code> placement: placement
+</code></td></tr><tr><td id="L822" class="css-a4x74f"><span>822</span></td><td id="LC822" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L823" class="css-a4x74f"><span>823</span></td><td id="LC823" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperClientRect = rectToClientRect(<span class="code-built_in">Object</span>.assign({}, popperRect, popperOffsets));
+</code></td></tr><tr><td id="L824" class="css-a4x74f"><span>824</span></td><td id="LC824" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; <span class="code-comment">// positive = overflowing the clipping rect</span>
+</code></td></tr><tr><td id="L825" class="css-a4x74f"><span>825</span></td><td id="LC825" class="css-1dcdqdg"><code> <span class="code-comment">// 0 or negative = within the clipping rect</span>
+</code></td></tr><tr><td id="L826" class="css-a4x74f"><span>826</span></td><td id="LC826" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L827" class="css-a4x74f"><span>827</span></td><td id="LC827" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> overflowOffsets = {
+</code></td></tr><tr><td id="L828" class="css-a4x74f"><span>828</span></td><td id="LC828" class="css-1dcdqdg"><code> top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
+</code></td></tr><tr><td id="L829" class="css-a4x74f"><span>829</span></td><td id="LC829" class="css-1dcdqdg"><code> bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
+</code></td></tr><tr><td id="L830" class="css-a4x74f"><span>830</span></td><td id="LC830" class="css-1dcdqdg"><code> left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
+</code></td></tr><tr><td id="L831" class="css-a4x74f"><span>831</span></td><td id="LC831" class="css-1dcdqdg"><code> right: elementClientRect.right - clippingClientRect.right + paddingObject.right
+</code></td></tr><tr><td id="L832" class="css-a4x74f"><span>832</span></td><td id="LC832" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L833" class="css-a4x74f"><span>833</span></td><td id="LC833" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetData = state.modifiersData.offset; <span class="code-comment">// Offsets can be applied only to the popper element</span>
+</code></td></tr><tr><td id="L834" class="css-a4x74f"><span>834</span></td><td id="LC834" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L835" class="css-a4x74f"><span>835</span></td><td id="LC835" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (elementContext === popper &amp;&amp; offsetData) {
+</code></td></tr><tr><td id="L836" class="css-a4x74f"><span>836</span></td><td id="LC836" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offset = offsetData[placement];
+</code></td></tr><tr><td id="L837" class="css-a4x74f"><span>837</span></td><td id="LC837" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(overflowOffsets).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">key</span>) </span>{
+</code></td></tr><tr><td id="L838" class="css-a4x74f"><span>838</span></td><td id="LC838" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> multiply = [right, bottom].indexOf(key) &gt;= <span class="code-number">0</span> ? <span class="code-number">1</span> : <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L839" class="css-a4x74f"><span>839</span></td><td id="LC839" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> axis = [top, bottom].indexOf(key) &gt;= <span class="code-number">0</span> ? <span class="code-string">'y'</span> : <span class="code-string">'x'</span>;
+</code></td></tr><tr><td id="L840" class="css-a4x74f"><span>840</span></td><td id="LC840" class="css-1dcdqdg"><code> overflowOffsets[key] += offset[axis] * multiply;
+</code></td></tr><tr><td id="L841" class="css-a4x74f"><span>841</span></td><td id="LC841" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L842" class="css-a4x74f"><span>842</span></td><td id="LC842" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L843" class="css-a4x74f"><span>843</span></td><td id="LC843" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L844" class="css-a4x74f"><span>844</span></td><td id="LC844" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> overflowOffsets;
+</code></td></tr><tr><td id="L845" class="css-a4x74f"><span>845</span></td><td id="LC845" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L846" class="css-a4x74f"><span>846</span></td><td id="LC846" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L847" class="css-a4x74f"><span>847</span></td><td id="LC847" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> INVALID_ELEMENT_ERROR = <span class="code-string">'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.'</span>;
+</code></td></tr><tr><td id="L848" class="css-a4x74f"><span>848</span></td><td id="LC848" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> INFINITE_LOOP_ERROR = <span class="code-string">'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.'</span>;
+</code></td></tr><tr><td id="L849" class="css-a4x74f"><span>849</span></td><td id="LC849" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> DEFAULT_OPTIONS = {
+</code></td></tr><tr><td id="L850" class="css-a4x74f"><span>850</span></td><td id="LC850" class="css-1dcdqdg"><code> placement: <span class="code-string">'bottom'</span>,
+</code></td></tr><tr><td id="L851" class="css-a4x74f"><span>851</span></td><td id="LC851" class="css-1dcdqdg"><code> modifiers: [],
+</code></td></tr><tr><td id="L852" class="css-a4x74f"><span>852</span></td><td id="LC852" class="css-1dcdqdg"><code> strategy: <span class="code-string">'absolute'</span>
+</code></td></tr><tr><td id="L853" class="css-a4x74f"><span>853</span></td><td id="LC853" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L854" class="css-a4x74f"><span>854</span></td><td id="LC854" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L855" class="css-a4x74f"><span>855</span></td><td id="LC855" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">areValidElements</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L856" class="css-a4x74f"><span>856</span></td><td id="LC856" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> _len = <span class="code-built_in">arguments</span>.length, args = <span class="code-keyword">new</span> <span class="code-built_in">Array</span>(_len), _key = <span class="code-number">0</span>; _key &lt; _len; _key++) {
+</code></td></tr><tr><td id="L857" class="css-a4x74f"><span>857</span></td><td id="LC857" class="css-1dcdqdg"><code> args[_key] = <span class="code-built_in">arguments</span>[_key];
+</code></td></tr><tr><td id="L858" class="css-a4x74f"><span>858</span></td><td id="LC858" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L859" class="css-a4x74f"><span>859</span></td><td id="LC859" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L860" class="css-a4x74f"><span>860</span></td><td id="LC860" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> !args.some(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">element</span>) </span>{
+</code></td></tr><tr><td id="L861" class="css-a4x74f"><span>861</span></td><td id="LC861" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> !(element &amp;&amp; <span class="code-keyword">typeof</span> element.getBoundingClientRect === <span class="code-string">'function'</span>);
+</code></td></tr><tr><td id="L862" class="css-a4x74f"><span>862</span></td><td id="LC862" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L863" class="css-a4x74f"><span>863</span></td><td id="LC863" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L864" class="css-a4x74f"><span>864</span></td><td id="LC864" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L865" class="css-a4x74f"><span>865</span></td><td id="LC865" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">popperGenerator</span>(<span class="code-params">generatorOptions</span>) </span>{
+</code></td></tr><tr><td id="L866" class="css-a4x74f"><span>866</span></td><td id="LC866" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (generatorOptions === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L867" class="css-a4x74f"><span>867</span></td><td id="LC867" class="css-1dcdqdg"><code> generatorOptions = {};
+</code></td></tr><tr><td id="L868" class="css-a4x74f"><span>868</span></td><td id="LC868" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L869" class="css-a4x74f"><span>869</span></td><td id="LC869" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L870" class="css-a4x74f"><span>870</span></td><td id="LC870" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _generatorOptions = generatorOptions,
+</code></td></tr><tr><td id="L871" class="css-a4x74f"><span>871</span></td><td id="LC871" class="css-1dcdqdg"><code> _generatorOptions$def = _generatorOptions.defaultModifiers,
+</code></td></tr><tr><td id="L872" class="css-a4x74f"><span>872</span></td><td id="LC872" class="css-1dcdqdg"><code> defaultModifiers = _generatorOptions$def === <span class="code-keyword">void</span> <span class="code-number">0</span> ? [] : _generatorOptions$def,
+</code></td></tr><tr><td id="L873" class="css-a4x74f"><span>873</span></td><td id="LC873" class="css-1dcdqdg"><code> _generatorOptions$def2 = _generatorOptions.defaultOptions,
+</code></td></tr><tr><td id="L874" class="css-a4x74f"><span>874</span></td><td id="LC874" class="css-1dcdqdg"><code> defaultOptions = _generatorOptions$def2 === <span class="code-keyword">void</span> <span class="code-number">0</span> ? DEFAULT_OPTIONS : _generatorOptions$def2;
+</code></td></tr><tr><td id="L875" class="css-a4x74f"><span>875</span></td><td id="LC875" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">createPopper</span>(<span class="code-params">reference, popper, options</span>) </span>{
+</code></td></tr><tr><td id="L876" class="css-a4x74f"><span>876</span></td><td id="LC876" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (options === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L877" class="css-a4x74f"><span>877</span></td><td id="LC877" class="css-1dcdqdg"><code> options = defaultOptions;
+</code></td></tr><tr><td id="L878" class="css-a4x74f"><span>878</span></td><td id="LC878" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L879" class="css-a4x74f"><span>879</span></td><td id="LC879" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L880" class="css-a4x74f"><span>880</span></td><td id="LC880" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = {
+</code></td></tr><tr><td id="L881" class="css-a4x74f"><span>881</span></td><td id="LC881" class="css-1dcdqdg"><code> placement: <span class="code-string">'bottom'</span>,
+</code></td></tr><tr><td id="L882" class="css-a4x74f"><span>882</span></td><td id="LC882" class="css-1dcdqdg"><code> orderedModifiers: [],
+</code></td></tr><tr><td id="L883" class="css-a4x74f"><span>883</span></td><td id="LC883" class="css-1dcdqdg"><code> options: <span class="code-built_in">Object</span>.assign({}, DEFAULT_OPTIONS, defaultOptions),
+</code></td></tr><tr><td id="L884" class="css-a4x74f"><span>884</span></td><td id="LC884" class="css-1dcdqdg"><code> modifiersData: {},
+</code></td></tr><tr><td id="L885" class="css-a4x74f"><span>885</span></td><td id="LC885" class="css-1dcdqdg"><code> elements: {
+</code></td></tr><tr><td id="L886" class="css-a4x74f"><span>886</span></td><td id="LC886" class="css-1dcdqdg"><code> reference: reference,
+</code></td></tr><tr><td id="L887" class="css-a4x74f"><span>887</span></td><td id="LC887" class="css-1dcdqdg"><code> popper: popper
+</code></td></tr><tr><td id="L888" class="css-a4x74f"><span>888</span></td><td id="LC888" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L889" class="css-a4x74f"><span>889</span></td><td id="LC889" class="css-1dcdqdg"><code> attributes: {},
+</code></td></tr><tr><td id="L890" class="css-a4x74f"><span>890</span></td><td id="LC890" class="css-1dcdqdg"><code> styles: {}
+</code></td></tr><tr><td id="L891" class="css-a4x74f"><span>891</span></td><td id="LC891" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L892" class="css-a4x74f"><span>892</span></td><td id="LC892" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> effectCleanupFns = [];
+</code></td></tr><tr><td id="L893" class="css-a4x74f"><span>893</span></td><td id="LC893" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isDestroyed = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L894" class="css-a4x74f"><span>894</span></td><td id="LC894" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> instance = {
+</code></td></tr><tr><td id="L895" class="css-a4x74f"><span>895</span></td><td id="LC895" class="css-1dcdqdg"><code> state: state,
+</code></td></tr><tr><td id="L896" class="css-a4x74f"><span>896</span></td><td id="LC896" class="css-1dcdqdg"><code> setOptions: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">setOptions</span>(<span class="code-params">setOptionsAction</span>) </span>{
+</code></td></tr><tr><td id="L897" class="css-a4x74f"><span>897</span></td><td id="LC897" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> options = <span class="code-keyword">typeof</span> setOptionsAction === <span class="code-string">'function'</span> ? setOptionsAction(state.options) : setOptionsAction;
+</code></td></tr><tr><td id="L898" class="css-a4x74f"><span>898</span></td><td id="LC898" class="css-1dcdqdg"><code> cleanupModifierEffects();
+</code></td></tr><tr><td id="L899" class="css-a4x74f"><span>899</span></td><td id="LC899" class="css-1dcdqdg"><code> state.options = <span class="code-built_in">Object</span>.assign({}, defaultOptions, state.options, options);
+</code></td></tr><tr><td id="L900" class="css-a4x74f"><span>900</span></td><td id="LC900" class="css-1dcdqdg"><code> state.scrollParents = {
+</code></td></tr><tr><td id="L901" class="css-a4x74f"><span>901</span></td><td id="LC901" class="css-1dcdqdg"><code> reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
+</code></td></tr><tr><td id="L902" class="css-a4x74f"><span>902</span></td><td id="LC902" class="css-1dcdqdg"><code> popper: listScrollParents(popper)
+</code></td></tr><tr><td id="L903" class="css-a4x74f"><span>903</span></td><td id="LC903" class="css-1dcdqdg"><code> }; <span class="code-comment">// Orders the modifiers based on their dependencies and `phase`</span>
+</code></td></tr><tr><td id="L904" class="css-a4x74f"><span>904</span></td><td id="LC904" class="css-1dcdqdg"><code> <span class="code-comment">// properties</span>
+</code></td></tr><tr><td id="L905" class="css-a4x74f"><span>905</span></td><td id="LC905" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L906" class="css-a4x74f"><span>906</span></td><td id="LC906" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); <span class="code-comment">// Strip out disabled modifiers</span>
+</code></td></tr><tr><td id="L907" class="css-a4x74f"><span>907</span></td><td id="LC907" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L908" class="css-a4x74f"><span>908</span></td><td id="LC908" class="css-1dcdqdg"><code> state.orderedModifiers = orderedModifiers.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">m</span>) </span>{
+</code></td></tr><tr><td id="L909" class="css-a4x74f"><span>909</span></td><td id="LC909" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> m.enabled;
+</code></td></tr><tr><td id="L910" class="css-a4x74f"><span>910</span></td><td id="LC910" class="css-1dcdqdg"><code> }); <span class="code-comment">// Validate the provided modifiers so that the consumer will get warned</span>
+</code></td></tr><tr><td id="L911" class="css-a4x74f"><span>911</span></td><td id="LC911" class="css-1dcdqdg"><code> <span class="code-comment">// if one of the modifiers is invalid for any reason</span>
+</code></td></tr><tr><td id="L912" class="css-a4x74f"><span>912</span></td><td id="LC912" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L913" class="css-a4x74f"><span>913</span></td><td id="LC913" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L914" class="css-a4x74f"><span>914</span></td><td id="LC914" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L915" class="css-a4x74f"><span>915</span></td><td id="LC915" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> name = _ref.name;
+</code></td></tr><tr><td id="L916" class="css-a4x74f"><span>916</span></td><td id="LC916" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> name;
+</code></td></tr><tr><td id="L917" class="css-a4x74f"><span>917</span></td><td id="LC917" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L918" class="css-a4x74f"><span>918</span></td><td id="LC918" class="css-1dcdqdg"><code> validateModifiers(modifiers);
+</code></td></tr><tr><td id="L919" class="css-a4x74f"><span>919</span></td><td id="LC919" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L920" class="css-a4x74f"><span>920</span></td><td id="LC920" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getBasePlacement(state.options.placement) === auto) {
+</code></td></tr><tr><td id="L921" class="css-a4x74f"><span>921</span></td><td id="LC921" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> flipModifier = state.orderedModifiers.find(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">_ref2</span>) </span>{
+</code></td></tr><tr><td id="L922" class="css-a4x74f"><span>922</span></td><td id="LC922" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> name = _ref2.name;
+</code></td></tr><tr><td id="L923" class="css-a4x74f"><span>923</span></td><td id="LC923" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> name === <span class="code-string">'flip'</span>;
+</code></td></tr><tr><td id="L924" class="css-a4x74f"><span>924</span></td><td id="LC924" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L925" class="css-a4x74f"><span>925</span></td><td id="LC925" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L926" class="css-a4x74f"><span>926</span></td><td id="LC926" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!flipModifier) {
+</code></td></tr><tr><td id="L927" class="css-a4x74f"><span>927</span></td><td id="LC927" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error([<span class="code-string">'Popper: "auto" placements require the "flip" modifier be'</span>, <span class="code-string">'present and enabled to work.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L928" class="css-a4x74f"><span>928</span></td><td id="LC928" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L929" class="css-a4x74f"><span>929</span></td><td id="LC929" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L930" class="css-a4x74f"><span>930</span></td><td id="LC930" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L931" class="css-a4x74f"><span>931</span></td><td id="LC931" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _getComputedStyle = getComputedStyle(popper),
+</code></td></tr><tr><td id="L932" class="css-a4x74f"><span>932</span></td><td id="LC932" class="css-1dcdqdg"><code> marginTop = _getComputedStyle.marginTop,
+</code></td></tr><tr><td id="L933" class="css-a4x74f"><span>933</span></td><td id="LC933" class="css-1dcdqdg"><code> marginRight = _getComputedStyle.marginRight,
+</code></td></tr><tr><td id="L934" class="css-a4x74f"><span>934</span></td><td id="LC934" class="css-1dcdqdg"><code> marginBottom = _getComputedStyle.marginBottom,
+</code></td></tr><tr><td id="L935" class="css-a4x74f"><span>935</span></td><td id="LC935" class="css-1dcdqdg"><code> marginLeft = _getComputedStyle.marginLeft; <span class="code-comment">// We no longer take into account `margins` on the popper, and it can</span>
+</code></td></tr><tr><td id="L936" class="css-a4x74f"><span>936</span></td><td id="LC936" class="css-1dcdqdg"><code> <span class="code-comment">// cause bugs with positioning, so we'll warn the consumer</span>
+</code></td></tr><tr><td id="L937" class="css-a4x74f"><span>937</span></td><td id="LC937" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L938" class="css-a4x74f"><span>938</span></td><td id="LC938" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L939" class="css-a4x74f"><span>939</span></td><td id="LC939" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> ([marginTop, marginRight, marginBottom, marginLeft].some(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">margin</span>) </span>{
+</code></td></tr><tr><td id="L940" class="css-a4x74f"><span>940</span></td><td id="LC940" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">parseFloat</span>(margin);
+</code></td></tr><tr><td id="L941" class="css-a4x74f"><span>941</span></td><td id="LC941" class="css-1dcdqdg"><code> })) {
+</code></td></tr><tr><td id="L942" class="css-a4x74f"><span>942</span></td><td id="LC942" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.warn([<span class="code-string">'Popper: CSS "margin" styles cannot be used to apply padding'</span>, <span class="code-string">'between the popper and its reference element or boundary.'</span>, <span class="code-string">'To replicate margin, use the `offset` modifier, as well as'</span>, <span class="code-string">'the `padding` option in the `preventOverflow` and `flip`'</span>, <span class="code-string">'modifiers.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L943" class="css-a4x74f"><span>943</span></td><td id="LC943" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L944" class="css-a4x74f"><span>944</span></td><td id="LC944" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L945" class="css-a4x74f"><span>945</span></td><td id="LC945" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L946" class="css-a4x74f"><span>946</span></td><td id="LC946" class="css-1dcdqdg"><code> runModifierEffects();
+</code></td></tr><tr><td id="L947" class="css-a4x74f"><span>947</span></td><td id="LC947" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> instance.update();
+</code></td></tr><tr><td id="L948" class="css-a4x74f"><span>948</span></td><td id="LC948" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L949" class="css-a4x74f"><span>949</span></td><td id="LC949" class="css-1dcdqdg"><code> <span class="code-comment">// Sync update – it will always be executed, even if not necessary. This</span>
+</code></td></tr><tr><td id="L950" class="css-a4x74f"><span>950</span></td><td id="LC950" class="css-1dcdqdg"><code> <span class="code-comment">// is useful for low frequency updates where sync behavior simplifies the</span>
+</code></td></tr><tr><td id="L951" class="css-a4x74f"><span>951</span></td><td id="LC951" class="css-1dcdqdg"><code> <span class="code-comment">// logic.</span>
+</code></td></tr><tr><td id="L952" class="css-a4x74f"><span>952</span></td><td id="LC952" class="css-1dcdqdg"><code> <span class="code-comment">// For high frequency updates (e.g. `resize` and `scroll` events), always</span>
+</code></td></tr><tr><td id="L953" class="css-a4x74f"><span>953</span></td><td id="LC953" class="css-1dcdqdg"><code> <span class="code-comment">// prefer the async Popper#update method</span>
+</code></td></tr><tr><td id="L954" class="css-a4x74f"><span>954</span></td><td id="LC954" class="css-1dcdqdg"><code> forceUpdate: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">forceUpdate</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L955" class="css-a4x74f"><span>955</span></td><td id="LC955" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (isDestroyed) {
+</code></td></tr><tr><td id="L956" class="css-a4x74f"><span>956</span></td><td id="LC956" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L957" class="css-a4x74f"><span>957</span></td><td id="LC957" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L958" class="css-a4x74f"><span>958</span></td><td id="LC958" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L959" class="css-a4x74f"><span>959</span></td><td id="LC959" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _state$elements = state.elements,
+</code></td></tr><tr><td id="L960" class="css-a4x74f"><span>960</span></td><td id="LC960" class="css-1dcdqdg"><code> reference = _state$elements.reference,
+</code></td></tr><tr><td id="L961" class="css-a4x74f"><span>961</span></td><td id="LC961" class="css-1dcdqdg"><code> popper = _state$elements.popper; <span class="code-comment">// Don't proceed if `reference` or `popper` are not valid elements</span>
+</code></td></tr><tr><td id="L962" class="css-a4x74f"><span>962</span></td><td id="LC962" class="css-1dcdqdg"><code> <span class="code-comment">// anymore</span>
+</code></td></tr><tr><td id="L963" class="css-a4x74f"><span>963</span></td><td id="LC963" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L964" class="css-a4x74f"><span>964</span></td><td id="LC964" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!areValidElements(reference, popper)) {
+</code></td></tr><tr><td id="L965" class="css-a4x74f"><span>965</span></td><td id="LC965" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L966" class="css-a4x74f"><span>966</span></td><td id="LC966" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(INVALID_ELEMENT_ERROR);
+</code></td></tr><tr><td id="L967" class="css-a4x74f"><span>967</span></td><td id="LC967" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L968" class="css-a4x74f"><span>968</span></td><td id="LC968" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L969" class="css-a4x74f"><span>969</span></td><td id="LC969" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L970" class="css-a4x74f"><span>970</span></td><td id="LC970" class="css-1dcdqdg"><code> } <span class="code-comment">// Store the reference and popper rects to be read by modifiers</span>
+</code></td></tr><tr><td id="L971" class="css-a4x74f"><span>971</span></td><td id="LC971" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L972" class="css-a4x74f"><span>972</span></td><td id="LC972" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L973" class="css-a4x74f"><span>973</span></td><td id="LC973" class="css-1dcdqdg"><code> state.rects = {
+</code></td></tr><tr><td id="L974" class="css-a4x74f"><span>974</span></td><td id="LC974" class="css-1dcdqdg"><code> reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === <span class="code-string">'fixed'</span>),
+</code></td></tr><tr><td id="L975" class="css-a4x74f"><span>975</span></td><td id="LC975" class="css-1dcdqdg"><code> popper: getLayoutRect(popper)
+</code></td></tr><tr><td id="L976" class="css-a4x74f"><span>976</span></td><td id="LC976" class="css-1dcdqdg"><code> }; <span class="code-comment">// Modifiers have the ability to reset the current update cycle. The</span>
+</code></td></tr><tr><td id="L977" class="css-a4x74f"><span>977</span></td><td id="LC977" class="css-1dcdqdg"><code> <span class="code-comment">// most common use case for this is the `flip` modifier changing the</span>
+</code></td></tr><tr><td id="L978" class="css-a4x74f"><span>978</span></td><td id="LC978" class="css-1dcdqdg"><code> <span class="code-comment">// placement, which then needs to re-run all the modifiers, because the</span>
+</code></td></tr><tr><td id="L979" class="css-a4x74f"><span>979</span></td><td id="LC979" class="css-1dcdqdg"><code> <span class="code-comment">// logic was previously ran for the previous placement and is therefore</span>
+</code></td></tr><tr><td id="L980" class="css-a4x74f"><span>980</span></td><td id="LC980" class="css-1dcdqdg"><code> <span class="code-comment">// stale/incorrect</span>
+</code></td></tr><tr><td id="L981" class="css-a4x74f"><span>981</span></td><td id="LC981" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L982" class="css-a4x74f"><span>982</span></td><td id="LC982" class="css-1dcdqdg"><code> state.reset = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L983" class="css-a4x74f"><span>983</span></td><td id="LC983" class="css-1dcdqdg"><code> state.placement = state.options.placement; <span class="code-comment">// On each update cycle, the `modifiersData` property for each modifier</span>
+</code></td></tr><tr><td id="L984" class="css-a4x74f"><span>984</span></td><td id="LC984" class="css-1dcdqdg"><code> <span class="code-comment">// is filled with the initial data specified by the modifier. This means</span>
+</code></td></tr><tr><td id="L985" class="css-a4x74f"><span>985</span></td><td id="LC985" class="css-1dcdqdg"><code> <span class="code-comment">// it doesn't persist and is fresh on each update.</span>
+</code></td></tr><tr><td id="L986" class="css-a4x74f"><span>986</span></td><td id="LC986" class="css-1dcdqdg"><code> <span class="code-comment">// To ensure persistent data, use `${name}#persistent`</span>
+</code></td></tr><tr><td id="L987" class="css-a4x74f"><span>987</span></td><td id="LC987" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L988" class="css-a4x74f"><span>988</span></td><td id="LC988" class="css-1dcdqdg"><code> state.orderedModifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">modifier</span>) </span>{
+</code></td></tr><tr><td id="L989" class="css-a4x74f"><span>989</span></td><td id="LC989" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> state.modifiersData[modifier.name] = <span class="code-built_in">Object</span>.assign({}, modifier.data);
+</code></td></tr><tr><td id="L990" class="css-a4x74f"><span>990</span></td><td id="LC990" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L991" class="css-a4x74f"><span>991</span></td><td id="LC991" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> __debug_loops__ = <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L992" class="css-a4x74f"><span>992</span></td><td id="LC992" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L993" class="css-a4x74f"><span>993</span></td><td id="LC993" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> index = <span class="code-number">0</span>; index &lt; state.orderedModifiers.length; index++) {
+</code></td></tr><tr><td id="L994" class="css-a4x74f"><span>994</span></td><td id="LC994" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L995" class="css-a4x74f"><span>995</span></td><td id="LC995" class="css-1dcdqdg"><code> __debug_loops__ += <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L996" class="css-a4x74f"><span>996</span></td><td id="LC996" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L997" class="css-a4x74f"><span>997</span></td><td id="LC997" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (__debug_loops__ &gt; <span class="code-number">100</span>) {
+</code></td></tr><tr><td id="L998" class="css-a4x74f"><span>998</span></td><td id="LC998" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(INFINITE_LOOP_ERROR);
+</code></td></tr><tr><td id="L999" class="css-a4x74f"><span>999</span></td><td id="LC999" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L1000" class="css-a4x74f"><span>1000</span></td><td id="LC1000" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1001" class="css-a4x74f"><span>1001</span></td><td id="LC1001" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1002" class="css-a4x74f"><span>1002</span></td><td id="LC1002" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1003" class="css-a4x74f"><span>1003</span></td><td id="LC1003" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.reset === <span class="code-literal">true</span>) {
+</code></td></tr><tr><td id="L1004" class="css-a4x74f"><span>1004</span></td><td id="LC1004" class="css-1dcdqdg"><code> state.reset = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L1005" class="css-a4x74f"><span>1005</span></td><td id="LC1005" class="css-1dcdqdg"><code> index = <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L1006" class="css-a4x74f"><span>1006</span></td><td id="LC1006" class="css-1dcdqdg"><code> <span class="code-keyword">continue</span>;
+</code></td></tr><tr><td id="L1007" class="css-a4x74f"><span>1007</span></td><td id="LC1007" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1008" class="css-a4x74f"><span>1008</span></td><td id="LC1008" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1009" class="css-a4x74f"><span>1009</span></td><td id="LC1009" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _state$orderedModifie = state.orderedModifiers[index],
+</code></td></tr><tr><td id="L1010" class="css-a4x74f"><span>1010</span></td><td id="LC1010" class="css-1dcdqdg"><code> fn = _state$orderedModifie.fn,
+</code></td></tr><tr><td id="L1011" class="css-a4x74f"><span>1011</span></td><td id="LC1011" class="css-1dcdqdg"><code> _state$orderedModifie2 = _state$orderedModifie.options,
+</code></td></tr><tr><td id="L1012" class="css-a4x74f"><span>1012</span></td><td id="LC1012" class="css-1dcdqdg"><code> _options = _state$orderedModifie2 === <span class="code-keyword">void</span> <span class="code-number">0</span> ? {} : _state$orderedModifie2,
+</code></td></tr><tr><td id="L1013" class="css-a4x74f"><span>1013</span></td><td id="LC1013" class="css-1dcdqdg"><code> name = _state$orderedModifie.name;
+</code></td></tr><tr><td id="L1014" class="css-a4x74f"><span>1014</span></td><td id="LC1014" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1015" class="css-a4x74f"><span>1015</span></td><td id="LC1015" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> fn === <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L1016" class="css-a4x74f"><span>1016</span></td><td id="LC1016" class="css-1dcdqdg"><code> state = fn({
+</code></td></tr><tr><td id="L1017" class="css-a4x74f"><span>1017</span></td><td id="LC1017" class="css-1dcdqdg"><code> state: state,
+</code></td></tr><tr><td id="L1018" class="css-a4x74f"><span>1018</span></td><td id="LC1018" class="css-1dcdqdg"><code> options: _options,
+</code></td></tr><tr><td id="L1019" class="css-a4x74f"><span>1019</span></td><td id="LC1019" class="css-1dcdqdg"><code> name: name,
+</code></td></tr><tr><td id="L1020" class="css-a4x74f"><span>1020</span></td><td id="LC1020" class="css-1dcdqdg"><code> instance: instance
+</code></td></tr><tr><td id="L1021" class="css-a4x74f"><span>1021</span></td><td id="LC1021" class="css-1dcdqdg"><code> }) || state;
+</code></td></tr><tr><td id="L1022" class="css-a4x74f"><span>1022</span></td><td id="LC1022" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1023" class="css-a4x74f"><span>1023</span></td><td id="LC1023" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1024" class="css-a4x74f"><span>1024</span></td><td id="LC1024" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L1025" class="css-a4x74f"><span>1025</span></td><td id="LC1025" class="css-1dcdqdg"><code> <span class="code-comment">// Async and optimistically optimized update – it will not be executed if</span>
+</code></td></tr><tr><td id="L1026" class="css-a4x74f"><span>1026</span></td><td id="LC1026" class="css-1dcdqdg"><code> <span class="code-comment">// not necessary (debounced to run at most once-per-tick)</span>
+</code></td></tr><tr><td id="L1027" class="css-a4x74f"><span>1027</span></td><td id="LC1027" class="css-1dcdqdg"><code> update: debounce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1028" class="css-a4x74f"><span>1028</span></td><td id="LC1028" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-keyword">new</span> <span class="code-built_in">Promise</span>(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">resolve</span>) </span>{
+</code></td></tr><tr><td id="L1029" class="css-a4x74f"><span>1029</span></td><td id="LC1029" class="css-1dcdqdg"><code> instance.forceUpdate();
+</code></td></tr><tr><td id="L1030" class="css-a4x74f"><span>1030</span></td><td id="LC1030" class="css-1dcdqdg"><code> resolve(state);
+</code></td></tr><tr><td id="L1031" class="css-a4x74f"><span>1031</span></td><td id="LC1031" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1032" class="css-a4x74f"><span>1032</span></td><td id="LC1032" class="css-1dcdqdg"><code> }),
+</code></td></tr><tr><td id="L1033" class="css-a4x74f"><span>1033</span></td><td id="LC1033" class="css-1dcdqdg"><code> destroy: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">destroy</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1034" class="css-a4x74f"><span>1034</span></td><td id="LC1034" class="css-1dcdqdg"><code> cleanupModifierEffects();
+</code></td></tr><tr><td id="L1035" class="css-a4x74f"><span>1035</span></td><td id="LC1035" class="css-1dcdqdg"><code> isDestroyed = <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L1036" class="css-a4x74f"><span>1036</span></td><td id="LC1036" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1037" class="css-a4x74f"><span>1037</span></td><td id="LC1037" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1038" class="css-a4x74f"><span>1038</span></td><td id="LC1038" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1039" class="css-a4x74f"><span>1039</span></td><td id="LC1039" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!areValidElements(reference, popper)) {
+</code></td></tr><tr><td id="L1040" class="css-a4x74f"><span>1040</span></td><td id="LC1040" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L1041" class="css-a4x74f"><span>1041</span></td><td id="LC1041" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error(INVALID_ELEMENT_ERROR);
+</code></td></tr><tr><td id="L1042" class="css-a4x74f"><span>1042</span></td><td id="LC1042" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1043" class="css-a4x74f"><span>1043</span></td><td id="LC1043" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1044" class="css-a4x74f"><span>1044</span></td><td id="LC1044" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> instance;
+</code></td></tr><tr><td id="L1045" class="css-a4x74f"><span>1045</span></td><td id="LC1045" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1046" class="css-a4x74f"><span>1046</span></td><td id="LC1046" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1047" class="css-a4x74f"><span>1047</span></td><td id="LC1047" class="css-1dcdqdg"><code> instance.setOptions(options).then(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">state</span>) </span>{
+</code></td></tr><tr><td id="L1048" class="css-a4x74f"><span>1048</span></td><td id="LC1048" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isDestroyed &amp;&amp; options.onFirstUpdate) {
+</code></td></tr><tr><td id="L1049" class="css-a4x74f"><span>1049</span></td><td id="LC1049" class="css-1dcdqdg"><code> options.onFirstUpdate(state);
+</code></td></tr><tr><td id="L1050" class="css-a4x74f"><span>1050</span></td><td id="LC1050" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1051" class="css-a4x74f"><span>1051</span></td><td id="LC1051" class="css-1dcdqdg"><code> }); <span class="code-comment">// Modifiers have the ability to execute arbitrary code before the first</span>
+</code></td></tr><tr><td id="L1052" class="css-a4x74f"><span>1052</span></td><td id="LC1052" class="css-1dcdqdg"><code> <span class="code-comment">// update cycle runs. They will be executed in the same order as the update</span>
+</code></td></tr><tr><td id="L1053" class="css-a4x74f"><span>1053</span></td><td id="LC1053" class="css-1dcdqdg"><code> <span class="code-comment">// cycle. This is useful when a modifier adds some persistent data that</span>
+</code></td></tr><tr><td id="L1054" class="css-a4x74f"><span>1054</span></td><td id="LC1054" class="css-1dcdqdg"><code> <span class="code-comment">// other modifiers need to use, but the modifier is run after the dependent</span>
+</code></td></tr><tr><td id="L1055" class="css-a4x74f"><span>1055</span></td><td id="LC1055" class="css-1dcdqdg"><code> <span class="code-comment">// one.</span>
+</code></td></tr><tr><td id="L1056" class="css-a4x74f"><span>1056</span></td><td id="LC1056" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1057" class="css-a4x74f"><span>1057</span></td><td id="LC1057" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">runModifierEffects</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1058" class="css-a4x74f"><span>1058</span></td><td id="LC1058" class="css-1dcdqdg"><code> state.orderedModifiers.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">_ref3</span>) </span>{
+</code></td></tr><tr><td id="L1059" class="css-a4x74f"><span>1059</span></td><td id="LC1059" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> name = _ref3.name,
+</code></td></tr><tr><td id="L1060" class="css-a4x74f"><span>1060</span></td><td id="LC1060" class="css-1dcdqdg"><code> _ref3$options = _ref3.options,
+</code></td></tr><tr><td id="L1061" class="css-a4x74f"><span>1061</span></td><td id="LC1061" class="css-1dcdqdg"><code> options = _ref3$options === <span class="code-keyword">void</span> <span class="code-number">0</span> ? {} : _ref3$options,
+</code></td></tr><tr><td id="L1062" class="css-a4x74f"><span>1062</span></td><td id="LC1062" class="css-1dcdqdg"><code> effect = _ref3.effect;
+</code></td></tr><tr><td id="L1063" class="css-a4x74f"><span>1063</span></td><td id="LC1063" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1064" class="css-a4x74f"><span>1064</span></td><td id="LC1064" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> effect === <span class="code-string">'function'</span>) {
+</code></td></tr><tr><td id="L1065" class="css-a4x74f"><span>1065</span></td><td id="LC1065" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> cleanupFn = effect({
+</code></td></tr><tr><td id="L1066" class="css-a4x74f"><span>1066</span></td><td id="LC1066" class="css-1dcdqdg"><code> state: state,
+</code></td></tr><tr><td id="L1067" class="css-a4x74f"><span>1067</span></td><td id="LC1067" class="css-1dcdqdg"><code> name: name,
+</code></td></tr><tr><td id="L1068" class="css-a4x74f"><span>1068</span></td><td id="LC1068" class="css-1dcdqdg"><code> instance: instance,
+</code></td></tr><tr><td id="L1069" class="css-a4x74f"><span>1069</span></td><td id="LC1069" class="css-1dcdqdg"><code> options: options
+</code></td></tr><tr><td id="L1070" class="css-a4x74f"><span>1070</span></td><td id="LC1070" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1071" class="css-a4x74f"><span>1071</span></td><td id="LC1071" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1072" class="css-a4x74f"><span>1072</span></td><td id="LC1072" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> noopFn = <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">noopFn</span>(<span class="code-params"></span>) </span>{};
+</code></td></tr><tr><td id="L1073" class="css-a4x74f"><span>1073</span></td><td id="LC1073" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1074" class="css-a4x74f"><span>1074</span></td><td id="LC1074" class="css-1dcdqdg"><code> effectCleanupFns.push(cleanupFn || noopFn);
+</code></td></tr><tr><td id="L1075" class="css-a4x74f"><span>1075</span></td><td id="LC1075" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1076" class="css-a4x74f"><span>1076</span></td><td id="LC1076" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1077" class="css-a4x74f"><span>1077</span></td><td id="LC1077" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1078" class="css-a4x74f"><span>1078</span></td><td id="LC1078" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1079" class="css-a4x74f"><span>1079</span></td><td id="LC1079" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">cleanupModifierEffects</span>(<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1080" class="css-a4x74f"><span>1080</span></td><td id="LC1080" class="css-1dcdqdg"><code> effectCleanupFns.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">fn</span>) </span>{
+</code></td></tr><tr><td id="L1081" class="css-a4x74f"><span>1081</span></td><td id="LC1081" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> fn();
+</code></td></tr><tr><td id="L1082" class="css-a4x74f"><span>1082</span></td><td id="LC1082" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1083" class="css-a4x74f"><span>1083</span></td><td id="LC1083" class="css-1dcdqdg"><code> effectCleanupFns = [];
+</code></td></tr><tr><td id="L1084" class="css-a4x74f"><span>1084</span></td><td id="LC1084" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1085" class="css-a4x74f"><span>1085</span></td><td id="LC1085" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1086" class="css-a4x74f"><span>1086</span></td><td id="LC1086" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> instance;
+</code></td></tr><tr><td id="L1087" class="css-a4x74f"><span>1087</span></td><td id="LC1087" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1088" class="css-a4x74f"><span>1088</span></td><td id="LC1088" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1089" class="css-a4x74f"><span>1089</span></td><td id="LC1089" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1090" class="css-a4x74f"><span>1090</span></td><td id="LC1090" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> passive = {
+</code></td></tr><tr><td id="L1091" class="css-a4x74f"><span>1091</span></td><td id="LC1091" class="css-1dcdqdg"><code> passive: <span class="code-literal">true</span>
+</code></td></tr><tr><td id="L1092" class="css-a4x74f"><span>1092</span></td><td id="LC1092" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1093" class="css-a4x74f"><span>1093</span></td><td id="LC1093" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1094" class="css-a4x74f"><span>1094</span></td><td id="LC1094" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">effect$2</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1095" class="css-a4x74f"><span>1095</span></td><td id="LC1095" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state,
+</code></td></tr><tr><td id="L1096" class="css-a4x74f"><span>1096</span></td><td id="LC1096" class="css-1dcdqdg"><code> instance = _ref.instance,
+</code></td></tr><tr><td id="L1097" class="css-a4x74f"><span>1097</span></td><td id="LC1097" class="css-1dcdqdg"><code> options = _ref.options;
+</code></td></tr><tr><td id="L1098" class="css-a4x74f"><span>1098</span></td><td id="LC1098" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options$scroll = options.scroll,
+</code></td></tr><tr><td id="L1099" class="css-a4x74f"><span>1099</span></td><td id="LC1099" class="css-1dcdqdg"><code> scroll = _options$scroll === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$scroll,
+</code></td></tr><tr><td id="L1100" class="css-a4x74f"><span>1100</span></td><td id="LC1100" class="css-1dcdqdg"><code> _options$resize = options.resize,
+</code></td></tr><tr><td id="L1101" class="css-a4x74f"><span>1101</span></td><td id="LC1101" class="css-1dcdqdg"><code> resize = _options$resize === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$resize;
+</code></td></tr><tr><td id="L1102" class="css-a4x74f"><span>1102</span></td><td id="LC1102" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> <span class="code-built_in">window</span> = getWindow(state.elements.popper);
+</code></td></tr><tr><td id="L1103" class="css-a4x74f"><span>1103</span></td><td id="LC1103" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
+</code></td></tr><tr><td id="L1104" class="css-a4x74f"><span>1104</span></td><td id="LC1104" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1105" class="css-a4x74f"><span>1105</span></td><td id="LC1105" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (scroll) {
+</code></td></tr><tr><td id="L1106" class="css-a4x74f"><span>1106</span></td><td id="LC1106" class="css-1dcdqdg"><code> scrollParents.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">scrollParent</span>) </span>{
+</code></td></tr><tr><td id="L1107" class="css-a4x74f"><span>1107</span></td><td id="LC1107" class="css-1dcdqdg"><code> scrollParent.addEventListener(<span class="code-string">'scroll'</span>, instance.update, passive);
+</code></td></tr><tr><td id="L1108" class="css-a4x74f"><span>1108</span></td><td id="LC1108" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1109" class="css-a4x74f"><span>1109</span></td><td id="LC1109" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1110" class="css-a4x74f"><span>1110</span></td><td id="LC1110" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1111" class="css-a4x74f"><span>1111</span></td><td id="LC1111" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (resize) {
+</code></td></tr><tr><td id="L1112" class="css-a4x74f"><span>1112</span></td><td id="LC1112" class="css-1dcdqdg"><code> <span class="code-built_in">window</span>.addEventListener(<span class="code-string">'resize'</span>, instance.update, passive);
+</code></td></tr><tr><td id="L1113" class="css-a4x74f"><span>1113</span></td><td id="LC1113" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1114" class="css-a4x74f"><span>1114</span></td><td id="LC1114" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1115" class="css-a4x74f"><span>1115</span></td><td id="LC1115" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1116" class="css-a4x74f"><span>1116</span></td><td id="LC1116" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (scroll) {
+</code></td></tr><tr><td id="L1117" class="css-a4x74f"><span>1117</span></td><td id="LC1117" class="css-1dcdqdg"><code> scrollParents.forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">scrollParent</span>) </span>{
+</code></td></tr><tr><td id="L1118" class="css-a4x74f"><span>1118</span></td><td id="LC1118" class="css-1dcdqdg"><code> scrollParent.removeEventListener(<span class="code-string">'scroll'</span>, instance.update, passive);
+</code></td></tr><tr><td id="L1119" class="css-a4x74f"><span>1119</span></td><td id="LC1119" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1120" class="css-a4x74f"><span>1120</span></td><td id="LC1120" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1121" class="css-a4x74f"><span>1121</span></td><td id="LC1121" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1122" class="css-a4x74f"><span>1122</span></td><td id="LC1122" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (resize) {
+</code></td></tr><tr><td id="L1123" class="css-a4x74f"><span>1123</span></td><td id="LC1123" class="css-1dcdqdg"><code> <span class="code-built_in">window</span>.removeEventListener(<span class="code-string">'resize'</span>, instance.update, passive);
+</code></td></tr><tr><td id="L1124" class="css-a4x74f"><span>1124</span></td><td id="LC1124" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1125" class="css-a4x74f"><span>1125</span></td><td id="LC1125" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1126" class="css-a4x74f"><span>1126</span></td><td id="LC1126" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1127" class="css-a4x74f"><span>1127</span></td><td id="LC1127" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1128" class="css-a4x74f"><span>1128</span></td><td id="LC1128" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1129" class="css-a4x74f"><span>1129</span></td><td id="LC1129" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> eventListeners = {
+</code></td></tr><tr><td id="L1130" class="css-a4x74f"><span>1130</span></td><td id="LC1130" class="css-1dcdqdg"><code> name: <span class="code-string">'eventListeners'</span>,
+</code></td></tr><tr><td id="L1131" class="css-a4x74f"><span>1131</span></td><td id="LC1131" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1132" class="css-a4x74f"><span>1132</span></td><td id="LC1132" class="css-1dcdqdg"><code> phase: <span class="code-string">'write'</span>,
+</code></td></tr><tr><td id="L1133" class="css-a4x74f"><span>1133</span></td><td id="LC1133" class="css-1dcdqdg"><code> fn: <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">fn</span>(<span class="code-params"></span>) </span>{},
+</code></td></tr><tr><td id="L1134" class="css-a4x74f"><span>1134</span></td><td id="LC1134" class="css-1dcdqdg"><code> effect: effect$<span class="code-number">2</span>,
+</code></td></tr><tr><td id="L1135" class="css-a4x74f"><span>1135</span></td><td id="LC1135" class="css-1dcdqdg"><code> data: {}
+</code></td></tr><tr><td id="L1136" class="css-a4x74f"><span>1136</span></td><td id="LC1136" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1137" class="css-a4x74f"><span>1137</span></td><td id="LC1137" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1138" class="css-a4x74f"><span>1138</span></td><td id="LC1138" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">popperOffsets</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1139" class="css-a4x74f"><span>1139</span></td><td id="LC1139" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state,
+</code></td></tr><tr><td id="L1140" class="css-a4x74f"><span>1140</span></td><td id="LC1140" class="css-1dcdqdg"><code> name = _ref.name;
+</code></td></tr><tr><td id="L1141" class="css-a4x74f"><span>1141</span></td><td id="LC1141" class="css-1dcdqdg"><code> <span class="code-comment">// Offsets are the actual position the popper needs to have to be</span>
+</code></td></tr><tr><td id="L1142" class="css-a4x74f"><span>1142</span></td><td id="LC1142" class="css-1dcdqdg"><code> <span class="code-comment">// properly positioned near its reference element</span>
+</code></td></tr><tr><td id="L1143" class="css-a4x74f"><span>1143</span></td><td id="LC1143" class="css-1dcdqdg"><code> <span class="code-comment">// This is the most basic placement, and will be adjusted by</span>
+</code></td></tr><tr><td id="L1144" class="css-a4x74f"><span>1144</span></td><td id="LC1144" class="css-1dcdqdg"><code> <span class="code-comment">// the modifiers in the next step</span>
+</code></td></tr><tr><td id="L1145" class="css-a4x74f"><span>1145</span></td><td id="LC1145" class="css-1dcdqdg"><code> state.modifiersData[name] = computeOffsets({
+</code></td></tr><tr><td id="L1146" class="css-a4x74f"><span>1146</span></td><td id="LC1146" class="css-1dcdqdg"><code> reference: state.rects.reference,
+</code></td></tr><tr><td id="L1147" class="css-a4x74f"><span>1147</span></td><td id="LC1147" class="css-1dcdqdg"><code> element: state.rects.popper,
+</code></td></tr><tr><td id="L1148" class="css-a4x74f"><span>1148</span></td><td id="LC1148" class="css-1dcdqdg"><code> strategy: <span class="code-string">'absolute'</span>,
+</code></td></tr><tr><td id="L1149" class="css-a4x74f"><span>1149</span></td><td id="LC1149" class="css-1dcdqdg"><code> placement: state.placement
+</code></td></tr><tr><td id="L1150" class="css-a4x74f"><span>1150</span></td><td id="LC1150" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1151" class="css-a4x74f"><span>1151</span></td><td id="LC1151" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1152" class="css-a4x74f"><span>1152</span></td><td id="LC1152" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1153" class="css-a4x74f"><span>1153</span></td><td id="LC1153" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1154" class="css-a4x74f"><span>1154</span></td><td id="LC1154" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperOffsets$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1155" class="css-a4x74f"><span>1155</span></td><td id="LC1155" class="css-1dcdqdg"><code> name: <span class="code-string">'popperOffsets'</span>,
+</code></td></tr><tr><td id="L1156" class="css-a4x74f"><span>1156</span></td><td id="LC1156" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1157" class="css-a4x74f"><span>1157</span></td><td id="LC1157" class="css-1dcdqdg"><code> phase: <span class="code-string">'read'</span>,
+</code></td></tr><tr><td id="L1158" class="css-a4x74f"><span>1158</span></td><td id="LC1158" class="css-1dcdqdg"><code> fn: popperOffsets,
+</code></td></tr><tr><td id="L1159" class="css-a4x74f"><span>1159</span></td><td id="LC1159" class="css-1dcdqdg"><code> data: {}
+</code></td></tr><tr><td id="L1160" class="css-a4x74f"><span>1160</span></td><td id="LC1160" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1161" class="css-a4x74f"><span>1161</span></td><td id="LC1161" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1162" class="css-a4x74f"><span>1162</span></td><td id="LC1162" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> unsetSides = {
+</code></td></tr><tr><td id="L1163" class="css-a4x74f"><span>1163</span></td><td id="LC1163" class="css-1dcdqdg"><code> top: <span class="code-string">'auto'</span>,
+</code></td></tr><tr><td id="L1164" class="css-a4x74f"><span>1164</span></td><td id="LC1164" class="css-1dcdqdg"><code> right: <span class="code-string">'auto'</span>,
+</code></td></tr><tr><td id="L1165" class="css-a4x74f"><span>1165</span></td><td id="LC1165" class="css-1dcdqdg"><code> bottom: <span class="code-string">'auto'</span>,
+</code></td></tr><tr><td id="L1166" class="css-a4x74f"><span>1166</span></td><td id="LC1166" class="css-1dcdqdg"><code> left: <span class="code-string">'auto'</span>
+</code></td></tr><tr><td id="L1167" class="css-a4x74f"><span>1167</span></td><td id="LC1167" class="css-1dcdqdg"><code> }; <span class="code-comment">// Round the offsets to the nearest suitable subpixel based on the DPR.</span>
+</code></td></tr><tr><td id="L1168" class="css-a4x74f"><span>1168</span></td><td id="LC1168" class="css-1dcdqdg"><code> <span class="code-comment">// Zooming can change the DPR, but it seems to report a value that will</span>
+</code></td></tr><tr><td id="L1169" class="css-a4x74f"><span>1169</span></td><td id="LC1169" class="css-1dcdqdg"><code> <span class="code-comment">// cleanly divide the values into the appropriate subpixels.</span>
+</code></td></tr><tr><td id="L1170" class="css-a4x74f"><span>1170</span></td><td id="LC1170" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1171" class="css-a4x74f"><span>1171</span></td><td id="LC1171" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">roundOffsetsByDPR</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1172" class="css-a4x74f"><span>1172</span></td><td id="LC1172" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> x = _ref.x,
+</code></td></tr><tr><td id="L1173" class="css-a4x74f"><span>1173</span></td><td id="LC1173" class="css-1dcdqdg"><code> y = _ref.y;
+</code></td></tr><tr><td id="L1174" class="css-a4x74f"><span>1174</span></td><td id="LC1174" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L1175" class="css-a4x74f"><span>1175</span></td><td id="LC1175" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> dpr = win.devicePixelRatio || <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1176" class="css-a4x74f"><span>1176</span></td><td id="LC1176" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L1177" class="css-a4x74f"><span>1177</span></td><td id="LC1177" class="css-1dcdqdg"><code> x: round(x * dpr) / dpr || <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L1178" class="css-a4x74f"><span>1178</span></td><td id="LC1178" class="css-1dcdqdg"><code> y: round(y * dpr) / dpr || <span class="code-number">0</span>
+</code></td></tr><tr><td id="L1179" class="css-a4x74f"><span>1179</span></td><td id="LC1179" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1180" class="css-a4x74f"><span>1180</span></td><td id="LC1180" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1181" class="css-a4x74f"><span>1181</span></td><td id="LC1181" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1182" class="css-a4x74f"><span>1182</span></td><td id="LC1182" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">mapToStyles</span>(<span class="code-params">_ref2</span>) </span>{
+</code></td></tr><tr><td id="L1183" class="css-a4x74f"><span>1183</span></td><td id="LC1183" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _Object$assign2;
+</code></td></tr><tr><td id="L1184" class="css-a4x74f"><span>1184</span></td><td id="LC1184" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1185" class="css-a4x74f"><span>1185</span></td><td id="LC1185" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popper = _ref2.popper,
+</code></td></tr><tr><td id="L1186" class="css-a4x74f"><span>1186</span></td><td id="LC1186" class="css-1dcdqdg"><code> popperRect = _ref2.popperRect,
+</code></td></tr><tr><td id="L1187" class="css-a4x74f"><span>1187</span></td><td id="LC1187" class="css-1dcdqdg"><code> placement = _ref2.placement,
+</code></td></tr><tr><td id="L1188" class="css-a4x74f"><span>1188</span></td><td id="LC1188" class="css-1dcdqdg"><code> variation = _ref2.variation,
+</code></td></tr><tr><td id="L1189" class="css-a4x74f"><span>1189</span></td><td id="LC1189" class="css-1dcdqdg"><code> offsets = _ref2.offsets,
+</code></td></tr><tr><td id="L1190" class="css-a4x74f"><span>1190</span></td><td id="LC1190" class="css-1dcdqdg"><code> position = _ref2.position,
+</code></td></tr><tr><td id="L1191" class="css-a4x74f"><span>1191</span></td><td id="LC1191" class="css-1dcdqdg"><code> gpuAcceleration = _ref2.gpuAcceleration,
+</code></td></tr><tr><td id="L1192" class="css-a4x74f"><span>1192</span></td><td id="LC1192" class="css-1dcdqdg"><code> adaptive = _ref2.adaptive,
+</code></td></tr><tr><td id="L1193" class="css-a4x74f"><span>1193</span></td><td id="LC1193" class="css-1dcdqdg"><code> roundOffsets = _ref2.roundOffsets,
+</code></td></tr><tr><td id="L1194" class="css-a4x74f"><span>1194</span></td><td id="LC1194" class="css-1dcdqdg"><code> isFixed = _ref2.isFixed;
+</code></td></tr><tr><td id="L1195" class="css-a4x74f"><span>1195</span></td><td id="LC1195" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _offsets$x = offsets.x,
+</code></td></tr><tr><td id="L1196" class="css-a4x74f"><span>1196</span></td><td id="LC1196" class="css-1dcdqdg"><code> x = _offsets$x === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-number">0</span> : _offsets$x,
+</code></td></tr><tr><td id="L1197" class="css-a4x74f"><span>1197</span></td><td id="LC1197" class="css-1dcdqdg"><code> _offsets$y = offsets.y,
+</code></td></tr><tr><td id="L1198" class="css-a4x74f"><span>1198</span></td><td id="LC1198" class="css-1dcdqdg"><code> y = _offsets$y === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-number">0</span> : _offsets$y;
+</code></td></tr><tr><td id="L1199" class="css-a4x74f"><span>1199</span></td><td id="LC1199" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1200" class="css-a4x74f"><span>1200</span></td><td id="LC1200" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _ref3 = <span class="code-keyword">typeof</span> roundOffsets === <span class="code-string">'function'</span> ? roundOffsets({
+</code></td></tr><tr><td id="L1201" class="css-a4x74f"><span>1201</span></td><td id="LC1201" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L1202" class="css-a4x74f"><span>1202</span></td><td id="LC1202" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L1203" class="css-a4x74f"><span>1203</span></td><td id="LC1203" class="css-1dcdqdg"><code> }) : {
+</code></td></tr><tr><td id="L1204" class="css-a4x74f"><span>1204</span></td><td id="LC1204" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L1205" class="css-a4x74f"><span>1205</span></td><td id="LC1205" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L1206" class="css-a4x74f"><span>1206</span></td><td id="LC1206" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1207" class="css-a4x74f"><span>1207</span></td><td id="LC1207" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1208" class="css-a4x74f"><span>1208</span></td><td id="LC1208" class="css-1dcdqdg"><code> x = _ref3.x;
+</code></td></tr><tr><td id="L1209" class="css-a4x74f"><span>1209</span></td><td id="LC1209" class="css-1dcdqdg"><code> y = _ref3.y;
+</code></td></tr><tr><td id="L1210" class="css-a4x74f"><span>1210</span></td><td id="LC1210" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> hasX = offsets.hasOwnProperty(<span class="code-string">'x'</span>);
+</code></td></tr><tr><td id="L1211" class="css-a4x74f"><span>1211</span></td><td id="LC1211" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> hasY = offsets.hasOwnProperty(<span class="code-string">'y'</span>);
+</code></td></tr><tr><td id="L1212" class="css-a4x74f"><span>1212</span></td><td id="LC1212" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> sideX = left;
+</code></td></tr><tr><td id="L1213" class="css-a4x74f"><span>1213</span></td><td id="LC1213" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> sideY = top;
+</code></td></tr><tr><td id="L1214" class="css-a4x74f"><span>1214</span></td><td id="LC1214" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> win = <span class="code-built_in">window</span>;
+</code></td></tr><tr><td id="L1215" class="css-a4x74f"><span>1215</span></td><td id="LC1215" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1216" class="css-a4x74f"><span>1216</span></td><td id="LC1216" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (adaptive) {
+</code></td></tr><tr><td id="L1217" class="css-a4x74f"><span>1217</span></td><td id="LC1217" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetParent = getOffsetParent(popper);
+</code></td></tr><tr><td id="L1218" class="css-a4x74f"><span>1218</span></td><td id="LC1218" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> heightProp = <span class="code-string">'clientHeight'</span>;
+</code></td></tr><tr><td id="L1219" class="css-a4x74f"><span>1219</span></td><td id="LC1219" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> widthProp = <span class="code-string">'clientWidth'</span>;
+</code></td></tr><tr><td id="L1220" class="css-a4x74f"><span>1220</span></td><td id="LC1220" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1221" class="css-a4x74f"><span>1221</span></td><td id="LC1221" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (offsetParent === getWindow(popper)) {
+</code></td></tr><tr><td id="L1222" class="css-a4x74f"><span>1222</span></td><td id="LC1222" class="css-1dcdqdg"><code> offsetParent = getDocumentElement(popper);
+</code></td></tr><tr><td id="L1223" class="css-a4x74f"><span>1223</span></td><td id="LC1223" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1224" class="css-a4x74f"><span>1224</span></td><td id="LC1224" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getComputedStyle(offsetParent).position !== <span class="code-string">'static'</span> &amp;&amp; position === <span class="code-string">'absolute'</span>) {
+</code></td></tr><tr><td id="L1225" class="css-a4x74f"><span>1225</span></td><td id="LC1225" class="css-1dcdqdg"><code> heightProp = <span class="code-string">'scrollHeight'</span>;
+</code></td></tr><tr><td id="L1226" class="css-a4x74f"><span>1226</span></td><td id="LC1226" class="css-1dcdqdg"><code> widthProp = <span class="code-string">'scrollWidth'</span>;
+</code></td></tr><tr><td id="L1227" class="css-a4x74f"><span>1227</span></td><td id="LC1227" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1228" class="css-a4x74f"><span>1228</span></td><td id="LC1228" class="css-1dcdqdg"><code> } <span class="code-comment">// $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it</span>
+</code></td></tr><tr><td id="L1229" class="css-a4x74f"><span>1229</span></td><td id="LC1229" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1230" class="css-a4x74f"><span>1230</span></td><td id="LC1230" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1231" class="css-a4x74f"><span>1231</span></td><td id="LC1231" class="css-1dcdqdg"><code> offsetParent = offsetParent;
+</code></td></tr><tr><td id="L1232" class="css-a4x74f"><span>1232</span></td><td id="LC1232" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1233" class="css-a4x74f"><span>1233</span></td><td id="LC1233" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (placement === top || (placement === left || placement === right) &amp;&amp; variation === end) {
+</code></td></tr><tr><td id="L1234" class="css-a4x74f"><span>1234</span></td><td id="LC1234" class="css-1dcdqdg"><code> sideY = bottom;
+</code></td></tr><tr><td id="L1235" class="css-a4x74f"><span>1235</span></td><td id="LC1235" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetY = isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport ? win.visualViewport.height : <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L1236" class="css-a4x74f"><span>1236</span></td><td id="LC1236" class="css-1dcdqdg"><code> offsetParent[heightProp];
+</code></td></tr><tr><td id="L1237" class="css-a4x74f"><span>1237</span></td><td id="LC1237" class="css-1dcdqdg"><code> y -= offsetY - popperRect.height;
+</code></td></tr><tr><td id="L1238" class="css-a4x74f"><span>1238</span></td><td id="LC1238" class="css-1dcdqdg"><code> y *= gpuAcceleration ? <span class="code-number">1</span> : <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L1239" class="css-a4x74f"><span>1239</span></td><td id="LC1239" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1240" class="css-a4x74f"><span>1240</span></td><td id="LC1240" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1241" class="css-a4x74f"><span>1241</span></td><td id="LC1241" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (placement === left || (placement === top || placement === bottom) &amp;&amp; variation === end) {
+</code></td></tr><tr><td id="L1242" class="css-a4x74f"><span>1242</span></td><td id="LC1242" class="css-1dcdqdg"><code> sideX = right;
+</code></td></tr><tr><td id="L1243" class="css-a4x74f"><span>1243</span></td><td id="LC1243" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetX = isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport ? win.visualViewport.width : <span class="code-comment">// $FlowFixMe[prop-missing]</span>
+</code></td></tr><tr><td id="L1244" class="css-a4x74f"><span>1244</span></td><td id="LC1244" class="css-1dcdqdg"><code> offsetParent[widthProp];
+</code></td></tr><tr><td id="L1245" class="css-a4x74f"><span>1245</span></td><td id="LC1245" class="css-1dcdqdg"><code> x -= offsetX - popperRect.width;
+</code></td></tr><tr><td id="L1246" class="css-a4x74f"><span>1246</span></td><td id="LC1246" class="css-1dcdqdg"><code> x *= gpuAcceleration ? <span class="code-number">1</span> : <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L1247" class="css-a4x74f"><span>1247</span></td><td id="LC1247" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1248" class="css-a4x74f"><span>1248</span></td><td id="LC1248" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1249" class="css-a4x74f"><span>1249</span></td><td id="LC1249" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1250" class="css-a4x74f"><span>1250</span></td><td id="LC1250" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonStyles = <span class="code-built_in">Object</span>.assign({
+</code></td></tr><tr><td id="L1251" class="css-a4x74f"><span>1251</span></td><td id="LC1251" class="css-1dcdqdg"><code> position: position
+</code></td></tr><tr><td id="L1252" class="css-a4x74f"><span>1252</span></td><td id="LC1252" class="css-1dcdqdg"><code> }, adaptive &amp;&amp; unsetSides);
+</code></td></tr><tr><td id="L1253" class="css-a4x74f"><span>1253</span></td><td id="LC1253" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1254" class="css-a4x74f"><span>1254</span></td><td id="LC1254" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _ref4 = roundOffsets === <span class="code-literal">true</span> ? roundOffsetsByDPR({
+</code></td></tr><tr><td id="L1255" class="css-a4x74f"><span>1255</span></td><td id="LC1255" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L1256" class="css-a4x74f"><span>1256</span></td><td id="LC1256" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L1257" class="css-a4x74f"><span>1257</span></td><td id="LC1257" class="css-1dcdqdg"><code> }) : {
+</code></td></tr><tr><td id="L1258" class="css-a4x74f"><span>1258</span></td><td id="LC1258" class="css-1dcdqdg"><code> x: x,
+</code></td></tr><tr><td id="L1259" class="css-a4x74f"><span>1259</span></td><td id="LC1259" class="css-1dcdqdg"><code> y: y
+</code></td></tr><tr><td id="L1260" class="css-a4x74f"><span>1260</span></td><td id="LC1260" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1261" class="css-a4x74f"><span>1261</span></td><td id="LC1261" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1262" class="css-a4x74f"><span>1262</span></td><td id="LC1262" class="css-1dcdqdg"><code> x = _ref4.x;
+</code></td></tr><tr><td id="L1263" class="css-a4x74f"><span>1263</span></td><td id="LC1263" class="css-1dcdqdg"><code> y = _ref4.y;
+</code></td></tr><tr><td id="L1264" class="css-a4x74f"><span>1264</span></td><td id="LC1264" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1265" class="css-a4x74f"><span>1265</span></td><td id="LC1265" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (gpuAcceleration) {
+</code></td></tr><tr><td id="L1266" class="css-a4x74f"><span>1266</span></td><td id="LC1266" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _Object$assign;
+</code></td></tr><tr><td id="L1267" class="css-a4x74f"><span>1267</span></td><td id="LC1267" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1268" class="css-a4x74f"><span>1268</span></td><td id="LC1268" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? <span class="code-string">'0'</span> : <span class="code-string">''</span>, _Object$assign[sideX] = hasX ? <span class="code-string">'0'</span> : <span class="code-string">''</span>, _Object$assign.transform = (win.devicePixelRatio || <span class="code-number">1</span>) &lt;= <span class="code-number">1</span> ? <span class="code-string">"translate("</span> + x + <span class="code-string">"px, "</span> + y + <span class="code-string">"px)"</span> : <span class="code-string">"translate3d("</span> + x + <span class="code-string">"px, "</span> + y + <span class="code-string">"px, 0)"</span>, _Object$assign));
+</code></td></tr><tr><td id="L1269" class="css-a4x74f"><span>1269</span></td><td id="LC1269" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1270" class="css-a4x74f"><span>1270</span></td><td id="LC1270" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1271" class="css-a4x74f"><span>1271</span></td><td id="LC1271" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + <span class="code-string">"px"</span> : <span class="code-string">''</span>, _Object$assign2[sideX] = hasX ? x + <span class="code-string">"px"</span> : <span class="code-string">''</span>, _Object$assign2.transform = <span class="code-string">''</span>, _Object$assign2));
+</code></td></tr><tr><td id="L1272" class="css-a4x74f"><span>1272</span></td><td id="LC1272" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1273" class="css-a4x74f"><span>1273</span></td><td id="LC1273" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1274" class="css-a4x74f"><span>1274</span></td><td id="LC1274" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">computeStyles</span>(<span class="code-params">_ref5</span>) </span>{
+</code></td></tr><tr><td id="L1275" class="css-a4x74f"><span>1275</span></td><td id="LC1275" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref5.state,
+</code></td></tr><tr><td id="L1276" class="css-a4x74f"><span>1276</span></td><td id="LC1276" class="css-1dcdqdg"><code> options = _ref5.options;
+</code></td></tr><tr><td id="L1277" class="css-a4x74f"><span>1277</span></td><td id="LC1277" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options$gpuAccelerat = options.gpuAcceleration,
+</code></td></tr><tr><td id="L1278" class="css-a4x74f"><span>1278</span></td><td id="LC1278" class="css-1dcdqdg"><code> gpuAcceleration = _options$gpuAccelerat === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$gpuAccelerat,
+</code></td></tr><tr><td id="L1279" class="css-a4x74f"><span>1279</span></td><td id="LC1279" class="css-1dcdqdg"><code> _options$adaptive = options.adaptive,
+</code></td></tr><tr><td id="L1280" class="css-a4x74f"><span>1280</span></td><td id="LC1280" class="css-1dcdqdg"><code> adaptive = _options$adaptive === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$adaptive,
+</code></td></tr><tr><td id="L1281" class="css-a4x74f"><span>1281</span></td><td id="LC1281" class="css-1dcdqdg"><code> _options$roundOffsets = options.roundOffsets,
+</code></td></tr><tr><td id="L1282" class="css-a4x74f"><span>1282</span></td><td id="LC1282" class="css-1dcdqdg"><code> roundOffsets = _options$roundOffsets === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$roundOffsets;
+</code></td></tr><tr><td id="L1283" class="css-a4x74f"><span>1283</span></td><td id="LC1283" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1284" class="css-a4x74f"><span>1284</span></td><td id="LC1284" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L1285" class="css-a4x74f"><span>1285</span></td><td id="LC1285" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || <span class="code-string">''</span>;
+</code></td></tr><tr><td id="L1286" class="css-a4x74f"><span>1286</span></td><td id="LC1286" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1287" class="css-a4x74f"><span>1287</span></td><td id="LC1287" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (adaptive &amp;&amp; [<span class="code-string">'transform'</span>, <span class="code-string">'top'</span>, <span class="code-string">'right'</span>, <span class="code-string">'bottom'</span>, <span class="code-string">'left'</span>].some(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">property</span>) </span>{
+</code></td></tr><tr><td id="L1288" class="css-a4x74f"><span>1288</span></td><td id="LC1288" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> transitionProperty.indexOf(property) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1289" class="css-a4x74f"><span>1289</span></td><td id="LC1289" class="css-1dcdqdg"><code> })) {
+</code></td></tr><tr><td id="L1290" class="css-a4x74f"><span>1290</span></td><td id="LC1290" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.warn([<span class="code-string">'Popper: Detected CSS transitions on at least one of the following'</span>, <span class="code-string">'CSS properties: "transform", "top", "right", "bottom", "left".'</span>, <span class="code-string">'\n\n'</span>, <span class="code-string">'Disable the "computeStyles" modifier\'s `adaptive` option to allow'</span>, <span class="code-string">'for smooth transitions, or remove these properties from the CSS'</span>, <span class="code-string">'transition declaration on the popper element if only transitioning'</span>, <span class="code-string">'opacity or background-color for example.'</span>, <span class="code-string">'\n\n'</span>, <span class="code-string">'We recommend using the popper element as a wrapper around an inner'</span>, <span class="code-string">'element that can have any CSS property transitioned for animations.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L1291" class="css-a4x74f"><span>1291</span></td><td id="LC1291" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1292" class="css-a4x74f"><span>1292</span></td><td id="LC1292" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1293" class="css-a4x74f"><span>1293</span></td><td id="LC1293" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1294" class="css-a4x74f"><span>1294</span></td><td id="LC1294" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> commonStyles = {
+</code></td></tr><tr><td id="L1295" class="css-a4x74f"><span>1295</span></td><td id="LC1295" class="css-1dcdqdg"><code> placement: getBasePlacement(state.placement),
+</code></td></tr><tr><td id="L1296" class="css-a4x74f"><span>1296</span></td><td id="LC1296" class="css-1dcdqdg"><code> variation: getVariation(state.placement),
+</code></td></tr><tr><td id="L1297" class="css-a4x74f"><span>1297</span></td><td id="LC1297" class="css-1dcdqdg"><code> popper: state.elements.popper,
+</code></td></tr><tr><td id="L1298" class="css-a4x74f"><span>1298</span></td><td id="LC1298" class="css-1dcdqdg"><code> popperRect: state.rects.popper,
+</code></td></tr><tr><td id="L1299" class="css-a4x74f"><span>1299</span></td><td id="LC1299" class="css-1dcdqdg"><code> gpuAcceleration: gpuAcceleration,
+</code></td></tr><tr><td id="L1300" class="css-a4x74f"><span>1300</span></td><td id="LC1300" class="css-1dcdqdg"><code> isFixed: state.options.strategy === <span class="code-string">'fixed'</span>
+</code></td></tr><tr><td id="L1301" class="css-a4x74f"><span>1301</span></td><td id="LC1301" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1302" class="css-a4x74f"><span>1302</span></td><td id="LC1302" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1303" class="css-a4x74f"><span>1303</span></td><td id="LC1303" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.modifiersData.popperOffsets != <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L1304" class="css-a4x74f"><span>1304</span></td><td id="LC1304" class="css-1dcdqdg"><code> state.styles.popper = <span class="code-built_in">Object</span>.assign({}, state.styles.popper, mapToStyles(<span class="code-built_in">Object</span>.assign({}, commonStyles, {
+</code></td></tr><tr><td id="L1305" class="css-a4x74f"><span>1305</span></td><td id="LC1305" class="css-1dcdqdg"><code> offsets: state.modifiersData.popperOffsets,
+</code></td></tr><tr><td id="L1306" class="css-a4x74f"><span>1306</span></td><td id="LC1306" class="css-1dcdqdg"><code> position: state.options.strategy,
+</code></td></tr><tr><td id="L1307" class="css-a4x74f"><span>1307</span></td><td id="LC1307" class="css-1dcdqdg"><code> adaptive: adaptive,
+</code></td></tr><tr><td id="L1308" class="css-a4x74f"><span>1308</span></td><td id="LC1308" class="css-1dcdqdg"><code> roundOffsets: roundOffsets
+</code></td></tr><tr><td id="L1309" class="css-a4x74f"><span>1309</span></td><td id="LC1309" class="css-1dcdqdg"><code> })));
+</code></td></tr><tr><td id="L1310" class="css-a4x74f"><span>1310</span></td><td id="LC1310" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1311" class="css-a4x74f"><span>1311</span></td><td id="LC1311" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1312" class="css-a4x74f"><span>1312</span></td><td id="LC1312" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.modifiersData.arrow != <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L1313" class="css-a4x74f"><span>1313</span></td><td id="LC1313" class="css-1dcdqdg"><code> state.styles.arrow = <span class="code-built_in">Object</span>.assign({}, state.styles.arrow, mapToStyles(<span class="code-built_in">Object</span>.assign({}, commonStyles, {
+</code></td></tr><tr><td id="L1314" class="css-a4x74f"><span>1314</span></td><td id="LC1314" class="css-1dcdqdg"><code> offsets: state.modifiersData.arrow,
+</code></td></tr><tr><td id="L1315" class="css-a4x74f"><span>1315</span></td><td id="LC1315" class="css-1dcdqdg"><code> position: <span class="code-string">'absolute'</span>,
+</code></td></tr><tr><td id="L1316" class="css-a4x74f"><span>1316</span></td><td id="LC1316" class="css-1dcdqdg"><code> adaptive: <span class="code-literal">false</span>,
+</code></td></tr><tr><td id="L1317" class="css-a4x74f"><span>1317</span></td><td id="LC1317" class="css-1dcdqdg"><code> roundOffsets: roundOffsets
+</code></td></tr><tr><td id="L1318" class="css-a4x74f"><span>1318</span></td><td id="LC1318" class="css-1dcdqdg"><code> })));
+</code></td></tr><tr><td id="L1319" class="css-a4x74f"><span>1319</span></td><td id="LC1319" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1320" class="css-a4x74f"><span>1320</span></td><td id="LC1320" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1321" class="css-a4x74f"><span>1321</span></td><td id="LC1321" class="css-1dcdqdg"><code> state.attributes.popper = <span class="code-built_in">Object</span>.assign({}, state.attributes.popper, {
+</code></td></tr><tr><td id="L1322" class="css-a4x74f"><span>1322</span></td><td id="LC1322" class="css-1dcdqdg"><code> <span class="code-string">'data-popper-placement'</span>: state.placement
+</code></td></tr><tr><td id="L1323" class="css-a4x74f"><span>1323</span></td><td id="LC1323" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1324" class="css-a4x74f"><span>1324</span></td><td id="LC1324" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1325" class="css-a4x74f"><span>1325</span></td><td id="LC1325" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1326" class="css-a4x74f"><span>1326</span></td><td id="LC1326" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1327" class="css-a4x74f"><span>1327</span></td><td id="LC1327" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> computeStyles$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1328" class="css-a4x74f"><span>1328</span></td><td id="LC1328" class="css-1dcdqdg"><code> name: <span class="code-string">'computeStyles'</span>,
+</code></td></tr><tr><td id="L1329" class="css-a4x74f"><span>1329</span></td><td id="LC1329" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1330" class="css-a4x74f"><span>1330</span></td><td id="LC1330" class="css-1dcdqdg"><code> phase: <span class="code-string">'beforeWrite'</span>,
+</code></td></tr><tr><td id="L1331" class="css-a4x74f"><span>1331</span></td><td id="LC1331" class="css-1dcdqdg"><code> fn: computeStyles,
+</code></td></tr><tr><td id="L1332" class="css-a4x74f"><span>1332</span></td><td id="LC1332" class="css-1dcdqdg"><code> data: {}
+</code></td></tr><tr><td id="L1333" class="css-a4x74f"><span>1333</span></td><td id="LC1333" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1334" class="css-a4x74f"><span>1334</span></td><td id="LC1334" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1335" class="css-a4x74f"><span>1335</span></td><td id="LC1335" class="css-1dcdqdg"><code> <span class="code-comment">// and applies them to the HTMLElements such as popper and arrow</span>
+</code></td></tr><tr><td id="L1336" class="css-a4x74f"><span>1336</span></td><td id="LC1336" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1337" class="css-a4x74f"><span>1337</span></td><td id="LC1337" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">applyStyles</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1338" class="css-a4x74f"><span>1338</span></td><td id="LC1338" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state;
+</code></td></tr><tr><td id="L1339" class="css-a4x74f"><span>1339</span></td><td id="LC1339" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(state.elements).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">name</span>) </span>{
+</code></td></tr><tr><td id="L1340" class="css-a4x74f"><span>1340</span></td><td id="LC1340" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> style = state.styles[name] || {};
+</code></td></tr><tr><td id="L1341" class="css-a4x74f"><span>1341</span></td><td id="LC1341" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> attributes = state.attributes[name] || {};
+</code></td></tr><tr><td id="L1342" class="css-a4x74f"><span>1342</span></td><td id="LC1342" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> element = state.elements[name]; <span class="code-comment">// arrow is optional + virtual elements</span>
+</code></td></tr><tr><td id="L1343" class="css-a4x74f"><span>1343</span></td><td id="LC1343" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1344" class="css-a4x74f"><span>1344</span></td><td id="LC1344" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isHTMLElement(element) || !getNodeName(element)) {
+</code></td></tr><tr><td id="L1345" class="css-a4x74f"><span>1345</span></td><td id="LC1345" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1346" class="css-a4x74f"><span>1346</span></td><td id="LC1346" class="css-1dcdqdg"><code> } <span class="code-comment">// Flow doesn't support to extend this property, but it's the most</span>
+</code></td></tr><tr><td id="L1347" class="css-a4x74f"><span>1347</span></td><td id="LC1347" class="css-1dcdqdg"><code> <span class="code-comment">// effective way to apply styles to an HTMLElement</span>
+</code></td></tr><tr><td id="L1348" class="css-a4x74f"><span>1348</span></td><td id="LC1348" class="css-1dcdqdg"><code> <span class="code-comment">// $FlowFixMe[cannot-write]</span>
+</code></td></tr><tr><td id="L1349" class="css-a4x74f"><span>1349</span></td><td id="LC1349" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1350" class="css-a4x74f"><span>1350</span></td><td id="LC1350" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1351" class="css-a4x74f"><span>1351</span></td><td id="LC1351" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.assign(element.style, style);
+</code></td></tr><tr><td id="L1352" class="css-a4x74f"><span>1352</span></td><td id="LC1352" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(attributes).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">name</span>) </span>{
+</code></td></tr><tr><td id="L1353" class="css-a4x74f"><span>1353</span></td><td id="LC1353" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> value = attributes[name];
+</code></td></tr><tr><td id="L1354" class="css-a4x74f"><span>1354</span></td><td id="LC1354" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1355" class="css-a4x74f"><span>1355</span></td><td id="LC1355" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (value === <span class="code-literal">false</span>) {
+</code></td></tr><tr><td id="L1356" class="css-a4x74f"><span>1356</span></td><td id="LC1356" class="css-1dcdqdg"><code> element.removeAttribute(name);
+</code></td></tr><tr><td id="L1357" class="css-a4x74f"><span>1357</span></td><td id="LC1357" class="css-1dcdqdg"><code> } <span class="code-keyword">else</span> {
+</code></td></tr><tr><td id="L1358" class="css-a4x74f"><span>1358</span></td><td id="LC1358" class="css-1dcdqdg"><code> element.setAttribute(name, value === <span class="code-literal">true</span> ? <span class="code-string">''</span> : value);
+</code></td></tr><tr><td id="L1359" class="css-a4x74f"><span>1359</span></td><td id="LC1359" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1360" class="css-a4x74f"><span>1360</span></td><td id="LC1360" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1361" class="css-a4x74f"><span>1361</span></td><td id="LC1361" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1362" class="css-a4x74f"><span>1362</span></td><td id="LC1362" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1363" class="css-a4x74f"><span>1363</span></td><td id="LC1363" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1364" class="css-a4x74f"><span>1364</span></td><td id="LC1364" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">effect$1</span>(<span class="code-params">_ref2</span>) </span>{
+</code></td></tr><tr><td id="L1365" class="css-a4x74f"><span>1365</span></td><td id="LC1365" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref2.state;
+</code></td></tr><tr><td id="L1366" class="css-a4x74f"><span>1366</span></td><td id="LC1366" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> initialStyles = {
+</code></td></tr><tr><td id="L1367" class="css-a4x74f"><span>1367</span></td><td id="LC1367" class="css-1dcdqdg"><code> popper: {
+</code></td></tr><tr><td id="L1368" class="css-a4x74f"><span>1368</span></td><td id="LC1368" class="css-1dcdqdg"><code> position: state.options.strategy,
+</code></td></tr><tr><td id="L1369" class="css-a4x74f"><span>1369</span></td><td id="LC1369" class="css-1dcdqdg"><code> left: <span class="code-string">'0'</span>,
+</code></td></tr><tr><td id="L1370" class="css-a4x74f"><span>1370</span></td><td id="LC1370" class="css-1dcdqdg"><code> top: <span class="code-string">'0'</span>,
+</code></td></tr><tr><td id="L1371" class="css-a4x74f"><span>1371</span></td><td id="LC1371" class="css-1dcdqdg"><code> margin: <span class="code-string">'0'</span>
+</code></td></tr><tr><td id="L1372" class="css-a4x74f"><span>1372</span></td><td id="LC1372" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L1373" class="css-a4x74f"><span>1373</span></td><td id="LC1373" class="css-1dcdqdg"><code> arrow: {
+</code></td></tr><tr><td id="L1374" class="css-a4x74f"><span>1374</span></td><td id="LC1374" class="css-1dcdqdg"><code> position: <span class="code-string">'absolute'</span>
+</code></td></tr><tr><td id="L1375" class="css-a4x74f"><span>1375</span></td><td id="LC1375" class="css-1dcdqdg"><code> },
+</code></td></tr><tr><td id="L1376" class="css-a4x74f"><span>1376</span></td><td id="LC1376" class="css-1dcdqdg"><code> reference: {}
+</code></td></tr><tr><td id="L1377" class="css-a4x74f"><span>1377</span></td><td id="LC1377" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1378" class="css-a4x74f"><span>1378</span></td><td id="LC1378" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.assign(state.elements.popper.style, initialStyles.popper);
+</code></td></tr><tr><td id="L1379" class="css-a4x74f"><span>1379</span></td><td id="LC1379" class="css-1dcdqdg"><code> state.styles = initialStyles;
+</code></td></tr><tr><td id="L1380" class="css-a4x74f"><span>1380</span></td><td id="LC1380" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1381" class="css-a4x74f"><span>1381</span></td><td id="LC1381" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.elements.arrow) {
+</code></td></tr><tr><td id="L1382" class="css-a4x74f"><span>1382</span></td><td id="LC1382" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.assign(state.elements.arrow.style, initialStyles.arrow);
+</code></td></tr><tr><td id="L1383" class="css-a4x74f"><span>1383</span></td><td id="LC1383" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1384" class="css-a4x74f"><span>1384</span></td><td id="LC1384" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1385" class="css-a4x74f"><span>1385</span></td><td id="LC1385" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params"></span>) </span>{
+</code></td></tr><tr><td id="L1386" class="css-a4x74f"><span>1386</span></td><td id="LC1386" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(state.elements).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">name</span>) </span>{
+</code></td></tr><tr><td id="L1387" class="css-a4x74f"><span>1387</span></td><td id="LC1387" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> element = state.elements[name];
+</code></td></tr><tr><td id="L1388" class="css-a4x74f"><span>1388</span></td><td id="LC1388" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> attributes = state.attributes[name] || {};
+</code></td></tr><tr><td id="L1389" class="css-a4x74f"><span>1389</span></td><td id="LC1389" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> styleProperties = <span class="code-built_in">Object</span>.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); <span class="code-comment">// Set all values to an empty string to unset them</span>
+</code></td></tr><tr><td id="L1390" class="css-a4x74f"><span>1390</span></td><td id="LC1390" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1391" class="css-a4x74f"><span>1391</span></td><td id="LC1391" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> style = styleProperties.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">style, property</span>) </span>{
+</code></td></tr><tr><td id="L1392" class="css-a4x74f"><span>1392</span></td><td id="LC1392" class="css-1dcdqdg"><code> style[property] = <span class="code-string">''</span>;
+</code></td></tr><tr><td id="L1393" class="css-a4x74f"><span>1393</span></td><td id="LC1393" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> style;
+</code></td></tr><tr><td id="L1394" class="css-a4x74f"><span>1394</span></td><td id="LC1394" class="css-1dcdqdg"><code> }, {}); <span class="code-comment">// arrow is optional + virtual elements</span>
+</code></td></tr><tr><td id="L1395" class="css-a4x74f"><span>1395</span></td><td id="LC1395" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1396" class="css-a4x74f"><span>1396</span></td><td id="LC1396" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isHTMLElement(element) || !getNodeName(element)) {
+</code></td></tr><tr><td id="L1397" class="css-a4x74f"><span>1397</span></td><td id="LC1397" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1398" class="css-a4x74f"><span>1398</span></td><td id="LC1398" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1399" class="css-a4x74f"><span>1399</span></td><td id="LC1399" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1400" class="css-a4x74f"><span>1400</span></td><td id="LC1400" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.assign(element.style, style);
+</code></td></tr><tr><td id="L1401" class="css-a4x74f"><span>1401</span></td><td id="LC1401" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.keys(attributes).forEach(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">attribute</span>) </span>{
+</code></td></tr><tr><td id="L1402" class="css-a4x74f"><span>1402</span></td><td id="LC1402" class="css-1dcdqdg"><code> element.removeAttribute(attribute);
+</code></td></tr><tr><td id="L1403" class="css-a4x74f"><span>1403</span></td><td id="LC1403" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1404" class="css-a4x74f"><span>1404</span></td><td id="LC1404" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1405" class="css-a4x74f"><span>1405</span></td><td id="LC1405" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1406" class="css-a4x74f"><span>1406</span></td><td id="LC1406" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1407" class="css-a4x74f"><span>1407</span></td><td id="LC1407" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1408" class="css-a4x74f"><span>1408</span></td><td id="LC1408" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1409" class="css-a4x74f"><span>1409</span></td><td id="LC1409" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> applyStyles$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1410" class="css-a4x74f"><span>1410</span></td><td id="LC1410" class="css-1dcdqdg"><code> name: <span class="code-string">'applyStyles'</span>,
+</code></td></tr><tr><td id="L1411" class="css-a4x74f"><span>1411</span></td><td id="LC1411" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1412" class="css-a4x74f"><span>1412</span></td><td id="LC1412" class="css-1dcdqdg"><code> phase: <span class="code-string">'write'</span>,
+</code></td></tr><tr><td id="L1413" class="css-a4x74f"><span>1413</span></td><td id="LC1413" class="css-1dcdqdg"><code> fn: applyStyles,
+</code></td></tr><tr><td id="L1414" class="css-a4x74f"><span>1414</span></td><td id="LC1414" class="css-1dcdqdg"><code> effect: effect$<span class="code-number">1</span>,
+</code></td></tr><tr><td id="L1415" class="css-a4x74f"><span>1415</span></td><td id="LC1415" class="css-1dcdqdg"><code> requires: [<span class="code-string">'computeStyles'</span>]
+</code></td></tr><tr><td id="L1416" class="css-a4x74f"><span>1416</span></td><td id="LC1416" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1417" class="css-a4x74f"><span>1417</span></td><td id="LC1417" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1418" class="css-a4x74f"><span>1418</span></td><td id="LC1418" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">distanceAndSkiddingToXY</span>(<span class="code-params">placement, rects, offset</span>) </span>{
+</code></td></tr><tr><td id="L1419" class="css-a4x74f"><span>1419</span></td><td id="LC1419" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacement = getBasePlacement(placement);
+</code></td></tr><tr><td id="L1420" class="css-a4x74f"><span>1420</span></td><td id="LC1420" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> invertDistance = [left, top].indexOf(basePlacement) &gt;= <span class="code-number">0</span> ? <span class="code-number">-1</span> : <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1421" class="css-a4x74f"><span>1421</span></td><td id="LC1421" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1422" class="css-a4x74f"><span>1422</span></td><td id="LC1422" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _ref = <span class="code-keyword">typeof</span> offset === <span class="code-string">'function'</span> ? offset(<span class="code-built_in">Object</span>.assign({}, rects, {
+</code></td></tr><tr><td id="L1423" class="css-a4x74f"><span>1423</span></td><td id="LC1423" class="css-1dcdqdg"><code> placement: placement
+</code></td></tr><tr><td id="L1424" class="css-a4x74f"><span>1424</span></td><td id="LC1424" class="css-1dcdqdg"><code> })) : offset,
+</code></td></tr><tr><td id="L1425" class="css-a4x74f"><span>1425</span></td><td id="LC1425" class="css-1dcdqdg"><code> skidding = _ref[<span class="code-number">0</span>],
+</code></td></tr><tr><td id="L1426" class="css-a4x74f"><span>1426</span></td><td id="LC1426" class="css-1dcdqdg"><code> distance = _ref[<span class="code-number">1</span>];
+</code></td></tr><tr><td id="L1427" class="css-a4x74f"><span>1427</span></td><td id="LC1427" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1428" class="css-a4x74f"><span>1428</span></td><td id="LC1428" class="css-1dcdqdg"><code> skidding = skidding || <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1429" class="css-a4x74f"><span>1429</span></td><td id="LC1429" class="css-1dcdqdg"><code> distance = (distance || <span class="code-number">0</span>) * invertDistance;
+</code></td></tr><tr><td id="L1430" class="css-a4x74f"><span>1430</span></td><td id="LC1430" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [left, right].indexOf(basePlacement) &gt;= <span class="code-number">0</span> ? {
+</code></td></tr><tr><td id="L1431" class="css-a4x74f"><span>1431</span></td><td id="LC1431" class="css-1dcdqdg"><code> x: distance,
+</code></td></tr><tr><td id="L1432" class="css-a4x74f"><span>1432</span></td><td id="LC1432" class="css-1dcdqdg"><code> y: skidding
+</code></td></tr><tr><td id="L1433" class="css-a4x74f"><span>1433</span></td><td id="LC1433" class="css-1dcdqdg"><code> } : {
+</code></td></tr><tr><td id="L1434" class="css-a4x74f"><span>1434</span></td><td id="LC1434" class="css-1dcdqdg"><code> x: skidding,
+</code></td></tr><tr><td id="L1435" class="css-a4x74f"><span>1435</span></td><td id="LC1435" class="css-1dcdqdg"><code> y: distance
+</code></td></tr><tr><td id="L1436" class="css-a4x74f"><span>1436</span></td><td id="LC1436" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1437" class="css-a4x74f"><span>1437</span></td><td id="LC1437" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1438" class="css-a4x74f"><span>1438</span></td><td id="LC1438" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1439" class="css-a4x74f"><span>1439</span></td><td id="LC1439" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">offset</span>(<span class="code-params">_ref2</span>) </span>{
+</code></td></tr><tr><td id="L1440" class="css-a4x74f"><span>1440</span></td><td id="LC1440" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref2.state,
+</code></td></tr><tr><td id="L1441" class="css-a4x74f"><span>1441</span></td><td id="LC1441" class="css-1dcdqdg"><code> options = _ref2.options,
+</code></td></tr><tr><td id="L1442" class="css-a4x74f"><span>1442</span></td><td id="LC1442" class="css-1dcdqdg"><code> name = _ref2.name;
+</code></td></tr><tr><td id="L1443" class="css-a4x74f"><span>1443</span></td><td id="LC1443" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options$offset = options.offset,
+</code></td></tr><tr><td id="L1444" class="css-a4x74f"><span>1444</span></td><td id="LC1444" class="css-1dcdqdg"><code> offset = _options$offset === <span class="code-keyword">void</span> <span class="code-number">0</span> ? [<span class="code-number">0</span>, <span class="code-number">0</span>] : _options$offset;
+</code></td></tr><tr><td id="L1445" class="css-a4x74f"><span>1445</span></td><td id="LC1445" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> data = placements.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">acc, placement</span>) </span>{
+</code></td></tr><tr><td id="L1446" class="css-a4x74f"><span>1446</span></td><td id="LC1446" class="css-1dcdqdg"><code> acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
+</code></td></tr><tr><td id="L1447" class="css-a4x74f"><span>1447</span></td><td id="LC1447" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> acc;
+</code></td></tr><tr><td id="L1448" class="css-a4x74f"><span>1448</span></td><td id="LC1448" class="css-1dcdqdg"><code> }, {});
+</code></td></tr><tr><td id="L1449" class="css-a4x74f"><span>1449</span></td><td id="LC1449" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _data$state$placement = data[state.placement],
+</code></td></tr><tr><td id="L1450" class="css-a4x74f"><span>1450</span></td><td id="LC1450" class="css-1dcdqdg"><code> x = _data$state$placement.x,
+</code></td></tr><tr><td id="L1451" class="css-a4x74f"><span>1451</span></td><td id="LC1451" class="css-1dcdqdg"><code> y = _data$state$placement.y;
+</code></td></tr><tr><td id="L1452" class="css-a4x74f"><span>1452</span></td><td id="LC1452" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1453" class="css-a4x74f"><span>1453</span></td><td id="LC1453" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.modifiersData.popperOffsets != <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L1454" class="css-a4x74f"><span>1454</span></td><td id="LC1454" class="css-1dcdqdg"><code> state.modifiersData.popperOffsets.x += x;
+</code></td></tr><tr><td id="L1455" class="css-a4x74f"><span>1455</span></td><td id="LC1455" class="css-1dcdqdg"><code> state.modifiersData.popperOffsets.y += y;
+</code></td></tr><tr><td id="L1456" class="css-a4x74f"><span>1456</span></td><td id="LC1456" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1457" class="css-a4x74f"><span>1457</span></td><td id="LC1457" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1458" class="css-a4x74f"><span>1458</span></td><td id="LC1458" class="css-1dcdqdg"><code> state.modifiersData[name] = data;
+</code></td></tr><tr><td id="L1459" class="css-a4x74f"><span>1459</span></td><td id="LC1459" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1460" class="css-a4x74f"><span>1460</span></td><td id="LC1460" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1461" class="css-a4x74f"><span>1461</span></td><td id="LC1461" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1462" class="css-a4x74f"><span>1462</span></td><td id="LC1462" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offset$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1463" class="css-a4x74f"><span>1463</span></td><td id="LC1463" class="css-1dcdqdg"><code> name: <span class="code-string">'offset'</span>,
+</code></td></tr><tr><td id="L1464" class="css-a4x74f"><span>1464</span></td><td id="LC1464" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1465" class="css-a4x74f"><span>1465</span></td><td id="LC1465" class="css-1dcdqdg"><code> phase: <span class="code-string">'main'</span>,
+</code></td></tr><tr><td id="L1466" class="css-a4x74f"><span>1466</span></td><td id="LC1466" class="css-1dcdqdg"><code> requires: [<span class="code-string">'popperOffsets'</span>],
+</code></td></tr><tr><td id="L1467" class="css-a4x74f"><span>1467</span></td><td id="LC1467" class="css-1dcdqdg"><code> fn: offset
+</code></td></tr><tr><td id="L1468" class="css-a4x74f"><span>1468</span></td><td id="LC1468" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1469" class="css-a4x74f"><span>1469</span></td><td id="LC1469" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1470" class="css-a4x74f"><span>1470</span></td><td id="LC1470" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> hash$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1471" class="css-a4x74f"><span>1471</span></td><td id="LC1471" class="css-1dcdqdg"><code> left: <span class="code-string">'right'</span>,
+</code></td></tr><tr><td id="L1472" class="css-a4x74f"><span>1472</span></td><td id="LC1472" class="css-1dcdqdg"><code> right: <span class="code-string">'left'</span>,
+</code></td></tr><tr><td id="L1473" class="css-a4x74f"><span>1473</span></td><td id="LC1473" class="css-1dcdqdg"><code> bottom: <span class="code-string">'top'</span>,
+</code></td></tr><tr><td id="L1474" class="css-a4x74f"><span>1474</span></td><td id="LC1474" class="css-1dcdqdg"><code> top: <span class="code-string">'bottom'</span>
+</code></td></tr><tr><td id="L1475" class="css-a4x74f"><span>1475</span></td><td id="LC1475" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1476" class="css-a4x74f"><span>1476</span></td><td id="LC1476" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getOppositePlacement</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L1477" class="css-a4x74f"><span>1477</span></td><td id="LC1477" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> placement.replace(<span class="code-regexp">/left|right|bottom|top/g</span>, <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">matched</span>) </span>{
+</code></td></tr><tr><td id="L1478" class="css-a4x74f"><span>1478</span></td><td id="LC1478" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> hash$<span class="code-number">1</span>[matched];
+</code></td></tr><tr><td id="L1479" class="css-a4x74f"><span>1479</span></td><td id="LC1479" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1480" class="css-a4x74f"><span>1480</span></td><td id="LC1480" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1481" class="css-a4x74f"><span>1481</span></td><td id="LC1481" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1482" class="css-a4x74f"><span>1482</span></td><td id="LC1482" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> hash = {
+</code></td></tr><tr><td id="L1483" class="css-a4x74f"><span>1483</span></td><td id="LC1483" class="css-1dcdqdg"><code> start: <span class="code-string">'end'</span>,
+</code></td></tr><tr><td id="L1484" class="css-a4x74f"><span>1484</span></td><td id="LC1484" class="css-1dcdqdg"><code> end: <span class="code-string">'start'</span>
+</code></td></tr><tr><td id="L1485" class="css-a4x74f"><span>1485</span></td><td id="LC1485" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1486" class="css-a4x74f"><span>1486</span></td><td id="LC1486" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getOppositeVariationPlacement</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L1487" class="css-a4x74f"><span>1487</span></td><td id="LC1487" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> placement.replace(<span class="code-regexp">/start|end/g</span>, <span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">matched</span>) </span>{
+</code></td></tr><tr><td id="L1488" class="css-a4x74f"><span>1488</span></td><td id="LC1488" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> hash[matched];
+</code></td></tr><tr><td id="L1489" class="css-a4x74f"><span>1489</span></td><td id="LC1489" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1490" class="css-a4x74f"><span>1490</span></td><td id="LC1490" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1491" class="css-a4x74f"><span>1491</span></td><td id="LC1491" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1492" class="css-a4x74f"><span>1492</span></td><td id="LC1492" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">computeAutoPlacement</span>(<span class="code-params">state, options</span>) </span>{
+</code></td></tr><tr><td id="L1493" class="css-a4x74f"><span>1493</span></td><td id="LC1493" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (options === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L1494" class="css-a4x74f"><span>1494</span></td><td id="LC1494" class="css-1dcdqdg"><code> options = {};
+</code></td></tr><tr><td id="L1495" class="css-a4x74f"><span>1495</span></td><td id="LC1495" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1496" class="css-a4x74f"><span>1496</span></td><td id="LC1496" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1497" class="css-a4x74f"><span>1497</span></td><td id="LC1497" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options = options,
+</code></td></tr><tr><td id="L1498" class="css-a4x74f"><span>1498</span></td><td id="LC1498" class="css-1dcdqdg"><code> placement = _options.placement,
+</code></td></tr><tr><td id="L1499" class="css-a4x74f"><span>1499</span></td><td id="LC1499" class="css-1dcdqdg"><code> boundary = _options.boundary,
+</code></td></tr><tr><td id="L1500" class="css-a4x74f"><span>1500</span></td><td id="LC1500" class="css-1dcdqdg"><code> rootBoundary = _options.rootBoundary,
+</code></td></tr><tr><td id="L1501" class="css-a4x74f"><span>1501</span></td><td id="LC1501" class="css-1dcdqdg"><code> padding = _options.padding,
+</code></td></tr><tr><td id="L1502" class="css-a4x74f"><span>1502</span></td><td id="LC1502" class="css-1dcdqdg"><code> flipVariations = _options.flipVariations,
+</code></td></tr><tr><td id="L1503" class="css-a4x74f"><span>1503</span></td><td id="LC1503" class="css-1dcdqdg"><code> _options$allowedAutoP = _options.allowedAutoPlacements,
+</code></td></tr><tr><td id="L1504" class="css-a4x74f"><span>1504</span></td><td id="LC1504" class="css-1dcdqdg"><code> allowedAutoPlacements = _options$allowedAutoP === <span class="code-keyword">void</span> <span class="code-number">0</span> ? placements : _options$allowedAutoP;
+</code></td></tr><tr><td id="L1505" class="css-a4x74f"><span>1505</span></td><td id="LC1505" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> variation = getVariation(placement);
+</code></td></tr><tr><td id="L1506" class="css-a4x74f"><span>1506</span></td><td id="LC1506" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> placements$<span class="code-number">1</span> = variation ? flipVariations ? variationPlacements : variationPlacements.filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L1507" class="css-a4x74f"><span>1507</span></td><td id="LC1507" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> getVariation(placement) === variation;
+</code></td></tr><tr><td id="L1508" class="css-a4x74f"><span>1508</span></td><td id="LC1508" class="css-1dcdqdg"><code> }) : basePlacements;
+</code></td></tr><tr><td id="L1509" class="css-a4x74f"><span>1509</span></td><td id="LC1509" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> allowedPlacements = placements$<span class="code-number">1.</span>filter(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L1510" class="css-a4x74f"><span>1510</span></td><td id="LC1510" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> allowedAutoPlacements.indexOf(placement) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1511" class="css-a4x74f"><span>1511</span></td><td id="LC1511" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1512" class="css-a4x74f"><span>1512</span></td><td id="LC1512" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1513" class="css-a4x74f"><span>1513</span></td><td id="LC1513" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (allowedPlacements.length === <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L1514" class="css-a4x74f"><span>1514</span></td><td id="LC1514" class="css-1dcdqdg"><code> allowedPlacements = placements$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1515" class="css-a4x74f"><span>1515</span></td><td id="LC1515" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1516" class="css-a4x74f"><span>1516</span></td><td id="LC1516" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L1517" class="css-a4x74f"><span>1517</span></td><td id="LC1517" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error([<span class="code-string">'Popper: The `allowedAutoPlacements` option did not allow any'</span>, <span class="code-string">'placements. Ensure the `placement` option matches the variation'</span>, <span class="code-string">'of the allowed placements.'</span>, <span class="code-string">'For example, "auto" cannot be used to allow "bottom-start".'</span>, <span class="code-string">'Use "auto-start" instead.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L1518" class="css-a4x74f"><span>1518</span></td><td id="LC1518" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1519" class="css-a4x74f"><span>1519</span></td><td id="LC1519" class="css-1dcdqdg"><code> } <span class="code-comment">// $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...</span>
+</code></td></tr><tr><td id="L1520" class="css-a4x74f"><span>1520</span></td><td id="LC1520" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1521" class="css-a4x74f"><span>1521</span></td><td id="LC1521" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1522" class="css-a4x74f"><span>1522</span></td><td id="LC1522" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> overflows = allowedPlacements.reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">acc, placement</span>) </span>{
+</code></td></tr><tr><td id="L1523" class="css-a4x74f"><span>1523</span></td><td id="LC1523" class="css-1dcdqdg"><code> acc[placement] = detectOverflow(state, {
+</code></td></tr><tr><td id="L1524" class="css-a4x74f"><span>1524</span></td><td id="LC1524" class="css-1dcdqdg"><code> placement: placement,
+</code></td></tr><tr><td id="L1525" class="css-a4x74f"><span>1525</span></td><td id="LC1525" class="css-1dcdqdg"><code> boundary: boundary,
+</code></td></tr><tr><td id="L1526" class="css-a4x74f"><span>1526</span></td><td id="LC1526" class="css-1dcdqdg"><code> rootBoundary: rootBoundary,
+</code></td></tr><tr><td id="L1527" class="css-a4x74f"><span>1527</span></td><td id="LC1527" class="css-1dcdqdg"><code> padding: padding
+</code></td></tr><tr><td id="L1528" class="css-a4x74f"><span>1528</span></td><td id="LC1528" class="css-1dcdqdg"><code> })[getBasePlacement(placement)];
+</code></td></tr><tr><td id="L1529" class="css-a4x74f"><span>1529</span></td><td id="LC1529" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> acc;
+</code></td></tr><tr><td id="L1530" class="css-a4x74f"><span>1530</span></td><td id="LC1530" class="css-1dcdqdg"><code> }, {});
+</code></td></tr><tr><td id="L1531" class="css-a4x74f"><span>1531</span></td><td id="LC1531" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-built_in">Object</span>.keys(overflows).sort(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">a, b</span>) </span>{
+</code></td></tr><tr><td id="L1532" class="css-a4x74f"><span>1532</span></td><td id="LC1532" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> overflows[a] - overflows[b];
+</code></td></tr><tr><td id="L1533" class="css-a4x74f"><span>1533</span></td><td id="LC1533" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1534" class="css-a4x74f"><span>1534</span></td><td id="LC1534" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1535" class="css-a4x74f"><span>1535</span></td><td id="LC1535" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1536" class="css-a4x74f"><span>1536</span></td><td id="LC1536" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getExpandedFallbackPlacements</span>(<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L1537" class="css-a4x74f"><span>1537</span></td><td id="LC1537" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (getBasePlacement(placement) === auto) {
+</code></td></tr><tr><td id="L1538" class="css-a4x74f"><span>1538</span></td><td id="LC1538" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [];
+</code></td></tr><tr><td id="L1539" class="css-a4x74f"><span>1539</span></td><td id="LC1539" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1540" class="css-a4x74f"><span>1540</span></td><td id="LC1540" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1541" class="css-a4x74f"><span>1541</span></td><td id="LC1541" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> oppositePlacement = getOppositePlacement(placement);
+</code></td></tr><tr><td id="L1542" class="css-a4x74f"><span>1542</span></td><td id="LC1542" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
+</code></td></tr><tr><td id="L1543" class="css-a4x74f"><span>1543</span></td><td id="LC1543" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1544" class="css-a4x74f"><span>1544</span></td><td id="LC1544" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1545" class="css-a4x74f"><span>1545</span></td><td id="LC1545" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">flip</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1546" class="css-a4x74f"><span>1546</span></td><td id="LC1546" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state,
+</code></td></tr><tr><td id="L1547" class="css-a4x74f"><span>1547</span></td><td id="LC1547" class="css-1dcdqdg"><code> options = _ref.options,
+</code></td></tr><tr><td id="L1548" class="css-a4x74f"><span>1548</span></td><td id="LC1548" class="css-1dcdqdg"><code> name = _ref.name;
+</code></td></tr><tr><td id="L1549" class="css-a4x74f"><span>1549</span></td><td id="LC1549" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1550" class="css-a4x74f"><span>1550</span></td><td id="LC1550" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.modifiersData[name]._skip) {
+</code></td></tr><tr><td id="L1551" class="css-a4x74f"><span>1551</span></td><td id="LC1551" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1552" class="css-a4x74f"><span>1552</span></td><td id="LC1552" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1553" class="css-a4x74f"><span>1553</span></td><td id="LC1553" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1554" class="css-a4x74f"><span>1554</span></td><td id="LC1554" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options$mainAxis = options.mainAxis,
+</code></td></tr><tr><td id="L1555" class="css-a4x74f"><span>1555</span></td><td id="LC1555" class="css-1dcdqdg"><code> checkMainAxis = _options$mainAxis === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$mainAxis,
+</code></td></tr><tr><td id="L1556" class="css-a4x74f"><span>1556</span></td><td id="LC1556" class="css-1dcdqdg"><code> _options$altAxis = options.altAxis,
+</code></td></tr><tr><td id="L1557" class="css-a4x74f"><span>1557</span></td><td id="LC1557" class="css-1dcdqdg"><code> checkAltAxis = _options$altAxis === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$altAxis,
+</code></td></tr><tr><td id="L1558" class="css-a4x74f"><span>1558</span></td><td id="LC1558" class="css-1dcdqdg"><code> specifiedFallbackPlacements = options.fallbackPlacements,
+</code></td></tr><tr><td id="L1559" class="css-a4x74f"><span>1559</span></td><td id="LC1559" class="css-1dcdqdg"><code> padding = options.padding,
+</code></td></tr><tr><td id="L1560" class="css-a4x74f"><span>1560</span></td><td id="LC1560" class="css-1dcdqdg"><code> boundary = options.boundary,
+</code></td></tr><tr><td id="L1561" class="css-a4x74f"><span>1561</span></td><td id="LC1561" class="css-1dcdqdg"><code> rootBoundary = options.rootBoundary,
+</code></td></tr><tr><td id="L1562" class="css-a4x74f"><span>1562</span></td><td id="LC1562" class="css-1dcdqdg"><code> altBoundary = options.altBoundary,
+</code></td></tr><tr><td id="L1563" class="css-a4x74f"><span>1563</span></td><td id="LC1563" class="css-1dcdqdg"><code> _options$flipVariatio = options.flipVariations,
+</code></td></tr><tr><td id="L1564" class="css-a4x74f"><span>1564</span></td><td id="LC1564" class="css-1dcdqdg"><code> flipVariations = _options$flipVariatio === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$flipVariatio,
+</code></td></tr><tr><td id="L1565" class="css-a4x74f"><span>1565</span></td><td id="LC1565" class="css-1dcdqdg"><code> allowedAutoPlacements = options.allowedAutoPlacements;
+</code></td></tr><tr><td id="L1566" class="css-a4x74f"><span>1566</span></td><td id="LC1566" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> preferredPlacement = state.options.placement;
+</code></td></tr><tr><td id="L1567" class="css-a4x74f"><span>1567</span></td><td id="LC1567" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacement = getBasePlacement(preferredPlacement);
+</code></td></tr><tr><td id="L1568" class="css-a4x74f"><span>1568</span></td><td id="LC1568" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isBasePlacement = basePlacement === preferredPlacement;
+</code></td></tr><tr><td id="L1569" class="css-a4x74f"><span>1569</span></td><td id="LC1569" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
+</code></td></tr><tr><td id="L1570" class="css-a4x74f"><span>1570</span></td><td id="LC1570" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> placements = [preferredPlacement].concat(fallbackPlacements).reduce(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">acc, placement</span>) </span>{
+</code></td></tr><tr><td id="L1571" class="css-a4x74f"><span>1571</span></td><td id="LC1571" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {
+</code></td></tr><tr><td id="L1572" class="css-a4x74f"><span>1572</span></td><td id="LC1572" class="css-1dcdqdg"><code> placement: placement,
+</code></td></tr><tr><td id="L1573" class="css-a4x74f"><span>1573</span></td><td id="LC1573" class="css-1dcdqdg"><code> boundary: boundary,
+</code></td></tr><tr><td id="L1574" class="css-a4x74f"><span>1574</span></td><td id="LC1574" class="css-1dcdqdg"><code> rootBoundary: rootBoundary,
+</code></td></tr><tr><td id="L1575" class="css-a4x74f"><span>1575</span></td><td id="LC1575" class="css-1dcdqdg"><code> padding: padding,
+</code></td></tr><tr><td id="L1576" class="css-a4x74f"><span>1576</span></td><td id="LC1576" class="css-1dcdqdg"><code> flipVariations: flipVariations,
+</code></td></tr><tr><td id="L1577" class="css-a4x74f"><span>1577</span></td><td id="LC1577" class="css-1dcdqdg"><code> allowedAutoPlacements: allowedAutoPlacements
+</code></td></tr><tr><td id="L1578" class="css-a4x74f"><span>1578</span></td><td id="LC1578" class="css-1dcdqdg"><code> }) : placement);
+</code></td></tr><tr><td id="L1579" class="css-a4x74f"><span>1579</span></td><td id="LC1579" class="css-1dcdqdg"><code> }, []);
+</code></td></tr><tr><td id="L1580" class="css-a4x74f"><span>1580</span></td><td id="LC1580" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> referenceRect = state.rects.reference;
+</code></td></tr><tr><td id="L1581" class="css-a4x74f"><span>1581</span></td><td id="LC1581" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperRect = state.rects.popper;
+</code></td></tr><tr><td id="L1582" class="css-a4x74f"><span>1582</span></td><td id="LC1582" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> checksMap = <span class="code-keyword">new</span> <span class="code-built_in">Map</span>();
+</code></td></tr><tr><td id="L1583" class="css-a4x74f"><span>1583</span></td><td id="LC1583" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> makeFallbackChecks = <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L1584" class="css-a4x74f"><span>1584</span></td><td id="LC1584" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> firstFittingPlacement = placements[<span class="code-number">0</span>];
+</code></td></tr><tr><td id="L1585" class="css-a4x74f"><span>1585</span></td><td id="LC1585" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1586" class="css-a4x74f"><span>1586</span></td><td id="LC1586" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> i = <span class="code-number">0</span>; i &lt; placements.length; i++) {
+</code></td></tr><tr><td id="L1587" class="css-a4x74f"><span>1587</span></td><td id="LC1587" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> placement = placements[i];
+</code></td></tr><tr><td id="L1588" class="css-a4x74f"><span>1588</span></td><td id="LC1588" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1589" class="css-a4x74f"><span>1589</span></td><td id="LC1589" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _basePlacement = getBasePlacement(placement);
+</code></td></tr><tr><td id="L1590" class="css-a4x74f"><span>1590</span></td><td id="LC1590" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1591" class="css-a4x74f"><span>1591</span></td><td id="LC1591" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isStartVariation = getVariation(placement) === start;
+</code></td></tr><tr><td id="L1592" class="css-a4x74f"><span>1592</span></td><td id="LC1592" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isVertical = [top, bottom].indexOf(_basePlacement) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1593" class="css-a4x74f"><span>1593</span></td><td id="LC1593" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> len = isVertical ? <span class="code-string">'width'</span> : <span class="code-string">'height'</span>;
+</code></td></tr><tr><td id="L1594" class="css-a4x74f"><span>1594</span></td><td id="LC1594" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> overflow = detectOverflow(state, {
+</code></td></tr><tr><td id="L1595" class="css-a4x74f"><span>1595</span></td><td id="LC1595" class="css-1dcdqdg"><code> placement: placement,
+</code></td></tr><tr><td id="L1596" class="css-a4x74f"><span>1596</span></td><td id="LC1596" class="css-1dcdqdg"><code> boundary: boundary,
+</code></td></tr><tr><td id="L1597" class="css-a4x74f"><span>1597</span></td><td id="LC1597" class="css-1dcdqdg"><code> rootBoundary: rootBoundary,
+</code></td></tr><tr><td id="L1598" class="css-a4x74f"><span>1598</span></td><td id="LC1598" class="css-1dcdqdg"><code> altBoundary: altBoundary,
+</code></td></tr><tr><td id="L1599" class="css-a4x74f"><span>1599</span></td><td id="LC1599" class="css-1dcdqdg"><code> padding: padding
+</code></td></tr><tr><td id="L1600" class="css-a4x74f"><span>1600</span></td><td id="LC1600" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1601" class="css-a4x74f"><span>1601</span></td><td id="LC1601" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;
+</code></td></tr><tr><td id="L1602" class="css-a4x74f"><span>1602</span></td><td id="LC1602" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1603" class="css-a4x74f"><span>1603</span></td><td id="LC1603" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (referenceRect[len] &gt; popperRect[len]) {
+</code></td></tr><tr><td id="L1604" class="css-a4x74f"><span>1604</span></td><td id="LC1604" class="css-1dcdqdg"><code> mainVariationSide = getOppositePlacement(mainVariationSide);
+</code></td></tr><tr><td id="L1605" class="css-a4x74f"><span>1605</span></td><td id="LC1605" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1606" class="css-a4x74f"><span>1606</span></td><td id="LC1606" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1607" class="css-a4x74f"><span>1607</span></td><td id="LC1607" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> altVariationSide = getOppositePlacement(mainVariationSide);
+</code></td></tr><tr><td id="L1608" class="css-a4x74f"><span>1608</span></td><td id="LC1608" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> checks = [];
+</code></td></tr><tr><td id="L1609" class="css-a4x74f"><span>1609</span></td><td id="LC1609" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1610" class="css-a4x74f"><span>1610</span></td><td id="LC1610" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (checkMainAxis) {
+</code></td></tr><tr><td id="L1611" class="css-a4x74f"><span>1611</span></td><td id="LC1611" class="css-1dcdqdg"><code> checks.push(overflow[_basePlacement] &lt;= <span class="code-number">0</span>);
+</code></td></tr><tr><td id="L1612" class="css-a4x74f"><span>1612</span></td><td id="LC1612" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1613" class="css-a4x74f"><span>1613</span></td><td id="LC1613" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1614" class="css-a4x74f"><span>1614</span></td><td id="LC1614" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (checkAltAxis) {
+</code></td></tr><tr><td id="L1615" class="css-a4x74f"><span>1615</span></td><td id="LC1615" class="css-1dcdqdg"><code> checks.push(overflow[mainVariationSide] &lt;= <span class="code-number">0</span>, overflow[altVariationSide] &lt;= <span class="code-number">0</span>);
+</code></td></tr><tr><td id="L1616" class="css-a4x74f"><span>1616</span></td><td id="LC1616" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1617" class="css-a4x74f"><span>1617</span></td><td id="LC1617" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1618" class="css-a4x74f"><span>1618</span></td><td id="LC1618" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (checks.every(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">check</span>) </span>{
+</code></td></tr><tr><td id="L1619" class="css-a4x74f"><span>1619</span></td><td id="LC1619" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> check;
+</code></td></tr><tr><td id="L1620" class="css-a4x74f"><span>1620</span></td><td id="LC1620" class="css-1dcdqdg"><code> })) {
+</code></td></tr><tr><td id="L1621" class="css-a4x74f"><span>1621</span></td><td id="LC1621" class="css-1dcdqdg"><code> firstFittingPlacement = placement;
+</code></td></tr><tr><td id="L1622" class="css-a4x74f"><span>1622</span></td><td id="LC1622" class="css-1dcdqdg"><code> makeFallbackChecks = <span class="code-literal">false</span>;
+</code></td></tr><tr><td id="L1623" class="css-a4x74f"><span>1623</span></td><td id="LC1623" class="css-1dcdqdg"><code> <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L1624" class="css-a4x74f"><span>1624</span></td><td id="LC1624" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1625" class="css-a4x74f"><span>1625</span></td><td id="LC1625" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1626" class="css-a4x74f"><span>1626</span></td><td id="LC1626" class="css-1dcdqdg"><code> checksMap.set(placement, checks);
+</code></td></tr><tr><td id="L1627" class="css-a4x74f"><span>1627</span></td><td id="LC1627" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1628" class="css-a4x74f"><span>1628</span></td><td id="LC1628" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1629" class="css-a4x74f"><span>1629</span></td><td id="LC1629" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (makeFallbackChecks) {
+</code></td></tr><tr><td id="L1630" class="css-a4x74f"><span>1630</span></td><td id="LC1630" class="css-1dcdqdg"><code> <span class="code-comment">// `2` may be desired in some cases – research later</span>
+</code></td></tr><tr><td id="L1631" class="css-a4x74f"><span>1631</span></td><td id="LC1631" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> numberOfChecks = flipVariations ? <span class="code-number">3</span> : <span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1632" class="css-a4x74f"><span>1632</span></td><td id="LC1632" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1633" class="css-a4x74f"><span>1633</span></td><td id="LC1633" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _loop = <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">_loop</span>(<span class="code-params">_i</span>) </span>{
+</code></td></tr><tr><td id="L1634" class="css-a4x74f"><span>1634</span></td><td id="LC1634" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> fittingPlacement = placements.find(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">placement</span>) </span>{
+</code></td></tr><tr><td id="L1635" class="css-a4x74f"><span>1635</span></td><td id="LC1635" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> checks = checksMap.get(placement);
+</code></td></tr><tr><td id="L1636" class="css-a4x74f"><span>1636</span></td><td id="LC1636" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1637" class="css-a4x74f"><span>1637</span></td><td id="LC1637" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (checks) {
+</code></td></tr><tr><td id="L1638" class="css-a4x74f"><span>1638</span></td><td id="LC1638" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> checks.slice(<span class="code-number">0</span>, _i).every(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">check</span>) </span>{
+</code></td></tr><tr><td id="L1639" class="css-a4x74f"><span>1639</span></td><td id="LC1639" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> check;
+</code></td></tr><tr><td id="L1640" class="css-a4x74f"><span>1640</span></td><td id="LC1640" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1641" class="css-a4x74f"><span>1641</span></td><td id="LC1641" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1642" class="css-a4x74f"><span>1642</span></td><td id="LC1642" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1643" class="css-a4x74f"><span>1643</span></td><td id="LC1643" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1644" class="css-a4x74f"><span>1644</span></td><td id="LC1644" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (fittingPlacement) {
+</code></td></tr><tr><td id="L1645" class="css-a4x74f"><span>1645</span></td><td id="LC1645" class="css-1dcdqdg"><code> firstFittingPlacement = fittingPlacement;
+</code></td></tr><tr><td id="L1646" class="css-a4x74f"><span>1646</span></td><td id="LC1646" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> <span class="code-string">"break"</span>;
+</code></td></tr><tr><td id="L1647" class="css-a4x74f"><span>1647</span></td><td id="LC1647" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1648" class="css-a4x74f"><span>1648</span></td><td id="LC1648" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1649" class="css-a4x74f"><span>1649</span></td><td id="LC1649" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1650" class="css-a4x74f"><span>1650</span></td><td id="LC1650" class="css-1dcdqdg"><code> <span class="code-keyword">for</span> (<span class="code-keyword">var</span> _i = numberOfChecks; _i &gt; <span class="code-number">0</span>; _i--) {
+</code></td></tr><tr><td id="L1651" class="css-a4x74f"><span>1651</span></td><td id="LC1651" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _ret = _loop(_i);
+</code></td></tr><tr><td id="L1652" class="css-a4x74f"><span>1652</span></td><td id="LC1652" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1653" class="css-a4x74f"><span>1653</span></td><td id="LC1653" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (_ret === <span class="code-string">"break"</span>) <span class="code-keyword">break</span>;
+</code></td></tr><tr><td id="L1654" class="css-a4x74f"><span>1654</span></td><td id="LC1654" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1655" class="css-a4x74f"><span>1655</span></td><td id="LC1655" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1656" class="css-a4x74f"><span>1656</span></td><td id="LC1656" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1657" class="css-a4x74f"><span>1657</span></td><td id="LC1657" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (state.placement !== firstFittingPlacement) {
+</code></td></tr><tr><td id="L1658" class="css-a4x74f"><span>1658</span></td><td id="LC1658" class="css-1dcdqdg"><code> state.modifiersData[name]._skip = <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L1659" class="css-a4x74f"><span>1659</span></td><td id="LC1659" class="css-1dcdqdg"><code> state.placement = firstFittingPlacement;
+</code></td></tr><tr><td id="L1660" class="css-a4x74f"><span>1660</span></td><td id="LC1660" class="css-1dcdqdg"><code> state.reset = <span class="code-literal">true</span>;
+</code></td></tr><tr><td id="L1661" class="css-a4x74f"><span>1661</span></td><td id="LC1661" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1662" class="css-a4x74f"><span>1662</span></td><td id="LC1662" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1663" class="css-a4x74f"><span>1663</span></td><td id="LC1663" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1664" class="css-a4x74f"><span>1664</span></td><td id="LC1664" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1665" class="css-a4x74f"><span>1665</span></td><td id="LC1665" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> flip$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1666" class="css-a4x74f"><span>1666</span></td><td id="LC1666" class="css-1dcdqdg"><code> name: <span class="code-string">'flip'</span>,
+</code></td></tr><tr><td id="L1667" class="css-a4x74f"><span>1667</span></td><td id="LC1667" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1668" class="css-a4x74f"><span>1668</span></td><td id="LC1668" class="css-1dcdqdg"><code> phase: <span class="code-string">'main'</span>,
+</code></td></tr><tr><td id="L1669" class="css-a4x74f"><span>1669</span></td><td id="LC1669" class="css-1dcdqdg"><code> fn: flip,
+</code></td></tr><tr><td id="L1670" class="css-a4x74f"><span>1670</span></td><td id="LC1670" class="css-1dcdqdg"><code> requiresIfExists: [<span class="code-string">'offset'</span>],
+</code></td></tr><tr><td id="L1671" class="css-a4x74f"><span>1671</span></td><td id="LC1671" class="css-1dcdqdg"><code> data: {
+</code></td></tr><tr><td id="L1672" class="css-a4x74f"><span>1672</span></td><td id="LC1672" class="css-1dcdqdg"><code> _skip: <span class="code-literal">false</span>
+</code></td></tr><tr><td id="L1673" class="css-a4x74f"><span>1673</span></td><td id="LC1673" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1674" class="css-a4x74f"><span>1674</span></td><td id="LC1674" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1675" class="css-a4x74f"><span>1675</span></td><td id="LC1675" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1676" class="css-a4x74f"><span>1676</span></td><td id="LC1676" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getAltAxis</span>(<span class="code-params">axis</span>) </span>{
+</code></td></tr><tr><td id="L1677" class="css-a4x74f"><span>1677</span></td><td id="LC1677" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> axis === <span class="code-string">'x'</span> ? <span class="code-string">'y'</span> : <span class="code-string">'x'</span>;
+</code></td></tr><tr><td id="L1678" class="css-a4x74f"><span>1678</span></td><td id="LC1678" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1679" class="css-a4x74f"><span>1679</span></td><td id="LC1679" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1680" class="css-a4x74f"><span>1680</span></td><td id="LC1680" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">within</span>(<span class="code-params">min$<span class="code-number">1</span>, value, max$<span class="code-number">1</span></span>) </span>{
+</code></td></tr><tr><td id="L1681" class="css-a4x74f"><span>1681</span></td><td id="LC1681" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> max(min$<span class="code-number">1</span>, min(value, max$<span class="code-number">1</span>));
+</code></td></tr><tr><td id="L1682" class="css-a4x74f"><span>1682</span></td><td id="LC1682" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1683" class="css-a4x74f"><span>1683</span></td><td id="LC1683" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">withinMaxClamp</span>(<span class="code-params">min, value, max</span>) </span>{
+</code></td></tr><tr><td id="L1684" class="css-a4x74f"><span>1684</span></td><td id="LC1684" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> v = within(min, value, max);
+</code></td></tr><tr><td id="L1685" class="css-a4x74f"><span>1685</span></td><td id="LC1685" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> v &gt; max ? max : v;
+</code></td></tr><tr><td id="L1686" class="css-a4x74f"><span>1686</span></td><td id="LC1686" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1687" class="css-a4x74f"><span>1687</span></td><td id="LC1687" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1688" class="css-a4x74f"><span>1688</span></td><td id="LC1688" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">preventOverflow</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1689" class="css-a4x74f"><span>1689</span></td><td id="LC1689" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state,
+</code></td></tr><tr><td id="L1690" class="css-a4x74f"><span>1690</span></td><td id="LC1690" class="css-1dcdqdg"><code> options = _ref.options,
+</code></td></tr><tr><td id="L1691" class="css-a4x74f"><span>1691</span></td><td id="LC1691" class="css-1dcdqdg"><code> name = _ref.name;
+</code></td></tr><tr><td id="L1692" class="css-a4x74f"><span>1692</span></td><td id="LC1692" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options$mainAxis = options.mainAxis,
+</code></td></tr><tr><td id="L1693" class="css-a4x74f"><span>1693</span></td><td id="LC1693" class="css-1dcdqdg"><code> checkMainAxis = _options$mainAxis === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$mainAxis,
+</code></td></tr><tr><td id="L1694" class="css-a4x74f"><span>1694</span></td><td id="LC1694" class="css-1dcdqdg"><code> _options$altAxis = options.altAxis,
+</code></td></tr><tr><td id="L1695" class="css-a4x74f"><span>1695</span></td><td id="LC1695" class="css-1dcdqdg"><code> checkAltAxis = _options$altAxis === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">false</span> : _options$altAxis,
+</code></td></tr><tr><td id="L1696" class="css-a4x74f"><span>1696</span></td><td id="LC1696" class="css-1dcdqdg"><code> boundary = options.boundary,
+</code></td></tr><tr><td id="L1697" class="css-a4x74f"><span>1697</span></td><td id="LC1697" class="css-1dcdqdg"><code> rootBoundary = options.rootBoundary,
+</code></td></tr><tr><td id="L1698" class="css-a4x74f"><span>1698</span></td><td id="LC1698" class="css-1dcdqdg"><code> altBoundary = options.altBoundary,
+</code></td></tr><tr><td id="L1699" class="css-a4x74f"><span>1699</span></td><td id="LC1699" class="css-1dcdqdg"><code> padding = options.padding,
+</code></td></tr><tr><td id="L1700" class="css-a4x74f"><span>1700</span></td><td id="LC1700" class="css-1dcdqdg"><code> _options$tether = options.tether,
+</code></td></tr><tr><td id="L1701" class="css-a4x74f"><span>1701</span></td><td id="LC1701" class="css-1dcdqdg"><code> tether = _options$tether === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-literal">true</span> : _options$tether,
+</code></td></tr><tr><td id="L1702" class="css-a4x74f"><span>1702</span></td><td id="LC1702" class="css-1dcdqdg"><code> _options$tetherOffset = options.tetherOffset,
+</code></td></tr><tr><td id="L1703" class="css-a4x74f"><span>1703</span></td><td id="LC1703" class="css-1dcdqdg"><code> tetherOffset = _options$tetherOffset === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-number">0</span> : _options$tetherOffset;
+</code></td></tr><tr><td id="L1704" class="css-a4x74f"><span>1704</span></td><td id="LC1704" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> overflow = detectOverflow(state, {
+</code></td></tr><tr><td id="L1705" class="css-a4x74f"><span>1705</span></td><td id="LC1705" class="css-1dcdqdg"><code> boundary: boundary,
+</code></td></tr><tr><td id="L1706" class="css-a4x74f"><span>1706</span></td><td id="LC1706" class="css-1dcdqdg"><code> rootBoundary: rootBoundary,
+</code></td></tr><tr><td id="L1707" class="css-a4x74f"><span>1707</span></td><td id="LC1707" class="css-1dcdqdg"><code> padding: padding,
+</code></td></tr><tr><td id="L1708" class="css-a4x74f"><span>1708</span></td><td id="LC1708" class="css-1dcdqdg"><code> altBoundary: altBoundary
+</code></td></tr><tr><td id="L1709" class="css-a4x74f"><span>1709</span></td><td id="LC1709" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1710" class="css-a4x74f"><span>1710</span></td><td id="LC1710" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacement = getBasePlacement(state.placement);
+</code></td></tr><tr><td id="L1711" class="css-a4x74f"><span>1711</span></td><td id="LC1711" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> variation = getVariation(state.placement);
+</code></td></tr><tr><td id="L1712" class="css-a4x74f"><span>1712</span></td><td id="LC1712" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isBasePlacement = !variation;
+</code></td></tr><tr><td id="L1713" class="css-a4x74f"><span>1713</span></td><td id="LC1713" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> mainAxis = getMainAxisFromPlacement(basePlacement);
+</code></td></tr><tr><td id="L1714" class="css-a4x74f"><span>1714</span></td><td id="LC1714" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> altAxis = getAltAxis(mainAxis);
+</code></td></tr><tr><td id="L1715" class="css-a4x74f"><span>1715</span></td><td id="LC1715" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperOffsets = state.modifiersData.popperOffsets;
+</code></td></tr><tr><td id="L1716" class="css-a4x74f"><span>1716</span></td><td id="LC1716" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> referenceRect = state.rects.reference;
+</code></td></tr><tr><td id="L1717" class="css-a4x74f"><span>1717</span></td><td id="LC1717" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperRect = state.rects.popper;
+</code></td></tr><tr><td id="L1718" class="css-a4x74f"><span>1718</span></td><td id="LC1718" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> tetherOffsetValue = <span class="code-keyword">typeof</span> tetherOffset === <span class="code-string">'function'</span> ? tetherOffset(<span class="code-built_in">Object</span>.assign({}, state.rects, {
+</code></td></tr><tr><td id="L1719" class="css-a4x74f"><span>1719</span></td><td id="LC1719" class="css-1dcdqdg"><code> placement: state.placement
+</code></td></tr><tr><td id="L1720" class="css-a4x74f"><span>1720</span></td><td id="LC1720" class="css-1dcdqdg"><code> })) : tetherOffset;
+</code></td></tr><tr><td id="L1721" class="css-a4x74f"><span>1721</span></td><td id="LC1721" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> normalizedTetherOffsetValue = <span class="code-keyword">typeof</span> tetherOffsetValue === <span class="code-string">'number'</span> ? {
+</code></td></tr><tr><td id="L1722" class="css-a4x74f"><span>1722</span></td><td id="LC1722" class="css-1dcdqdg"><code> mainAxis: tetherOffsetValue,
+</code></td></tr><tr><td id="L1723" class="css-a4x74f"><span>1723</span></td><td id="LC1723" class="css-1dcdqdg"><code> altAxis: tetherOffsetValue
+</code></td></tr><tr><td id="L1724" class="css-a4x74f"><span>1724</span></td><td id="LC1724" class="css-1dcdqdg"><code> } : <span class="code-built_in">Object</span>.assign({
+</code></td></tr><tr><td id="L1725" class="css-a4x74f"><span>1725</span></td><td id="LC1725" class="css-1dcdqdg"><code> mainAxis: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L1726" class="css-a4x74f"><span>1726</span></td><td id="LC1726" class="css-1dcdqdg"><code> altAxis: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L1727" class="css-a4x74f"><span>1727</span></td><td id="LC1727" class="css-1dcdqdg"><code> }, tetherOffsetValue);
+</code></td></tr><tr><td id="L1728" class="css-a4x74f"><span>1728</span></td><td id="LC1728" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : <span class="code-literal">null</span>;
+</code></td></tr><tr><td id="L1729" class="css-a4x74f"><span>1729</span></td><td id="LC1729" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> data = {
+</code></td></tr><tr><td id="L1730" class="css-a4x74f"><span>1730</span></td><td id="LC1730" class="css-1dcdqdg"><code> x: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L1731" class="css-a4x74f"><span>1731</span></td><td id="LC1731" class="css-1dcdqdg"><code> y: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L1732" class="css-a4x74f"><span>1732</span></td><td id="LC1732" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1733" class="css-a4x74f"><span>1733</span></td><td id="LC1733" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1734" class="css-a4x74f"><span>1734</span></td><td id="LC1734" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!popperOffsets) {
+</code></td></tr><tr><td id="L1735" class="css-a4x74f"><span>1735</span></td><td id="LC1735" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1736" class="css-a4x74f"><span>1736</span></td><td id="LC1736" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1737" class="css-a4x74f"><span>1737</span></td><td id="LC1737" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1738" class="css-a4x74f"><span>1738</span></td><td id="LC1738" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (checkMainAxis) {
+</code></td></tr><tr><td id="L1739" class="css-a4x74f"><span>1739</span></td><td id="LC1739" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _offsetModifierState$;
+</code></td></tr><tr><td id="L1740" class="css-a4x74f"><span>1740</span></td><td id="LC1740" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1741" class="css-a4x74f"><span>1741</span></td><td id="LC1741" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> mainSide = mainAxis === <span class="code-string">'y'</span> ? top : left;
+</code></td></tr><tr><td id="L1742" class="css-a4x74f"><span>1742</span></td><td id="LC1742" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> altSide = mainAxis === <span class="code-string">'y'</span> ? bottom : right;
+</code></td></tr><tr><td id="L1743" class="css-a4x74f"><span>1743</span></td><td id="LC1743" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> len = mainAxis === <span class="code-string">'y'</span> ? <span class="code-string">'height'</span> : <span class="code-string">'width'</span>;
+</code></td></tr><tr><td id="L1744" class="css-a4x74f"><span>1744</span></td><td id="LC1744" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offset = popperOffsets[mainAxis];
+</code></td></tr><tr><td id="L1745" class="css-a4x74f"><span>1745</span></td><td id="LC1745" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> min$<span class="code-number">1</span> = offset + overflow[mainSide];
+</code></td></tr><tr><td id="L1746" class="css-a4x74f"><span>1746</span></td><td id="LC1746" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> max$<span class="code-number">1</span> = offset - overflow[altSide];
+</code></td></tr><tr><td id="L1747" class="css-a4x74f"><span>1747</span></td><td id="LC1747" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> additive = tether ? -popperRect[len] / <span class="code-number">2</span> : <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1748" class="css-a4x74f"><span>1748</span></td><td id="LC1748" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> minLen = variation === start ? referenceRect[len] : popperRect[len];
+</code></td></tr><tr><td id="L1749" class="css-a4x74f"><span>1749</span></td><td id="LC1749" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; <span class="code-comment">// We need to include the arrow in the calculation so the arrow doesn't go</span>
+</code></td></tr><tr><td id="L1750" class="css-a4x74f"><span>1750</span></td><td id="LC1750" class="css-1dcdqdg"><code> <span class="code-comment">// outside the reference bounds</span>
+</code></td></tr><tr><td id="L1751" class="css-a4x74f"><span>1751</span></td><td id="LC1751" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1752" class="css-a4x74f"><span>1752</span></td><td id="LC1752" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowElement = state.elements.arrow;
+</code></td></tr><tr><td id="L1753" class="css-a4x74f"><span>1753</span></td><td id="LC1753" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowRect = tether &amp;&amp; arrowElement ? getLayoutRect(arrowElement) : {
+</code></td></tr><tr><td id="L1754" class="css-a4x74f"><span>1754</span></td><td id="LC1754" class="css-1dcdqdg"><code> width: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L1755" class="css-a4x74f"><span>1755</span></td><td id="LC1755" class="css-1dcdqdg"><code> height: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L1756" class="css-a4x74f"><span>1756</span></td><td id="LC1756" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1757" class="css-a4x74f"><span>1757</span></td><td id="LC1757" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowPaddingObject = state.modifiersData[<span class="code-string">'arrow#persistent'</span>] ? state.modifiersData[<span class="code-string">'arrow#persistent'</span>].padding : getFreshSideObject();
+</code></td></tr><tr><td id="L1758" class="css-a4x74f"><span>1758</span></td><td id="LC1758" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowPaddingMin = arrowPaddingObject[mainSide];
+</code></td></tr><tr><td id="L1759" class="css-a4x74f"><span>1759</span></td><td id="LC1759" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowPaddingMax = arrowPaddingObject[altSide]; <span class="code-comment">// If the reference length is smaller than the arrow length, we don't want</span>
+</code></td></tr><tr><td id="L1760" class="css-a4x74f"><span>1760</span></td><td id="LC1760" class="css-1dcdqdg"><code> <span class="code-comment">// to include its full size in the calculation. If the reference is small</span>
+</code></td></tr><tr><td id="L1761" class="css-a4x74f"><span>1761</span></td><td id="LC1761" class="css-1dcdqdg"><code> <span class="code-comment">// and near the edge of a boundary, the popper can overflow even if the</span>
+</code></td></tr><tr><td id="L1762" class="css-a4x74f"><span>1762</span></td><td id="LC1762" class="css-1dcdqdg"><code> <span class="code-comment">// reference is not overflowing as well (e.g. virtual elements with no</span>
+</code></td></tr><tr><td id="L1763" class="css-a4x74f"><span>1763</span></td><td id="LC1763" class="css-1dcdqdg"><code> <span class="code-comment">// width or height)</span>
+</code></td></tr><tr><td id="L1764" class="css-a4x74f"><span>1764</span></td><td id="LC1764" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1765" class="css-a4x74f"><span>1765</span></td><td id="LC1765" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowLen = within(<span class="code-number">0</span>, referenceRect[len], arrowRect[len]);
+</code></td></tr><tr><td id="L1766" class="css-a4x74f"><span>1766</span></td><td id="LC1766" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> minOffset = isBasePlacement ? referenceRect[len] / <span class="code-number">2</span> - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
+</code></td></tr><tr><td id="L1767" class="css-a4x74f"><span>1767</span></td><td id="LC1767" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> maxOffset = isBasePlacement ? -referenceRect[len] / <span class="code-number">2</span> + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
+</code></td></tr><tr><td id="L1768" class="css-a4x74f"><span>1768</span></td><td id="LC1768" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowOffsetParent = state.elements.arrow &amp;&amp; getOffsetParent(state.elements.arrow);
+</code></td></tr><tr><td id="L1769" class="css-a4x74f"><span>1769</span></td><td id="LC1769" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clientOffset = arrowOffsetParent ? mainAxis === <span class="code-string">'y'</span> ? arrowOffsetParent.clientTop || <span class="code-number">0</span> : arrowOffsetParent.clientLeft || <span class="code-number">0</span> : <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1770" class="css-a4x74f"><span>1770</span></td><td id="LC1770" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offsetModifierValue = (_offsetModifierState$ = offsetModifierState == <span class="code-literal">null</span> ? <span class="code-keyword">void</span> <span class="code-number">0</span> : offsetModifierState[mainAxis]) != <span class="code-literal">null</span> ? _offsetModifierState$ : <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1771" class="css-a4x74f"><span>1771</span></td><td id="LC1771" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
+</code></td></tr><tr><td id="L1772" class="css-a4x74f"><span>1772</span></td><td id="LC1772" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> tetherMax = offset + maxOffset - offsetModifierValue;
+</code></td></tr><tr><td id="L1773" class="css-a4x74f"><span>1773</span></td><td id="LC1773" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> preventedOffset = within(tether ? min(min$<span class="code-number">1</span>, tetherMin) : min$<span class="code-number">1</span>, offset, tether ? max(max$<span class="code-number">1</span>, tetherMax) : max$<span class="code-number">1</span>);
+</code></td></tr><tr><td id="L1774" class="css-a4x74f"><span>1774</span></td><td id="LC1774" class="css-1dcdqdg"><code> popperOffsets[mainAxis] = preventedOffset;
+</code></td></tr><tr><td id="L1775" class="css-a4x74f"><span>1775</span></td><td id="LC1775" class="css-1dcdqdg"><code> data[mainAxis] = preventedOffset - offset;
+</code></td></tr><tr><td id="L1776" class="css-a4x74f"><span>1776</span></td><td id="LC1776" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1777" class="css-a4x74f"><span>1777</span></td><td id="LC1777" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1778" class="css-a4x74f"><span>1778</span></td><td id="LC1778" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (checkAltAxis) {
+</code></td></tr><tr><td id="L1779" class="css-a4x74f"><span>1779</span></td><td id="LC1779" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _offsetModifierState$<span class="code-number">2</span>;
+</code></td></tr><tr><td id="L1780" class="css-a4x74f"><span>1780</span></td><td id="LC1780" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1781" class="css-a4x74f"><span>1781</span></td><td id="LC1781" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _mainSide = mainAxis === <span class="code-string">'x'</span> ? top : left;
+</code></td></tr><tr><td id="L1782" class="css-a4x74f"><span>1782</span></td><td id="LC1782" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1783" class="css-a4x74f"><span>1783</span></td><td id="LC1783" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _altSide = mainAxis === <span class="code-string">'x'</span> ? bottom : right;
+</code></td></tr><tr><td id="L1784" class="css-a4x74f"><span>1784</span></td><td id="LC1784" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1785" class="css-a4x74f"><span>1785</span></td><td id="LC1785" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _offset = popperOffsets[altAxis];
+</code></td></tr><tr><td id="L1786" class="css-a4x74f"><span>1786</span></td><td id="LC1786" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1787" class="css-a4x74f"><span>1787</span></td><td id="LC1787" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _len = altAxis === <span class="code-string">'y'</span> ? <span class="code-string">'height'</span> : <span class="code-string">'width'</span>;
+</code></td></tr><tr><td id="L1788" class="css-a4x74f"><span>1788</span></td><td id="LC1788" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1789" class="css-a4x74f"><span>1789</span></td><td id="LC1789" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _min = _offset + overflow[_mainSide];
+</code></td></tr><tr><td id="L1790" class="css-a4x74f"><span>1790</span></td><td id="LC1790" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1791" class="css-a4x74f"><span>1791</span></td><td id="LC1791" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _max = _offset - overflow[_altSide];
+</code></td></tr><tr><td id="L1792" class="css-a4x74f"><span>1792</span></td><td id="LC1792" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1793" class="css-a4x74f"><span>1793</span></td><td id="LC1793" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isOriginSide = [top, left].indexOf(basePlacement) !== <span class="code-number">-1</span>;
+</code></td></tr><tr><td id="L1794" class="css-a4x74f"><span>1794</span></td><td id="LC1794" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1795" class="css-a4x74f"><span>1795</span></td><td id="LC1795" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _offsetModifierValue = (_offsetModifierState$<span class="code-number">2</span> = offsetModifierState == <span class="code-literal">null</span> ? <span class="code-keyword">void</span> <span class="code-number">0</span> : offsetModifierState[altAxis]) != <span class="code-literal">null</span> ? _offsetModifierState$<span class="code-number">2</span> : <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1796" class="css-a4x74f"><span>1796</span></td><td id="LC1796" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1797" class="css-a4x74f"><span>1797</span></td><td id="LC1797" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
+</code></td></tr><tr><td id="L1798" class="css-a4x74f"><span>1798</span></td><td id="LC1798" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1799" class="css-a4x74f"><span>1799</span></td><td id="LC1799" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
+</code></td></tr><tr><td id="L1800" class="css-a4x74f"><span>1800</span></td><td id="LC1800" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1801" class="css-a4x74f"><span>1801</span></td><td id="LC1801" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _preventedOffset = tether &amp;&amp; isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
+</code></td></tr><tr><td id="L1802" class="css-a4x74f"><span>1802</span></td><td id="LC1802" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1803" class="css-a4x74f"><span>1803</span></td><td id="LC1803" class="css-1dcdqdg"><code> popperOffsets[altAxis] = _preventedOffset;
+</code></td></tr><tr><td id="L1804" class="css-a4x74f"><span>1804</span></td><td id="LC1804" class="css-1dcdqdg"><code> data[altAxis] = _preventedOffset - _offset;
+</code></td></tr><tr><td id="L1805" class="css-a4x74f"><span>1805</span></td><td id="LC1805" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1806" class="css-a4x74f"><span>1806</span></td><td id="LC1806" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1807" class="css-a4x74f"><span>1807</span></td><td id="LC1807" class="css-1dcdqdg"><code> state.modifiersData[name] = data;
+</code></td></tr><tr><td id="L1808" class="css-a4x74f"><span>1808</span></td><td id="LC1808" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1809" class="css-a4x74f"><span>1809</span></td><td id="LC1809" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1810" class="css-a4x74f"><span>1810</span></td><td id="LC1810" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1811" class="css-a4x74f"><span>1811</span></td><td id="LC1811" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> preventOverflow$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1812" class="css-a4x74f"><span>1812</span></td><td id="LC1812" class="css-1dcdqdg"><code> name: <span class="code-string">'preventOverflow'</span>,
+</code></td></tr><tr><td id="L1813" class="css-a4x74f"><span>1813</span></td><td id="LC1813" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1814" class="css-a4x74f"><span>1814</span></td><td id="LC1814" class="css-1dcdqdg"><code> phase: <span class="code-string">'main'</span>,
+</code></td></tr><tr><td id="L1815" class="css-a4x74f"><span>1815</span></td><td id="LC1815" class="css-1dcdqdg"><code> fn: preventOverflow,
+</code></td></tr><tr><td id="L1816" class="css-a4x74f"><span>1816</span></td><td id="LC1816" class="css-1dcdqdg"><code> requiresIfExists: [<span class="code-string">'offset'</span>]
+</code></td></tr><tr><td id="L1817" class="css-a4x74f"><span>1817</span></td><td id="LC1817" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1818" class="css-a4x74f"><span>1818</span></td><td id="LC1818" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1819" class="css-a4x74f"><span>1819</span></td><td id="LC1819" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> toPaddingObject = <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">toPaddingObject</span>(<span class="code-params">padding, state</span>) </span>{
+</code></td></tr><tr><td id="L1820" class="css-a4x74f"><span>1820</span></td><td id="LC1820" class="css-1dcdqdg"><code> padding = <span class="code-keyword">typeof</span> padding === <span class="code-string">'function'</span> ? padding(<span class="code-built_in">Object</span>.assign({}, state.rects, {
+</code></td></tr><tr><td id="L1821" class="css-a4x74f"><span>1821</span></td><td id="LC1821" class="css-1dcdqdg"><code> placement: state.placement
+</code></td></tr><tr><td id="L1822" class="css-a4x74f"><span>1822</span></td><td id="LC1822" class="css-1dcdqdg"><code> })) : padding;
+</code></td></tr><tr><td id="L1823" class="css-a4x74f"><span>1823</span></td><td id="LC1823" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> mergePaddingObject(<span class="code-keyword">typeof</span> padding !== <span class="code-string">'number'</span> ? padding : expandToHashMap(padding, basePlacements));
+</code></td></tr><tr><td id="L1824" class="css-a4x74f"><span>1824</span></td><td id="LC1824" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1825" class="css-a4x74f"><span>1825</span></td><td id="LC1825" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1826" class="css-a4x74f"><span>1826</span></td><td id="LC1826" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">arrow</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1827" class="css-a4x74f"><span>1827</span></td><td id="LC1827" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _state$modifiersData$;
+</code></td></tr><tr><td id="L1828" class="css-a4x74f"><span>1828</span></td><td id="LC1828" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1829" class="css-a4x74f"><span>1829</span></td><td id="LC1829" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state,
+</code></td></tr><tr><td id="L1830" class="css-a4x74f"><span>1830</span></td><td id="LC1830" class="css-1dcdqdg"><code> name = _ref.name,
+</code></td></tr><tr><td id="L1831" class="css-a4x74f"><span>1831</span></td><td id="LC1831" class="css-1dcdqdg"><code> options = _ref.options;
+</code></td></tr><tr><td id="L1832" class="css-a4x74f"><span>1832</span></td><td id="LC1832" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowElement = state.elements.arrow;
+</code></td></tr><tr><td id="L1833" class="css-a4x74f"><span>1833</span></td><td id="LC1833" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperOffsets = state.modifiersData.popperOffsets;
+</code></td></tr><tr><td id="L1834" class="css-a4x74f"><span>1834</span></td><td id="LC1834" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> basePlacement = getBasePlacement(state.placement);
+</code></td></tr><tr><td id="L1835" class="css-a4x74f"><span>1835</span></td><td id="LC1835" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> axis = getMainAxisFromPlacement(basePlacement);
+</code></td></tr><tr><td id="L1836" class="css-a4x74f"><span>1836</span></td><td id="LC1836" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isVertical = [left, right].indexOf(basePlacement) &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1837" class="css-a4x74f"><span>1837</span></td><td id="LC1837" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> len = isVertical ? <span class="code-string">'height'</span> : <span class="code-string">'width'</span>;
+</code></td></tr><tr><td id="L1838" class="css-a4x74f"><span>1838</span></td><td id="LC1838" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1839" class="css-a4x74f"><span>1839</span></td><td id="LC1839" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!arrowElement || !popperOffsets) {
+</code></td></tr><tr><td id="L1840" class="css-a4x74f"><span>1840</span></td><td id="LC1840" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1841" class="css-a4x74f"><span>1841</span></td><td id="LC1841" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1842" class="css-a4x74f"><span>1842</span></td><td id="LC1842" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1843" class="css-a4x74f"><span>1843</span></td><td id="LC1843" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> paddingObject = toPaddingObject(options.padding, state);
+</code></td></tr><tr><td id="L1844" class="css-a4x74f"><span>1844</span></td><td id="LC1844" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowRect = getLayoutRect(arrowElement);
+</code></td></tr><tr><td id="L1845" class="css-a4x74f"><span>1845</span></td><td id="LC1845" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> minProp = axis === <span class="code-string">'y'</span> ? top : left;
+</code></td></tr><tr><td id="L1846" class="css-a4x74f"><span>1846</span></td><td id="LC1846" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> maxProp = axis === <span class="code-string">'y'</span> ? bottom : right;
+</code></td></tr><tr><td id="L1847" class="css-a4x74f"><span>1847</span></td><td id="LC1847" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
+</code></td></tr><tr><td id="L1848" class="css-a4x74f"><span>1848</span></td><td id="LC1848" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> startDiff = popperOffsets[axis] - state.rects.reference[axis];
+</code></td></tr><tr><td id="L1849" class="css-a4x74f"><span>1849</span></td><td id="LC1849" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrowOffsetParent = getOffsetParent(arrowElement);
+</code></td></tr><tr><td id="L1850" class="css-a4x74f"><span>1850</span></td><td id="LC1850" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> clientSize = arrowOffsetParent ? axis === <span class="code-string">'y'</span> ? arrowOffsetParent.clientHeight || <span class="code-number">0</span> : arrowOffsetParent.clientWidth || <span class="code-number">0</span> : <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1851" class="css-a4x74f"><span>1851</span></td><td id="LC1851" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> centerToReference = endDiff / <span class="code-number">2</span> - startDiff / <span class="code-number">2</span>; <span class="code-comment">// Make sure the arrow doesn't overflow the popper if the center point is</span>
+</code></td></tr><tr><td id="L1852" class="css-a4x74f"><span>1852</span></td><td id="LC1852" class="css-1dcdqdg"><code> <span class="code-comment">// outside of the popper bounds</span>
+</code></td></tr><tr><td id="L1853" class="css-a4x74f"><span>1853</span></td><td id="LC1853" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1854" class="css-a4x74f"><span>1854</span></td><td id="LC1854" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> min = paddingObject[minProp];
+</code></td></tr><tr><td id="L1855" class="css-a4x74f"><span>1855</span></td><td id="LC1855" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> max = clientSize - arrowRect[len] - paddingObject[maxProp];
+</code></td></tr><tr><td id="L1856" class="css-a4x74f"><span>1856</span></td><td id="LC1856" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> center = clientSize / <span class="code-number">2</span> - arrowRect[len] / <span class="code-number">2</span> + centerToReference;
+</code></td></tr><tr><td id="L1857" class="css-a4x74f"><span>1857</span></td><td id="LC1857" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> offset = within(min, center, max); <span class="code-comment">// Prevents breaking syntax highlighting...</span>
+</code></td></tr><tr><td id="L1858" class="css-a4x74f"><span>1858</span></td><td id="LC1858" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1859" class="css-a4x74f"><span>1859</span></td><td id="LC1859" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> axisProp = axis;
+</code></td></tr><tr><td id="L1860" class="css-a4x74f"><span>1860</span></td><td id="LC1860" class="css-1dcdqdg"><code> state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
+</code></td></tr><tr><td id="L1861" class="css-a4x74f"><span>1861</span></td><td id="LC1861" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1862" class="css-a4x74f"><span>1862</span></td><td id="LC1862" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1863" class="css-a4x74f"><span>1863</span></td><td id="LC1863" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">effect</span>(<span class="code-params">_ref2</span>) </span>{
+</code></td></tr><tr><td id="L1864" class="css-a4x74f"><span>1864</span></td><td id="LC1864" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref2.state,
+</code></td></tr><tr><td id="L1865" class="css-a4x74f"><span>1865</span></td><td id="LC1865" class="css-1dcdqdg"><code> options = _ref2.options;
+</code></td></tr><tr><td id="L1866" class="css-a4x74f"><span>1866</span></td><td id="LC1866" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> _options$element = options.element,
+</code></td></tr><tr><td id="L1867" class="css-a4x74f"><span>1867</span></td><td id="LC1867" class="css-1dcdqdg"><code> arrowElement = _options$element === <span class="code-keyword">void</span> <span class="code-number">0</span> ? <span class="code-string">'[data-popper-arrow]'</span> : _options$element;
+</code></td></tr><tr><td id="L1868" class="css-a4x74f"><span>1868</span></td><td id="LC1868" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1869" class="css-a4x74f"><span>1869</span></td><td id="LC1869" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (arrowElement == <span class="code-literal">null</span>) {
+</code></td></tr><tr><td id="L1870" class="css-a4x74f"><span>1870</span></td><td id="LC1870" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1871" class="css-a4x74f"><span>1871</span></td><td id="LC1871" class="css-1dcdqdg"><code> } <span class="code-comment">// CSS selector</span>
+</code></td></tr><tr><td id="L1872" class="css-a4x74f"><span>1872</span></td><td id="LC1872" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1873" class="css-a4x74f"><span>1873</span></td><td id="LC1873" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1874" class="css-a4x74f"><span>1874</span></td><td id="LC1874" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (<span class="code-keyword">typeof</span> arrowElement === <span class="code-string">'string'</span>) {
+</code></td></tr><tr><td id="L1875" class="css-a4x74f"><span>1875</span></td><td id="LC1875" class="css-1dcdqdg"><code> arrowElement = state.elements.popper.querySelector(arrowElement);
+</code></td></tr><tr><td id="L1876" class="css-a4x74f"><span>1876</span></td><td id="LC1876" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1877" class="css-a4x74f"><span>1877</span></td><td id="LC1877" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!arrowElement) {
+</code></td></tr><tr><td id="L1878" class="css-a4x74f"><span>1878</span></td><td id="LC1878" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1879" class="css-a4x74f"><span>1879</span></td><td id="LC1879" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1880" class="css-a4x74f"><span>1880</span></td><td id="LC1880" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1881" class="css-a4x74f"><span>1881</span></td><td id="LC1881" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1882" class="css-a4x74f"><span>1882</span></td><td id="LC1882" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L1883" class="css-a4x74f"><span>1883</span></td><td id="LC1883" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!isHTMLElement(arrowElement)) {
+</code></td></tr><tr><td id="L1884" class="css-a4x74f"><span>1884</span></td><td id="LC1884" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error([<span class="code-string">'Popper: "arrow" element must be an HTMLElement (not an SVGElement).'</span>, <span class="code-string">'To use an SVG arrow, wrap it in an HTMLElement that will be used as'</span>, <span class="code-string">'the arrow.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L1885" class="css-a4x74f"><span>1885</span></td><td id="LC1885" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1886" class="css-a4x74f"><span>1886</span></td><td id="LC1886" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1887" class="css-a4x74f"><span>1887</span></td><td id="LC1887" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1888" class="css-a4x74f"><span>1888</span></td><td id="LC1888" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (!contains(state.elements.popper, arrowElement)) {
+</code></td></tr><tr><td id="L1889" class="css-a4x74f"><span>1889</span></td><td id="LC1889" class="css-1dcdqdg"><code> {
+</code></td></tr><tr><td id="L1890" class="css-a4x74f"><span>1890</span></td><td id="LC1890" class="css-1dcdqdg"><code> <span class="code-built_in">console</span>.error([<span class="code-string">'Popper: "arrow" modifier\'s `element` must be a child of the popper'</span>, <span class="code-string">'element.'</span>].join(<span class="code-string">' '</span>));
+</code></td></tr><tr><td id="L1891" class="css-a4x74f"><span>1891</span></td><td id="LC1891" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1892" class="css-a4x74f"><span>1892</span></td><td id="LC1892" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1893" class="css-a4x74f"><span>1893</span></td><td id="LC1893" class="css-1dcdqdg"><code> <span class="code-keyword">return</span>;
+</code></td></tr><tr><td id="L1894" class="css-a4x74f"><span>1894</span></td><td id="LC1894" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1895" class="css-a4x74f"><span>1895</span></td><td id="LC1895" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1896" class="css-a4x74f"><span>1896</span></td><td id="LC1896" class="css-1dcdqdg"><code> state.elements.arrow = arrowElement;
+</code></td></tr><tr><td id="L1897" class="css-a4x74f"><span>1897</span></td><td id="LC1897" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1898" class="css-a4x74f"><span>1898</span></td><td id="LC1898" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1899" class="css-a4x74f"><span>1899</span></td><td id="LC1899" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1900" class="css-a4x74f"><span>1900</span></td><td id="LC1900" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> arrow$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1901" class="css-a4x74f"><span>1901</span></td><td id="LC1901" class="css-1dcdqdg"><code> name: <span class="code-string">'arrow'</span>,
+</code></td></tr><tr><td id="L1902" class="css-a4x74f"><span>1902</span></td><td id="LC1902" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1903" class="css-a4x74f"><span>1903</span></td><td id="LC1903" class="css-1dcdqdg"><code> phase: <span class="code-string">'main'</span>,
+</code></td></tr><tr><td id="L1904" class="css-a4x74f"><span>1904</span></td><td id="LC1904" class="css-1dcdqdg"><code> fn: arrow,
+</code></td></tr><tr><td id="L1905" class="css-a4x74f"><span>1905</span></td><td id="LC1905" class="css-1dcdqdg"><code> effect: effect,
+</code></td></tr><tr><td id="L1906" class="css-a4x74f"><span>1906</span></td><td id="LC1906" class="css-1dcdqdg"><code> requires: [<span class="code-string">'popperOffsets'</span>],
+</code></td></tr><tr><td id="L1907" class="css-a4x74f"><span>1907</span></td><td id="LC1907" class="css-1dcdqdg"><code> requiresIfExists: [<span class="code-string">'preventOverflow'</span>]
+</code></td></tr><tr><td id="L1908" class="css-a4x74f"><span>1908</span></td><td id="LC1908" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1909" class="css-a4x74f"><span>1909</span></td><td id="LC1909" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1910" class="css-a4x74f"><span>1910</span></td><td id="LC1910" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">getSideOffsets</span>(<span class="code-params">overflow, rect, preventedOffsets</span>) </span>{
+</code></td></tr><tr><td id="L1911" class="css-a4x74f"><span>1911</span></td><td id="LC1911" class="css-1dcdqdg"><code> <span class="code-keyword">if</span> (preventedOffsets === <span class="code-keyword">void</span> <span class="code-number">0</span>) {
+</code></td></tr><tr><td id="L1912" class="css-a4x74f"><span>1912</span></td><td id="LC1912" class="css-1dcdqdg"><code> preventedOffsets = {
+</code></td></tr><tr><td id="L1913" class="css-a4x74f"><span>1913</span></td><td id="LC1913" class="css-1dcdqdg"><code> x: <span class="code-number">0</span>,
+</code></td></tr><tr><td id="L1914" class="css-a4x74f"><span>1914</span></td><td id="LC1914" class="css-1dcdqdg"><code> y: <span class="code-number">0</span>
+</code></td></tr><tr><td id="L1915" class="css-a4x74f"><span>1915</span></td><td id="LC1915" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1916" class="css-a4x74f"><span>1916</span></td><td id="LC1916" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1917" class="css-a4x74f"><span>1917</span></td><td id="LC1917" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1918" class="css-a4x74f"><span>1918</span></td><td id="LC1918" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> {
+</code></td></tr><tr><td id="L1919" class="css-a4x74f"><span>1919</span></td><td id="LC1919" class="css-1dcdqdg"><code> top: overflow.top - rect.height - preventedOffsets.y,
+</code></td></tr><tr><td id="L1920" class="css-a4x74f"><span>1920</span></td><td id="LC1920" class="css-1dcdqdg"><code> right: overflow.right - rect.width + preventedOffsets.x,
+</code></td></tr><tr><td id="L1921" class="css-a4x74f"><span>1921</span></td><td id="LC1921" class="css-1dcdqdg"><code> bottom: overflow.bottom - rect.height + preventedOffsets.y,
+</code></td></tr><tr><td id="L1922" class="css-a4x74f"><span>1922</span></td><td id="LC1922" class="css-1dcdqdg"><code> left: overflow.left - rect.width - preventedOffsets.x
+</code></td></tr><tr><td id="L1923" class="css-a4x74f"><span>1923</span></td><td id="LC1923" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1924" class="css-a4x74f"><span>1924</span></td><td id="LC1924" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1925" class="css-a4x74f"><span>1925</span></td><td id="LC1925" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1926" class="css-a4x74f"><span>1926</span></td><td id="LC1926" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">isAnySideFullyClipped</span>(<span class="code-params">overflow</span>) </span>{
+</code></td></tr><tr><td id="L1927" class="css-a4x74f"><span>1927</span></td><td id="LC1927" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> [top, right, bottom, left].some(<span class="code-function"><span class="code-keyword">function</span> (<span class="code-params">side</span>) </span>{
+</code></td></tr><tr><td id="L1928" class="css-a4x74f"><span>1928</span></td><td id="LC1928" class="css-1dcdqdg"><code> <span class="code-keyword">return</span> overflow[side] &gt;= <span class="code-number">0</span>;
+</code></td></tr><tr><td id="L1929" class="css-a4x74f"><span>1929</span></td><td id="LC1929" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1930" class="css-a4x74f"><span>1930</span></td><td id="LC1930" class="css-1dcdqdg"><code> }
+</code></td></tr><tr><td id="L1931" class="css-a4x74f"><span>1931</span></td><td id="LC1931" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1932" class="css-a4x74f"><span>1932</span></td><td id="LC1932" class="css-1dcdqdg"><code> <span class="code-function"><span class="code-keyword">function</span> <span class="code-title">hide</span>(<span class="code-params">_ref</span>) </span>{
+</code></td></tr><tr><td id="L1933" class="css-a4x74f"><span>1933</span></td><td id="LC1933" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> state = _ref.state,
+</code></td></tr><tr><td id="L1934" class="css-a4x74f"><span>1934</span></td><td id="LC1934" class="css-1dcdqdg"><code> name = _ref.name;
+</code></td></tr><tr><td id="L1935" class="css-a4x74f"><span>1935</span></td><td id="LC1935" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> referenceRect = state.rects.reference;
+</code></td></tr><tr><td id="L1936" class="css-a4x74f"><span>1936</span></td><td id="LC1936" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperRect = state.rects.popper;
+</code></td></tr><tr><td id="L1937" class="css-a4x74f"><span>1937</span></td><td id="LC1937" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> preventedOffsets = state.modifiersData.preventOverflow;
+</code></td></tr><tr><td id="L1938" class="css-a4x74f"><span>1938</span></td><td id="LC1938" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> referenceOverflow = detectOverflow(state, {
+</code></td></tr><tr><td id="L1939" class="css-a4x74f"><span>1939</span></td><td id="LC1939" class="css-1dcdqdg"><code> elementContext: <span class="code-string">'reference'</span>
+</code></td></tr><tr><td id="L1940" class="css-a4x74f"><span>1940</span></td><td id="LC1940" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1941" class="css-a4x74f"><span>1941</span></td><td id="LC1941" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperAltOverflow = detectOverflow(state, {
+</code></td></tr><tr><td id="L1942" class="css-a4x74f"><span>1942</span></td><td id="LC1942" class="css-1dcdqdg"><code> altBoundary: <span class="code-literal">true</span>
+</code></td></tr><tr><td id="L1943" class="css-a4x74f"><span>1943</span></td><td id="LC1943" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1944" class="css-a4x74f"><span>1944</span></td><td id="LC1944" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
+</code></td></tr><tr><td id="L1945" class="css-a4x74f"><span>1945</span></td><td id="LC1945" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
+</code></td></tr><tr><td id="L1946" class="css-a4x74f"><span>1946</span></td><td id="LC1946" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
+</code></td></tr><tr><td id="L1947" class="css-a4x74f"><span>1947</span></td><td id="LC1947" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
+</code></td></tr><tr><td id="L1948" class="css-a4x74f"><span>1948</span></td><td id="LC1948" class="css-1dcdqdg"><code> state.modifiersData[name] = {
+</code></td></tr><tr><td id="L1949" class="css-a4x74f"><span>1949</span></td><td id="LC1949" class="css-1dcdqdg"><code> referenceClippingOffsets: referenceClippingOffsets,
+</code></td></tr><tr><td id="L1950" class="css-a4x74f"><span>1950</span></td><td id="LC1950" class="css-1dcdqdg"><code> popperEscapeOffsets: popperEscapeOffsets,
+</code></td></tr><tr><td id="L1951" class="css-a4x74f"><span>1951</span></td><td id="LC1951" class="css-1dcdqdg"><code> isReferenceHidden: isReferenceHidden,
+</code></td></tr><tr><td id="L1952" class="css-a4x74f"><span>1952</span></td><td id="LC1952" class="css-1dcdqdg"><code> hasPopperEscaped: hasPopperEscaped
+</code></td></tr><tr><td id="L1953" class="css-a4x74f"><span>1953</span></td><td id="LC1953" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1954" class="css-a4x74f"><span>1954</span></td><td id="LC1954" class="css-1dcdqdg"><code> state.attributes.popper = <span class="code-built_in">Object</span>.assign({}, state.attributes.popper, {
+</code></td></tr><tr><td id="L1955" class="css-a4x74f"><span>1955</span></td><td id="LC1955" class="css-1dcdqdg"><code> <span class="code-string">'data-popper-reference-hidden'</span>: isReferenceHidden,
+</code></td></tr><tr><td id="L1956" class="css-a4x74f"><span>1956</span></td><td id="LC1956" class="css-1dcdqdg"><code> <span class="code-string">'data-popper-escaped'</span>: hasPopperEscaped
+</code></td></tr><tr><td id="L1957" class="css-a4x74f"><span>1957</span></td><td id="LC1957" class="css-1dcdqdg"><code> });
+</code></td></tr><tr><td id="L1958" class="css-a4x74f"><span>1958</span></td><td id="LC1958" class="css-1dcdqdg"><code> } <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1959" class="css-a4x74f"><span>1959</span></td><td id="LC1959" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1960" class="css-a4x74f"><span>1960</span></td><td id="LC1960" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1961" class="css-a4x74f"><span>1961</span></td><td id="LC1961" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> hide$<span class="code-number">1</span> = {
+</code></td></tr><tr><td id="L1962" class="css-a4x74f"><span>1962</span></td><td id="LC1962" class="css-1dcdqdg"><code> name: <span class="code-string">'hide'</span>,
+</code></td></tr><tr><td id="L1963" class="css-a4x74f"><span>1963</span></td><td id="LC1963" class="css-1dcdqdg"><code> enabled: <span class="code-literal">true</span>,
+</code></td></tr><tr><td id="L1964" class="css-a4x74f"><span>1964</span></td><td id="LC1964" class="css-1dcdqdg"><code> phase: <span class="code-string">'main'</span>,
+</code></td></tr><tr><td id="L1965" class="css-a4x74f"><span>1965</span></td><td id="LC1965" class="css-1dcdqdg"><code> requiresIfExists: [<span class="code-string">'preventOverflow'</span>],
+</code></td></tr><tr><td id="L1966" class="css-a4x74f"><span>1966</span></td><td id="LC1966" class="css-1dcdqdg"><code> fn: hide
+</code></td></tr><tr><td id="L1967" class="css-a4x74f"><span>1967</span></td><td id="LC1967" class="css-1dcdqdg"><code> };
+</code></td></tr><tr><td id="L1968" class="css-a4x74f"><span>1968</span></td><td id="LC1968" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1969" class="css-a4x74f"><span>1969</span></td><td id="LC1969" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> defaultModifiers$<span class="code-number">1</span> = [eventListeners, popperOffsets$<span class="code-number">1</span>, computeStyles$<span class="code-number">1</span>, applyStyles$<span class="code-number">1</span>];
+</code></td></tr><tr><td id="L1970" class="css-a4x74f"><span>1970</span></td><td id="LC1970" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> createPopper$<span class="code-number">1</span> = <span class="code-comment">/*#__PURE__*/</span>popperGenerator({
+</code></td></tr><tr><td id="L1971" class="css-a4x74f"><span>1971</span></td><td id="LC1971" class="css-1dcdqdg"><code> defaultModifiers: defaultModifiers$<span class="code-number">1</span>
+</code></td></tr><tr><td id="L1972" class="css-a4x74f"><span>1972</span></td><td id="LC1972" class="css-1dcdqdg"><code> }); <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1973" class="css-a4x74f"><span>1973</span></td><td id="LC1973" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1974" class="css-a4x74f"><span>1974</span></td><td id="LC1974" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> defaultModifiers = [eventListeners, popperOffsets$<span class="code-number">1</span>, computeStyles$<span class="code-number">1</span>, applyStyles$<span class="code-number">1</span>, offset$<span class="code-number">1</span>, flip$<span class="code-number">1</span>, preventOverflow$<span class="code-number">1</span>, arrow$<span class="code-number">1</span>, hide$<span class="code-number">1</span>];
+</code></td></tr><tr><td id="L1975" class="css-a4x74f"><span>1975</span></td><td id="LC1975" class="css-1dcdqdg"><code> <span class="code-keyword">var</span> createPopper = <span class="code-comment">/*#__PURE__*/</span>popperGenerator({
+</code></td></tr><tr><td id="L1976" class="css-a4x74f"><span>1976</span></td><td id="LC1976" class="css-1dcdqdg"><code> defaultModifiers: defaultModifiers
+</code></td></tr><tr><td id="L1977" class="css-a4x74f"><span>1977</span></td><td id="LC1977" class="css-1dcdqdg"><code> }); <span class="code-comment">// eslint-disable-next-line import/no-unused-modules</span>
+</code></td></tr><tr><td id="L1978" class="css-a4x74f"><span>1978</span></td><td id="LC1978" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1979" class="css-a4x74f"><span>1979</span></td><td id="LC1979" class="css-1dcdqdg"><code> exports.applyStyles = applyStyles$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1980" class="css-a4x74f"><span>1980</span></td><td id="LC1980" class="css-1dcdqdg"><code> exports.arrow = arrow$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1981" class="css-a4x74f"><span>1981</span></td><td id="LC1981" class="css-1dcdqdg"><code> exports.computeStyles = computeStyles$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1982" class="css-a4x74f"><span>1982</span></td><td id="LC1982" class="css-1dcdqdg"><code> exports.createPopper = createPopper;
+</code></td></tr><tr><td id="L1983" class="css-a4x74f"><span>1983</span></td><td id="LC1983" class="css-1dcdqdg"><code> exports.createPopperLite = createPopper$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1984" class="css-a4x74f"><span>1984</span></td><td id="LC1984" class="css-1dcdqdg"><code> exports.defaultModifiers = defaultModifiers;
+</code></td></tr><tr><td id="L1985" class="css-a4x74f"><span>1985</span></td><td id="LC1985" class="css-1dcdqdg"><code> exports.detectOverflow = detectOverflow;
+</code></td></tr><tr><td id="L1986" class="css-a4x74f"><span>1986</span></td><td id="LC1986" class="css-1dcdqdg"><code> exports.eventListeners = eventListeners;
+</code></td></tr><tr><td id="L1987" class="css-a4x74f"><span>1987</span></td><td id="LC1987" class="css-1dcdqdg"><code> exports.flip = flip$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1988" class="css-a4x74f"><span>1988</span></td><td id="LC1988" class="css-1dcdqdg"><code> exports.hide = hide$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1989" class="css-a4x74f"><span>1989</span></td><td id="LC1989" class="css-1dcdqdg"><code> exports.offset = offset$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1990" class="css-a4x74f"><span>1990</span></td><td id="LC1990" class="css-1dcdqdg"><code> exports.popperGenerator = popperGenerator;
+</code></td></tr><tr><td id="L1991" class="css-a4x74f"><span>1991</span></td><td id="LC1991" class="css-1dcdqdg"><code> exports.popperOffsets = popperOffsets$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1992" class="css-a4x74f"><span>1992</span></td><td id="LC1992" class="css-1dcdqdg"><code> exports.preventOverflow = preventOverflow$<span class="code-number">1</span>;
+</code></td></tr><tr><td id="L1993" class="css-a4x74f"><span>1993</span></td><td id="LC1993" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1994" class="css-a4x74f"><span>1994</span></td><td id="LC1994" class="css-1dcdqdg"><code> <span class="code-built_in">Object</span>.defineProperty(exports, <span class="code-string">'__esModule'</span>, { <span class="code-attr">value</span>: <span class="code-literal">true</span> });
+</code></td></tr><tr><td id="L1995" class="css-a4x74f"><span>1995</span></td><td id="LC1995" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L1996" class="css-a4x74f"><span>1996</span></td><td id="LC1996" class="css-1dcdqdg"><code>})));
+</code></td></tr><tr><td id="L1997" class="css-a4x74f"><span>1997</span></td><td id="LC1997" class="css-1dcdqdg"><code><span class="code-comment">//# sourceMappingURL=popper.js.map</span>
+</code></td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper.js.map b/web/_static/popperjs/popper.js.map
new file mode 100644
index 0000000..824d0e2
--- /dev/null
+++ b/web/_static/popperjs/popper.js.map
@@ -0,0 +1,65 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:35.910Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper.js.map","target":{"path":"/dist/umd/popper.js.map","type":"file","details":{"contentType":"application/json","integrity":"sha384-Wqjfte0R0577d2JXpRf37Yei3HYo/gizO6aocqXeJ8qiXo/bIXtd9Jy3mz6BTzvp","language":"Source Map (JSON)","size":156255,"uri":null,"highlights":["{<span class=\"code-attr\">\"version\"</span>:<span class=\"code-number\">3</span>,<span class=\"code-attr\">\"file\"</span>:<span class=\"code-string\">\"popper.js\"</span>,<span class=\"code-attr\">\"sources\"</span>:[<span class=\"code-string\">\"../../src/dom-utils/getWindow.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/instanceOf.js\"</span>,<span class=\"code-string\">\"../../src/utils/math.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getBoundingClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getHTMLElementScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScrollBarX.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getComputedStyle.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getCompositeRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getLayoutRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getParentNode.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/listScrollParents.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isTableElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getOffsetParent.js\"</span>,<span class=\"code-string\">\"../../src/enums.js\"</span>,<span class=\"code-string\">\"../../src/utils/orderModifiers.js\"</span>,<span class=\"code-string\">\"../../src/utils/debounce.js\"</span>,<span class=\"code-string\">\"../../src/utils/format.js\"</span>,<span class=\"code-string\">\"../../src/utils/validateModifiers.js\"</span>,<span class=\"code-string\">\"../../src/utils/uniqueBy.js\"</span>,<span class=\"code-string\">\"../../src/utils/getBasePlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergeByName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getViewportRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/contains.js\"</span>,<span class=\"code-string\">\"../../src/utils/rectToClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getClippingRect.js\"</span>,<span class=\"code-string\">\"../../src/utils/getVariation.js\"</span>,<span class=\"code-string\">\"../../src/utils/getMainAxisFromPlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/computeOffsets.js\"</span>,<span class=\"code-string\">\"../../src/utils/getFreshSideObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergePaddingObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/expandToHashMap.js\"</span>,<span class=\"code-string\">\"../../src/utils/detectOverflow.js\"</span>,<span class=\"code-string\">\"../../src/createPopper.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/eventListeners.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/popperOffsets.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/computeStyles.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/applyStyles.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/offset.js\"</span>,<span class=\"code-string\">\"../../src/utils/getOppositePlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/getOppositeVariationPlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/computeAutoPlacement.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/flip.js\"</span>,<span class=\"code-string\">\"../../src/utils/getAltAxis.js\"</span>,<span class=\"code-string\">\"../../src/utils/within.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/preventOverflow.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/arrow.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/hide.js\"</span>,<span class=\"code-string\">\"../../src/popper-lite.js\"</span>,<span class=\"code-string\">\"../../src/popper.js\"</span>],<span class=\"code-attr\">\"sourcesContent\"</span>:[<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\ndeclare function getWindow(node: Node | Window): Window;\\n\\nexport default function getWindow(node) {\\n if (node == null) {\\n return window;\\n }\\n\\n if (node.toString() !== '[object Window]') {\\n const ownerDocument = node.ownerDocument;\\n return ownerDocument ? ownerDocument.defaultView || window : window;\\n }\\n\\n return node;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\\n Element);\\nfunction isElement(node) {\\n const OwnElement = getWindow(node).Element;\\n return node instanceof OwnElement || node instanceof Element;\\n}\\n\\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\\n HTMLElement);\\nfunction isHTMLElement(node) {\\n const OwnElement = getWindow(node).HTMLElement;\\n return node instanceof OwnElement || node instanceof HTMLElement;\\n}\\n\\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\\n ShadowRoot);\\nfunction isShadowRoot(node) {\\n // IE 11 has no ShadowRoot\\n if (typeof ShadowRoot === 'undefined') {\\n return false;\\n }\\n const OwnElement = getWindow(node).ShadowRoot;\\n return node instanceof OwnElement || node instanceof ShadowRoot;\\n}\\n\\nexport { isElement, isHTMLElement, isShadowRoot };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const max = Math.max;\\nexport const min = Math.min;\\nexport const round = Math.round;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject, VirtualElement } from '../types';\\nimport { isHTMLElement } from './instanceOf';\\nimport { round } from '../utils/math';\\n\\nexport default function getBoundingClientRect(\\n element: Element | VirtualElement,\\n includeScale: boolean = false\\n): ClientRectObject {\\n const rect = element.getBoundingClientRect();\\n let scaleX = 1;\\n let scaleY = 1;\\n\\n if (isHTMLElement(element) &amp;&amp; includeScale) {\\n const offsetHeight = element.offsetHeight;\\n const offsetWidth = element.offsetWidth;\\n\\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\\n // Fallback to 1 in case both values are `0`\\n if (offsetWidth &gt; 0) {\\n scaleX = round(rect.width) / offsetWidth || 1;\\n }\\n if (offsetHeight &gt; 0) {\\n scaleY = round(rect.height) / offsetHeight || 1;\\n }\\n }\\n\\n return {\\n width: rect.width / scaleX,\\n height: rect.height / scaleY,\\n top: rect.top / scaleY,\\n right: rect.right / scaleX,\\n bottom: rect.bottom / scaleY,\\n left: rect.left / scaleX,\\n x: rect.left / scaleX,\\n y: rect.top / scaleY,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport type { Window } from '../types';\\n\\nexport default function getWindowScroll(node: Node | Window) {\\n const win = getWindow(node);\\n const scrollLeft = win.pageXOffset;\\n const scrollTop = win.pageYOffset;\\n\\n return {\\n scrollLeft,\\n scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function getHTMLElementScroll(element: HTMLElement) {\\n return {\\n scrollLeft: element.scrollLeft,\\n scrollTop: element.scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindowScroll from './getWindowScroll';\\nimport getWindow from './getWindow';\\nimport { isHTMLElement } from './instanceOf';\\nimport getHTMLElementScroll from './getHTMLElementScroll';\\nimport type { Window } from '../types';\\n\\nexport default function getNodeScroll(node: Node | Window) {\\n if (node === getWindow(node) || !isHTMLElement(node)) {\\n return getWindowScroll(node);\\n } else {\\n return getHTMLElementScroll(node);\\n }\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\n\\nexport default function getNodeName(element: ?Node | Window): ?string {\\n return element ? (element.nodeName || '').toLowerCase() : null;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isElement } from './instanceOf';\\nimport type { Window } from '../types';\\n\\nexport default function getDocumentElement(\\n element: Element | Window\\n): HTMLElement {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return (\\n (isElement(element)\\n ? element.ownerDocument\\n : // $FlowFixMe[prop-missing]\\n element.document) || window.document\\n ).documentElement;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScroll from './getWindowScroll';\\n\\nexport default function getWindowScrollBarX(element: Element): number {\\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\\n // incorrect for RTL.\\n // Popper 1 is broken in this case and never had a bug report so let's assume\\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\\n // anyway.\\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\\n // this (e.g. Edge 2019, IE11, Safari)\\n return (\\n getBoundingClientRect(getDocumentElement(element)).left +\\n getWindowScroll(element).scrollLeft\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\nexport default function getComputedStyle(\\n element: Element\\n): CSSStyleDeclaration {\\n return getWindow(element).getComputedStyle(element);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getComputedStyle from './getComputedStyle';\\n\\nexport default function isScrollParent(element: HTMLElement): boolean {\\n // Firefox wants us to check `-x` and `-y` variations as well\\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, VirtualElement, Window } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getNodeScroll from './getNodeScroll';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getDocumentElement from './getDocumentElement';\\nimport isScrollParent from './isScrollParent';\\nimport { round } from '../utils/math';\\n\\nfunction isElementScaled(element: HTMLElement) {\\n const rect = element.getBoundingClientRect();\\n const scaleX = round(rect.width) / element.offsetWidth || 1;\\n const scaleY = round(rect.height) / element.offsetHeight || 1;\\n\\n return scaleX !== 1 || scaleY !== 1;\\n}\\n\\n// Returns the composite rect of an element relative to its offsetParent.\\n// Composite means it takes into account transforms as well as layout.\\nexport default function getCompositeRect(\\n elementOrVirtualElement: Element | VirtualElement,\\n offsetParent: Element | Window,\\n isFixed: boolean = false\\n): Rect {\\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\\n const offsetParentIsScaled =\\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\\n const documentElement = getDocumentElement(offsetParent);\\n const rect = getBoundingClientRect(\\n elementOrVirtualElement,\\n offsetParentIsScaled\\n );\\n\\n let scroll = { scrollLeft: 0, scrollTop: 0 };\\n let offsets = { x: 0, y: 0 };\\n\\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\\n if (\\n getNodeName(offsetParent) !== 'body' ||\\n // https://github.com/popperjs/popper-core/issues/1078\\n isScrollParent(documentElement)\\n ) {\\n scroll = getNodeScroll(offsetParent);\\n }\\n\\n if (isHTMLElement(offsetParent)) {\\n offsets = getBoundingClientRect(offsetParent, true);\\n offsets.x += offsetParent.clientLeft;\\n offsets.y += offsetParent.clientTop;\\n } else if (documentElement) {\\n offsets.x = getWindowScrollBarX(documentElement);\\n }\\n }\\n\\n return {\\n x: rect.left + scroll.scrollLeft - offsets.x,\\n y: rect.top + scroll.scrollTop - offsets.y,\\n width: rect.width,\\n height: rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\n\\n// Returns the layout rect of an element relative to its offsetParent. Layout\\n// means it doesn't take into account transforms.\\nexport default function getLayoutRect(element: HTMLElement): Rect {\\n const clientRect = getBoundingClientRect(element);\\n\\n // Use the clientRect sizes if it's not been transformed.\\n // Fixes https://github.com/popperjs/popper-core/issues/1223\\n let width = element.offsetWidth;\\n let height = element.offsetHeight;\\n\\n if (Math.abs(clientRect.width - width) &lt;= 1) {\\n width = clientRect.width;\\n }\\n\\n if (Math.abs(clientRect.height - height) &lt;= 1) {\\n height = clientRect.height;\\n }\\n\\n return {\\n x: element.offsetLeft,\\n y: element.offsetTop,\\n width,\\n height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\nimport getDocumentElement from './getDocumentElement';\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function getParentNode(element: Node | ShadowRoot): Node {\\n if (getNodeName(element) === 'html') {\\n return element;\\n }\\n\\n return (\\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\\n // $FlowFixMe[incompatible-return]\\n // $FlowFixMe[prop-missing]\\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\\n element.parentNode || // DOM Element detected\\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\\n getDocumentElement(element) // fallback\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getParentNode from './getParentNode';\\nimport isScrollParent from './isScrollParent';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\n\\nexport default function getScrollParent(node: Node): HTMLElement {\\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return node.ownerDocument.body;\\n }\\n\\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\\n return node;\\n }\\n\\n return getScrollParent(getParentNode(node));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getScrollParent from './getScrollParent';\\nimport getParentNode from './getParentNode';\\nimport getWindow from './getWindow';\\nimport type { Window, VisualViewport } from '../types';\\nimport isScrollParent from './isScrollParent';\\n\\n/*\\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\\nuntil we get to the top window object. This list is what we attach scroll listeners\\nto, because if any of these parent elements scroll, we'll need to re-calculate the\\nreference element's position.\\n*/\\nexport default function listScrollParents(\\n element: Node,\\n list: Array&lt;Element | Window&gt; = []\\n): Array&lt;Element | Window | VisualViewport&gt; {\\n const scrollParent = getScrollParent(element);\\n const isBody = scrollParent === element.ownerDocument?.body;\\n const win = getWindow(scrollParent);\\n const target = isBody\\n ? [win].concat(\\n win.visualViewport || [],\\n isScrollParent(scrollParent) ? scrollParent : []\\n )\\n : scrollParent;\\n const updatedList = list.concat(target);\\n\\n return isBody\\n ? updatedList\\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\\n updatedList.concat(listScrollParents(getParentNode(target)));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\n\\nexport default function isTableElement(element: Element): boolean {\\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getNodeName from './getNodeName';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\\nimport isTableElement from './isTableElement';\\nimport getParentNode from './getParentNode';\\n\\nfunction getTrueOffsetParent(element: Element): ?Element {\\n if (\\n !isHTMLElement(element) ||\\n // https://github.com/popperjs/popper-core/issues/837\\n getComputedStyle(element).position === 'fixed'\\n ) {\\n return null;\\n }\\n\\n return element.offsetParent;\\n}\\n\\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\\n// return the containing block\\nfunction getContainingBlock(element: Element) {\\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\\n\\n if (isIE &amp;&amp; isHTMLElement(element)) {\\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\\n const elementCss = getComputedStyle(element);\\n if (elementCss.position === 'fixed') {\\n return null;\\n }\\n }\\n\\n let currentNode = getParentNode(element);\\n\\n if (isShadowRoot(currentNode)) {\\n currentNode = currentNode.host;\\n }\\n\\n while (\\n isHTMLElement(currentNode) &amp;&amp;\\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\\n ) {\\n const css = getComputedStyle(currentNode);\\n\\n // This is non-exhaustive but covers the most common CSS properties that\\n // create a containing block.\\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\\n if (\\n css.transform !== 'none' ||\\n css.perspective !== 'none' ||\\n css.contain === 'paint' ||\\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\\n ) {\\n return currentNode;\\n } else {\\n currentNode = currentNode.parentNode;\\n }\\n }\\n\\n return null;\\n}\\n\\n// Gets the closest ancestor positioned element. Handles some edge cases,\\n// such as table ancestors and cross browser bugs.\\nexport default function getOffsetParent(element: Element) {\\n const window = getWindow(element);\\n\\n let offsetParent = getTrueOffsetParent(element);\\n\\n while (\\n offsetParent &amp;&amp;\\n isTableElement(offsetParent) &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'\\n ) {\\n offsetParent = getTrueOffsetParent(offsetParent);\\n }\\n\\n if (\\n offsetParent &amp;&amp;\\n (getNodeName(offsetParent) === 'html' ||\\n (getNodeName(offsetParent) === 'body' &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'))\\n ) {\\n return window;\\n }\\n\\n return offsetParent || getContainingBlock(element) || window;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const top: 'top' = 'top';\\nexport const bottom: 'bottom' = 'bottom';\\nexport const right: 'right' = 'right';\\nexport const left: 'left' = 'left';\\nexport const auto: 'auto' = 'auto';\\nexport type BasePlacement =\\n | typeof top\\n | typeof bottom\\n | typeof right\\n | typeof left;\\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\\n\\nexport const start: 'start' = 'start';\\nexport const end: 'end' = 'end';\\nexport type Variation = typeof start | typeof end;\\n\\nexport const clippingParents: 'clippingParents' = 'clippingParents';\\nexport const viewport: 'viewport' = 'viewport';\\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\\nexport type RootBoundary = typeof viewport | 'document';\\n\\nexport const popper: 'popper' = 'popper';\\nexport const reference: 'reference' = 'reference';\\nexport type Context = typeof popper | typeof reference;\\n\\nexport type VariationPlacement =\\n | 'top-start'\\n | 'top-end'\\n | 'bottom-start'\\n | 'bottom-end'\\n | 'right-start'\\n | 'right-end'\\n | 'left-start'\\n | 'left-end';\\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\\n\\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\\n []\\n);\\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\\n (\\n acc: Array&lt;Placement&gt;,\\n placement: BasePlacement | typeof auto\\n ): Array&lt;Placement&gt; =&gt;\\n acc.concat([\\n placement,\\n (`${placement}-${start}`: any),\\n (`${placement}-${end}`: any),\\n ]),\\n []\\n);\\n\\n// modifiers that need to read the DOM\\nexport const beforeRead: 'beforeRead' = 'beforeRead';\\nexport const read: 'read' = 'read';\\nexport const afterRead: 'afterRead' = 'afterRead';\\n// pure-logic modifiers\\nexport const beforeMain: 'beforeMain' = 'beforeMain';\\nexport const main: 'main' = 'main';\\nexport const afterMain: 'afterMain' = 'afterMain';\\n// modifier with the purpose to write to the DOM (or write into a framework state)\\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\\nexport const write: 'write' = 'write';\\nexport const afterWrite: 'afterWrite' = 'afterWrite';\\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\\n beforeRead,\\n read,\\n afterRead,\\n beforeMain,\\n main,\\n afterMain,\\n beforeWrite,\\n write,\\n afterWrite,\\n];\\n\\nexport type ModifierPhases =\\n | typeof beforeRead\\n | typeof read\\n | typeof afterRead\\n | typeof beforeMain\\n | typeof main\\n | typeof afterMain\\n | typeof beforeWrite\\n | typeof write\\n | typeof afterWrite;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\nimport { modifierPhases } from '../enums';\\n\\n// source: https://stackoverflow.com/questions/49875255\\nfunction order(modifiers) {\\n const map = new Map();\\n const visited = new Set();\\n const result = [];\\n\\n modifiers.forEach(modifier =&gt; {\\n map.set(modifier.name, modifier);\\n });\\n\\n // On visiting object, check for its dependencies and visit them recursively\\n function sort(modifier: Modifier&lt;any, any&gt;) {\\n visited.add(modifier.name);\\n\\n const requires = [\\n ...(modifier.requires || []),\\n ...(modifier.requiresIfExists || []),\\n ];\\n\\n requires.forEach(dep =&gt; {\\n if (!visited.has(dep)) {\\n const depModifier = map.get(dep);\\n\\n if (depModifier) {\\n sort(depModifier);\\n }\\n }\\n });\\n\\n result.push(modifier);\\n }\\n\\n modifiers.forEach(modifier =&gt; {\\n if (!visited.has(modifier.name)) {\\n // check for visited object\\n sort(modifier);\\n }\\n });\\n\\n return result;\\n}\\n\\nexport default function orderModifiers(\\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\\n // order based on dependencies\\n const orderedModifiers = order(modifiers);\\n\\n // order based on phase\\n return modifierPhases.reduce((acc, phase) =&gt; {\\n return acc.concat(\\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\\n );\\n }, []);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\\n let pending;\\n return () =&gt; {\\n if (!pending) {\\n pending = new Promise&lt;T&gt;(resolve =&gt; {\\n Promise.resolve().then(() =&gt; {\\n pending = undefined;\\n resolve(fn());\\n });\\n });\\n }\\n\\n return pending;\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function format(str: string, ...args: Array&lt;string&gt;) {\\n return [...args].reduce((p, c) =&gt; p.replace(/%s/, c), str);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport format from './format';\\nimport { modifierPhases } from '../enums';\\n\\nconst INVALID_MODIFIER_ERROR =\\n 'Popper: modifier \\\"%s\\\" provided an invalid %s property, expected %s but got %s';\\nconst MISSING_DEPENDENCY_ERROR =\\n 'Popper: modifier \\\"%s\\\" requires \\\"%s\\\", but \\\"%s\\\" modifier is not available';\\nconst VALID_PROPERTIES = [\\n 'name',\\n 'enabled',\\n 'phase',\\n 'fn',\\n 'effect',\\n 'requires',\\n 'options',\\n];\\n\\nexport default function validateModifiers(modifiers: Array&lt;any&gt;): void {\\n modifiers.forEach((modifier) =&gt; {\\n [...Object.keys(modifier), ...VALID_PROPERTIES]\\n // IE11-compatible replacement for `new Set(iterable)`\\n .filter((value, index, self) =&gt; self.indexOf(value) === index)\\n .forEach((key) =&gt; {\\n switch (key) {\\n case 'name':\\n if (typeof modifier.name !== 'string') {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n String(modifier.name),\\n '\\\"name\\\"',\\n '\\\"string\\\"',\\n `\\\"${String(modifier.name)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'enabled':\\n if (typeof modifier.enabled !== 'boolean') {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"enabled\\\"',\\n '\\\"boolean\\\"',\\n `\\\"${String(modifier.enabled)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'phase':\\n if (modifierPhases.indexOf(modifier.phase) &lt; 0) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"phase\\\"',\\n `either ${modifierPhases.join(', ')}`,\\n `\\\"${String(modifier.phase)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'fn':\\n if (typeof modifier.fn !== 'function') {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"fn\\\"',\\n '\\\"function\\\"',\\n `\\\"${String(modifier.fn)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'effect':\\n if (\\n modifier.effect != null &amp;&amp;\\n typeof modifier.effect !== 'function'\\n ) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"effect\\\"',\\n '\\\"function\\\"',\\n `\\\"${String(modifier.fn)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'requires':\\n if (\\n modifier.requires != null &amp;&amp;\\n !Array.isArray(modifier.requires)\\n ) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"requires\\\"',\\n '\\\"array\\\"',\\n `\\\"${String(modifier.requires)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'requiresIfExists':\\n if (!Array.isArray(modifier.requiresIfExists)) {\\n console.error(\\n format(\\n INVALID_MODIFIER_ERROR,\\n modifier.name,\\n '\\\"requiresIfExists\\\"',\\n '\\\"array\\\"',\\n `\\\"${String(modifier.requiresIfExists)}\\\"`\\n )\\n );\\n }\\n break;\\n case 'options':\\n case 'data':\\n break;\\n default:\\n console.error(\\n `PopperJS: an invalid property has been provided to the \\\"${\\n modifier.name\\n }\\\" modifier, valid properties are ${VALID_PROPERTIES.map(\\n (s) =&gt; `\\\"${s}\\\"`\\n ).join(', ')}; but \\\"${key}\\\" was provided.`\\n );\\n }\\n\\n modifier.requires &amp;&amp;\\n modifier.requires.forEach((requirement) =&gt; {\\n if (modifiers.find((mod) =&gt; mod.name === requirement) == null) {\\n console.error(\\n format(\\n MISSING_DEPENDENCY_ERROR,\\n String(modifier.name),\\n requirement,\\n requirement\\n )\\n );\\n }\\n });\\n });\\n });\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function uniqueBy&lt;T&gt;(arr: Array&lt;T&gt;, fn: T =&gt; any): Array&lt;T&gt; {\\n const identifiers = new Set();\\n\\n return arr.filter(item =&gt; {\\n const identifier = fn(item);\\n\\n if (!identifiers.has(identifier)) {\\n identifiers.add(identifier);\\n return true;\\n }\\n });\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type BasePlacement, type Placement, auto } from '../enums';\\n\\nexport default function getBasePlacement(\\n placement: Placement | typeof auto\\n): BasePlacement {\\n return (placement.split('-')[0]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\n\\nexport default function mergeByName(\\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\\n const merged = modifiers.reduce((merged, current) =&gt; {\\n const existing = merged[current.name];\\n merged[current.name] = existing\\n ? {\\n ...existing,\\n ...current,\\n options: { ...existing.options, ...current.options },\\n data: { ...existing.data, ...current.data },\\n }\\n : current;\\n return merged;\\n }, {});\\n\\n // IE11 does not support Object.values\\n return Object.keys(merged).map(key =&gt; merged[key]);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\n\\nexport default function getViewportRect(element: Element) {\\n const win = getWindow(element);\\n const html = getDocumentElement(element);\\n const visualViewport = win.visualViewport;\\n\\n let width = html.clientWidth;\\n let height = html.clientHeight;\\n let x = 0;\\n let y = 0;\\n\\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\\n // can be obscured underneath it.\\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\\n // if it isn't open, so if this isn't available, the popper will be detected\\n // to overflow the bottom of the screen too early.\\n if (visualViewport) {\\n width = visualViewport.width;\\n height = visualViewport.height;\\n\\n // Uses Layout Viewport (like Chrome; Safari does not currently)\\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\\n // errors due to floating point numbers, so we need to check precision.\\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\\n\\n // Feature detection fails in mobile emulation mode in Chrome.\\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\\n // 0.001\\n // Fallback here: \\\"Not Safari\\\" userAgent\\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\\n x = visualViewport.offsetLeft;\\n y = visualViewport.offsetTop;\\n }\\n }\\n\\n return {\\n width,\\n height,\\n x: x + getWindowScrollBarX(element),\\n y,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getWindowScroll from './getWindowScroll';\\nimport { max } from '../utils/math';\\n\\n// Gets the entire size of the scrollable document area, even extending outside\\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\\nexport default function getDocumentRect(element: HTMLElement): Rect {\\n const html = getDocumentElement(element);\\n const winScroll = getWindowScroll(element);\\n const body = element.ownerDocument?.body;\\n\\n const width = max(\\n html.scrollWidth,\\n html.clientWidth,\\n body ? body.scrollWidth : 0,\\n body ? body.clientWidth : 0\\n );\\n const height = max(\\n html.scrollHeight,\\n html.clientHeight,\\n body ? body.scrollHeight : 0,\\n body ? body.clientHeight : 0\\n );\\n\\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\\n const y = -winScroll.scrollTop;\\n\\n if (getComputedStyle(body || html).direction === 'rtl') {\\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\\n }\\n\\n return { width, height, x, y };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function contains(parent: Element, child: Element) {\\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\\n\\n // First, attempt with faster native method\\n if (parent.contains(child)) {\\n return true;\\n }\\n // then fallback to custom implementation with Shadow DOM support\\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\\n let next = child;\\n do {\\n if (next &amp;&amp; parent.isSameNode(next)) {\\n return true;\\n }\\n // $FlowFixMe[prop-missing]: need a better way to handle this...\\n next = next.parentNode || next.host;\\n } while (next);\\n }\\n\\n // Give up, the result is false\\n return false;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, ClientRectObject } from '../types';\\n\\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\\n return {\\n ...rect,\\n left: rect.x,\\n top: rect.y,\\n right: rect.x + rect.width,\\n bottom: rect.y + rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject } from '../types';\\nimport type { Boundary, RootBoundary } from '../enums';\\nimport { viewport } from '../enums';\\nimport getViewportRect from './getViewportRect';\\nimport getDocumentRect from './getDocumentRect';\\nimport listScrollParents from './listScrollParents';\\nimport getOffsetParent from './getOffsetParent';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isElement, isHTMLElement } from './instanceOf';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getParentNode from './getParentNode';\\nimport contains from './contains';\\nimport getNodeName from './getNodeName';\\nimport rectToClientRect from '../utils/rectToClientRect';\\nimport { max, min } from '../utils/math';\\n\\nfunction getInnerBoundingClientRect(element: Element) {\\n const rect = getBoundingClientRect(element);\\n\\n rect.top = rect.top + element.clientTop;\\n rect.left = rect.left + element.clientLeft;\\n rect.bottom = rect.top + element.clientHeight;\\n rect.right = rect.left + element.clientWidth;\\n rect.width = element.clientWidth;\\n rect.height = element.clientHeight;\\n rect.x = rect.left;\\n rect.y = rect.top;\\n\\n return rect;\\n}\\n\\nfunction getClientRectFromMixedType(\\n element: Element,\\n clippingParent: Element | RootBoundary\\n): ClientRectObject {\\n return clippingParent === viewport\\n ? rectToClientRect(getViewportRect(element))\\n : isElement(clippingParent)\\n ? getInnerBoundingClientRect(clippingParent)\\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\\n}\\n\\n// A \\\"clipping parent\\\" is an overflowable container with the characteristic of\\n// clipping (or hiding) overflowing elements with a position different from\\n// `initial`\\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\\n const clippingParents = listScrollParents(getParentNode(element));\\n const canEscapeClipping =\\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\\n const clipperElement =\\n canEscapeClipping &amp;&amp; isHTMLElement(element)\\n ? getOffsetParent(element)\\n : element;\\n\\n if (!isElement(clipperElement)) {\\n return [];\\n }\\n\\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\\n return clippingParents.filter(\\n (clippingParent) =&gt;\\n isElement(clippingParent) &amp;&amp;\\n contains(clippingParent, clipperElement) &amp;&amp;\\n getNodeName(clippingParent) !== 'body'\\n );\\n}\\n\\n// Gets the maximum area that the element is visible in due to any number of\\n// clipping parents\\nexport default function getClippingRect(\\n element: Element,\\n boundary: Boundary,\\n rootBoundary: RootBoundary\\n): ClientRectObject {\\n const mainClippingParents =\\n boundary === 'clippingParents'\\n ? getClippingParents(element)\\n : [].concat(boundary);\\n const clippingParents = [...mainClippingParents, rootBoundary];\\n const firstClippingParent = clippingParents[0];\\n\\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\\n const rect = getClientRectFromMixedType(element, clippingParent);\\n\\n accRect.top = max(rect.top, accRect.top);\\n accRect.right = min(rect.right, accRect.right);\\n accRect.bottom = min(rect.bottom, accRect.bottom);\\n accRect.left = max(rect.left, accRect.left);\\n\\n return accRect;\\n }, getClientRectFromMixedType(element, firstClippingParent));\\n\\n clippingRect.width = clippingRect.right - clippingRect.left;\\n clippingRect.height = clippingRect.bottom - clippingRect.top;\\n clippingRect.x = clippingRect.left;\\n clippingRect.y = clippingRect.top;\\n\\n return clippingRect;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type Variation, type Placement } from '../enums';\\n\\nexport default function getVariation(placement: Placement): ?Variation {\\n return (placement.split('-')[1]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nexport default function getMainAxisFromPlacement(\\n placement: Placement\\n): 'x' | 'y' {\\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBasePlacement from './getBasePlacement';\\nimport getVariation from './getVariation';\\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\\nimport type {\\n Rect,\\n PositioningStrategy,\\n Offsets,\\n ClientRectObject,\\n} from '../types';\\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\\n\\nexport default function computeOffsets({\\n reference,\\n element,\\n placement,\\n}: {\\n reference: Rect | ClientRectObject,\\n element: Rect | ClientRectObject,\\n strategy: PositioningStrategy,\\n placement?: Placement,\\n}): Offsets {\\n const basePlacement = placement ? getBasePlacement(placement) : null;\\n const variation = placement ? getVariation(placement) : null;\\n const commonX = reference.x + reference.width / 2 - element.width / 2;\\n const commonY = reference.y + reference.height / 2 - element.height / 2;\\n\\n let offsets;\\n switch (basePlacement) {\\n case top:\\n offsets = {\\n x: commonX,\\n y: reference.y - element.height,\\n };\\n break;\\n case bottom:\\n offsets = {\\n x: commonX,\\n y: reference.y + reference.height,\\n };\\n break;\\n case right:\\n offsets = {\\n x: reference.x + reference.width,\\n y: commonY,\\n };\\n break;\\n case left:\\n offsets = {\\n x: reference.x - element.width,\\n y: commonY,\\n };\\n break;\\n default:\\n offsets = {\\n x: reference.x,\\n y: reference.y,\\n };\\n }\\n\\n const mainAxis = basePlacement\\n ? getMainAxisFromPlacement(basePlacement)\\n : null;\\n\\n if (mainAxis != null) {\\n const len = mainAxis === 'y' ? 'height' : 'width';\\n\\n switch (variation) {\\n case start:\\n offsets[mainAxis] =\\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\\n break;\\n case end:\\n offsets[mainAxis] =\\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\\n break;\\n default:\\n }\\n }\\n\\n return offsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\n\\nexport default function getFreshSideObject(): SideObject {\\n return {\\n top: 0,\\n right: 0,\\n bottom: 0,\\n left: 0,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\nimport getFreshSideObject from './getFreshSideObject';\\n\\nexport default function mergePaddingObject(\\n paddingObject: $Shape&lt;SideObject&gt;\\n): SideObject {\\n return {\\n ...getFreshSideObject(),\\n ...paddingObject,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function expandToHashMap&lt;\\n T: number | string | boolean,\\n K: string\\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\\n return keys.reduce((hashMap, key) =&gt; {\\n hashMap[key] = value;\\n return hashMap;\\n }, {});\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { State, SideObject, Padding } from '../types';\\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\\nimport getClippingRect from '../dom-utils/getClippingRect';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\\nimport computeOffsets from './computeOffsets';\\nimport rectToClientRect from './rectToClientRect';\\nimport {\\n clippingParents,\\n reference,\\n popper,\\n bottom,\\n top,\\n right,\\n basePlacements,\\n viewport,\\n} from '../enums';\\nimport { isElement } from '../dom-utils/instanceOf';\\nimport mergePaddingObject from './mergePaddingObject';\\nimport expandToHashMap from './expandToHashMap';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n placement: Placement,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n elementContext: Context,\\n altBoundary: boolean,\\n padding: Padding,\\n};\\n\\nexport default function detectOverflow(\\n state: State,\\n options: $Shape&lt;Options&gt; = {}\\n): SideObject {\\n const {\\n placement = state.placement,\\n boundary = clippingParents,\\n rootBoundary = viewport,\\n elementContext = popper,\\n altBoundary = false,\\n padding = 0,\\n } = options;\\n\\n const paddingObject = mergePaddingObject(\\n typeof padding !== 'number'\\n ? padding\\n : expandToHashMap(padding, basePlacements)\\n );\\n\\n const altContext = elementContext === popper ? reference : popper;\\n\\n const popperRect = state.rects.popper;\\n const element = state.elements[altBoundary ? altContext : elementContext];\\n\\n const clippingClientRect = getClippingRect(\\n isElement(element)\\n ? element\\n : element.contextElement || getDocumentElement(state.elements.popper),\\n boundary,\\n rootBoundary\\n );\\n\\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\\n\\n const popperOffsets = computeOffsets({\\n reference: referenceClientRect,\\n element: popperRect,\\n strategy: 'absolute',\\n placement,\\n });\\n\\n const popperClientRect = rectToClientRect({\\n ...popperRect,\\n ...popperOffsets,\\n });\\n\\n const elementClientRect =\\n elementContext === popper ? popperClientRect : referenceClientRect;\\n\\n // positive = overflowing the clipping rect\\n // 0 or negative = within the clipping rect\\n const overflowOffsets = {\\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\\n bottom:\\n elementClientRect.bottom -\\n clippingClientRect.bottom +\\n paddingObject.bottom,\\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\\n right:\\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\\n };\\n\\n const offsetData = state.modifiersData.offset;\\n\\n // Offsets can be applied only to the popper element\\n if (elementContext === popper &amp;&amp; offsetData) {\\n const offset = offsetData[placement];\\n\\n Object.keys(overflowOffsets).forEach((key) =&gt; {\\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\\n overflowOffsets[key] += offset[axis] * multiply;\\n });\\n }\\n\\n return overflowOffsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n State,\\n OptionsGeneric,\\n Modifier,\\n Instance,\\n VirtualElement,\\n} from './types';\\nimport getCompositeRect from './dom-utils/getCompositeRect';\\nimport getLayoutRect from './dom-utils/getLayoutRect';\\nimport listScrollParents from './dom-utils/listScrollParents';\\nimport getOffsetParent from './dom-utils/getOffsetParent';\\nimport getComputedStyle from './dom-utils/getComputedStyle';\\nimport orderModifiers from './utils/orderModifiers';\\nimport debounce from './utils/debounce';\\nimport validateModifiers from './utils/validateModifiers';\\nimport uniqueBy from './utils/uniqueBy';\\nimport getBasePlacement from './utils/getBasePlacement';\\nimport mergeByName from './utils/mergeByName';\\nimport detectOverflow from './utils/detectOverflow';\\nimport { isElement } from './dom-utils/instanceOf';\\nimport { auto } from './enums';\\n\\nconst INVALID_ELEMENT_ERROR =\\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\\nconst INFINITE_LOOP_ERROR =\\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\\n\\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\\n placement: 'bottom',\\n modifiers: [],\\n strategy: 'absolute',\\n};\\n\\ntype PopperGeneratorArgs = {\\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\\n};\\n\\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\\n return !args.some(\\n (element) =&gt;\\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\\n );\\n}\\n\\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\\n const {\\n defaultModifiers = [],\\n defaultOptions = DEFAULT_OPTIONS,\\n } = generatorOptions;\\n\\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\\n reference: Element | VirtualElement,\\n popper: HTMLElement,\\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\\n ): Instance {\\n let state: $Shape&lt;State&gt; = {\\n placement: 'bottom',\\n orderedModifiers: [],\\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\\n modifiersData: {},\\n elements: {\\n reference,\\n popper,\\n },\\n attributes: {},\\n styles: {},\\n };\\n\\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\\n let isDestroyed = false;\\n\\n const instance = {\\n state,\\n setOptions(setOptionsAction) {\\n const options =\\n typeof setOptionsAction === 'function'\\n ? setOptionsAction(state.options)\\n : setOptionsAction;\\n\\n cleanupModifierEffects();\\n\\n state.options = {\\n // $FlowFixMe[exponential-spread]\\n ...defaultOptions,\\n ...state.options,\\n ...options,\\n };\\n\\n state.scrollParents = {\\n reference: isElement(reference)\\n ? listScrollParents(reference)\\n : reference.contextElement\\n ? listScrollParents(reference.contextElement)\\n : [],\\n popper: listScrollParents(popper),\\n };\\n\\n // Orders the modifiers based on their dependencies and `phase`\\n // properties\\n const orderedModifiers = orderModifiers(\\n mergeByName([...defaultModifiers, ...state.options.modifiers])\\n );\\n\\n // Strip out disabled modifiers\\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\\n\\n // Validate the provided modifiers so that the consumer will get warned\\n // if one of the modifiers is invalid for any reason\\n if (__DEV__) {\\n const modifiers = uniqueBy(\\n [...orderedModifiers, ...state.options.modifiers],\\n ({ name }) =&gt; name\\n );\\n\\n validateModifiers(modifiers);\\n\\n if (getBasePlacement(state.options.placement) === auto) {\\n const flipModifier = state.orderedModifiers.find(\\n ({ name }) =&gt; name === 'flip'\\n );\\n\\n if (!flipModifier) {\\n console.error(\\n [\\n 'Popper: \\\"auto\\\" placements require the \\\"flip\\\" modifier be',\\n 'present and enabled to work.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const {\\n marginTop,\\n marginRight,\\n marginBottom,\\n marginLeft,\\n } = getComputedStyle(popper);\\n\\n // We no longer take into account `margins` on the popper, and it can\\n // cause bugs with positioning, so we'll warn the consumer\\n if (\\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\\n parseFloat(margin)\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: CSS \\\"margin\\\" styles cannot be used to apply padding',\\n 'between the popper and its reference element or boundary.',\\n 'To replicate margin, use the `offset` modifier, as well as',\\n 'the `padding` option in the `preventOverflow` and `flip`',\\n 'modifiers.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n runModifierEffects();\\n\\n return instance.update();\\n },\\n\\n // Sync update \u2013 it will always be executed, even if not necessary. This\\n // is useful for low frequency updates where sync behavior simplifies the\\n // logic.\\n // For high frequency updates (e.g. `resize` and `scroll` events), always\\n // prefer the async Popper#update method\\n forceUpdate() {\\n if (isDestroyed) {\\n return;\\n }\\n\\n const { reference, popper } = state.elements;\\n\\n // Don't proceed if `reference` or `popper` are not valid elements\\n // anymore\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return;\\n }\\n\\n // Store the reference and popper rects to be read by modifiers\\n state.rects = {\\n reference: getCompositeRect(\\n reference,\\n getOffsetParent(popper),\\n state.options.strategy === 'fixed'\\n ),\\n popper: getLayoutRect(popper),\\n };\\n\\n // Modifiers have the ability to reset the current update cycle. The\\n // most common use case for this is the `flip` modifier changing the\\n // placement, which then needs to re-run all the modifiers, because the\\n // logic was previously ran for the previous placement and is therefore\\n // stale/incorrect\\n state.reset = false;\\n\\n state.placement = state.options.placement;\\n\\n // On each update cycle, the `modifiersData` property for each modifier\\n // is filled with the initial data specified by the modifier. This means\\n // it doesn't persist and is fresh on each update.\\n // To ensure persistent data, use `${name}#persistent`\\n state.orderedModifiers.forEach(\\n (modifier) =&gt;\\n (state.modifiersData[modifier.name] = {\\n ...modifier.data,\\n })\\n );\\n\\n let __debug_loops__ = 0;\\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\\n if (__DEV__) {\\n __debug_loops__ += 1;\\n if (__debug_loops__ &gt; 100) {\\n console.error(INFINITE_LOOP_ERROR);\\n break;\\n }\\n }\\n\\n if (state.reset === true) {\\n state.reset = false;\\n index = -1;\\n continue;\\n }\\n\\n const { fn, options = {}, name } = state.orderedModifiers[index];\\n\\n if (typeof fn === 'function') {\\n state = fn({ state, options, name, instance }) || state;\\n }\\n }\\n },\\n\\n // Async and optimistically optimized update \u2013 it will not be executed if\\n // not necessary (debounced to run at most once-per-tick)\\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\\n () =&gt;\\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\\n instance.forceUpdate();\\n resolve(state);\\n })\\n ),\\n\\n destroy() {\\n cleanupModifierEffects();\\n isDestroyed = true;\\n },\\n };\\n\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return instance;\\n }\\n\\n instance.setOptions(options).then((state) =&gt; {\\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\\n options.onFirstUpdate(state);\\n }\\n });\\n\\n // Modifiers have the ability to execute arbitrary code before the first\\n // update cycle runs. They will be executed in the same order as the update\\n // cycle. This is useful when a modifier adds some persistent data that\\n // other modifiers need to use, but the modifier is run after the dependent\\n // one.\\n function runModifierEffects() {\\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\\n if (typeof effect === 'function') {\\n const cleanupFn = effect({ state, name, instance, options });\\n const noopFn = () =&gt; {};\\n effectCleanupFns.push(cleanupFn || noopFn);\\n }\\n });\\n }\\n\\n function cleanupModifierEffects() {\\n effectCleanupFns.forEach((fn) =&gt; fn());\\n effectCleanupFns = [];\\n }\\n\\n return instance;\\n };\\n}\\n\\nexport const createPopper = popperGenerator();\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { detectOverflow };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ModifierArguments, Modifier } from '../types';\\nimport getWindow from '../dom-utils/getWindow';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n scroll: boolean,\\n resize: boolean,\\n};\\n\\nconst passive = { passive: true };\\n\\nfunction effect({ state, instance, options }: ModifierArguments&lt;Options&gt;) {\\n const { scroll = true, resize = true } = options;\\n\\n const window = getWindow(state.elements.popper);\\n const scrollParents = [\\n ...state.scrollParents.reference,\\n ...state.scrollParents.popper,\\n ];\\n\\n if (scroll) {\\n scrollParents.forEach(scrollParent =&gt; {\\n scrollParent.addEventListener('scroll', instance.update, passive);\\n });\\n }\\n\\n if (resize) {\\n window.addEventListener('resize', instance.update, passive);\\n }\\n\\n return () =&gt; {\\n if (scroll) {\\n scrollParents.forEach(scrollParent =&gt; {\\n scrollParent.removeEventListener('scroll', instance.update, passive);\\n });\\n }\\n\\n if (resize) {\\n window.removeEventListener('resize', instance.update, passive);\\n }\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type EventListenersModifier = Modifier&lt;'eventListeners', Options&gt;;\\nexport default ({\\n name: 'eventListeners',\\n enabled: true,\\n phase: 'write',\\n fn: () =&gt; {},\\n effect,\\n data: {},\\n}: EventListenersModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ModifierArguments, Modifier } from '../types';\\nimport computeOffsets from '../utils/computeOffsets';\\n\\nfunction popperOffsets({ state, name }: ModifierArguments&lt;{||}&gt;) {\\n // Offsets are the actual position the popper needs to have to be\\n // properly positioned near its reference element\\n // This is the most basic placement, and will be adjusted by\\n // the modifiers in the next step\\n state.modifiersData[name] = computeOffsets({\\n reference: state.rects.reference,\\n element: state.rects.popper,\\n strategy: 'absolute',\\n placement: state.placement,\\n });\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type PopperOffsetsModifier = Modifier&lt;'popperOffsets', {||}&gt;;\\nexport default ({\\n name: 'popperOffsets',\\n enabled: true,\\n phase: 'read',\\n fn: popperOffsets,\\n data: {},\\n}: PopperOffsetsModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n PositioningStrategy,\\n Offsets,\\n Modifier,\\n ModifierArguments,\\n Rect,\\n Window,\\n} from '../types';\\nimport {\\n type BasePlacement,\\n type Variation,\\n top,\\n left,\\n right,\\n bottom,\\n end,\\n} from '../enums';\\nimport getOffsetParent from '../dom-utils/getOffsetParent';\\nimport getWindow from '../dom-utils/getWindow';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getComputedStyle from '../dom-utils/getComputedStyle';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getVariation from '../utils/getVariation';\\nimport { round } from '../utils/math';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type RoundOffsets = (\\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;\\n) =&gt; Offsets;\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n gpuAcceleration: boolean,\\n adaptive: boolean,\\n roundOffsets?: boolean | RoundOffsets,\\n};\\n\\nconst unsetSides = {\\n top: 'auto',\\n right: 'auto',\\n bottom: 'auto',\\n left: 'auto',\\n};\\n\\n// Round the offsets to the nearest suitable subpixel based on the DPR.\\n// Zooming can change the DPR, but it seems to report a value that will\\n// cleanly divide the values into the appropriate subpixels.\\nfunction roundOffsetsByDPR({ x, y }): Offsets {\\n const win: Window = window;\\n const dpr = win.devicePixelRatio || 1;\\n\\n return {\\n x: round(x * dpr) / dpr || 0,\\n y: round(y * dpr) / dpr || 0,\\n };\\n}\\n\\nexport function mapToStyles({\\n popper,\\n popperRect,\\n placement,\\n variation,\\n offsets,\\n position,\\n gpuAcceleration,\\n adaptive,\\n roundOffsets,\\n isFixed,\\n}: {\\n popper: HTMLElement,\\n popperRect: Rect,\\n placement: BasePlacement,\\n variation: ?Variation,\\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;,\\n position: PositioningStrategy,\\n gpuAcceleration: boolean,\\n adaptive: boolean,\\n roundOffsets: boolean | RoundOffsets,\\n isFixed: boolean,\\n}) {\\n let { x = 0, y = 0 } = offsets;\\n\\n ({ x, y } =\\n typeof roundOffsets === 'function'\\n ? roundOffsets({ x, y })\\n : { x, y });\\n\\n const hasX = offsets.hasOwnProperty('x');\\n const hasY = offsets.hasOwnProperty('y');\\n\\n let sideX: string = left;\\n let sideY: string = top;\\n\\n const win: Window = window;\\n\\n if (adaptive) {\\n let offsetParent = getOffsetParent(popper);\\n let heightProp = 'clientHeight';\\n let widthProp = 'clientWidth';\\n\\n if (offsetParent === getWindow(popper)) {\\n offsetParent = getDocumentElement(popper);\\n\\n if (\\n getComputedStyle(offsetParent).position !== 'static' &amp;&amp;\\n position === 'absolute'\\n ) {\\n heightProp = 'scrollHeight';\\n widthProp = 'scrollWidth';\\n }\\n }\\n\\n // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\\n offsetParent = (offsetParent: Element);\\n\\n if (\\n placement === top ||\\n ((placement === left || placement === right) &amp;&amp; variation === end)\\n ) {\\n sideY = bottom;\\n const offsetY =\\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\\n ? win.visualViewport.height\\n : // $FlowFixMe[prop-missing]\\n offsetParent[heightProp];\\n y -= offsetY - popperRect.height;\\n y *= gpuAcceleration ? 1 : -1;\\n }\\n\\n if (\\n placement === left ||\\n ((placement === top || placement === bottom) &amp;&amp; variation === end)\\n ) {\\n sideX = right;\\n const offsetX =\\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\\n ? win.visualViewport.width\\n : // $FlowFixMe[prop-missing]\\n offsetParent[widthProp];\\n x -= offsetX - popperRect.width;\\n x *= gpuAcceleration ? 1 : -1;\\n }\\n }\\n\\n const commonStyles = {\\n position,\\n ...(adaptive &amp;&amp; unsetSides),\\n };\\n\\n ({ x, y } =\\n roundOffsets === true\\n ? roundOffsetsByDPR({ x, y })\\n : { x, y });\\n\\n if (gpuAcceleration) {\\n return {\\n ...commonStyles,\\n [sideY]: hasY ? '0' : '',\\n [sideX]: hasX ? '0' : '',\\n // Layer acceleration can disable subpixel rendering which causes slightly\\n // blurry text on low PPI displays, so we want to use 2D transforms\\n // instead\\n transform:\\n (win.devicePixelRatio || 1) &lt;= 1\\n ? `translate(${x}px, ${y}px)`\\n : `translate3d(${x}px, ${y}px, 0)`,\\n };\\n }\\n\\n return {\\n ...commonStyles,\\n [sideY]: hasY ? `${y}px` : '',\\n [sideX]: hasX ? `${x}px` : '',\\n transform: '',\\n };\\n}\\n\\nfunction computeStyles({ state, options }: ModifierArguments&lt;Options&gt;) {\\n const {\\n gpuAcceleration = true,\\n adaptive = true,\\n // defaults to use builtin `roundOffsetsByDPR`\\n roundOffsets = true,\\n } = options;\\n\\n if (__DEV__) {\\n const transitionProperty =\\n getComputedStyle(state.elements.popper).transitionProperty || '';\\n\\n if (\\n adaptive &amp;&amp;\\n ['transform', 'top', 'right', 'bottom', 'left'].some(\\n (property) =&gt; transitionProperty.indexOf(property) &gt;= 0\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: Detected CSS transitions on at least one of the following',\\n 'CSS properties: \\\"transform\\\", \\\"top\\\", \\\"right\\\", \\\"bottom\\\", \\\"left\\\".',\\n '\\\\n\\\\n',\\n 'Disable the \\\"computeStyles\\\" modifier\\\\'s `adaptive` option to allow',\\n 'for smooth transitions, or remove these properties from the CSS',\\n 'transition declaration on the popper element if only transitioning',\\n 'opacity or background-color for example.',\\n '\\\\n\\\\n',\\n 'We recommend using the popper element as a wrapper around an inner',\\n 'element that can have any CSS property transitioned for animations.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const commonStyles = {\\n placement: getBasePlacement(state.placement),\\n variation: getVariation(state.placement),\\n popper: state.elements.popper,\\n popperRect: state.rects.popper,\\n gpuAcceleration,\\n isFixed: state.options.strategy === 'fixed',\\n };\\n\\n if (state.modifiersData.popperOffsets != null) {\\n state.styles.popper = {\\n ...state.styles.popper,\\n ...mapToStyles({\\n ...commonStyles,\\n offsets: state.modifiersData.popperOffsets,\\n position: state.options.strategy,\\n adaptive,\\n roundOffsets,\\n }),\\n };\\n }\\n\\n if (state.modifiersData.arrow != null) {\\n state.styles.arrow = {\\n ...state.styles.arrow,\\n ...mapToStyles({\\n ...commonStyles,\\n offsets: state.modifiersData.arrow,\\n position: 'absolute',\\n adaptive: false,\\n roundOffsets,\\n }),\\n };\\n }\\n\\n state.attributes.popper = {\\n ...state.attributes.popper,\\n 'data-popper-placement': state.placement,\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ComputeStylesModifier = Modifier&lt;'computeStyles', Options&gt;;\\nexport default ({\\n name: 'computeStyles',\\n enabled: true,\\n phase: 'beforeWrite',\\n fn: computeStyles,\\n data: {},\\n}: ComputeStylesModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier, ModifierArguments } from '../types';\\nimport getNodeName from '../dom-utils/getNodeName';\\nimport { isHTMLElement } from '../dom-utils/instanceOf';\\n\\n// This modifier takes the styles prepared by the `computeStyles` modifier\\n// and applies them to the HTMLElements such as popper and arrow\\n\\nfunction applyStyles({ state }: ModifierArguments&lt;{||}&gt;) {\\n Object.keys(state.elements).forEach((name) =&gt; {\\n const style = state.styles[name] || {};\\n\\n const attributes = state.attributes[name] || {};\\n const element = state.elements[name];\\n\\n // arrow is optional + virtual elements\\n if (!isHTMLElement(element) || !getNodeName(element)) {\\n return;\\n }\\n\\n // Flow doesn't support to extend this property, but it's the most\\n // effective way to apply styles to an HTMLElement\\n // $FlowFixMe[cannot-write]\\n Object.assign(element.style, style);\\n\\n Object.keys(attributes).forEach((name) =&gt; {\\n const value = attributes[name];\\n if (value === false) {\\n element.removeAttribute(name);\\n } else {\\n element.setAttribute(name, value === true ? '' : value);\\n }\\n });\\n });\\n}\\n\\nfunction effect({ state }: ModifierArguments&lt;{||}&gt;) {\\n const initialStyles = {\\n popper: {\\n position: state.options.strategy,\\n left: '0',\\n top: '0',\\n margin: '0',\\n },\\n arrow: {\\n position: 'absolute',\\n },\\n reference: {},\\n };\\n\\n Object.assign(state.elements.popper.style, initialStyles.popper);\\n state.styles = initialStyles;\\n\\n if (state.elements.arrow) {\\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\\n }\\n\\n return () =&gt; {\\n Object.keys(state.elements).forEach((name) =&gt; {\\n const element = state.elements[name];\\n const attributes = state.attributes[name] || {};\\n\\n const styleProperties = Object.keys(\\n state.styles.hasOwnProperty(name)\\n ? state.styles[name]\\n : initialStyles[name]\\n );\\n\\n // Set all values to an empty string to unset them\\n const style = styleProperties.reduce((style, property) =&gt; {\\n style[property] = '';\\n return style;\\n }, {});\\n\\n // arrow is optional + virtual elements\\n if (!isHTMLElement(element) || !getNodeName(element)) {\\n return;\\n }\\n\\n Object.assign(element.style, style);\\n\\n Object.keys(attributes).forEach((attribute) =&gt; {\\n element.removeAttribute(attribute);\\n });\\n });\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ApplyStylesModifier = Modifier&lt;'applyStyles', {||}&gt;;\\nexport default ({\\n name: 'applyStyles',\\n enabled: true,\\n phase: 'write',\\n fn: applyStyles,\\n effect,\\n requires: ['computeStyles'],\\n}: ApplyStylesModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\nimport type { ModifierArguments, Modifier, Rect, Offsets } from '../types';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport { top, left, right, placements } from '../enums';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type OffsetsFunction = ({\\n popper: Rect,\\n reference: Rect,\\n placement: Placement,\\n}) =&gt; [?number, ?number];\\n\\ntype Offset = OffsetsFunction | [?number, ?number];\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n offset: Offset,\\n};\\n\\nexport function distanceAndSkiddingToXY(\\n placement: Placement,\\n rects: { popper: Rect, reference: Rect },\\n offset: Offset\\n): Offsets {\\n const basePlacement = getBasePlacement(placement);\\n const invertDistance = [left, top].indexOf(basePlacement) &gt;= 0 ? -1 : 1;\\n\\n let [skidding, distance] =\\n typeof offset === 'function'\\n ? offset({\\n ...rects,\\n placement,\\n })\\n : offset;\\n\\n skidding = skidding || 0;\\n distance = (distance || 0) * invertDistance;\\n\\n return [left, right].indexOf(basePlacement) &gt;= 0\\n ? { x: distance, y: skidding }\\n : { x: skidding, y: distance };\\n}\\n\\nfunction offset({ state, options, name }: ModifierArguments&lt;Options&gt;) {\\n const { offset = [0, 0] } = options;\\n\\n const data = placements.reduce((acc, placement) =&gt; {\\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\\n return acc;\\n }, {});\\n\\n const { x, y } = data[state.placement];\\n\\n if (state.modifiersData.popperOffsets != null) {\\n state.modifiersData.popperOffsets.x += x;\\n state.modifiersData.popperOffsets.y += y;\\n }\\n\\n state.modifiersData[name] = data;\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type OffsetModifier = Modifier&lt;'offset', Options&gt;;\\nexport default ({\\n name: 'offset',\\n enabled: true,\\n phase: 'main',\\n requires: ['popperOffsets'],\\n fn: offset,\\n}: OffsetModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nconst hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\\n\\nexport default function getOppositePlacement(placement: Placement): Placement {\\n return (placement.replace(\\n /left|right|bottom|top/g,\\n matched =&gt; hash[matched]\\n ): any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nconst hash = { start: 'end', end: 'start' };\\n\\nexport default function getOppositeVariationPlacement(\\n placement: Placement\\n): Placement {\\n return (placement.replace(/start|end/g, matched =&gt; hash[matched]): any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { State, Padding } from '../types';\\nimport type {\\n Placement,\\n ComputedPlacement,\\n Boundary,\\n RootBoundary,\\n} from '../enums';\\nimport getVariation from './getVariation';\\nimport {\\n variationPlacements,\\n basePlacements,\\n placements as allPlacements,\\n} from '../enums';\\nimport detectOverflow from './detectOverflow';\\nimport getBasePlacement from './getBasePlacement';\\n\\ntype Options = {\\n placement: Placement,\\n padding: Padding,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n flipVariations: boolean,\\n allowedAutoPlacements?: Array&lt;Placement&gt;,\\n};\\n\\ntype OverflowsMap = { [ComputedPlacement]: number };\\n\\nexport default function computeAutoPlacement(\\n state: $Shape&lt;State&gt;,\\n options: Options = {}\\n): Array&lt;ComputedPlacement&gt; {\\n const {\\n placement,\\n boundary,\\n rootBoundary,\\n padding,\\n flipVariations,\\n allowedAutoPlacements = allPlacements,\\n } = options;\\n\\n const variation = getVariation(placement);\\n\\n const placements = variation\\n ? flipVariations\\n ? variationPlacements\\n : variationPlacements.filter(\\n (placement) =&gt; getVariation(placement) === variation\\n )\\n : basePlacements;\\n\\n let allowedPlacements = placements.filter(\\n (placement) =&gt; allowedAutoPlacements.indexOf(placement) &gt;= 0\\n );\\n\\n if (allowedPlacements.length === 0) {\\n allowedPlacements = placements;\\n\\n if (__DEV__) {\\n console.error(\\n [\\n 'Popper: The `allowedAutoPlacements` option did not allow any',\\n 'placements. Ensure the `placement` option matches the variation',\\n 'of the allowed placements.',\\n 'For example, \\\"auto\\\" cannot be used to allow \\\"bottom-start\\\".',\\n 'Use \\\"auto-start\\\" instead.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\\n const overflows: OverflowsMap = allowedPlacements.reduce((acc, placement) =&gt; {\\n acc[placement] = detectOverflow(state, {\\n placement,\\n boundary,\\n rootBoundary,\\n padding,\\n })[getBasePlacement(placement)];\\n\\n return acc;\\n }, {});\\n\\n return Object.keys(overflows).sort((a, b) =&gt; overflows[a] - overflows[b]);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement, Boundary, RootBoundary } from '../enums';\\nimport type { ModifierArguments, Modifier, Padding } from '../types';\\nimport getOppositePlacement from '../utils/getOppositePlacement';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getOppositeVariationPlacement from '../utils/getOppositeVariationPlacement';\\nimport detectOverflow from '../utils/detectOverflow';\\nimport computeAutoPlacement from '../utils/computeAutoPlacement';\\nimport { bottom, top, start, right, left, auto } from '../enums';\\nimport getVariation from '../utils/getVariation';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n mainAxis: boolean,\\n altAxis: boolean,\\n fallbackPlacements: Array&lt;Placement&gt;,\\n padding: Padding,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n altBoundary: boolean,\\n flipVariations: boolean,\\n allowedAutoPlacements: Array&lt;Placement&gt;,\\n};\\n\\nfunction getExpandedFallbackPlacements(placement: Placement): Array&lt;Placement&gt; {\\n if (getBasePlacement(placement) === auto) {\\n return [];\\n }\\n\\n const oppositePlacement = getOppositePlacement(placement);\\n\\n return [\\n getOppositeVariationPlacement(placement),\\n oppositePlacement,\\n getOppositeVariationPlacement(oppositePlacement),\\n ];\\n}\\n\\nfunction flip({ state, options, name }: ModifierArguments&lt;Options&gt;) {\\n if (state.modifiersData[name]._skip) {\\n return;\\n }\\n\\n const {\\n mainAxis: checkMainAxis = true,\\n altAxis: checkAltAxis = true,\\n fallbackPlacements: specifiedFallbackPlacements,\\n padding,\\n boundary,\\n rootBoundary,\\n altBoundary,\\n flipVariations = true,\\n allowedAutoPlacements,\\n } = options;\\n\\n const preferredPlacement = state.options.placement;\\n const basePlacement = getBasePlacement(preferredPlacement);\\n const isBasePlacement = basePlacement === preferredPlacement;\\n\\n const fallbackPlacements =\\n specifiedFallbackPlacements ||\\n (isBasePlacement || !flipVariations\\n ? [getOppositePlacement(preferredPlacement)]\\n : getExpandedFallbackPlacements(preferredPlacement));\\n\\n const placements = [preferredPlacement, ...fallbackPlacements].reduce(\\n (acc, placement) =&gt; {\\n return acc.concat(\\n getBasePlacement(placement) === auto\\n ? computeAutoPlacement(state, {\\n placement,\\n boundary,\\n rootBoundary,\\n padding,\\n flipVariations,\\n allowedAutoPlacements,\\n })\\n : placement\\n );\\n },\\n []\\n );\\n\\n const referenceRect = state.rects.reference;\\n const popperRect = state.rects.popper;\\n\\n const checksMap = new Map();\\n let makeFallbackChecks = true;\\n let firstFittingPlacement = placements[0];\\n\\n for (let i = 0; i &lt; placements.length; i++) {\\n const placement = placements[i];\\n const basePlacement = getBasePlacement(placement);\\n const isStartVariation = getVariation(placement) === start;\\n const isVertical = [top, bottom].indexOf(basePlacement) &gt;= 0;\\n const len = isVertical ? 'width' : 'height';\\n\\n const overflow = detectOverflow(state, {\\n placement,\\n boundary,\\n rootBoundary,\\n altBoundary,\\n padding,\\n });\\n\\n let mainVariationSide: any = isVertical\\n ? isStartVariation\\n ? right\\n : left\\n : isStartVariation\\n ? bottom\\n : top;\\n\\n if (referenceRect[len] &gt; popperRect[len]) {\\n mainVariationSide = getOppositePlacement(mainVariationSide);\\n }\\n\\n const altVariationSide: any = getOppositePlacement(mainVariationSide);\\n\\n const checks = [];\\n\\n if (checkMainAxis) {\\n checks.push(overflow[basePlacement] &lt;= 0);\\n }\\n\\n if (checkAltAxis) {\\n checks.push(\\n overflow[mainVariationSide] &lt;= 0,\\n overflow[altVariationSide] &lt;= 0\\n );\\n }\\n\\n if (checks.every((check) =&gt; check)) {\\n firstFittingPlacement = placement;\\n makeFallbackChecks = false;\\n break;\\n }\\n\\n checksMap.set(placement, checks);\\n }\\n\\n if (makeFallbackChecks) {\\n // `2` may be desired in some cases \u2013 research later\\n const numberOfChecks = flipVariations ? 3 : 1;\\n\\n for (let i = numberOfChecks; i &gt; 0; i--) {\\n const fittingPlacement = placements.find((placement) =&gt; {\\n const checks = checksMap.get(placement);\\n if (checks) {\\n return checks.slice(0, i).every((check) =&gt; check);\\n }\\n });\\n\\n if (fittingPlacement) {\\n firstFittingPlacement = fittingPlacement;\\n break;\\n }\\n }\\n }\\n\\n if (state.placement !== firstFittingPlacement) {\\n state.modifiersData[name]._skip = true;\\n state.placement = firstFittingPlacement;\\n state.reset = true;\\n }\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type FlipModifier = Modifier&lt;'flip', Options&gt;;\\nexport default ({\\n name: 'flip',\\n enabled: true,\\n phase: 'main',\\n fn: flip,\\n requiresIfExists: ['offset'],\\n data: { _skip: false },\\n}: FlipModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function getAltAxis(axis: 'x' | 'y'): 'x' | 'y' {\\n return axis === 'x' ? 'y' : 'x';\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { max as mathMax, min as mathMin } from './math';\\n\\nexport function within(min: number, value: number, max: number): number {\\n return mathMax(min, mathMin(value, max));\\n}\\n\\nexport function withinMaxClamp(min: number, value: number, max: number) {\\n const v = within(min, value, max);\\n return v &gt; max ? max : v;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { top, left, right, bottom, start } from '../enums';\\nimport type { Placement, Boundary, RootBoundary } from '../enums';\\nimport type { Rect, ModifierArguments, Modifier, Padding } from '../types';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getMainAxisFromPlacement from '../utils/getMainAxisFromPlacement';\\nimport getAltAxis from '../utils/getAltAxis';\\nimport { within, withinMaxClamp } from '../utils/within';\\nimport getLayoutRect from '../dom-utils/getLayoutRect';\\nimport getOffsetParent from '../dom-utils/getOffsetParent';\\nimport detectOverflow from '../utils/detectOverflow';\\nimport getVariation from '../utils/getVariation';\\nimport getFreshSideObject from '../utils/getFreshSideObject';\\nimport { min as mathMin, max as mathMax } from '../utils/math';\\n\\ntype TetherOffset =\\n | (({\\n popper: Rect,\\n reference: Rect,\\n placement: Placement,\\n }) =&gt; number | { mainAxis: number, altAxis: number })\\n | number\\n | { mainAxis: number, altAxis: number };\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n /* Prevents boundaries overflow on the main axis */\\n mainAxis: boolean,\\n /* Prevents boundaries overflow on the alternate axis */\\n altAxis: boolean,\\n /* The area to check the popper is overflowing in */\\n boundary: Boundary,\\n /* If the popper is not overflowing the main area, fallback to this one */\\n rootBoundary: RootBoundary,\\n /* Use the reference's \\\"clippingParents\\\" boundary context */\\n altBoundary: boolean,\\n /**\\n * Allows the popper to overflow from its boundaries to keep it near its\\n * reference element\\n */\\n tether: boolean,\\n /* Offsets when the `tether` option should activate */\\n tetherOffset: TetherOffset,\\n /* Sets a padding to the provided boundary */\\n padding: Padding,\\n};\\n\\nfunction preventOverflow({ state, options, name }: ModifierArguments&lt;Options&gt;) {\\n const {\\n mainAxis: checkMainAxis = true,\\n altAxis: checkAltAxis = false,\\n boundary,\\n rootBoundary,\\n altBoundary,\\n padding,\\n tether = true,\\n tetherOffset = 0,\\n } = options;\\n\\n const overflow = detectOverflow(state, {\\n boundary,\\n rootBoundary,\\n padding,\\n altBoundary,\\n });\\n const basePlacement = getBasePlacement(state.placement);\\n const variation = getVariation(state.placement);\\n const isBasePlacement = !variation;\\n const mainAxis = getMainAxisFromPlacement(basePlacement);\\n const altAxis = getAltAxis(mainAxis);\\n const popperOffsets = state.modifiersData.popperOffsets;\\n const referenceRect = state.rects.reference;\\n const popperRect = state.rects.popper;\\n const tetherOffsetValue =\\n typeof tetherOffset === 'function'\\n ? tetherOffset({\\n ...state.rects,\\n placement: state.placement,\\n })\\n : tetherOffset;\\n const normalizedTetherOffsetValue =\\n typeof tetherOffsetValue === 'number'\\n ? { mainAxis: tetherOffsetValue, altAxis: tetherOffsetValue }\\n : { mainAxis: 0, altAxis: 0, ...tetherOffsetValue };\\n const offsetModifierState = state.modifiersData.offset\\n ? state.modifiersData.offset[state.placement]\\n : null;\\n\\n const data = { x: 0, y: 0 };\\n\\n if (!popperOffsets) {\\n return;\\n }\\n\\n if (checkMainAxis) {\\n const mainSide = mainAxis === 'y' ? top : left;\\n const altSide = mainAxis === 'y' ? bottom : right;\\n const len = mainAxis === 'y' ? 'height' : 'width';\\n const offset = popperOffsets[mainAxis];\\n\\n const min = offset + overflow[mainSide];\\n const max = offset - overflow[altSide];\\n\\n const additive = tether ? -popperRect[len] / 2 : 0;\\n\\n const minLen = variation === start ? referenceRect[len] : popperRect[len];\\n const maxLen = variation === start ? -popperRect[len] : -referenceRect[len];\\n\\n // We need to include the arrow in the calculation so the arrow doesn't go\\n // outside the reference bounds\\n const arrowElement = state.elements.arrow;\\n const arrowRect =\\n tether &amp;&amp; arrowElement\\n ? getLayoutRect(arrowElement)\\n : { width: 0, height: 0 };\\n const arrowPaddingObject = state.modifiersData['arrow#persistent']\\n ? state.modifiersData['arrow#persistent'].padding\\n : getFreshSideObject();\\n const arrowPaddingMin = arrowPaddingObject[mainSide];\\n const arrowPaddingMax = arrowPaddingObject[altSide];\\n\\n // If the reference length is smaller than the arrow length, we don't want\\n // to include its full size in the calculation. If the reference is small\\n // and near the edge of a boundary, the popper can overflow even if the\\n // reference is not overflowing as well (e.g. virtual elements with no\\n // width or height)\\n const arrowLen = within(0, referenceRect[len], arrowRect[len]);\\n\\n const minOffset = isBasePlacement\\n ? referenceRect[len] / 2 -\\n additive -\\n arrowLen -\\n arrowPaddingMin -\\n normalizedTetherOffsetValue.mainAxis\\n : minLen -\\n arrowLen -\\n arrowPaddingMin -\\n normalizedTetherOffsetValue.mainAxis;\\n const maxOffset = isBasePlacement\\n ? -referenceRect[len] / 2 +\\n additive +\\n arrowLen +\\n arrowPaddingMax +\\n normalizedTetherOffsetValue.mainAxis\\n : maxLen +\\n arrowLen +\\n arrowPaddingMax +\\n normalizedTetherOffsetValue.mainAxis;\\n\\n const arrowOffsetParent =\\n state.elements.arrow &amp;&amp; getOffsetParent(state.elements.arrow);\\n const clientOffset = arrowOffsetParent\\n ? mainAxis === 'y'\\n ? arrowOffsetParent.clientTop || 0\\n : arrowOffsetParent.clientLeft || 0\\n : 0;\\n\\n const offsetModifierValue = offsetModifierState?.[mainAxis] ?? 0;\\n const tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\\n const tetherMax = offset + maxOffset - offsetModifierValue;\\n\\n const preventedOffset = within(\\n tether ? mathMin(min, tetherMin) : min,\\n offset,\\n tether ? mathMax(max, tetherMax) : max\\n );\\n\\n popperOffsets[mainAxis] = preventedOffset;\\n data[mainAxis] = preventedOffset - offset;\\n }\\n\\n if (checkAltAxis) {\\n const mainSide = mainAxis === 'x' ? top : left;\\n const altSide = mainAxis === 'x' ? bottom : right;\\n const offset = popperOffsets[altAxis];\\n\\n const len = altAxis === 'y' ? 'height' : 'width';\\n\\n const min = offset + overflow[mainSide];\\n const max = offset - overflow[altSide];\\n\\n const isOriginSide = [top, left].indexOf(basePlacement) !== -1;\\n\\n const offsetModifierValue = offsetModifierState?.[altAxis] ?? 0;\\n const tetherMin = isOriginSide\\n ? min\\n : offset -\\n referenceRect[len] -\\n popperRect[len] -\\n offsetModifierValue +\\n normalizedTetherOffsetValue.altAxis;\\n const tetherMax = isOriginSide\\n ? offset +\\n referenceRect[len] +\\n popperRect[len] -\\n offsetModifierValue -\\n normalizedTetherOffsetValue.altAxis\\n : max;\\n\\n const preventedOffset =\\n tether &amp;&amp; isOriginSide\\n ? withinMaxClamp(tetherMin, offset, tetherMax)\\n : within(tether ? tetherMin : min, offset, tether ? tetherMax : max);\\n\\n popperOffsets[altAxis] = preventedOffset;\\n data[altAxis] = preventedOffset - offset;\\n }\\n\\n state.modifiersData[name] = data;\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type PreventOverflowModifier = Modifier&lt;'preventOverflow', Options&gt;;\\nexport default ({\\n name: 'preventOverflow',\\n enabled: true,\\n phase: 'main',\\n fn: preventOverflow,\\n requiresIfExists: ['offset'],\\n}: PreventOverflowModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier, ModifierArguments, Padding, Rect } from '../types';\\nimport type { Placement } from '../enums';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getLayoutRect from '../dom-utils/getLayoutRect';\\nimport contains from '../dom-utils/contains';\\nimport getOffsetParent from '../dom-utils/getOffsetParent';\\nimport getMainAxisFromPlacement from '../utils/getMainAxisFromPlacement';\\nimport { within } from '../utils/within';\\nimport mergePaddingObject from '../utils/mergePaddingObject';\\nimport expandToHashMap from '../utils/expandToHashMap';\\nimport { left, right, basePlacements, top, bottom } from '../enums';\\nimport { isHTMLElement } from '../dom-utils/instanceOf';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n element: HTMLElement | string | null,\\n padding:\\n | Padding\\n | (({|\\n popper: Rect,\\n reference: Rect,\\n placement: Placement,\\n |}) =&gt; Padding),\\n};\\n\\nconst toPaddingObject = (padding, state) =&gt; {\\n padding =\\n typeof padding === 'function'\\n ? padding({ ...state.rects, placement: state.placement })\\n : padding;\\n\\n return mergePaddingObject(\\n typeof padding !== 'number'\\n ? padding\\n : expandToHashMap(padding, basePlacements)\\n );\\n};\\n\\nfunction arrow({ state, name, options }: ModifierArguments&lt;Options&gt;) {\\n const arrowElement = state.elements.arrow;\\n const popperOffsets = state.modifiersData.popperOffsets;\\n const basePlacement = getBasePlacement(state.placement);\\n const axis = getMainAxisFromPlacement(basePlacement);\\n const isVertical = [left, right].indexOf(basePlacement) &gt;= 0;\\n const len = isVertical ? 'height' : 'width';\\n\\n if (!arrowElement || !popperOffsets) {\\n return;\\n }\\n\\n const paddingObject = toPaddingObject(options.padding, state);\\n const arrowRect = getLayoutRect(arrowElement);\\n const minProp = axis === 'y' ? top : left;\\n const maxProp = axis === 'y' ? bottom : right;\\n\\n const endDiff =\\n state.rects.reference[len] +\\n state.rects.reference[axis] -\\n popperOffsets[axis] -\\n state.rects.popper[len];\\n const startDiff = popperOffsets[axis] - state.rects.reference[axis];\\n\\n const arrowOffsetParent = getOffsetParent(arrowElement);\\n const clientSize = arrowOffsetParent\\n ? axis === 'y'\\n ? arrowOffsetParent.clientHeight || 0\\n : arrowOffsetParent.clientWidth || 0\\n : 0;\\n\\n const centerToReference = endDiff / 2 - startDiff / 2;\\n\\n // Make sure the arrow doesn't overflow the popper if the center point is\\n // outside of the popper bounds\\n const min = paddingObject[minProp];\\n const max = clientSize - arrowRect[len] - paddingObject[maxProp];\\n const center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\\n const offset = within(min, center, max);\\n\\n // Prevents breaking syntax highlighting...\\n const axisProp: string = axis;\\n state.modifiersData[name] = {\\n [axisProp]: offset,\\n centerOffset: offset - center,\\n };\\n}\\n\\nfunction effect({ state, options }: ModifierArguments&lt;Options&gt;) {\\n let { element: arrowElement = '[data-popper-arrow]' } = options;\\n\\n if (arrowElement == null) {\\n return;\\n }\\n\\n // CSS selector\\n if (typeof arrowElement === 'string') {\\n arrowElement = state.elements.popper.querySelector(arrowElement);\\n\\n if (!arrowElement) {\\n return;\\n }\\n }\\n\\n if (__DEV__) {\\n if (!isHTMLElement(arrowElement)) {\\n console.error(\\n [\\n 'Popper: \\\"arrow\\\" element must be an HTMLElement (not an SVGElement).',\\n 'To use an SVG arrow, wrap it in an HTMLElement that will be used as',\\n 'the arrow.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n if (!contains(state.elements.popper, arrowElement)) {\\n if (__DEV__) {\\n console.error(\\n [\\n 'Popper: \\\"arrow\\\" modifier\\\\'s `element` must be a child of the popper',\\n 'element.',\\n ].join(' ')\\n );\\n }\\n\\n return;\\n }\\n\\n state.elements.arrow = arrowElement;\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ArrowModifier = Modifier&lt;'arrow', Options&gt;;\\nexport default ({\\n name: 'arrow',\\n enabled: true,\\n phase: 'main',\\n fn: arrow,\\n effect,\\n requires: ['popperOffsets'],\\n requiresIfExists: ['preventOverflow'],\\n}: ArrowModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n ModifierArguments,\\n Modifier,\\n Rect,\\n SideObject,\\n Offsets,\\n} from '../types';\\nimport { top, bottom, left, right } from '../enums';\\nimport detectOverflow from '../utils/detectOverflow';\\n\\nfunction getSideOffsets(\\n overflow: SideObject,\\n rect: Rect,\\n preventedOffsets: Offsets = { x: 0, y: 0 }\\n): SideObject {\\n return {\\n top: overflow.top - rect.height - preventedOffsets.y,\\n right: overflow.right - rect.width + preventedOffsets.x,\\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\\n left: overflow.left - rect.width - preventedOffsets.x,\\n };\\n}\\n\\nfunction isAnySideFullyClipped(overflow: SideObject): boolean {\\n return [top, right, bottom, left].some((side) =&gt; overflow[side] &gt;= 0);\\n}\\n\\nfunction hide({ state, name }: ModifierArguments&lt;{||}&gt;) {\\n const referenceRect = state.rects.reference;\\n const popperRect = state.rects.popper;\\n const preventedOffsets = state.modifiersData.preventOverflow;\\n\\n const referenceOverflow = detectOverflow(state, {\\n elementContext: 'reference',\\n });\\n const popperAltOverflow = detectOverflow(state, {\\n altBoundary: true,\\n });\\n\\n const referenceClippingOffsets = getSideOffsets(\\n referenceOverflow,\\n referenceRect\\n );\\n const popperEscapeOffsets = getSideOffsets(\\n popperAltOverflow,\\n popperRect,\\n preventedOffsets\\n );\\n\\n const isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\\n const hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\\n\\n state.modifiersData[name] = {\\n referenceClippingOffsets,\\n popperEscapeOffsets,\\n isReferenceHidden,\\n hasPopperEscaped,\\n };\\n\\n state.attributes.popper = {\\n ...state.attributes.popper,\\n 'data-popper-reference-hidden': isReferenceHidden,\\n 'data-popper-escaped': hasPopperEscaped,\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type HideModifier = Modifier&lt;'hide', {||}&gt;;\\nexport default ({\\n name: 'hide',\\n enabled: true,\\n phase: 'main',\\n requiresIfExists: ['preventOverflow'],\\n fn: hide,\\n}: HideModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { popperGenerator, detectOverflow } from './createPopper';\\n\\nimport eventListeners from './modifiers/eventListeners';\\nimport popperOffsets from './modifiers/popperOffsets';\\nimport computeStyles from './modifiers/computeStyles';\\nimport applyStyles from './modifiers/applyStyles';\\n\\nexport type * from './types';\\n\\nconst defaultModifiers = [\\n eventListeners,\\n popperOffsets,\\n computeStyles,\\n applyStyles,\\n];\\n\\nconst createPopper = popperGenerator({ defaultModifiers });\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { popperGenerator, detectOverflow } from './createPopper';\\n\\nimport eventListeners from './modifiers/eventListeners';\\nimport popperOffsets from './modifiers/popperOffsets';\\nimport computeStyles from './modifiers/computeStyles';\\nimport applyStyles from './modifiers/applyStyles';\\nimport offset from './modifiers/offset';\\nimport flip from './modifiers/flip';\\nimport preventOverflow from './modifiers/preventOverflow';\\nimport arrow from './modifiers/arrow';\\nimport hide from './modifiers/hide';\\n\\nexport type * from './types';\\n\\nconst defaultModifiers = [\\n eventListeners,\\n popperOffsets,\\n computeStyles,\\n applyStyles,\\n offset,\\n flip,\\n preventOverflow,\\n arrow,\\n hide,\\n];\\n\\nconst createPopper = popperGenerator({ defaultModifiers });\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\\n// eslint-disable-next-line import/no-unused-modules\\nexport { createPopper as createPopperLite } from './popper-lite';\\n// eslint-disable-next-line import/no-unused-modules\\nexport * from './modifiers';\\n\"</span>],<span class=\"code-attr\">\"names\"</span>:[<span class=\"code-string\">\"getWindow\"</span>,<span class=\"code-string\">\"node\"</span>,<span class=\"code-string\">\"window\"</span>,<span class=\"code-string\">\"toString\"</span>,<span class=\"code-string\">\"ownerDocument\"</span>,<span class=\"code-string\">\"defaultView\"</span>,<span class=\"code-string\">\"isElement\"</span>,<span class=\"code-string\">\"OwnElement\"</span>,<span class=\"code-string\">\"Element\"</span>,<span class=\"code-string\">\"isHTMLElement\"</span>,<span class=\"code-string\">\"HTMLElement\"</span>,<span class=\"code-string\">\"isShadowRoot\"</span>,<span class=\"code-string\">\"ShadowRoot\"</span>,<span class=\"code-string\">\"max\"</span>,<span class=\"code-string\">\"Math\"</span>,<span class=\"code-string\">\"min\"</span>,<span class=\"code-string\">\"round\"</span>,<span class=\"code-string\">\"getBoundingClientRect\"</span>,<span class=\"code-string\">\"element\"</span>,<span class=\"code-string\">\"includeScale\"</span>,<span class=\"code-string\">\"rect\"</span>,<span class=\"code-string\">\"scaleX\"</span>,<span class=\"code-string\">\"scaleY\"</span>,<span class=\"code-string\">\"offsetHeight\"</span>,<span class=\"code-string\">\"offsetWidth\"</span>,<span class=\"code-string\">\"width\"</span>,<span class=\"code-string\">\"height\"</span>,<span class=\"code-string\">\"top\"</span>,<span class=\"code-string\">\"right\"</span>,<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-string\">\"left\"</span>,<span class=\"code-string\">\"x\"</span>,<span class=\"code-string\">\"y\"</span>,<span class=\"code-string\">\"getWindowScroll\"</span>,<span class=\"code-string\">\"win\"</span>,<span class=\"code-string\">\"scrollLeft\"</span>,<span class=\"code-string\">\"pageXOffset\"</span>,<span class=\"code-string\">\"scrollTop\"</span>,<span class=\"code-string\">\"pageYOffset\"</span>,<span class=\"code-string\">\"getHTMLElementScroll\"</span>,<span class=\"code-string\">\"getNodeScroll\"</span>,<span class=\"code-string\">\"getNodeName\"</span>,<span class=\"code-string\">\"nodeName\"</span>,<span class=\"code-string\">\"toLowerCase\"</span>,<span class=\"code-string\">\"getDocumentElement\"</span>,<span class=\"code-string\">\"document\"</span>,<span class=\"code-string\">\"documentElement\"</span>,<span class=\"code-string\">\"getWindowScrollBarX\"</span>,<span class=\"code-string\">\"getComputedStyle\"</span>,<span class=\"code-string\">\"isScrollParent\"</span>,<span class=\"code-string\">\"overflow\"</span>,<span class=\"code-string\">\"overflowX\"</span>,<span class=\"code-string\">\"overflowY\"</span>,<span class=\"code-string\">\"test\"</span>,<span class=\"code-string\">\"isElementScaled\"</span>,<span class=\"code-string\">\"getCompositeRect\"</span>,<span class=\"code-string\">\"elementOrVirtualElement\"</span>,<span class=\"code-string\">\"offsetParent\"</span>,<span class=\"code-string\">\"isFixed\"</span>,<span class=\"code-string\">\"isOffsetParentAnElement\"</span>,<span class=\"code-string\">\"offsetParentIsScaled\"</span>,<span class=\"code-string\">\"scroll\"</span>,<span class=\"code-string\">\"offsets\"</span>,<span class=\"code-string\">\"clientLeft\"</span>,<span class=\"code-string\">\"clientTop\"</span>,<span class=\"code-string\">\"getLayoutRect\"</span>,<span class=\"code-string\">\"clientRect\"</span>,<span class=\"code-string\">\"abs\"</span>,<span class=\"code-string\">\"offsetLeft\"</span>,<span class=\"code-string\">\"offsetTop\"</span>,<span class=\"code-string\">\"getParentNode\"</span>,<span class=\"code-string\">\"assignedSlot\"</span>,<span class=\"code-string\">\"parentNode\"</span>,<span class=\"code-string\">\"host\"</span>,<span class=\"code-string\">\"getScrollParent\"</span>,<span class=\"code-string\">\"indexOf\"</span>,<span class=\"code-string\">\"body\"</span>,<span class=\"code-string\">\"listScrollParents\"</span>,<span class=\"code-string\">\"list\"</span>,<span class=\"code-string\">\"scrollParent\"</span>,<span class=\"code-string\">\"isBody\"</span>,<span class=\"code-string\">\"target\"</span>,<span class=\"code-string\">\"concat\"</span>,<span class=\"code-string\">\"visualViewport\"</span>,<span class=\"code-string\">\"updatedList\"</span>,<span class=\"code-string\">\"isTableElement\"</span>,<span class=\"code-string\">\"getTrueOffsetParent\"</span>,<span class=\"code-string\">\"position\"</span>,<span class=\"code-string\">\"getContainingBlock\"</span>,<span class=\"code-string\">\"isFirefox\"</span>,<span class=\"code-string\">\"navigator\"</span>,<span class=\"code-string\">\"userAgent\"</span>,<span class=\"code-string\">\"isIE\"</span>,<span class=\"code-string\">\"elementCss\"</span>,<span class=\"code-string\">\"currentNode\"</span>,<span class=\"code-string\">\"css\"</span>,<span class=\"code-string\">\"transform\"</span>,<span class=\"code-string\">\"perspective\"</span>,<span class=\"code-string\">\"contain\"</span>,<span class=\"code-string\">\"willChange\"</span>,<span class=\"code-string\">\"filter\"</span>,<span class=\"code-string\">\"getOffsetParent\"</span>,<span class=\"code-string\">\"auto\"</span>,<span class=\"code-string\">\"basePlacements\"</span>,<span class=\"code-string\">\"start\"</span>,<span class=\"code-string\">\"end\"</span>,<span class=\"code-string\">\"clippingParents\"</span>,<span class=\"code-string\">\"viewport\"</span>,<span class=\"code-string\">\"popper\"</span>,<span class=\"code-string\">\"reference\"</span>,<span class=\"code-string\">\"variationPlacements\"</span>,<span class=\"code-string\">\"reduce\"</span>,<span class=\"code-string\">\"acc\"</span>,<span class=\"code-string\">\"placement\"</span>,<span class=\"code-string\">\"placements\"</span>,<span class=\"code-string\">\"beforeRead\"</span>,<span class=\"code-string\">\"read\"</span>,<span class=\"code-string\">\"afterRead\"</span>,<span class=\"code-string\">\"beforeMain\"</span>,<span class=\"code-string\">\"main\"</span>,<span class=\"code-string\">\"afterMain\"</span>,<span class=\"code-string\">\"beforeWrite\"</span>,<span class=\"code-string\">\"write\"</span>,<span class=\"code-string\">\"afterWrite\"</span>,<span class=\"code-string\">\"modifierPhases\"</span>,<span class=\"code-string\">\"order\"</span>,<span class=\"code-string\">\"modifiers\"</span>,<span class=\"code-string\">\"map\"</span>,<span class=\"code-string\">\"Map\"</span>,<span class=\"code-string\">\"visited\"</span>,<span class=\"code-string\">\"Set\"</span>,<span class=\"code-string\">\"result\"</span>,<span class=\"code-string\">\"forEach\"</span>,<span class=\"code-string\">\"modifier\"</span>,<span class=\"code-string\">\"set\"</span>,<span class=\"code-string\">\"name\"</span>,<span class=\"code-string\">\"sort\"</span>,<span class=\"code-string\">\"add\"</span>,<span class=\"code-string\">\"requires\"</span>,<span class=\"code-string\">\"requiresIfExists\"</span>,<span class=\"code-string\">\"dep\"</span>,<span class=\"code-string\">\"has\"</span>,<span class=\"code-string\">\"depModifier\"</span>,<span class=\"code-string\">\"get\"</span>,<span class=\"code-string\">\"push\"</span>,<span class=\"code-string\">\"orderModifiers\"</span>,<span class=\"code-string\">\"orderedModifiers\"</span>,<span class=\"code-string\">\"phase\"</span>,<span class=\"code-string\">\"debounce\"</span>,<span class=\"code-string\">\"fn\"</span>,<span class=\"code-string\">\"pending\"</span>,<span class=\"code-string\">\"Promise\"</span>,<span class=\"code-string\">\"resolve\"</span>,<span class=\"code-string\">\"then\"</span>,<span class=\"code-string\">\"undefined\"</span>,<span class=\"code-string\">\"format\"</span>,<span class=\"code-string\">\"str\"</span>,<span class=\"code-string\">\"args\"</span>,<span class=\"code-string\">\"p\"</span>,<span class=\"code-string\">\"c\"</span>,<span class=\"code-string\">\"replace\"</span>,<span class=\"code-string\">\"INVALID_MODIFIER_ERROR\"</span>,<span class=\"code-string\">\"MISSING_DEPENDENCY_ERROR\"</span>,<span class=\"code-string\">\"VALID_PROPERTIES\"</span>,<span class=\"code-string\">\"validateModifiers\"</span>,<span class=\"code-string\">\"Object\"</span>,<span class=\"code-string\">\"keys\"</span>,<span class=\"code-string\">\"value\"</span>,<span class=\"code-string\">\"index\"</span>,<span class=\"code-string\">\"self\"</span>,<span class=\"code-string\">\"key\"</span>,<span class=\"code-string\">\"console\"</span>,<span class=\"code-string\">\"error\"</span>,<span class=\"code-string\">\"String\"</span>,<span class=\"code-string\">\"enabled\"</span>,<span class=\"code-string\">\"join\"</span>,<span class=\"code-string\">\"effect\"</span>,<span class=\"code-string\">\"Array\"</span>,<span class=\"code-string\">\"isArray\"</span>,<span class=\"code-string\">\"s\"</span>,<span class=\"code-string\">\"requirement\"</span>,<span class=\"code-string\">\"find\"</span>,<span class=\"code-string\">\"mod\"</span>,<span class=\"code-string\">\"uniqueBy\"</span>,<span class=\"code-string\">\"arr\"</span>,<span class=\"code-string\">\"identifiers\"</span>,<span class=\"code-string\">\"item\"</span>,<span class=\"code-string\">\"identifier\"</span>,<span class=\"code-string\">\"getBasePlacement\"</span>,<span class=\"code-string\">\"split\"</span>,<span class=\"code-string\">\"mergeByName\"</span>,<span class=\"code-string\">\"merged\"</span>,<span class=\"code-string\">\"current\"</span>,<span class=\"code-string\">\"existing\"</span>,<span class=\"code-string\">\"options\"</span>,<span class=\"code-string\">\"data\"</span>,<span class=\"code-string\">\"getViewportRect\"</span>,<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"clientWidth\"</span>,<span class=\"code-string\">\"clientHeight\"</span>,<span class=\"code-string\">\"getDocumentRect\"</span>,<span class=\"code-string\">\"winScroll\"</span>,<span class=\"code-string\">\"scrollWidth\"</span>,<span class=\"code-string\">\"scrollHeight\"</span>,<span class=\"code-string\">\"direction\"</span>,<span class=\"code-string\">\"contains\"</span>,<span class=\"code-string\">\"parent\"</span>,<span class=\"code-string\">\"child\"</span>,<span class=\"code-string\">\"rootNode\"</span>,<span class=\"code-string\">\"getRootNode\"</span>,<span class=\"code-string\">\"next\"</span>,<span class=\"code-string\">\"isSameNode\"</span>,<span class=\"code-string\">\"rectToClientRect\"</span>,<span class=\"code-string\">\"getInnerBoundingClientRect\"</span>,<span class=\"code-string\">\"getClientRectFromMixedType\"</span>,<span class=\"code-string\">\"clippingParent\"</span>,<span class=\"code-string\">\"getClippingParents\"</span>,<span class=\"code-string\">\"canEscapeClipping\"</span>,<span class=\"code-string\">\"clipperElement\"</span>,<span class=\"code-string\">\"getClippingRect\"</span>,<span class=\"code-string\">\"boundary\"</span>,<span class=\"code-string\">\"rootBoundary\"</span>,<span class=\"code-string\">\"mainClippingParents\"</span>,<span class=\"code-string\">\"firstClippingParent\"</span>,<span class=\"code-string\">\"clippingRect\"</span>,<span class=\"code-string\">\"accRect\"</span>,<span class=\"code-string\">\"getVariation\"</span>,<span class=\"code-string\">\"getMainAxisFromPlacement\"</span>,<span class=\"code-string\">\"computeOffsets\"</span>,<span class=\"code-string\">\"basePlacement\"</span>,<span class=\"code-string\">\"variation\"</span>,<span class=\"code-string\">\"commonX\"</span>,<span class=\"code-string\">\"commonY\"</span>,<span class=\"code-string\">\"mainAxis\"</span>,<span class=\"code-string\">\"len\"</span>,<span class=\"code-string\">\"getFreshSideObject\"</span>,<span class=\"code-string\">\"mergePaddingObject\"</span>,<span class=\"code-string\">\"paddingObject\"</span>,<span class=\"code-string\">\"expandToHashMap\"</span>,<span class=\"code-string\">\"hashMap\"</span>,<span class=\"code-string\">\"detectOverflow\"</span>,<span class=\"code-string\">\"state\"</span>,<span class=\"code-string\">\"elementContext\"</span>,<span class=\"code-string\">\"altBoundary\"</span>,<span class=\"code-string\">\"padding\"</span>,<span class=\"code-string\">\"altContext\"</span>,<span class=\"code-string\">\"popperRect\"</span>,<span class=\"code-string\">\"rects\"</span>,<span class=\"code-string\">\"elements\"</span>,<span class=\"code-string\">\"clippingClientRect\"</span>,<span class=\"code-string\">\"contextElement\"</span>,<span class=\"code-string\">\"referenceClientRect\"</span>,<span class=\"code-string\">\"popperOffsets\"</span>,<span class=\"code-string\">\"strategy\"</span>,<span class=\"code-string\">\"popperClientRect\"</span>,<span class=\"code-string\">\"elementClientRect\"</span>,<span class=\"code-string\">\"overflowOffsets\"</span>,<span class=\"code-string\">\"offsetData\"</span>,<span class=\"code-string\">\"modifiersData\"</span>,<span class=\"code-string\">\"offset\"</span>,<span class=\"code-string\">\"multiply\"</span>,<span class=\"code-string\">\"axis\"</span>,<span class=\"code-string\">\"INVALID_ELEMENT_ERROR\"</span>,<span class=\"code-string\">\"INFINITE_LOOP_ERROR\"</span>,<span class=\"code-string\">\"DEFAULT_OPTIONS\"</span>,<span class=\"code-string\">\"areValidElements\"</span>,<span class=\"code-string\">\"some\"</span>,<span class=\"code-string\">\"popperGenerator\"</span>,<span class=\"code-string\">\"generatorOptions\"</span>,<span class=\"code-string\">\"defaultModifiers\"</span>,<span class=\"code-string\">\"defaultOptions\"</span>,<span class=\"code-string\">\"createPopper\"</span>,<span class=\"code-string\">\"attributes\"</span>,<span class=\"code-string\">\"styles\"</span>,<span class=\"code-string\">\"effectCleanupFns\"</span>,<span class=\"code-string\">\"isDestroyed\"</span>,<span class=\"code-string\">\"instance\"</span>,<span class=\"code-string\">\"setOptions\"</span>,<span class=\"code-string\">\"setOptionsAction\"</span>,<span class=\"code-string\">\"cleanupModifierEffects\"</span>,<span class=\"code-string\">\"scrollParents\"</span>,<span class=\"code-string\">\"m\"</span>,<span class=\"code-string\">\"flipModifier\"</span>,<span class=\"code-string\">\"marginTop\"</span>,<span class=\"code-string\">\"marginRight\"</span>,<span class=\"code-string\">\"marginBottom\"</span>,<span class=\"code-string\">\"marginLeft\"</span>,<span class=\"code-string\">\"margin\"</span>,<span class=\"code-string\">\"parseFloat\"</span>,<span class=\"code-string\">\"warn\"</span>,<span class=\"code-string\">\"runModifierEffects\"</span>,<span class=\"code-string\">\"update\"</span>,<span class=\"code-string\">\"forceUpdate\"</span>,<span class=\"code-string\">\"reset\"</span>,<span class=\"code-string\">\"__debug_loops__\"</span>,<span class=\"code-string\">\"length\"</span>,<span class=\"code-string\">\"destroy\"</span>,<span class=\"code-string\">\"onFirstUpdate\"</span>,<span class=\"code-string\">\"cleanupFn\"</span>,<span class=\"code-string\">\"noopFn\"</span>,<span class=\"code-string\">\"passive\"</span>,<span class=\"code-string\">\"resize\"</span>,<span class=\"code-string\">\"addEventListener\"</span>,<span class=\"code-string\">\"removeEventListener\"</span>,<span class=\"code-string\">\"unsetSides\"</span>,<span class=\"code-string\">\"roundOffsetsByDPR\"</span>,<span class=\"code-string\">\"dpr\"</span>,<span class=\"code-string\">\"devicePixelRatio\"</span>,<span class=\"code-string\">\"mapToStyles\"</span>,<span class=\"code-string\">\"gpuAcceleration\"</span>,<span class=\"code-string\">\"adaptive\"</span>,<span class=\"code-string\">\"roundOffsets\"</span>,<span class=\"code-string\">\"hasX\"</span>,<span class=\"code-string\">\"hasOwnProperty\"</span>,<span class=\"code-string\">\"hasY\"</span>,<span class=\"code-string\">\"sideX\"</span>,<span class=\"code-string\">\"sideY\"</span>,<span class=\"code-string\">\"heightProp\"</span>,<span class=\"code-string\">\"widthProp\"</span>,<span class=\"code-string\">\"offsetY\"</span>,<span class=\"code-string\">\"offsetX\"</span>,<span class=\"code-string\">\"commonStyles\"</span>,<span class=\"code-string\">\"computeStyles\"</span>,<span class=\"code-string\">\"transitionProperty\"</span>,<span class=\"code-string\">\"property\"</span>,<span class=\"code-string\">\"arrow\"</span>,<span class=\"code-string\">\"applyStyles\"</span>,<span class=\"code-string\">\"style\"</span>,<span class=\"code-string\">\"assign\"</span>,<span class=\"code-string\">\"removeAttribute\"</span>,<span class=\"code-string\">\"setAttribute\"</span>,<span class=\"code-string\">\"initialStyles\"</span>,<span class=\"code-string\">\"styleProperties\"</span>,<span class=\"code-string\">\"attribute\"</span>,<span class=\"code-string\">\"distanceAndSkiddingToXY\"</span>,<span class=\"code-string\">\"invertDistance\"</span>,<span class=\"code-string\">\"skidding\"</span>,<span class=\"code-string\">\"distance\"</span>,<span class=\"code-string\">\"hash\"</span>,<span class=\"code-string\">\"getOppositePlacement\"</span>,<span class=\"code-string\">\"matched\"</span>,<span class=\"code-string\">\"getOppositeVariationPlacement\"</span>,<span class=\"code-string\">\"computeAutoPlacement\"</span>,<span class=\"code-string\">\"flipVariations\"</span>,<span class=\"code-string\">\"allowedAutoPlacements\"</span>,<span class=\"code-string\">\"allPlacements\"</span>,<span class=\"code-string\">\"allowedPlacements\"</span>,<span class=\"code-string\">\"overflows\"</span>,<span class=\"code-string\">\"a\"</span>,<span class=\"code-string\">\"b\"</span>,<span class=\"code-string\">\"getExpandedFallbackPlacements\"</span>,<span class=\"code-string\">\"oppositePlacement\"</span>,<span class=\"code-string\">\"flip\"</span>,<span class=\"code-string\">\"_skip\"</span>,<span class=\"code-string\">\"checkMainAxis\"</span>,<span class=\"code-string\">\"altAxis\"</span>,<span class=\"code-string\">\"checkAltAxis\"</span>,<span class=\"code-string\">\"specifiedFallbackPlacements\"</span>,<span class=\"code-string\">\"fallbackPlacements\"</span>,<span class=\"code-string\">\"preferredPlacement\"</span>,<span class=\"code-string\">\"isBasePlacement\"</span>,<span class=\"code-string\">\"referenceRect\"</span>,<span class=\"code-string\">\"checksMap\"</span>,<span class=\"code-string\">\"makeFallbackChecks\"</span>,<span class=\"code-string\">\"firstFittingPlacement\"</span>,<span class=\"code-string\">\"i\"</span>,<span class=\"code-string\">\"isStartVariation\"</span>,<span class=\"code-string\">\"isVertical\"</span>,<span class=\"code-string\">\"mainVariationSide\"</span>,<span class=\"code-string\">\"altVariationSide\"</span>,<span class=\"code-string\">\"checks\"</span>,<span class=\"code-string\">\"every\"</span>,<span class=\"code-string\">\"check\"</span>,<span class=\"code-string\">\"numberOfChecks\"</span>,<span class=\"code-string\">\"fittingPlacement\"</span>,<span class=\"code-string\">\"slice\"</span>,<span class=\"code-string\">\"getAltAxis\"</span>,<span class=\"code-string\">\"within\"</span>,<span class=\"code-string\">\"mathMax\"</span>,<span class=\"code-string\">\"mathMin\"</span>,<span class=\"code-string\">\"withinMaxClamp\"</span>,<span class=\"code-string\">\"v\"</span>,<span class=\"code-string\">\"preventOverflow\"</span>,<span class=\"code-string\">\"tether\"</span>,<span class=\"code-string\">\"tetherOffset\"</span>,<span class=\"code-string\">\"tetherOffsetValue\"</span>,<span class=\"code-string\">\"normalizedTetherOffsetValue\"</span>,<span class=\"code-string\">\"offsetModifierState\"</span>,<span class=\"code-string\">\"mainSide\"</span>,<span class=\"code-string\">\"altSide\"</span>,<span class=\"code-string\">\"additive\"</span>,<span class=\"code-string\">\"minLen\"</span>,<span class=\"code-string\">\"maxLen\"</span>,<span class=\"code-string\">\"arrowElement\"</span>,<span class=\"code-string\">\"arrowRect\"</span>,<span class=\"code-string\">\"arrowPaddingObject\"</span>,<span class=\"code-string\">\"arrowPaddingMin\"</span>,<span class=\"code-string\">\"arrowPaddingMax\"</span>,<span class=\"code-string\">\"arrowLen\"</span>,<span class=\"code-string\">\"minOffset\"</span>,<span class=\"code-string\">\"maxOffset\"</span>,<span class=\"code-string\">\"arrowOffsetParent\"</span>,<span class=\"code-string\">\"clientOffset\"</span>,<span class=\"code-string\">\"offsetModifierValue\"</span>,<span class=\"code-string\">\"tetherMin\"</span>,<span class=\"code-string\">\"tetherMax\"</span>,<span class=\"code-string\">\"preventedOffset\"</span>,<span class=\"code-string\">\"isOriginSide\"</span>,<span class=\"code-string\">\"toPaddingObject\"</span>,<span class=\"code-string\">\"minProp\"</span>,<span class=\"code-string\">\"maxProp\"</span>,<span class=\"code-string\">\"endDiff\"</span>,<span class=\"code-string\">\"startDiff\"</span>,<span class=\"code-string\">\"clientSize\"</span>,<span class=\"code-string\">\"centerToReference\"</span>,<span class=\"code-string\">\"center\"</span>,<span class=\"code-string\">\"axisProp\"</span>,<span class=\"code-string\">\"centerOffset\"</span>,<span class=\"code-string\">\"querySelector\"</span>,<span class=\"code-string\">\"getSideOffsets\"</span>,<span class=\"code-string\">\"preventedOffsets\"</span>,<span class=\"code-string\">\"isAnySideFullyClipped\"</span>,<span class=\"code-string\">\"side\"</span>,<span class=\"code-string\">\"hide\"</span>,<span class=\"code-string\">\"referenceOverflow\"</span>,<span class=\"code-string\">\"popperAltOverflow\"</span>,<span class=\"code-string\">\"referenceClippingOffsets\"</span>,<span class=\"code-string\">\"popperEscapeOffsets\"</span>,<span class=\"code-string\">\"isReferenceHidden\"</span>,<span class=\"code-string\">\"hasPopperEscaped\"</span>,<span class=\"code-string\">\"eventListeners\"</span>],<span class=\"code-attr\">\"mappings\"</span>:<span class=\"code-string\">\";;;;;;;;;;EAIe,SAASA,SAAT,CAAmBC,IAAnB,EAAyB;EACtC,MAAIA,IAAI,IAAI,IAAZ,EAAkB;EAChB,WAAOC,MAAP;EACD;;EAED,MAAID,IAAI,CAACE,QAAL,OAAoB,iBAAxB,EAA2C;EACzC,QAAMC,aAAa,GAAGH,IAAI,CAACG,aAA3B;EACA,WAAOA,aAAa,GAAGA,aAAa,CAACC,WAAd,IAA6BH,MAAhC,GAAyCA,MAA7D;EACD;;EAED,SAAOD,IAAP;EACD;;ECVD,SAASK,SAAT,CAAmBL,IAAnB,EAAyB;EACvB,MAAMM,UAAU,GAAGP,SAAS,CAACC,IAAD,CAAT,CAAgBO,OAAnC;EACA,SAAOP,IAAI,YAAYM,UAAhB,IAA8BN,IAAI,YAAYO,OAArD;EACD;;EAID,SAASC,aAAT,CAAuBR,IAAvB,EAA6B;EAC3B,MAAM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AAGJ,eAAe,CAAC;EAAEE,EAAAA,gBAAgB,EAAhBA;EAAF,CAAD;;;;;;;;;;;;;;;;;;;\"</span>}"]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper.js.map</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>156 kB</span><span>Source Map (JSON)</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper.js.map" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code>{<span class="code-attr">"version"</span>:<span class="code-number">3</span>,<span class="code-attr">"file"</span>:<span class="code-string">"popper.js"</span>,<span class="code-attr">"sources"</span>:[<span class="code-string">"../../src/dom-utils/getWindow.js"</span>,<span class="code-string">"../../src/dom-utils/instanceOf.js"</span>,<span class="code-string">"../../src/utils/math.js"</span>,<span class="code-string">"../../src/dom-utils/getBoundingClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getHTMLElementScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeName.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentElement.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScrollBarX.js"</span>,<span class="code-string">"../../src/dom-utils/getComputedStyle.js"</span>,<span class="code-string">"../../src/dom-utils/isScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/getCompositeRect.js"</span>,<span class="code-string">"../../src/dom-utils/getLayoutRect.js"</span>,<span class="code-string">"../../src/dom-utils/getParentNode.js"</span>,<span class="code-string">"../../src/dom-utils/getScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/listScrollParents.js"</span>,<span class="code-string">"../../src/dom-utils/isTableElement.js"</span>,<span class="code-string">"../../src/dom-utils/getOffsetParent.js"</span>,<span class="code-string">"../../src/enums.js"</span>,<span class="code-string">"../../src/utils/orderModifiers.js"</span>,<span class="code-string">"../../src/utils/debounce.js"</span>,<span class="code-string">"../../src/utils/format.js"</span>,<span class="code-string">"../../src/utils/validateModifiers.js"</span>,<span class="code-string">"../../src/utils/uniqueBy.js"</span>,<span class="code-string">"../../src/utils/getBasePlacement.js"</span>,<span class="code-string">"../../src/utils/mergeByName.js"</span>,<span class="code-string">"../../src/dom-utils/getViewportRect.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentRect.js"</span>,<span class="code-string">"../../src/dom-utils/contains.js"</span>,<span class="code-string">"../../src/utils/rectToClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getClippingRect.js"</span>,<span class="code-string">"../../src/utils/getVariation.js"</span>,<span class="code-string">"../../src/utils/getMainAxisFromPlacement.js"</span>,<span class="code-string">"../../src/utils/computeOffsets.js"</span>,<span class="code-string">"../../src/utils/getFreshSideObject.js"</span>,<span class="code-string">"../../src/utils/mergePaddingObject.js"</span>,<span class="code-string">"../../src/utils/expandToHashMap.js"</span>,<span class="code-string">"../../src/utils/detectOverflow.js"</span>,<span class="code-string">"../../src/createPopper.js"</span>,<span class="code-string">"../../src/modifiers/eventListeners.js"</span>,<span class="code-string">"../../src/modifiers/popperOffsets.js"</span>,<span class="code-string">"../../src/modifiers/computeStyles.js"</span>,<span class="code-string">"../../src/modifiers/applyStyles.js"</span>,<span class="code-string">"../../src/modifiers/offset.js"</span>,<span class="code-string">"../../src/utils/getOppositePlacement.js"</span>,<span class="code-string">"../../src/utils/getOppositeVariationPlacement.js"</span>,<span class="code-string">"../../src/utils/computeAutoPlacement.js"</span>,<span class="code-string">"../../src/modifiers/flip.js"</span>,<span class="code-string">"../../src/utils/getAltAxis.js"</span>,<span class="code-string">"../../src/utils/within.js"</span>,<span class="code-string">"../../src/modifiers/preventOverflow.js"</span>,<span class="code-string">"../../src/modifiers/arrow.js"</span>,<span class="code-string">"../../src/modifiers/hide.js"</span>,<span class="code-string">"../../src/popper-lite.js"</span>,<span class="code-string">"../../src/popper.js"</span>],<span class="code-attr">"sourcesContent"</span>:[<span class="code-string">"// @flow\nimport type { Window } from '../types';\ndeclare function getWindow(node: Node | Window): Window;\n\nexport default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n const ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\n Element);\nfunction isElement(node) {\n const OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\n HTMLElement);\nfunction isHTMLElement(node) {\n const OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\n ShadowRoot);\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n const OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };\n"</span>,<span class="code-string">"// @flow\nexport const max = Math.max;\nexport const min = Math.min;\nexport const round = Math.round;\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject, VirtualElement } from '../types';\nimport { isHTMLElement } from './instanceOf';\nimport { round } from '../utils/math';\n\nexport default function getBoundingClientRect(\n element: Element | VirtualElement,\n includeScale: boolean = false\n): ClientRectObject {\n const rect = element.getBoundingClientRect();\n let scaleX = 1;\n let scaleY = 1;\n\n if (isHTMLElement(element) &amp;&amp; includeScale) {\n const offsetHeight = element.offsetHeight;\n const offsetWidth = element.offsetWidth;\n\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\n // Fallback to 1 in case both values are `0`\n if (offsetWidth &gt; 0) {\n scaleX = round(rect.width) / offsetWidth || 1;\n }\n if (offsetHeight &gt; 0) {\n scaleY = round(rect.height) / offsetHeight || 1;\n }\n }\n\n return {\n width: rect.width / scaleX,\n height: rect.height / scaleY,\n top: rect.top / scaleY,\n right: rect.right / scaleX,\n bottom: rect.bottom / scaleY,\n left: rect.left / scaleX,\n x: rect.left / scaleX,\n y: rect.top / scaleY,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport type { Window } from '../types';\n\nexport default function getWindowScroll(node: Node | Window) {\n const win = getWindow(node);\n const scrollLeft = win.pageXOffset;\n const scrollTop = win.pageYOffset;\n\n return {\n scrollLeft,\n scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function getHTMLElementScroll(element: HTMLElement) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindowScroll from './getWindowScroll';\nimport getWindow from './getWindow';\nimport { isHTMLElement } from './instanceOf';\nimport getHTMLElementScroll from './getHTMLElementScroll';\nimport type { Window } from '../types';\n\nexport default function getNodeScroll(node: Node | Window) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Window } from '../types';\n\nexport default function getNodeName(element: ?Node | Window): ?string {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}\n"</span>,<span class="code-string">"// @flow\nimport { isElement } from './instanceOf';\nimport type { Window } from '../types';\n\nexport default function getDocumentElement(\n element: Element | Window\n): HTMLElement {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return (\n (isElement(element)\n ? element.ownerDocument\n : // $FlowFixMe[prop-missing]\n element.document) || window.document\n ).documentElement;\n}\n"</span>,<span class="code-string">"// @flow\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScroll from './getWindowScroll';\n\nexport default function getWindowScrollBarX(element: Element): number {\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return (\n getBoundingClientRect(getDocumentElement(element)).left +\n getWindowScroll(element).scrollLeft\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\nexport default function getComputedStyle(\n element: Element\n): CSSStyleDeclaration {\n return getWindow(element).getComputedStyle(element);\n}\n"</span>,<span class="code-string">"// @flow\nimport getComputedStyle from './getComputedStyle';\n\nexport default function isScrollParent(element: HTMLElement): boolean {\n // Firefox wants us to check `-x` and `-y` variations as well\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, VirtualElement, Window } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getNodeScroll from './getNodeScroll';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getDocumentElement from './getDocumentElement';\nimport isScrollParent from './isScrollParent';\nimport { round } from '../utils/math';\n\nfunction isElementScaled(element: HTMLElement) {\n const rect = element.getBoundingClientRect();\n const scaleX = round(rect.width) / element.offsetWidth || 1;\n const scaleY = round(rect.height) / element.offsetHeight || 1;\n\n return scaleX !== 1 || scaleY !== 1;\n}\n\n// Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\nexport default function getCompositeRect(\n elementOrVirtualElement: Element | VirtualElement,\n offsetParent: Element | Window,\n isFixed: boolean = false\n): Rect {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const offsetParentIsScaled =\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const rect = getBoundingClientRect(\n elementOrVirtualElement,\n offsetParentIsScaled\n );\n\n let scroll = { scrollLeft: 0, scrollTop: 0 };\n let offsets = { x: 0, y: 0 };\n\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\n if (\n getNodeName(offsetParent) !== 'body' ||\n // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)\n ) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\n\n// Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\nexport default function getLayoutRect(element: HTMLElement): Rect {\n const clientRect = getBoundingClientRect(element);\n\n // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) &lt;= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) &lt;= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width,\n height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\nimport getDocumentElement from './getDocumentElement';\nimport { isShadowRoot } from './instanceOf';\n\nexport default function getParentNode(element: Node | ShadowRoot): Node {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || // DOM Element detected\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getParentNode from './getParentNode';\nimport isScrollParent from './isScrollParent';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\n\nexport default function getScrollParent(node: Node): HTMLElement {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}\n"</span>,<span class="code-string">"// @flow\nimport getScrollParent from './getScrollParent';\nimport getParentNode from './getParentNode';\nimport getWindow from './getWindow';\nimport type { Window, VisualViewport } from '../types';\nimport isScrollParent from './isScrollParent';\n\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\nexport default function listScrollParents(\n element: Node,\n list: Array&lt;Element | Window&gt; = []\n): Array&lt;Element | Window | VisualViewport&gt; {\n const scrollParent = getScrollParent(element);\n const isBody = scrollParent === element.ownerDocument?.body;\n const win = getWindow(scrollParent);\n const target = isBody\n ? [win].concat(\n win.visualViewport || [],\n isScrollParent(scrollParent) ? scrollParent : []\n )\n : scrollParent;\n const updatedList = list.concat(target);\n\n return isBody\n ? updatedList\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\n\nexport default function isTableElement(element: Element): boolean {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getNodeName from './getNodeName';\nimport getComputedStyle from './getComputedStyle';\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\nimport isTableElement from './isTableElement';\nimport getParentNode from './getParentNode';\n\nfunction getTrueOffsetParent(element: Element): ?Element {\n if (\n !isHTMLElement(element) ||\n // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed'\n ) {\n return null;\n }\n\n return element.offsetParent;\n}\n\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\nfunction getContainingBlock(element: Element) {\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\n\n if (isIE &amp;&amp; isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n const elementCss = getComputedStyle(element);\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n let currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (\n isHTMLElement(currentNode) &amp;&amp;\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\n ) {\n const css = getComputedStyle(currentNode);\n\n // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n if (\n css.transform !== 'none' ||\n css.perspective !== 'none' ||\n css.contain === 'paint' ||\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\n ) {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nexport default function getOffsetParent(element: Element) {\n const window = getWindow(element);\n\n let offsetParent = getTrueOffsetParent(element);\n\n while (\n offsetParent &amp;&amp;\n isTableElement(offsetParent) &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'\n ) {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (\n offsetParent &amp;&amp;\n (getNodeName(offsetParent) === 'html' ||\n (getNodeName(offsetParent) === 'body' &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'))\n ) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n"</span>,<span class="code-string">"// @flow\nexport const top: 'top' = 'top';\nexport const bottom: 'bottom' = 'bottom';\nexport const right: 'right' = 'right';\nexport const left: 'left' = 'left';\nexport const auto: 'auto' = 'auto';\nexport type BasePlacement =\n | typeof top\n | typeof bottom\n | typeof right\n | typeof left;\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\n\nexport const start: 'start' = 'start';\nexport const end: 'end' = 'end';\nexport type Variation = typeof start | typeof end;\n\nexport const clippingParents: 'clippingParents' = 'clippingParents';\nexport const viewport: 'viewport' = 'viewport';\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\nexport type RootBoundary = typeof viewport | 'document';\n\nexport const popper: 'popper' = 'popper';\nexport const reference: 'reference' = 'reference';\nexport type Context = typeof popper | typeof reference;\n\nexport type VariationPlacement =\n | 'top-start'\n | 'top-end'\n | 'bottom-start'\n | 'bottom-end'\n | 'right-start'\n | 'right-end'\n | 'left-start'\n | 'left-end';\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\n\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\n []\n);\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\n (\n acc: Array&lt;Placement&gt;,\n placement: BasePlacement | typeof auto\n ): Array&lt;Placement&gt; =&gt;\n acc.concat([\n placement,\n (`${placement}-${start}`: any),\n (`${placement}-${end}`: any),\n ]),\n []\n);\n\n// modifiers that need to read the DOM\nexport const beforeRead: 'beforeRead' = 'beforeRead';\nexport const read: 'read' = 'read';\nexport const afterRead: 'afterRead' = 'afterRead';\n// pure-logic modifiers\nexport const beforeMain: 'beforeMain' = 'beforeMain';\nexport const main: 'main' = 'main';\nexport const afterMain: 'afterMain' = 'afterMain';\n// modifier with the purpose to write to the DOM (or write into a framework state)\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\nexport const write: 'write' = 'write';\nexport const afterWrite: 'afterWrite' = 'afterWrite';\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\n beforeRead,\n read,\n afterRead,\n beforeMain,\n main,\n afterMain,\n beforeWrite,\n write,\n afterWrite,\n];\n\nexport type ModifierPhases =\n | typeof beforeRead\n | typeof read\n | typeof afterRead\n | typeof beforeMain\n | typeof main\n | typeof afterMain\n | typeof beforeWrite\n | typeof write\n | typeof afterWrite;\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\nimport { modifierPhases } from '../enums';\n\n// source: https://stackoverflow.com/questions/49875255\nfunction order(modifiers) {\n const map = new Map();\n const visited = new Set();\n const result = [];\n\n modifiers.forEach(modifier =&gt; {\n map.set(modifier.name, modifier);\n });\n\n // On visiting object, check for its dependencies and visit them recursively\n function sort(modifier: Modifier&lt;any, any&gt;) {\n visited.add(modifier.name);\n\n const requires = [\n ...(modifier.requires || []),\n ...(modifier.requiresIfExists || []),\n ];\n\n requires.forEach(dep =&gt; {\n if (!visited.has(dep)) {\n const depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n\n result.push(modifier);\n }\n\n modifiers.forEach(modifier =&gt; {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n\n return result;\n}\n\nexport default function orderModifiers(\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\n // order based on dependencies\n const orderedModifiers = order(modifiers);\n\n // order based on phase\n return modifierPhases.reduce((acc, phase) =&gt; {\n return acc.concat(\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\n );\n }, []);\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\n let pending;\n return () =&gt; {\n if (!pending) {\n pending = new Promise&lt;T&gt;(resolve =&gt; {\n Promise.resolve().then(() =&gt; {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function format(str: string, ...args: Array&lt;string&gt;) {\n return [...args].reduce((p, c) =&gt; p.replace(/%s/, c), str);\n}\n"</span>,<span class="code-string">"// @flow\nimport format from './format';\nimport { modifierPhases } from '../enums';\n\nconst INVALID_MODIFIER_ERROR =\n 'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s';\nconst MISSING_DEPENDENCY_ERROR =\n 'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available';\nconst VALID_PROPERTIES = [\n 'name',\n 'enabled',\n 'phase',\n 'fn',\n 'effect',\n 'requires',\n 'options',\n];\n\nexport default function validateModifiers(modifiers: Array&lt;any&gt;): void {\n modifiers.forEach((modifier) =&gt; {\n [...Object.keys(modifier), ...VALID_PROPERTIES]\n // IE11-compatible replacement for `new Set(iterable)`\n .filter((value, index, self) =&gt; self.indexOf(value) === index)\n .forEach((key) =&gt; {\n switch (key) {\n case 'name':\n if (typeof modifier.name !== 'string') {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n String(modifier.name),\n '\"name\"',\n '\"string\"',\n `\"${String(modifier.name)}\"`\n )\n );\n }\n break;\n case 'enabled':\n if (typeof modifier.enabled !== 'boolean') {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"enabled\"',\n '\"boolean\"',\n `\"${String(modifier.enabled)}\"`\n )\n );\n }\n break;\n case 'phase':\n if (modifierPhases.indexOf(modifier.phase) &lt; 0) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"phase\"',\n `either ${modifierPhases.join(', ')}`,\n `\"${String(modifier.phase)}\"`\n )\n );\n }\n break;\n case 'fn':\n if (typeof modifier.fn !== 'function') {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"fn\"',\n '\"function\"',\n `\"${String(modifier.fn)}\"`\n )\n );\n }\n break;\n case 'effect':\n if (\n modifier.effect != null &amp;&amp;\n typeof modifier.effect !== 'function'\n ) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"effect\"',\n '\"function\"',\n `\"${String(modifier.fn)}\"`\n )\n );\n }\n break;\n case 'requires':\n if (\n modifier.requires != null &amp;&amp;\n !Array.isArray(modifier.requires)\n ) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"requires\"',\n '\"array\"',\n `\"${String(modifier.requires)}\"`\n )\n );\n }\n break;\n case 'requiresIfExists':\n if (!Array.isArray(modifier.requiresIfExists)) {\n console.error(\n format(\n INVALID_MODIFIER_ERROR,\n modifier.name,\n '\"requiresIfExists\"',\n '\"array\"',\n `\"${String(modifier.requiresIfExists)}\"`\n )\n );\n }\n break;\n case 'options':\n case 'data':\n break;\n default:\n console.error(\n `PopperJS: an invalid property has been provided to the \"${\n modifier.name\n }\" modifier, valid properties are ${VALID_PROPERTIES.map(\n (s) =&gt; `\"${s}\"`\n ).join(', ')}; but \"${key}\" was provided.`\n );\n }\n\n modifier.requires &amp;&amp;\n modifier.requires.forEach((requirement) =&gt; {\n if (modifiers.find((mod) =&gt; mod.name === requirement) == null) {\n console.error(\n format(\n MISSING_DEPENDENCY_ERROR,\n String(modifier.name),\n requirement,\n requirement\n )\n );\n }\n });\n });\n });\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function uniqueBy&lt;T&gt;(arr: Array&lt;T&gt;, fn: T =&gt; any): Array&lt;T&gt; {\n const identifiers = new Set();\n\n return arr.filter(item =&gt; {\n const identifier = fn(item);\n\n if (!identifiers.has(identifier)) {\n identifiers.add(identifier);\n return true;\n }\n });\n}\n"</span>,<span class="code-string">"// @flow\nimport { type BasePlacement, type Placement, auto } from '../enums';\n\nexport default function getBasePlacement(\n placement: Placement | typeof auto\n): BasePlacement {\n return (placement.split('-')[0]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\n\nexport default function mergeByName(\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\n const merged = modifiers.reduce((merged, current) =&gt; {\n const existing = merged[current.name];\n merged[current.name] = existing\n ? {\n ...existing,\n ...current,\n options: { ...existing.options, ...current.options },\n data: { ...existing.data, ...current.data },\n }\n : current;\n return merged;\n }, {});\n\n // IE11 does not support Object.values\n return Object.keys(merged).map(key =&gt; merged[key]);\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScrollBarX from './getWindowScrollBarX';\n\nexport default function getViewportRect(element: Element) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n\n // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\n\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width,\n height,\n x: x + getWindowScrollBarX(element),\n y,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getWindowScroll from './getWindowScroll';\nimport { max } from '../utils/math';\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\nexport default function getDocumentRect(element: HTMLElement): Rect {\n const html = getDocumentElement(element);\n const winScroll = getWindowScroll(element);\n const body = element.ownerDocument?.body;\n\n const width = max(\n html.scrollWidth,\n html.clientWidth,\n body ? body.scrollWidth : 0,\n body ? body.clientWidth : 0\n );\n const height = max(\n html.scrollHeight,\n html.clientHeight,\n body ? body.scrollHeight : 0,\n body ? body.clientHeight : 0\n );\n\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n const y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return { width, height, x, y };\n}\n"</span>,<span class="code-string">"// @flow\nimport { isShadowRoot } from './instanceOf';\n\nexport default function contains(parent: Element, child: Element) {\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\n\n // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n }\n // then fallback to custom implementation with Shadow DOM support\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\n let next = child;\n do {\n if (next &amp;&amp; parent.isSameNode(next)) {\n return true;\n }\n // $FlowFixMe[prop-missing]: need a better way to handle this...\n next = next.parentNode || next.host;\n } while (next);\n }\n\n // Give up, the result is false\n return false;\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, ClientRectObject } from '../types';\n\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\n return {\n ...rect,\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject } from '../types';\nimport type { Boundary, RootBoundary } from '../enums';\nimport { viewport } from '../enums';\nimport getViewportRect from './getViewportRect';\nimport getDocumentRect from './getDocumentRect';\nimport listScrollParents from './listScrollParents';\nimport getOffsetParent from './getOffsetParent';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport { isElement, isHTMLElement } from './instanceOf';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getParentNode from './getParentNode';\nimport contains from './contains';\nimport getNodeName from './getNodeName';\nimport rectToClientRect from '../utils/rectToClientRect';\nimport { max, min } from '../utils/math';\n\nfunction getInnerBoundingClientRect(element: Element) {\n const rect = getBoundingClientRect(element);\n\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n\n return rect;\n}\n\nfunction getClientRectFromMixedType(\n element: Element,\n clippingParent: Element | RootBoundary\n): ClientRectObject {\n return clippingParent === viewport\n ? rectToClientRect(getViewportRect(element))\n : isElement(clippingParent)\n ? getInnerBoundingClientRect(clippingParent)\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n}\n\n// A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\n const clippingParents = listScrollParents(getParentNode(element));\n const canEscapeClipping =\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\n const clipperElement =\n canEscapeClipping &amp;&amp; isHTMLElement(element)\n ? getOffsetParent(element)\n : element;\n\n if (!isElement(clipperElement)) {\n return [];\n }\n\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n return clippingParents.filter(\n (clippingParent) =&gt;\n isElement(clippingParent) &amp;&amp;\n contains(clippingParent, clipperElement) &amp;&amp;\n getNodeName(clippingParent) !== 'body'\n );\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping parents\nexport default function getClippingRect(\n element: Element,\n boundary: Boundary,\n rootBoundary: RootBoundary\n): ClientRectObject {\n const mainClippingParents =\n boundary === 'clippingParents'\n ? getClippingParents(element)\n : [].concat(boundary);\n const clippingParents = [...mainClippingParents, rootBoundary];\n const firstClippingParent = clippingParents[0];\n\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\n const rect = getClientRectFromMixedType(element, clippingParent);\n\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n\n return clippingRect;\n}\n"</span>,<span class="code-string">"// @flow\nimport { type Variation, type Placement } from '../enums';\n\nexport default function getVariation(placement: Placement): ?Variation {\n return (placement.split('-')[1]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nexport default function getMainAxisFromPlacement(\n placement: Placement\n): 'x' | 'y' {\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\n}\n"</span>,<span class="code-string">"// @flow\nimport getBasePlacement from './getBasePlacement';\nimport getVariation from './getVariation';\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\nimport type {\n Rect,\n PositioningStrategy,\n Offsets,\n ClientRectObject,\n} from '../types';\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\n\nexport default function computeOffsets({\n reference,\n element,\n placement,\n}: {\n reference: Rect | ClientRectObject,\n element: Rect | ClientRectObject,\n strategy: PositioningStrategy,\n placement?: Placement,\n}): Offsets {\n const basePlacement = placement ? getBasePlacement(placement) : null;\n const variation = placement ? getVariation(placement) : null;\n const commonX = reference.x + reference.width / 2 - element.width / 2;\n const commonY = reference.y + reference.height / 2 - element.height / 2;\n\n let offsets;\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height,\n };\n break;\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height,\n };\n break;\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY,\n };\n break;\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY,\n };\n break;\n default:\n offsets = {\n x: reference.x,\n y: reference.y,\n };\n }\n\n const mainAxis = basePlacement\n ? getMainAxisFromPlacement(basePlacement)\n : null;\n\n if (mainAxis != null) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] =\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n case end:\n offsets[mainAxis] =\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n default:\n }\n }\n\n return offsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\n\nexport default function getFreshSideObject(): SideObject {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\nimport getFreshSideObject from './getFreshSideObject';\n\nexport default function mergePaddingObject(\n paddingObject: $Shape&lt;SideObject&gt;\n): SideObject {\n return {\n ...getFreshSideObject(),\n ...paddingObject,\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function expandToHashMap&lt;\n T: number | string | boolean,\n K: string\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\n return keys.reduce((hashMap, key) =&gt; {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}\n"</span>,<span class="code-string">"// @flow\nimport type { State, SideObject, Padding } from '../types';\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\nimport getClippingRect from '../dom-utils/getClippingRect';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\nimport computeOffsets from './computeOffsets';\nimport rectToClientRect from './rectToClientRect';\nimport {\n clippingParents,\n reference,\n popper,\n bottom,\n top,\n right,\n basePlacements,\n viewport,\n} from '../enums';\nimport { isElement } from '../dom-utils/instanceOf';\nimport mergePaddingObject from './mergePaddingObject';\nimport expandToHashMap from './expandToHashMap';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n placement: Placement,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n elementContext: Context,\n altBoundary: boolean,\n padding: Padding,\n};\n\nexport default function detectOverflow(\n state: State,\n options: $Shape&lt;Options&gt; = {}\n): SideObject {\n const {\n placement = state.placement,\n boundary = clippingParents,\n rootBoundary = viewport,\n elementContext = popper,\n altBoundary = false,\n padding = 0,\n } = options;\n\n const paddingObject = mergePaddingObject(\n typeof padding !== 'number'\n ? padding\n : expandToHashMap(padding, basePlacements)\n );\n\n const altContext = elementContext === popper ? reference : popper;\n\n const popperRect = state.rects.popper;\n const element = state.elements[altBoundary ? altContext : elementContext];\n\n const clippingClientRect = getClippingRect(\n isElement(element)\n ? element\n : element.contextElement || getDocumentElement(state.elements.popper),\n boundary,\n rootBoundary\n );\n\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\n\n const popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement,\n });\n\n const popperClientRect = rectToClientRect({\n ...popperRect,\n ...popperOffsets,\n });\n\n const elementClientRect =\n elementContext === popper ? popperClientRect : referenceClientRect;\n\n // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n const overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom:\n elementClientRect.bottom -\n clippingClientRect.bottom +\n paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right:\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\n };\n\n const offsetData = state.modifiersData.offset;\n\n // Offsets can be applied only to the popper element\n if (elementContext === popper &amp;&amp; offsetData) {\n const offset = offsetData[placement];\n\n Object.keys(overflowOffsets).forEach((key) =&gt; {\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport type {\n State,\n OptionsGeneric,\n Modifier,\n Instance,\n VirtualElement,\n} from './types';\nimport getCompositeRect from './dom-utils/getCompositeRect';\nimport getLayoutRect from './dom-utils/getLayoutRect';\nimport listScrollParents from './dom-utils/listScrollParents';\nimport getOffsetParent from './dom-utils/getOffsetParent';\nimport getComputedStyle from './dom-utils/getComputedStyle';\nimport orderModifiers from './utils/orderModifiers';\nimport debounce from './utils/debounce';\nimport validateModifiers from './utils/validateModifiers';\nimport uniqueBy from './utils/uniqueBy';\nimport getBasePlacement from './utils/getBasePlacement';\nimport mergeByName from './utils/mergeByName';\nimport detectOverflow from './utils/detectOverflow';\nimport { isElement } from './dom-utils/instanceOf';\nimport { auto } from './enums';\n\nconst INVALID_ELEMENT_ERROR =\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nconst INFINITE_LOOP_ERROR =\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\n\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute',\n};\n\ntype PopperGeneratorArgs = {\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\n};\n\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\n return !args.some(\n (element) =&gt;\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\n );\n}\n\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\n const {\n defaultModifiers = [],\n defaultOptions = DEFAULT_OPTIONS,\n } = generatorOptions;\n\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\n reference: Element | VirtualElement,\n popper: HTMLElement,\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\n ): Instance {\n let state: $Shape&lt;State&gt; = {\n placement: 'bottom',\n orderedModifiers: [],\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\n modifiersData: {},\n elements: {\n reference,\n popper,\n },\n attributes: {},\n styles: {},\n };\n\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\n let isDestroyed = false;\n\n const instance = {\n state,\n setOptions(setOptionsAction) {\n const options =\n typeof setOptionsAction === 'function'\n ? setOptionsAction(state.options)\n : setOptionsAction;\n\n cleanupModifierEffects();\n\n state.options = {\n // $FlowFixMe[exponential-spread]\n ...defaultOptions,\n ...state.options,\n ...options,\n };\n\n state.scrollParents = {\n reference: isElement(reference)\n ? listScrollParents(reference)\n : reference.contextElement\n ? listScrollParents(reference.contextElement)\n : [],\n popper: listScrollParents(popper),\n };\n\n // Orders the modifiers based on their dependencies and `phase`\n // properties\n const orderedModifiers = orderModifiers(\n mergeByName([...defaultModifiers, ...state.options.modifiers])\n );\n\n // Strip out disabled modifiers\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\n\n // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n if (__DEV__) {\n const modifiers = uniqueBy(\n [...orderedModifiers, ...state.options.modifiers],\n ({ name }) =&gt; name\n );\n\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n const flipModifier = state.orderedModifiers.find(\n ({ name }) =&gt; name === 'flip'\n );\n\n if (!flipModifier) {\n console.error(\n [\n 'Popper: \"auto\" placements require the \"flip\" modifier be',\n 'present and enabled to work.',\n ].join(' ')\n );\n }\n }\n\n const {\n marginTop,\n marginRight,\n marginBottom,\n marginLeft,\n } = getComputedStyle(popper);\n\n // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n if (\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\n parseFloat(margin)\n )\n ) {\n console.warn(\n [\n 'Popper: CSS \"margin\" styles cannot be used to apply padding',\n 'between the popper and its reference element or boundary.',\n 'To replicate margin, use the `offset` modifier, as well as',\n 'the `padding` option in the `preventOverflow` and `flip`',\n 'modifiers.',\n ].join(' ')\n );\n }\n }\n\n runModifierEffects();\n\n return instance.update();\n },\n\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n const { reference, popper } = state.elements;\n\n // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return;\n }\n\n // Store the reference and popper rects to be read by modifiers\n state.rects = {\n reference: getCompositeRect(\n reference,\n getOffsetParent(popper),\n state.options.strategy === 'fixed'\n ),\n popper: getLayoutRect(popper),\n };\n\n // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n state.reset = false;\n\n state.placement = state.options.placement;\n\n // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n state.orderedModifiers.forEach(\n (modifier) =&gt;\n (state.modifiersData[modifier.name] = {\n ...modifier.data,\n })\n );\n\n let __debug_loops__ = 0;\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\n if (__DEV__) {\n __debug_loops__ += 1;\n if (__debug_loops__ &gt; 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n const { fn, options = {}, name } = state.orderedModifiers[index];\n\n if (typeof fn === 'function') {\n state = fn({ state, options, name, instance }) || state;\n }\n }\n },\n\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\n () =&gt;\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\n instance.forceUpdate();\n resolve(state);\n })\n ),\n\n destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n },\n };\n\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return instance;\n }\n\n instance.setOptions(options).then((state) =&gt; {\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n });\n\n // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n function runModifierEffects() {\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\n if (typeof effect === 'function') {\n const cleanupFn = effect({ state, name, instance, options });\n const noopFn = () =&gt; {};\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach((fn) =&gt; fn());\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\n\nexport const createPopper = popperGenerator();\n\n// eslint-disable-next-line import/no-unused-modules\nexport { detectOverflow };\n"</span>,<span class="code-string">"// @flow\nimport type { ModifierArguments, Modifier } from '../types';\nimport getWindow from '../dom-utils/getWindow';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n scroll: boolean,\n resize: boolean,\n};\n\nconst passive = { passive: true };\n\nfunction effect({ state, instance, options }: ModifierArguments&lt;Options&gt;) {\n const { scroll = true, resize = true } = options;\n\n const window = getWindow(state.elements.popper);\n const scrollParents = [\n ...state.scrollParents.reference,\n ...state.scrollParents.popper,\n ];\n\n if (scroll) {\n scrollParents.forEach(scrollParent =&gt; {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return () =&gt; {\n if (scroll) {\n scrollParents.forEach(scrollParent =&gt; {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type EventListenersModifier = Modifier&lt;'eventListeners', Options&gt;;\nexport default ({\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: () =&gt; {},\n effect,\n data: {},\n}: EventListenersModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { ModifierArguments, Modifier } from '../types';\nimport computeOffsets from '../utils/computeOffsets';\n\nfunction popperOffsets({ state, name }: ModifierArguments&lt;{||}&gt;) {\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement,\n });\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type PopperOffsetsModifier = Modifier&lt;'popperOffsets', {||}&gt;;\nexport default ({\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {},\n}: PopperOffsetsModifier);\n"</span>,<span class="code-string">"// @flow\nimport type {\n PositioningStrategy,\n Offsets,\n Modifier,\n ModifierArguments,\n Rect,\n Window,\n} from '../types';\nimport {\n type BasePlacement,\n type Variation,\n top,\n left,\n right,\n bottom,\n end,\n} from '../enums';\nimport getOffsetParent from '../dom-utils/getOffsetParent';\nimport getWindow from '../dom-utils/getWindow';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getComputedStyle from '../dom-utils/getComputedStyle';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getVariation from '../utils/getVariation';\nimport { round } from '../utils/math';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type RoundOffsets = (\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;\n) =&gt; Offsets;\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n gpuAcceleration: boolean,\n adaptive: boolean,\n roundOffsets?: boolean | RoundOffsets,\n};\n\nconst unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto',\n};\n\n// Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\nfunction roundOffsetsByDPR({ x, y }): Offsets {\n const win: Window = window;\n const dpr = win.devicePixelRatio || 1;\n\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0,\n };\n}\n\nexport function mapToStyles({\n popper,\n popperRect,\n placement,\n variation,\n offsets,\n position,\n gpuAcceleration,\n adaptive,\n roundOffsets,\n isFixed,\n}: {\n popper: HTMLElement,\n popperRect: Rect,\n placement: BasePlacement,\n variation: ?Variation,\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;,\n position: PositioningStrategy,\n gpuAcceleration: boolean,\n adaptive: boolean,\n roundOffsets: boolean | RoundOffsets,\n isFixed: boolean,\n}) {\n let { x = 0, y = 0 } = offsets;\n\n ({ x, y } =\n typeof roundOffsets === 'function'\n ? roundOffsets({ x, y })\n : { x, y });\n\n const hasX = offsets.hasOwnProperty('x');\n const hasY = offsets.hasOwnProperty('y');\n\n let sideX: string = left;\n let sideY: string = top;\n\n const win: Window = window;\n\n if (adaptive) {\n let offsetParent = getOffsetParent(popper);\n let heightProp = 'clientHeight';\n let widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (\n getComputedStyle(offsetParent).position !== 'static' &amp;&amp;\n position === 'absolute'\n ) {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n }\n\n // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n offsetParent = (offsetParent: Element);\n\n if (\n placement === top ||\n ((placement === left || placement === right) &amp;&amp; variation === end)\n ) {\n sideY = bottom;\n const offsetY =\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\n ? win.visualViewport.height\n : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (\n placement === left ||\n ((placement === top || placement === bottom) &amp;&amp; variation === end)\n ) {\n sideX = right;\n const offsetX =\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\n ? win.visualViewport.width\n : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n const commonStyles = {\n position,\n ...(adaptive &amp;&amp; unsetSides),\n };\n\n ({ x, y } =\n roundOffsets === true\n ? roundOffsetsByDPR({ x, y })\n : { x, y });\n\n if (gpuAcceleration) {\n return {\n ...commonStyles,\n [sideY]: hasY ? '0' : '',\n [sideX]: hasX ? '0' : '',\n // Layer acceleration can disable subpixel rendering which causes slightly\n // blurry text on low PPI displays, so we want to use 2D transforms\n // instead\n transform:\n (win.devicePixelRatio || 1) &lt;= 1\n ? `translate(${x}px, ${y}px)`\n : `translate3d(${x}px, ${y}px, 0)`,\n };\n }\n\n return {\n ...commonStyles,\n [sideY]: hasY ? `${y}px` : '',\n [sideX]: hasX ? `${x}px` : '',\n transform: '',\n };\n}\n\nfunction computeStyles({ state, options }: ModifierArguments&lt;Options&gt;) {\n const {\n gpuAcceleration = true,\n adaptive = true,\n // defaults to use builtin `roundOffsetsByDPR`\n roundOffsets = true,\n } = options;\n\n if (__DEV__) {\n const transitionProperty =\n getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (\n adaptive &amp;&amp;\n ['transform', 'top', 'right', 'bottom', 'left'].some(\n (property) =&gt; transitionProperty.indexOf(property) &gt;= 0\n )\n ) {\n console.warn(\n [\n 'Popper: Detected CSS transitions on at least one of the following',\n 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".',\n '\\n\\n',\n 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow',\n 'for smooth transitions, or remove these properties from the CSS',\n 'transition declaration on the popper element if only transitioning',\n 'opacity or background-color for example.',\n '\\n\\n',\n 'We recommend using the popper element as a wrapper around an inner',\n 'element that can have any CSS property transitioned for animations.',\n ].join(' ')\n );\n }\n }\n\n const commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration,\n isFixed: state.options.strategy === 'fixed',\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = {\n ...state.styles.popper,\n ...mapToStyles({\n ...commonStyles,\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive,\n roundOffsets,\n }),\n };\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = {\n ...state.styles.arrow,\n ...mapToStyles({\n ...commonStyles,\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets,\n }),\n };\n }\n\n state.attributes.popper = {\n ...state.attributes.popper,\n 'data-popper-placement': state.placement,\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ComputeStylesModifier = Modifier&lt;'computeStyles', Options&gt;;\nexport default ({\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {},\n}: ComputeStylesModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier, ModifierArguments } from '../types';\nimport getNodeName from '../dom-utils/getNodeName';\nimport { isHTMLElement } from '../dom-utils/instanceOf';\n\n// This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles({ state }: ModifierArguments&lt;{||}&gt;) {\n Object.keys(state.elements).forEach((name) =&gt; {\n const style = state.styles[name] || {};\n\n const attributes = state.attributes[name] || {};\n const element = state.elements[name];\n\n // arrow is optional + virtual elements\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n Object.assign(element.style, style);\n\n Object.keys(attributes).forEach((name) =&gt; {\n const value = attributes[name];\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect({ state }: ModifierArguments&lt;{||}&gt;) {\n const initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0',\n },\n arrow: {\n position: 'absolute',\n },\n reference: {},\n };\n\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return () =&gt; {\n Object.keys(state.elements).forEach((name) =&gt; {\n const element = state.elements[name];\n const attributes = state.attributes[name] || {};\n\n const styleProperties = Object.keys(\n state.styles.hasOwnProperty(name)\n ? state.styles[name]\n : initialStyles[name]\n );\n\n // Set all values to an empty string to unset them\n const style = styleProperties.reduce((style, property) =&gt; {\n style[property] = '';\n return style;\n }, {});\n\n // arrow is optional + virtual elements\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n\n Object.keys(attributes).forEach((attribute) =&gt; {\n element.removeAttribute(attribute);\n });\n });\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ApplyStylesModifier = Modifier&lt;'applyStyles', {||}&gt;;\nexport default ({\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect,\n requires: ['computeStyles'],\n}: ApplyStylesModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\nimport type { ModifierArguments, Modifier, Rect, Offsets } from '../types';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport { top, left, right, placements } from '../enums';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type OffsetsFunction = ({\n popper: Rect,\n reference: Rect,\n placement: Placement,\n}) =&gt; [?number, ?number];\n\ntype Offset = OffsetsFunction | [?number, ?number];\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n offset: Offset,\n};\n\nexport function distanceAndSkiddingToXY(\n placement: Placement,\n rects: { popper: Rect, reference: Rect },\n offset: Offset\n): Offsets {\n const basePlacement = getBasePlacement(placement);\n const invertDistance = [left, top].indexOf(basePlacement) &gt;= 0 ? -1 : 1;\n\n let [skidding, distance] =\n typeof offset === 'function'\n ? offset({\n ...rects,\n placement,\n })\n : offset;\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n\n return [left, right].indexOf(basePlacement) &gt;= 0\n ? { x: distance, y: skidding }\n : { x: skidding, y: distance };\n}\n\nfunction offset({ state, options, name }: ModifierArguments&lt;Options&gt;) {\n const { offset = [0, 0] } = options;\n\n const data = placements.reduce((acc, placement) =&gt; {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n\n const { x, y } = data[state.placement];\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type OffsetModifier = Modifier&lt;'offset', Options&gt;;\nexport default ({\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset,\n}: OffsetModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nconst hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n\nexport default function getOppositePlacement(placement: Placement): Placement {\n return (placement.replace(\n /left|right|bottom|top/g,\n matched =&gt; hash[matched]\n ): any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nconst hash = { start: 'end', end: 'start' };\n\nexport default function getOppositeVariationPlacement(\n placement: Placement\n): Placement {\n return (placement.replace(/start|end/g, matched =&gt; hash[matched]): any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { State, Padding } from '../types';\nimport type {\n Placement,\n ComputedPlacement,\n Boundary,\n RootBoundary,\n} from '../enums';\nimport getVariation from './getVariation';\nimport {\n variationPlacements,\n basePlacements,\n placements as allPlacements,\n} from '../enums';\nimport detectOverflow from './detectOverflow';\nimport getBasePlacement from './getBasePlacement';\n\ntype Options = {\n placement: Placement,\n padding: Padding,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n flipVariations: boolean,\n allowedAutoPlacements?: Array&lt;Placement&gt;,\n};\n\ntype OverflowsMap = { [ComputedPlacement]: number };\n\nexport default function computeAutoPlacement(\n state: $Shape&lt;State&gt;,\n options: Options = {}\n): Array&lt;ComputedPlacement&gt; {\n const {\n placement,\n boundary,\n rootBoundary,\n padding,\n flipVariations,\n allowedAutoPlacements = allPlacements,\n } = options;\n\n const variation = getVariation(placement);\n\n const placements = variation\n ? flipVariations\n ? variationPlacements\n : variationPlacements.filter(\n (placement) =&gt; getVariation(placement) === variation\n )\n : basePlacements;\n\n let allowedPlacements = placements.filter(\n (placement) =&gt; allowedAutoPlacements.indexOf(placement) &gt;= 0\n );\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n\n if (__DEV__) {\n console.error(\n [\n 'Popper: The `allowedAutoPlacements` option did not allow any',\n 'placements. Ensure the `placement` option matches the variation',\n 'of the allowed placements.',\n 'For example, \"auto\" cannot be used to allow \"bottom-start\".',\n 'Use \"auto-start\" instead.',\n ].join(' ')\n );\n }\n }\n\n // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n const overflows: OverflowsMap = allowedPlacements.reduce((acc, placement) =&gt; {\n acc[placement] = detectOverflow(state, {\n placement,\n boundary,\n rootBoundary,\n padding,\n })[getBasePlacement(placement)];\n\n return acc;\n }, {});\n\n return Object.keys(overflows).sort((a, b) =&gt; overflows[a] - overflows[b]);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement, Boundary, RootBoundary } from '../enums';\nimport type { ModifierArguments, Modifier, Padding } from '../types';\nimport getOppositePlacement from '../utils/getOppositePlacement';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getOppositeVariationPlacement from '../utils/getOppositeVariationPlacement';\nimport detectOverflow from '../utils/detectOverflow';\nimport computeAutoPlacement from '../utils/computeAutoPlacement';\nimport { bottom, top, start, right, left, auto } from '../enums';\nimport getVariation from '../utils/getVariation';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n mainAxis: boolean,\n altAxis: boolean,\n fallbackPlacements: Array&lt;Placement&gt;,\n padding: Padding,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n altBoundary: boolean,\n flipVariations: boolean,\n allowedAutoPlacements: Array&lt;Placement&gt;,\n};\n\nfunction getExpandedFallbackPlacements(placement: Placement): Array&lt;Placement&gt; {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n const oppositePlacement = getOppositePlacement(placement);\n\n return [\n getOppositeVariationPlacement(placement),\n oppositePlacement,\n getOppositeVariationPlacement(oppositePlacement),\n ];\n}\n\nfunction flip({ state, options, name }: ModifierArguments&lt;Options&gt;) {\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n const {\n mainAxis: checkMainAxis = true,\n altAxis: checkAltAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n padding,\n boundary,\n rootBoundary,\n altBoundary,\n flipVariations = true,\n allowedAutoPlacements,\n } = options;\n\n const preferredPlacement = state.options.placement;\n const basePlacement = getBasePlacement(preferredPlacement);\n const isBasePlacement = basePlacement === preferredPlacement;\n\n const fallbackPlacements =\n specifiedFallbackPlacements ||\n (isBasePlacement || !flipVariations\n ? [getOppositePlacement(preferredPlacement)]\n : getExpandedFallbackPlacements(preferredPlacement));\n\n const placements = [preferredPlacement, ...fallbackPlacements].reduce(\n (acc, placement) =&gt; {\n return acc.concat(\n getBasePlacement(placement) === auto\n ? computeAutoPlacement(state, {\n placement,\n boundary,\n rootBoundary,\n padding,\n flipVariations,\n allowedAutoPlacements,\n })\n : placement\n );\n },\n []\n );\n\n const referenceRect = state.rects.reference;\n const popperRect = state.rects.popper;\n\n const checksMap = new Map();\n let makeFallbackChecks = true;\n let firstFittingPlacement = placements[0];\n\n for (let i = 0; i &lt; placements.length; i++) {\n const placement = placements[i];\n const basePlacement = getBasePlacement(placement);\n const isStartVariation = getVariation(placement) === start;\n const isVertical = [top, bottom].indexOf(basePlacement) &gt;= 0;\n const len = isVertical ? 'width' : 'height';\n\n const overflow = detectOverflow(state, {\n placement,\n boundary,\n rootBoundary,\n altBoundary,\n padding,\n });\n\n let mainVariationSide: any = isVertical\n ? isStartVariation\n ? right\n : left\n : isStartVariation\n ? bottom\n : top;\n\n if (referenceRect[len] &gt; popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n const altVariationSide: any = getOppositePlacement(mainVariationSide);\n\n const checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[basePlacement] &lt;= 0);\n }\n\n if (checkAltAxis) {\n checks.push(\n overflow[mainVariationSide] &lt;= 0,\n overflow[altVariationSide] &lt;= 0\n );\n }\n\n if (checks.every((check) =&gt; check)) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n const numberOfChecks = flipVariations ? 3 : 1;\n\n for (let i = numberOfChecks; i &gt; 0; i--) {\n const fittingPlacement = placements.find((placement) =&gt; {\n const checks = checksMap.get(placement);\n if (checks) {\n return checks.slice(0, i).every((check) =&gt; check);\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n break;\n }\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type FlipModifier = Modifier&lt;'flip', Options&gt;;\nexport default ({\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: { _skip: false },\n}: FlipModifier);\n"</span>,<span class="code-string">"// @flow\n\nexport default function getAltAxis(axis: 'x' | 'y'): 'x' | 'y' {\n return axis === 'x' ? 'y' : 'x';\n}\n"</span>,<span class="code-string">"// @flow\nimport { max as mathMax, min as mathMin } from './math';\n\nexport function within(min: number, value: number, max: number): number {\n return mathMax(min, mathMin(value, max));\n}\n\nexport function withinMaxClamp(min: number, value: number, max: number) {\n const v = within(min, value, max);\n return v &gt; max ? max : v;\n}\n"</span>,<span class="code-string">"// @flow\nimport { top, left, right, bottom, start } from '../enums';\nimport type { Placement, Boundary, RootBoundary } from '../enums';\nimport type { Rect, ModifierArguments, Modifier, Padding } from '../types';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getMainAxisFromPlacement from '../utils/getMainAxisFromPlacement';\nimport getAltAxis from '../utils/getAltAxis';\nimport { within, withinMaxClamp } from '../utils/within';\nimport getLayoutRect from '../dom-utils/getLayoutRect';\nimport getOffsetParent from '../dom-utils/getOffsetParent';\nimport detectOverflow from '../utils/detectOverflow';\nimport getVariation from '../utils/getVariation';\nimport getFreshSideObject from '../utils/getFreshSideObject';\nimport { min as mathMin, max as mathMax } from '../utils/math';\n\ntype TetherOffset =\n | (({\n popper: Rect,\n reference: Rect,\n placement: Placement,\n }) =&gt; number | { mainAxis: number, altAxis: number })\n | number\n | { mainAxis: number, altAxis: number };\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n /* Prevents boundaries overflow on the main axis */\n mainAxis: boolean,\n /* Prevents boundaries overflow on the alternate axis */\n altAxis: boolean,\n /* The area to check the popper is overflowing in */\n boundary: Boundary,\n /* If the popper is not overflowing the main area, fallback to this one */\n rootBoundary: RootBoundary,\n /* Use the reference's \"clippingParents\" boundary context */\n altBoundary: boolean,\n /**\n * Allows the popper to overflow from its boundaries to keep it near its\n * reference element\n */\n tether: boolean,\n /* Offsets when the `tether` option should activate */\n tetherOffset: TetherOffset,\n /* Sets a padding to the provided boundary */\n padding: Padding,\n};\n\nfunction preventOverflow({ state, options, name }: ModifierArguments&lt;Options&gt;) {\n const {\n mainAxis: checkMainAxis = true,\n altAxis: checkAltAxis = false,\n boundary,\n rootBoundary,\n altBoundary,\n padding,\n tether = true,\n tetherOffset = 0,\n } = options;\n\n const overflow = detectOverflow(state, {\n boundary,\n rootBoundary,\n padding,\n altBoundary,\n });\n const basePlacement = getBasePlacement(state.placement);\n const variation = getVariation(state.placement);\n const isBasePlacement = !variation;\n const mainAxis = getMainAxisFromPlacement(basePlacement);\n const altAxis = getAltAxis(mainAxis);\n const popperOffsets = state.modifiersData.popperOffsets;\n const referenceRect = state.rects.reference;\n const popperRect = state.rects.popper;\n const tetherOffsetValue =\n typeof tetherOffset === 'function'\n ? tetherOffset({\n ...state.rects,\n placement: state.placement,\n })\n : tetherOffset;\n const normalizedTetherOffsetValue =\n typeof tetherOffsetValue === 'number'\n ? { mainAxis: tetherOffsetValue, altAxis: tetherOffsetValue }\n : { mainAxis: 0, altAxis: 0, ...tetherOffsetValue };\n const offsetModifierState = state.modifiersData.offset\n ? state.modifiersData.offset[state.placement]\n : null;\n\n const data = { x: 0, y: 0 };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n const mainSide = mainAxis === 'y' ? top : left;\n const altSide = mainAxis === 'y' ? bottom : right;\n const len = mainAxis === 'y' ? 'height' : 'width';\n const offset = popperOffsets[mainAxis];\n\n const min = offset + overflow[mainSide];\n const max = offset - overflow[altSide];\n\n const additive = tether ? -popperRect[len] / 2 : 0;\n\n const minLen = variation === start ? referenceRect[len] : popperRect[len];\n const maxLen = variation === start ? -popperRect[len] : -referenceRect[len];\n\n // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n const arrowElement = state.elements.arrow;\n const arrowRect =\n tether &amp;&amp; arrowElement\n ? getLayoutRect(arrowElement)\n : { width: 0, height: 0 };\n const arrowPaddingObject = state.modifiersData['arrow#persistent']\n ? state.modifiersData['arrow#persistent'].padding\n : getFreshSideObject();\n const arrowPaddingMin = arrowPaddingObject[mainSide];\n const arrowPaddingMax = arrowPaddingObject[altSide];\n\n // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n const arrowLen = within(0, referenceRect[len], arrowRect[len]);\n\n const minOffset = isBasePlacement\n ? referenceRect[len] / 2 -\n additive -\n arrowLen -\n arrowPaddingMin -\n normalizedTetherOffsetValue.mainAxis\n : minLen -\n arrowLen -\n arrowPaddingMin -\n normalizedTetherOffsetValue.mainAxis;\n const maxOffset = isBasePlacement\n ? -referenceRect[len] / 2 +\n additive +\n arrowLen +\n arrowPaddingMax +\n normalizedTetherOffsetValue.mainAxis\n : maxLen +\n arrowLen +\n arrowPaddingMax +\n normalizedTetherOffsetValue.mainAxis;\n\n const arrowOffsetParent =\n state.elements.arrow &amp;&amp; getOffsetParent(state.elements.arrow);\n const clientOffset = arrowOffsetParent\n ? mainAxis === 'y'\n ? arrowOffsetParent.clientTop || 0\n : arrowOffsetParent.clientLeft || 0\n : 0;\n\n const offsetModifierValue = offsetModifierState?.[mainAxis] ?? 0;\n const tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n const tetherMax = offset + maxOffset - offsetModifierValue;\n\n const preventedOffset = within(\n tether ? mathMin(min, tetherMin) : min,\n offset,\n tether ? mathMax(max, tetherMax) : max\n );\n\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n const mainSide = mainAxis === 'x' ? top : left;\n const altSide = mainAxis === 'x' ? bottom : right;\n const offset = popperOffsets[altAxis];\n\n const len = altAxis === 'y' ? 'height' : 'width';\n\n const min = offset + overflow[mainSide];\n const max = offset - overflow[altSide];\n\n const isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n const offsetModifierValue = offsetModifierState?.[altAxis] ?? 0;\n const tetherMin = isOriginSide\n ? min\n : offset -\n referenceRect[len] -\n popperRect[len] -\n offsetModifierValue +\n normalizedTetherOffsetValue.altAxis;\n const tetherMax = isOriginSide\n ? offset +\n referenceRect[len] +\n popperRect[len] -\n offsetModifierValue -\n normalizedTetherOffsetValue.altAxis\n : max;\n\n const preventedOffset =\n tether &amp;&amp; isOriginSide\n ? withinMaxClamp(tetherMin, offset, tetherMax)\n : within(tether ? tetherMin : min, offset, tether ? tetherMax : max);\n\n popperOffsets[altAxis] = preventedOffset;\n data[altAxis] = preventedOffset - offset;\n }\n\n state.modifiersData[name] = data;\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type PreventOverflowModifier = Modifier&lt;'preventOverflow', Options&gt;;\nexport default ({\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset'],\n}: PreventOverflowModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier, ModifierArguments, Padding, Rect } from '../types';\nimport type { Placement } from '../enums';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getLayoutRect from '../dom-utils/getLayoutRect';\nimport contains from '../dom-utils/contains';\nimport getOffsetParent from '../dom-utils/getOffsetParent';\nimport getMainAxisFromPlacement from '../utils/getMainAxisFromPlacement';\nimport { within } from '../utils/within';\nimport mergePaddingObject from '../utils/mergePaddingObject';\nimport expandToHashMap from '../utils/expandToHashMap';\nimport { left, right, basePlacements, top, bottom } from '../enums';\nimport { isHTMLElement } from '../dom-utils/instanceOf';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n element: HTMLElement | string | null,\n padding:\n | Padding\n | (({|\n popper: Rect,\n reference: Rect,\n placement: Placement,\n |}) =&gt; Padding),\n};\n\nconst toPaddingObject = (padding, state) =&gt; {\n padding =\n typeof padding === 'function'\n ? padding({ ...state.rects, placement: state.placement })\n : padding;\n\n return mergePaddingObject(\n typeof padding !== 'number'\n ? padding\n : expandToHashMap(padding, basePlacements)\n );\n};\n\nfunction arrow({ state, name, options }: ModifierArguments&lt;Options&gt;) {\n const arrowElement = state.elements.arrow;\n const popperOffsets = state.modifiersData.popperOffsets;\n const basePlacement = getBasePlacement(state.placement);\n const axis = getMainAxisFromPlacement(basePlacement);\n const isVertical = [left, right].indexOf(basePlacement) &gt;= 0;\n const len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n const paddingObject = toPaddingObject(options.padding, state);\n const arrowRect = getLayoutRect(arrowElement);\n const minProp = axis === 'y' ? top : left;\n const maxProp = axis === 'y' ? bottom : right;\n\n const endDiff =\n state.rects.reference[len] +\n state.rects.reference[axis] -\n popperOffsets[axis] -\n state.rects.popper[len];\n const startDiff = popperOffsets[axis] - state.rects.reference[axis];\n\n const arrowOffsetParent = getOffsetParent(arrowElement);\n const clientSize = arrowOffsetParent\n ? axis === 'y'\n ? arrowOffsetParent.clientHeight || 0\n : arrowOffsetParent.clientWidth || 0\n : 0;\n\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n const min = paddingObject[minProp];\n const max = clientSize - arrowRect[len] - paddingObject[maxProp];\n const center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n const offset = within(min, center, max);\n\n // Prevents breaking syntax highlighting...\n const axisProp: string = axis;\n state.modifiersData[name] = {\n [axisProp]: offset,\n centerOffset: offset - center,\n };\n}\n\nfunction effect({ state, options }: ModifierArguments&lt;Options&gt;) {\n let { element: arrowElement = '[data-popper-arrow]' } = options;\n\n if (arrowElement == null) {\n return;\n }\n\n // CSS selector\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (__DEV__) {\n if (!isHTMLElement(arrowElement)) {\n console.error(\n [\n 'Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).',\n 'To use an SVG arrow, wrap it in an HTMLElement that will be used as',\n 'the arrow.',\n ].join(' ')\n );\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (__DEV__) {\n console.error(\n [\n 'Popper: \"arrow\" modifier\\'s `element` must be a child of the popper',\n 'element.',\n ].join(' ')\n );\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ArrowModifier = Modifier&lt;'arrow', Options&gt;;\nexport default ({\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow'],\n}: ArrowModifier);\n"</span>,<span class="code-string">"// @flow\nimport type {\n ModifierArguments,\n Modifier,\n Rect,\n SideObject,\n Offsets,\n} from '../types';\nimport { top, bottom, left, right } from '../enums';\nimport detectOverflow from '../utils/detectOverflow';\n\nfunction getSideOffsets(\n overflow: SideObject,\n rect: Rect,\n preventedOffsets: Offsets = { x: 0, y: 0 }\n): SideObject {\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x,\n };\n}\n\nfunction isAnySideFullyClipped(overflow: SideObject): boolean {\n return [top, right, bottom, left].some((side) =&gt; overflow[side] &gt;= 0);\n}\n\nfunction hide({ state, name }: ModifierArguments&lt;{||}&gt;) {\n const referenceRect = state.rects.reference;\n const popperRect = state.rects.popper;\n const preventedOffsets = state.modifiersData.preventOverflow;\n\n const referenceOverflow = detectOverflow(state, {\n elementContext: 'reference',\n });\n const popperAltOverflow = detectOverflow(state, {\n altBoundary: true,\n });\n\n const referenceClippingOffsets = getSideOffsets(\n referenceOverflow,\n referenceRect\n );\n const popperEscapeOffsets = getSideOffsets(\n popperAltOverflow,\n popperRect,\n preventedOffsets\n );\n\n const isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n const hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n\n state.modifiersData[name] = {\n referenceClippingOffsets,\n popperEscapeOffsets,\n isReferenceHidden,\n hasPopperEscaped,\n };\n\n state.attributes.popper = {\n ...state.attributes.popper,\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped,\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type HideModifier = Modifier&lt;'hide', {||}&gt;;\nexport default ({\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide,\n}: HideModifier);\n"</span>,<span class="code-string">"// @flow\nimport { popperGenerator, detectOverflow } from './createPopper';\n\nimport eventListeners from './modifiers/eventListeners';\nimport popperOffsets from './modifiers/popperOffsets';\nimport computeStyles from './modifiers/computeStyles';\nimport applyStyles from './modifiers/applyStyles';\n\nexport type * from './types';\n\nconst defaultModifiers = [\n eventListeners,\n popperOffsets,\n computeStyles,\n applyStyles,\n];\n\nconst createPopper = popperGenerator({ defaultModifiers });\n\n// eslint-disable-next-line import/no-unused-modules\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\n"</span>,<span class="code-string">"// @flow\nimport { popperGenerator, detectOverflow } from './createPopper';\n\nimport eventListeners from './modifiers/eventListeners';\nimport popperOffsets from './modifiers/popperOffsets';\nimport computeStyles from './modifiers/computeStyles';\nimport applyStyles from './modifiers/applyStyles';\nimport offset from './modifiers/offset';\nimport flip from './modifiers/flip';\nimport preventOverflow from './modifiers/preventOverflow';\nimport arrow from './modifiers/arrow';\nimport hide from './modifiers/hide';\n\nexport type * from './types';\n\nconst defaultModifiers = [\n eventListeners,\n popperOffsets,\n computeStyles,\n applyStyles,\n offset,\n flip,\n preventOverflow,\n arrow,\n hide,\n];\n\nconst createPopper = popperGenerator({ defaultModifiers });\n\n// eslint-disable-next-line import/no-unused-modules\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\n// eslint-disable-next-line import/no-unused-modules\nexport { createPopper as createPopperLite } from './popper-lite';\n// eslint-disable-next-line import/no-unused-modules\nexport * from './modifiers';\n"</span>],<span class="code-attr">"names"</span>:[<span class="code-string">"getWindow"</span>,<span class="code-string">"node"</span>,<span class="code-string">"window"</span>,<span class="code-string">"toString"</span>,<span class="code-string">"ownerDocument"</span>,<span class="code-string">"defaultView"</span>,<span class="code-string">"isElement"</span>,<span class="code-string">"OwnElement"</span>,<span class="code-string">"Element"</span>,<span class="code-string">"isHTMLElement"</span>,<span class="code-string">"HTMLElement"</span>,<span class="code-string">"isShadowRoot"</span>,<span class="code-string">"ShadowRoot"</span>,<span class="code-string">"max"</span>,<span class="code-string">"Math"</span>,<span class="code-string">"min"</span>,<span class="code-string">"round"</span>,<span class="code-string">"getBoundingClientRect"</span>,<span class="code-string">"element"</span>,<span class="code-string">"includeScale"</span>,<span class="code-string">"rect"</span>,<span class="code-string">"scaleX"</span>,<span class="code-string">"scaleY"</span>,<span class="code-string">"offsetHeight"</span>,<span class="code-string">"offsetWidth"</span>,<span class="code-string">"width"</span>,<span class="code-string">"height"</span>,<span class="code-string">"top"</span>,<span class="code-string">"right"</span>,<span class="code-string">"bottom"</span>,<span class="code-string">"left"</span>,<span class="code-string">"x"</span>,<span class="code-string">"y"</span>,<span class="code-string">"getWindowScroll"</span>,<span class="code-string">"win"</span>,<span class="code-string">"scrollLeft"</span>,<span class="code-string">"pageXOffset"</span>,<span class="code-string">"scrollTop"</span>,<span class="code-string">"pageYOffset"</span>,<span class="code-string">"getHTMLElementScroll"</span>,<span class="code-string">"getNodeScroll"</span>,<span class="code-string">"getNodeName"</span>,<span class="code-string">"nodeName"</span>,<span class="code-string">"toLowerCase"</span>,<span class="code-string">"getDocumentElement"</span>,<span class="code-string">"document"</span>,<span class="code-string">"documentElement"</span>,<span class="code-string">"getWindowScrollBarX"</span>,<span class="code-string">"getComputedStyle"</span>,<span class="code-string">"isScrollParent"</span>,<span class="code-string">"overflow"</span>,<span class="code-string">"overflowX"</span>,<span class="code-string">"overflowY"</span>,<span class="code-string">"test"</span>,<span class="code-string">"isElementScaled"</span>,<span class="code-string">"getCompositeRect"</span>,<span class="code-string">"elementOrVirtualElement"</span>,<span class="code-string">"offsetParent"</span>,<span class="code-string">"isFixed"</span>,<span class="code-string">"isOffsetParentAnElement"</span>,<span class="code-string">"offsetParentIsScaled"</span>,<span class="code-string">"scroll"</span>,<span class="code-string">"offsets"</span>,<span class="code-string">"clientLeft"</span>,<span class="code-string">"clientTop"</span>,<span class="code-string">"getLayoutRect"</span>,<span class="code-string">"clientRect"</span>,<span class="code-string">"abs"</span>,<span class="code-string">"offsetLeft"</span>,<span class="code-string">"offsetTop"</span>,<span class="code-string">"getParentNode"</span>,<span class="code-string">"assignedSlot"</span>,<span class="code-string">"parentNode"</span>,<span class="code-string">"host"</span>,<span class="code-string">"getScrollParent"</span>,<span class="code-string">"indexOf"</span>,<span class="code-string">"body"</span>,<span class="code-string">"listScrollParents"</span>,<span class="code-string">"list"</span>,<span class="code-string">"scrollParent"</span>,<span class="code-string">"isBody"</span>,<span class="code-string">"target"</span>,<span class="code-string">"concat"</span>,<span class="code-string">"visualViewport"</span>,<span class="code-string">"updatedList"</span>,<span class="code-string">"isTableElement"</span>,<span class="code-string">"getTrueOffsetParent"</span>,<span class="code-string">"position"</span>,<span class="code-string">"getContainingBlock"</span>,<span class="code-string">"isFirefox"</span>,<span class="code-string">"navigator"</span>,<span class="code-string">"userAgent"</span>,<span class="code-string">"isIE"</span>,<span class="code-string">"elementCss"</span>,<span class="code-string">"currentNode"</span>,<span class="code-string">"css"</span>,<span class="code-string">"transform"</span>,<span class="code-string">"perspective"</span>,<span class="code-string">"contain"</span>,<span class="code-string">"willChange"</span>,<span class="code-string">"filter"</span>,<span class="code-string">"getOffsetParent"</span>,<span class="code-string">"auto"</span>,<span class="code-string">"basePlacements"</span>,<span class="code-string">"start"</span>,<span class="code-string">"end"</span>,<span class="code-string">"clippingParents"</span>,<span class="code-string">"viewport"</span>,<span class="code-string">"popper"</span>,<span class="code-string">"reference"</span>,<span class="code-string">"variationPlacements"</span>,<span class="code-string">"reduce"</span>,<span class="code-string">"acc"</span>,<span class="code-string">"placement"</span>,<span class="code-string">"placements"</span>,<span class="code-string">"beforeRead"</span>,<span class="code-string">"read"</span>,<span class="code-string">"afterRead"</span>,<span class="code-string">"beforeMain"</span>,<span class="code-string">"main"</span>,<span class="code-string">"afterMain"</span>,<span class="code-string">"beforeWrite"</span>,<span class="code-string">"write"</span>,<span class="code-string">"afterWrite"</span>,<span class="code-string">"modifierPhases"</span>,<span class="code-string">"order"</span>,<span class="code-string">"modifiers"</span>,<span class="code-string">"map"</span>,<span class="code-string">"Map"</span>,<span class="code-string">"visited"</span>,<span class="code-string">"Set"</span>,<span class="code-string">"result"</span>,<span class="code-string">"forEach"</span>,<span class="code-string">"modifier"</span>,<span class="code-string">"set"</span>,<span class="code-string">"name"</span>,<span class="code-string">"sort"</span>,<span class="code-string">"add"</span>,<span class="code-string">"requires"</span>,<span class="code-string">"requiresIfExists"</span>,<span class="code-string">"dep"</span>,<span class="code-string">"has"</span>,<span class="code-string">"depModifier"</span>,<span class="code-string">"get"</span>,<span class="code-string">"push"</span>,<span class="code-string">"orderModifiers"</span>,<span class="code-string">"orderedModifiers"</span>,<span class="code-string">"phase"</span>,<span class="code-string">"debounce"</span>,<span class="code-string">"fn"</span>,<span class="code-string">"pending"</span>,<span class="code-string">"Promise"</span>,<span class="code-string">"resolve"</span>,<span class="code-string">"then"</span>,<span class="code-string">"undefined"</span>,<span class="code-string">"format"</span>,<span class="code-string">"str"</span>,<span class="code-string">"args"</span>,<span class="code-string">"p"</span>,<span class="code-string">"c"</span>,<span class="code-string">"replace"</span>,<span class="code-string">"INVALID_MODIFIER_ERROR"</span>,<span class="code-string">"MISSING_DEPENDENCY_ERROR"</span>,<span class="code-string">"VALID_PROPERTIES"</span>,<span class="code-string">"validateModifiers"</span>,<span class="code-string">"Object"</span>,<span class="code-string">"keys"</span>,<span class="code-string">"value"</span>,<span class="code-string">"index"</span>,<span class="code-string">"self"</span>,<span class="code-string">"key"</span>,<span class="code-string">"console"</span>,<span class="code-string">"error"</span>,<span class="code-string">"String"</span>,<span class="code-string">"enabled"</span>,<span class="code-string">"join"</span>,<span class="code-string">"effect"</span>,<span class="code-string">"Array"</span>,<span class="code-string">"isArray"</span>,<span class="code-string">"s"</span>,<span class="code-string">"requirement"</span>,<span class="code-string">"find"</span>,<span class="code-string">"mod"</span>,<span class="code-string">"uniqueBy"</span>,<span class="code-string">"arr"</span>,<span class="code-string">"identifiers"</span>,<span class="code-string">"item"</span>,<span class="code-string">"identifier"</span>,<span class="code-string">"getBasePlacement"</span>,<span class="code-string">"split"</span>,<span class="code-string">"mergeByName"</span>,<span class="code-string">"merged"</span>,<span class="code-string">"current"</span>,<span class="code-string">"existing"</span>,<span class="code-string">"options"</span>,<span class="code-string">"data"</span>,<span class="code-string">"getViewportRect"</span>,<span class="code-string">"html"</span>,<span class="code-string">"clientWidth"</span>,<span class="code-string">"clientHeight"</span>,<span class="code-string">"getDocumentRect"</span>,<span class="code-string">"winScroll"</span>,<span class="code-string">"scrollWidth"</span>,<span class="code-string">"scrollHeight"</span>,<span class="code-string">"direction"</span>,<span class="code-string">"contains"</span>,<span class="code-string">"parent"</span>,<span class="code-string">"child"</span>,<span class="code-string">"rootNode"</span>,<span class="code-string">"getRootNode"</span>,<span class="code-string">"next"</span>,<span class="code-string">"isSameNode"</span>,<span class="code-string">"rectToClientRect"</span>,<span class="code-string">"getInnerBoundingClientRect"</span>,<span class="code-string">"getClientRectFromMixedType"</span>,<span class="code-string">"clippingParent"</span>,<span class="code-string">"getClippingParents"</span>,<span class="code-string">"canEscapeClipping"</span>,<span class="code-string">"clipperElement"</span>,<span class="code-string">"getClippingRect"</span>,<span class="code-string">"boundary"</span>,<span class="code-string">"rootBoundary"</span>,<span class="code-string">"mainClippingParents"</span>,<span class="code-string">"firstClippingParent"</span>,<span class="code-string">"clippingRect"</span>,<span class="code-string">"accRect"</span>,<span class="code-string">"getVariation"</span>,<span class="code-string">"getMainAxisFromPlacement"</span>,<span class="code-string">"computeOffsets"</span>,<span class="code-string">"basePlacement"</span>,<span class="code-string">"variation"</span>,<span class="code-string">"commonX"</span>,<span class="code-string">"commonY"</span>,<span class="code-string">"mainAxis"</span>,<span class="code-string">"len"</span>,<span class="code-string">"getFreshSideObject"</span>,<span class="code-string">"mergePaddingObject"</span>,<span class="code-string">"paddingObject"</span>,<span class="code-string">"expandToHashMap"</span>,<span class="code-string">"hashMap"</span>,<span class="code-string">"detectOverflow"</span>,<span class="code-string">"state"</span>,<span class="code-string">"elementContext"</span>,<span class="code-string">"altBoundary"</span>,<span class="code-string">"padding"</span>,<span class="code-string">"altContext"</span>,<span class="code-string">"popperRect"</span>,<span class="code-string">"rects"</span>,<span class="code-string">"elements"</span>,<span class="code-string">"clippingClientRect"</span>,<span class="code-string">"contextElement"</span>,<span class="code-string">"referenceClientRect"</span>,<span class="code-string">"popperOffsets"</span>,<span class="code-string">"strategy"</span>,<span class="code-string">"popperClientRect"</span>,<span class="code-string">"elementClientRect"</span>,<span class="code-string">"overflowOffsets"</span>,<span class="code-string">"offsetData"</span>,<span class="code-string">"modifiersData"</span>,<span class="code-string">"offset"</span>,<span class="code-string">"multiply"</span>,<span class="code-string">"axis"</span>,<span class="code-string">"INVALID_ELEMENT_ERROR"</span>,<span class="code-string">"INFINITE_LOOP_ERROR"</span>,<span class="code-string">"DEFAULT_OPTIONS"</span>,<span class="code-string">"areValidElements"</span>,<span class="code-string">"some"</span>,<span class="code-string">"popperGenerator"</span>,<span class="code-string">"generatorOptions"</span>,<span class="code-string">"defaultModifiers"</span>,<span class="code-string">"defaultOptions"</span>,<span class="code-string">"createPopper"</span>,<span class="code-string">"attributes"</span>,<span class="code-string">"styles"</span>,<span class="code-string">"effectCleanupFns"</span>,<span class="code-string">"isDestroyed"</span>,<span class="code-string">"instance"</span>,<span class="code-string">"setOptions"</span>,<span class="code-string">"setOptionsAction"</span>,<span class="code-string">"cleanupModifierEffects"</span>,<span class="code-string">"scrollParents"</span>,<span class="code-string">"m"</span>,<span class="code-string">"flipModifier"</span>,<span class="code-string">"marginTop"</span>,<span class="code-string">"marginRight"</span>,<span class="code-string">"marginBottom"</span>,<span class="code-string">"marginLeft"</span>,<span class="code-string">"margin"</span>,<span class="code-string">"parseFloat"</span>,<span class="code-string">"warn"</span>,<span class="code-string">"runModifierEffects"</span>,<span class="code-string">"update"</span>,<span class="code-string">"forceUpdate"</span>,<span class="code-string">"reset"</span>,<span class="code-string">"__debug_loops__"</span>,<span class="code-string">"length"</span>,<span class="code-string">"destroy"</span>,<span class="code-string">"onFirstUpdate"</span>,<span class="code-string">"cleanupFn"</span>,<span class="code-string">"noopFn"</span>,<span class="code-string">"passive"</span>,<span class="code-string">"resize"</span>,<span class="code-string">"addEventListener"</span>,<span class="code-string">"removeEventListener"</span>,<span class="code-string">"unsetSides"</span>,<span class="code-string">"roundOffsetsByDPR"</span>,<span class="code-string">"dpr"</span>,<span class="code-string">"devicePixelRatio"</span>,<span class="code-string">"mapToStyles"</span>,<span class="code-string">"gpuAcceleration"</span>,<span class="code-string">"adaptive"</span>,<span class="code-string">"roundOffsets"</span>,<span class="code-string">"hasX"</span>,<span class="code-string">"hasOwnProperty"</span>,<span class="code-string">"hasY"</span>,<span class="code-string">"sideX"</span>,<span class="code-string">"sideY"</span>,<span class="code-string">"heightProp"</span>,<span class="code-string">"widthProp"</span>,<span class="code-string">"offsetY"</span>,<span class="code-string">"offsetX"</span>,<span class="code-string">"commonStyles"</span>,<span class="code-string">"computeStyles"</span>,<span class="code-string">"transitionProperty"</span>,<span class="code-string">"property"</span>,<span class="code-string">"arrow"</span>,<span class="code-string">"applyStyles"</span>,<span class="code-string">"style"</span>,<span class="code-string">"assign"</span>,<span class="code-string">"removeAttribute"</span>,<span class="code-string">"setAttribute"</span>,<span class="code-string">"initialStyles"</span>,<span class="code-string">"styleProperties"</span>,<span class="code-string">"attribute"</span>,<span class="code-string">"distanceAndSkiddingToXY"</span>,<span class="code-string">"invertDistance"</span>,<span class="code-string">"skidding"</span>,<span class="code-string">"distance"</span>,<span class="code-string">"hash"</span>,<span class="code-string">"getOppositePlacement"</span>,<span class="code-string">"matched"</span>,<span class="code-string">"getOppositeVariationPlacement"</span>,<span class="code-string">"computeAutoPlacement"</span>,<span class="code-string">"flipVariations"</span>,<span class="code-string">"allowedAutoPlacements"</span>,<span class="code-string">"allPlacements"</span>,<span class="code-string">"allowedPlacements"</span>,<span class="code-string">"overflows"</span>,<span class="code-string">"a"</span>,<span class="code-string">"b"</span>,<span class="code-string">"getExpandedFallbackPlacements"</span>,<span class="code-string">"oppositePlacement"</span>,<span class="code-string">"flip"</span>,<span class="code-string">"_skip"</span>,<span class="code-string">"checkMainAxis"</span>,<span class="code-string">"altAxis"</span>,<span class="code-string">"checkAltAxis"</span>,<span class="code-string">"specifiedFallbackPlacements"</span>,<span class="code-string">"fallbackPlacements"</span>,<span class="code-string">"preferredPlacement"</span>,<span class="code-string">"isBasePlacement"</span>,<span class="code-string">"referenceRect"</span>,<span class="code-string">"checksMap"</span>,<span class="code-string">"makeFallbackChecks"</span>,<span class="code-string">"firstFittingPlacement"</span>,<span class="code-string">"i"</span>,<span class="code-string">"isStartVariation"</span>,<span class="code-string">"isVertical"</span>,<span class="code-string">"mainVariationSide"</span>,<span class="code-string">"altVariationSide"</span>,<span class="code-string">"checks"</span>,<span class="code-string">"every"</span>,<span class="code-string">"check"</span>,<span class="code-string">"numberOfChecks"</span>,<span class="code-string">"fittingPlacement"</span>,<span class="code-string">"slice"</span>,<span class="code-string">"getAltAxis"</span>,<span class="code-string">"within"</span>,<span class="code-string">"mathMax"</span>,<span class="code-string">"mathMin"</span>,<span class="code-string">"withinMaxClamp"</span>,<span class="code-string">"v"</span>,<span class="code-string">"preventOverflow"</span>,<span class="code-string">"tether"</span>,<span class="code-string">"tetherOffset"</span>,<span class="code-string">"tetherOffsetValue"</span>,<span class="code-string">"normalizedTetherOffsetValue"</span>,<span class="code-string">"offsetModifierState"</span>,<span class="code-string">"mainSide"</span>,<span class="code-string">"altSide"</span>,<span class="code-string">"additive"</span>,<span class="code-string">"minLen"</span>,<span class="code-string">"maxLen"</span>,<span class="code-string">"arrowElement"</span>,<span class="code-string">"arrowRect"</span>,<span class="code-string">"arrowPaddingObject"</span>,<span class="code-string">"arrowPaddingMin"</span>,<span class="code-string">"arrowPaddingMax"</span>,<span class="code-string">"arrowLen"</span>,<span class="code-string">"minOffset"</span>,<span class="code-string">"maxOffset"</span>,<span class="code-string">"arrowOffsetParent"</span>,<span class="code-string">"clientOffset"</span>,<span class="code-string">"offsetModifierValue"</span>,<span class="code-string">"tetherMin"</span>,<span class="code-string">"tetherMax"</span>,<span class="code-string">"preventedOffset"</span>,<span class="code-string">"isOriginSide"</span>,<span class="code-string">"toPaddingObject"</span>,<span class="code-string">"minProp"</span>,<span class="code-string">"maxProp"</span>,<span class="code-string">"endDiff"</span>,<span class="code-string">"startDiff"</span>,<span class="code-string">"clientSize"</span>,<span class="code-string">"centerToReference"</span>,<span class="code-string">"center"</span>,<span class="code-string">"axisProp"</span>,<span class="code-string">"centerOffset"</span>,<span class="code-string">"querySelector"</span>,<span class="code-string">"getSideOffsets"</span>,<span class="code-string">"preventedOffsets"</span>,<span class="code-string">"isAnySideFullyClipped"</span>,<span class="code-string">"side"</span>,<span class="code-string">"hide"</span>,<span class="code-string">"referenceOverflow"</span>,<span class="code-string">"popperAltOverflow"</span>,<span class="code-string">"referenceClippingOffsets"</span>,<span class="code-string">"popperEscapeOffsets"</span>,<span class="code-string">"isReferenceHidden"</span>,<span class="code-string">"hasPopperEscaped"</span>,<span class="code-string">"eventListeners"</span>],<span class="code-attr">"mappings"</span>:<span class="code-string">";;;;;;;;;;EAIe,SAASA,SAAT,CAAmBC,IAAnB,EAAyB;EACtC,MAAIA,IAAI,IAAI,IAAZ,EAAkB;EAChB,WAAOC,MAAP;EACD;;EAED,MAAID,IAAI,CAACE,QAAL,OAAoB,iBAAxB,EAA2C;EACzC,QAAMC,aAAa,GAAGH,IAAI,CAACG,aAA3B;EACA,WAAOA,aAAa,GAAGA,aAAa,CAACC,WAAd,IAA6BH,MAAhC,GAAyCA,MAA7D;EACD;;EAED,SAAOD,IAAP;EACD;;ECVD,SAASK,SAAT,CAAmBL,IAAnB,EAAyB;EACvB,MAAMM,UAAU,GAAGP,SAAS,CAACC,IAAD,CAAT,CAAgBO,OAAnC;EACA,SAAOP,IAAI,YAAYM,UAAhB,IAA8BN,IAAI,YAAYO,OAArD;EACD;;EAID,SAASC,aAAT,CAAuBR,IAAvB,EAA6B;EAC3B,MAAMM,UAAU,GAAGP,SAAS,CAACC,IAAD,CAAT,CAAgBS,WAAnC;EACA,SAAOT,IAAI,YAAYM,UAAhB,IAA8BN,IAAI,YAAYS,WAArD;EACD;;EAID,SAASC,YAAT,CAAsBV,IAAtB,EAA4B;EAC1B;EACA,MAAI,OAAOW,UAAP,KAAsB,WAA1B,EAAuC;EACrC,WAAO,KAAP;EACD;;EACD,MAAML,UAAU,GAAGP,SAAS,CAACC,IAAD,CAAT,CAAgBW,UAAnC;EACA,SAAOX,IAAI,YAAYM,UAAhB,IAA8BN,IAAI,YAAYW,UAArD;EACD;;ECzBM,IAAMC,GAAG,GAAGC,IAAI,CAACD,GAAjB;EACA,IAAME,GAAG,GAAGD,IAAI,CAACC,GAAjB;EACA,IAAMC,KAAK,GAAGF,IAAI,CAACE,KAAnB;;ECEQ,SAASC,qBAAT,CACbC,OADa,EAEbC,YAFa,EAGK;EAAA,MADlBA,YACkB;EADlBA,IAAAA,YACkB,GADM,KACN;EAAA;;EAClB,MAAMC,IAAI,GAAGF,OAAO,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BC;EAHzB;EAKD;;;AAID,eAAgB;EACdtS,EAAAA,IAAI,EAAE,MADQ;EAEduC,EAAAA,OAAO,EAAE,IAFK;EAGd3B,EAAAA,KAAK,EAAE,MAHO;EAIdR,EAAAA,gBAAgB,EAAE,CAAC,iBAAD,CAJJ;EAKdU,EAAAA,EAAE,EAAEkR;EALU,CAAhB;;EC3DA,IAAM1J,kBAAgB,GAAG,CACvBiK,cADuB,EAEvBlL,eAFuB,EAGvBsE,eAHuB,EAIvBI,aAJuB,CAAzB;MAOMvD,cAAY,gBAAGJ,eAAe,CAAC;EAAEE,EAAAA,gBAAgB,EAAhBA;EAAF,CAAD;;MCF9BA,gBAAgB,GAAG,CACvBiK,cADuB,EAEvBlL,eAFuB,EAGvBsE,eAHuB,EAIvBI,aAJuB,EAKvBnE,QALuB,EAMvB6F,MANuB,EAOvB8B,iBAPuB,EAQvBzD,OARuB,EASvBkG,MATuB;MAYnBxJ,YAAY,gBAAGJ,eAAe,CAAC;EAAEE,EAAAA,gBAAgB,EAAhBA;EAAF,CAAD;;;;;;;;;;;;;;;;;;;"</span>}</code></td></tr><tr><td class="css-a4x74f">\</td><style data-emotion-css="jhhjkz">.css-jhhjkz{padding-left:10px;color:rgba(27,31,35,.3);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td class="css-jhhjkz">No newline at end of file</td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper.min.js b/web/_static/popperjs/popper.min.js
new file mode 100644
index 0000000..76b62ca
--- /dev/null
+++ b/web/_static/popperjs/popper.min.js
@@ -0,0 +1,71 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:36.576Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper.min.js","target":{"path":"/dist/umd/popper.min.js","type":"file","details":{"contentType":"application/javascript","integrity":"sha384-Xe+8cL9oJa6tN/veChSP7q+mnSPaj5Bcu9mPX5F5xIGE0DVittaqT5lorf0EI7Vk","language":"JavaScript","size":19766,"uri":null,"highlights":["<span class=\"code-comment\">/**\n</span>","<span class=\"code-comment\"> * @popperjs/core v2.11.5 - MIT License\n</span>","<span class=\"code-comment\"> */</span>\n","\n","!<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-string\">\"object\"</span>==<span class=\"code-keyword\">typeof</span> exports&amp;&amp;<span class=\"code-string\">\"undefined\"</span>!=<span class=\"code-keyword\">typeof</span> <span class=\"code-built_in\">module</span>?t(exports):<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> define&amp;&amp;define.amd?define([<span class=\"code-string\">\"exports\"</span>],t):t((e=<span class=\"code-string\">\"undefined\"</span>!=<span class=\"code-keyword\">typeof</span> globalThis?globalThis:e||self).Popper={})}(<span class=\"code-keyword\">this</span>,(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-string\">\"use strict\"</span>;<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">t</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">if</span>(<span class=\"code-literal\">null</span>==e)<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">window</span>;<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"[object Window]\"</span>!==e.toString()){<span class=\"code-keyword\">var</span> t=e.ownerDocument;<span class=\"code-keyword\">return</span> t&amp;&amp;t.defaultView||<span class=\"code-built_in\">window</span>}<span class=\"code-keyword\">return</span> e}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">n</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e <span class=\"code-keyword\">instanceof</span> t(e).Element||e <span class=\"code-keyword\">instanceof</span> Element}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">r</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e <span class=\"code-keyword\">instanceof</span> t(e).HTMLElement||e <span class=\"code-keyword\">instanceof</span> HTMLElement}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">o</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span><span class=\"code-string\">\"undefined\"</span>!=<span class=\"code-keyword\">typeof</span> ShadowRoot&amp;&amp;(e <span class=\"code-keyword\">instanceof</span> t(e).ShadowRoot||e <span class=\"code-keyword\">instanceof</span> ShadowRoot)}<span class=\"code-keyword\">var</span> i=<span class=\"code-built_in\">Math</span>.max,a=<span class=\"code-built_in\">Math</span>.min,s=<span class=\"code-built_in\">Math</span>.round;<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">f</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===t&amp;&amp;(t=!<span class=\"code-number\">1</span>);<span class=\"code-keyword\">var</span> n=e.getBoundingClientRect(),o=<span class=\"code-number\">1</span>,i=<span class=\"code-number\">1</span>;<span class=\"code-keyword\">if</span>(r(e)&amp;&amp;t){<span class=\"code-keyword\">var</span> a=e.offsetHeight,f=e.offsetWidth;f&gt;<span class=\"code-number\">0</span>&amp;&amp;(o=s(n.width)/f||<span class=\"code-number\">1</span>),a&gt;<span class=\"code-number\">0</span>&amp;&amp;(i=s(n.height)/a||<span class=\"code-number\">1</span>)}<span class=\"code-keyword\">return</span>{<span class=\"code-attr\">width</span>:n.width/o,<span class=\"code-attr\">height</span>:n.height/i,<span class=\"code-attr\">top</span>:n.top/i,<span class=\"code-attr\">right</span>:n.right/o,<span class=\"code-attr\">bottom</span>:n.bottom/i,<span class=\"code-attr\">left</span>:n.left/o,<span class=\"code-attr\">x</span>:n.left/o,<span class=\"code-attr\">y</span>:n.top/i}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">c</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n=t(e);<span class=\"code-keyword\">return</span>{<span class=\"code-attr\">scrollLeft</span>:n.pageXOffset,<span class=\"code-attr\">scrollTop</span>:n.pageYOffset}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">p</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e?(e.nodeName||<span class=\"code-string\">\"\"</span>).toLowerCase():<span class=\"code-literal\">null</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">u</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>((n(e)?e.ownerDocument:e.document)||<span class=\"code-built_in\">window</span>.document).documentElement}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">l</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> f(u(e)).left+c(e).scrollLeft}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">d</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> t(e).getComputedStyle(e)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">h</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=d(e),n=t.overflow,r=t.overflowX,o=t.overflowY;<span class=\"code-keyword\">return</span><span class=\"code-regexp\">/auto|scroll|overlay|hidden/</span>.test(n+o+r)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">m</span>(<span class=\"code-params\">e,n,o</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o&amp;&amp;(o=!<span class=\"code-number\">1</span>);<span class=\"code-keyword\">var</span> i,a,d=r(n),m=r(n)&amp;&amp;<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||<span class=\"code-number\">1</span>,r=s(t.height)/e.offsetHeight||<span class=\"code-number\">1</span>;<span class=\"code-keyword\">return</span> <span class=\"code-number\">1</span>!==n||<span class=\"code-number\">1</span>!==r}(n),v=u(n),g=f(e,m),y={<span class=\"code-attr\">scrollLeft</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">scrollTop</span>:<span class=\"code-number\">0</span>},b={<span class=\"code-attr\">x</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">y</span>:<span class=\"code-number\">0</span>};<span class=\"code-keyword\">return</span>(d||!d&amp;&amp;!o)&amp;&amp;((<span class=\"code-string\">\"body\"</span>!==p(n)||h(v))&amp;&amp;(y=(i=n)!==t(i)&amp;&amp;r(i)?{<span class=\"code-attr\">scrollLeft</span>:(a=i).scrollLeft,<span class=\"code-attr\">scrollTop</span>:a.scrollTop}:c(i)),r(n)?((b=f(n,!<span class=\"code-number\">0</span>)).x+=n.clientLeft,b.y+=n.clientTop):v&amp;&amp;(b.x=l(v))),{<span class=\"code-attr\">x</span>:g.left+y.scrollLeft-b.x,<span class=\"code-attr\">y</span>:g.top+y.scrollTop-b.y,<span class=\"code-attr\">width</span>:g.width,<span class=\"code-attr\">height</span>:g.height}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">v</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=f(e),n=e.offsetWidth,r=e.offsetHeight;<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Math</span>.abs(t.width-n)&lt;=<span class=\"code-number\">1</span>&amp;&amp;(n=t.width),<span class=\"code-built_in\">Math</span>.abs(t.height-r)&lt;=<span class=\"code-number\">1</span>&amp;&amp;(r=t.height),{<span class=\"code-attr\">x</span>:e.offsetLeft,<span class=\"code-attr\">y</span>:e.offsetTop,<span class=\"code-attr\">width</span>:n,<span class=\"code-attr\">height</span>:r}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">g</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span><span class=\"code-string\">\"html\"</span>===p(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:<span class=\"code-literal\">null</span>)||u(e)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">y</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>[<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"body\"</span>,<span class=\"code-string\">\"#document\"</span>].indexOf(p(e))&gt;=<span class=\"code-number\">0</span>?e.ownerDocument.body:r(e)&amp;&amp;h(e)?e:y(g(e))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">b</span>(<span class=\"code-params\">e,n</span>)</span>{<span class=\"code-keyword\">var</span> r;<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===n&amp;&amp;(n=[]);<span class=\"code-keyword\">var</span> o=y(e),i=o===(<span class=\"code-literal\">null</span>==(r=e.ownerDocument)?<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>:r.body),a=t(o),s=i?[a].concat(a.visualViewport||[],h(o)?o:[]):o,f=n.concat(s);<span class=\"code-keyword\">return</span> i?f:f.concat(b(g(s)))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">x</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>[<span class=\"code-string\">\"table\"</span>,<span class=\"code-string\">\"td\"</span>,<span class=\"code-string\">\"th\"</span>].indexOf(p(e))&gt;=<span class=\"code-number\">0</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">w</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> r(e)&amp;&amp;<span class=\"code-string\">\"fixed\"</span>!==d(e).position?e.offsetParent:<span class=\"code-literal\">null</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">O</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> n=t(e),i=w(e);i&amp;&amp;x(i)&amp;&amp;<span class=\"code-string\">\"static\"</span>===d(i).position;)i=w(i);<span class=\"code-keyword\">return</span> i&amp;&amp;(<span class=\"code-string\">\"html\"</span>===p(i)||<span class=\"code-string\">\"body\"</span>===p(i)&amp;&amp;<span class=\"code-string\">\"static\"</span>===d(i).position)?n:i||<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=<span class=\"code-number\">-1</span>!==navigator.userAgent.toLowerCase().indexOf(<span class=\"code-string\">\"firefox\"</span>);<span class=\"code-keyword\">if</span>(<span class=\"code-number\">-1</span>!==navigator.userAgent.indexOf(<span class=\"code-string\">\"Trident\"</span>)&amp;&amp;r(e)&amp;&amp;<span class=\"code-string\">\"fixed\"</span>===d(e).position)<span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>;<span class=\"code-keyword\">var</span> n=g(e);<span class=\"code-keyword\">for</span>(o(n)&amp;&amp;(n=n.host);r(n)&amp;&amp;[<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"body\"</span>].indexOf(p(n))&lt;<span class=\"code-number\">0</span>;){<span class=\"code-keyword\">var</span> i=d(n);<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"none\"</span>!==i.transform||<span class=\"code-string\">\"none\"</span>!==i.perspective||<span class=\"code-string\">\"paint\"</span>===i.contain||<span class=\"code-number\">-1</span>!==[<span class=\"code-string\">\"transform\"</span>,<span class=\"code-string\">\"perspective\"</span>].indexOf(i.willChange)||t&amp;&amp;<span class=\"code-string\">\"filter\"</span>===i.willChange||t&amp;&amp;i.filter&amp;&amp;<span class=\"code-string\">\"none\"</span>!==i.filter)<span class=\"code-keyword\">return</span> n;n=n.parentNode}<span class=\"code-keyword\">return</span> <span class=\"code-literal\">null</span>}(e)||n}<span class=\"code-keyword\">var</span> j=<span class=\"code-string\">\"top\"</span>,E=<span class=\"code-string\">\"bottom\"</span>,D=<span class=\"code-string\">\"right\"</span>,A=<span class=\"code-string\">\"left\"</span>,L=<span class=\"code-string\">\"auto\"</span>,P=[j,E,D,A],M=<span class=\"code-string\">\"start\"</span>,k=<span class=\"code-string\">\"end\"</span>,W=<span class=\"code-string\">\"viewport\"</span>,B=<span class=\"code-string\">\"popper\"</span>,H=P.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">return</span> e.concat([t+<span class=\"code-string\">\"-\"</span>+M,t+<span class=\"code-string\">\"-\"</span>+k])}),[]),T=[].concat(P,[L]).reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">return</span> e.concat([t,t+<span class=\"code-string\">\"-\"</span>+M,t+<span class=\"code-string\">\"-\"</span>+k])}),[]),R=[<span class=\"code-string\">\"beforeRead\"</span>,<span class=\"code-string\">\"read\"</span>,<span class=\"code-string\">\"afterRead\"</span>,<span class=\"code-string\">\"beforeMain\"</span>,<span class=\"code-string\">\"main\"</span>,<span class=\"code-string\">\"afterMain\"</span>,<span class=\"code-string\">\"beforeWrite\"</span>,<span class=\"code-string\">\"write\"</span>,<span class=\"code-string\">\"afterWrite\"</span>];<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">S</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Map</span>,n=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Set</span>,r=[];<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">o</span>(<span class=\"code-params\">e</span>)</span>{n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">if</span>(!n.has(e)){<span class=\"code-keyword\">var</span> r=t.get(e);r&amp;&amp;o(r)}})),r.push(e)}<span class=\"code-keyword\">return</span> e.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{t.set(e.name,e)})),e.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{n.has(e.name)||o(e)})),r}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">C</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.split(<span class=\"code-string\">\"-\"</span>)[<span class=\"code-number\">0</span>]}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">q</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">var</span> n=t.getRootNode&amp;&amp;t.getRootNode();<span class=\"code-keyword\">if</span>(e.contains(t))<span class=\"code-keyword\">return</span>!<span class=\"code-number\">0</span>;<span class=\"code-keyword\">if</span>(n&amp;&amp;o(n)){<span class=\"code-keyword\">var</span> r=t;<span class=\"code-keyword\">do</span>{<span class=\"code-keyword\">if</span>(r&amp;&amp;e.isSameNode(r))<span class=\"code-keyword\">return</span>!<span class=\"code-number\">0</span>;r=r.parentNode||r.host}<span class=\"code-keyword\">while</span>(r)}<span class=\"code-keyword\">return</span>!<span class=\"code-number\">1</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">V</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({},e,{<span class=\"code-attr\">left</span>:e.x,<span class=\"code-attr\">top</span>:e.y,<span class=\"code-attr\">right</span>:e.x+e.width,<span class=\"code-attr\">bottom</span>:e.y+e.height})}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">N</span>(<span class=\"code-params\">e,r</span>)</span>{<span class=\"code-keyword\">return</span> r===W?V(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n=t(e),r=u(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=<span class=\"code-number\">0</span>,f=<span class=\"code-number\">0</span>;<span class=\"code-keyword\">return</span> o&amp;&amp;(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,f=o.offsetTop)),{<span class=\"code-attr\">width</span>:i,<span class=\"code-attr\">height</span>:a,<span class=\"code-attr\">x</span>:s+l(e),<span class=\"code-attr\">y</span>:f}}(e)):n(r)?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=f(e);<span class=\"code-keyword\">return</span> t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(r):V(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t,n=u(e),r=c(e),o=<span class=\"code-literal\">null</span>==(t=e.ownerDocument)?<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>:t.body,a=i(n.scrollWidth,n.clientWidth,o?o.scrollWidth:<span class=\"code-number\">0</span>,o?o.clientWidth:<span class=\"code-number\">0</span>),s=i(n.scrollHeight,n.clientHeight,o?o.scrollHeight:<span class=\"code-number\">0</span>,o?o.clientHeight:<span class=\"code-number\">0</span>),f=-r.scrollLeft+l(e),p=-r.scrollTop;<span class=\"code-keyword\">return</span><span class=\"code-string\">\"rtl\"</span>===d(o||n).direction&amp;&amp;(f+=i(n.clientWidth,o?o.clientWidth:<span class=\"code-number\">0</span>)-a),{<span class=\"code-attr\">width</span>:a,<span class=\"code-attr\">height</span>:s,<span class=\"code-attr\">x</span>:f,<span class=\"code-attr\">y</span>:p}}(u(e)))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">I</span>(<span class=\"code-params\">e,t,o</span>)</span>{<span class=\"code-keyword\">var</span> s=<span class=\"code-string\">\"clippingParents\"</span>===t?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=b(g(e)),o=[<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-string\">\"fixed\"</span>].indexOf(d(e).position)&gt;=<span class=\"code-number\">0</span>&amp;&amp;r(e)?O(e):e;<span class=\"code-keyword\">return</span> n(o)?t.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> n(e)&amp;&amp;q(e,o)&amp;&amp;<span class=\"code-string\">\"body\"</span>!==p(e)})):[]}(e):[].concat(t),f=[].concat(s,[o]),c=f[<span class=\"code-number\">0</span>],u=f.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,n</span>)</span>{<span class=\"code-keyword\">var</span> r=N(e,n);<span class=\"code-keyword\">return</span> t.top=i(r.top,t.top),t.right=a(r.right,t.right),t.bottom=a(r.bottom,t.bottom),t.left=i(r.left,t.left),t}),N(e,c));<span class=\"code-keyword\">return</span> u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">_</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.split(<span class=\"code-string\">\"-\"</span>)[<span class=\"code-number\">1</span>]}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">F</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>[<span class=\"code-string\">\"top\"</span>,<span class=\"code-string\">\"bottom\"</span>].indexOf(e)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-string\">\"x\"</span>:<span class=\"code-string\">\"y\"</span>}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">U</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t,n=e.reference,r=e.element,o=e.placement,i=o?C(o):<span class=\"code-literal\">null</span>,a=o?_(o):<span class=\"code-literal\">null</span>,s=n.x+n.width/<span class=\"code-number\">2</span>-r.width/<span class=\"code-number\">2</span>,f=n.y+n.height/<span class=\"code-number\">2</span>-r.height/<span class=\"code-number\">2</span>;<span class=\"code-keyword\">switch</span>(i){<span class=\"code-keyword\">case</span> j:t={<span class=\"code-attr\">x</span>:s,<span class=\"code-attr\">y</span>:n.y-r.height};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> E:t={<span class=\"code-attr\">x</span>:s,<span class=\"code-attr\">y</span>:n.y+n.height};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> D:t={<span class=\"code-attr\">x</span>:n.x+n.width,<span class=\"code-attr\">y</span>:f};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> A:t={<span class=\"code-attr\">x</span>:n.x-r.width,<span class=\"code-attr\">y</span>:f};<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">default</span>:t={<span class=\"code-attr\">x</span>:n.x,<span class=\"code-attr\">y</span>:n.y}}<span class=\"code-keyword\">var</span> c=i?F(i):<span class=\"code-literal\">null</span>;<span class=\"code-keyword\">if</span>(<span class=\"code-literal\">null</span>!=c){<span class=\"code-keyword\">var</span> p=<span class=\"code-string\">\"y\"</span>===c?<span class=\"code-string\">\"height\"</span>:<span class=\"code-string\">\"width\"</span>;<span class=\"code-keyword\">switch</span>(a){<span class=\"code-keyword\">case</span> M:t[c]=t[c]-(n[p]/<span class=\"code-number\">2</span>-r[p]/<span class=\"code-number\">2</span>);<span class=\"code-keyword\">break</span>;<span class=\"code-keyword\">case</span> k:t[c]=t[c]+(n[p]/<span class=\"code-number\">2</span>-r[p]/<span class=\"code-number\">2</span>)}}<span class=\"code-keyword\">return</span> t}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">z</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign({},{<span class=\"code-attr\">top</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">right</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">bottom</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">left</span>:<span class=\"code-number\">0</span>},e)}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">X</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">return</span> t.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,n</span>)</span>{<span class=\"code-keyword\">return</span> t[n]=e,t}),{})}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">Y</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===t&amp;&amp;(t={});<span class=\"code-keyword\">var</span> r=t,o=r.placement,i=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o?e.placement:o,a=r.boundary,s=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===a?<span class=\"code-string\">\"clippingParents\"</span>:a,c=r.rootBoundary,p=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===c?W:c,l=r.elementContext,d=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===l?B:l,h=r.altBoundary,m=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>!==h&amp;&amp;h,v=r.padding,g=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===v?<span class=\"code-number\">0</span>:v,y=z(<span class=\"code-string\">\"number\"</span>!=<span class=\"code-keyword\">typeof</span> g?g:X(g,P)),b=d===B?<span class=\"code-string\">\"reference\"</span>:B,x=e.rects.popper,w=e.elements[m?b:d],O=I(n(w)?w:w.contextElement||u(e.elements.popper),s,p),A=f(e.elements.reference),L=U({<span class=\"code-attr\">reference</span>:A,<span class=\"code-attr\">element</span>:x,<span class=\"code-attr\">strategy</span>:<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-attr\">placement</span>:i}),M=V(<span class=\"code-built_in\">Object</span>.assign({},x,L)),k=d===B?M:A,H={<span class=\"code-attr\">top</span>:O.top-k.top+y.top,<span class=\"code-attr\">bottom</span>:k.bottom-O.bottom+y.bottom,<span class=\"code-attr\">left</span>:O.left-k.left+y.left,<span class=\"code-attr\">right</span>:k.right-O.right+y.right},T=e.modifiersData.offset;<span class=\"code-keyword\">if</span>(d===B&amp;&amp;T){<span class=\"code-keyword\">var</span> R=T[i];<span class=\"code-built_in\">Object</span>.keys(H).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=[D,E].indexOf(e)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-number\">1</span>:<span class=\"code-number\">-1</span>,n=[j,E].indexOf(e)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-string\">\"y\"</span>:<span class=\"code-string\">\"x\"</span>;H[e]+=R[n]*t}))}<span class=\"code-keyword\">return</span> H}<span class=\"code-keyword\">var</span> G={<span class=\"code-attr\">placement</span>:<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-attr\">modifiers</span>:[],<span class=\"code-attr\">strategy</span>:<span class=\"code-string\">\"absolute\"</span>};<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">J</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> e=<span class=\"code-built_in\">arguments</span>.length,t=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Array</span>(e),n=<span class=\"code-number\">0</span>;n&lt;e;n++)t[n]=<span class=\"code-built_in\">arguments</span>[n];<span class=\"code-keyword\">return</span>!t.some((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>!(e&amp;&amp;<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> e.getBoundingClientRect)}))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">K</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===e&amp;&amp;(e={});<span class=\"code-keyword\">var</span> t=e,r=t.defaultModifiers,o=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===r?[]:r,i=t.defaultOptions,a=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===i?G:i;<span class=\"code-keyword\">return</span> <span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t,r</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===r&amp;&amp;(r=a);<span class=\"code-keyword\">var</span> i,s,f={<span class=\"code-attr\">placement</span>:<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-attr\">orderedModifiers</span>:[],<span class=\"code-attr\">options</span>:<span class=\"code-built_in\">Object</span>.assign({},G,a),<span class=\"code-attr\">modifiersData</span>:{},<span class=\"code-attr\">elements</span>:{<span class=\"code-attr\">reference</span>:e,<span class=\"code-attr\">popper</span>:t},<span class=\"code-attr\">attributes</span>:{},<span class=\"code-attr\">styles</span>:{}},c=[],p=!<span class=\"code-number\">1</span>,u={<span class=\"code-attr\">state</span>:f,<span class=\"code-attr\">setOptions</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">r</span>)</span>{<span class=\"code-keyword\">var</span> i=<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> r?r(f.options):r;l(),f.options=<span class=\"code-built_in\">Object</span>.assign({},a,f.options,i),f.scrollParents={<span class=\"code-attr\">reference</span>:n(e)?b(e):e.contextElement?b(e.contextElement):[],<span class=\"code-attr\">popper</span>:b(t)};<span class=\"code-keyword\">var</span> s,p,d=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=S(e);<span class=\"code-keyword\">return</span> R.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,n</span>)</span>{<span class=\"code-keyword\">return</span> e.concat(t.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.phase===n})))}),[])}((s=[].concat(o,f.options.modifiers),p=s.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">var</span> n=e[t.name];<span class=\"code-keyword\">return</span> e[t.name]=n?<span class=\"code-built_in\">Object</span>.assign({},n,t,{<span class=\"code-attr\">options</span>:<span class=\"code-built_in\">Object</span>.assign({},n.options,t.options),<span class=\"code-attr\">data</span>:<span class=\"code-built_in\">Object</span>.assign({},n.data,t.data)}):t,e}),{}),<span class=\"code-built_in\">Object</span>.keys(p).map((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> p[e]}))));<span class=\"code-keyword\">return</span> f.orderedModifiers=d.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.enabled})),f.orderedModifiers.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.name,n=e.options,r=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===n?{}:n,o=e.effect;<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> o){<span class=\"code-keyword\">var</span> i=o({<span class=\"code-attr\">state</span>:f,<span class=\"code-attr\">name</span>:t,<span class=\"code-attr\">instance</span>:u,<span class=\"code-attr\">options</span>:r}),a=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{};c.push(i||a)}})),u.update()},<span class=\"code-attr\">forceUpdate</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">if</span>(!p){<span class=\"code-keyword\">var</span> e=f.elements,t=e.reference,n=e.popper;<span class=\"code-keyword\">if</span>(J(t,n)){f.rects={<span class=\"code-attr\">reference</span>:m(t,O(n),<span class=\"code-string\">\"fixed\"</span>===f.options.strategy),<span class=\"code-attr\">popper</span>:v(n)},f.reset=!<span class=\"code-number\">1</span>,f.placement=f.options.placement,f.orderedModifiers.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> f.modifiersData[e.name]=<span class=\"code-built_in\">Object</span>.assign({},e.data)}));<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> r=<span class=\"code-number\">0</span>;r&lt;f.orderedModifiers.length;r++)<span class=\"code-keyword\">if</span>(!<span class=\"code-number\">0</span>!==f.reset){<span class=\"code-keyword\">var</span> o=f.orderedModifiers[r],i=o.fn,a=o.options,s=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===a?{}:a,c=o.name;<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> i&amp;&amp;(f=i({<span class=\"code-attr\">state</span>:f,<span class=\"code-attr\">options</span>:s,<span class=\"code-attr\">name</span>:c,<span class=\"code-attr\">instance</span>:u})||f)}<span class=\"code-keyword\">else</span> f.reset=!<span class=\"code-number\">1</span>,r=<span class=\"code-number\">-1</span>}}},<span class=\"code-attr\">update</span>:(i=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{u.forceUpdate(),e(f)}))},<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-keyword\">return</span> s||(s=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Promise</span>((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-built_in\">Promise</span>.resolve().then((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{s=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>,e(i())}))}))),s}),<span class=\"code-attr\">destroy</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{l(),p=!<span class=\"code-number\">0</span>}};<span class=\"code-keyword\">if</span>(!J(e,t))<span class=\"code-keyword\">return</span> u;<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">l</span>(<span class=\"code-params\"></span>)</span>{c.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e()})),c=[]}<span class=\"code-keyword\">return</span> u.setOptions(r).then((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{!p&amp;&amp;r.onFirstUpdate&amp;&amp;r.onFirstUpdate(e)})),u}}<span class=\"code-keyword\">var</span> Q={<span class=\"code-attr\">passive</span>:!<span class=\"code-number\">0</span>};<span class=\"code-keyword\">var</span> Z={<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"eventListeners\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"write\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{},<span class=\"code-attr\">effect</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n=e.state,r=e.instance,o=e.options,i=o.scroll,a=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===i||i,s=o.resize,f=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===s||s,c=t(n.elements.popper),p=[].concat(n.scrollParents.reference,n.scrollParents.popper);<span class=\"code-keyword\">return</span> a&amp;&amp;p.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{e.addEventListener(<span class=\"code-string\">\"scroll\"</span>,r.update,Q)})),f&amp;&amp;c.addEventListener(<span class=\"code-string\">\"resize\"</span>,r.update,Q),<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{a&amp;&amp;p.forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{e.removeEventListener(<span class=\"code-string\">\"scroll\"</span>,r.update,Q)})),f&amp;&amp;c.removeEventListener(<span class=\"code-string\">\"resize\"</span>,r.update,Q)}},<span class=\"code-attr\">data</span>:{}};<span class=\"code-keyword\">var</span> $={<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"popperOffsets\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"read\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n=e.name;t.modifiersData[n]=U({<span class=\"code-attr\">reference</span>:t.rects.reference,<span class=\"code-attr\">element</span>:t.rects.popper,<span class=\"code-attr\">strategy</span>:<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-attr\">placement</span>:t.placement})},<span class=\"code-attr\">data</span>:{}},ee={<span class=\"code-attr\">top</span>:<span class=\"code-string\">\"auto\"</span>,<span class=\"code-attr\">right</span>:<span class=\"code-string\">\"auto\"</span>,<span class=\"code-attr\">bottom</span>:<span class=\"code-string\">\"auto\"</span>,<span class=\"code-attr\">left</span>:<span class=\"code-string\">\"auto\"</span>};<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">te</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n,r=e.popper,o=e.popperRect,i=e.placement,a=e.variation,f=e.offsets,c=e.position,p=e.gpuAcceleration,l=e.adaptive,h=e.roundOffsets,m=e.isFixed,v=f.x,g=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===v?<span class=\"code-number\">0</span>:v,y=f.y,b=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===y?<span class=\"code-number\">0</span>:y,x=<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> h?h({<span class=\"code-attr\">x</span>:g,<span class=\"code-attr\">y</span>:b}):{<span class=\"code-attr\">x</span>:g,<span class=\"code-attr\">y</span>:b};g=x.x,b=x.y;<span class=\"code-keyword\">var</span> w=f.hasOwnProperty(<span class=\"code-string\">\"x\"</span>),L=f.hasOwnProperty(<span class=\"code-string\">\"y\"</span>),P=A,M=j,W=<span class=\"code-built_in\">window</span>;<span class=\"code-keyword\">if</span>(l){<span class=\"code-keyword\">var</span> B=O(r),H=<span class=\"code-string\">\"clientHeight\"</span>,T=<span class=\"code-string\">\"clientWidth\"</span>;<span class=\"code-keyword\">if</span>(B===t(r)&amp;&amp;<span class=\"code-string\">\"static\"</span>!==d(B=u(r)).position&amp;&amp;<span class=\"code-string\">\"absolute\"</span>===c&amp;&amp;(H=<span class=\"code-string\">\"scrollHeight\"</span>,T=<span class=\"code-string\">\"scrollWidth\"</span>),B=B,i===j||(i===A||i===D)&amp;&amp;a===k)M=E,b-=(m&amp;&amp;B===W&amp;&amp;W.visualViewport?W.visualViewport.height:B[H])-o.height,b*=p?<span class=\"code-number\">1</span>:<span class=\"code-number\">-1</span>;<span class=\"code-keyword\">if</span>(i===A||(i===j||i===E)&amp;&amp;a===k)P=D,g-=(m&amp;&amp;B===W&amp;&amp;W.visualViewport?W.visualViewport.width:B[T])-o.width,g*=p?<span class=\"code-number\">1</span>:<span class=\"code-number\">-1</span>}<span class=\"code-keyword\">var</span> R,S=<span class=\"code-built_in\">Object</span>.assign({<span class=\"code-attr\">position</span>:c},l&amp;&amp;ee),C=!<span class=\"code-number\">0</span>===h?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.x,n=e.y,r=<span class=\"code-built_in\">window</span>.devicePixelRatio||<span class=\"code-number\">1</span>;<span class=\"code-keyword\">return</span>{<span class=\"code-attr\">x</span>:s(t*r)/r||<span class=\"code-number\">0</span>,<span class=\"code-attr\">y</span>:s(n*r)/r||<span class=\"code-number\">0</span>}}({<span class=\"code-attr\">x</span>:g,<span class=\"code-attr\">y</span>:b}):{<span class=\"code-attr\">x</span>:g,<span class=\"code-attr\">y</span>:b};<span class=\"code-keyword\">return</span> g=C.x,b=C.y,p?<span class=\"code-built_in\">Object</span>.assign({},S,((R={})[M]=L?<span class=\"code-string\">\"0\"</span>:<span class=\"code-string\">\"\"</span>,R[P]=w?<span class=\"code-string\">\"0\"</span>:<span class=\"code-string\">\"\"</span>,R.transform=(W.devicePixelRatio||<span class=\"code-number\">1</span>)&lt;=<span class=\"code-number\">1</span>?<span class=\"code-string\">\"translate(\"</span>+g+<span class=\"code-string\">\"px, \"</span>+b+<span class=\"code-string\">\"px)\"</span>:<span class=\"code-string\">\"translate3d(\"</span>+g+<span class=\"code-string\">\"px, \"</span>+b+<span class=\"code-string\">\"px, 0)\"</span>,R)):<span class=\"code-built_in\">Object</span>.assign({},S,((n={})[M]=L?b+<span class=\"code-string\">\"px\"</span>:<span class=\"code-string\">\"\"</span>,n[P]=w?g+<span class=\"code-string\">\"px\"</span>:<span class=\"code-string\">\"\"</span>,n.transform=<span class=\"code-string\">\"\"</span>,n))}<span class=\"code-keyword\">var</span> ne={<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"computeStyles\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"beforeWrite\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n=e.options,r=n.gpuAcceleration,o=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===r||r,i=n.adaptive,a=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===i||i,s=n.roundOffsets,f=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===s||s,c={<span class=\"code-attr\">placement</span>:C(t.placement),<span class=\"code-attr\">variation</span>:_(t.placement),<span class=\"code-attr\">popper</span>:t.elements.popper,<span class=\"code-attr\">popperRect</span>:t.rects.popper,<span class=\"code-attr\">gpuAcceleration</span>:o,<span class=\"code-attr\">isFixed</span>:<span class=\"code-string\">\"fixed\"</span>===t.options.strategy};<span class=\"code-literal\">null</span>!=t.modifiersData.popperOffsets&amp;&amp;(t.styles.popper=<span class=\"code-built_in\">Object</span>.assign({},t.styles.popper,te(<span class=\"code-built_in\">Object</span>.assign({},c,{<span class=\"code-attr\">offsets</span>:t.modifiersData.popperOffsets,<span class=\"code-attr\">position</span>:t.options.strategy,<span class=\"code-attr\">adaptive</span>:a,<span class=\"code-attr\">roundOffsets</span>:f})))),<span class=\"code-literal\">null</span>!=t.modifiersData.arrow&amp;&amp;(t.styles.arrow=<span class=\"code-built_in\">Object</span>.assign({},t.styles.arrow,te(<span class=\"code-built_in\">Object</span>.assign({},c,{<span class=\"code-attr\">offsets</span>:t.modifiersData.arrow,<span class=\"code-attr\">position</span>:<span class=\"code-string\">\"absolute\"</span>,<span class=\"code-attr\">adaptive</span>:!<span class=\"code-number\">1</span>,<span class=\"code-attr\">roundOffsets</span>:f})))),t.attributes.popper=<span class=\"code-built_in\">Object</span>.assign({},t.attributes.popper,{<span class=\"code-string\">\"data-popper-placement\"</span>:t.placement})},<span class=\"code-attr\">data</span>:{}};<span class=\"code-keyword\">var</span> re={<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"applyStyles\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"write\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state;<span class=\"code-built_in\">Object</span>.keys(t.elements).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];r(i)&amp;&amp;p(i)&amp;&amp;(<span class=\"code-built_in\">Object</span>.assign(i.style,n),<span class=\"code-built_in\">Object</span>.keys(o).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=o[e];!<span class=\"code-number\">1</span>===t?i.removeAttribute(e):i.setAttribute(e,!<span class=\"code-number\">0</span>===t?<span class=\"code-string\">\"\"</span>:t)})))}))},<span class=\"code-attr\">effect</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n={<span class=\"code-attr\">popper</span>:{<span class=\"code-attr\">position</span>:t.options.strategy,<span class=\"code-attr\">left</span>:<span class=\"code-string\">\"0\"</span>,<span class=\"code-attr\">top</span>:<span class=\"code-string\">\"0\"</span>,<span class=\"code-attr\">margin</span>:<span class=\"code-string\">\"0\"</span>},<span class=\"code-attr\">arrow</span>:{<span class=\"code-attr\">position</span>:<span class=\"code-string\">\"absolute\"</span>},<span class=\"code-attr\">reference</span>:{}};<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&amp;&amp;<span class=\"code-built_in\">Object</span>.assign(t.elements.arrow.style,n.arrow),<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\"></span>)</span>{<span class=\"code-built_in\">Object</span>.keys(t.elements).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> o=t.elements[e],i=t.attributes[e]||{},a=<span class=\"code-built_in\">Object</span>.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">return</span> e[t]=<span class=\"code-string\">\"\"</span>,e}),{});r(o)&amp;&amp;p(o)&amp;&amp;(<span class=\"code-built_in\">Object</span>.assign(o.style,a),<span class=\"code-built_in\">Object</span>.keys(i).forEach((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{o.removeAttribute(e)})))}))}},<span class=\"code-attr\">requires</span>:[<span class=\"code-string\">\"computeStyles\"</span>]};<span class=\"code-keyword\">var</span> oe={<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"offset\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"main\"</span>,<span class=\"code-attr\">requires</span>:[<span class=\"code-string\">\"popperOffsets\"</span>],<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n=e.options,r=e.name,o=n.offset,i=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o?[<span class=\"code-number\">0</span>,<span class=\"code-number\">0</span>]:o,a=T.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,n</span>)</span>{<span class=\"code-keyword\">return</span> e[n]=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t,n</span>)</span>{<span class=\"code-keyword\">var</span> r=C(e),o=[A,j].indexOf(r)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-number\">-1</span>:<span class=\"code-number\">1</span>,i=<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> n?n(<span class=\"code-built_in\">Object</span>.assign({},t,{<span class=\"code-attr\">placement</span>:e})):n,a=i[<span class=\"code-number\">0</span>],s=i[<span class=\"code-number\">1</span>];<span class=\"code-keyword\">return</span> a=a||<span class=\"code-number\">0</span>,s=(s||<span class=\"code-number\">0</span>)*o,[A,D].indexOf(r)&gt;=<span class=\"code-number\">0</span>?{<span class=\"code-attr\">x</span>:s,<span class=\"code-attr\">y</span>:a}:{<span class=\"code-attr\">x</span>:a,<span class=\"code-attr\">y</span>:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;<span class=\"code-literal\">null</span>!=t.modifiersData.popperOffsets&amp;&amp;(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},ie={<span class=\"code-attr\">left</span>:<span class=\"code-string\">\"right\"</span>,<span class=\"code-attr\">right</span>:<span class=\"code-string\">\"left\"</span>,<span class=\"code-attr\">bottom</span>:<span class=\"code-string\">\"top\"</span>,<span class=\"code-attr\">top</span>:<span class=\"code-string\">\"bottom\"</span>};<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">ae</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.replace(<span class=\"code-regexp\">/left|right|bottom|top/g</span>,(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> ie[e]}))}<span class=\"code-keyword\">var</span> se={<span class=\"code-attr\">start</span>:<span class=\"code-string\">\"end\"</span>,<span class=\"code-attr\">end</span>:<span class=\"code-string\">\"start\"</span>};<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">fe</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e.replace(<span class=\"code-regexp\">/start|end/g</span>,(<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> se[e]}))}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">ce</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===t&amp;&amp;(t={});<span class=\"code-keyword\">var</span> n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===f?T:f,p=_(r),u=p?s?H:H.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> _(e)===p})):P,l=u.filter((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> c.indexOf(e)&gt;=<span class=\"code-number\">0</span>}));<span class=\"code-number\">0</span>===l.length&amp;&amp;(l=u);<span class=\"code-keyword\">var</span> d=l.reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t,n</span>)</span>{<span class=\"code-keyword\">return</span> t[n]=Y(e,{<span class=\"code-attr\">placement</span>:n,<span class=\"code-attr\">boundary</span>:o,<span class=\"code-attr\">rootBoundary</span>:i,<span class=\"code-attr\">padding</span>:a})[C(n)],t}),{});<span class=\"code-keyword\">return</span> <span class=\"code-built_in\">Object</span>.keys(d).sort((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">return</span> d[e]-d[t]}))}<span class=\"code-keyword\">var</span> pe={<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"flip\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"main\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n=e.options,r=e.name;<span class=\"code-keyword\">if</span>(!t.modifiersData[r]._skip){<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> o=n.mainAxis,i=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o||o,a=n.altAxis,s=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===a||a,f=n.fallbackPlacements,c=n.padding,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===d||d,m=n.allowedAutoPlacements,v=t.options.placement,g=C(v),y=f||(g===v||!h?[ae(v)]:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">if</span>(C(e)===L)<span class=\"code-keyword\">return</span>[];<span class=\"code-keyword\">var</span> t=ae(e);<span class=\"code-keyword\">return</span>[fe(e),t,fe(t)]}(v)),b=[v].concat(y).reduce((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,n</span>)</span>{<span class=\"code-keyword\">return</span> e.concat(C(n)===L?ce(t,{<span class=\"code-attr\">placement</span>:n,<span class=\"code-attr\">boundary</span>:p,<span class=\"code-attr\">rootBoundary</span>:u,<span class=\"code-attr\">padding</span>:c,<span class=\"code-attr\">flipVariations</span>:h,<span class=\"code-attr\">allowedAutoPlacements</span>:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,O=<span class=\"code-keyword\">new</span> <span class=\"code-built_in\">Map</span>,P=!<span class=\"code-number\">0</span>,k=b[<span class=\"code-number\">0</span>],W=<span class=\"code-number\">0</span>;W&lt;b.length;W++){<span class=\"code-keyword\">var</span> B=b[W],H=C(B),T=_(B)===M,R=[j,E].indexOf(H)&gt;=<span class=\"code-number\">0</span>,S=R?<span class=\"code-string\">\"width\"</span>:<span class=\"code-string\">\"height\"</span>,q=Y(t,{<span class=\"code-attr\">placement</span>:B,<span class=\"code-attr\">boundary</span>:p,<span class=\"code-attr\">rootBoundary</span>:u,<span class=\"code-attr\">altBoundary</span>:l,<span class=\"code-attr\">padding</span>:c}),V=R?T?D:A:T?E:j;x[S]&gt;w[S]&amp;&amp;(V=ae(V));<span class=\"code-keyword\">var</span> N=ae(V),I=[];<span class=\"code-keyword\">if</span>(i&amp;&amp;I.push(q[H]&lt;=<span class=\"code-number\">0</span>),s&amp;&amp;I.push(q[V]&lt;=<span class=\"code-number\">0</span>,q[N]&lt;=<span class=\"code-number\">0</span>),I.every((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e}))){k=B,P=!<span class=\"code-number\">1</span>;<span class=\"code-keyword\">break</span>}O.set(B,I)}<span class=\"code-keyword\">if</span>(P)<span class=\"code-keyword\">for</span>(<span class=\"code-keyword\">var</span> F=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=b.find((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">var</span> n=O.get(t);<span class=\"code-keyword\">if</span>(n)<span class=\"code-keyword\">return</span> n.slice(<span class=\"code-number\">0</span>,e).every((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span> e}))}));<span class=\"code-keyword\">if</span>(t)<span class=\"code-keyword\">return</span> k=t,<span class=\"code-string\">\"break\"</span>},U=h?<span class=\"code-number\">3</span>:<span class=\"code-number\">1</span>;U&gt;<span class=\"code-number\">0</span>;U--){<span class=\"code-keyword\">if</span>(<span class=\"code-string\">\"break\"</span>===F(U))<span class=\"code-keyword\">break</span>}t.placement!==k&amp;&amp;(t.modifiersData[r]._skip=!<span class=\"code-number\">0</span>,t.placement=k,t.reset=!<span class=\"code-number\">0</span>)}},<span class=\"code-attr\">requiresIfExists</span>:[<span class=\"code-string\">\"offset\"</span>],<span class=\"code-attr\">data</span>:{<span class=\"code-attr\">_skip</span>:!<span class=\"code-number\">1</span>}};<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">ue</span>(<span class=\"code-params\">e,t,n</span>)</span>{<span class=\"code-keyword\">return</span> i(e,a(t,n))}<span class=\"code-keyword\">var</span> le={<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"preventOverflow\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"main\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===o||o,f=n.altAxis,c=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>!==f&amp;&amp;f,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.padding,h=n.tether,m=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===h||h,g=n.tetherOffset,y=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===g?<span class=\"code-number\">0</span>:g,b=Y(t,{<span class=\"code-attr\">boundary</span>:p,<span class=\"code-attr\">rootBoundary</span>:u,<span class=\"code-attr\">padding</span>:d,<span class=\"code-attr\">altBoundary</span>:l}),x=C(t.placement),w=_(t.placement),L=!w,P=F(x),k=<span class=\"code-string\">\"x\"</span>===P?<span class=\"code-string\">\"y\"</span>:<span class=\"code-string\">\"x\"</span>,W=t.modifiersData.popperOffsets,B=t.rects.reference,H=t.rects.popper,T=<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> y?y(<span class=\"code-built_in\">Object</span>.assign({},t.rects,{<span class=\"code-attr\">placement</span>:t.placement})):y,R=<span class=\"code-string\">\"number\"</span>==<span class=\"code-keyword\">typeof</span> T?{<span class=\"code-attr\">mainAxis</span>:T,<span class=\"code-attr\">altAxis</span>:T}:<span class=\"code-built_in\">Object</span>.assign({<span class=\"code-attr\">mainAxis</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">altAxis</span>:<span class=\"code-number\">0</span>},T),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:<span class=\"code-literal\">null</span>,q={<span class=\"code-attr\">x</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">y</span>:<span class=\"code-number\">0</span>};<span class=\"code-keyword\">if</span>(W){<span class=\"code-keyword\">if</span>(s){<span class=\"code-keyword\">var</span> V,N=<span class=\"code-string\">\"y\"</span>===P?j:A,I=<span class=\"code-string\">\"y\"</span>===P?E:D,U=<span class=\"code-string\">\"y\"</span>===P?<span class=\"code-string\">\"height\"</span>:<span class=\"code-string\">\"width\"</span>,z=W[P],X=z+b[N],G=z-b[I],J=m?-H[U]/<span class=\"code-number\">2</span>:<span class=\"code-number\">0</span>,K=w===M?B[U]:H[U],Q=w===M?-H[U]:-B[U],Z=t.elements.arrow,$=m&amp;&amp;Z?v(Z):{<span class=\"code-attr\">width</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">height</span>:<span class=\"code-number\">0</span>},ee=t.modifiersData[<span class=\"code-string\">\"arrow#persistent\"</span>]?t.modifiersData[<span class=\"code-string\">\"arrow#persistent\"</span>].padding:{<span class=\"code-attr\">top</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">right</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">bottom</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">left</span>:<span class=\"code-number\">0</span>},te=ee[N],ne=ee[I],re=ue(<span class=\"code-number\">0</span>,B[U],$[U]),oe=L?B[U]/<span class=\"code-number\">2</span>-J-re-te-R.mainAxis:K-re-te-R.mainAxis,ie=L?-B[U]/<span class=\"code-number\">2</span>+J+re+ne+R.mainAxis:Q+re+ne+R.mainAxis,ae=t.elements.arrow&amp;&amp;O(t.elements.arrow),se=ae?<span class=\"code-string\">\"y\"</span>===P?ae.clientTop||<span class=\"code-number\">0</span>:ae.clientLeft||<span class=\"code-number\">0</span>:<span class=\"code-number\">0</span>,fe=<span class=\"code-literal\">null</span>!=(V=<span class=\"code-literal\">null</span>==S?<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>:S[P])?V:<span class=\"code-number\">0</span>,ce=z+ie-fe,pe=ue(m?a(X,z+oe-fe-se):X,z,m?i(G,ce):G);W[P]=pe,q[P]=pe-z}<span class=\"code-keyword\">if</span>(c){<span class=\"code-keyword\">var</span> le,de=<span class=\"code-string\">\"x\"</span>===P?j:A,he=<span class=\"code-string\">\"x\"</span>===P?E:D,me=W[k],ve=<span class=\"code-string\">\"y\"</span>===k?<span class=\"code-string\">\"height\"</span>:<span class=\"code-string\">\"width\"</span>,ge=me+b[de],ye=me-b[he],be=<span class=\"code-number\">-1</span>!==[j,A].indexOf(x),xe=<span class=\"code-literal\">null</span>!=(le=<span class=\"code-literal\">null</span>==S?<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>:S[k])?le:<span class=\"code-number\">0</span>,we=be?ge:me-B[ve]-H[ve]-xe+R.altAxis,Oe=be?me+B[ve]+H[ve]-xe-R.altAxis:ye,je=m&amp;&amp;be?<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t,n</span>)</span>{<span class=\"code-keyword\">var</span> r=ue(e,t,n);<span class=\"code-keyword\">return</span> r&gt;n?n:r}(we,me,Oe):ue(m?we:ge,me,m?Oe:ye);W[k]=je,q[k]=je-me}t.modifiersData[r]=q}},<span class=\"code-attr\">requiresIfExists</span>:[<span class=\"code-string\">\"offset\"</span>]};<span class=\"code-keyword\">var</span> de={<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"arrow\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"main\"</span>,<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=C(n.placement),f=F(s),c=[A,D].indexOf(s)&gt;=<span class=\"code-number\">0</span>?<span class=\"code-string\">\"height\"</span>:<span class=\"code-string\">\"width\"</span>;<span class=\"code-keyword\">if</span>(i&amp;&amp;a){<span class=\"code-keyword\">var</span> p=<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e,t</span>)</span>{<span class=\"code-keyword\">return</span> z(<span class=\"code-string\">\"number\"</span>!=<span class=\"code-keyword\">typeof</span>(e=<span class=\"code-string\">\"function\"</span>==<span class=\"code-keyword\">typeof</span> e?e(<span class=\"code-built_in\">Object</span>.assign({},t.rects,{<span class=\"code-attr\">placement</span>:t.placement})):e)?e:X(e,P))}(o.padding,n),u=v(i),l=<span class=\"code-string\">\"y\"</span>===f?j:A,d=<span class=\"code-string\">\"y\"</span>===f?E:D,h=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],m=a[f]-n.rects.reference[f],g=O(i),y=g?<span class=\"code-string\">\"y\"</span>===f?g.clientHeight||<span class=\"code-number\">0</span>:g.clientWidth||<span class=\"code-number\">0</span>:<span class=\"code-number\">0</span>,b=h/<span class=\"code-number\">2</span>-m/<span class=\"code-number\">2</span>,x=p[l],w=y-u[c]-p[d],L=y/<span class=\"code-number\">2</span>-u[c]/<span class=\"code-number\">2</span>+b,M=ue(x,L,w),k=f;n.modifiersData[r]=((t={})[k]=M,t.centerOffset=M-L,t)}},<span class=\"code-attr\">effect</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n=e.options.element,r=<span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===n?<span class=\"code-string\">\"[data-popper-arrow]\"</span>:n;<span class=\"code-literal\">null</span>!=r&amp;&amp;(<span class=\"code-string\">\"string\"</span>!=<span class=\"code-keyword\">typeof</span> r||(r=t.elements.popper.querySelector(r)))&amp;&amp;q(t.elements.popper,r)&amp;&amp;(t.elements.arrow=r)},<span class=\"code-attr\">requires</span>:[<span class=\"code-string\">\"popperOffsets\"</span>],<span class=\"code-attr\">requiresIfExists</span>:[<span class=\"code-string\">\"preventOverflow\"</span>]};<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">he</span>(<span class=\"code-params\">e,t,n</span>)</span>{<span class=\"code-keyword\">return</span> <span class=\"code-keyword\">void</span> <span class=\"code-number\">0</span>===n&amp;&amp;(n={<span class=\"code-attr\">x</span>:<span class=\"code-number\">0</span>,<span class=\"code-attr\">y</span>:<span class=\"code-number\">0</span>}),{<span class=\"code-attr\">top</span>:e.top-t.height-n.y,<span class=\"code-attr\">right</span>:e.right-t.width+n.x,<span class=\"code-attr\">bottom</span>:e.bottom-t.height+n.y,<span class=\"code-attr\">left</span>:e.left-t.width-n.x}}<span class=\"code-function\"><span class=\"code-keyword\">function</span> <span class=\"code-title\">me</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">return</span>[j,D,E,A].some((<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">t</span>)</span>{<span class=\"code-keyword\">return</span> e[t]&gt;=<span class=\"code-number\">0</span>}))}<span class=\"code-keyword\">var</span> ve={<span class=\"code-attr\">name</span>:<span class=\"code-string\">\"hide\"</span>,<span class=\"code-attr\">enabled</span>:!<span class=\"code-number\">0</span>,<span class=\"code-attr\">phase</span>:<span class=\"code-string\">\"main\"</span>,<span class=\"code-attr\">requiresIfExists</span>:[<span class=\"code-string\">\"preventOverflow\"</span>],<span class=\"code-attr\">fn</span>:<span class=\"code-function\"><span class=\"code-keyword\">function</span>(<span class=\"code-params\">e</span>)</span>{<span class=\"code-keyword\">var</span> t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Y(t,{<span class=\"code-attr\">elementContext</span>:<span class=\"code-string\">\"reference\"</span>}),s=Y(t,{<span class=\"code-attr\">altBoundary</span>:!<span class=\"code-number\">0</span>}),f=he(a,r),c=he(s,o,i),p=me(f),u=me(c);t.modifiersData[n]={<span class=\"code-attr\">referenceClippingOffsets</span>:f,<span class=\"code-attr\">popperEscapeOffsets</span>:c,<span class=\"code-attr\">isReferenceHidden</span>:p,<span class=\"code-attr\">hasPopperEscaped</span>:u},t.attributes.popper=<span class=\"code-built_in\">Object</span>.assign({},t.attributes.popper,{<span class=\"code-string\">\"data-popper-reference-hidden\"</span>:p,<span class=\"code-string\">\"data-popper-escaped\"</span>:u})}},ge=K({<span class=\"code-attr\">defaultModifiers</span>:[Z,$,ne,re]}),ye=[Z,$,ne,re,oe,pe,le,de,ve],be=K({<span class=\"code-attr\">defaultModifiers</span>:ye});e.applyStyles=re,e.arrow=de,e.computeStyles=ne,e.createPopper=be,e.createPopperLite=ge,e.defaultModifiers=ye,e.detectOverflow=Y,e.eventListeners=Z,e.flip=pe,e.hide=ve,e.offset=oe,e.popperGenerator=K,e.popperOffsets=$,e.preventOverflow=le,<span class=\"code-built_in\">Object</span>.defineProperty(e,<span class=\"code-string\">\"__esModule\"</span>,{<span class=\"code-attr\">value</span>:!<span class=\"code-number\">0</span>})}));\n","<span class=\"code-comment\">//# sourceMappingURL=popper.min.js.map</span>\n",""]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper.min.js</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>19.8 kB</span><span>JavaScript</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper.min.js" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code><span class="code-comment">/**
+</span></code></td></tr><tr><td id="L2" class="css-a4x74f"><span>2</span></td><td id="LC2" class="css-1dcdqdg"><code><span class="code-comment"> * @popperjs/core v2.11.5 - MIT License
+</span></code></td></tr><tr><td id="L3" class="css-a4x74f"><span>3</span></td><td id="LC3" class="css-1dcdqdg"><code><span class="code-comment"> */</span>
+</code></td></tr><tr><td id="L4" class="css-a4x74f"><span>4</span></td><td id="LC4" class="css-1dcdqdg"><code>
+</code></td></tr><tr><td id="L5" class="css-a4x74f"><span>5</span></td><td id="LC5" class="css-1dcdqdg"><code>!<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-string">"object"</span>==<span class="code-keyword">typeof</span> exports&amp;&amp;<span class="code-string">"undefined"</span>!=<span class="code-keyword">typeof</span> <span class="code-built_in">module</span>?t(exports):<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> define&amp;&amp;define.amd?define([<span class="code-string">"exports"</span>],t):t((e=<span class="code-string">"undefined"</span>!=<span class="code-keyword">typeof</span> globalThis?globalThis:e||self).Popper={})}(<span class="code-keyword">this</span>,(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-string">"use strict"</span>;<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">t</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">if</span>(<span class="code-literal">null</span>==e)<span class="code-keyword">return</span> <span class="code-built_in">window</span>;<span class="code-keyword">if</span>(<span class="code-string">"[object Window]"</span>!==e.toString()){<span class="code-keyword">var</span> t=e.ownerDocument;<span class="code-keyword">return</span> t&amp;&amp;t.defaultView||<span class="code-built_in">window</span>}<span class="code-keyword">return</span> e}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">n</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e <span class="code-keyword">instanceof</span> t(e).Element||e <span class="code-keyword">instanceof</span> Element}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">r</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e <span class="code-keyword">instanceof</span> t(e).HTMLElement||e <span class="code-keyword">instanceof</span> HTMLElement}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">o</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span><span class="code-string">"undefined"</span>!=<span class="code-keyword">typeof</span> ShadowRoot&amp;&amp;(e <span class="code-keyword">instanceof</span> t(e).ShadowRoot||e <span class="code-keyword">instanceof</span> ShadowRoot)}<span class="code-keyword">var</span> i=<span class="code-built_in">Math</span>.max,a=<span class="code-built_in">Math</span>.min,s=<span class="code-built_in">Math</span>.round;<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">f</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===t&amp;&amp;(t=!<span class="code-number">1</span>);<span class="code-keyword">var</span> n=e.getBoundingClientRect(),o=<span class="code-number">1</span>,i=<span class="code-number">1</span>;<span class="code-keyword">if</span>(r(e)&amp;&amp;t){<span class="code-keyword">var</span> a=e.offsetHeight,f=e.offsetWidth;f&gt;<span class="code-number">0</span>&amp;&amp;(o=s(n.width)/f||<span class="code-number">1</span>),a&gt;<span class="code-number">0</span>&amp;&amp;(i=s(n.height)/a||<span class="code-number">1</span>)}<span class="code-keyword">return</span>{<span class="code-attr">width</span>:n.width/o,<span class="code-attr">height</span>:n.height/i,<span class="code-attr">top</span>:n.top/i,<span class="code-attr">right</span>:n.right/o,<span class="code-attr">bottom</span>:n.bottom/i,<span class="code-attr">left</span>:n.left/o,<span class="code-attr">x</span>:n.left/o,<span class="code-attr">y</span>:n.top/i}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">c</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n=t(e);<span class="code-keyword">return</span>{<span class="code-attr">scrollLeft</span>:n.pageXOffset,<span class="code-attr">scrollTop</span>:n.pageYOffset}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">p</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e?(e.nodeName||<span class="code-string">""</span>).toLowerCase():<span class="code-literal">null</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">u</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>((n(e)?e.ownerDocument:e.document)||<span class="code-built_in">window</span>.document).documentElement}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">l</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> f(u(e)).left+c(e).scrollLeft}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">d</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> t(e).getComputedStyle(e)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">h</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=d(e),n=t.overflow,r=t.overflowX,o=t.overflowY;<span class="code-keyword">return</span><span class="code-regexp">/auto|scroll|overlay|hidden/</span>.test(n+o+r)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">m</span>(<span class="code-params">e,n,o</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===o&amp;&amp;(o=!<span class="code-number">1</span>);<span class="code-keyword">var</span> i,a,d=r(n),m=r(n)&amp;&amp;<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||<span class="code-number">1</span>,r=s(t.height)/e.offsetHeight||<span class="code-number">1</span>;<span class="code-keyword">return</span> <span class="code-number">1</span>!==n||<span class="code-number">1</span>!==r}(n),v=u(n),g=f(e,m),y={<span class="code-attr">scrollLeft</span>:<span class="code-number">0</span>,<span class="code-attr">scrollTop</span>:<span class="code-number">0</span>},b={<span class="code-attr">x</span>:<span class="code-number">0</span>,<span class="code-attr">y</span>:<span class="code-number">0</span>};<span class="code-keyword">return</span>(d||!d&amp;&amp;!o)&amp;&amp;((<span class="code-string">"body"</span>!==p(n)||h(v))&amp;&amp;(y=(i=n)!==t(i)&amp;&amp;r(i)?{<span class="code-attr">scrollLeft</span>:(a=i).scrollLeft,<span class="code-attr">scrollTop</span>:a.scrollTop}:c(i)),r(n)?((b=f(n,!<span class="code-number">0</span>)).x+=n.clientLeft,b.y+=n.clientTop):v&amp;&amp;(b.x=l(v))),{<span class="code-attr">x</span>:g.left+y.scrollLeft-b.x,<span class="code-attr">y</span>:g.top+y.scrollTop-b.y,<span class="code-attr">width</span>:g.width,<span class="code-attr">height</span>:g.height}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">v</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=f(e),n=e.offsetWidth,r=e.offsetHeight;<span class="code-keyword">return</span> <span class="code-built_in">Math</span>.abs(t.width-n)&lt;=<span class="code-number">1</span>&amp;&amp;(n=t.width),<span class="code-built_in">Math</span>.abs(t.height-r)&lt;=<span class="code-number">1</span>&amp;&amp;(r=t.height),{<span class="code-attr">x</span>:e.offsetLeft,<span class="code-attr">y</span>:e.offsetTop,<span class="code-attr">width</span>:n,<span class="code-attr">height</span>:r}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">g</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span><span class="code-string">"html"</span>===p(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:<span class="code-literal">null</span>)||u(e)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">y</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>[<span class="code-string">"html"</span>,<span class="code-string">"body"</span>,<span class="code-string">"#document"</span>].indexOf(p(e))&gt;=<span class="code-number">0</span>?e.ownerDocument.body:r(e)&amp;&amp;h(e)?e:y(g(e))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">b</span>(<span class="code-params">e,n</span>)</span>{<span class="code-keyword">var</span> r;<span class="code-keyword">void</span> <span class="code-number">0</span>===n&amp;&amp;(n=[]);<span class="code-keyword">var</span> o=y(e),i=o===(<span class="code-literal">null</span>==(r=e.ownerDocument)?<span class="code-keyword">void</span> <span class="code-number">0</span>:r.body),a=t(o),s=i?[a].concat(a.visualViewport||[],h(o)?o:[]):o,f=n.concat(s);<span class="code-keyword">return</span> i?f:f.concat(b(g(s)))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">x</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>[<span class="code-string">"table"</span>,<span class="code-string">"td"</span>,<span class="code-string">"th"</span>].indexOf(p(e))&gt;=<span class="code-number">0</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">w</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> r(e)&amp;&amp;<span class="code-string">"fixed"</span>!==d(e).position?e.offsetParent:<span class="code-literal">null</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">O</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">for</span>(<span class="code-keyword">var</span> n=t(e),i=w(e);i&amp;&amp;x(i)&amp;&amp;<span class="code-string">"static"</span>===d(i).position;)i=w(i);<span class="code-keyword">return</span> i&amp;&amp;(<span class="code-string">"html"</span>===p(i)||<span class="code-string">"body"</span>===p(i)&amp;&amp;<span class="code-string">"static"</span>===d(i).position)?n:i||<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=<span class="code-number">-1</span>!==navigator.userAgent.toLowerCase().indexOf(<span class="code-string">"firefox"</span>);<span class="code-keyword">if</span>(<span class="code-number">-1</span>!==navigator.userAgent.indexOf(<span class="code-string">"Trident"</span>)&amp;&amp;r(e)&amp;&amp;<span class="code-string">"fixed"</span>===d(e).position)<span class="code-keyword">return</span> <span class="code-literal">null</span>;<span class="code-keyword">var</span> n=g(e);<span class="code-keyword">for</span>(o(n)&amp;&amp;(n=n.host);r(n)&amp;&amp;[<span class="code-string">"html"</span>,<span class="code-string">"body"</span>].indexOf(p(n))&lt;<span class="code-number">0</span>;){<span class="code-keyword">var</span> i=d(n);<span class="code-keyword">if</span>(<span class="code-string">"none"</span>!==i.transform||<span class="code-string">"none"</span>!==i.perspective||<span class="code-string">"paint"</span>===i.contain||<span class="code-number">-1</span>!==[<span class="code-string">"transform"</span>,<span class="code-string">"perspective"</span>].indexOf(i.willChange)||t&amp;&amp;<span class="code-string">"filter"</span>===i.willChange||t&amp;&amp;i.filter&amp;&amp;<span class="code-string">"none"</span>!==i.filter)<span class="code-keyword">return</span> n;n=n.parentNode}<span class="code-keyword">return</span> <span class="code-literal">null</span>}(e)||n}<span class="code-keyword">var</span> j=<span class="code-string">"top"</span>,E=<span class="code-string">"bottom"</span>,D=<span class="code-string">"right"</span>,A=<span class="code-string">"left"</span>,L=<span class="code-string">"auto"</span>,P=[j,E,D,A],M=<span class="code-string">"start"</span>,k=<span class="code-string">"end"</span>,W=<span class="code-string">"viewport"</span>,B=<span class="code-string">"popper"</span>,H=P.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">return</span> e.concat([t+<span class="code-string">"-"</span>+M,t+<span class="code-string">"-"</span>+k])}),[]),T=[].concat(P,[L]).reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">return</span> e.concat([t,t+<span class="code-string">"-"</span>+M,t+<span class="code-string">"-"</span>+k])}),[]),R=[<span class="code-string">"beforeRead"</span>,<span class="code-string">"read"</span>,<span class="code-string">"afterRead"</span>,<span class="code-string">"beforeMain"</span>,<span class="code-string">"main"</span>,<span class="code-string">"afterMain"</span>,<span class="code-string">"beforeWrite"</span>,<span class="code-string">"write"</span>,<span class="code-string">"afterWrite"</span>];<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">S</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=<span class="code-keyword">new</span> <span class="code-built_in">Map</span>,n=<span class="code-keyword">new</span> <span class="code-built_in">Set</span>,r=[];<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">o</span>(<span class="code-params">e</span>)</span>{n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">if</span>(!n.has(e)){<span class="code-keyword">var</span> r=t.get(e);r&amp;&amp;o(r)}})),r.push(e)}<span class="code-keyword">return</span> e.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{t.set(e.name,e)})),e.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{n.has(e.name)||o(e)})),r}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">C</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.split(<span class="code-string">"-"</span>)[<span class="code-number">0</span>]}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">q</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">var</span> n=t.getRootNode&amp;&amp;t.getRootNode();<span class="code-keyword">if</span>(e.contains(t))<span class="code-keyword">return</span>!<span class="code-number">0</span>;<span class="code-keyword">if</span>(n&amp;&amp;o(n)){<span class="code-keyword">var</span> r=t;<span class="code-keyword">do</span>{<span class="code-keyword">if</span>(r&amp;&amp;e.isSameNode(r))<span class="code-keyword">return</span>!<span class="code-number">0</span>;r=r.parentNode||r.host}<span class="code-keyword">while</span>(r)}<span class="code-keyword">return</span>!<span class="code-number">1</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">V</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({},e,{<span class="code-attr">left</span>:e.x,<span class="code-attr">top</span>:e.y,<span class="code-attr">right</span>:e.x+e.width,<span class="code-attr">bottom</span>:e.y+e.height})}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">N</span>(<span class="code-params">e,r</span>)</span>{<span class="code-keyword">return</span> r===W?V(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n=t(e),r=u(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=<span class="code-number">0</span>,f=<span class="code-number">0</span>;<span class="code-keyword">return</span> o&amp;&amp;(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,f=o.offsetTop)),{<span class="code-attr">width</span>:i,<span class="code-attr">height</span>:a,<span class="code-attr">x</span>:s+l(e),<span class="code-attr">y</span>:f}}(e)):n(r)?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=f(e);<span class="code-keyword">return</span> t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(r):V(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t,n=u(e),r=c(e),o=<span class="code-literal">null</span>==(t=e.ownerDocument)?<span class="code-keyword">void</span> <span class="code-number">0</span>:t.body,a=i(n.scrollWidth,n.clientWidth,o?o.scrollWidth:<span class="code-number">0</span>,o?o.clientWidth:<span class="code-number">0</span>),s=i(n.scrollHeight,n.clientHeight,o?o.scrollHeight:<span class="code-number">0</span>,o?o.clientHeight:<span class="code-number">0</span>),f=-r.scrollLeft+l(e),p=-r.scrollTop;<span class="code-keyword">return</span><span class="code-string">"rtl"</span>===d(o||n).direction&amp;&amp;(f+=i(n.clientWidth,o?o.clientWidth:<span class="code-number">0</span>)-a),{<span class="code-attr">width</span>:a,<span class="code-attr">height</span>:s,<span class="code-attr">x</span>:f,<span class="code-attr">y</span>:p}}(u(e)))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">I</span>(<span class="code-params">e,t,o</span>)</span>{<span class="code-keyword">var</span> s=<span class="code-string">"clippingParents"</span>===t?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=b(g(e)),o=[<span class="code-string">"absolute"</span>,<span class="code-string">"fixed"</span>].indexOf(d(e).position)&gt;=<span class="code-number">0</span>&amp;&amp;r(e)?O(e):e;<span class="code-keyword">return</span> n(o)?t.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> n(e)&amp;&amp;q(e,o)&amp;&amp;<span class="code-string">"body"</span>!==p(e)})):[]}(e):[].concat(t),f=[].concat(s,[o]),c=f[<span class="code-number">0</span>],u=f.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,n</span>)</span>{<span class="code-keyword">var</span> r=N(e,n);<span class="code-keyword">return</span> t.top=i(r.top,t.top),t.right=a(r.right,t.right),t.bottom=a(r.bottom,t.bottom),t.left=i(r.left,t.left),t}),N(e,c));<span class="code-keyword">return</span> u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">_</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.split(<span class="code-string">"-"</span>)[<span class="code-number">1</span>]}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">F</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>[<span class="code-string">"top"</span>,<span class="code-string">"bottom"</span>].indexOf(e)&gt;=<span class="code-number">0</span>?<span class="code-string">"x"</span>:<span class="code-string">"y"</span>}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">U</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t,n=e.reference,r=e.element,o=e.placement,i=o?C(o):<span class="code-literal">null</span>,a=o?_(o):<span class="code-literal">null</span>,s=n.x+n.width/<span class="code-number">2</span>-r.width/<span class="code-number">2</span>,f=n.y+n.height/<span class="code-number">2</span>-r.height/<span class="code-number">2</span>;<span class="code-keyword">switch</span>(i){<span class="code-keyword">case</span> j:t={<span class="code-attr">x</span>:s,<span class="code-attr">y</span>:n.y-r.height};<span class="code-keyword">break</span>;<span class="code-keyword">case</span> E:t={<span class="code-attr">x</span>:s,<span class="code-attr">y</span>:n.y+n.height};<span class="code-keyword">break</span>;<span class="code-keyword">case</span> D:t={<span class="code-attr">x</span>:n.x+n.width,<span class="code-attr">y</span>:f};<span class="code-keyword">break</span>;<span class="code-keyword">case</span> A:t={<span class="code-attr">x</span>:n.x-r.width,<span class="code-attr">y</span>:f};<span class="code-keyword">break</span>;<span class="code-keyword">default</span>:t={<span class="code-attr">x</span>:n.x,<span class="code-attr">y</span>:n.y}}<span class="code-keyword">var</span> c=i?F(i):<span class="code-literal">null</span>;<span class="code-keyword">if</span>(<span class="code-literal">null</span>!=c){<span class="code-keyword">var</span> p=<span class="code-string">"y"</span>===c?<span class="code-string">"height"</span>:<span class="code-string">"width"</span>;<span class="code-keyword">switch</span>(a){<span class="code-keyword">case</span> M:t[c]=t[c]-(n[p]/<span class="code-number">2</span>-r[p]/<span class="code-number">2</span>);<span class="code-keyword">break</span>;<span class="code-keyword">case</span> k:t[c]=t[c]+(n[p]/<span class="code-number">2</span>-r[p]/<span class="code-number">2</span>)}}<span class="code-keyword">return</span> t}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">z</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign({},{<span class="code-attr">top</span>:<span class="code-number">0</span>,<span class="code-attr">right</span>:<span class="code-number">0</span>,<span class="code-attr">bottom</span>:<span class="code-number">0</span>,<span class="code-attr">left</span>:<span class="code-number">0</span>},e)}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">X</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">return</span> t.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,n</span>)</span>{<span class="code-keyword">return</span> t[n]=e,t}),{})}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">Y</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===t&amp;&amp;(t={});<span class="code-keyword">var</span> r=t,o=r.placement,i=<span class="code-keyword">void</span> <span class="code-number">0</span>===o?e.placement:o,a=r.boundary,s=<span class="code-keyword">void</span> <span class="code-number">0</span>===a?<span class="code-string">"clippingParents"</span>:a,c=r.rootBoundary,p=<span class="code-keyword">void</span> <span class="code-number">0</span>===c?W:c,l=r.elementContext,d=<span class="code-keyword">void</span> <span class="code-number">0</span>===l?B:l,h=r.altBoundary,m=<span class="code-keyword">void</span> <span class="code-number">0</span>!==h&amp;&amp;h,v=r.padding,g=<span class="code-keyword">void</span> <span class="code-number">0</span>===v?<span class="code-number">0</span>:v,y=z(<span class="code-string">"number"</span>!=<span class="code-keyword">typeof</span> g?g:X(g,P)),b=d===B?<span class="code-string">"reference"</span>:B,x=e.rects.popper,w=e.elements[m?b:d],O=I(n(w)?w:w.contextElement||u(e.elements.popper),s,p),A=f(e.elements.reference),L=U({<span class="code-attr">reference</span>:A,<span class="code-attr">element</span>:x,<span class="code-attr">strategy</span>:<span class="code-string">"absolute"</span>,<span class="code-attr">placement</span>:i}),M=V(<span class="code-built_in">Object</span>.assign({},x,L)),k=d===B?M:A,H={<span class="code-attr">top</span>:O.top-k.top+y.top,<span class="code-attr">bottom</span>:k.bottom-O.bottom+y.bottom,<span class="code-attr">left</span>:O.left-k.left+y.left,<span class="code-attr">right</span>:k.right-O.right+y.right},T=e.modifiersData.offset;<span class="code-keyword">if</span>(d===B&amp;&amp;T){<span class="code-keyword">var</span> R=T[i];<span class="code-built_in">Object</span>.keys(H).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=[D,E].indexOf(e)&gt;=<span class="code-number">0</span>?<span class="code-number">1</span>:<span class="code-number">-1</span>,n=[j,E].indexOf(e)&gt;=<span class="code-number">0</span>?<span class="code-string">"y"</span>:<span class="code-string">"x"</span>;H[e]+=R[n]*t}))}<span class="code-keyword">return</span> H}<span class="code-keyword">var</span> G={<span class="code-attr">placement</span>:<span class="code-string">"bottom"</span>,<span class="code-attr">modifiers</span>:[],<span class="code-attr">strategy</span>:<span class="code-string">"absolute"</span>};<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">J</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">for</span>(<span class="code-keyword">var</span> e=<span class="code-built_in">arguments</span>.length,t=<span class="code-keyword">new</span> <span class="code-built_in">Array</span>(e),n=<span class="code-number">0</span>;n&lt;e;n++)t[n]=<span class="code-built_in">arguments</span>[n];<span class="code-keyword">return</span>!t.some((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>!(e&amp;&amp;<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> e.getBoundingClientRect)}))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">K</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===e&amp;&amp;(e={});<span class="code-keyword">var</span> t=e,r=t.defaultModifiers,o=<span class="code-keyword">void</span> <span class="code-number">0</span>===r?[]:r,i=t.defaultOptions,a=<span class="code-keyword">void</span> <span class="code-number">0</span>===i?G:i;<span class="code-keyword">return</span> <span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t,r</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===r&amp;&amp;(r=a);<span class="code-keyword">var</span> i,s,f={<span class="code-attr">placement</span>:<span class="code-string">"bottom"</span>,<span class="code-attr">orderedModifiers</span>:[],<span class="code-attr">options</span>:<span class="code-built_in">Object</span>.assign({},G,a),<span class="code-attr">modifiersData</span>:{},<span class="code-attr">elements</span>:{<span class="code-attr">reference</span>:e,<span class="code-attr">popper</span>:t},<span class="code-attr">attributes</span>:{},<span class="code-attr">styles</span>:{}},c=[],p=!<span class="code-number">1</span>,u={<span class="code-attr">state</span>:f,<span class="code-attr">setOptions</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">r</span>)</span>{<span class="code-keyword">var</span> i=<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> r?r(f.options):r;l(),f.options=<span class="code-built_in">Object</span>.assign({},a,f.options,i),f.scrollParents={<span class="code-attr">reference</span>:n(e)?b(e):e.contextElement?b(e.contextElement):[],<span class="code-attr">popper</span>:b(t)};<span class="code-keyword">var</span> s,p,d=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=S(e);<span class="code-keyword">return</span> R.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,n</span>)</span>{<span class="code-keyword">return</span> e.concat(t.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.phase===n})))}),[])}((s=[].concat(o,f.options.modifiers),p=s.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">var</span> n=e[t.name];<span class="code-keyword">return</span> e[t.name]=n?<span class="code-built_in">Object</span>.assign({},n,t,{<span class="code-attr">options</span>:<span class="code-built_in">Object</span>.assign({},n.options,t.options),<span class="code-attr">data</span>:<span class="code-built_in">Object</span>.assign({},n.data,t.data)}):t,e}),{}),<span class="code-built_in">Object</span>.keys(p).map((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> p[e]}))));<span class="code-keyword">return</span> f.orderedModifiers=d.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.enabled})),f.orderedModifiers.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.name,n=e.options,r=<span class="code-keyword">void</span> <span class="code-number">0</span>===n?{}:n,o=e.effect;<span class="code-keyword">if</span>(<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> o){<span class="code-keyword">var</span> i=o({<span class="code-attr">state</span>:f,<span class="code-attr">name</span>:t,<span class="code-attr">instance</span>:u,<span class="code-attr">options</span>:r}),a=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{};c.push(i||a)}})),u.update()},<span class="code-attr">forceUpdate</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">if</span>(!p){<span class="code-keyword">var</span> e=f.elements,t=e.reference,n=e.popper;<span class="code-keyword">if</span>(J(t,n)){f.rects={<span class="code-attr">reference</span>:m(t,O(n),<span class="code-string">"fixed"</span>===f.options.strategy),<span class="code-attr">popper</span>:v(n)},f.reset=!<span class="code-number">1</span>,f.placement=f.options.placement,f.orderedModifiers.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> f.modifiersData[e.name]=<span class="code-built_in">Object</span>.assign({},e.data)}));<span class="code-keyword">for</span>(<span class="code-keyword">var</span> r=<span class="code-number">0</span>;r&lt;f.orderedModifiers.length;r++)<span class="code-keyword">if</span>(!<span class="code-number">0</span>!==f.reset){<span class="code-keyword">var</span> o=f.orderedModifiers[r],i=o.fn,a=o.options,s=<span class="code-keyword">void</span> <span class="code-number">0</span>===a?{}:a,c=o.name;<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> i&amp;&amp;(f=i({<span class="code-attr">state</span>:f,<span class="code-attr">options</span>:s,<span class="code-attr">name</span>:c,<span class="code-attr">instance</span>:u})||f)}<span class="code-keyword">else</span> f.reset=!<span class="code-number">1</span>,r=<span class="code-number">-1</span>}}},<span class="code-attr">update</span>:(i=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">return</span> <span class="code-keyword">new</span> <span class="code-built_in">Promise</span>((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{u.forceUpdate(),e(f)}))},<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-keyword">return</span> s||(s=<span class="code-keyword">new</span> <span class="code-built_in">Promise</span>((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-built_in">Promise</span>.resolve().then((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{s=<span class="code-keyword">void</span> <span class="code-number">0</span>,e(i())}))}))),s}),<span class="code-attr">destroy</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{l(),p=!<span class="code-number">0</span>}};<span class="code-keyword">if</span>(!J(e,t))<span class="code-keyword">return</span> u;<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">l</span>(<span class="code-params"></span>)</span>{c.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e()})),c=[]}<span class="code-keyword">return</span> u.setOptions(r).then((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{!p&amp;&amp;r.onFirstUpdate&amp;&amp;r.onFirstUpdate(e)})),u}}<span class="code-keyword">var</span> Q={<span class="code-attr">passive</span>:!<span class="code-number">0</span>};<span class="code-keyword">var</span> Z={<span class="code-attr">name</span>:<span class="code-string">"eventListeners"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"write"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{},<span class="code-attr">effect</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n=e.state,r=e.instance,o=e.options,i=o.scroll,a=<span class="code-keyword">void</span> <span class="code-number">0</span>===i||i,s=o.resize,f=<span class="code-keyword">void</span> <span class="code-number">0</span>===s||s,c=t(n.elements.popper),p=[].concat(n.scrollParents.reference,n.scrollParents.popper);<span class="code-keyword">return</span> a&amp;&amp;p.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{e.addEventListener(<span class="code-string">"scroll"</span>,r.update,Q)})),f&amp;&amp;c.addEventListener(<span class="code-string">"resize"</span>,r.update,Q),<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{a&amp;&amp;p.forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{e.removeEventListener(<span class="code-string">"scroll"</span>,r.update,Q)})),f&amp;&amp;c.removeEventListener(<span class="code-string">"resize"</span>,r.update,Q)}},<span class="code-attr">data</span>:{}};<span class="code-keyword">var</span> $={<span class="code-attr">name</span>:<span class="code-string">"popperOffsets"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"read"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n=e.name;t.modifiersData[n]=U({<span class="code-attr">reference</span>:t.rects.reference,<span class="code-attr">element</span>:t.rects.popper,<span class="code-attr">strategy</span>:<span class="code-string">"absolute"</span>,<span class="code-attr">placement</span>:t.placement})},<span class="code-attr">data</span>:{}},ee={<span class="code-attr">top</span>:<span class="code-string">"auto"</span>,<span class="code-attr">right</span>:<span class="code-string">"auto"</span>,<span class="code-attr">bottom</span>:<span class="code-string">"auto"</span>,<span class="code-attr">left</span>:<span class="code-string">"auto"</span>};<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">te</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n,r=e.popper,o=e.popperRect,i=e.placement,a=e.variation,f=e.offsets,c=e.position,p=e.gpuAcceleration,l=e.adaptive,h=e.roundOffsets,m=e.isFixed,v=f.x,g=<span class="code-keyword">void</span> <span class="code-number">0</span>===v?<span class="code-number">0</span>:v,y=f.y,b=<span class="code-keyword">void</span> <span class="code-number">0</span>===y?<span class="code-number">0</span>:y,x=<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> h?h({<span class="code-attr">x</span>:g,<span class="code-attr">y</span>:b}):{<span class="code-attr">x</span>:g,<span class="code-attr">y</span>:b};g=x.x,b=x.y;<span class="code-keyword">var</span> w=f.hasOwnProperty(<span class="code-string">"x"</span>),L=f.hasOwnProperty(<span class="code-string">"y"</span>),P=A,M=j,W=<span class="code-built_in">window</span>;<span class="code-keyword">if</span>(l){<span class="code-keyword">var</span> B=O(r),H=<span class="code-string">"clientHeight"</span>,T=<span class="code-string">"clientWidth"</span>;<span class="code-keyword">if</span>(B===t(r)&amp;&amp;<span class="code-string">"static"</span>!==d(B=u(r)).position&amp;&amp;<span class="code-string">"absolute"</span>===c&amp;&amp;(H=<span class="code-string">"scrollHeight"</span>,T=<span class="code-string">"scrollWidth"</span>),B=B,i===j||(i===A||i===D)&amp;&amp;a===k)M=E,b-=(m&amp;&amp;B===W&amp;&amp;W.visualViewport?W.visualViewport.height:B[H])-o.height,b*=p?<span class="code-number">1</span>:<span class="code-number">-1</span>;<span class="code-keyword">if</span>(i===A||(i===j||i===E)&amp;&amp;a===k)P=D,g-=(m&amp;&amp;B===W&amp;&amp;W.visualViewport?W.visualViewport.width:B[T])-o.width,g*=p?<span class="code-number">1</span>:<span class="code-number">-1</span>}<span class="code-keyword">var</span> R,S=<span class="code-built_in">Object</span>.assign({<span class="code-attr">position</span>:c},l&amp;&amp;ee),C=!<span class="code-number">0</span>===h?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.x,n=e.y,r=<span class="code-built_in">window</span>.devicePixelRatio||<span class="code-number">1</span>;<span class="code-keyword">return</span>{<span class="code-attr">x</span>:s(t*r)/r||<span class="code-number">0</span>,<span class="code-attr">y</span>:s(n*r)/r||<span class="code-number">0</span>}}({<span class="code-attr">x</span>:g,<span class="code-attr">y</span>:b}):{<span class="code-attr">x</span>:g,<span class="code-attr">y</span>:b};<span class="code-keyword">return</span> g=C.x,b=C.y,p?<span class="code-built_in">Object</span>.assign({},S,((R={})[M]=L?<span class="code-string">"0"</span>:<span class="code-string">""</span>,R[P]=w?<span class="code-string">"0"</span>:<span class="code-string">""</span>,R.transform=(W.devicePixelRatio||<span class="code-number">1</span>)&lt;=<span class="code-number">1</span>?<span class="code-string">"translate("</span>+g+<span class="code-string">"px, "</span>+b+<span class="code-string">"px)"</span>:<span class="code-string">"translate3d("</span>+g+<span class="code-string">"px, "</span>+b+<span class="code-string">"px, 0)"</span>,R)):<span class="code-built_in">Object</span>.assign({},S,((n={})[M]=L?b+<span class="code-string">"px"</span>:<span class="code-string">""</span>,n[P]=w?g+<span class="code-string">"px"</span>:<span class="code-string">""</span>,n.transform=<span class="code-string">""</span>,n))}<span class="code-keyword">var</span> ne={<span class="code-attr">name</span>:<span class="code-string">"computeStyles"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"beforeWrite"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n=e.options,r=n.gpuAcceleration,o=<span class="code-keyword">void</span> <span class="code-number">0</span>===r||r,i=n.adaptive,a=<span class="code-keyword">void</span> <span class="code-number">0</span>===i||i,s=n.roundOffsets,f=<span class="code-keyword">void</span> <span class="code-number">0</span>===s||s,c={<span class="code-attr">placement</span>:C(t.placement),<span class="code-attr">variation</span>:_(t.placement),<span class="code-attr">popper</span>:t.elements.popper,<span class="code-attr">popperRect</span>:t.rects.popper,<span class="code-attr">gpuAcceleration</span>:o,<span class="code-attr">isFixed</span>:<span class="code-string">"fixed"</span>===t.options.strategy};<span class="code-literal">null</span>!=t.modifiersData.popperOffsets&amp;&amp;(t.styles.popper=<span class="code-built_in">Object</span>.assign({},t.styles.popper,te(<span class="code-built_in">Object</span>.assign({},c,{<span class="code-attr">offsets</span>:t.modifiersData.popperOffsets,<span class="code-attr">position</span>:t.options.strategy,<span class="code-attr">adaptive</span>:a,<span class="code-attr">roundOffsets</span>:f})))),<span class="code-literal">null</span>!=t.modifiersData.arrow&amp;&amp;(t.styles.arrow=<span class="code-built_in">Object</span>.assign({},t.styles.arrow,te(<span class="code-built_in">Object</span>.assign({},c,{<span class="code-attr">offsets</span>:t.modifiersData.arrow,<span class="code-attr">position</span>:<span class="code-string">"absolute"</span>,<span class="code-attr">adaptive</span>:!<span class="code-number">1</span>,<span class="code-attr">roundOffsets</span>:f})))),t.attributes.popper=<span class="code-built_in">Object</span>.assign({},t.attributes.popper,{<span class="code-string">"data-popper-placement"</span>:t.placement})},<span class="code-attr">data</span>:{}};<span class="code-keyword">var</span> re={<span class="code-attr">name</span>:<span class="code-string">"applyStyles"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"write"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state;<span class="code-built_in">Object</span>.keys(t.elements).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];r(i)&amp;&amp;p(i)&amp;&amp;(<span class="code-built_in">Object</span>.assign(i.style,n),<span class="code-built_in">Object</span>.keys(o).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=o[e];!<span class="code-number">1</span>===t?i.removeAttribute(e):i.setAttribute(e,!<span class="code-number">0</span>===t?<span class="code-string">""</span>:t)})))}))},<span class="code-attr">effect</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n={<span class="code-attr">popper</span>:{<span class="code-attr">position</span>:t.options.strategy,<span class="code-attr">left</span>:<span class="code-string">"0"</span>,<span class="code-attr">top</span>:<span class="code-string">"0"</span>,<span class="code-attr">margin</span>:<span class="code-string">"0"</span>},<span class="code-attr">arrow</span>:{<span class="code-attr">position</span>:<span class="code-string">"absolute"</span>},<span class="code-attr">reference</span>:{}};<span class="code-keyword">return</span> <span class="code-built_in">Object</span>.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&amp;&amp;<span class="code-built_in">Object</span>.assign(t.elements.arrow.style,n.arrow),<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params"></span>)</span>{<span class="code-built_in">Object</span>.keys(t.elements).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> o=t.elements[e],i=t.attributes[e]||{},a=<span class="code-built_in">Object</span>.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">return</span> e[t]=<span class="code-string">""</span>,e}),{});r(o)&amp;&amp;p(o)&amp;&amp;(<span class="code-built_in">Object</span>.assign(o.style,a),<span class="code-built_in">Object</span>.keys(i).forEach((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{o.removeAttribute(e)})))}))}},<span class="code-attr">requires</span>:[<span class="code-string">"computeStyles"</span>]};<span class="code-keyword">var</span> oe={<span class="code-attr">name</span>:<span class="code-string">"offset"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"main"</span>,<span class="code-attr">requires</span>:[<span class="code-string">"popperOffsets"</span>],<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n=e.options,r=e.name,o=n.offset,i=<span class="code-keyword">void</span> <span class="code-number">0</span>===o?[<span class="code-number">0</span>,<span class="code-number">0</span>]:o,a=T.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,n</span>)</span>{<span class="code-keyword">return</span> e[n]=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t,n</span>)</span>{<span class="code-keyword">var</span> r=C(e),o=[A,j].indexOf(r)&gt;=<span class="code-number">0</span>?<span class="code-number">-1</span>:<span class="code-number">1</span>,i=<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> n?n(<span class="code-built_in">Object</span>.assign({},t,{<span class="code-attr">placement</span>:e})):n,a=i[<span class="code-number">0</span>],s=i[<span class="code-number">1</span>];<span class="code-keyword">return</span> a=a||<span class="code-number">0</span>,s=(s||<span class="code-number">0</span>)*o,[A,D].indexOf(r)&gt;=<span class="code-number">0</span>?{<span class="code-attr">x</span>:s,<span class="code-attr">y</span>:a}:{<span class="code-attr">x</span>:a,<span class="code-attr">y</span>:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;<span class="code-literal">null</span>!=t.modifiersData.popperOffsets&amp;&amp;(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},ie={<span class="code-attr">left</span>:<span class="code-string">"right"</span>,<span class="code-attr">right</span>:<span class="code-string">"left"</span>,<span class="code-attr">bottom</span>:<span class="code-string">"top"</span>,<span class="code-attr">top</span>:<span class="code-string">"bottom"</span>};<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">ae</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.replace(<span class="code-regexp">/left|right|bottom|top/g</span>,(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> ie[e]}))}<span class="code-keyword">var</span> se={<span class="code-attr">start</span>:<span class="code-string">"end"</span>,<span class="code-attr">end</span>:<span class="code-string">"start"</span>};<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">fe</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e.replace(<span class="code-regexp">/start|end/g</span>,(<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> se[e]}))}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">ce</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">void</span> <span class="code-number">0</span>===t&amp;&amp;(t={});<span class="code-keyword">var</span> n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=<span class="code-keyword">void</span> <span class="code-number">0</span>===f?T:f,p=_(r),u=p?s?H:H.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> _(e)===p})):P,l=u.filter((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> c.indexOf(e)&gt;=<span class="code-number">0</span>}));<span class="code-number">0</span>===l.length&amp;&amp;(l=u);<span class="code-keyword">var</span> d=l.reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t,n</span>)</span>{<span class="code-keyword">return</span> t[n]=Y(e,{<span class="code-attr">placement</span>:n,<span class="code-attr">boundary</span>:o,<span class="code-attr">rootBoundary</span>:i,<span class="code-attr">padding</span>:a})[C(n)],t}),{});<span class="code-keyword">return</span> <span class="code-built_in">Object</span>.keys(d).sort((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">return</span> d[e]-d[t]}))}<span class="code-keyword">var</span> pe={<span class="code-attr">name</span>:<span class="code-string">"flip"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"main"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n=e.options,r=e.name;<span class="code-keyword">if</span>(!t.modifiersData[r]._skip){<span class="code-keyword">for</span>(<span class="code-keyword">var</span> o=n.mainAxis,i=<span class="code-keyword">void</span> <span class="code-number">0</span>===o||o,a=n.altAxis,s=<span class="code-keyword">void</span> <span class="code-number">0</span>===a||a,f=n.fallbackPlacements,c=n.padding,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=<span class="code-keyword">void</span> <span class="code-number">0</span>===d||d,m=n.allowedAutoPlacements,v=t.options.placement,g=C(v),y=f||(g===v||!h?[ae(v)]:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">if</span>(C(e)===L)<span class="code-keyword">return</span>[];<span class="code-keyword">var</span> t=ae(e);<span class="code-keyword">return</span>[fe(e),t,fe(t)]}(v)),b=[v].concat(y).reduce((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,n</span>)</span>{<span class="code-keyword">return</span> e.concat(C(n)===L?ce(t,{<span class="code-attr">placement</span>:n,<span class="code-attr">boundary</span>:p,<span class="code-attr">rootBoundary</span>:u,<span class="code-attr">padding</span>:c,<span class="code-attr">flipVariations</span>:h,<span class="code-attr">allowedAutoPlacements</span>:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,O=<span class="code-keyword">new</span> <span class="code-built_in">Map</span>,P=!<span class="code-number">0</span>,k=b[<span class="code-number">0</span>],W=<span class="code-number">0</span>;W&lt;b.length;W++){<span class="code-keyword">var</span> B=b[W],H=C(B),T=_(B)===M,R=[j,E].indexOf(H)&gt;=<span class="code-number">0</span>,S=R?<span class="code-string">"width"</span>:<span class="code-string">"height"</span>,q=Y(t,{<span class="code-attr">placement</span>:B,<span class="code-attr">boundary</span>:p,<span class="code-attr">rootBoundary</span>:u,<span class="code-attr">altBoundary</span>:l,<span class="code-attr">padding</span>:c}),V=R?T?D:A:T?E:j;x[S]&gt;w[S]&amp;&amp;(V=ae(V));<span class="code-keyword">var</span> N=ae(V),I=[];<span class="code-keyword">if</span>(i&amp;&amp;I.push(q[H]&lt;=<span class="code-number">0</span>),s&amp;&amp;I.push(q[V]&lt;=<span class="code-number">0</span>,q[N]&lt;=<span class="code-number">0</span>),I.every((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e}))){k=B,P=!<span class="code-number">1</span>;<span class="code-keyword">break</span>}O.set(B,I)}<span class="code-keyword">if</span>(P)<span class="code-keyword">for</span>(<span class="code-keyword">var</span> F=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=b.find((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">var</span> n=O.get(t);<span class="code-keyword">if</span>(n)<span class="code-keyword">return</span> n.slice(<span class="code-number">0</span>,e).every((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span> e}))}));<span class="code-keyword">if</span>(t)<span class="code-keyword">return</span> k=t,<span class="code-string">"break"</span>},U=h?<span class="code-number">3</span>:<span class="code-number">1</span>;U&gt;<span class="code-number">0</span>;U--){<span class="code-keyword">if</span>(<span class="code-string">"break"</span>===F(U))<span class="code-keyword">break</span>}t.placement!==k&amp;&amp;(t.modifiersData[r]._skip=!<span class="code-number">0</span>,t.placement=k,t.reset=!<span class="code-number">0</span>)}},<span class="code-attr">requiresIfExists</span>:[<span class="code-string">"offset"</span>],<span class="code-attr">data</span>:{<span class="code-attr">_skip</span>:!<span class="code-number">1</span>}};<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">ue</span>(<span class="code-params">e,t,n</span>)</span>{<span class="code-keyword">return</span> i(e,a(t,n))}<span class="code-keyword">var</span> le={<span class="code-attr">name</span>:<span class="code-string">"preventOverflow"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"main"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=<span class="code-keyword">void</span> <span class="code-number">0</span>===o||o,f=n.altAxis,c=<span class="code-keyword">void</span> <span class="code-number">0</span>!==f&amp;&amp;f,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.padding,h=n.tether,m=<span class="code-keyword">void</span> <span class="code-number">0</span>===h||h,g=n.tetherOffset,y=<span class="code-keyword">void</span> <span class="code-number">0</span>===g?<span class="code-number">0</span>:g,b=Y(t,{<span class="code-attr">boundary</span>:p,<span class="code-attr">rootBoundary</span>:u,<span class="code-attr">padding</span>:d,<span class="code-attr">altBoundary</span>:l}),x=C(t.placement),w=_(t.placement),L=!w,P=F(x),k=<span class="code-string">"x"</span>===P?<span class="code-string">"y"</span>:<span class="code-string">"x"</span>,W=t.modifiersData.popperOffsets,B=t.rects.reference,H=t.rects.popper,T=<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> y?y(<span class="code-built_in">Object</span>.assign({},t.rects,{<span class="code-attr">placement</span>:t.placement})):y,R=<span class="code-string">"number"</span>==<span class="code-keyword">typeof</span> T?{<span class="code-attr">mainAxis</span>:T,<span class="code-attr">altAxis</span>:T}:<span class="code-built_in">Object</span>.assign({<span class="code-attr">mainAxis</span>:<span class="code-number">0</span>,<span class="code-attr">altAxis</span>:<span class="code-number">0</span>},T),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:<span class="code-literal">null</span>,q={<span class="code-attr">x</span>:<span class="code-number">0</span>,<span class="code-attr">y</span>:<span class="code-number">0</span>};<span class="code-keyword">if</span>(W){<span class="code-keyword">if</span>(s){<span class="code-keyword">var</span> V,N=<span class="code-string">"y"</span>===P?j:A,I=<span class="code-string">"y"</span>===P?E:D,U=<span class="code-string">"y"</span>===P?<span class="code-string">"height"</span>:<span class="code-string">"width"</span>,z=W[P],X=z+b[N],G=z-b[I],J=m?-H[U]/<span class="code-number">2</span>:<span class="code-number">0</span>,K=w===M?B[U]:H[U],Q=w===M?-H[U]:-B[U],Z=t.elements.arrow,$=m&amp;&amp;Z?v(Z):{<span class="code-attr">width</span>:<span class="code-number">0</span>,<span class="code-attr">height</span>:<span class="code-number">0</span>},ee=t.modifiersData[<span class="code-string">"arrow#persistent"</span>]?t.modifiersData[<span class="code-string">"arrow#persistent"</span>].padding:{<span class="code-attr">top</span>:<span class="code-number">0</span>,<span class="code-attr">right</span>:<span class="code-number">0</span>,<span class="code-attr">bottom</span>:<span class="code-number">0</span>,<span class="code-attr">left</span>:<span class="code-number">0</span>},te=ee[N],ne=ee[I],re=ue(<span class="code-number">0</span>,B[U],$[U]),oe=L?B[U]/<span class="code-number">2</span>-J-re-te-R.mainAxis:K-re-te-R.mainAxis,ie=L?-B[U]/<span class="code-number">2</span>+J+re+ne+R.mainAxis:Q+re+ne+R.mainAxis,ae=t.elements.arrow&amp;&amp;O(t.elements.arrow),se=ae?<span class="code-string">"y"</span>===P?ae.clientTop||<span class="code-number">0</span>:ae.clientLeft||<span class="code-number">0</span>:<span class="code-number">0</span>,fe=<span class="code-literal">null</span>!=(V=<span class="code-literal">null</span>==S?<span class="code-keyword">void</span> <span class="code-number">0</span>:S[P])?V:<span class="code-number">0</span>,ce=z+ie-fe,pe=ue(m?a(X,z+oe-fe-se):X,z,m?i(G,ce):G);W[P]=pe,q[P]=pe-z}<span class="code-keyword">if</span>(c){<span class="code-keyword">var</span> le,de=<span class="code-string">"x"</span>===P?j:A,he=<span class="code-string">"x"</span>===P?E:D,me=W[k],ve=<span class="code-string">"y"</span>===k?<span class="code-string">"height"</span>:<span class="code-string">"width"</span>,ge=me+b[de],ye=me-b[he],be=<span class="code-number">-1</span>!==[j,A].indexOf(x),xe=<span class="code-literal">null</span>!=(le=<span class="code-literal">null</span>==S?<span class="code-keyword">void</span> <span class="code-number">0</span>:S[k])?le:<span class="code-number">0</span>,we=be?ge:me-B[ve]-H[ve]-xe+R.altAxis,Oe=be?me+B[ve]+H[ve]-xe-R.altAxis:ye,je=m&amp;&amp;be?<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t,n</span>)</span>{<span class="code-keyword">var</span> r=ue(e,t,n);<span class="code-keyword">return</span> r&gt;n?n:r}(we,me,Oe):ue(m?we:ge,me,m?Oe:ye);W[k]=je,q[k]=je-me}t.modifiersData[r]=q}},<span class="code-attr">requiresIfExists</span>:[<span class="code-string">"offset"</span>]};<span class="code-keyword">var</span> de={<span class="code-attr">name</span>:<span class="code-string">"arrow"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"main"</span>,<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=C(n.placement),f=F(s),c=[A,D].indexOf(s)&gt;=<span class="code-number">0</span>?<span class="code-string">"height"</span>:<span class="code-string">"width"</span>;<span class="code-keyword">if</span>(i&amp;&amp;a){<span class="code-keyword">var</span> p=<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e,t</span>)</span>{<span class="code-keyword">return</span> z(<span class="code-string">"number"</span>!=<span class="code-keyword">typeof</span>(e=<span class="code-string">"function"</span>==<span class="code-keyword">typeof</span> e?e(<span class="code-built_in">Object</span>.assign({},t.rects,{<span class="code-attr">placement</span>:t.placement})):e)?e:X(e,P))}(o.padding,n),u=v(i),l=<span class="code-string">"y"</span>===f?j:A,d=<span class="code-string">"y"</span>===f?E:D,h=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],m=a[f]-n.rects.reference[f],g=O(i),y=g?<span class="code-string">"y"</span>===f?g.clientHeight||<span class="code-number">0</span>:g.clientWidth||<span class="code-number">0</span>:<span class="code-number">0</span>,b=h/<span class="code-number">2</span>-m/<span class="code-number">2</span>,x=p[l],w=y-u[c]-p[d],L=y/<span class="code-number">2</span>-u[c]/<span class="code-number">2</span>+b,M=ue(x,L,w),k=f;n.modifiersData[r]=((t={})[k]=M,t.centerOffset=M-L,t)}},<span class="code-attr">effect</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n=e.options.element,r=<span class="code-keyword">void</span> <span class="code-number">0</span>===n?<span class="code-string">"[data-popper-arrow]"</span>:n;<span class="code-literal">null</span>!=r&amp;&amp;(<span class="code-string">"string"</span>!=<span class="code-keyword">typeof</span> r||(r=t.elements.popper.querySelector(r)))&amp;&amp;q(t.elements.popper,r)&amp;&amp;(t.elements.arrow=r)},<span class="code-attr">requires</span>:[<span class="code-string">"popperOffsets"</span>],<span class="code-attr">requiresIfExists</span>:[<span class="code-string">"preventOverflow"</span>]};<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">he</span>(<span class="code-params">e,t,n</span>)</span>{<span class="code-keyword">return</span> <span class="code-keyword">void</span> <span class="code-number">0</span>===n&amp;&amp;(n={<span class="code-attr">x</span>:<span class="code-number">0</span>,<span class="code-attr">y</span>:<span class="code-number">0</span>}),{<span class="code-attr">top</span>:e.top-t.height-n.y,<span class="code-attr">right</span>:e.right-t.width+n.x,<span class="code-attr">bottom</span>:e.bottom-t.height+n.y,<span class="code-attr">left</span>:e.left-t.width-n.x}}<span class="code-function"><span class="code-keyword">function</span> <span class="code-title">me</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">return</span>[j,D,E,A].some((<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">t</span>)</span>{<span class="code-keyword">return</span> e[t]&gt;=<span class="code-number">0</span>}))}<span class="code-keyword">var</span> ve={<span class="code-attr">name</span>:<span class="code-string">"hide"</span>,<span class="code-attr">enabled</span>:!<span class="code-number">0</span>,<span class="code-attr">phase</span>:<span class="code-string">"main"</span>,<span class="code-attr">requiresIfExists</span>:[<span class="code-string">"preventOverflow"</span>],<span class="code-attr">fn</span>:<span class="code-function"><span class="code-keyword">function</span>(<span class="code-params">e</span>)</span>{<span class="code-keyword">var</span> t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Y(t,{<span class="code-attr">elementContext</span>:<span class="code-string">"reference"</span>}),s=Y(t,{<span class="code-attr">altBoundary</span>:!<span class="code-number">0</span>}),f=he(a,r),c=he(s,o,i),p=me(f),u=me(c);t.modifiersData[n]={<span class="code-attr">referenceClippingOffsets</span>:f,<span class="code-attr">popperEscapeOffsets</span>:c,<span class="code-attr">isReferenceHidden</span>:p,<span class="code-attr">hasPopperEscaped</span>:u},t.attributes.popper=<span class="code-built_in">Object</span>.assign({},t.attributes.popper,{<span class="code-string">"data-popper-reference-hidden"</span>:p,<span class="code-string">"data-popper-escaped"</span>:u})}},ge=K({<span class="code-attr">defaultModifiers</span>:[Z,$,ne,re]}),ye=[Z,$,ne,re,oe,pe,le,de,ve],be=K({<span class="code-attr">defaultModifiers</span>:ye});e.applyStyles=re,e.arrow=de,e.computeStyles=ne,e.createPopper=be,e.createPopperLite=ge,e.defaultModifiers=ye,e.detectOverflow=Y,e.eventListeners=Z,e.flip=pe,e.hide=ve,e.offset=oe,e.popperGenerator=K,e.popperOffsets=$,e.preventOverflow=le,<span class="code-built_in">Object</span>.defineProperty(e,<span class="code-string">"__esModule"</span>,{<span class="code-attr">value</span>:!<span class="code-number">0</span>})}));
+</code></td></tr><tr><td id="L6" class="css-a4x74f"><span>6</span></td><td id="LC6" class="css-1dcdqdg"><code><span class="code-comment">//# sourceMappingURL=popper.min.js.map</span>
+</code></td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper.min.js.flow b/web/_static/popperjs/popper.min.js.flow
new file mode 100644
index 0000000..b1dd78f
--- /dev/null
+++ b/web/_static/popperjs/popper.min.js.flow
@@ -0,0 +1,65 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:37.175Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper.min.js.flow","target":{"path":"/dist/umd/popper.min.js.flow","type":"file","details":{"contentType":"text/plain","integrity":"sha384-JTkXdJjQTNxReaRpvyazbNS7kocKgK8g8zePyQdgrDGqfLx9Iqhdl1YaqbSv2JeX","language":"Flow","size":46,"uri":null,"highlights":null}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper.min.js.flow</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>46 B</span><span>Flow</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper.min.js.flow" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1ruxp1v">.css-1ruxp1v{padding:20px;}</style><div class="css-1ruxp1v"><style data-emotion-css="xi606m">.css-xi606m{text-align:center;}</style><p class="css-xi606m">No preview available.</p></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file
diff --git a/web/_static/popperjs/popper.min.js.map b/web/_static/popperjs/popper.min.js.map
new file mode 100644
index 0000000..bc0da3d
--- /dev/null
+++ b/web/_static/popperjs/popper.min.js.map
@@ -0,0 +1,65 @@
+<!DOCTYPE html><html lang="en"><head><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-140352188-1"></script><script>window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'UA-140352188-1');</script><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="description" content="The CDN for @popperjs/core"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="timestamp" content="2022-06-21T18:50:37.793Z"/><link rel="shortcut icon" href="/favicon.ico"/><title>UNPKG - @popperjs/core</title><script>window.Promise || document.write('\x3Cscript src="/es6-promise@4.2.5/dist/es6-promise.min.js">\x3C/script>\x3Cscript>ES6Promise.polyfill()\x3C/script>')</script><script>window.fetch || document.write('\x3Cscript src="/whatwg-fetch@3.0.0/dist/fetch.umd.js">\x3C/script>')</script><script>window.__DATA__ = {"packageName":"@popperjs/core","packageVersion":"2.11.5","availableVersions":["2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4","2.0.0-next.5","2.0.0-next.6","2.0.0-next.7","2.0.0-next.8","2.0.0-next.9","2.0.0-next.10","2.0.0-next.11","2.0.0-next.12","2.0.0-next.13","2.0.0-next.14","2.0.0-next.15","2.0.0-next.16","2.0.0-next.17","2.0.0-rc.1","2.0.0-rc.2","2.0.0-rc.3","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.2.0-bundlephobia.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.7.0","2.7.1","2.7.2","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.9.0","2.9.1","2.9.2","2.9.3","2.10.0","2.10.1","2.10.2","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5"],"filename":"/dist/umd/popper.min.js.map","target":{"path":"/dist/umd/popper.min.js.map","type":"file","details":{"contentType":"application/json","integrity":"sha384-joE+DOHPCCOWNG9vkcxx22Z5tY3KFey6IxzNYhzHj+3Jt/mD6e9AMPHrYP08TbMi","language":"Source Map (JSON)","size":113318,"uri":null,"highlights":["{<span class=\"code-attr\">\"version\"</span>:<span class=\"code-number\">3</span>,<span class=\"code-attr\">\"file\"</span>:<span class=\"code-string\">\"popper.min.js\"</span>,<span class=\"code-attr\">\"sources\"</span>:[<span class=\"code-string\">\"../../src/dom-utils/getWindow.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/instanceOf.js\"</span>,<span class=\"code-string\">\"../../src/utils/math.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getBoundingClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeName.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getWindowScrollBarX.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getComputedStyle.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getCompositeRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getNodeScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getHTMLElementScroll.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getLayoutRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getParentNode.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getScrollParent.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/listScrollParents.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/isTableElement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getOffsetParent.js\"</span>,<span class=\"code-string\">\"../../src/enums.js\"</span>,<span class=\"code-string\">\"../../src/utils/orderModifiers.js\"</span>,<span class=\"code-string\">\"../../src/utils/getBasePlacement.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/contains.js\"</span>,<span class=\"code-string\">\"../../src/utils/rectToClientRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getClippingRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getViewportRect.js\"</span>,<span class=\"code-string\">\"../../src/dom-utils/getDocumentRect.js\"</span>,<span class=\"code-string\">\"../../src/utils/getVariation.js\"</span>,<span class=\"code-string\">\"../../src/utils/getMainAxisFromPlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/computeOffsets.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergePaddingObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/getFreshSideObject.js\"</span>,<span class=\"code-string\">\"../../src/utils/expandToHashMap.js\"</span>,<span class=\"code-string\">\"../../src/utils/detectOverflow.js\"</span>,<span class=\"code-string\">\"../../src/createPopper.js\"</span>,<span class=\"code-string\">\"../../src/utils/debounce.js\"</span>,<span class=\"code-string\">\"../../src/utils/mergeByName.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/eventListeners.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/popperOffsets.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/computeStyles.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/applyStyles.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/offset.js\"</span>,<span class=\"code-string\">\"../../src/utils/getOppositePlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/getOppositeVariationPlacement.js\"</span>,<span class=\"code-string\">\"../../src/utils/computeAutoPlacement.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/flip.js\"</span>,<span class=\"code-string\">\"../../src/utils/within.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/preventOverflow.js\"</span>,<span class=\"code-string\">\"../../src/utils/getAltAxis.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/arrow.js\"</span>,<span class=\"code-string\">\"../../src/modifiers/hide.js\"</span>,<span class=\"code-string\">\"../../src/popper-lite.js\"</span>,<span class=\"code-string\">\"../../src/popper.js\"</span>],<span class=\"code-attr\">\"sourcesContent\"</span>:[<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\ndeclare function getWindow(node: Node | Window): Window;\\n\\nexport default function getWindow(node) {\\n if (node == null) {\\n return window;\\n }\\n\\n if (node.toString() !== '[object Window]') {\\n const ownerDocument = node.ownerDocument;\\n return ownerDocument ? ownerDocument.defaultView || window : window;\\n }\\n\\n return node;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\\n Element);\\nfunction isElement(node) {\\n const OwnElement = getWindow(node).Element;\\n return node instanceof OwnElement || node instanceof Element;\\n}\\n\\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\\n HTMLElement);\\nfunction isHTMLElement(node) {\\n const OwnElement = getWindow(node).HTMLElement;\\n return node instanceof OwnElement || node instanceof HTMLElement;\\n}\\n\\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\\n ShadowRoot);\\nfunction isShadowRoot(node) {\\n // IE 11 has no ShadowRoot\\n if (typeof ShadowRoot === 'undefined') {\\n return false;\\n }\\n const OwnElement = getWindow(node).ShadowRoot;\\n return node instanceof OwnElement || node instanceof ShadowRoot;\\n}\\n\\nexport { isElement, isHTMLElement, isShadowRoot };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const max = Math.max;\\nexport const min = Math.min;\\nexport const round = Math.round;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject, VirtualElement } from '../types';\\nimport { isHTMLElement } from './instanceOf';\\nimport { round } from '../utils/math';\\n\\nexport default function getBoundingClientRect(\\n element: Element | VirtualElement,\\n includeScale: boolean = false\\n): ClientRectObject {\\n const rect = element.getBoundingClientRect();\\n let scaleX = 1;\\n let scaleY = 1;\\n\\n if (isHTMLElement(element) &amp;&amp; includeScale) {\\n const offsetHeight = element.offsetHeight;\\n const offsetWidth = element.offsetWidth;\\n\\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\\n // Fallback to 1 in case both values are `0`\\n if (offsetWidth &gt; 0) {\\n scaleX = round(rect.width) / offsetWidth || 1;\\n }\\n if (offsetHeight &gt; 0) {\\n scaleY = round(rect.height) / offsetHeight || 1;\\n }\\n }\\n\\n return {\\n width: rect.width / scaleX,\\n height: rect.height / scaleY,\\n top: rect.top / scaleY,\\n right: rect.right / scaleX,\\n bottom: rect.bottom / scaleY,\\n left: rect.left / scaleX,\\n x: rect.left / scaleX,\\n y: rect.top / scaleY,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport type { Window } from '../types';\\n\\nexport default function getWindowScroll(node: Node | Window) {\\n const win = getWindow(node);\\n const scrollLeft = win.pageXOffset;\\n const scrollTop = win.pageYOffset;\\n\\n return {\\n scrollLeft,\\n scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Window } from '../types';\\n\\nexport default function getNodeName(element: ?Node | Window): ?string {\\n return element ? (element.nodeName || '').toLowerCase() : null;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isElement } from './instanceOf';\\nimport type { Window } from '../types';\\n\\nexport default function getDocumentElement(\\n element: Element | Window\\n): HTMLElement {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return (\\n (isElement(element)\\n ? element.ownerDocument\\n : // $FlowFixMe[prop-missing]\\n element.document) || window.document\\n ).documentElement;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScroll from './getWindowScroll';\\n\\nexport default function getWindowScrollBarX(element: Element): number {\\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\\n // incorrect for RTL.\\n // Popper 1 is broken in this case and never had a bug report so let's assume\\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\\n // anyway.\\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\\n // this (e.g. Edge 2019, IE11, Safari)\\n return (\\n getBoundingClientRect(getDocumentElement(element)).left +\\n getWindowScroll(element).scrollLeft\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\n\\nexport default function getComputedStyle(\\n element: Element\\n): CSSStyleDeclaration {\\n return getWindow(element).getComputedStyle(element);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getComputedStyle from './getComputedStyle';\\n\\nexport default function isScrollParent(element: HTMLElement): boolean {\\n // Firefox wants us to check `-x` and `-y` variations as well\\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, VirtualElement, Window } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getNodeScroll from './getNodeScroll';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getDocumentElement from './getDocumentElement';\\nimport isScrollParent from './isScrollParent';\\nimport { round } from '../utils/math';\\n\\nfunction isElementScaled(element: HTMLElement) {\\n const rect = element.getBoundingClientRect();\\n const scaleX = round(rect.width) / element.offsetWidth || 1;\\n const scaleY = round(rect.height) / element.offsetHeight || 1;\\n\\n return scaleX !== 1 || scaleY !== 1;\\n}\\n\\n// Returns the composite rect of an element relative to its offsetParent.\\n// Composite means it takes into account transforms as well as layout.\\nexport default function getCompositeRect(\\n elementOrVirtualElement: Element | VirtualElement,\\n offsetParent: Element | Window,\\n isFixed: boolean = false\\n): Rect {\\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\\n const offsetParentIsScaled =\\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\\n const documentElement = getDocumentElement(offsetParent);\\n const rect = getBoundingClientRect(\\n elementOrVirtualElement,\\n offsetParentIsScaled\\n );\\n\\n let scroll = { scrollLeft: 0, scrollTop: 0 };\\n let offsets = { x: 0, y: 0 };\\n\\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\\n if (\\n getNodeName(offsetParent) !== 'body' ||\\n // https://github.com/popperjs/popper-core/issues/1078\\n isScrollParent(documentElement)\\n ) {\\n scroll = getNodeScroll(offsetParent);\\n }\\n\\n if (isHTMLElement(offsetParent)) {\\n offsets = getBoundingClientRect(offsetParent, true);\\n offsets.x += offsetParent.clientLeft;\\n offsets.y += offsetParent.clientTop;\\n } else if (documentElement) {\\n offsets.x = getWindowScrollBarX(documentElement);\\n }\\n }\\n\\n return {\\n x: rect.left + scroll.scrollLeft - offsets.x,\\n y: rect.top + scroll.scrollTop - offsets.y,\\n width: rect.width,\\n height: rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindowScroll from './getWindowScroll';\\nimport getWindow from './getWindow';\\nimport { isHTMLElement } from './instanceOf';\\nimport getHTMLElementScroll from './getHTMLElementScroll';\\nimport type { Window } from '../types';\\n\\nexport default function getNodeScroll(node: Node | Window) {\\n if (node === getWindow(node) || !isHTMLElement(node)) {\\n return getWindowScroll(node);\\n } else {\\n return getHTMLElementScroll(node);\\n }\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function getHTMLElementScroll(element: HTMLElement) {\\n return {\\n scrollLeft: element.scrollLeft,\\n scrollTop: element.scrollTop,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getBoundingClientRect from './getBoundingClientRect';\\n\\n// Returns the layout rect of an element relative to its offsetParent. Layout\\n// means it doesn't take into account transforms.\\nexport default function getLayoutRect(element: HTMLElement): Rect {\\n const clientRect = getBoundingClientRect(element);\\n\\n // Use the clientRect sizes if it's not been transformed.\\n // Fixes https://github.com/popperjs/popper-core/issues/1223\\n let width = element.offsetWidth;\\n let height = element.offsetHeight;\\n\\n if (Math.abs(clientRect.width - width) &lt;= 1) {\\n width = clientRect.width;\\n }\\n\\n if (Math.abs(clientRect.height - height) &lt;= 1) {\\n height = clientRect.height;\\n }\\n\\n return {\\n x: element.offsetLeft,\\n y: element.offsetTop,\\n width,\\n height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\nimport getDocumentElement from './getDocumentElement';\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function getParentNode(element: Node | ShadowRoot): Node {\\n if (getNodeName(element) === 'html') {\\n return element;\\n }\\n\\n return (\\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\\n // $FlowFixMe[incompatible-return]\\n // $FlowFixMe[prop-missing]\\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\\n element.parentNode || // DOM Element detected\\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\\n getDocumentElement(element) // fallback\\n );\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getParentNode from './getParentNode';\\nimport isScrollParent from './isScrollParent';\\nimport getNodeName from './getNodeName';\\nimport { isHTMLElement } from './instanceOf';\\n\\nexport default function getScrollParent(node: Node): HTMLElement {\\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\\n // $FlowFixMe[incompatible-return]: assume body is always available\\n return node.ownerDocument.body;\\n }\\n\\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\\n return node;\\n }\\n\\n return getScrollParent(getParentNode(node));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getScrollParent from './getScrollParent';\\nimport getParentNode from './getParentNode';\\nimport getWindow from './getWindow';\\nimport type { Window, VisualViewport } from '../types';\\nimport isScrollParent from './isScrollParent';\\n\\n/*\\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\\nuntil we get to the top window object. This list is what we attach scroll listeners\\nto, because if any of these parent elements scroll, we'll need to re-calculate the\\nreference element's position.\\n*/\\nexport default function listScrollParents(\\n element: Node,\\n list: Array&lt;Element | Window&gt; = []\\n): Array&lt;Element | Window | VisualViewport&gt; {\\n const scrollParent = getScrollParent(element);\\n const isBody = scrollParent === element.ownerDocument?.body;\\n const win = getWindow(scrollParent);\\n const target = isBody\\n ? [win].concat(\\n win.visualViewport || [],\\n isScrollParent(scrollParent) ? scrollParent : []\\n )\\n : scrollParent;\\n const updatedList = list.concat(target);\\n\\n return isBody\\n ? updatedList\\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\\n updatedList.concat(listScrollParents(getParentNode(target)));\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getNodeName from './getNodeName';\\n\\nexport default function isTableElement(element: Element): boolean {\\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getNodeName from './getNodeName';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\\nimport isTableElement from './isTableElement';\\nimport getParentNode from './getParentNode';\\n\\nfunction getTrueOffsetParent(element: Element): ?Element {\\n if (\\n !isHTMLElement(element) ||\\n // https://github.com/popperjs/popper-core/issues/837\\n getComputedStyle(element).position === 'fixed'\\n ) {\\n return null;\\n }\\n\\n return element.offsetParent;\\n}\\n\\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\\n// return the containing block\\nfunction getContainingBlock(element: Element) {\\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\\n\\n if (isIE &amp;&amp; isHTMLElement(element)) {\\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\\n const elementCss = getComputedStyle(element);\\n if (elementCss.position === 'fixed') {\\n return null;\\n }\\n }\\n\\n let currentNode = getParentNode(element);\\n\\n if (isShadowRoot(currentNode)) {\\n currentNode = currentNode.host;\\n }\\n\\n while (\\n isHTMLElement(currentNode) &amp;&amp;\\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\\n ) {\\n const css = getComputedStyle(currentNode);\\n\\n // This is non-exhaustive but covers the most common CSS properties that\\n // create a containing block.\\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\\n if (\\n css.transform !== 'none' ||\\n css.perspective !== 'none' ||\\n css.contain === 'paint' ||\\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\\n ) {\\n return currentNode;\\n } else {\\n currentNode = currentNode.parentNode;\\n }\\n }\\n\\n return null;\\n}\\n\\n// Gets the closest ancestor positioned element. Handles some edge cases,\\n// such as table ancestors and cross browser bugs.\\nexport default function getOffsetParent(element: Element) {\\n const window = getWindow(element);\\n\\n let offsetParent = getTrueOffsetParent(element);\\n\\n while (\\n offsetParent &amp;&amp;\\n isTableElement(offsetParent) &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'\\n ) {\\n offsetParent = getTrueOffsetParent(offsetParent);\\n }\\n\\n if (\\n offsetParent &amp;&amp;\\n (getNodeName(offsetParent) === 'html' ||\\n (getNodeName(offsetParent) === 'body' &amp;&amp;\\n getComputedStyle(offsetParent).position === 'static'))\\n ) {\\n return window;\\n }\\n\\n return offsetParent || getContainingBlock(element) || window;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nexport const top: 'top' = 'top';\\nexport const bottom: 'bottom' = 'bottom';\\nexport const right: 'right' = 'right';\\nexport const left: 'left' = 'left';\\nexport const auto: 'auto' = 'auto';\\nexport type BasePlacement =\\n | typeof top\\n | typeof bottom\\n | typeof right\\n | typeof left;\\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\\n\\nexport const start: 'start' = 'start';\\nexport const end: 'end' = 'end';\\nexport type Variation = typeof start | typeof end;\\n\\nexport const clippingParents: 'clippingParents' = 'clippingParents';\\nexport const viewport: 'viewport' = 'viewport';\\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\\nexport type RootBoundary = typeof viewport | 'document';\\n\\nexport const popper: 'popper' = 'popper';\\nexport const reference: 'reference' = 'reference';\\nexport type Context = typeof popper | typeof reference;\\n\\nexport type VariationPlacement =\\n | 'top-start'\\n | 'top-end'\\n | 'bottom-start'\\n | 'bottom-end'\\n | 'right-start'\\n | 'right-end'\\n | 'left-start'\\n | 'left-end';\\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\\n\\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\\n []\\n);\\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\\n (\\n acc: Array&lt;Placement&gt;,\\n placement: BasePlacement | typeof auto\\n ): Array&lt;Placement&gt; =&gt;\\n acc.concat([\\n placement,\\n (`${placement}-${start}`: any),\\n (`${placement}-${end}`: any),\\n ]),\\n []\\n);\\n\\n// modifiers that need to read the DOM\\nexport const beforeRead: 'beforeRead' = 'beforeRead';\\nexport const read: 'read' = 'read';\\nexport const afterRead: 'afterRead' = 'afterRead';\\n// pure-logic modifiers\\nexport const beforeMain: 'beforeMain' = 'beforeMain';\\nexport const main: 'main' = 'main';\\nexport const afterMain: 'afterMain' = 'afterMain';\\n// modifier with the purpose to write to the DOM (or write into a framework state)\\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\\nexport const write: 'write' = 'write';\\nexport const afterWrite: 'afterWrite' = 'afterWrite';\\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\\n beforeRead,\\n read,\\n afterRead,\\n beforeMain,\\n main,\\n afterMain,\\n beforeWrite,\\n write,\\n afterWrite,\\n];\\n\\nexport type ModifierPhases =\\n | typeof beforeRead\\n | typeof read\\n | typeof afterRead\\n | typeof beforeMain\\n | typeof main\\n | typeof afterMain\\n | typeof beforeWrite\\n | typeof write\\n | typeof afterWrite;\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\nimport { modifierPhases } from '../enums';\\n\\n// source: https://stackoverflow.com/questions/49875255\\nfunction order(modifiers) {\\n const map = new Map();\\n const visited = new Set();\\n const result = [];\\n\\n modifiers.forEach(modifier =&gt; {\\n map.set(modifier.name, modifier);\\n });\\n\\n // On visiting object, check for its dependencies and visit them recursively\\n function sort(modifier: Modifier&lt;any, any&gt;) {\\n visited.add(modifier.name);\\n\\n const requires = [\\n ...(modifier.requires || []),\\n ...(modifier.requiresIfExists || []),\\n ];\\n\\n requires.forEach(dep =&gt; {\\n if (!visited.has(dep)) {\\n const depModifier = map.get(dep);\\n\\n if (depModifier) {\\n sort(depModifier);\\n }\\n }\\n });\\n\\n result.push(modifier);\\n }\\n\\n modifiers.forEach(modifier =&gt; {\\n if (!visited.has(modifier.name)) {\\n // check for visited object\\n sort(modifier);\\n }\\n });\\n\\n return result;\\n}\\n\\nexport default function orderModifiers(\\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\\n // order based on dependencies\\n const orderedModifiers = order(modifiers);\\n\\n // order based on phase\\n return modifierPhases.reduce((acc, phase) =&gt; {\\n return acc.concat(\\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\\n );\\n }, []);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type BasePlacement, type Placement, auto } from '../enums';\\n\\nexport default function getBasePlacement(\\n placement: Placement | typeof auto\\n): BasePlacement {\\n return (placement.split('-')[0]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { isShadowRoot } from './instanceOf';\\n\\nexport default function contains(parent: Element, child: Element) {\\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\\n\\n // First, attempt with faster native method\\n if (parent.contains(child)) {\\n return true;\\n }\\n // then fallback to custom implementation with Shadow DOM support\\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\\n let next = child;\\n do {\\n if (next &amp;&amp; parent.isSameNode(next)) {\\n return true;\\n }\\n // $FlowFixMe[prop-missing]: need a better way to handle this...\\n next = next.parentNode || next.host;\\n } while (next);\\n }\\n\\n // Give up, the result is false\\n return false;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect, ClientRectObject } from '../types';\\n\\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\\n return {\\n ...rect,\\n left: rect.x,\\n top: rect.y,\\n right: rect.x + rect.width,\\n bottom: rect.y + rect.height,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ClientRectObject } from '../types';\\nimport type { Boundary, RootBoundary } from '../enums';\\nimport { viewport } from '../enums';\\nimport getViewportRect from './getViewportRect';\\nimport getDocumentRect from './getDocumentRect';\\nimport listScrollParents from './listScrollParents';\\nimport getOffsetParent from './getOffsetParent';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport { isElement, isHTMLElement } from './instanceOf';\\nimport getBoundingClientRect from './getBoundingClientRect';\\nimport getParentNode from './getParentNode';\\nimport contains from './contains';\\nimport getNodeName from './getNodeName';\\nimport rectToClientRect from '../utils/rectToClientRect';\\nimport { max, min } from '../utils/math';\\n\\nfunction getInnerBoundingClientRect(element: Element) {\\n const rect = getBoundingClientRect(element);\\n\\n rect.top = rect.top + element.clientTop;\\n rect.left = rect.left + element.clientLeft;\\n rect.bottom = rect.top + element.clientHeight;\\n rect.right = rect.left + element.clientWidth;\\n rect.width = element.clientWidth;\\n rect.height = element.clientHeight;\\n rect.x = rect.left;\\n rect.y = rect.top;\\n\\n return rect;\\n}\\n\\nfunction getClientRectFromMixedType(\\n element: Element,\\n clippingParent: Element | RootBoundary\\n): ClientRectObject {\\n return clippingParent === viewport\\n ? rectToClientRect(getViewportRect(element))\\n : isElement(clippingParent)\\n ? getInnerBoundingClientRect(clippingParent)\\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\\n}\\n\\n// A \\\"clipping parent\\\" is an overflowable container with the characteristic of\\n// clipping (or hiding) overflowing elements with a position different from\\n// `initial`\\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\\n const clippingParents = listScrollParents(getParentNode(element));\\n const canEscapeClipping =\\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\\n const clipperElement =\\n canEscapeClipping &amp;&amp; isHTMLElement(element)\\n ? getOffsetParent(element)\\n : element;\\n\\n if (!isElement(clipperElement)) {\\n return [];\\n }\\n\\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\\n return clippingParents.filter(\\n (clippingParent) =&gt;\\n isElement(clippingParent) &amp;&amp;\\n contains(clippingParent, clipperElement) &amp;&amp;\\n getNodeName(clippingParent) !== 'body'\\n );\\n}\\n\\n// Gets the maximum area that the element is visible in due to any number of\\n// clipping parents\\nexport default function getClippingRect(\\n element: Element,\\n boundary: Boundary,\\n rootBoundary: RootBoundary\\n): ClientRectObject {\\n const mainClippingParents =\\n boundary === 'clippingParents'\\n ? getClippingParents(element)\\n : [].concat(boundary);\\n const clippingParents = [...mainClippingParents, rootBoundary];\\n const firstClippingParent = clippingParents[0];\\n\\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\\n const rect = getClientRectFromMixedType(element, clippingParent);\\n\\n accRect.top = max(rect.top, accRect.top);\\n accRect.right = min(rect.right, accRect.right);\\n accRect.bottom = min(rect.bottom, accRect.bottom);\\n accRect.left = max(rect.left, accRect.left);\\n\\n return accRect;\\n }, getClientRectFromMixedType(element, firstClippingParent));\\n\\n clippingRect.width = clippingRect.right - clippingRect.left;\\n clippingRect.height = clippingRect.bottom - clippingRect.top;\\n clippingRect.x = clippingRect.left;\\n clippingRect.y = clippingRect.top;\\n\\n return clippingRect;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getWindow from './getWindow';\\nimport getDocumentElement from './getDocumentElement';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\n\\nexport default function getViewportRect(element: Element) {\\n const win = getWindow(element);\\n const html = getDocumentElement(element);\\n const visualViewport = win.visualViewport;\\n\\n let width = html.clientWidth;\\n let height = html.clientHeight;\\n let x = 0;\\n let y = 0;\\n\\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\\n // can be obscured underneath it.\\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\\n // if it isn't open, so if this isn't available, the popper will be detected\\n // to overflow the bottom of the screen too early.\\n if (visualViewport) {\\n width = visualViewport.width;\\n height = visualViewport.height;\\n\\n // Uses Layout Viewport (like Chrome; Safari does not currently)\\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\\n // errors due to floating point numbers, so we need to check precision.\\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\\n\\n // Feature detection fails in mobile emulation mode in Chrome.\\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\\n // 0.001\\n // Fallback here: \\\"Not Safari\\\" userAgent\\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\\n x = visualViewport.offsetLeft;\\n y = visualViewport.offsetTop;\\n }\\n }\\n\\n return {\\n width,\\n height,\\n x: x + getWindowScrollBarX(element),\\n y,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Rect } from '../types';\\nimport getDocumentElement from './getDocumentElement';\\nimport getComputedStyle from './getComputedStyle';\\nimport getWindowScrollBarX from './getWindowScrollBarX';\\nimport getWindowScroll from './getWindowScroll';\\nimport { max } from '../utils/math';\\n\\n// Gets the entire size of the scrollable document area, even extending outside\\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\\nexport default function getDocumentRect(element: HTMLElement): Rect {\\n const html = getDocumentElement(element);\\n const winScroll = getWindowScroll(element);\\n const body = element.ownerDocument?.body;\\n\\n const width = max(\\n html.scrollWidth,\\n html.clientWidth,\\n body ? body.scrollWidth : 0,\\n body ? body.clientWidth : 0\\n );\\n const height = max(\\n html.scrollHeight,\\n html.clientHeight,\\n body ? body.scrollHeight : 0,\\n body ? body.clientHeight : 0\\n );\\n\\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\\n const y = -winScroll.scrollTop;\\n\\n if (getComputedStyle(body || html).direction === 'rtl') {\\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\\n }\\n\\n return { width, height, x, y };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { type Variation, type Placement } from '../enums';\\n\\nexport default function getVariation(placement: Placement): ?Variation {\\n return (placement.split('-')[1]: any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nexport default function getMainAxisFromPlacement(\\n placement: Placement\\n): 'x' | 'y' {\\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport getBasePlacement from './getBasePlacement';\\nimport getVariation from './getVariation';\\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\\nimport type {\\n Rect,\\n PositioningStrategy,\\n Offsets,\\n ClientRectObject,\\n} from '../types';\\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\\n\\nexport default function computeOffsets({\\n reference,\\n element,\\n placement,\\n}: {\\n reference: Rect | ClientRectObject,\\n element: Rect | ClientRectObject,\\n strategy: PositioningStrategy,\\n placement?: Placement,\\n}): Offsets {\\n const basePlacement = placement ? getBasePlacement(placement) : null;\\n const variation = placement ? getVariation(placement) : null;\\n const commonX = reference.x + reference.width / 2 - element.width / 2;\\n const commonY = reference.y + reference.height / 2 - element.height / 2;\\n\\n let offsets;\\n switch (basePlacement) {\\n case top:\\n offsets = {\\n x: commonX,\\n y: reference.y - element.height,\\n };\\n break;\\n case bottom:\\n offsets = {\\n x: commonX,\\n y: reference.y + reference.height,\\n };\\n break;\\n case right:\\n offsets = {\\n x: reference.x + reference.width,\\n y: commonY,\\n };\\n break;\\n case left:\\n offsets = {\\n x: reference.x - element.width,\\n y: commonY,\\n };\\n break;\\n default:\\n offsets = {\\n x: reference.x,\\n y: reference.y,\\n };\\n }\\n\\n const mainAxis = basePlacement\\n ? getMainAxisFromPlacement(basePlacement)\\n : null;\\n\\n if (mainAxis != null) {\\n const len = mainAxis === 'y' ? 'height' : 'width';\\n\\n switch (variation) {\\n case start:\\n offsets[mainAxis] =\\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\\n break;\\n case end:\\n offsets[mainAxis] =\\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\\n break;\\n default:\\n }\\n }\\n\\n return offsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\nimport getFreshSideObject from './getFreshSideObject';\\n\\nexport default function mergePaddingObject(\\n paddingObject: $Shape&lt;SideObject&gt;\\n): SideObject {\\n return {\\n ...getFreshSideObject(),\\n ...paddingObject,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { SideObject } from '../types';\\n\\nexport default function getFreshSideObject(): SideObject {\\n return {\\n top: 0,\\n right: 0,\\n bottom: 0,\\n left: 0,\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function expandToHashMap&lt;\\n T: number | string | boolean,\\n K: string\\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\\n return keys.reduce((hashMap, key) =&gt; {\\n hashMap[key] = value;\\n return hashMap;\\n }, {});\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { State, SideObject, Padding } from '../types';\\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\\nimport getClippingRect from '../dom-utils/getClippingRect';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\\nimport computeOffsets from './computeOffsets';\\nimport rectToClientRect from './rectToClientRect';\\nimport {\\n clippingParents,\\n reference,\\n popper,\\n bottom,\\n top,\\n right,\\n basePlacements,\\n viewport,\\n} from '../enums';\\nimport { isElement } from '../dom-utils/instanceOf';\\nimport mergePaddingObject from './mergePaddingObject';\\nimport expandToHashMap from './expandToHashMap';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n placement: Placement,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n elementContext: Context,\\n altBoundary: boolean,\\n padding: Padding,\\n};\\n\\nexport default function detectOverflow(\\n state: State,\\n options: $Shape&lt;Options&gt; = {}\\n): SideObject {\\n const {\\n placement = state.placement,\\n boundary = clippingParents,\\n rootBoundary = viewport,\\n elementContext = popper,\\n altBoundary = false,\\n padding = 0,\\n } = options;\\n\\n const paddingObject = mergePaddingObject(\\n typeof padding !== 'number'\\n ? padding\\n : expandToHashMap(padding, basePlacements)\\n );\\n\\n const altContext = elementContext === popper ? reference : popper;\\n\\n const popperRect = state.rects.popper;\\n const element = state.elements[altBoundary ? altContext : elementContext];\\n\\n const clippingClientRect = getClippingRect(\\n isElement(element)\\n ? element\\n : element.contextElement || getDocumentElement(state.elements.popper),\\n boundary,\\n rootBoundary\\n );\\n\\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\\n\\n const popperOffsets = computeOffsets({\\n reference: referenceClientRect,\\n element: popperRect,\\n strategy: 'absolute',\\n placement,\\n });\\n\\n const popperClientRect = rectToClientRect({\\n ...popperRect,\\n ...popperOffsets,\\n });\\n\\n const elementClientRect =\\n elementContext === popper ? popperClientRect : referenceClientRect;\\n\\n // positive = overflowing the clipping rect\\n // 0 or negative = within the clipping rect\\n const overflowOffsets = {\\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\\n bottom:\\n elementClientRect.bottom -\\n clippingClientRect.bottom +\\n paddingObject.bottom,\\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\\n right:\\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\\n };\\n\\n const offsetData = state.modifiersData.offset;\\n\\n // Offsets can be applied only to the popper element\\n if (elementContext === popper &amp;&amp; offsetData) {\\n const offset = offsetData[placement];\\n\\n Object.keys(overflowOffsets).forEach((key) =&gt; {\\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\\n overflowOffsets[key] += offset[axis] * multiply;\\n });\\n }\\n\\n return overflowOffsets;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n State,\\n OptionsGeneric,\\n Modifier,\\n Instance,\\n VirtualElement,\\n} from './types';\\nimport getCompositeRect from './dom-utils/getCompositeRect';\\nimport getLayoutRect from './dom-utils/getLayoutRect';\\nimport listScrollParents from './dom-utils/listScrollParents';\\nimport getOffsetParent from './dom-utils/getOffsetParent';\\nimport getComputedStyle from './dom-utils/getComputedStyle';\\nimport orderModifiers from './utils/orderModifiers';\\nimport debounce from './utils/debounce';\\nimport validateModifiers from './utils/validateModifiers';\\nimport uniqueBy from './utils/uniqueBy';\\nimport getBasePlacement from './utils/getBasePlacement';\\nimport mergeByName from './utils/mergeByName';\\nimport detectOverflow from './utils/detectOverflow';\\nimport { isElement } from './dom-utils/instanceOf';\\nimport { auto } from './enums';\\n\\nconst INVALID_ELEMENT_ERROR =\\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\\nconst INFINITE_LOOP_ERROR =\\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\\n\\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\\n placement: 'bottom',\\n modifiers: [],\\n strategy: 'absolute',\\n};\\n\\ntype PopperGeneratorArgs = {\\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\\n};\\n\\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\\n return !args.some(\\n (element) =&gt;\\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\\n );\\n}\\n\\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\\n const {\\n defaultModifiers = [],\\n defaultOptions = DEFAULT_OPTIONS,\\n } = generatorOptions;\\n\\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\\n reference: Element | VirtualElement,\\n popper: HTMLElement,\\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\\n ): Instance {\\n let state: $Shape&lt;State&gt; = {\\n placement: 'bottom',\\n orderedModifiers: [],\\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\\n modifiersData: {},\\n elements: {\\n reference,\\n popper,\\n },\\n attributes: {},\\n styles: {},\\n };\\n\\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\\n let isDestroyed = false;\\n\\n const instance = {\\n state,\\n setOptions(setOptionsAction) {\\n const options =\\n typeof setOptionsAction === 'function'\\n ? setOptionsAction(state.options)\\n : setOptionsAction;\\n\\n cleanupModifierEffects();\\n\\n state.options = {\\n // $FlowFixMe[exponential-spread]\\n ...defaultOptions,\\n ...state.options,\\n ...options,\\n };\\n\\n state.scrollParents = {\\n reference: isElement(reference)\\n ? listScrollParents(reference)\\n : reference.contextElement\\n ? listScrollParents(reference.contextElement)\\n : [],\\n popper: listScrollParents(popper),\\n };\\n\\n // Orders the modifiers based on their dependencies and `phase`\\n // properties\\n const orderedModifiers = orderModifiers(\\n mergeByName([...defaultModifiers, ...state.options.modifiers])\\n );\\n\\n // Strip out disabled modifiers\\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\\n\\n // Validate the provided modifiers so that the consumer will get warned\\n // if one of the modifiers is invalid for any reason\\n if (__DEV__) {\\n const modifiers = uniqueBy(\\n [...orderedModifiers, ...state.options.modifiers],\\n ({ name }) =&gt; name\\n );\\n\\n validateModifiers(modifiers);\\n\\n if (getBasePlacement(state.options.placement) === auto) {\\n const flipModifier = state.orderedModifiers.find(\\n ({ name }) =&gt; name === 'flip'\\n );\\n\\n if (!flipModifier) {\\n console.error(\\n [\\n 'Popper: \\\"auto\\\" placements require the \\\"flip\\\" modifier be',\\n 'present and enabled to work.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const {\\n marginTop,\\n marginRight,\\n marginBottom,\\n marginLeft,\\n } = getComputedStyle(popper);\\n\\n // We no longer take into account `margins` on the popper, and it can\\n // cause bugs with positioning, so we'll warn the consumer\\n if (\\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\\n parseFloat(margin)\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: CSS \\\"margin\\\" styles cannot be used to apply padding',\\n 'between the popper and its reference element or boundary.',\\n 'To replicate margin, use the `offset` modifier, as well as',\\n 'the `padding` option in the `preventOverflow` and `flip`',\\n 'modifiers.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n runModifierEffects();\\n\\n return instance.update();\\n },\\n\\n // Sync update \u2013 it will always be executed, even if not necessary. This\\n // is useful for low frequency updates where sync behavior simplifies the\\n // logic.\\n // For high frequency updates (e.g. `resize` and `scroll` events), always\\n // prefer the async Popper#update method\\n forceUpdate() {\\n if (isDestroyed) {\\n return;\\n }\\n\\n const { reference, popper } = state.elements;\\n\\n // Don't proceed if `reference` or `popper` are not valid elements\\n // anymore\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return;\\n }\\n\\n // Store the reference and popper rects to be read by modifiers\\n state.rects = {\\n reference: getCompositeRect(\\n reference,\\n getOffsetParent(popper),\\n state.options.strategy === 'fixed'\\n ),\\n popper: getLayoutRect(popper),\\n };\\n\\n // Modifiers have the ability to reset the current update cycle. The\\n // most common use case for this is the `flip` modifier changing the\\n // placement, which then needs to re-run all the modifiers, because the\\n // logic was previously ran for the previous placement and is therefore\\n // stale/incorrect\\n state.reset = false;\\n\\n state.placement = state.options.placement;\\n\\n // On each update cycle, the `modifiersData` property for each modifier\\n // is filled with the initial data specified by the modifier. This means\\n // it doesn't persist and is fresh on each update.\\n // To ensure persistent data, use `${name}#persistent`\\n state.orderedModifiers.forEach(\\n (modifier) =&gt;\\n (state.modifiersData[modifier.name] = {\\n ...modifier.data,\\n })\\n );\\n\\n let __debug_loops__ = 0;\\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\\n if (__DEV__) {\\n __debug_loops__ += 1;\\n if (__debug_loops__ &gt; 100) {\\n console.error(INFINITE_LOOP_ERROR);\\n break;\\n }\\n }\\n\\n if (state.reset === true) {\\n state.reset = false;\\n index = -1;\\n continue;\\n }\\n\\n const { fn, options = {}, name } = state.orderedModifiers[index];\\n\\n if (typeof fn === 'function') {\\n state = fn({ state, options, name, instance }) || state;\\n }\\n }\\n },\\n\\n // Async and optimistically optimized update \u2013 it will not be executed if\\n // not necessary (debounced to run at most once-per-tick)\\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\\n () =&gt;\\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\\n instance.forceUpdate();\\n resolve(state);\\n })\\n ),\\n\\n destroy() {\\n cleanupModifierEffects();\\n isDestroyed = true;\\n },\\n };\\n\\n if (!areValidElements(reference, popper)) {\\n if (__DEV__) {\\n console.error(INVALID_ELEMENT_ERROR);\\n }\\n return instance;\\n }\\n\\n instance.setOptions(options).then((state) =&gt; {\\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\\n options.onFirstUpdate(state);\\n }\\n });\\n\\n // Modifiers have the ability to execute arbitrary code before the first\\n // update cycle runs. They will be executed in the same order as the update\\n // cycle. This is useful when a modifier adds some persistent data that\\n // other modifiers need to use, but the modifier is run after the dependent\\n // one.\\n function runModifierEffects() {\\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\\n if (typeof effect === 'function') {\\n const cleanupFn = effect({ state, name, instance, options });\\n const noopFn = () =&gt; {};\\n effectCleanupFns.push(cleanupFn || noopFn);\\n }\\n });\\n }\\n\\n function cleanupModifierEffects() {\\n effectCleanupFns.forEach((fn) =&gt; fn());\\n effectCleanupFns = [];\\n }\\n\\n return instance;\\n };\\n}\\n\\nexport const createPopper = popperGenerator();\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { detectOverflow };\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\\n let pending;\\n return () =&gt; {\\n if (!pending) {\\n pending = new Promise&lt;T&gt;(resolve =&gt; {\\n Promise.resolve().then(() =&gt; {\\n pending = undefined;\\n resolve(fn());\\n });\\n });\\n }\\n\\n return pending;\\n };\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier } from '../types';\\n\\nexport default function mergeByName(\\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\\n const merged = modifiers.reduce((merged, current) =&gt; {\\n const existing = merged[current.name];\\n merged[current.name] = existing\\n ? {\\n ...existing,\\n ...current,\\n options: { ...existing.options, ...current.options },\\n data: { ...existing.data, ...current.data },\\n }\\n : current;\\n return merged;\\n }, {});\\n\\n // IE11 does not support Object.values\\n return Object.keys(merged).map(key =&gt; merged[key]);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ModifierArguments, Modifier } from '../types';\\nimport getWindow from '../dom-utils/getWindow';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n scroll: boolean,\\n resize: boolean,\\n};\\n\\nconst passive = { passive: true };\\n\\nfunction effect({ state, instance, options }: ModifierArguments&lt;Options&gt;) {\\n const { scroll = true, resize = true } = options;\\n\\n const window = getWindow(state.elements.popper);\\n const scrollParents = [\\n ...state.scrollParents.reference,\\n ...state.scrollParents.popper,\\n ];\\n\\n if (scroll) {\\n scrollParents.forEach(scrollParent =&gt; {\\n scrollParent.addEventListener('scroll', instance.update, passive);\\n });\\n }\\n\\n if (resize) {\\n window.addEventListener('resize', instance.update, passive);\\n }\\n\\n return () =&gt; {\\n if (scroll) {\\n scrollParents.forEach(scrollParent =&gt; {\\n scrollParent.removeEventListener('scroll', instance.update, passive);\\n });\\n }\\n\\n if (resize) {\\n window.removeEventListener('resize', instance.update, passive);\\n }\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type EventListenersModifier = Modifier&lt;'eventListeners', Options&gt;;\\nexport default ({\\n name: 'eventListeners',\\n enabled: true,\\n phase: 'write',\\n fn: () =&gt; {},\\n effect,\\n data: {},\\n}: EventListenersModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { ModifierArguments, Modifier } from '../types';\\nimport computeOffsets from '../utils/computeOffsets';\\n\\nfunction popperOffsets({ state, name }: ModifierArguments&lt;{||}&gt;) {\\n // Offsets are the actual position the popper needs to have to be\\n // properly positioned near its reference element\\n // This is the most basic placement, and will be adjusted by\\n // the modifiers in the next step\\n state.modifiersData[name] = computeOffsets({\\n reference: state.rects.reference,\\n element: state.rects.popper,\\n strategy: 'absolute',\\n placement: state.placement,\\n });\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type PopperOffsetsModifier = Modifier&lt;'popperOffsets', {||}&gt;;\\nexport default ({\\n name: 'popperOffsets',\\n enabled: true,\\n phase: 'read',\\n fn: popperOffsets,\\n data: {},\\n}: PopperOffsetsModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n PositioningStrategy,\\n Offsets,\\n Modifier,\\n ModifierArguments,\\n Rect,\\n Window,\\n} from '../types';\\nimport {\\n type BasePlacement,\\n type Variation,\\n top,\\n left,\\n right,\\n bottom,\\n end,\\n} from '../enums';\\nimport getOffsetParent from '../dom-utils/getOffsetParent';\\nimport getWindow from '../dom-utils/getWindow';\\nimport getDocumentElement from '../dom-utils/getDocumentElement';\\nimport getComputedStyle from '../dom-utils/getComputedStyle';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getVariation from '../utils/getVariation';\\nimport { round } from '../utils/math';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type RoundOffsets = (\\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;\\n) =&gt; Offsets;\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n gpuAcceleration: boolean,\\n adaptive: boolean,\\n roundOffsets?: boolean | RoundOffsets,\\n};\\n\\nconst unsetSides = {\\n top: 'auto',\\n right: 'auto',\\n bottom: 'auto',\\n left: 'auto',\\n};\\n\\n// Round the offsets to the nearest suitable subpixel based on the DPR.\\n// Zooming can change the DPR, but it seems to report a value that will\\n// cleanly divide the values into the appropriate subpixels.\\nfunction roundOffsetsByDPR({ x, y }): Offsets {\\n const win: Window = window;\\n const dpr = win.devicePixelRatio || 1;\\n\\n return {\\n x: round(x * dpr) / dpr || 0,\\n y: round(y * dpr) / dpr || 0,\\n };\\n}\\n\\nexport function mapToStyles({\\n popper,\\n popperRect,\\n placement,\\n variation,\\n offsets,\\n position,\\n gpuAcceleration,\\n adaptive,\\n roundOffsets,\\n isFixed,\\n}: {\\n popper: HTMLElement,\\n popperRect: Rect,\\n placement: BasePlacement,\\n variation: ?Variation,\\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;,\\n position: PositioningStrategy,\\n gpuAcceleration: boolean,\\n adaptive: boolean,\\n roundOffsets: boolean | RoundOffsets,\\n isFixed: boolean,\\n}) {\\n let { x = 0, y = 0 } = offsets;\\n\\n ({ x, y } =\\n typeof roundOffsets === 'function'\\n ? roundOffsets({ x, y })\\n : { x, y });\\n\\n const hasX = offsets.hasOwnProperty('x');\\n const hasY = offsets.hasOwnProperty('y');\\n\\n let sideX: string = left;\\n let sideY: string = top;\\n\\n const win: Window = window;\\n\\n if (adaptive) {\\n let offsetParent = getOffsetParent(popper);\\n let heightProp = 'clientHeight';\\n let widthProp = 'clientWidth';\\n\\n if (offsetParent === getWindow(popper)) {\\n offsetParent = getDocumentElement(popper);\\n\\n if (\\n getComputedStyle(offsetParent).position !== 'static' &amp;&amp;\\n position === 'absolute'\\n ) {\\n heightProp = 'scrollHeight';\\n widthProp = 'scrollWidth';\\n }\\n }\\n\\n // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\\n offsetParent = (offsetParent: Element);\\n\\n if (\\n placement === top ||\\n ((placement === left || placement === right) &amp;&amp; variation === end)\\n ) {\\n sideY = bottom;\\n const offsetY =\\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\\n ? win.visualViewport.height\\n : // $FlowFixMe[prop-missing]\\n offsetParent[heightProp];\\n y -= offsetY - popperRect.height;\\n y *= gpuAcceleration ? 1 : -1;\\n }\\n\\n if (\\n placement === left ||\\n ((placement === top || placement === bottom) &amp;&amp; variation === end)\\n ) {\\n sideX = right;\\n const offsetX =\\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\\n ? win.visualViewport.width\\n : // $FlowFixMe[prop-missing]\\n offsetParent[widthProp];\\n x -= offsetX - popperRect.width;\\n x *= gpuAcceleration ? 1 : -1;\\n }\\n }\\n\\n const commonStyles = {\\n position,\\n ...(adaptive &amp;&amp; unsetSides),\\n };\\n\\n ({ x, y } =\\n roundOffsets === true\\n ? roundOffsetsByDPR({ x, y })\\n : { x, y });\\n\\n if (gpuAcceleration) {\\n return {\\n ...commonStyles,\\n [sideY]: hasY ? '0' : '',\\n [sideX]: hasX ? '0' : '',\\n // Layer acceleration can disable subpixel rendering which causes slightly\\n // blurry text on low PPI displays, so we want to use 2D transforms\\n // instead\\n transform:\\n (win.devicePixelRatio || 1) &lt;= 1\\n ? `translate(${x}px, ${y}px)`\\n : `translate3d(${x}px, ${y}px, 0)`,\\n };\\n }\\n\\n return {\\n ...commonStyles,\\n [sideY]: hasY ? `${y}px` : '',\\n [sideX]: hasX ? `${x}px` : '',\\n transform: '',\\n };\\n}\\n\\nfunction computeStyles({ state, options }: ModifierArguments&lt;Options&gt;) {\\n const {\\n gpuAcceleration = true,\\n adaptive = true,\\n // defaults to use builtin `roundOffsetsByDPR`\\n roundOffsets = true,\\n } = options;\\n\\n if (__DEV__) {\\n const transitionProperty =\\n getComputedStyle(state.elements.popper).transitionProperty || '';\\n\\n if (\\n adaptive &amp;&amp;\\n ['transform', 'top', 'right', 'bottom', 'left'].some(\\n (property) =&gt; transitionProperty.indexOf(property) &gt;= 0\\n )\\n ) {\\n console.warn(\\n [\\n 'Popper: Detected CSS transitions on at least one of the following',\\n 'CSS properties: \\\"transform\\\", \\\"top\\\", \\\"right\\\", \\\"bottom\\\", \\\"left\\\".',\\n '\\\\n\\\\n',\\n 'Disable the \\\"computeStyles\\\" modifier\\\\'s `adaptive` option to allow',\\n 'for smooth transitions, or remove these properties from the CSS',\\n 'transition declaration on the popper element if only transitioning',\\n 'opacity or background-color for example.',\\n '\\\\n\\\\n',\\n 'We recommend using the popper element as a wrapper around an inner',\\n 'element that can have any CSS property transitioned for animations.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n const commonStyles = {\\n placement: getBasePlacement(state.placement),\\n variation: getVariation(state.placement),\\n popper: state.elements.popper,\\n popperRect: state.rects.popper,\\n gpuAcceleration,\\n isFixed: state.options.strategy === 'fixed',\\n };\\n\\n if (state.modifiersData.popperOffsets != null) {\\n state.styles.popper = {\\n ...state.styles.popper,\\n ...mapToStyles({\\n ...commonStyles,\\n offsets: state.modifiersData.popperOffsets,\\n position: state.options.strategy,\\n adaptive,\\n roundOffsets,\\n }),\\n };\\n }\\n\\n if (state.modifiersData.arrow != null) {\\n state.styles.arrow = {\\n ...state.styles.arrow,\\n ...mapToStyles({\\n ...commonStyles,\\n offsets: state.modifiersData.arrow,\\n position: 'absolute',\\n adaptive: false,\\n roundOffsets,\\n }),\\n };\\n }\\n\\n state.attributes.popper = {\\n ...state.attributes.popper,\\n 'data-popper-placement': state.placement,\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ComputeStylesModifier = Modifier&lt;'computeStyles', Options&gt;;\\nexport default ({\\n name: 'computeStyles',\\n enabled: true,\\n phase: 'beforeWrite',\\n fn: computeStyles,\\n data: {},\\n}: ComputeStylesModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier, ModifierArguments } from '../types';\\nimport getNodeName from '../dom-utils/getNodeName';\\nimport { isHTMLElement } from '../dom-utils/instanceOf';\\n\\n// This modifier takes the styles prepared by the `computeStyles` modifier\\n// and applies them to the HTMLElements such as popper and arrow\\n\\nfunction applyStyles({ state }: ModifierArguments&lt;{||}&gt;) {\\n Object.keys(state.elements).forEach((name) =&gt; {\\n const style = state.styles[name] || {};\\n\\n const attributes = state.attributes[name] || {};\\n const element = state.elements[name];\\n\\n // arrow is optional + virtual elements\\n if (!isHTMLElement(element) || !getNodeName(element)) {\\n return;\\n }\\n\\n // Flow doesn't support to extend this property, but it's the most\\n // effective way to apply styles to an HTMLElement\\n // $FlowFixMe[cannot-write]\\n Object.assign(element.style, style);\\n\\n Object.keys(attributes).forEach((name) =&gt; {\\n const value = attributes[name];\\n if (value === false) {\\n element.removeAttribute(name);\\n } else {\\n element.setAttribute(name, value === true ? '' : value);\\n }\\n });\\n });\\n}\\n\\nfunction effect({ state }: ModifierArguments&lt;{||}&gt;) {\\n const initialStyles = {\\n popper: {\\n position: state.options.strategy,\\n left: '0',\\n top: '0',\\n margin: '0',\\n },\\n arrow: {\\n position: 'absolute',\\n },\\n reference: {},\\n };\\n\\n Object.assign(state.elements.popper.style, initialStyles.popper);\\n state.styles = initialStyles;\\n\\n if (state.elements.arrow) {\\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\\n }\\n\\n return () =&gt; {\\n Object.keys(state.elements).forEach((name) =&gt; {\\n const element = state.elements[name];\\n const attributes = state.attributes[name] || {};\\n\\n const styleProperties = Object.keys(\\n state.styles.hasOwnProperty(name)\\n ? state.styles[name]\\n : initialStyles[name]\\n );\\n\\n // Set all values to an empty string to unset them\\n const style = styleProperties.reduce((style, property) =&gt; {\\n style[property] = '';\\n return style;\\n }, {});\\n\\n // arrow is optional + virtual elements\\n if (!isHTMLElement(element) || !getNodeName(element)) {\\n return;\\n }\\n\\n Object.assign(element.style, style);\\n\\n Object.keys(attributes).forEach((attribute) =&gt; {\\n element.removeAttribute(attribute);\\n });\\n });\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ApplyStylesModifier = Modifier&lt;'applyStyles', {||}&gt;;\\nexport default ({\\n name: 'applyStyles',\\n enabled: true,\\n phase: 'write',\\n fn: applyStyles,\\n effect,\\n requires: ['computeStyles'],\\n}: ApplyStylesModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\nimport type { ModifierArguments, Modifier, Rect, Offsets } from '../types';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport { top, left, right, placements } from '../enums';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type OffsetsFunction = ({\\n popper: Rect,\\n reference: Rect,\\n placement: Placement,\\n}) =&gt; [?number, ?number];\\n\\ntype Offset = OffsetsFunction | [?number, ?number];\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n offset: Offset,\\n};\\n\\nexport function distanceAndSkiddingToXY(\\n placement: Placement,\\n rects: { popper: Rect, reference: Rect },\\n offset: Offset\\n): Offsets {\\n const basePlacement = getBasePlacement(placement);\\n const invertDistance = [left, top].indexOf(basePlacement) &gt;= 0 ? -1 : 1;\\n\\n let [skidding, distance] =\\n typeof offset === 'function'\\n ? offset({\\n ...rects,\\n placement,\\n })\\n : offset;\\n\\n skidding = skidding || 0;\\n distance = (distance || 0) * invertDistance;\\n\\n return [left, right].indexOf(basePlacement) &gt;= 0\\n ? { x: distance, y: skidding }\\n : { x: skidding, y: distance };\\n}\\n\\nfunction offset({ state, options, name }: ModifierArguments&lt;Options&gt;) {\\n const { offset = [0, 0] } = options;\\n\\n const data = placements.reduce((acc, placement) =&gt; {\\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\\n return acc;\\n }, {});\\n\\n const { x, y } = data[state.placement];\\n\\n if (state.modifiersData.popperOffsets != null) {\\n state.modifiersData.popperOffsets.x += x;\\n state.modifiersData.popperOffsets.y += y;\\n }\\n\\n state.modifiersData[name] = data;\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type OffsetModifier = Modifier&lt;'offset', Options&gt;;\\nexport default ({\\n name: 'offset',\\n enabled: true,\\n phase: 'main',\\n requires: ['popperOffsets'],\\n fn: offset,\\n}: OffsetModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nconst hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\\n\\nexport default function getOppositePlacement(placement: Placement): Placement {\\n return (placement.replace(\\n /left|right|bottom|top/g,\\n matched =&gt; hash[matched]\\n ): any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement } from '../enums';\\n\\nconst hash = { start: 'end', end: 'start' };\\n\\nexport default function getOppositeVariationPlacement(\\n placement: Placement\\n): Placement {\\n return (placement.replace(/start|end/g, matched =&gt; hash[matched]): any);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { State, Padding } from '../types';\\nimport type {\\n Placement,\\n ComputedPlacement,\\n Boundary,\\n RootBoundary,\\n} from '../enums';\\nimport getVariation from './getVariation';\\nimport {\\n variationPlacements,\\n basePlacements,\\n placements as allPlacements,\\n} from '../enums';\\nimport detectOverflow from './detectOverflow';\\nimport getBasePlacement from './getBasePlacement';\\n\\ntype Options = {\\n placement: Placement,\\n padding: Padding,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n flipVariations: boolean,\\n allowedAutoPlacements?: Array&lt;Placement&gt;,\\n};\\n\\ntype OverflowsMap = { [ComputedPlacement]: number };\\n\\nexport default function computeAutoPlacement(\\n state: $Shape&lt;State&gt;,\\n options: Options = {}\\n): Array&lt;ComputedPlacement&gt; {\\n const {\\n placement,\\n boundary,\\n rootBoundary,\\n padding,\\n flipVariations,\\n allowedAutoPlacements = allPlacements,\\n } = options;\\n\\n const variation = getVariation(placement);\\n\\n const placements = variation\\n ? flipVariations\\n ? variationPlacements\\n : variationPlacements.filter(\\n (placement) =&gt; getVariation(placement) === variation\\n )\\n : basePlacements;\\n\\n let allowedPlacements = placements.filter(\\n (placement) =&gt; allowedAutoPlacements.indexOf(placement) &gt;= 0\\n );\\n\\n if (allowedPlacements.length === 0) {\\n allowedPlacements = placements;\\n\\n if (__DEV__) {\\n console.error(\\n [\\n 'Popper: The `allowedAutoPlacements` option did not allow any',\\n 'placements. Ensure the `placement` option matches the variation',\\n 'of the allowed placements.',\\n 'For example, \\\"auto\\\" cannot be used to allow \\\"bottom-start\\\".',\\n 'Use \\\"auto-start\\\" instead.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\\n const overflows: OverflowsMap = allowedPlacements.reduce((acc, placement) =&gt; {\\n acc[placement] = detectOverflow(state, {\\n placement,\\n boundary,\\n rootBoundary,\\n padding,\\n })[getBasePlacement(placement)];\\n\\n return acc;\\n }, {});\\n\\n return Object.keys(overflows).sort((a, b) =&gt; overflows[a] - overflows[b]);\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Placement, Boundary, RootBoundary } from '../enums';\\nimport type { ModifierArguments, Modifier, Padding } from '../types';\\nimport getOppositePlacement from '../utils/getOppositePlacement';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getOppositeVariationPlacement from '../utils/getOppositeVariationPlacement';\\nimport detectOverflow from '../utils/detectOverflow';\\nimport computeAutoPlacement from '../utils/computeAutoPlacement';\\nimport { bottom, top, start, right, left, auto } from '../enums';\\nimport getVariation from '../utils/getVariation';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n mainAxis: boolean,\\n altAxis: boolean,\\n fallbackPlacements: Array&lt;Placement&gt;,\\n padding: Padding,\\n boundary: Boundary,\\n rootBoundary: RootBoundary,\\n altBoundary: boolean,\\n flipVariations: boolean,\\n allowedAutoPlacements: Array&lt;Placement&gt;,\\n};\\n\\nfunction getExpandedFallbackPlacements(placement: Placement): Array&lt;Placement&gt; {\\n if (getBasePlacement(placement) === auto) {\\n return [];\\n }\\n\\n const oppositePlacement = getOppositePlacement(placement);\\n\\n return [\\n getOppositeVariationPlacement(placement),\\n oppositePlacement,\\n getOppositeVariationPlacement(oppositePlacement),\\n ];\\n}\\n\\nfunction flip({ state, options, name }: ModifierArguments&lt;Options&gt;) {\\n if (state.modifiersData[name]._skip) {\\n return;\\n }\\n\\n const {\\n mainAxis: checkMainAxis = true,\\n altAxis: checkAltAxis = true,\\n fallbackPlacements: specifiedFallbackPlacements,\\n padding,\\n boundary,\\n rootBoundary,\\n altBoundary,\\n flipVariations = true,\\n allowedAutoPlacements,\\n } = options;\\n\\n const preferredPlacement = state.options.placement;\\n const basePlacement = getBasePlacement(preferredPlacement);\\n const isBasePlacement = basePlacement === preferredPlacement;\\n\\n const fallbackPlacements =\\n specifiedFallbackPlacements ||\\n (isBasePlacement || !flipVariations\\n ? [getOppositePlacement(preferredPlacement)]\\n : getExpandedFallbackPlacements(preferredPlacement));\\n\\n const placements = [preferredPlacement, ...fallbackPlacements].reduce(\\n (acc, placement) =&gt; {\\n return acc.concat(\\n getBasePlacement(placement) === auto\\n ? computeAutoPlacement(state, {\\n placement,\\n boundary,\\n rootBoundary,\\n padding,\\n flipVariations,\\n allowedAutoPlacements,\\n })\\n : placement\\n );\\n },\\n []\\n );\\n\\n const referenceRect = state.rects.reference;\\n const popperRect = state.rects.popper;\\n\\n const checksMap = new Map();\\n let makeFallbackChecks = true;\\n let firstFittingPlacement = placements[0];\\n\\n for (let i = 0; i &lt; placements.length; i++) {\\n const placement = placements[i];\\n const basePlacement = getBasePlacement(placement);\\n const isStartVariation = getVariation(placement) === start;\\n const isVertical = [top, bottom].indexOf(basePlacement) &gt;= 0;\\n const len = isVertical ? 'width' : 'height';\\n\\n const overflow = detectOverflow(state, {\\n placement,\\n boundary,\\n rootBoundary,\\n altBoundary,\\n padding,\\n });\\n\\n let mainVariationSide: any = isVertical\\n ? isStartVariation\\n ? right\\n : left\\n : isStartVariation\\n ? bottom\\n : top;\\n\\n if (referenceRect[len] &gt; popperRect[len]) {\\n mainVariationSide = getOppositePlacement(mainVariationSide);\\n }\\n\\n const altVariationSide: any = getOppositePlacement(mainVariationSide);\\n\\n const checks = [];\\n\\n if (checkMainAxis) {\\n checks.push(overflow[basePlacement] &lt;= 0);\\n }\\n\\n if (checkAltAxis) {\\n checks.push(\\n overflow[mainVariationSide] &lt;= 0,\\n overflow[altVariationSide] &lt;= 0\\n );\\n }\\n\\n if (checks.every((check) =&gt; check)) {\\n firstFittingPlacement = placement;\\n makeFallbackChecks = false;\\n break;\\n }\\n\\n checksMap.set(placement, checks);\\n }\\n\\n if (makeFallbackChecks) {\\n // `2` may be desired in some cases \u2013 research later\\n const numberOfChecks = flipVariations ? 3 : 1;\\n\\n for (let i = numberOfChecks; i &gt; 0; i--) {\\n const fittingPlacement = placements.find((placement) =&gt; {\\n const checks = checksMap.get(placement);\\n if (checks) {\\n return checks.slice(0, i).every((check) =&gt; check);\\n }\\n });\\n\\n if (fittingPlacement) {\\n firstFittingPlacement = fittingPlacement;\\n break;\\n }\\n }\\n }\\n\\n if (state.placement !== firstFittingPlacement) {\\n state.modifiersData[name]._skip = true;\\n state.placement = firstFittingPlacement;\\n state.reset = true;\\n }\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type FlipModifier = Modifier&lt;'flip', Options&gt;;\\nexport default ({\\n name: 'flip',\\n enabled: true,\\n phase: 'main',\\n fn: flip,\\n requiresIfExists: ['offset'],\\n data: { _skip: false },\\n}: FlipModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { max as mathMax, min as mathMin } from './math';\\n\\nexport function within(min: number, value: number, max: number): number {\\n return mathMax(min, mathMin(value, max));\\n}\\n\\nexport function withinMaxClamp(min: number, value: number, max: number) {\\n const v = within(min, value, max);\\n return v &gt; max ? max : v;\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { top, left, right, bottom, start } from '../enums';\\nimport type { Placement, Boundary, RootBoundary } from '../enums';\\nimport type { Rect, ModifierArguments, Modifier, Padding } from '../types';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getMainAxisFromPlacement from '../utils/getMainAxisFromPlacement';\\nimport getAltAxis from '../utils/getAltAxis';\\nimport { within, withinMaxClamp } from '../utils/within';\\nimport getLayoutRect from '../dom-utils/getLayoutRect';\\nimport getOffsetParent from '../dom-utils/getOffsetParent';\\nimport detectOverflow from '../utils/detectOverflow';\\nimport getVariation from '../utils/getVariation';\\nimport getFreshSideObject from '../utils/getFreshSideObject';\\nimport { min as mathMin, max as mathMax } from '../utils/math';\\n\\ntype TetherOffset =\\n | (({\\n popper: Rect,\\n reference: Rect,\\n placement: Placement,\\n }) =&gt; number | { mainAxis: number, altAxis: number })\\n | number\\n | { mainAxis: number, altAxis: number };\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n /* Prevents boundaries overflow on the main axis */\\n mainAxis: boolean,\\n /* Prevents boundaries overflow on the alternate axis */\\n altAxis: boolean,\\n /* The area to check the popper is overflowing in */\\n boundary: Boundary,\\n /* If the popper is not overflowing the main area, fallback to this one */\\n rootBoundary: RootBoundary,\\n /* Use the reference's \\\"clippingParents\\\" boundary context */\\n altBoundary: boolean,\\n /**\\n * Allows the popper to overflow from its boundaries to keep it near its\\n * reference element\\n */\\n tether: boolean,\\n /* Offsets when the `tether` option should activate */\\n tetherOffset: TetherOffset,\\n /* Sets a padding to the provided boundary */\\n padding: Padding,\\n};\\n\\nfunction preventOverflow({ state, options, name }: ModifierArguments&lt;Options&gt;) {\\n const {\\n mainAxis: checkMainAxis = true,\\n altAxis: checkAltAxis = false,\\n boundary,\\n rootBoundary,\\n altBoundary,\\n padding,\\n tether = true,\\n tetherOffset = 0,\\n } = options;\\n\\n const overflow = detectOverflow(state, {\\n boundary,\\n rootBoundary,\\n padding,\\n altBoundary,\\n });\\n const basePlacement = getBasePlacement(state.placement);\\n const variation = getVariation(state.placement);\\n const isBasePlacement = !variation;\\n const mainAxis = getMainAxisFromPlacement(basePlacement);\\n const altAxis = getAltAxis(mainAxis);\\n const popperOffsets = state.modifiersData.popperOffsets;\\n const referenceRect = state.rects.reference;\\n const popperRect = state.rects.popper;\\n const tetherOffsetValue =\\n typeof tetherOffset === 'function'\\n ? tetherOffset({\\n ...state.rects,\\n placement: state.placement,\\n })\\n : tetherOffset;\\n const normalizedTetherOffsetValue =\\n typeof tetherOffsetValue === 'number'\\n ? { mainAxis: tetherOffsetValue, altAxis: tetherOffsetValue }\\n : { mainAxis: 0, altAxis: 0, ...tetherOffsetValue };\\n const offsetModifierState = state.modifiersData.offset\\n ? state.modifiersData.offset[state.placement]\\n : null;\\n\\n const data = { x: 0, y: 0 };\\n\\n if (!popperOffsets) {\\n return;\\n }\\n\\n if (checkMainAxis) {\\n const mainSide = mainAxis === 'y' ? top : left;\\n const altSide = mainAxis === 'y' ? bottom : right;\\n const len = mainAxis === 'y' ? 'height' : 'width';\\n const offset = popperOffsets[mainAxis];\\n\\n const min = offset + overflow[mainSide];\\n const max = offset - overflow[altSide];\\n\\n const additive = tether ? -popperRect[len] / 2 : 0;\\n\\n const minLen = variation === start ? referenceRect[len] : popperRect[len];\\n const maxLen = variation === start ? -popperRect[len] : -referenceRect[len];\\n\\n // We need to include the arrow in the calculation so the arrow doesn't go\\n // outside the reference bounds\\n const arrowElement = state.elements.arrow;\\n const arrowRect =\\n tether &amp;&amp; arrowElement\\n ? getLayoutRect(arrowElement)\\n : { width: 0, height: 0 };\\n const arrowPaddingObject = state.modifiersData['arrow#persistent']\\n ? state.modifiersData['arrow#persistent'].padding\\n : getFreshSideObject();\\n const arrowPaddingMin = arrowPaddingObject[mainSide];\\n const arrowPaddingMax = arrowPaddingObject[altSide];\\n\\n // If the reference length is smaller than the arrow length, we don't want\\n // to include its full size in the calculation. If the reference is small\\n // and near the edge of a boundary, the popper can overflow even if the\\n // reference is not overflowing as well (e.g. virtual elements with no\\n // width or height)\\n const arrowLen = within(0, referenceRect[len], arrowRect[len]);\\n\\n const minOffset = isBasePlacement\\n ? referenceRect[len] / 2 -\\n additive -\\n arrowLen -\\n arrowPaddingMin -\\n normalizedTetherOffsetValue.mainAxis\\n : minLen -\\n arrowLen -\\n arrowPaddingMin -\\n normalizedTetherOffsetValue.mainAxis;\\n const maxOffset = isBasePlacement\\n ? -referenceRect[len] / 2 +\\n additive +\\n arrowLen +\\n arrowPaddingMax +\\n normalizedTetherOffsetValue.mainAxis\\n : maxLen +\\n arrowLen +\\n arrowPaddingMax +\\n normalizedTetherOffsetValue.mainAxis;\\n\\n const arrowOffsetParent =\\n state.elements.arrow &amp;&amp; getOffsetParent(state.elements.arrow);\\n const clientOffset = arrowOffsetParent\\n ? mainAxis === 'y'\\n ? arrowOffsetParent.clientTop || 0\\n : arrowOffsetParent.clientLeft || 0\\n : 0;\\n\\n const offsetModifierValue = offsetModifierState?.[mainAxis] ?? 0;\\n const tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\\n const tetherMax = offset + maxOffset - offsetModifierValue;\\n\\n const preventedOffset = within(\\n tether ? mathMin(min, tetherMin) : min,\\n offset,\\n tether ? mathMax(max, tetherMax) : max\\n );\\n\\n popperOffsets[mainAxis] = preventedOffset;\\n data[mainAxis] = preventedOffset - offset;\\n }\\n\\n if (checkAltAxis) {\\n const mainSide = mainAxis === 'x' ? top : left;\\n const altSide = mainAxis === 'x' ? bottom : right;\\n const offset = popperOffsets[altAxis];\\n\\n const len = altAxis === 'y' ? 'height' : 'width';\\n\\n const min = offset + overflow[mainSide];\\n const max = offset - overflow[altSide];\\n\\n const isOriginSide = [top, left].indexOf(basePlacement) !== -1;\\n\\n const offsetModifierValue = offsetModifierState?.[altAxis] ?? 0;\\n const tetherMin = isOriginSide\\n ? min\\n : offset -\\n referenceRect[len] -\\n popperRect[len] -\\n offsetModifierValue +\\n normalizedTetherOffsetValue.altAxis;\\n const tetherMax = isOriginSide\\n ? offset +\\n referenceRect[len] +\\n popperRect[len] -\\n offsetModifierValue -\\n normalizedTetherOffsetValue.altAxis\\n : max;\\n\\n const preventedOffset =\\n tether &amp;&amp; isOriginSide\\n ? withinMaxClamp(tetherMin, offset, tetherMax)\\n : within(tether ? tetherMin : min, offset, tether ? tetherMax : max);\\n\\n popperOffsets[altAxis] = preventedOffset;\\n data[altAxis] = preventedOffset - offset;\\n }\\n\\n state.modifiersData[name] = data;\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type PreventOverflowModifier = Modifier&lt;'preventOverflow', Options&gt;;\\nexport default ({\\n name: 'preventOverflow',\\n enabled: true,\\n phase: 'main',\\n fn: preventOverflow,\\n requiresIfExists: ['offset'],\\n}: PreventOverflowModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\n\\nexport default function getAltAxis(axis: 'x' | 'y'): 'x' | 'y' {\\n return axis === 'x' ? 'y' : 'x';\\n}\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type { Modifier, ModifierArguments, Padding, Rect } from '../types';\\nimport type { Placement } from '../enums';\\nimport getBasePlacement from '../utils/getBasePlacement';\\nimport getLayoutRect from '../dom-utils/getLayoutRect';\\nimport contains from '../dom-utils/contains';\\nimport getOffsetParent from '../dom-utils/getOffsetParent';\\nimport getMainAxisFromPlacement from '../utils/getMainAxisFromPlacement';\\nimport { within } from '../utils/within';\\nimport mergePaddingObject from '../utils/mergePaddingObject';\\nimport expandToHashMap from '../utils/expandToHashMap';\\nimport { left, right, basePlacements, top, bottom } from '../enums';\\nimport { isHTMLElement } from '../dom-utils/instanceOf';\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type Options = {\\n element: HTMLElement | string | null,\\n padding:\\n | Padding\\n | (({|\\n popper: Rect,\\n reference: Rect,\\n placement: Placement,\\n |}) =&gt; Padding),\\n};\\n\\nconst toPaddingObject = (padding, state) =&gt; {\\n padding =\\n typeof padding === 'function'\\n ? padding({ ...state.rects, placement: state.placement })\\n : padding;\\n\\n return mergePaddingObject(\\n typeof padding !== 'number'\\n ? padding\\n : expandToHashMap(padding, basePlacements)\\n );\\n};\\n\\nfunction arrow({ state, name, options }: ModifierArguments&lt;Options&gt;) {\\n const arrowElement = state.elements.arrow;\\n const popperOffsets = state.modifiersData.popperOffsets;\\n const basePlacement = getBasePlacement(state.placement);\\n const axis = getMainAxisFromPlacement(basePlacement);\\n const isVertical = [left, right].indexOf(basePlacement) &gt;= 0;\\n const len = isVertical ? 'height' : 'width';\\n\\n if (!arrowElement || !popperOffsets) {\\n return;\\n }\\n\\n const paddingObject = toPaddingObject(options.padding, state);\\n const arrowRect = getLayoutRect(arrowElement);\\n const minProp = axis === 'y' ? top : left;\\n const maxProp = axis === 'y' ? bottom : right;\\n\\n const endDiff =\\n state.rects.reference[len] +\\n state.rects.reference[axis] -\\n popperOffsets[axis] -\\n state.rects.popper[len];\\n const startDiff = popperOffsets[axis] - state.rects.reference[axis];\\n\\n const arrowOffsetParent = getOffsetParent(arrowElement);\\n const clientSize = arrowOffsetParent\\n ? axis === 'y'\\n ? arrowOffsetParent.clientHeight || 0\\n : arrowOffsetParent.clientWidth || 0\\n : 0;\\n\\n const centerToReference = endDiff / 2 - startDiff / 2;\\n\\n // Make sure the arrow doesn't overflow the popper if the center point is\\n // outside of the popper bounds\\n const min = paddingObject[minProp];\\n const max = clientSize - arrowRect[len] - paddingObject[maxProp];\\n const center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\\n const offset = within(min, center, max);\\n\\n // Prevents breaking syntax highlighting...\\n const axisProp: string = axis;\\n state.modifiersData[name] = {\\n [axisProp]: offset,\\n centerOffset: offset - center,\\n };\\n}\\n\\nfunction effect({ state, options }: ModifierArguments&lt;Options&gt;) {\\n let { element: arrowElement = '[data-popper-arrow]' } = options;\\n\\n if (arrowElement == null) {\\n return;\\n }\\n\\n // CSS selector\\n if (typeof arrowElement === 'string') {\\n arrowElement = state.elements.popper.querySelector(arrowElement);\\n\\n if (!arrowElement) {\\n return;\\n }\\n }\\n\\n if (__DEV__) {\\n if (!isHTMLElement(arrowElement)) {\\n console.error(\\n [\\n 'Popper: \\\"arrow\\\" element must be an HTMLElement (not an SVGElement).',\\n 'To use an SVG arrow, wrap it in an HTMLElement that will be used as',\\n 'the arrow.',\\n ].join(' ')\\n );\\n }\\n }\\n\\n if (!contains(state.elements.popper, arrowElement)) {\\n if (__DEV__) {\\n console.error(\\n [\\n 'Popper: \\\"arrow\\\" modifier\\\\'s `element` must be a child of the popper',\\n 'element.',\\n ].join(' ')\\n );\\n }\\n\\n return;\\n }\\n\\n state.elements.arrow = arrowElement;\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type ArrowModifier = Modifier&lt;'arrow', Options&gt;;\\nexport default ({\\n name: 'arrow',\\n enabled: true,\\n phase: 'main',\\n fn: arrow,\\n effect,\\n requires: ['popperOffsets'],\\n requiresIfExists: ['preventOverflow'],\\n}: ArrowModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport type {\\n ModifierArguments,\\n Modifier,\\n Rect,\\n SideObject,\\n Offsets,\\n} from '../types';\\nimport { top, bottom, left, right } from '../enums';\\nimport detectOverflow from '../utils/detectOverflow';\\n\\nfunction getSideOffsets(\\n overflow: SideObject,\\n rect: Rect,\\n preventedOffsets: Offsets = { x: 0, y: 0 }\\n): SideObject {\\n return {\\n top: overflow.top - rect.height - preventedOffsets.y,\\n right: overflow.right - rect.width + preventedOffsets.x,\\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\\n left: overflow.left - rect.width - preventedOffsets.x,\\n };\\n}\\n\\nfunction isAnySideFullyClipped(overflow: SideObject): boolean {\\n return [top, right, bottom, left].some((side) =&gt; overflow[side] &gt;= 0);\\n}\\n\\nfunction hide({ state, name }: ModifierArguments&lt;{||}&gt;) {\\n const referenceRect = state.rects.reference;\\n const popperRect = state.rects.popper;\\n const preventedOffsets = state.modifiersData.preventOverflow;\\n\\n const referenceOverflow = detectOverflow(state, {\\n elementContext: 'reference',\\n });\\n const popperAltOverflow = detectOverflow(state, {\\n altBoundary: true,\\n });\\n\\n const referenceClippingOffsets = getSideOffsets(\\n referenceOverflow,\\n referenceRect\\n );\\n const popperEscapeOffsets = getSideOffsets(\\n popperAltOverflow,\\n popperRect,\\n preventedOffsets\\n );\\n\\n const isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\\n const hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\\n\\n state.modifiersData[name] = {\\n referenceClippingOffsets,\\n popperEscapeOffsets,\\n isReferenceHidden,\\n hasPopperEscaped,\\n };\\n\\n state.attributes.popper = {\\n ...state.attributes.popper,\\n 'data-popper-reference-hidden': isReferenceHidden,\\n 'data-popper-escaped': hasPopperEscaped,\\n };\\n}\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport type HideModifier = Modifier&lt;'hide', {||}&gt;;\\nexport default ({\\n name: 'hide',\\n enabled: true,\\n phase: 'main',\\n requiresIfExists: ['preventOverflow'],\\n fn: hide,\\n}: HideModifier);\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { popperGenerator, detectOverflow } from './createPopper';\\n\\nimport eventListeners from './modifiers/eventListeners';\\nimport popperOffsets from './modifiers/popperOffsets';\\nimport computeStyles from './modifiers/computeStyles';\\nimport applyStyles from './modifiers/applyStyles';\\n\\nexport type * from './types';\\n\\nconst defaultModifiers = [\\n eventListeners,\\n popperOffsets,\\n computeStyles,\\n applyStyles,\\n];\\n\\nconst createPopper = popperGenerator({ defaultModifiers });\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\\n\"</span>,<span class=\"code-string\">\"// @flow\\nimport { popperGenerator, detectOverflow } from './createPopper';\\n\\nimport eventListeners from './modifiers/eventListeners';\\nimport popperOffsets from './modifiers/popperOffsets';\\nimport computeStyles from './modifiers/computeStyles';\\nimport applyStyles from './modifiers/applyStyles';\\nimport offset from './modifiers/offset';\\nimport flip from './modifiers/flip';\\nimport preventOverflow from './modifiers/preventOverflow';\\nimport arrow from './modifiers/arrow';\\nimport hide from './modifiers/hide';\\n\\nexport type * from './types';\\n\\nconst defaultModifiers = [\\n eventListeners,\\n popperOffsets,\\n computeStyles,\\n applyStyles,\\n offset,\\n flip,\\n preventOverflow,\\n arrow,\\n hide,\\n];\\n\\nconst createPopper = popperGenerator({ defaultModifiers });\\n\\n// eslint-disable-next-line import/no-unused-modules\\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\\n// eslint-disable-next-line import/no-unused-modules\\nexport { createPopper as createPopperLite } from './popper-lite';\\n// eslint-disable-next-line import/no-unused-modules\\nexport * from './modifiers';\\n\"</span>],<span class=\"code-attr\">\"names\"</span>:[<span class=\"code-string\">\"getWindow\"</span>,<span class=\"code-string\">\"node\"</span>,<span class=\"code-string\">\"window\"</span>,<span class=\"code-string\">\"toString\"</span>,<span class=\"code-string\">\"ownerDocument\"</span>,<span class=\"code-string\">\"defaultView\"</span>,<span class=\"code-string\">\"isElement\"</span>,<span class=\"code-string\">\"Element\"</span>,<span class=\"code-string\">\"isHTMLElement\"</span>,<span class=\"code-string\">\"HTMLElement\"</span>,<span class=\"code-string\">\"isShadowRoot\"</span>,<span class=\"code-string\">\"ShadowRoot\"</span>,<span class=\"code-string\">\"max\"</span>,<span class=\"code-string\">\"Math\"</span>,<span class=\"code-string\">\"min\"</span>,<span class=\"code-string\">\"round\"</span>,<span class=\"code-string\">\"getBoundingClientRect\"</span>,<span class=\"code-string\">\"element\"</span>,<span class=\"code-string\">\"includeScale\"</span>,<span class=\"code-string\">\"rect\"</span>,<span class=\"code-string\">\"scaleX\"</span>,<span class=\"code-string\">\"scaleY\"</span>,<span class=\"code-string\">\"offsetHeight\"</span>,<span class=\"code-string\">\"offsetWidth\"</span>,<span class=\"code-string\">\"width\"</span>,<span class=\"code-string\">\"height\"</span>,<span class=\"code-string\">\"top\"</span>,<span class=\"code-string\">\"right\"</span>,<span class=\"code-string\">\"bottom\"</span>,<span class=\"code-string\">\"left\"</span>,<span class=\"code-string\">\"x\"</span>,<span class=\"code-string\">\"y\"</span>,<span class=\"code-string\">\"getWindowScroll\"</span>,<span class=\"code-string\">\"win\"</span>,<span class=\"code-string\">\"scrollLeft\"</span>,<span class=\"code-string\">\"pageXOffset\"</span>,<span class=\"code-string\">\"scrollTop\"</span>,<span class=\"code-string\">\"pageYOffset\"</span>,<span class=\"code-string\">\"getNodeName\"</span>,<span class=\"code-string\">\"nodeName\"</span>,<span class=\"code-string\">\"toLowerCase\"</span>,<span class=\"code-string\">\"getDocumentElement\"</span>,<span class=\"code-string\">\"document\"</span>,<span class=\"code-string\">\"documentElement\"</span>,<span class=\"code-string\">\"getWindowScrollBarX\"</span>,<span class=\"code-string\">\"getComputedStyle\"</span>,<span class=\"code-string\">\"isScrollParent\"</span>,<span class=\"code-string\">\"overflow\"</span>,<span class=\"code-string\">\"overflowX\"</span>,<span class=\"code-string\">\"overflowY\"</span>,<span class=\"code-string\">\"test\"</span>,<span class=\"code-string\">\"getCompositeRect\"</span>,<span class=\"code-string\">\"elementOrVirtualElement\"</span>,<span class=\"code-string\">\"offsetParent\"</span>,<span class=\"code-string\">\"isFixed\"</span>,<span class=\"code-string\">\"isOffsetParentAnElement\"</span>,<span class=\"code-string\">\"offsetParentIsScaled\"</span>,<span class=\"code-string\">\"isElementScaled\"</span>,<span class=\"code-string\">\"scroll\"</span>,<span class=\"code-string\">\"offsets\"</span>,<span class=\"code-string\">\"clientLeft\"</span>,<span class=\"code-string\">\"clientTop\"</span>,<span class=\"code-string\">\"getLayoutRect\"</span>,<span class=\"code-string\">\"clientRect\"</span>,<span class=\"code-string\">\"abs\"</span>,<span class=\"code-string\">\"offsetLeft\"</span>,<span class=\"code-string\">\"offsetTop\"</span>,<span class=\"code-string\">\"getParentNode\"</span>,<span class=\"code-string\">\"assignedSlot\"</span>,<span class=\"code-string\">\"parentNode\"</span>,<span class=\"code-string\">\"host\"</span>,<span class=\"code-string\">\"getScrollParent\"</span>,<span class=\"code-string\">\"indexOf\"</span>,<span class=\"code-string\">\"body\"</span>,<span class=\"code-string\">\"listScrollParents\"</span>,<span class=\"code-string\">\"list\"</span>,<span class=\"code-string\">\"scrollParent\"</span>,<span class=\"code-string\">\"isBody\"</span>,<span class=\"code-string\">\"_element$ownerDocumen\"</span>,<span class=\"code-string\">\"target\"</span>,<span class=\"code-string\">\"concat\"</span>,<span class=\"code-string\">\"visualViewport\"</span>,<span class=\"code-string\">\"updatedList\"</span>,<span class=\"code-string\">\"isTableElement\"</span>,<span class=\"code-string\">\"getTrueOffsetParent\"</span>,<span class=\"code-string\">\"position\"</span>,<span class=\"code-string\">\"getOffsetParent\"</span>,<span class=\"code-string\">\"isFirefox\"</span>,<span class=\"code-string\">\"navigator\"</span>,<span class=\"code-string\">\"userAgent\"</span>,<span class=\"code-string\">\"currentNode\"</span>,<span class=\"code-string\">\"css\"</span>,<span class=\"code-string\">\"transform\"</span>,<span class=\"code-string\">\"perspective\"</span>,<span class=\"code-string\">\"contain\"</span>,<span class=\"code-string\">\"willChange\"</span>,<span class=\"code-string\">\"filter\"</span>,<span class=\"code-string\">\"getContainingBlock\"</span>,<span class=\"code-string\">\"auto\"</span>,<span class=\"code-string\">\"basePlacements\"</span>,<span class=\"code-string\">\"start\"</span>,<span class=\"code-string\">\"end\"</span>,<span class=\"code-string\">\"viewport\"</span>,<span class=\"code-string\">\"popper\"</span>,<span class=\"code-string\">\"variationPlacements\"</span>,<span class=\"code-string\">\"reduce\"</span>,<span class=\"code-string\">\"acc\"</span>,<span class=\"code-string\">\"placement\"</span>,<span class=\"code-string\">\"placements\"</span>,<span class=\"code-string\">\"modifierPhases\"</span>,<span class=\"code-string\">\"order\"</span>,<span class=\"code-string\">\"modifiers\"</span>,<span class=\"code-string\">\"map\"</span>,<span class=\"code-string\">\"Map\"</span>,<span class=\"code-string\">\"visited\"</span>,<span class=\"code-string\">\"Set\"</span>,<span class=\"code-string\">\"result\"</span>,<span class=\"code-string\">\"sort\"</span>,<span class=\"code-string\">\"modifier\"</span>,<span class=\"code-string\">\"add\"</span>,<span class=\"code-string\">\"name\"</span>,<span class=\"code-string\">\"requires\"</span>,<span class=\"code-string\">\"requiresIfExists\"</span>,<span class=\"code-string\">\"forEach\"</span>,<span class=\"code-string\">\"dep\"</span>,<span class=\"code-string\">\"has\"</span>,<span class=\"code-string\">\"depModifier\"</span>,<span class=\"code-string\">\"get\"</span>,<span class=\"code-string\">\"push\"</span>,<span class=\"code-string\">\"set\"</span>,<span class=\"code-string\">\"getBasePlacement\"</span>,<span class=\"code-string\">\"split\"</span>,<span class=\"code-string\">\"contains\"</span>,<span class=\"code-string\">\"parent\"</span>,<span class=\"code-string\">\"child\"</span>,<span class=\"code-string\">\"rootNode\"</span>,<span class=\"code-string\">\"getRootNode\"</span>,<span class=\"code-string\">\"next\"</span>,<span class=\"code-string\">\"isSameNode\"</span>,<span class=\"code-string\">\"rectToClientRect\"</span>,<span class=\"code-string\">\"getClientRectFromMixedType\"</span>,<span class=\"code-string\">\"clippingParent\"</span>,<span class=\"code-string\">\"html\"</span>,<span class=\"code-string\">\"clientWidth\"</span>,<span class=\"code-string\">\"clientHeight\"</span>,<span class=\"code-string\">\"getViewportRect\"</span>,<span class=\"code-string\">\"getInnerBoundingClientRect\"</span>,<span class=\"code-string\">\"winScroll\"</span>,<span class=\"code-string\">\"scrollWidth\"</span>,<span class=\"code-string\">\"scrollHeight\"</span>,<span class=\"code-string\">\"direction\"</span>,<span class=\"code-string\">\"getDocumentRect\"</span>,<span class=\"code-string\">\"getClippingRect\"</span>,<span class=\"code-string\">\"boundary\"</span>,<span class=\"code-string\">\"rootBoundary\"</span>,<span class=\"code-string\">\"mainClippingParents\"</span>,<span class=\"code-string\">\"clippingParents\"</span>,<span class=\"code-string\">\"clipperElement\"</span>,<span class=\"code-string\">\"getClippingParents\"</span>,<span class=\"code-string\">\"firstClippingParent\"</span>,<span class=\"code-string\">\"clippingRect\"</span>,<span class=\"code-string\">\"accRect\"</span>,<span class=\"code-string\">\"getVariation\"</span>,<span class=\"code-string\">\"getMainAxisFromPlacement\"</span>,<span class=\"code-string\">\"computeOffsets\"</span>,<span class=\"code-string\">\"reference\"</span>,<span class=\"code-string\">\"basePlacement\"</span>,<span class=\"code-string\">\"variation\"</span>,<span class=\"code-string\">\"commonX\"</span>,<span class=\"code-string\">\"commonY\"</span>,<span class=\"code-string\">\"mainAxis\"</span>,<span class=\"code-string\">\"len\"</span>,<span class=\"code-string\">\"mergePaddingObject\"</span>,<span class=\"code-string\">\"paddingObject\"</span>,<span class=\"code-string\">\"expandToHashMap\"</span>,<span class=\"code-string\">\"value\"</span>,<span class=\"code-string\">\"keys\"</span>,<span class=\"code-string\">\"hashMap\"</span>,<span class=\"code-string\">\"key\"</span>,<span class=\"code-string\">\"detectOverflow\"</span>,<span class=\"code-string\">\"state\"</span>,<span class=\"code-string\">\"options\"</span>,<span class=\"code-string\">\"elementContext\"</span>,<span class=\"code-string\">\"altBoundary\"</span>,<span class=\"code-string\">\"padding\"</span>,<span class=\"code-string\">\"altContext\"</span>,<span class=\"code-string\">\"popperRect\"</span>,<span class=\"code-string\">\"rects\"</span>,<span class=\"code-string\">\"elements\"</span>,<span class=\"code-string\">\"clippingClientRect\"</span>,<span class=\"code-string\">\"contextElement\"</span>,<span class=\"code-string\">\"referenceClientRect\"</span>,<span class=\"code-string\">\"popperOffsets\"</span>,<span class=\"code-string\">\"strategy\"</span>,<span class=\"code-string\">\"popperClientRect\"</span>,<span class=\"code-string\">\"elementClientRect\"</span>,<span class=\"code-string\">\"overflowOffsets\"</span>,<span class=\"code-string\">\"offsetData\"</span>,<span class=\"code-string\">\"modifiersData\"</span>,<span class=\"code-string\">\"offset\"</span>,<span class=\"code-string\">\"Object\"</span>,<span class=\"code-string\">\"multiply\"</span>,<span class=\"code-string\">\"axis\"</span>,<span class=\"code-string\">\"DEFAULT_OPTIONS\"</span>,<span class=\"code-string\">\"areValidElements\"</span>,<span class=\"code-string\">\"args\"</span>,<span class=\"code-string\">\"some\"</span>,<span class=\"code-string\">\"popperGenerator\"</span>,<span class=\"code-string\">\"generatorOptions\"</span>,<span class=\"code-string\">\"defaultModifiers\"</span>,<span class=\"code-string\">\"defaultOptions\"</span>,<span class=\"code-string\">\"fn\"</span>,<span class=\"code-string\">\"pending\"</span>,<span class=\"code-string\">\"orderedModifiers\"</span>,<span class=\"code-string\">\"attributes\"</span>,<span class=\"code-string\">\"styles\"</span>,<span class=\"code-string\">\"effectCleanupFns\"</span>,<span class=\"code-string\">\"isDestroyed\"</span>,<span class=\"code-string\">\"instance\"</span>,<span class=\"code-string\">\"setOptions\"</span>,<span class=\"code-string\">\"setOptionsAction\"</span>,<span class=\"code-string\">\"cleanupModifierEffects\"</span>,<span class=\"code-string\">\"scrollParents\"</span>,<span class=\"code-string\">\"merged\"</span>,<span class=\"code-string\">\"phase\"</span>,<span class=\"code-string\">\"orderModifiers\"</span>,<span class=\"code-string\">\"current\"</span>,<span class=\"code-string\">\"existing\"</span>,<span class=\"code-string\">\"data\"</span>,<span class=\"code-string\">\"m\"</span>,<span class=\"code-string\">\"enabled\"</span>,<span class=\"code-string\">\"effect\"</span>,<span class=\"code-string\">\"cleanupFn\"</span>,<span class=\"code-string\">\"noopFn\"</span>,<span class=\"code-string\">\"update\"</span>,<span class=\"code-string\">\"forceUpdate\"</span>,<span class=\"code-string\">\"reset\"</span>,<span class=\"code-string\">\"index\"</span>,<span class=\"code-string\">\"length\"</span>,<span class=\"code-string\">\"Promise\"</span>,<span class=\"code-string\">\"resolve\"</span>,<span class=\"code-string\">\"then\"</span>,<span class=\"code-string\">\"undefined\"</span>,<span class=\"code-string\">\"destroy\"</span>,<span class=\"code-string\">\"onFirstUpdate\"</span>,<span class=\"code-string\">\"passive\"</span>,<span class=\"code-string\">\"resize\"</span>,<span class=\"code-string\">\"addEventListener\"</span>,<span class=\"code-string\">\"removeEventListener\"</span>,<span class=\"code-string\">\"unsetSides\"</span>,<span class=\"code-string\">\"mapToStyles\"</span>,<span class=\"code-string\">\"gpuAcceleration\"</span>,<span class=\"code-string\">\"adaptive\"</span>,<span class=\"code-string\">\"roundOffsets\"</span>,<span class=\"code-string\">\"hasX\"</span>,<span class=\"code-string\">\"hasOwnProperty\"</span>,<span class=\"code-string\">\"hasY\"</span>,<span class=\"code-string\">\"sideX\"</span>,<span class=\"code-string\">\"sideY\"</span>,<span class=\"code-string\">\"heightProp\"</span>,<span class=\"code-string\">\"widthProp\"</span>,<span class=\"code-string\">\"commonStyles\"</span>,<span class=\"code-string\">\"dpr\"</span>,<span class=\"code-string\">\"devicePixelRatio\"</span>,<span class=\"code-string\">\"roundOffsetsByDPR\"</span>,<span class=\"code-string\">\"arrow\"</span>,<span class=\"code-string\">\"style\"</span>,<span class=\"code-string\">\"assign\"</span>,<span class=\"code-string\">\"removeAttribute\"</span>,<span class=\"code-string\">\"setAttribute\"</span>,<span class=\"code-string\">\"initialStyles\"</span>,<span class=\"code-string\">\"margin\"</span>,<span class=\"code-string\">\"property\"</span>,<span class=\"code-string\">\"attribute\"</span>,<span class=\"code-string\">\"invertDistance\"</span>,<span class=\"code-string\">\"skidding\"</span>,<span class=\"code-string\">\"distance\"</span>,<span class=\"code-string\">\"distanceAndSkiddingToXY\"</span>,<span class=\"code-string\">\"hash\"</span>,<span class=\"code-string\">\"getOppositePlacement\"</span>,<span class=\"code-string\">\"replace\"</span>,<span class=\"code-string\">\"matched\"</span>,<span class=\"code-string\">\"getOppositeVariationPlacement\"</span>,<span class=\"code-string\">\"computeAutoPlacement\"</span>,<span class=\"code-string\">\"flipVariations\"</span>,<span class=\"code-string\">\"allowedAutoPlacements\"</span>,<span class=\"code-string\">\"allPlacements\"</span>,<span class=\"code-string\">\"allowedPlacements\"</span>,<span class=\"code-string\">\"overflows\"</span>,<span class=\"code-string\">\"a\"</span>,<span class=\"code-string\">\"b\"</span>,<span class=\"code-string\">\"_skip\"</span>,<span class=\"code-string\">\"checkMainAxis\"</span>,<span class=\"code-string\">\"altAxis\"</span>,<span class=\"code-string\">\"checkAltAxis\"</span>,<span class=\"code-string\">\"specifiedFallbackPlacements\"</span>,<span class=\"code-string\">\"fallbackPlacements\"</span>,<span class=\"code-string\">\"preferredPlacement\"</span>,<span class=\"code-string\">\"oppositePlacement\"</span>,<span class=\"code-string\">\"getExpandedFallbackPlacements\"</span>,<span class=\"code-string\">\"referenceRect\"</span>,<span class=\"code-string\">\"checksMap\"</span>,<span class=\"code-string\">\"makeFallbackChecks\"</span>,<span class=\"code-string\">\"firstFittingPlacement\"</span>,<span class=\"code-string\">\"i\"</span>,<span class=\"code-string\">\"isStartVariation\"</span>,<span class=\"code-string\">\"isVertical\"</span>,<span class=\"code-string\">\"mainVariationSide\"</span>,<span class=\"code-string\">\"altVariationSide\"</span>,<span class=\"code-string\">\"checks\"</span>,<span class=\"code-string\">\"every\"</span>,<span class=\"code-string\">\"check\"</span>,<span class=\"code-string\">\"fittingPlacement\"</span>,<span class=\"code-string\">\"find\"</span>,<span class=\"code-string\">\"slice\"</span>,<span class=\"code-string\">\"within\"</span>,<span class=\"code-string\">\"mathMax\"</span>,<span class=\"code-string\">\"mathMin\"</span>,<span class=\"code-string\">\"tether\"</span>,<span class=\"code-string\">\"tetherOffset\"</span>,<span class=\"code-string\">\"isBasePlacement\"</span>,<span class=\"code-string\">\"tetherOffsetValue\"</span>,<span class=\"code-string\">\"normalizedTetherOffsetValue\"</span>,<span class=\"code-string\">\"offsetModifierState\"</span>,<span class=\"code-string\">\"mainSide\"</span>,<span class=\"code-string\">\"altSide\"</span>,<span class=\"code-string\">\"additive\"</span>,<span class=\"code-string\">\"minLen\"</span>,<span class=\"code-string\">\"maxLen\"</span>,<span class=\"code-string\">\"arrowElement\"</span>,<span class=\"code-string\">\"arrowRect\"</span>,<span class=\"code-string\">\"arrowPaddingObject\"</span>,<span class=\"code-string\">\"arrowPaddingMin\"</span>,<span class=\"code-string\">\"arrowPaddingMax\"</span>,<span class=\"code-string\">\"arrowLen\"</span>,<span class=\"code-string\">\"minOffset\"</span>,<span class=\"code-string\">\"maxOffset\"</span>,<span class=\"code-string\">\"arrowOffsetParent\"</span>,<span class=\"code-string\">\"clientOffset\"</span>,<span class=\"code-string\">\"offsetModifierValue\"</span>,<span class=\"code-string\">\"tetherMax\"</span>,<span class=\"code-string\">\"preventedOffset\"</span>,<span class=\"code-string\">\"isOriginSide\"</span>,<span class=\"code-string\">\"tetherMin\"</span>,<span class=\"code-string\">\"v\"</span>,<span class=\"code-string\">\"withinMaxClamp\"</span>,<span class=\"code-string\">\"toPaddingObject\"</span>,<span class=\"code-string\">\"minProp\"</span>,<span class=\"code-string\">\"maxProp\"</span>,<span class=\"code-string\">\"endDiff\"</span>,<span class=\"code-string\">\"startDiff\"</span>,<span class=\"code-string\">\"clientSize\"</span>,<span class=\"code-string\">\"centerToReference\"</span>,<span class=\"code-string\">\"center\"</span>,<span class=\"code-string\">\"axisProp\"</span>,<span class=\"code-string\">\"centerOffset\"</span>,<span class=\"code-string\">\"querySelector\"</span>,<span class=\"code-string\">\"getSideOffsets\"</span>,<span class=\"code-string\">\"preventedOffsets\"</span>,<span class=\"code-string\">\"isAnySideFullyClipped\"</span>,<span class=\"code-string\">\"side\"</span>,<span class=\"code-string\">\"preventOverflow\"</span>,<span class=\"code-string\">\"referenceOverflow\"</span>,<span class=\"code-string\">\"popperAltOverflow\"</span>,<span class=\"code-string\">\"referenceClippingOffsets\"</span>,<span class=\"code-string\">\"popperEscapeOffsets\"</span>,<span class=\"code-string\">\"isReferenceHidden\"</span>,<span class=\"code-string\">\"hasPopperEscaped\"</span>,<span class=\"code-string\">\"createPopper\"</span>,<span class=\"code-string\">\"eventListeners\"</span>,<span class=\"code-string\">\"computeStyles\"</span>,<span class=\"code-string\">\"applyStyles\"</span>,<span class=\"code-string\">\"flip\"</span>,<span class=\"code-string\">\"hide\"</span>],<span class=\"code-attr\">\"mappings\"</span>:<span class=\"code-string\">\";;;;8OAIe,SAASA,EAAUC,MACpB,MAARA,SACKC,UAGe,oBAApBD,EAAKE,WAAkC,KACnCC,EAAgBH,EAAKG,qBACpBA,GAAgBA,EAAcC,aAAwBH,cAGxDD,ECTT,SAASK,EAAUL,UAEVA,aADYD,EAAUC,GAAMM,SACEN,aAAgBM,QAKvD,SAASC,EAAcP,UAEdA,aADYD,EAAUC,GAAMQ,aACER,aAAgBQ,YAKvD,SAASC,EAAaT,SAEM,oBAAfU,aAIJV,aADYD,EAAUC,GAAMU,YACEV,aAAgBU,YCxBhD,IAAMC,EAAMC,KAAKD,IACXE,EAAMD,KAAKC,IACXC,EAAQF,KAAKE,MCEX,SAASC,EACtBC,EACAC,YAAAA,IAAAA,GAAwB,OAElBC,EAAOF,EAAQD,wBACjBI,EAAS,EACTC,EAAS,KAETb,EAAcS,IAAYC,EAAc,KACpCI,EAAeL,EAAQK,aACvBC,EAAcN,EAAQM,YAIxBA,EAAc,IAChBH,EAASL,EAAMI,EAAKK,OAASD,GAAe,GAE1CD,EAAe,IACjBD,EAASN,EAAMI,EAAKM,QAAUH,GAAgB,SAI3C,CACLE,MAAOL,EAAKK,MAAQJ,EACpBK,OAAQN,EAAKM,OAASJ,EACtBK,IAAKP,EAAKO,IAAML,EAChBM,MAAOR,EAAKQ,MAAQP,EACpBQ,OAAQT,EAAKS,OAASP,EACtBQ,KAAMV,EAAKU,KAAOT,EAClBU,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,CACLL,IAAKqB,EAASrB,IAAMP,EAAKM,OAAS6U,EAAiBvU,EACnDJ,MAAOoB,EAASpB,MAAQR,EAAKK,MAAQ8U,EAAiBxU,EACtDF,OAAQmB,EAASnB,OAAST,EAAKM,OAAS6U,EAAiBvU,EACzDF,KAAMkB,EAASlB,KAAOV,EAAKK,MAAQ8U,EAAiBxU,GAIxD,SAASyU,GAAsBxT,SACtB,CAACrB,EAAKC,EAAOC,EAAQC,GAAMiL,MAAK,SAAC0J,UAASzT,EAASyT,IAAS,YA4CrD,CACdhP,KAAM,OACN8G,SAAS,EACTN,MAAO,OACPtG,iBAAkB,CAAC,mBACnByF,GA9CF,gBAAgB/B,IAAAA,MAAO5D,IAAAA,KACfoL,EAAgBxH,EAAMO,MAAMtB,UAC5BqB,EAAaN,EAAMO,MAAMpF,OACzB+P,EAAmBlL,EAAMkB,cAAcmK,gBAEvCC,EAAoBvL,EAAeC,EAAO,CAC9CE,eAAgB,cAEZqL,EAAoBxL,EAAeC,EAAO,CAC9CG,aAAa,IAGTqL,EAA2BP,GAC/BK,EACA9D,GAEIiE,EAAsBR,GAC1BM,EACAjL,EACA4K,GAGIQ,EAAoBP,GAAsBK,GAC1CG,EAAmBR,GAAsBM,GAE/CzL,EAAMkB,cAAc9E,GAAQ,CAC1BoP,yBAAAA,EACAC,oBAAAA,EACAC,kBAAAA,EACAC,iBAAAA,GAGF3L,EAAMkC,WAAW/G,wBACZ6E,EAAMkC,WAAW/G,uCACYuQ,wBACTC,MC9CrBC,GAAejK,EAAgB,CAAEE,iBAPd,CACvBgK,EACAjL,EACAkL,GACAC,MCCIlK,GAAmB,CACvBgK,EACAjL,EACAkL,GACAC,GACA5K,GACA6K,GACAX,GACAhG,GACA4G,IAGIL,GAAejK,EAAgB,CAAEE,iBAAAA\"</span>}"]}}}</script></head><body><div id="root"><style data-emotion-css="gtfibm">html{box-sizing:border-box;}*,*:before,*:after{box-sizing:inherit;}html,body,#root{height:100%;margin:0;}body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size:16px;line-height:1.5;overflow-wrap:break-word;background:white;color:black;}code{font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;}th,td{padding:0;}select{font-size:inherit;}#root{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}</style><style data-emotion-css="1r6h1r6">.code-listing{background:#fbfdff;color:#383a42;}.code-comment,.code-quote{color:#a0a1a7;font-style:italic;}.code-doctag,.code-keyword,.code-link,.code-formula{color:#a626a4;}.code-section,.code-name,.code-selector-tag,.code-deletion,.code-subst{color:#e45649;}.code-literal{color:#0184bb;}.code-string,.code-regexp,.code-addition,.code-attribute,.code-meta-string{color:#50a14f;}.code-built_in,.code-class .code-title{color:#c18401;}.code-attr,.code-variable,.code-template-variable,.code-type,.code-selector-class,.code-selector-attr,.code-selector-pseudo,.code-number{color:#986801;}.code-symbol,.code-bullet,.code-meta,.code-selector-id,.code-title{color:#4078f2;}.code-emphasis{font-style:italic;}.code-strong{font-weight:bold;}</style><style data-emotion-css="1c3h18e">.css-1c3h18e{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}</style><div class="css-1c3h18e"><style data-emotion-css="1cfuj1t">.css-1cfuj1t{max-width:940px;padding:0 20px;margin:0 auto;}</style><div class="css-1cfuj1t"><style data-emotion-css="i51og3">.css-i51og3{margin-top:2rem;}</style><header class="css-i51og3"><style data-emotion-css="1y7u1xh">.css-1y7u1xh{text-align:center;font-size:3rem;-webkit-letter-spacing:0.05em;-moz-letter-spacing:0.05em;-ms-letter-spacing:0.05em;letter-spacing:0.05em;}</style><h1 class="css-1y7u1xh"><style data-emotion-css="1ydg16i">.css-1ydg16i{color:#000;-webkit-text-decoration:none;text-decoration:none;}</style><a href="/" class="css-1ydg16i">UNPKG</a></h1></header></div><div class="css-1cfuj1t"><style data-emotion-css="93o42g">.css-93o42g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}@media (max-width:700px){.css-93o42g{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}}</style><header class="css-93o42g"><style data-emotion-css="1dlpvgi">.css-1dlpvgi{font-size:1.5rem;font-weight:normal;-webkit-flex:1;-ms-flex:1;flex:1;word-break:break-all;}</style><h1 class="css-1dlpvgi"><nav><style data-emotion-css="xt128v">.css-xt128v{color:#0076ff;-webkit-text-decoration:none;text-decoration:none;}.css-xt128v:hover{-webkit-text-decoration:underline;text-decoration:underline;}</style><a href="/browse/@popperjs/core@2.11.5/" class="css-xt128v">@popperjs/core</a><style data-emotion-css="lllnmq">.css-lllnmq{padding-left:5px;padding-right:5px;}</style><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/" class="css-xt128v">dist</a><span class="css-lllnmq">/</span><a href="/browse/@popperjs/core@2.11.5/dist/umd/" class="css-xt128v">umd</a><span class="css-lllnmq">/</span><strong>popper.min.js.map</strong></nav></h1><style data-emotion-css="1nr3dab">.css-1nr3dab{margin-left:20px;}@media (max-width:700px){.css-1nr3dab{margin-left:0;margin-bottom:0;}}</style><p class="css-1nr3dab"><label>Version:<!-- --> <style data-emotion-css="un3bt6">.css-un3bt6{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;padding:4px 24px 4px 8px;font-weight:600;font-size:0.9em;color:#24292e;border:1px solid rgba(27,31,35,.2);border-radius:3px;background-color:#eff3f6;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==);background-position:right 8px center;background-repeat:no-repeat;background-size:auto 25%;}.css-un3bt6:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-un3bt6:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><select name="version" class="css-un3bt6"><option value="2.0.0-alpha.1">2.0.0-alpha.1</option><option value="2.0.0-alpha.2">2.0.0-alpha.2</option><option value="2.0.0-alpha.3">2.0.0-alpha.3</option><option value="2.0.0-alpha.4">2.0.0-alpha.4</option><option value="2.0.0-next.5">2.0.0-next.5</option><option value="2.0.0-next.6">2.0.0-next.6</option><option value="2.0.0-next.7">2.0.0-next.7</option><option value="2.0.0-next.8">2.0.0-next.8</option><option value="2.0.0-next.9">2.0.0-next.9</option><option value="2.0.0-next.10">2.0.0-next.10</option><option value="2.0.0-next.11">2.0.0-next.11</option><option value="2.0.0-next.12">2.0.0-next.12</option><option value="2.0.0-next.13">2.0.0-next.13</option><option value="2.0.0-next.14">2.0.0-next.14</option><option value="2.0.0-next.15">2.0.0-next.15</option><option value="2.0.0-next.16">2.0.0-next.16</option><option value="2.0.0-next.17">2.0.0-next.17</option><option value="2.0.0-rc.1">2.0.0-rc.1</option><option value="2.0.0-rc.2">2.0.0-rc.2</option><option value="2.0.0-rc.3">2.0.0-rc.3</option><option value="2.0.0">2.0.0</option><option value="2.0.1">2.0.1</option><option value="2.0.2">2.0.2</option><option value="2.0.3">2.0.3</option><option value="2.0.4">2.0.4</option><option value="2.0.5">2.0.5</option><option value="2.0.6">2.0.6</option><option value="2.1.0">2.1.0</option><option value="2.1.1">2.1.1</option><option value="2.2.0-bundlephobia.1">2.2.0-bundlephobia.1</option><option value="2.2.0">2.2.0</option><option value="2.2.1">2.2.1</option><option value="2.2.2">2.2.2</option><option value="2.2.3">2.2.3</option><option value="2.3.0">2.3.0</option><option value="2.3.1">2.3.1</option><option value="2.3.2">2.3.2</option><option value="2.3.3">2.3.3</option><option value="2.4.0">2.4.0</option><option value="2.4.1">2.4.1</option><option value="2.4.2">2.4.2</option><option value="2.4.3">2.4.3</option><option value="2.4.4">2.4.4</option><option value="2.5.0">2.5.0</option><option value="2.5.1">2.5.1</option><option value="2.5.2">2.5.2</option><option value="2.5.3">2.5.3</option><option value="2.5.4">2.5.4</option><option value="2.6.0">2.6.0</option><option value="2.7.0">2.7.0</option><option value="2.7.1">2.7.1</option><option value="2.7.2">2.7.2</option><option value="2.8.0">2.8.0</option><option value="2.8.1">2.8.1</option><option value="2.8.2">2.8.2</option><option value="2.8.3">2.8.3</option><option value="2.8.4">2.8.4</option><option value="2.8.5">2.8.5</option><option value="2.8.6">2.8.6</option><option value="2.9.0">2.9.0</option><option value="2.9.1">2.9.1</option><option value="2.9.2">2.9.2</option><option value="2.9.3">2.9.3</option><option value="2.10.0">2.10.0</option><option value="2.10.1">2.10.1</option><option value="2.10.2">2.10.2</option><option value="2.11.0">2.11.0</option><option value="2.11.1">2.11.1</option><option value="2.11.2">2.11.2</option><option value="2.11.3">2.11.3</option><option value="2.11.4">2.11.4</option><option selected="" value="2.11.5">2.11.5</option></select></label></p></header></div><style data-emotion-css="107j3ms">.css-107j3ms{max-width:940px;padding:0 20px;margin:0 auto;}@media (max-width:700px){.css-107j3ms{padding:0;margin:0;}}</style><div class="css-107j3ms"><style data-emotion-css="q3frg4">.css-q3frg4{border:1px solid #dfe2e5;border-radius:3px;}@media (max-width:700px){.css-q3frg4{border-right-width:0;border-left-width:0;}}</style><div class="css-q3frg4"><style data-emotion-css="10o5omr">.css-10o5omr{padding:10px;background:#f6f8fa;color:#424242;border:1px solid #d1d5da;border-top-left-radius:3px;border-top-right-radius:3px;margin:-1px -1px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}@media (max-width:700px){.css-10o5omr{padding-right:20px;padding-left:20px;}}</style><div class="css-10o5omr"><span>113 kB</span><span>Source Map (JSON)</span><span><style data-emotion-css="18x593j">.css-18x593j{display:inline-block;margin-left:8px;padding:2px 8px;-webkit-text-decoration:none;text-decoration:none;font-weight:600;font-size:0.9rem;color:#24292e;background-color:#eff3f6;border:1px solid rgba(27,31,35,.2);border-radius:3px;}.css-18x593j:hover{background-color:#e6ebf1;border-color:rgba(27,31,35,.35);}.css-18x593j:active{background-color:#e9ecef;border-color:rgba(27,31,35,.35);box-shadow:inset 0 0.15em 0.3em rgba(27,31,35,.15);}</style><a href="/@popperjs/core@2.11.5/dist/umd/popper.min.js.map" class="css-18x593j">View Raw</a></span></div><style data-emotion-css="1i31ihw">.css-1i31ihw{overflow-x:auto;overflow-y:hidden;padding-top:5px;padding-bottom:5px;}</style><div class="code-listing css-1i31ihw"><style data-emotion-css="173nir8">.css-173nir8{border:none;border-collapse:collapse;border-spacing:0;}</style><table class="css-173nir8"><tbody><tr><style data-emotion-css="a4x74f">.css-a4x74f{padding-left:10px;padding-right:10px;color:rgba(27,31,35,.3);text-align:right;vertical-align:top;width:1%;min-width:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td id="L1" class="css-a4x74f"><span>1</span></td><style data-emotion-css="1dcdqdg">.css-1dcdqdg{padding-left:10px;padding-right:10px;color:#24292e;white-space:pre;}</style><td id="LC1" class="css-1dcdqdg"><code>{<span class="code-attr">"version"</span>:<span class="code-number">3</span>,<span class="code-attr">"file"</span>:<span class="code-string">"popper.min.js"</span>,<span class="code-attr">"sources"</span>:[<span class="code-string">"../../src/dom-utils/getWindow.js"</span>,<span class="code-string">"../../src/dom-utils/instanceOf.js"</span>,<span class="code-string">"../../src/utils/math.js"</span>,<span class="code-string">"../../src/dom-utils/getBoundingClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeName.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentElement.js"</span>,<span class="code-string">"../../src/dom-utils/getWindowScrollBarX.js"</span>,<span class="code-string">"../../src/dom-utils/getComputedStyle.js"</span>,<span class="code-string">"../../src/dom-utils/isScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/getCompositeRect.js"</span>,<span class="code-string">"../../src/dom-utils/getNodeScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getHTMLElementScroll.js"</span>,<span class="code-string">"../../src/dom-utils/getLayoutRect.js"</span>,<span class="code-string">"../../src/dom-utils/getParentNode.js"</span>,<span class="code-string">"../../src/dom-utils/getScrollParent.js"</span>,<span class="code-string">"../../src/dom-utils/listScrollParents.js"</span>,<span class="code-string">"../../src/dom-utils/isTableElement.js"</span>,<span class="code-string">"../../src/dom-utils/getOffsetParent.js"</span>,<span class="code-string">"../../src/enums.js"</span>,<span class="code-string">"../../src/utils/orderModifiers.js"</span>,<span class="code-string">"../../src/utils/getBasePlacement.js"</span>,<span class="code-string">"../../src/dom-utils/contains.js"</span>,<span class="code-string">"../../src/utils/rectToClientRect.js"</span>,<span class="code-string">"../../src/dom-utils/getClippingRect.js"</span>,<span class="code-string">"../../src/dom-utils/getViewportRect.js"</span>,<span class="code-string">"../../src/dom-utils/getDocumentRect.js"</span>,<span class="code-string">"../../src/utils/getVariation.js"</span>,<span class="code-string">"../../src/utils/getMainAxisFromPlacement.js"</span>,<span class="code-string">"../../src/utils/computeOffsets.js"</span>,<span class="code-string">"../../src/utils/mergePaddingObject.js"</span>,<span class="code-string">"../../src/utils/getFreshSideObject.js"</span>,<span class="code-string">"../../src/utils/expandToHashMap.js"</span>,<span class="code-string">"../../src/utils/detectOverflow.js"</span>,<span class="code-string">"../../src/createPopper.js"</span>,<span class="code-string">"../../src/utils/debounce.js"</span>,<span class="code-string">"../../src/utils/mergeByName.js"</span>,<span class="code-string">"../../src/modifiers/eventListeners.js"</span>,<span class="code-string">"../../src/modifiers/popperOffsets.js"</span>,<span class="code-string">"../../src/modifiers/computeStyles.js"</span>,<span class="code-string">"../../src/modifiers/applyStyles.js"</span>,<span class="code-string">"../../src/modifiers/offset.js"</span>,<span class="code-string">"../../src/utils/getOppositePlacement.js"</span>,<span class="code-string">"../../src/utils/getOppositeVariationPlacement.js"</span>,<span class="code-string">"../../src/utils/computeAutoPlacement.js"</span>,<span class="code-string">"../../src/modifiers/flip.js"</span>,<span class="code-string">"../../src/utils/within.js"</span>,<span class="code-string">"../../src/modifiers/preventOverflow.js"</span>,<span class="code-string">"../../src/utils/getAltAxis.js"</span>,<span class="code-string">"../../src/modifiers/arrow.js"</span>,<span class="code-string">"../../src/modifiers/hide.js"</span>,<span class="code-string">"../../src/popper-lite.js"</span>,<span class="code-string">"../../src/popper.js"</span>],<span class="code-attr">"sourcesContent"</span>:[<span class="code-string">"// @flow\nimport type { Window } from '../types';\ndeclare function getWindow(node: Node | Window): Window;\n\nexport default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n const ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\ndeclare function isElement(node: mixed): boolean %checks(node instanceof\n Element);\nfunction isElement(node) {\n const OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\ndeclare function isHTMLElement(node: mixed): boolean %checks(node instanceof\n HTMLElement);\nfunction isHTMLElement(node) {\n const OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\ndeclare function isShadowRoot(node: mixed): boolean %checks(node instanceof\n ShadowRoot);\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n const OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };\n"</span>,<span class="code-string">"// @flow\nexport const max = Math.max;\nexport const min = Math.min;\nexport const round = Math.round;\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject, VirtualElement } from '../types';\nimport { isHTMLElement } from './instanceOf';\nimport { round } from '../utils/math';\n\nexport default function getBoundingClientRect(\n element: Element | VirtualElement,\n includeScale: boolean = false\n): ClientRectObject {\n const rect = element.getBoundingClientRect();\n let scaleX = 1;\n let scaleY = 1;\n\n if (isHTMLElement(element) &amp;&amp; includeScale) {\n const offsetHeight = element.offsetHeight;\n const offsetWidth = element.offsetWidth;\n\n // Do not attempt to divide by 0, otherwise we get `Infinity` as scale\n // Fallback to 1 in case both values are `0`\n if (offsetWidth &gt; 0) {\n scaleX = round(rect.width) / offsetWidth || 1;\n }\n if (offsetHeight &gt; 0) {\n scaleY = round(rect.height) / offsetHeight || 1;\n }\n }\n\n return {\n width: rect.width / scaleX,\n height: rect.height / scaleY,\n top: rect.top / scaleY,\n right: rect.right / scaleX,\n bottom: rect.bottom / scaleY,\n left: rect.left / scaleX,\n x: rect.left / scaleX,\n y: rect.top / scaleY,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport type { Window } from '../types';\n\nexport default function getWindowScroll(node: Node | Window) {\n const win = getWindow(node);\n const scrollLeft = win.pageXOffset;\n const scrollTop = win.pageYOffset;\n\n return {\n scrollLeft,\n scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Window } from '../types';\n\nexport default function getNodeName(element: ?Node | Window): ?string {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}\n"</span>,<span class="code-string">"// @flow\nimport { isElement } from './instanceOf';\nimport type { Window } from '../types';\n\nexport default function getDocumentElement(\n element: Element | Window\n): HTMLElement {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return (\n (isElement(element)\n ? element.ownerDocument\n : // $FlowFixMe[prop-missing]\n element.document) || window.document\n ).documentElement;\n}\n"</span>,<span class="code-string">"// @flow\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScroll from './getWindowScroll';\n\nexport default function getWindowScrollBarX(element: Element): number {\n // If &lt;html&gt; has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on &lt;html&gt;\n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return (\n getBoundingClientRect(getDocumentElement(element)).left +\n getWindowScroll(element).scrollLeft\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\n\nexport default function getComputedStyle(\n element: Element\n): CSSStyleDeclaration {\n return getWindow(element).getComputedStyle(element);\n}\n"</span>,<span class="code-string">"// @flow\nimport getComputedStyle from './getComputedStyle';\n\nexport default function isScrollParent(element: HTMLElement): boolean {\n // Firefox wants us to check `-x` and `-y` variations as well\n const { overflow, overflowX, overflowY } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, VirtualElement, Window } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getNodeScroll from './getNodeScroll';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getDocumentElement from './getDocumentElement';\nimport isScrollParent from './isScrollParent';\nimport { round } from '../utils/math';\n\nfunction isElementScaled(element: HTMLElement) {\n const rect = element.getBoundingClientRect();\n const scaleX = round(rect.width) / element.offsetWidth || 1;\n const scaleY = round(rect.height) / element.offsetHeight || 1;\n\n return scaleX !== 1 || scaleY !== 1;\n}\n\n// Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\nexport default function getCompositeRect(\n elementOrVirtualElement: Element | VirtualElement,\n offsetParent: Element | Window,\n isFixed: boolean = false\n): Rect {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const offsetParentIsScaled =\n isHTMLElement(offsetParent) &amp;&amp; isElementScaled(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const rect = getBoundingClientRect(\n elementOrVirtualElement,\n offsetParentIsScaled\n );\n\n let scroll = { scrollLeft: 0, scrollTop: 0 };\n let offsets = { x: 0, y: 0 };\n\n if (isOffsetParentAnElement || (!isOffsetParentAnElement &amp;&amp; !isFixed)) {\n if (\n getNodeName(offsetParent) !== 'body' ||\n // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)\n ) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindowScroll from './getWindowScroll';\nimport getWindow from './getWindow';\nimport { isHTMLElement } from './instanceOf';\nimport getHTMLElementScroll from './getHTMLElementScroll';\nimport type { Window } from '../types';\n\nexport default function getNodeScroll(node: Node | Window) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function getHTMLElementScroll(element: HTMLElement) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getBoundingClientRect from './getBoundingClientRect';\n\n// Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\nexport default function getLayoutRect(element: HTMLElement): Rect {\n const clientRect = getBoundingClientRect(element);\n\n // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) &lt;= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) &lt;= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width,\n height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\nimport getDocumentElement from './getDocumentElement';\nimport { isShadowRoot } from './instanceOf';\n\nexport default function getParentNode(element: Node | ShadowRoot): Node {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || // DOM Element detected\n (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n );\n}\n"</span>,<span class="code-string">"// @flow\nimport getParentNode from './getParentNode';\nimport isScrollParent from './isScrollParent';\nimport getNodeName from './getNodeName';\nimport { isHTMLElement } from './instanceOf';\n\nexport default function getScrollParent(node: Node): HTMLElement {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) &gt;= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) &amp;&amp; isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}\n"</span>,<span class="code-string">"// @flow\nimport getScrollParent from './getScrollParent';\nimport getParentNode from './getParentNode';\nimport getWindow from './getWindow';\nimport type { Window, VisualViewport } from '../types';\nimport isScrollParent from './isScrollParent';\n\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\nexport default function listScrollParents(\n element: Node,\n list: Array&lt;Element | Window&gt; = []\n): Array&lt;Element | Window | VisualViewport&gt; {\n const scrollParent = getScrollParent(element);\n const isBody = scrollParent === element.ownerDocument?.body;\n const win = getWindow(scrollParent);\n const target = isBody\n ? [win].concat(\n win.visualViewport || [],\n isScrollParent(scrollParent) ? scrollParent : []\n )\n : scrollParent;\n const updatedList = list.concat(target);\n\n return isBody\n ? updatedList\n : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}\n"</span>,<span class="code-string">"// @flow\nimport getNodeName from './getNodeName';\n\nexport default function isTableElement(element: Element): boolean {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) &gt;= 0;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getNodeName from './getNodeName';\nimport getComputedStyle from './getComputedStyle';\nimport { isHTMLElement, isShadowRoot } from './instanceOf';\nimport isTableElement from './isTableElement';\nimport getParentNode from './getParentNode';\n\nfunction getTrueOffsetParent(element: Element): ?Element {\n if (\n !isHTMLElement(element) ||\n // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed'\n ) {\n return null;\n }\n\n return element.offsetParent;\n}\n\n// `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\nfunction getContainingBlock(element: Element) {\n const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;\n const isIE = navigator.userAgent.indexOf('Trident') !== -1;\n\n if (isIE &amp;&amp; isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n const elementCss = getComputedStyle(element);\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n let currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (\n isHTMLElement(currentNode) &amp;&amp;\n ['html', 'body'].indexOf(getNodeName(currentNode)) &lt; 0\n ) {\n const css = getComputedStyle(currentNode);\n\n // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n if (\n css.transform !== 'none' ||\n css.perspective !== 'none' ||\n css.contain === 'paint' ||\n ['transform', 'perspective'].indexOf(css.willChange) !== -1 ||\n (isFirefox &amp;&amp; css.willChange === 'filter') ||\n (isFirefox &amp;&amp; css.filter &amp;&amp; css.filter !== 'none')\n ) {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nexport default function getOffsetParent(element: Element) {\n const window = getWindow(element);\n\n let offsetParent = getTrueOffsetParent(element);\n\n while (\n offsetParent &amp;&amp;\n isTableElement(offsetParent) &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'\n ) {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (\n offsetParent &amp;&amp;\n (getNodeName(offsetParent) === 'html' ||\n (getNodeName(offsetParent) === 'body' &amp;&amp;\n getComputedStyle(offsetParent).position === 'static'))\n ) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n"</span>,<span class="code-string">"// @flow\nexport const top: 'top' = 'top';\nexport const bottom: 'bottom' = 'bottom';\nexport const right: 'right' = 'right';\nexport const left: 'left' = 'left';\nexport const auto: 'auto' = 'auto';\nexport type BasePlacement =\n | typeof top\n | typeof bottom\n | typeof right\n | typeof left;\nexport const basePlacements: Array&lt;BasePlacement&gt; = [top, bottom, right, left];\n\nexport const start: 'start' = 'start';\nexport const end: 'end' = 'end';\nexport type Variation = typeof start | typeof end;\n\nexport const clippingParents: 'clippingParents' = 'clippingParents';\nexport const viewport: 'viewport' = 'viewport';\nexport type Boundary = Element | Array&lt;Element&gt; | typeof clippingParents;\nexport type RootBoundary = typeof viewport | 'document';\n\nexport const popper: 'popper' = 'popper';\nexport const reference: 'reference' = 'reference';\nexport type Context = typeof popper | typeof reference;\n\nexport type VariationPlacement =\n | 'top-start'\n | 'top-end'\n | 'bottom-start'\n | 'bottom-end'\n | 'right-start'\n | 'right-end'\n | 'left-start'\n | 'left-end';\nexport type AutoPlacement = 'auto' | 'auto-start' | 'auto-end';\nexport type ComputedPlacement = VariationPlacement | BasePlacement;\nexport type Placement = AutoPlacement | BasePlacement | VariationPlacement;\n\nexport const variationPlacements: Array&lt;VariationPlacement&gt; = basePlacements.reduce(\n (acc: Array&lt;VariationPlacement&gt;, placement: BasePlacement) =&gt;\n acc.concat([(`${placement}-${start}`: any), (`${placement}-${end}`: any)]),\n []\n);\nexport const placements: Array&lt;Placement&gt; = [...basePlacements, auto].reduce(\n (\n acc: Array&lt;Placement&gt;,\n placement: BasePlacement | typeof auto\n ): Array&lt;Placement&gt; =&gt;\n acc.concat([\n placement,\n (`${placement}-${start}`: any),\n (`${placement}-${end}`: any),\n ]),\n []\n);\n\n// modifiers that need to read the DOM\nexport const beforeRead: 'beforeRead' = 'beforeRead';\nexport const read: 'read' = 'read';\nexport const afterRead: 'afterRead' = 'afterRead';\n// pure-logic modifiers\nexport const beforeMain: 'beforeMain' = 'beforeMain';\nexport const main: 'main' = 'main';\nexport const afterMain: 'afterMain' = 'afterMain';\n// modifier with the purpose to write to the DOM (or write into a framework state)\nexport const beforeWrite: 'beforeWrite' = 'beforeWrite';\nexport const write: 'write' = 'write';\nexport const afterWrite: 'afterWrite' = 'afterWrite';\nexport const modifierPhases: Array&lt;ModifierPhases&gt; = [\n beforeRead,\n read,\n afterRead,\n beforeMain,\n main,\n afterMain,\n beforeWrite,\n write,\n afterWrite,\n];\n\nexport type ModifierPhases =\n | typeof beforeRead\n | typeof read\n | typeof afterRead\n | typeof beforeMain\n | typeof main\n | typeof afterMain\n | typeof beforeWrite\n | typeof write\n | typeof afterWrite;\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\nimport { modifierPhases } from '../enums';\n\n// source: https://stackoverflow.com/questions/49875255\nfunction order(modifiers) {\n const map = new Map();\n const visited = new Set();\n const result = [];\n\n modifiers.forEach(modifier =&gt; {\n map.set(modifier.name, modifier);\n });\n\n // On visiting object, check for its dependencies and visit them recursively\n function sort(modifier: Modifier&lt;any, any&gt;) {\n visited.add(modifier.name);\n\n const requires = [\n ...(modifier.requires || []),\n ...(modifier.requiresIfExists || []),\n ];\n\n requires.forEach(dep =&gt; {\n if (!visited.has(dep)) {\n const depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n\n result.push(modifier);\n }\n\n modifiers.forEach(modifier =&gt; {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n\n return result;\n}\n\nexport default function orderModifiers(\n modifiers: Array&lt;Modifier&lt;any, any&gt;&gt;\n): Array&lt;Modifier&lt;any, any&gt;&gt; {\n // order based on dependencies\n const orderedModifiers = order(modifiers);\n\n // order based on phase\n return modifierPhases.reduce((acc, phase) =&gt; {\n return acc.concat(\n orderedModifiers.filter(modifier =&gt; modifier.phase === phase)\n );\n }, []);\n}\n"</span>,<span class="code-string">"// @flow\nimport { type BasePlacement, type Placement, auto } from '../enums';\n\nexport default function getBasePlacement(\n placement: Placement | typeof auto\n): BasePlacement {\n return (placement.split('-')[0]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport { isShadowRoot } from './instanceOf';\n\nexport default function contains(parent: Element, child: Element) {\n const rootNode = child.getRootNode &amp;&amp; child.getRootNode();\n\n // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n }\n // then fallback to custom implementation with Shadow DOM support\n else if (rootNode &amp;&amp; isShadowRoot(rootNode)) {\n let next = child;\n do {\n if (next &amp;&amp; parent.isSameNode(next)) {\n return true;\n }\n // $FlowFixMe[prop-missing]: need a better way to handle this...\n next = next.parentNode || next.host;\n } while (next);\n }\n\n // Give up, the result is false\n return false;\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect, ClientRectObject } from '../types';\n\nexport default function rectToClientRect(rect: Rect): ClientRectObject {\n return {\n ...rect,\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { ClientRectObject } from '../types';\nimport type { Boundary, RootBoundary } from '../enums';\nimport { viewport } from '../enums';\nimport getViewportRect from './getViewportRect';\nimport getDocumentRect from './getDocumentRect';\nimport listScrollParents from './listScrollParents';\nimport getOffsetParent from './getOffsetParent';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport { isElement, isHTMLElement } from './instanceOf';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport getParentNode from './getParentNode';\nimport contains from './contains';\nimport getNodeName from './getNodeName';\nimport rectToClientRect from '../utils/rectToClientRect';\nimport { max, min } from '../utils/math';\n\nfunction getInnerBoundingClientRect(element: Element) {\n const rect = getBoundingClientRect(element);\n\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n\n return rect;\n}\n\nfunction getClientRectFromMixedType(\n element: Element,\n clippingParent: Element | RootBoundary\n): ClientRectObject {\n return clippingParent === viewport\n ? rectToClientRect(getViewportRect(element))\n : isElement(clippingParent)\n ? getInnerBoundingClientRect(clippingParent)\n : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n}\n\n// A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\nfunction getClippingParents(element: Element): Array&lt;Element&gt; {\n const clippingParents = listScrollParents(getParentNode(element));\n const canEscapeClipping =\n ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) &gt;= 0;\n const clipperElement =\n canEscapeClipping &amp;&amp; isHTMLElement(element)\n ? getOffsetParent(element)\n : element;\n\n if (!isElement(clipperElement)) {\n return [];\n }\n\n // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n return clippingParents.filter(\n (clippingParent) =&gt;\n isElement(clippingParent) &amp;&amp;\n contains(clippingParent, clipperElement) &amp;&amp;\n getNodeName(clippingParent) !== 'body'\n );\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping parents\nexport default function getClippingRect(\n element: Element,\n boundary: Boundary,\n rootBoundary: RootBoundary\n): ClientRectObject {\n const mainClippingParents =\n boundary === 'clippingParents'\n ? getClippingParents(element)\n : [].concat(boundary);\n const clippingParents = [...mainClippingParents, rootBoundary];\n const firstClippingParent = clippingParents[0];\n\n const clippingRect = clippingParents.reduce((accRect, clippingParent) =&gt; {\n const rect = getClientRectFromMixedType(element, clippingParent);\n\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n\n return clippingRect;\n}\n"</span>,<span class="code-string">"// @flow\nimport getWindow from './getWindow';\nimport getDocumentElement from './getDocumentElement';\nimport getWindowScrollBarX from './getWindowScrollBarX';\n\nexport default function getViewportRect(element: Element) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n\n // NB: This isn't supported on iOS &lt;= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n\n // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number &lt;= 0, usually &lt; -1 when pinch-zoomed\n\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) &lt;\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width,\n height,\n x: x + getWindowScrollBarX(element),\n y,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Rect } from '../types';\nimport getDocumentElement from './getDocumentElement';\nimport getComputedStyle from './getComputedStyle';\nimport getWindowScrollBarX from './getWindowScrollBarX';\nimport getWindowScroll from './getWindowScroll';\nimport { max } from '../utils/math';\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `&lt;html&gt;` and `&lt;body&gt;` rect bounds if horizontally scrollable\nexport default function getDocumentRect(element: HTMLElement): Rect {\n const html = getDocumentElement(element);\n const winScroll = getWindowScroll(element);\n const body = element.ownerDocument?.body;\n\n const width = max(\n html.scrollWidth,\n html.clientWidth,\n body ? body.scrollWidth : 0,\n body ? body.clientWidth : 0\n );\n const height = max(\n html.scrollHeight,\n html.clientHeight,\n body ? body.scrollHeight : 0,\n body ? body.clientHeight : 0\n );\n\n let x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n const y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return { width, height, x, y };\n}\n"</span>,<span class="code-string">"// @flow\nimport { type Variation, type Placement } from '../enums';\n\nexport default function getVariation(placement: Placement): ?Variation {\n return (placement.split('-')[1]: any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nexport default function getMainAxisFromPlacement(\n placement: Placement\n): 'x' | 'y' {\n return ['top', 'bottom'].indexOf(placement) &gt;= 0 ? 'x' : 'y';\n}\n"</span>,<span class="code-string">"// @flow\nimport getBasePlacement from './getBasePlacement';\nimport getVariation from './getVariation';\nimport getMainAxisFromPlacement from './getMainAxisFromPlacement';\nimport type {\n Rect,\n PositioningStrategy,\n Offsets,\n ClientRectObject,\n} from '../types';\nimport { top, right, bottom, left, start, end, type Placement } from '../enums';\n\nexport default function computeOffsets({\n reference,\n element,\n placement,\n}: {\n reference: Rect | ClientRectObject,\n element: Rect | ClientRectObject,\n strategy: PositioningStrategy,\n placement?: Placement,\n}): Offsets {\n const basePlacement = placement ? getBasePlacement(placement) : null;\n const variation = placement ? getVariation(placement) : null;\n const commonX = reference.x + reference.width / 2 - element.width / 2;\n const commonY = reference.y + reference.height / 2 - element.height / 2;\n\n let offsets;\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height,\n };\n break;\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height,\n };\n break;\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY,\n };\n break;\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY,\n };\n break;\n default:\n offsets = {\n x: reference.x,\n y: reference.y,\n };\n }\n\n const mainAxis = basePlacement\n ? getMainAxisFromPlacement(basePlacement)\n : null;\n\n if (mainAxis != null) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] =\n offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n case end:\n offsets[mainAxis] =\n offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n default:\n }\n }\n\n return offsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\nimport getFreshSideObject from './getFreshSideObject';\n\nexport default function mergePaddingObject(\n paddingObject: $Shape&lt;SideObject&gt;\n): SideObject {\n return {\n ...getFreshSideObject(),\n ...paddingObject,\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { SideObject } from '../types';\n\nexport default function getFreshSideObject(): SideObject {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n };\n}\n"</span>,<span class="code-string">"// @flow\n\nexport default function expandToHashMap&lt;\n T: number | string | boolean,\n K: string\n&gt;(value: T, keys: Array&lt;K&gt;): { [key: string]: T } {\n return keys.reduce((hashMap, key) =&gt; {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}\n"</span>,<span class="code-string">"// @flow\nimport type { State, SideObject, Padding } from '../types';\nimport type { Placement, Boundary, RootBoundary, Context } from '../enums';\nimport getClippingRect from '../dom-utils/getClippingRect';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getBoundingClientRect from '../dom-utils/getBoundingClientRect';\nimport computeOffsets from './computeOffsets';\nimport rectToClientRect from './rectToClientRect';\nimport {\n clippingParents,\n reference,\n popper,\n bottom,\n top,\n right,\n basePlacements,\n viewport,\n} from '../enums';\nimport { isElement } from '../dom-utils/instanceOf';\nimport mergePaddingObject from './mergePaddingObject';\nimport expandToHashMap from './expandToHashMap';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n placement: Placement,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n elementContext: Context,\n altBoundary: boolean,\n padding: Padding,\n};\n\nexport default function detectOverflow(\n state: State,\n options: $Shape&lt;Options&gt; = {}\n): SideObject {\n const {\n placement = state.placement,\n boundary = clippingParents,\n rootBoundary = viewport,\n elementContext = popper,\n altBoundary = false,\n padding = 0,\n } = options;\n\n const paddingObject = mergePaddingObject(\n typeof padding !== 'number'\n ? padding\n : expandToHashMap(padding, basePlacements)\n );\n\n const altContext = elementContext === popper ? reference : popper;\n\n const popperRect = state.rects.popper;\n const element = state.elements[altBoundary ? altContext : elementContext];\n\n const clippingClientRect = getClippingRect(\n isElement(element)\n ? element\n : element.contextElement || getDocumentElement(state.elements.popper),\n boundary,\n rootBoundary\n );\n\n const referenceClientRect = getBoundingClientRect(state.elements.reference);\n\n const popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement,\n });\n\n const popperClientRect = rectToClientRect({\n ...popperRect,\n ...popperOffsets,\n });\n\n const elementClientRect =\n elementContext === popper ? popperClientRect : referenceClientRect;\n\n // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n const overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom:\n elementClientRect.bottom -\n clippingClientRect.bottom +\n paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right:\n elementClientRect.right - clippingClientRect.right + paddingObject.right,\n };\n\n const offsetData = state.modifiersData.offset;\n\n // Offsets can be applied only to the popper element\n if (elementContext === popper &amp;&amp; offsetData) {\n const offset = offsetData[placement];\n\n Object.keys(overflowOffsets).forEach((key) =&gt; {\n const multiply = [right, bottom].indexOf(key) &gt;= 0 ? 1 : -1;\n const axis = [top, bottom].indexOf(key) &gt;= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}\n"</span>,<span class="code-string">"// @flow\nimport type {\n State,\n OptionsGeneric,\n Modifier,\n Instance,\n VirtualElement,\n} from './types';\nimport getCompositeRect from './dom-utils/getCompositeRect';\nimport getLayoutRect from './dom-utils/getLayoutRect';\nimport listScrollParents from './dom-utils/listScrollParents';\nimport getOffsetParent from './dom-utils/getOffsetParent';\nimport getComputedStyle from './dom-utils/getComputedStyle';\nimport orderModifiers from './utils/orderModifiers';\nimport debounce from './utils/debounce';\nimport validateModifiers from './utils/validateModifiers';\nimport uniqueBy from './utils/uniqueBy';\nimport getBasePlacement from './utils/getBasePlacement';\nimport mergeByName from './utils/mergeByName';\nimport detectOverflow from './utils/detectOverflow';\nimport { isElement } from './dom-utils/instanceOf';\nimport { auto } from './enums';\n\nconst INVALID_ELEMENT_ERROR =\n 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nconst INFINITE_LOOP_ERROR =\n 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\n\nconst DEFAULT_OPTIONS: OptionsGeneric&lt;any&gt; = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute',\n};\n\ntype PopperGeneratorArgs = {\n defaultModifiers?: Array&lt;Modifier&lt;any, any&gt;&gt;,\n defaultOptions?: $Shape&lt;OptionsGeneric&lt;any&gt;&gt;,\n};\n\nfunction areValidElements(...args: Array&lt;any&gt;): boolean {\n return !args.some(\n (element) =&gt;\n !(element &amp;&amp; typeof element.getBoundingClientRect === 'function')\n );\n}\n\nexport function popperGenerator(generatorOptions: PopperGeneratorArgs = {}) {\n const {\n defaultModifiers = [],\n defaultOptions = DEFAULT_OPTIONS,\n } = generatorOptions;\n\n return function createPopper&lt;TModifier: $Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;(\n reference: Element | VirtualElement,\n popper: HTMLElement,\n options: $Shape&lt;OptionsGeneric&lt;TModifier&gt;&gt; = defaultOptions\n ): Instance {\n let state: $Shape&lt;State&gt; = {\n placement: 'bottom',\n orderedModifiers: [],\n options: { ...DEFAULT_OPTIONS, ...defaultOptions },\n modifiersData: {},\n elements: {\n reference,\n popper,\n },\n attributes: {},\n styles: {},\n };\n\n let effectCleanupFns: Array&lt;() =&gt; void&gt; = [];\n let isDestroyed = false;\n\n const instance = {\n state,\n setOptions(setOptionsAction) {\n const options =\n typeof setOptionsAction === 'function'\n ? setOptionsAction(state.options)\n : setOptionsAction;\n\n cleanupModifierEffects();\n\n state.options = {\n // $FlowFixMe[exponential-spread]\n ...defaultOptions,\n ...state.options,\n ...options,\n };\n\n state.scrollParents = {\n reference: isElement(reference)\n ? listScrollParents(reference)\n : reference.contextElement\n ? listScrollParents(reference.contextElement)\n : [],\n popper: listScrollParents(popper),\n };\n\n // Orders the modifiers based on their dependencies and `phase`\n // properties\n const orderedModifiers = orderModifiers(\n mergeByName([...defaultModifiers, ...state.options.modifiers])\n );\n\n // Strip out disabled modifiers\n state.orderedModifiers = orderedModifiers.filter((m) =&gt; m.enabled);\n\n // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n if (__DEV__) {\n const modifiers = uniqueBy(\n [...orderedModifiers, ...state.options.modifiers],\n ({ name }) =&gt; name\n );\n\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n const flipModifier = state.orderedModifiers.find(\n ({ name }) =&gt; name === 'flip'\n );\n\n if (!flipModifier) {\n console.error(\n [\n 'Popper: \"auto\" placements require the \"flip\" modifier be',\n 'present and enabled to work.',\n ].join(' ')\n );\n }\n }\n\n const {\n marginTop,\n marginRight,\n marginBottom,\n marginLeft,\n } = getComputedStyle(popper);\n\n // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n if (\n [marginTop, marginRight, marginBottom, marginLeft].some((margin) =&gt;\n parseFloat(margin)\n )\n ) {\n console.warn(\n [\n 'Popper: CSS \"margin\" styles cannot be used to apply padding',\n 'between the popper and its reference element or boundary.',\n 'To replicate margin, use the `offset` modifier, as well as',\n 'the `padding` option in the `preventOverflow` and `flip`',\n 'modifiers.',\n ].join(' ')\n );\n }\n }\n\n runModifierEffects();\n\n return instance.update();\n },\n\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n const { reference, popper } = state.elements;\n\n // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return;\n }\n\n // Store the reference and popper rects to be read by modifiers\n state.rects = {\n reference: getCompositeRect(\n reference,\n getOffsetParent(popper),\n state.options.strategy === 'fixed'\n ),\n popper: getLayoutRect(popper),\n };\n\n // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n state.reset = false;\n\n state.placement = state.options.placement;\n\n // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n state.orderedModifiers.forEach(\n (modifier) =&gt;\n (state.modifiersData[modifier.name] = {\n ...modifier.data,\n })\n );\n\n let __debug_loops__ = 0;\n for (let index = 0; index &lt; state.orderedModifiers.length; index++) {\n if (__DEV__) {\n __debug_loops__ += 1;\n if (__debug_loops__ &gt; 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n const { fn, options = {}, name } = state.orderedModifiers[index];\n\n if (typeof fn === 'function') {\n state = fn({ state, options, name, instance }) || state;\n }\n }\n },\n\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce&lt;$Shape&lt;State&gt;&gt;(\n () =&gt;\n new Promise&lt;$Shape&lt;State&gt;&gt;((resolve) =&gt; {\n instance.forceUpdate();\n resolve(state);\n })\n ),\n\n destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n },\n };\n\n if (!areValidElements(reference, popper)) {\n if (__DEV__) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n return instance;\n }\n\n instance.setOptions(options).then((state) =&gt; {\n if (!isDestroyed &amp;&amp; options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n });\n\n // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n function runModifierEffects() {\n state.orderedModifiers.forEach(({ name, options = {}, effect }) =&gt; {\n if (typeof effect === 'function') {\n const cleanupFn = effect({ state, name, instance, options });\n const noopFn = () =&gt; {};\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach((fn) =&gt; fn());\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\n\nexport const createPopper = popperGenerator();\n\n// eslint-disable-next-line import/no-unused-modules\nexport { detectOverflow };\n"</span>,<span class="code-string">"// @flow\n\nexport default function debounce&lt;T&gt;(fn: Function): () =&gt; Promise&lt;T&gt; {\n let pending;\n return () =&gt; {\n if (!pending) {\n pending = new Promise&lt;T&gt;(resolve =&gt; {\n Promise.resolve().then(() =&gt; {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier } from '../types';\n\nexport default function mergeByName(\n modifiers: Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt;\n): Array&lt;$Shape&lt;Modifier&lt;any, any&gt;&gt;&gt; {\n const merged = modifiers.reduce((merged, current) =&gt; {\n const existing = merged[current.name];\n merged[current.name] = existing\n ? {\n ...existing,\n ...current,\n options: { ...existing.options, ...current.options },\n data: { ...existing.data, ...current.data },\n }\n : current;\n return merged;\n }, {});\n\n // IE11 does not support Object.values\n return Object.keys(merged).map(key =&gt; merged[key]);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { ModifierArguments, Modifier } from '../types';\nimport getWindow from '../dom-utils/getWindow';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n scroll: boolean,\n resize: boolean,\n};\n\nconst passive = { passive: true };\n\nfunction effect({ state, instance, options }: ModifierArguments&lt;Options&gt;) {\n const { scroll = true, resize = true } = options;\n\n const window = getWindow(state.elements.popper);\n const scrollParents = [\n ...state.scrollParents.reference,\n ...state.scrollParents.popper,\n ];\n\n if (scroll) {\n scrollParents.forEach(scrollParent =&gt; {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return () =&gt; {\n if (scroll) {\n scrollParents.forEach(scrollParent =&gt; {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type EventListenersModifier = Modifier&lt;'eventListeners', Options&gt;;\nexport default ({\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: () =&gt; {},\n effect,\n data: {},\n}: EventListenersModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { ModifierArguments, Modifier } from '../types';\nimport computeOffsets from '../utils/computeOffsets';\n\nfunction popperOffsets({ state, name }: ModifierArguments&lt;{||}&gt;) {\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement,\n });\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type PopperOffsetsModifier = Modifier&lt;'popperOffsets', {||}&gt;;\nexport default ({\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {},\n}: PopperOffsetsModifier);\n"</span>,<span class="code-string">"// @flow\nimport type {\n PositioningStrategy,\n Offsets,\n Modifier,\n ModifierArguments,\n Rect,\n Window,\n} from '../types';\nimport {\n type BasePlacement,\n type Variation,\n top,\n left,\n right,\n bottom,\n end,\n} from '../enums';\nimport getOffsetParent from '../dom-utils/getOffsetParent';\nimport getWindow from '../dom-utils/getWindow';\nimport getDocumentElement from '../dom-utils/getDocumentElement';\nimport getComputedStyle from '../dom-utils/getComputedStyle';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getVariation from '../utils/getVariation';\nimport { round } from '../utils/math';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type RoundOffsets = (\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;\n) =&gt; Offsets;\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n gpuAcceleration: boolean,\n adaptive: boolean,\n roundOffsets?: boolean | RoundOffsets,\n};\n\nconst unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto',\n};\n\n// Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\nfunction roundOffsetsByDPR({ x, y }): Offsets {\n const win: Window = window;\n const dpr = win.devicePixelRatio || 1;\n\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0,\n };\n}\n\nexport function mapToStyles({\n popper,\n popperRect,\n placement,\n variation,\n offsets,\n position,\n gpuAcceleration,\n adaptive,\n roundOffsets,\n isFixed,\n}: {\n popper: HTMLElement,\n popperRect: Rect,\n placement: BasePlacement,\n variation: ?Variation,\n offsets: $Shape&lt;{ x: number, y: number, centerOffset: number }&gt;,\n position: PositioningStrategy,\n gpuAcceleration: boolean,\n adaptive: boolean,\n roundOffsets: boolean | RoundOffsets,\n isFixed: boolean,\n}) {\n let { x = 0, y = 0 } = offsets;\n\n ({ x, y } =\n typeof roundOffsets === 'function'\n ? roundOffsets({ x, y })\n : { x, y });\n\n const hasX = offsets.hasOwnProperty('x');\n const hasY = offsets.hasOwnProperty('y');\n\n let sideX: string = left;\n let sideY: string = top;\n\n const win: Window = window;\n\n if (adaptive) {\n let offsetParent = getOffsetParent(popper);\n let heightProp = 'clientHeight';\n let widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (\n getComputedStyle(offsetParent).position !== 'static' &amp;&amp;\n position === 'absolute'\n ) {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n }\n\n // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n offsetParent = (offsetParent: Element);\n\n if (\n placement === top ||\n ((placement === left || placement === right) &amp;&amp; variation === end)\n ) {\n sideY = bottom;\n const offsetY =\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\n ? win.visualViewport.height\n : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (\n placement === left ||\n ((placement === top || placement === bottom) &amp;&amp; variation === end)\n ) {\n sideX = right;\n const offsetX =\n isFixed &amp;&amp; offsetParent === win &amp;&amp; win.visualViewport\n ? win.visualViewport.width\n : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n const commonStyles = {\n position,\n ...(adaptive &amp;&amp; unsetSides),\n };\n\n ({ x, y } =\n roundOffsets === true\n ? roundOffsetsByDPR({ x, y })\n : { x, y });\n\n if (gpuAcceleration) {\n return {\n ...commonStyles,\n [sideY]: hasY ? '0' : '',\n [sideX]: hasX ? '0' : '',\n // Layer acceleration can disable subpixel rendering which causes slightly\n // blurry text on low PPI displays, so we want to use 2D transforms\n // instead\n transform:\n (win.devicePixelRatio || 1) &lt;= 1\n ? `translate(${x}px, ${y}px)`\n : `translate3d(${x}px, ${y}px, 0)`,\n };\n }\n\n return {\n ...commonStyles,\n [sideY]: hasY ? `${y}px` : '',\n [sideX]: hasX ? `${x}px` : '',\n transform: '',\n };\n}\n\nfunction computeStyles({ state, options }: ModifierArguments&lt;Options&gt;) {\n const {\n gpuAcceleration = true,\n adaptive = true,\n // defaults to use builtin `roundOffsetsByDPR`\n roundOffsets = true,\n } = options;\n\n if (__DEV__) {\n const transitionProperty =\n getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (\n adaptive &amp;&amp;\n ['transform', 'top', 'right', 'bottom', 'left'].some(\n (property) =&gt; transitionProperty.indexOf(property) &gt;= 0\n )\n ) {\n console.warn(\n [\n 'Popper: Detected CSS transitions on at least one of the following',\n 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".',\n '\\n\\n',\n 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow',\n 'for smooth transitions, or remove these properties from the CSS',\n 'transition declaration on the popper element if only transitioning',\n 'opacity or background-color for example.',\n '\\n\\n',\n 'We recommend using the popper element as a wrapper around an inner',\n 'element that can have any CSS property transitioned for animations.',\n ].join(' ')\n );\n }\n }\n\n const commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration,\n isFixed: state.options.strategy === 'fixed',\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = {\n ...state.styles.popper,\n ...mapToStyles({\n ...commonStyles,\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive,\n roundOffsets,\n }),\n };\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = {\n ...state.styles.arrow,\n ...mapToStyles({\n ...commonStyles,\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets,\n }),\n };\n }\n\n state.attributes.popper = {\n ...state.attributes.popper,\n 'data-popper-placement': state.placement,\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ComputeStylesModifier = Modifier&lt;'computeStyles', Options&gt;;\nexport default ({\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {},\n}: ComputeStylesModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier, ModifierArguments } from '../types';\nimport getNodeName from '../dom-utils/getNodeName';\nimport { isHTMLElement } from '../dom-utils/instanceOf';\n\n// This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles({ state }: ModifierArguments&lt;{||}&gt;) {\n Object.keys(state.elements).forEach((name) =&gt; {\n const style = state.styles[name] || {};\n\n const attributes = state.attributes[name] || {};\n const element = state.elements[name];\n\n // arrow is optional + virtual elements\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n Object.assign(element.style, style);\n\n Object.keys(attributes).forEach((name) =&gt; {\n const value = attributes[name];\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect({ state }: ModifierArguments&lt;{||}&gt;) {\n const initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0',\n },\n arrow: {\n position: 'absolute',\n },\n reference: {},\n };\n\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return () =&gt; {\n Object.keys(state.elements).forEach((name) =&gt; {\n const element = state.elements[name];\n const attributes = state.attributes[name] || {};\n\n const styleProperties = Object.keys(\n state.styles.hasOwnProperty(name)\n ? state.styles[name]\n : initialStyles[name]\n );\n\n // Set all values to an empty string to unset them\n const style = styleProperties.reduce((style, property) =&gt; {\n style[property] = '';\n return style;\n }, {});\n\n // arrow is optional + virtual elements\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n\n Object.keys(attributes).forEach((attribute) =&gt; {\n element.removeAttribute(attribute);\n });\n });\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ApplyStylesModifier = Modifier&lt;'applyStyles', {||}&gt;;\nexport default ({\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect,\n requires: ['computeStyles'],\n}: ApplyStylesModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\nimport type { ModifierArguments, Modifier, Rect, Offsets } from '../types';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport { top, left, right, placements } from '../enums';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type OffsetsFunction = ({\n popper: Rect,\n reference: Rect,\n placement: Placement,\n}) =&gt; [?number, ?number];\n\ntype Offset = OffsetsFunction | [?number, ?number];\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n offset: Offset,\n};\n\nexport function distanceAndSkiddingToXY(\n placement: Placement,\n rects: { popper: Rect, reference: Rect },\n offset: Offset\n): Offsets {\n const basePlacement = getBasePlacement(placement);\n const invertDistance = [left, top].indexOf(basePlacement) &gt;= 0 ? -1 : 1;\n\n let [skidding, distance] =\n typeof offset === 'function'\n ? offset({\n ...rects,\n placement,\n })\n : offset;\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n\n return [left, right].indexOf(basePlacement) &gt;= 0\n ? { x: distance, y: skidding }\n : { x: skidding, y: distance };\n}\n\nfunction offset({ state, options, name }: ModifierArguments&lt;Options&gt;) {\n const { offset = [0, 0] } = options;\n\n const data = placements.reduce((acc, placement) =&gt; {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n\n const { x, y } = data[state.placement];\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type OffsetModifier = Modifier&lt;'offset', Options&gt;;\nexport default ({\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset,\n}: OffsetModifier);\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nconst hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n\nexport default function getOppositePlacement(placement: Placement): Placement {\n return (placement.replace(\n /left|right|bottom|top/g,\n matched =&gt; hash[matched]\n ): any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement } from '../enums';\n\nconst hash = { start: 'end', end: 'start' };\n\nexport default function getOppositeVariationPlacement(\n placement: Placement\n): Placement {\n return (placement.replace(/start|end/g, matched =&gt; hash[matched]): any);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { State, Padding } from '../types';\nimport type {\n Placement,\n ComputedPlacement,\n Boundary,\n RootBoundary,\n} from '../enums';\nimport getVariation from './getVariation';\nimport {\n variationPlacements,\n basePlacements,\n placements as allPlacements,\n} from '../enums';\nimport detectOverflow from './detectOverflow';\nimport getBasePlacement from './getBasePlacement';\n\ntype Options = {\n placement: Placement,\n padding: Padding,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n flipVariations: boolean,\n allowedAutoPlacements?: Array&lt;Placement&gt;,\n};\n\ntype OverflowsMap = { [ComputedPlacement]: number };\n\nexport default function computeAutoPlacement(\n state: $Shape&lt;State&gt;,\n options: Options = {}\n): Array&lt;ComputedPlacement&gt; {\n const {\n placement,\n boundary,\n rootBoundary,\n padding,\n flipVariations,\n allowedAutoPlacements = allPlacements,\n } = options;\n\n const variation = getVariation(placement);\n\n const placements = variation\n ? flipVariations\n ? variationPlacements\n : variationPlacements.filter(\n (placement) =&gt; getVariation(placement) === variation\n )\n : basePlacements;\n\n let allowedPlacements = placements.filter(\n (placement) =&gt; allowedAutoPlacements.indexOf(placement) &gt;= 0\n );\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n\n if (__DEV__) {\n console.error(\n [\n 'Popper: The `allowedAutoPlacements` option did not allow any',\n 'placements. Ensure the `placement` option matches the variation',\n 'of the allowed placements.',\n 'For example, \"auto\" cannot be used to allow \"bottom-start\".',\n 'Use \"auto-start\" instead.',\n ].join(' ')\n );\n }\n }\n\n // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n const overflows: OverflowsMap = allowedPlacements.reduce((acc, placement) =&gt; {\n acc[placement] = detectOverflow(state, {\n placement,\n boundary,\n rootBoundary,\n padding,\n })[getBasePlacement(placement)];\n\n return acc;\n }, {});\n\n return Object.keys(overflows).sort((a, b) =&gt; overflows[a] - overflows[b]);\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Placement, Boundary, RootBoundary } from '../enums';\nimport type { ModifierArguments, Modifier, Padding } from '../types';\nimport getOppositePlacement from '../utils/getOppositePlacement';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getOppositeVariationPlacement from '../utils/getOppositeVariationPlacement';\nimport detectOverflow from '../utils/detectOverflow';\nimport computeAutoPlacement from '../utils/computeAutoPlacement';\nimport { bottom, top, start, right, left, auto } from '../enums';\nimport getVariation from '../utils/getVariation';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n mainAxis: boolean,\n altAxis: boolean,\n fallbackPlacements: Array&lt;Placement&gt;,\n padding: Padding,\n boundary: Boundary,\n rootBoundary: RootBoundary,\n altBoundary: boolean,\n flipVariations: boolean,\n allowedAutoPlacements: Array&lt;Placement&gt;,\n};\n\nfunction getExpandedFallbackPlacements(placement: Placement): Array&lt;Placement&gt; {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n const oppositePlacement = getOppositePlacement(placement);\n\n return [\n getOppositeVariationPlacement(placement),\n oppositePlacement,\n getOppositeVariationPlacement(oppositePlacement),\n ];\n}\n\nfunction flip({ state, options, name }: ModifierArguments&lt;Options&gt;) {\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n const {\n mainAxis: checkMainAxis = true,\n altAxis: checkAltAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n padding,\n boundary,\n rootBoundary,\n altBoundary,\n flipVariations = true,\n allowedAutoPlacements,\n } = options;\n\n const preferredPlacement = state.options.placement;\n const basePlacement = getBasePlacement(preferredPlacement);\n const isBasePlacement = basePlacement === preferredPlacement;\n\n const fallbackPlacements =\n specifiedFallbackPlacements ||\n (isBasePlacement || !flipVariations\n ? [getOppositePlacement(preferredPlacement)]\n : getExpandedFallbackPlacements(preferredPlacement));\n\n const placements = [preferredPlacement, ...fallbackPlacements].reduce(\n (acc, placement) =&gt; {\n return acc.concat(\n getBasePlacement(placement) === auto\n ? computeAutoPlacement(state, {\n placement,\n boundary,\n rootBoundary,\n padding,\n flipVariations,\n allowedAutoPlacements,\n })\n : placement\n );\n },\n []\n );\n\n const referenceRect = state.rects.reference;\n const popperRect = state.rects.popper;\n\n const checksMap = new Map();\n let makeFallbackChecks = true;\n let firstFittingPlacement = placements[0];\n\n for (let i = 0; i &lt; placements.length; i++) {\n const placement = placements[i];\n const basePlacement = getBasePlacement(placement);\n const isStartVariation = getVariation(placement) === start;\n const isVertical = [top, bottom].indexOf(basePlacement) &gt;= 0;\n const len = isVertical ? 'width' : 'height';\n\n const overflow = detectOverflow(state, {\n placement,\n boundary,\n rootBoundary,\n altBoundary,\n padding,\n });\n\n let mainVariationSide: any = isVertical\n ? isStartVariation\n ? right\n : left\n : isStartVariation\n ? bottom\n : top;\n\n if (referenceRect[len] &gt; popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n const altVariationSide: any = getOppositePlacement(mainVariationSide);\n\n const checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[basePlacement] &lt;= 0);\n }\n\n if (checkAltAxis) {\n checks.push(\n overflow[mainVariationSide] &lt;= 0,\n overflow[altVariationSide] &lt;= 0\n );\n }\n\n if (checks.every((check) =&gt; check)) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n const numberOfChecks = flipVariations ? 3 : 1;\n\n for (let i = numberOfChecks; i &gt; 0; i--) {\n const fittingPlacement = placements.find((placement) =&gt; {\n const checks = checksMap.get(placement);\n if (checks) {\n return checks.slice(0, i).every((check) =&gt; check);\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n break;\n }\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type FlipModifier = Modifier&lt;'flip', Options&gt;;\nexport default ({\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: { _skip: false },\n}: FlipModifier);\n"</span>,<span class="code-string">"// @flow\nimport { max as mathMax, min as mathMin } from './math';\n\nexport function within(min: number, value: number, max: number): number {\n return mathMax(min, mathMin(value, max));\n}\n\nexport function withinMaxClamp(min: number, value: number, max: number) {\n const v = within(min, value, max);\n return v &gt; max ? max : v;\n}\n"</span>,<span class="code-string">"// @flow\nimport { top, left, right, bottom, start } from '../enums';\nimport type { Placement, Boundary, RootBoundary } from '../enums';\nimport type { Rect, ModifierArguments, Modifier, Padding } from '../types';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getMainAxisFromPlacement from '../utils/getMainAxisFromPlacement';\nimport getAltAxis from '../utils/getAltAxis';\nimport { within, withinMaxClamp } from '../utils/within';\nimport getLayoutRect from '../dom-utils/getLayoutRect';\nimport getOffsetParent from '../dom-utils/getOffsetParent';\nimport detectOverflow from '../utils/detectOverflow';\nimport getVariation from '../utils/getVariation';\nimport getFreshSideObject from '../utils/getFreshSideObject';\nimport { min as mathMin, max as mathMax } from '../utils/math';\n\ntype TetherOffset =\n | (({\n popper: Rect,\n reference: Rect,\n placement: Placement,\n }) =&gt; number | { mainAxis: number, altAxis: number })\n | number\n | { mainAxis: number, altAxis: number };\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n /* Prevents boundaries overflow on the main axis */\n mainAxis: boolean,\n /* Prevents boundaries overflow on the alternate axis */\n altAxis: boolean,\n /* The area to check the popper is overflowing in */\n boundary: Boundary,\n /* If the popper is not overflowing the main area, fallback to this one */\n rootBoundary: RootBoundary,\n /* Use the reference's \"clippingParents\" boundary context */\n altBoundary: boolean,\n /**\n * Allows the popper to overflow from its boundaries to keep it near its\n * reference element\n */\n tether: boolean,\n /* Offsets when the `tether` option should activate */\n tetherOffset: TetherOffset,\n /* Sets a padding to the provided boundary */\n padding: Padding,\n};\n\nfunction preventOverflow({ state, options, name }: ModifierArguments&lt;Options&gt;) {\n const {\n mainAxis: checkMainAxis = true,\n altAxis: checkAltAxis = false,\n boundary,\n rootBoundary,\n altBoundary,\n padding,\n tether = true,\n tetherOffset = 0,\n } = options;\n\n const overflow = detectOverflow(state, {\n boundary,\n rootBoundary,\n padding,\n altBoundary,\n });\n const basePlacement = getBasePlacement(state.placement);\n const variation = getVariation(state.placement);\n const isBasePlacement = !variation;\n const mainAxis = getMainAxisFromPlacement(basePlacement);\n const altAxis = getAltAxis(mainAxis);\n const popperOffsets = state.modifiersData.popperOffsets;\n const referenceRect = state.rects.reference;\n const popperRect = state.rects.popper;\n const tetherOffsetValue =\n typeof tetherOffset === 'function'\n ? tetherOffset({\n ...state.rects,\n placement: state.placement,\n })\n : tetherOffset;\n const normalizedTetherOffsetValue =\n typeof tetherOffsetValue === 'number'\n ? { mainAxis: tetherOffsetValue, altAxis: tetherOffsetValue }\n : { mainAxis: 0, altAxis: 0, ...tetherOffsetValue };\n const offsetModifierState = state.modifiersData.offset\n ? state.modifiersData.offset[state.placement]\n : null;\n\n const data = { x: 0, y: 0 };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n const mainSide = mainAxis === 'y' ? top : left;\n const altSide = mainAxis === 'y' ? bottom : right;\n const len = mainAxis === 'y' ? 'height' : 'width';\n const offset = popperOffsets[mainAxis];\n\n const min = offset + overflow[mainSide];\n const max = offset - overflow[altSide];\n\n const additive = tether ? -popperRect[len] / 2 : 0;\n\n const minLen = variation === start ? referenceRect[len] : popperRect[len];\n const maxLen = variation === start ? -popperRect[len] : -referenceRect[len];\n\n // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n const arrowElement = state.elements.arrow;\n const arrowRect =\n tether &amp;&amp; arrowElement\n ? getLayoutRect(arrowElement)\n : { width: 0, height: 0 };\n const arrowPaddingObject = state.modifiersData['arrow#persistent']\n ? state.modifiersData['arrow#persistent'].padding\n : getFreshSideObject();\n const arrowPaddingMin = arrowPaddingObject[mainSide];\n const arrowPaddingMax = arrowPaddingObject[altSide];\n\n // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n const arrowLen = within(0, referenceRect[len], arrowRect[len]);\n\n const minOffset = isBasePlacement\n ? referenceRect[len] / 2 -\n additive -\n arrowLen -\n arrowPaddingMin -\n normalizedTetherOffsetValue.mainAxis\n : minLen -\n arrowLen -\n arrowPaddingMin -\n normalizedTetherOffsetValue.mainAxis;\n const maxOffset = isBasePlacement\n ? -referenceRect[len] / 2 +\n additive +\n arrowLen +\n arrowPaddingMax +\n normalizedTetherOffsetValue.mainAxis\n : maxLen +\n arrowLen +\n arrowPaddingMax +\n normalizedTetherOffsetValue.mainAxis;\n\n const arrowOffsetParent =\n state.elements.arrow &amp;&amp; getOffsetParent(state.elements.arrow);\n const clientOffset = arrowOffsetParent\n ? mainAxis === 'y'\n ? arrowOffsetParent.clientTop || 0\n : arrowOffsetParent.clientLeft || 0\n : 0;\n\n const offsetModifierValue = offsetModifierState?.[mainAxis] ?? 0;\n const tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n const tetherMax = offset + maxOffset - offsetModifierValue;\n\n const preventedOffset = within(\n tether ? mathMin(min, tetherMin) : min,\n offset,\n tether ? mathMax(max, tetherMax) : max\n );\n\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n const mainSide = mainAxis === 'x' ? top : left;\n const altSide = mainAxis === 'x' ? bottom : right;\n const offset = popperOffsets[altAxis];\n\n const len = altAxis === 'y' ? 'height' : 'width';\n\n const min = offset + overflow[mainSide];\n const max = offset - overflow[altSide];\n\n const isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n const offsetModifierValue = offsetModifierState?.[altAxis] ?? 0;\n const tetherMin = isOriginSide\n ? min\n : offset -\n referenceRect[len] -\n popperRect[len] -\n offsetModifierValue +\n normalizedTetherOffsetValue.altAxis;\n const tetherMax = isOriginSide\n ? offset +\n referenceRect[len] +\n popperRect[len] -\n offsetModifierValue -\n normalizedTetherOffsetValue.altAxis\n : max;\n\n const preventedOffset =\n tether &amp;&amp; isOriginSide\n ? withinMaxClamp(tetherMin, offset, tetherMax)\n : within(tether ? tetherMin : min, offset, tether ? tetherMax : max);\n\n popperOffsets[altAxis] = preventedOffset;\n data[altAxis] = preventedOffset - offset;\n }\n\n state.modifiersData[name] = data;\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type PreventOverflowModifier = Modifier&lt;'preventOverflow', Options&gt;;\nexport default ({\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset'],\n}: PreventOverflowModifier);\n"</span>,<span class="code-string">"// @flow\n\nexport default function getAltAxis(axis: 'x' | 'y'): 'x' | 'y' {\n return axis === 'x' ? 'y' : 'x';\n}\n"</span>,<span class="code-string">"// @flow\nimport type { Modifier, ModifierArguments, Padding, Rect } from '../types';\nimport type { Placement } from '../enums';\nimport getBasePlacement from '../utils/getBasePlacement';\nimport getLayoutRect from '../dom-utils/getLayoutRect';\nimport contains from '../dom-utils/contains';\nimport getOffsetParent from '../dom-utils/getOffsetParent';\nimport getMainAxisFromPlacement from '../utils/getMainAxisFromPlacement';\nimport { within } from '../utils/within';\nimport mergePaddingObject from '../utils/mergePaddingObject';\nimport expandToHashMap from '../utils/expandToHashMap';\nimport { left, right, basePlacements, top, bottom } from '../enums';\nimport { isHTMLElement } from '../dom-utils/instanceOf';\n\n// eslint-disable-next-line import/no-unused-modules\nexport type Options = {\n element: HTMLElement | string | null,\n padding:\n | Padding\n | (({|\n popper: Rect,\n reference: Rect,\n placement: Placement,\n |}) =&gt; Padding),\n};\n\nconst toPaddingObject = (padding, state) =&gt; {\n padding =\n typeof padding === 'function'\n ? padding({ ...state.rects, placement: state.placement })\n : padding;\n\n return mergePaddingObject(\n typeof padding !== 'number'\n ? padding\n : expandToHashMap(padding, basePlacements)\n );\n};\n\nfunction arrow({ state, name, options }: ModifierArguments&lt;Options&gt;) {\n const arrowElement = state.elements.arrow;\n const popperOffsets = state.modifiersData.popperOffsets;\n const basePlacement = getBasePlacement(state.placement);\n const axis = getMainAxisFromPlacement(basePlacement);\n const isVertical = [left, right].indexOf(basePlacement) &gt;= 0;\n const len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n const paddingObject = toPaddingObject(options.padding, state);\n const arrowRect = getLayoutRect(arrowElement);\n const minProp = axis === 'y' ? top : left;\n const maxProp = axis === 'y' ? bottom : right;\n\n const endDiff =\n state.rects.reference[len] +\n state.rects.reference[axis] -\n popperOffsets[axis] -\n state.rects.popper[len];\n const startDiff = popperOffsets[axis] - state.rects.reference[axis];\n\n const arrowOffsetParent = getOffsetParent(arrowElement);\n const clientSize = arrowOffsetParent\n ? axis === 'y'\n ? arrowOffsetParent.clientHeight || 0\n : arrowOffsetParent.clientWidth || 0\n : 0;\n\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n const min = paddingObject[minProp];\n const max = clientSize - arrowRect[len] - paddingObject[maxProp];\n const center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n const offset = within(min, center, max);\n\n // Prevents breaking syntax highlighting...\n const axisProp: string = axis;\n state.modifiersData[name] = {\n [axisProp]: offset,\n centerOffset: offset - center,\n };\n}\n\nfunction effect({ state, options }: ModifierArguments&lt;Options&gt;) {\n let { element: arrowElement = '[data-popper-arrow]' } = options;\n\n if (arrowElement == null) {\n return;\n }\n\n // CSS selector\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (__DEV__) {\n if (!isHTMLElement(arrowElement)) {\n console.error(\n [\n 'Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).',\n 'To use an SVG arrow, wrap it in an HTMLElement that will be used as',\n 'the arrow.',\n ].join(' ')\n );\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (__DEV__) {\n console.error(\n [\n 'Popper: \"arrow\" modifier\\'s `element` must be a child of the popper',\n 'element.',\n ].join(' ')\n );\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type ArrowModifier = Modifier&lt;'arrow', Options&gt;;\nexport default ({\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow'],\n}: ArrowModifier);\n"</span>,<span class="code-string">"// @flow\nimport type {\n ModifierArguments,\n Modifier,\n Rect,\n SideObject,\n Offsets,\n} from '../types';\nimport { top, bottom, left, right } from '../enums';\nimport detectOverflow from '../utils/detectOverflow';\n\nfunction getSideOffsets(\n overflow: SideObject,\n rect: Rect,\n preventedOffsets: Offsets = { x: 0, y: 0 }\n): SideObject {\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x,\n };\n}\n\nfunction isAnySideFullyClipped(overflow: SideObject): boolean {\n return [top, right, bottom, left].some((side) =&gt; overflow[side] &gt;= 0);\n}\n\nfunction hide({ state, name }: ModifierArguments&lt;{||}&gt;) {\n const referenceRect = state.rects.reference;\n const popperRect = state.rects.popper;\n const preventedOffsets = state.modifiersData.preventOverflow;\n\n const referenceOverflow = detectOverflow(state, {\n elementContext: 'reference',\n });\n const popperAltOverflow = detectOverflow(state, {\n altBoundary: true,\n });\n\n const referenceClippingOffsets = getSideOffsets(\n referenceOverflow,\n referenceRect\n );\n const popperEscapeOffsets = getSideOffsets(\n popperAltOverflow,\n popperRect,\n preventedOffsets\n );\n\n const isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n const hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n\n state.modifiersData[name] = {\n referenceClippingOffsets,\n popperEscapeOffsets,\n isReferenceHidden,\n hasPopperEscaped,\n };\n\n state.attributes.popper = {\n ...state.attributes.popper,\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped,\n };\n}\n\n// eslint-disable-next-line import/no-unused-modules\nexport type HideModifier = Modifier&lt;'hide', {||}&gt;;\nexport default ({\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide,\n}: HideModifier);\n"</span>,<span class="code-string">"// @flow\nimport { popperGenerator, detectOverflow } from './createPopper';\n\nimport eventListeners from './modifiers/eventListeners';\nimport popperOffsets from './modifiers/popperOffsets';\nimport computeStyles from './modifiers/computeStyles';\nimport applyStyles from './modifiers/applyStyles';\n\nexport type * from './types';\n\nconst defaultModifiers = [\n eventListeners,\n popperOffsets,\n computeStyles,\n applyStyles,\n];\n\nconst createPopper = popperGenerator({ defaultModifiers });\n\n// eslint-disable-next-line import/no-unused-modules\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\n"</span>,<span class="code-string">"// @flow\nimport { popperGenerator, detectOverflow } from './createPopper';\n\nimport eventListeners from './modifiers/eventListeners';\nimport popperOffsets from './modifiers/popperOffsets';\nimport computeStyles from './modifiers/computeStyles';\nimport applyStyles from './modifiers/applyStyles';\nimport offset from './modifiers/offset';\nimport flip from './modifiers/flip';\nimport preventOverflow from './modifiers/preventOverflow';\nimport arrow from './modifiers/arrow';\nimport hide from './modifiers/hide';\n\nexport type * from './types';\n\nconst defaultModifiers = [\n eventListeners,\n popperOffsets,\n computeStyles,\n applyStyles,\n offset,\n flip,\n preventOverflow,\n arrow,\n hide,\n];\n\nconst createPopper = popperGenerator({ defaultModifiers });\n\n// eslint-disable-next-line import/no-unused-modules\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };\n// eslint-disable-next-line import/no-unused-modules\nexport { createPopper as createPopperLite } from './popper-lite';\n// eslint-disable-next-line import/no-unused-modules\nexport * from './modifiers';\n"</span>],<span class="code-attr">"names"</span>:[<span class="code-string">"getWindow"</span>,<span class="code-string">"node"</span>,<span class="code-string">"window"</span>,<span class="code-string">"toString"</span>,<span class="code-string">"ownerDocument"</span>,<span class="code-string">"defaultView"</span>,<span class="code-string">"isElement"</span>,<span class="code-string">"Element"</span>,<span class="code-string">"isHTMLElement"</span>,<span class="code-string">"HTMLElement"</span>,<span class="code-string">"isShadowRoot"</span>,<span class="code-string">"ShadowRoot"</span>,<span class="code-string">"max"</span>,<span class="code-string">"Math"</span>,<span class="code-string">"min"</span>,<span class="code-string">"round"</span>,<span class="code-string">"getBoundingClientRect"</span>,<span class="code-string">"element"</span>,<span class="code-string">"includeScale"</span>,<span class="code-string">"rect"</span>,<span class="code-string">"scaleX"</span>,<span class="code-string">"scaleY"</span>,<span class="code-string">"offsetHeight"</span>,<span class="code-string">"offsetWidth"</span>,<span class="code-string">"width"</span>,<span class="code-string">"height"</span>,<span class="code-string">"top"</span>,<span class="code-string">"right"</span>,<span class="code-string">"bottom"</span>,<span class="code-string">"left"</span>,<span class="code-string">"x"</span>,<span class="code-string">"y"</span>,<span class="code-string">"getWindowScroll"</span>,<span class="code-string">"win"</span>,<span class="code-string">"scrollLeft"</span>,<span class="code-string">"pageXOffset"</span>,<span class="code-string">"scrollTop"</span>,<span class="code-string">"pageYOffset"</span>,<span class="code-string">"getNodeName"</span>,<span class="code-string">"nodeName"</span>,<span class="code-string">"toLowerCase"</span>,<span class="code-string">"getDocumentElement"</span>,<span class="code-string">"document"</span>,<span class="code-string">"documentElement"</span>,<span class="code-string">"getWindowScrollBarX"</span>,<span class="code-string">"getComputedStyle"</span>,<span class="code-string">"isScrollParent"</span>,<span class="code-string">"overflow"</span>,<span class="code-string">"overflowX"</span>,<span class="code-string">"overflowY"</span>,<span class="code-string">"test"</span>,<span class="code-string">"getCompositeRect"</span>,<span class="code-string">"elementOrVirtualElement"</span>,<span class="code-string">"offsetParent"</span>,<span class="code-string">"isFixed"</span>,<span class="code-string">"isOffsetParentAnElement"</span>,<span class="code-string">"offsetParentIsScaled"</span>,<span class="code-string">"isElementScaled"</span>,<span class="code-string">"scroll"</span>,<span class="code-string">"offsets"</span>,<span class="code-string">"clientLeft"</span>,<span class="code-string">"clientTop"</span>,<span class="code-string">"getLayoutRect"</span>,<span class="code-string">"clientRect"</span>,<span class="code-string">"abs"</span>,<span class="code-string">"offsetLeft"</span>,<span class="code-string">"offsetTop"</span>,<span class="code-string">"getParentNode"</span>,<span class="code-string">"assignedSlot"</span>,<span class="code-string">"parentNode"</span>,<span class="code-string">"host"</span>,<span class="code-string">"getScrollParent"</span>,<span class="code-string">"indexOf"</span>,<span class="code-string">"body"</span>,<span class="code-string">"listScrollParents"</span>,<span class="code-string">"list"</span>,<span class="code-string">"scrollParent"</span>,<span class="code-string">"isBody"</span>,<span class="code-string">"_element$ownerDocumen"</span>,<span class="code-string">"target"</span>,<span class="code-string">"concat"</span>,<span class="code-string">"visualViewport"</span>,<span class="code-string">"updatedList"</span>,<span class="code-string">"isTableElement"</span>,<span class="code-string">"getTrueOffsetParent"</span>,<span class="code-string">"position"</span>,<span class="code-string">"getOffsetParent"</span>,<span class="code-string">"isFirefox"</span>,<span class="code-string">"navigator"</span>,<span class="code-string">"userAgent"</span>,<span class="code-string">"currentNode"</span>,<span class="code-string">"css"</span>,<span class="code-string">"transform"</span>,<span class="code-string">"perspective"</span>,<span class="code-string">"contain"</span>,<span class="code-string">"willChange"</span>,<span class="code-string">"filter"</span>,<span class="code-string">"getContainingBlock"</span>,<span class="code-string">"auto"</span>,<span class="code-string">"basePlacements"</span>,<span class="code-string">"start"</span>,<span class="code-string">"end"</span>,<span class="code-string">"viewport"</span>,<span class="code-string">"popper"</span>,<span class="code-string">"variationPlacements"</span>,<span class="code-string">"reduce"</span>,<span class="code-string">"acc"</span>,<span class="code-string">"placement"</span>,<span class="code-string">"placements"</span>,<span class="code-string">"modifierPhases"</span>,<span class="code-string">"order"</span>,<span class="code-string">"modifiers"</span>,<span class="code-string">"map"</span>,<span class="code-string">"Map"</span>,<span class="code-string">"visited"</span>,<span class="code-string">"Set"</span>,<span class="code-string">"result"</span>,<span class="code-string">"sort"</span>,<span class="code-string">"modifier"</span>,<span class="code-string">"add"</span>,<span class="code-string">"name"</span>,<span class="code-string">"requires"</span>,<span class="code-string">"requiresIfExists"</span>,<span class="code-string">"forEach"</span>,<span class="code-string">"dep"</span>,<span class="code-string">"has"</span>,<span class="code-string">"depModifier"</span>,<span class="code-string">"get"</span>,<span class="code-string">"push"</span>,<span class="code-string">"set"</span>,<span class="code-string">"getBasePlacement"</span>,<span class="code-string">"split"</span>,<span class="code-string">"contains"</span>,<span class="code-string">"parent"</span>,<span class="code-string">"child"</span>,<span class="code-string">"rootNode"</span>,<span class="code-string">"getRootNode"</span>,<span class="code-string">"next"</span>,<span class="code-string">"isSameNode"</span>,<span class="code-string">"rectToClientRect"</span>,<span class="code-string">"getClientRectFromMixedType"</span>,<span class="code-string">"clippingParent"</span>,<span class="code-string">"html"</span>,<span class="code-string">"clientWidth"</span>,<span class="code-string">"clientHeight"</span>,<span class="code-string">"getViewportRect"</span>,<span class="code-string">"getInnerBoundingClientRect"</span>,<span class="code-string">"winScroll"</span>,<span class="code-string">"scrollWidth"</span>,<span class="code-string">"scrollHeight"</span>,<span class="code-string">"direction"</span>,<span class="code-string">"getDocumentRect"</span>,<span class="code-string">"getClippingRect"</span>,<span class="code-string">"boundary"</span>,<span class="code-string">"rootBoundary"</span>,<span class="code-string">"mainClippingParents"</span>,<span class="code-string">"clippingParents"</span>,<span class="code-string">"clipperElement"</span>,<span class="code-string">"getClippingParents"</span>,<span class="code-string">"firstClippingParent"</span>,<span class="code-string">"clippingRect"</span>,<span class="code-string">"accRect"</span>,<span class="code-string">"getVariation"</span>,<span class="code-string">"getMainAxisFromPlacement"</span>,<span class="code-string">"computeOffsets"</span>,<span class="code-string">"reference"</span>,<span class="code-string">"basePlacement"</span>,<span class="code-string">"variation"</span>,<span class="code-string">"commonX"</span>,<span class="code-string">"commonY"</span>,<span class="code-string">"mainAxis"</span>,<span class="code-string">"len"</span>,<span class="code-string">"mergePaddingObject"</span>,<span class="code-string">"paddingObject"</span>,<span class="code-string">"expandToHashMap"</span>,<span class="code-string">"value"</span>,<span class="code-string">"keys"</span>,<span class="code-string">"hashMap"</span>,<span class="code-string">"key"</span>,<span class="code-string">"detectOverflow"</span>,<span class="code-string">"state"</span>,<span class="code-string">"options"</span>,<span class="code-string">"elementContext"</span>,<span class="code-string">"altBoundary"</span>,<span class="code-string">"padding"</span>,<span class="code-string">"altContext"</span>,<span class="code-string">"popperRect"</span>,<span class="code-string">"rects"</span>,<span class="code-string">"elements"</span>,<span class="code-string">"clippingClientRect"</span>,<span class="code-string">"contextElement"</span>,<span class="code-string">"referenceClientRect"</span>,<span class="code-string">"popperOffsets"</span>,<span class="code-string">"strategy"</span>,<span class="code-string">"popperClientRect"</span>,<span class="code-string">"elementClientRect"</span>,<span class="code-string">"overflowOffsets"</span>,<span class="code-string">"offsetData"</span>,<span class="code-string">"modifiersData"</span>,<span class="code-string">"offset"</span>,<span class="code-string">"Object"</span>,<span class="code-string">"multiply"</span>,<span class="code-string">"axis"</span>,<span class="code-string">"DEFAULT_OPTIONS"</span>,<span class="code-string">"areValidElements"</span>,<span class="code-string">"args"</span>,<span class="code-string">"some"</span>,<span class="code-string">"popperGenerator"</span>,<span class="code-string">"generatorOptions"</span>,<span class="code-string">"defaultModifiers"</span>,<span class="code-string">"defaultOptions"</span>,<span class="code-string">"fn"</span>,<span class="code-string">"pending"</span>,<span class="code-string">"orderedModifiers"</span>,<span class="code-string">"attributes"</span>,<span class="code-string">"styles"</span>,<span class="code-string">"effectCleanupFns"</span>,<span class="code-string">"isDestroyed"</span>,<span class="code-string">"instance"</span>,<span class="code-string">"setOptions"</span>,<span class="code-string">"setOptionsAction"</span>,<span class="code-string">"cleanupModifierEffects"</span>,<span class="code-string">"scrollParents"</span>,<span class="code-string">"merged"</span>,<span class="code-string">"phase"</span>,<span class="code-string">"orderModifiers"</span>,<span class="code-string">"current"</span>,<span class="code-string">"existing"</span>,<span class="code-string">"data"</span>,<span class="code-string">"m"</span>,<span class="code-string">"enabled"</span>,<span class="code-string">"effect"</span>,<span class="code-string">"cleanupFn"</span>,<span class="code-string">"noopFn"</span>,<span class="code-string">"update"</span>,<span class="code-string">"forceUpdate"</span>,<span class="code-string">"reset"</span>,<span class="code-string">"index"</span>,<span class="code-string">"length"</span>,<span class="code-string">"Promise"</span>,<span class="code-string">"resolve"</span>,<span class="code-string">"then"</span>,<span class="code-string">"undefined"</span>,<span class="code-string">"destroy"</span>,<span class="code-string">"onFirstUpdate"</span>,<span class="code-string">"passive"</span>,<span class="code-string">"resize"</span>,<span class="code-string">"addEventListener"</span>,<span class="code-string">"removeEventListener"</span>,<span class="code-string">"unsetSides"</span>,<span class="code-string">"mapToStyles"</span>,<span class="code-string">"gpuAcceleration"</span>,<span class="code-string">"adaptive"</span>,<span class="code-string">"roundOffsets"</span>,<span class="code-string">"hasX"</span>,<span class="code-string">"hasOwnProperty"</span>,<span class="code-string">"hasY"</span>,<span class="code-string">"sideX"</span>,<span class="code-string">"sideY"</span>,<span class="code-string">"heightProp"</span>,<span class="code-string">"widthProp"</span>,<span class="code-string">"commonStyles"</span>,<span class="code-string">"dpr"</span>,<span class="code-string">"devicePixelRatio"</span>,<span class="code-string">"roundOffsetsByDPR"</span>,<span class="code-string">"arrow"</span>,<span class="code-string">"style"</span>,<span class="code-string">"assign"</span>,<span class="code-string">"removeAttribute"</span>,<span class="code-string">"setAttribute"</span>,<span class="code-string">"initialStyles"</span>,<span class="code-string">"margin"</span>,<span class="code-string">"property"</span>,<span class="code-string">"attribute"</span>,<span class="code-string">"invertDistance"</span>,<span class="code-string">"skidding"</span>,<span class="code-string">"distance"</span>,<span class="code-string">"distanceAndSkiddingToXY"</span>,<span class="code-string">"hash"</span>,<span class="code-string">"getOppositePlacement"</span>,<span class="code-string">"replace"</span>,<span class="code-string">"matched"</span>,<span class="code-string">"getOppositeVariationPlacement"</span>,<span class="code-string">"computeAutoPlacement"</span>,<span class="code-string">"flipVariations"</span>,<span class="code-string">"allowedAutoPlacements"</span>,<span class="code-string">"allPlacements"</span>,<span class="code-string">"allowedPlacements"</span>,<span class="code-string">"overflows"</span>,<span class="code-string">"a"</span>,<span class="code-string">"b"</span>,<span class="code-string">"_skip"</span>,<span class="code-string">"checkMainAxis"</span>,<span class="code-string">"altAxis"</span>,<span class="code-string">"checkAltAxis"</span>,<span class="code-string">"specifiedFallbackPlacements"</span>,<span class="code-string">"fallbackPlacements"</span>,<span class="code-string">"preferredPlacement"</span>,<span class="code-string">"oppositePlacement"</span>,<span class="code-string">"getExpandedFallbackPlacements"</span>,<span class="code-string">"referenceRect"</span>,<span class="code-string">"checksMap"</span>,<span class="code-string">"makeFallbackChecks"</span>,<span class="code-string">"firstFittingPlacement"</span>,<span class="code-string">"i"</span>,<span class="code-string">"isStartVariation"</span>,<span class="code-string">"isVertical"</span>,<span class="code-string">"mainVariationSide"</span>,<span class="code-string">"altVariationSide"</span>,<span class="code-string">"checks"</span>,<span class="code-string">"every"</span>,<span class="code-string">"check"</span>,<span class="code-string">"fittingPlacement"</span>,<span class="code-string">"find"</span>,<span class="code-string">"slice"</span>,<span class="code-string">"within"</span>,<span class="code-string">"mathMax"</span>,<span class="code-string">"mathMin"</span>,<span class="code-string">"tether"</span>,<span class="code-string">"tetherOffset"</span>,<span class="code-string">"isBasePlacement"</span>,<span class="code-string">"tetherOffsetValue"</span>,<span class="code-string">"normalizedTetherOffsetValue"</span>,<span class="code-string">"offsetModifierState"</span>,<span class="code-string">"mainSide"</span>,<span class="code-string">"altSide"</span>,<span class="code-string">"additive"</span>,<span class="code-string">"minLen"</span>,<span class="code-string">"maxLen"</span>,<span class="code-string">"arrowElement"</span>,<span class="code-string">"arrowRect"</span>,<span class="code-string">"arrowPaddingObject"</span>,<span class="code-string">"arrowPaddingMin"</span>,<span class="code-string">"arrowPaddingMax"</span>,<span class="code-string">"arrowLen"</span>,<span class="code-string">"minOffset"</span>,<span class="code-string">"maxOffset"</span>,<span class="code-string">"arrowOffsetParent"</span>,<span class="code-string">"clientOffset"</span>,<span class="code-string">"offsetModifierValue"</span>,<span class="code-string">"tetherMax"</span>,<span class="code-string">"preventedOffset"</span>,<span class="code-string">"isOriginSide"</span>,<span class="code-string">"tetherMin"</span>,<span class="code-string">"v"</span>,<span class="code-string">"withinMaxClamp"</span>,<span class="code-string">"toPaddingObject"</span>,<span class="code-string">"minProp"</span>,<span class="code-string">"maxProp"</span>,<span class="code-string">"endDiff"</span>,<span class="code-string">"startDiff"</span>,<span class="code-string">"clientSize"</span>,<span class="code-string">"centerToReference"</span>,<span class="code-string">"center"</span>,<span class="code-string">"axisProp"</span>,<span class="code-string">"centerOffset"</span>,<span class="code-string">"querySelector"</span>,<span class="code-string">"getSideOffsets"</span>,<span class="code-string">"preventedOffsets"</span>,<span class="code-string">"isAnySideFullyClipped"</span>,<span class="code-string">"side"</span>,<span class="code-string">"preventOverflow"</span>,<span class="code-string">"referenceOverflow"</span>,<span class="code-string">"popperAltOverflow"</span>,<span class="code-string">"referenceClippingOffsets"</span>,<span class="code-string">"popperEscapeOffsets"</span>,<span class="code-string">"isReferenceHidden"</span>,<span class="code-string">"hasPopperEscaped"</span>,<span class="code-string">"createPopper"</span>,<span class="code-string">"eventListeners"</span>,<span class="code-string">"computeStyles"</span>,<span class="code-string">"applyStyles"</span>,<span class="code-string">"flip"</span>,<span class="code-string">"hide"</span>],<span class="code-attr">"mappings"</span>:<span class="code-string">";;;;8OAIe,SAASA,EAAUC,MACpB,MAARA,SACKC,UAGe,oBAApBD,EAAKE,WA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A,MAAO5D,IAAAA,KACfoL,EAAgBxH,EAAMO,MAAMtB,UAC5BqB,EAAaN,EAAMO,MAAMpF,OACzB+P,EAAmBlL,EAAMkB,cAAcmK,gBAEvCC,EAAoBvL,EAAeC,EAAO,CAC9CE,eAAgB,cAEZqL,EAAoBxL,EAAeC,EAAO,CAC9CG,aAAa,IAGTqL,EAA2BP,GAC/BK,EACA9D,GAEIiE,EAAsBR,GAC1BM,EACAjL,EACA4K,GAGIQ,EAAoBP,GAAsBK,GAC1CG,EAAmBR,GAAsBM,GAE/CzL,EAAMkB,cAAc9E,GAAQ,CAC1BoP,yBAAAA,EACAC,oBAAAA,EACAC,kBAAAA,EACAC,iBAAAA,GAGF3L,EAAMkC,WAAW/G,wBACZ6E,EAAMkC,WAAW/G,uCACYuQ,wBACTC,MC9CrBC,GAAejK,EAAgB,CAAEE,iBAPd,CACvBgK,EACAjL,EACAkL,GACAC,MCCIlK,GAAmB,CACvBgK,EACAjL,EACAkL,GACAC,GACA5K,GACA6K,GACAX,GACAhG,GACA4G,IAGIL,GAAejK,EAAgB,CAAEE,iBAAAA"</span>}</code></td></tr><tr><td class="css-a4x74f">\</td><style data-emotion-css="jhhjkz">.css-jhhjkz{padding-left:10px;color:rgba(27,31,35,.3);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style><td class="css-jhhjkz">No newline at end of file</td></tr></tbody></table></div></div></div></div><style data-emotion-css="1teho9j">.css-1teho9j{margin-top:5rem;background:black;color:#aaa;}</style><footer class="css-1teho9j"><style data-emotion-css="1ui8put">.css-1ui8put{max-width:940px;padding:10px 20px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}</style><div class="css-1ui8put"><p><span>Build: <!-- -->a7ebffa</span></p><p><span>© <!-- -->2022<!-- --> UNPKG</span></p><style data-emotion-css="la3nd4">.css-la3nd4{font-size:1.5rem;}</style><p class="css-la3nd4"><style data-emotion-css="bogekj">.css-bogekj{color:#aaa;display:inline-block;}.css-bogekj:hover{color:white;}</style><a href="https://twitter.com/unpkg" class="css-bogekj"><style data-emotion-css="i6dzq1">.css-i6dzq1{vertical-align:text-bottom;}</style><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg></a><style data-emotion-css="3czw03">.css-3czw03{color:#aaa;display:inline-block;margin-left:1rem;}.css-3czw03:hover{color:white;}</style><a href="https://github.com/mjackson/unpkg" class="css-3czw03"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 496 512" class="css-i6dzq1" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></a></p></div></footer></div><script src="/react@16.8.6/umd/react.production.min.js"></script><script src="/react-dom@16.8.6/umd/react-dom.production.min.js"></script><script src="/@emotion/core@10.0.6/dist/core.umd.min.js"></script><script>'use strict';(function(t,A,c){function w(){w=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var e=arguments[b],c;for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}return a};return w.apply(this,arguments)}function P(a,b){if(null==a)return{};var e={},c=Object.keys(a),d;for(d=0;d<c.length;d++){var h=c[d];0<=b.indexOf(h)||(e[h]=a[h])}return e}function Q(a,b){b||(b=a.slice(0));a.raw=b;return a}function R(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,
+"default")?a["default"]:a}function D(a,b){return b={exports:{}},a(b,b.exports),b.exports}function J(a,b,e,c,d){for(var g in a)if(ua(a,g)){try{if("function"!==typeof a[g]){var r=Error((c||"React class")+": "+e+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[g]+"`.");r.name="Invariant Violation";throw r;}var k=a[g](b,g,c,e,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){k=q}!k||k instanceof Error||K((c||"React class")+": type specification of "+
+e+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(k instanceof Error&&!(k.message in L)){L[k.message]=!0;var B=d?d():"";K("Failed "+e+" type: "+k.message+(null!=B?B:""))}}}function G(){return null}function S(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={border:"1px solid #dfe2e5",
+borderRadius:3},b["@media (max-width: 700px)"]={borderRightWidth:0,borderLeftWidth:0},b),a)},e)}function T(a){var b,e=a.children;a=a.css;return c.jsx("div",{css:w((b={padding:10,background:"#f6f8fa",color:"#424242",border:"1px solid #d1d5da",borderTopLeftRadius:3,borderTopRightRadius:3,margin:"-1px -1px 0",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},b["@media (max-width: 700px)"]={paddingRight:20,paddingLeft:20},b),a)},e)}function U(a){return a&&a.map(function(a,
+c){return t.createElement(a.tag,z({key:c},a.attr),U(a.child))})}function E(a){return function(b){return t.createElement(va,z({attr:z({},a.attr)},b),U(a.child))}}function va(a){var b=function(b){var c=a.size||b.size||"1em";if(b.className)var e=b.className;a.className&&(e=(e?e+" ":"")+a.className);var h=a.attr,r=a.title,k=["attr","title"],B={},q;for(q in a)Object.prototype.hasOwnProperty.call(a,q)&&0>k.indexOf(q)&&(B[q]=a[q]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var p=0;for(q=
+Object.getOwnPropertySymbols(a);p<q.length;p++)0>k.indexOf(q[p])&&(B[q[p]]=a[q[p]])}return t.createElement("svg",z({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,h,B,{className:e,style:z({color:a.color||b.color},b.style,a.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),r&&t.createElement("title",null,r),a.children)};return void 0!==V?t.createElement(V.Consumer,null,function(a){return b(a)}):b(W)}function F(a,b){var e=b.css;b=P(b,["css"]);return c.jsx(a,w({css:w({},
+e,{verticalAlign:"text-bottom"})},b))}function wa(a){return F(X,a)}function xa(a){return F(Y,a)}function ya(a){return F(Z,a)}function za(a){return F(aa,a)}function Aa(a){return F(ba,a)}function ca(a){var b=a.path,e=a.details,g=Object.keys(e).reduce(function(a,b){var c=a.subdirs,g=a.files;b=e[b];"directory"===b.type?c.push(b):"file"===b.type&&g.push(b);return a},{subdirs:[],files:[]});a=g.subdirs;g=g.files;a.sort(da("path"));g.sort(da("path"));var d=[];"/"!==b&&d.push(c.jsx("tr",{key:".."},c.jsx("td",
+{css:M}),c.jsx("td",{css:y},c.jsx("a",{title:"Parent directory",href:"../",css:N},"..")),c.jsx("td",{css:y}),c.jsx("td",{css:O})));a.forEach(function(a){a=a.path.substr(1<b.length?b.length+1:1);var e=a+"/";d.push(c.jsx("tr",{key:a},c.jsx("td",{css:M},c.jsx(ya,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:e,css:N},a)),c.jsx("td",{css:y},"-"),c.jsx("td",{css:O},"-")))});g.forEach(function(a){var e=a.size,g=a.contentType;a=a.path.substr(1<b.length?b.length+1:1);d.push(c.jsx("tr",{key:a},c.jsx("td",
+{css:M},"text/plain"===g||"text/markdown"===g?c.jsx(wa,null):c.jsx(xa,null)),c.jsx("td",{css:y},c.jsx("a",{title:a,href:a,css:N},a)),c.jsx("td",{css:y},ea(e)),c.jsx("td",{css:O},g)))});var h=[];0<g.length&&h.push(g.length+" file"+(1===g.length?"":"s"));0<a.length&&h.push(a.length+" folder"+(1===a.length?"":"s"));return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,h.join(", "))),c.jsx("table",{css:{width:"100%",borderCollapse:"collapse",borderRadius:2,background:"#fff","@media (max-width: 700px)":{"& th + th + th + th, & td + td + td + td":{display:"none"}},
+"& tr:first-of-type td":{borderTop:0}}},c.jsx("thead",null,c.jsx("tr",null,c.jsx("th",null,c.jsx(H,null,"Icon")),c.jsx("th",null,c.jsx(H,null,"Name")),c.jsx("th",null,c.jsx(H,null,"Size")),c.jsx("th",null,c.jsx(H,null,"Content Type")))),c.jsx("tbody",null,d)))}function Ba(a){a=a.split("/");return a[a.length-1]}function Ca(a){var b=a.uri;return c.jsx("div",{css:{padding:20,textAlign:"center"}},c.jsx("img",{alt:Ba(a.path),src:b}))}function Da(a){a=a.highlights.slice(0);var b=a.length&&""===a[a.length-
+1];b&&a.pop();return c.jsx("div",{className:"code-listing",css:{overflowX:"auto",overflowY:"hidden",paddingTop:5,paddingBottom:5}},c.jsx("table",{css:{border:"none",borderCollapse:"collapse",borderSpacing:0}},c.jsx("tbody",null,a.map(function(a,b){var e=b+1;return c.jsx("tr",{key:b},c.jsx("td",{id:"L"+e,css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},c.jsx("span",null,e)),c.jsx("td",{id:"LC"+e,css:{paddingLeft:10,
+paddingRight:10,color:"#24292e",whiteSpace:"pre"}},c.jsx("code",{dangerouslySetInnerHTML:{__html:a}})))}),!b&&c.jsx("tr",{key:"no-newline"},c.jsx("td",{css:{paddingLeft:10,paddingRight:10,color:"rgba(27,31,35,.3)",textAlign:"right",verticalAlign:"top",width:"1%",minWidth:50,userSelect:"none"}},"\\"),c.jsx("td",{css:{paddingLeft:10,color:"rgba(27,31,35,.3)",userSelect:"none"}},"No newline at end of file")))))}function Ea(){return c.jsx("div",{css:{padding:20}},c.jsx("p",{css:{textAlign:"center"}},
+"No preview available."))}function fa(a){var b=a.packageName,e=a.packageVersion,g=a.path;a=a.details;var d=a.highlights,h=a.uri,r=a.language;return c.jsx(S,null,c.jsx(T,null,c.jsx("span",null,ea(a.size)),c.jsx("span",null,r),c.jsx("span",null,c.jsx("a",{href:"/"+b+"@"+e+g,css:{display:"inline-block",marginLeft:8,padding:"2px 8px",textDecoration:"none",fontWeight:600,fontSize:"0.9rem",color:"#24292e",backgroundColor:"#eff3f6",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,":hover":{backgroundColor:"#e6ebf1",
+borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},"View Raw"))),d?c.jsx(Da,{highlights:d}):h?c.jsx(Ca,{path:g,uri:h}):c.jsx(Ea,null))}function ha(){var a=Q(["\n .code-listing {\n background: #fbfdff;\n color: #383a42;\n }\n .code-comment,\n .code-quote {\n color: #a0a1a7;\n font-style: italic;\n }\n .code-doctag,\n .code-keyword,\n .code-link,\n .code-formula {\n color: #a626a4;\n }\n .code-section,\n .code-name,\n .code-selector-tag,\n .code-deletion,\n .code-subst {\n color: #e45649;\n }\n .code-literal {\n color: #0184bb;\n }\n .code-string,\n .code-regexp,\n .code-addition,\n .code-attribute,\n .code-meta-string {\n color: #50a14f;\n }\n .code-built_in,\n .code-class .code-title {\n color: #c18401;\n }\n .code-attr,\n .code-variable,\n .code-template-variable,\n .code-type,\n .code-selector-class,\n .code-selector-attr,\n .code-selector-pseudo,\n .code-number {\n color: #986801;\n }\n .code-symbol,\n .code-bullet,\n .code-meta,\n .code-selector-id,\n .code-title {\n color: #4078f2;\n }\n .code-emphasis {\n font-style: italic;\n }\n .code-strong {\n font-weight: bold;\n }\n"]);
+ha=function(){return a};return a}function ia(){var a=Q(["\n html {\n box-sizing: border-box;\n }\n *,\n *:before,\n *:after {\n box-sizing: inherit;\n }\n\n html,\n body,\n #root {\n height: 100%;\n margin: 0;\n }\n\n body {\n ","\n font-size: 16px;\n line-height: 1.5;\n overflow-wrap: break-word;\n background: white;\n color: black;\n }\n\n code {\n ","\n }\n\n th,\n td {\n padding: 0;\n }\n\n select {\n font-size: inherit;\n }\n\n #root {\n display: flex;\n flex-direction: column;\n }\n"]);
+ia=function(){return a};return a}function ja(a){var b=a.css;a=P(a,["css"]);return c.jsx("a",w({},a,{css:w({color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},b)}))}function Fa(){return c.jsx("header",{css:{marginTop:"2rem"}},c.jsx("h1",{css:{textAlign:"center",fontSize:"3rem",letterSpacing:"0.05em"}},c.jsx("a",{href:"/",css:{color:"#000",textDecoration:"none"}},"UNPKG")))}function Ga(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;a=a.filename;var d=[];if("/"===
+a)d.push(b);else{var h="/browse/"+b+"@"+e;d.push(c.jsx(ja,{href:h+"/"},b));b=a.replace(/^\/+/,"").replace(/\/+$/,"").split("/");a=b.pop();b.forEach(function(a){h+="/"+a;d.push(c.jsx(ja,{href:h+"/"},a))});d.push(a)}return c.jsx("header",{css:{display:"flex",flexDirection:"row",alignItems:"center","@media (max-width: 700px)":{flexDirection:"column-reverse",alignItems:"flex-start"}}},c.jsx("h1",{css:{fontSize:"1.5rem",fontWeight:"normal",flex:1,wordBreak:"break-all"}},c.jsx("nav",null,d.map(function(a,
+b,e){return c.jsx(t.Fragment,{key:b},0!==b&&c.jsx("span",{css:{paddingLeft:5,paddingRight:5}},"/"),b===e.length-1?c.jsx("strong",null,a):a)}))),c.jsx(Ha,{packageVersion:e,availableVersions:g,onChange:function(a){window.location.href=window.location.href.replace("@"+e,"@"+a)}}))}function Ha(a){var b=a.onChange;return c.jsx("p",{css:{marginLeft:20,"@media (max-width: 700px)":{marginLeft:0,marginBottom:0}}},c.jsx("label",null,"Version:"," ",c.jsx("select",{name:"version",defaultValue:a.packageVersion,
+onChange:function(a){b&&b(a.target.value)},css:{appearance:"none",cursor:"pointer",padding:"4px 24px 4px 8px",fontWeight:600,fontSize:"0.9em",color:"#24292e",border:"1px solid rgba(27,31,35,.2)",borderRadius:3,backgroundColor:"#eff3f6",backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAYAAAC9vt6cAAAAAXNSR0IArs4c6QAAARFJREFUKBVjZAACNS39RhBNKrh17WI9o4quoT3Dn78HSNUMUs/CzOTI/O7Vi4dCYpJ3/jP+92BkYGAlyiBGhm8MjIxJt65e3MQM0vDu9YvLYmISILYZELOBxHABRkaGr0yMzF23r12YDFIDNgDEePv65SEhEXENBkYGFSAXuyGMjF8Z/jOsvX3tYiFIDwgwQSgIaaijnvj/P8M5IO8HsjiY/f//D4b//88A1SQhywG9jQr09PS4v/1mPAeUUPzP8B8cJowMjL+Bqu6xMQmaXL164AuyDgwDQJLa2qYSP//9vARkCoMVMzK8YeVkNbh+9uxzMB+JwGoASF5Vx0jz/98/18BqmZi171w9D2EjaaYKEwAEK00XQLdJuwAAAABJRU5ErkJggg==)",
+backgroundPosition:"right 8px center",backgroundRepeat:"no-repeat",backgroundSize:"auto 25%",":hover":{backgroundColor:"#e6ebf1",borderColor:"rgba(27,31,35,.35)"},":active":{backgroundColor:"#e9ecef",borderColor:"rgba(27,31,35,.35)",boxShadow:"inset 0 0.15em 0.3em rgba(27,31,35,.15)"}}},a.availableVersions.map(function(a){return c.jsx("option",{key:a,value:a},a)}))))}function Ia(a){var b=a.packageName,e=a.packageVersion;a=a.target;return"directory"===a.type?c.jsx(ca,{path:a.path,details:a.details}):
+"file"===a.type?c.jsx(fa,{packageName:b,packageVersion:e,path:a.path,details:a.details}):null}function ka(a){var b=a.packageName,e=a.packageVersion,g=a.availableVersions;g=void 0===g?[]:g;var d=a.filename;a=a.target;return c.jsx(t.Fragment,null,c.jsx(c.Global,{styles:Ja}),c.jsx(c.Global,{styles:Ka}),c.jsx("div",{css:{flex:"1 0 auto"}},c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Fa,null)),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto"}},c.jsx(Ga,{packageName:b,
+packageVersion:e,availableVersions:g,filename:d})),c.jsx("div",{css:{maxWidth:940,padding:"0 20px",margin:"0 auto","@media (max-width: 700px)":{padding:0,margin:0}}},c.jsx(Ia,{packageName:b,packageVersion:e,target:a}))),c.jsx("footer",{css:{marginTop:"5rem",background:"black",color:"#aaa"}},c.jsx("div",{css:{maxWidth:940,padding:"10px 20px",margin:"0 auto",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}},c.jsx("p",null,c.jsx("span",null,"Build: ","a7ebffa")),
+c.jsx("p",null,c.jsx("span",null,"\u00a9 ",(new Date).getFullYear()," UNPKG")),c.jsx("p",{css:{fontSize:"1.5rem"}},c.jsx("a",{href:"https://twitter.com/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"}}},c.jsx(za,null)),c.jsx("a",{href:"https://github.com/mjackson/unpkg",css:{color:"#aaa",display:"inline-block",":hover":{color:"white"},marginLeft:"1rem"}},c.jsx(Aa,null))))))}var la="default"in t?t["default"]:t;A=A&&A.hasOwnProperty("default")?A["default"]:A;var La="undefined"!==
+typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},m=D(function(a,b){function c(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case d:switch(a=a.type,a){case l:case f:case r:case m:case k:case v:return a;default:switch(a=a&&a.$$typeof,a){case p:case n:case q:return a;default:return b}}case x:case u:case h:return b}}}function g(a){return c(a)===f}Object.defineProperty(b,"__esModule",{value:!0});var d=
+(a="function"===typeof Symbol&&Symbol.for)?Symbol.for("react.element"):60103,h=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,k=a?Symbol.for("react.strict_mode"):60108,m=a?Symbol.for("react.profiler"):60114,q=a?Symbol.for("react.provider"):60109,p=a?Symbol.for("react.context"):60110,l=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,u=a?Symbol.for("react.memo"):
+60115,x=a?Symbol.for("react.lazy"):60116;b.typeOf=c;b.AsyncMode=l;b.ConcurrentMode=f;b.ContextConsumer=p;b.ContextProvider=q;b.Element=d;b.ForwardRef=n;b.Fragment=r;b.Lazy=x;b.Memo=u;b.Portal=h;b.Profiler=m;b.StrictMode=k;b.Suspense=v;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===r||a===f||a===m||a===k||a===v||"object"===typeof a&&null!==a&&(a.$$typeof===x||a.$$typeof===u||a.$$typeof===q||a.$$typeof===p||a.$$typeof===n)};b.isAsyncMode=function(a){return g(a)||
+c(a)===l};b.isConcurrentMode=g;b.isContextConsumer=function(a){return c(a)===p};b.isContextProvider=function(a){return c(a)===q};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===d};b.isForwardRef=function(a){return c(a)===n};b.isFragment=function(a){return c(a)===r};b.isLazy=function(a){return c(a)===x};b.isMemo=function(a){return c(a)===u};b.isPortal=function(a){return c(a)===h};b.isProfiler=function(a){return c(a)===m};b.isStrictMode=function(a){return c(a)===k};b.isSuspense=
+function(a){return c(a)===v}});R(m);var na=D(function(a,b){(function(){function a(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case h:switch(a=a.type,a){case f:case n:case k:case q:case m:case u:return a;default:switch(a=a&&a.$$typeof,a){case l:case v:case p:return a;default:return b}}case I:case x:case r:return b}}}function c(b){return a(b)===n}Object.defineProperty(b,"__esModule",{value:!0});var d="function"===typeof Symbol&&Symbol.for,h=d?Symbol.for("react.element"):60103,r=
+d?Symbol.for("react.portal"):60106,k=d?Symbol.for("react.fragment"):60107,m=d?Symbol.for("react.strict_mode"):60108,q=d?Symbol.for("react.profiler"):60114,p=d?Symbol.for("react.provider"):60109,l=d?Symbol.for("react.context"):60110,f=d?Symbol.for("react.async_mode"):60111,n=d?Symbol.for("react.concurrent_mode"):60111,v=d?Symbol.for("react.forward_ref"):60112,u=d?Symbol.for("react.suspense"):60113,x=d?Symbol.for("react.memo"):60115,I=d?Symbol.for("react.lazy"):60116;d=function(){};var Ma=function(a){for(var b=
+arguments.length,f=Array(1<b?b-1:0),c=1;c<b;c++)f[c-1]=arguments[c];var n=0;b="Warning: "+a.replace(/%s/g,function(){return f[n++]});"undefined"!==typeof console&&console.warn(b);try{throw Error(b);}catch(Xa){}},Na=d=function(a,b){if(void 0===b)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!a){for(var f=arguments.length,c=Array(2<f?f-2:0),n=2;n<f;n++)c[n-2]=arguments[n];Ma.apply(void 0,[b].concat(c))}},ma=!1;b.typeOf=a;b.AsyncMode=f;b.ConcurrentMode=
+n;b.ContextConsumer=l;b.ContextProvider=p;b.Element=h;b.ForwardRef=v;b.Fragment=k;b.Lazy=I;b.Memo=x;b.Portal=r;b.Profiler=q;b.StrictMode=m;b.Suspense=u;b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===k||a===n||a===q||a===m||a===u||"object"===typeof a&&null!==a&&(a.$$typeof===I||a.$$typeof===x||a.$$typeof===p||a.$$typeof===l||a.$$typeof===v)};b.isAsyncMode=function(b){ma||(ma=!0,Na(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."));
+return c(b)||a(b)===f};b.isConcurrentMode=c;b.isContextConsumer=function(b){return a(b)===l};b.isContextProvider=function(b){return a(b)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===h};b.isForwardRef=function(b){return a(b)===v};b.isFragment=function(b){return a(b)===k};b.isLazy=function(b){return a(b)===I};b.isMemo=function(b){return a(b)===x};b.isPortal=function(b){return a(b)===r};b.isProfiler=function(b){return a(b)===q};b.isStrictMode=function(b){return a(b)===
+m};b.isSuspense=function(b){return a(b)===u}})()});R(na);var oa=D(function(a){a.exports=na}),pa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Qa=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=
+a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var g,d=1;d<arguments.length;d++){var h=Object(arguments[d]);for(var r in h)Oa.call(h,r)&&(c[r]=h[r]);if(pa){g=pa(h);for(var k=0;k<g.length;k++)Pa.call(h,g[k])&&(c[g[k]]=h[g[k]])}}return c},K=function(){},L={},ua=Function.call.bind(Object.prototype.hasOwnProperty);
+K=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};J.resetWarningCache=function(){L={}};var Ra=Function.call.bind(Object.prototype.hasOwnProperty),C=function(){};C=function(a){a="Warning: "+a;"undefined"!==typeof console&&console.error(a);try{throw Error(a);}catch(b){}};var Sa=function(a,b){function c(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function g(a){this.message=a;this.stack=""}function d(a){function c(c,n,v,d,e,u,h){d=d||"<<anonymous>>";
+u=u||v;if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==h){if(b)throw c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),c.name="Invariant Violation",c;"undefined"!==typeof console&&(h=d+":"+v,!f[h]&&3>l&&(C("You are manually calling a React.PropTypes validation function for the `"+u+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),
+f[h]=!0,l++))}return null==n[v]?c?null===n[v]?new g("The "+e+" `"+u+"` is marked as required "+("in `"+d+"`, but its value is `null`.")):new g("The "+e+" `"+u+"` is marked as required in "+("`"+d+"`, but its value is `undefined`.")):null:a(n,v,d,e,u)}var f={},l=0,d=c.bind(null,!1);d.isRequired=c.bind(null,!0);return d}function h(a){return d(function(b,c,f,d,l,e){b=b[c];return k(b)!==a?(b=m(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("`"+a+"`."))):null})}function r(b){switch(typeof b){case "number":case "string":case "undefined":return!0;
+case "boolean":return!b;case "object":if(Array.isArray(b))return b.every(r);if(null===b||a(b))return!0;var c=b&&(p&&b[p]||b["@@iterator"]);var f="function"===typeof c?c:void 0;if(f)if(c=f.call(b),f!==b.entries)for(;!(b=c.next()).done;){if(!r(b.value))return!1}else for(;!(b=c.next()).done;){if((b=b.value)&&!r(b[1]))return!1}else return!1;return!0;default:return!1}}function k(a){var b=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":"symbol"===b||a&&("Symbol"===a["@@toStringTag"]||
+"function"===typeof Symbol&&a instanceof Symbol)?"symbol":b}function m(a){if("undefined"===typeof a||null===a)return""+a;var b=k(a);if("object"===b){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return b}function q(a){a=m(a);switch(a){case "array":case "object":return"an "+a;case "boolean":case "date":case "regexp":return"a "+a;default:return a}}var p="function"===typeof Symbol&&Symbol.iterator,l={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),
+string:h("string"),symbol:h("symbol"),any:d(G),arrayOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside arrayOf.");b=b[c];if(!Array.isArray(b))return b=k(b),new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected an array."));for(c=0;c<b.length;c++){var n=a(b,c,f,d,l+"["+c+"]","SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");if(n instanceof Error)return n}return null})},
+element:function(){return d(function(b,c,d,l,e){b=b[c];return a(b)?null:(b=k(b),new g("Invalid "+l+" `"+e+"` of type "+("`"+b+"` supplied to `"+d+"`, expected a single ReactElement.")))})}(),elementType:function(){return d(function(a,b,c,d,l){a=a[b];return oa.isValidElementType(a)?null:(a=k(a),new g("Invalid "+d+" `"+l+"` of type "+("`"+a+"` supplied to `"+c+"`, expected a single ReactElement type.")))})}(),instanceOf:function(a){return d(function(b,c,f,d,l){if(!(b[c]instanceof a)){var n=a.name||
+"<<anonymous>>";b=b[c];b=b.constructor&&b.constructor.name?b.constructor.name:"<<anonymous>>";return new g("Invalid "+d+" `"+l+"` of type "+("`"+b+"` supplied to `"+f+"`, expected ")+("instance of `"+n+"`."))}return null})},node:function(){return d(function(a,b,c,d,l){return r(a[b])?null:new g("Invalid "+d+" `"+l+"` supplied to "+("`"+c+"`, expected a ReactNode."))})}(),objectOf:function(a){return d(function(b,c,f,d,l){if("function"!==typeof a)return new g("Property `"+l+"` of component `"+f+"` has invalid PropType notation inside objectOf.");
+b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+d+" `"+l+"` of type "+("`"+c+"` supplied to `"+f+"`, expected an object."));for(var n in b)if(Ra(b,n)&&(c=a(b,n,f,d,l+"."+n,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),c instanceof Error))return c;return null})},oneOf:function(a){return Array.isArray(a)?d(function(b,f,d,l,e){b=b[f];for(f=0;f<a.length;f++)if(c(b,a[f]))return null;f=JSON.stringify(a,function(a,b){return"symbol"===m(b)?String(b):b});return new g("Invalid "+l+" `"+e+"` of value `"+
+String(b)+"` "+("supplied to `"+d+"`, expected one of "+f+"."))}):(1<arguments.length?C("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):C("Invalid argument supplied to oneOf, expected an array."),G)},oneOfType:function(a){if(!Array.isArray(a))return C("Invalid argument supplied to oneOfType, expected an instance of array."),G;for(var b=0;b<a.length;b++){var c=a[b];if("function"!==
+typeof c)return C("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(c)+" at index "+b+"."),G}return d(function(b,c,f,d,l){for(var e=0;e<a.length;e++)if(null==(0,a[e])(b,c,f,d,l,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return null;return new g("Invalid "+d+" `"+l+"` supplied to "+("`"+f+"`."))})},shape:function(a){return d(function(b,c,d,l,f){b=b[c];c=k(b);if("object"!==c)return new g("Invalid "+l+" `"+f+"` of type `"+c+"` "+("supplied to `"+d+"`, expected `object`."));
+for(var e in a)if(c=a[e])if(c=c(b,e,d,l,f+"."+e,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return c;return null})},exact:function(a){return d(function(b,c,d,l,f){var e=b[c],n=k(e);if("object"!==n)return new g("Invalid "+l+" `"+f+"` of type `"+n+"` "+("supplied to `"+d+"`, expected `object`."));n=Qa({},b[c],a);for(var h in n){n=a[h];if(!n)return new g("Invalid "+l+" `"+f+"` key `"+h+"` supplied to `"+d+"`.\nBad object: "+JSON.stringify(b[c],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(a),
+null," "));if(n=n(e,h,d,l,f+"."+h,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"))return n}return null})}};g.prototype=Error.prototype;l.checkPropTypes=J;l.resetWarningCache=J.resetWarningCache;return l.PropTypes=l};m=D(function(a){a.exports=Sa(oa.isElement,!0)});var Ta=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],g;for(g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Ua={border:0,clip:"rect(0 0 0 0)",height:"1px",width:"1px",margin:"-1px",
+padding:0,overflow:"hidden",position:"absolute"},H=function(a){return la.createElement("div",Ta({style:Ua},a))},qa=D(function(a){(function(b,c){a.exports=c()})(La,function(){function a(a){if(!a)return!0;if(!d(a)||0!==a.length)for(var b in a)if(q.call(a,b))return!1;return!0}function c(a){return"number"===typeof a||"[object Number]"===t.call(a)}function g(a){return"string"===typeof a||"[object String]"===t.call(a)}function d(a){return"object"===typeof a&&"number"===typeof a.length&&"[object Array]"===
+t.call(a)}function h(a){var b=parseInt(a);return b.toString()===a?b:a}function m(b,d,e,k){c(d)&&(d=[d]);if(a(d))return b;if(g(d))return m(b,d.split("."),e,k);var f=h(d[0]);if(1===d.length)return d=b[f],void 0!==d&&k||(b[f]=e),d;void 0===b[f]&&(c(f)?b[f]=[]:b[f]={});return m(b[f],d.slice(1),e,k)}function k(b,f){c(f)&&(f=[f]);if(!a(b)){if(a(f))return b;if(g(f))return k(b,f.split("."));var e=h(f[0]),l=b[e];if(1===f.length)void 0!==l&&(d(b)?b.splice(e,1):delete b[e]);else if(void 0!==b[e])return k(b[e],
+f.slice(1));return b}}var t=Object.prototype.toString,q=Object.prototype.hasOwnProperty,p={ensureExists:function(a,b,c){return m(a,b,c,!0)},set:function(a,b,c,d){return m(a,b,c,d)},insert:function(a,b,c,e){var f=p.get(a,b);e=~~e;d(f)||(f=[],p.set(a,b,f));f.splice(e,0,c)},empty:function(b,f){if(a(f))return b;if(!a(b)){var e,h;if(!(e=p.get(b,f)))return b;if(g(e))return p.set(b,f,"");if("boolean"===typeof e||"[object Boolean]"===t.call(e))return p.set(b,f,!1);if(c(e))return p.set(b,f,0);if(d(e))e.length=
+0;else if("object"===typeof e&&"[object Object]"===t.call(e))for(h in e)q.call(e,h)&&delete e[h];else return p.set(b,f,null)}},push:function(a,b){var c=p.get(a,b);d(c)||(c=[],p.set(a,b,c));c.push.apply(c,Array.prototype.slice.call(arguments,2))},coalesce:function(a,b,c){for(var d,e=0,f=b.length;e<f;e++)if(void 0!==(d=p.get(a,b[e])))return d;return c},get:function(b,d,e){c(d)&&(d=[d]);if(a(d))return b;if(a(b))return e;if(g(d))return p.get(b,d.split("."),e);var f=h(d[0]);return 1===d.length?void 0===
+b[f]?e:b[f]:p.get(b[f],d.slice(1),e)},del:function(a,b){return k(a,b)}};return p})});var ra=function(a){return function(b){return typeof b===a}};var Va=function(a,b){var c=1,g=b||function(a,b){return b};"-"===a[0]&&(c=-1,a=a.substr(1));return function(b,e){var d;b=g(a,qa.get(b,a));e=g(a,qa.get(e,a));b<e&&(d=-1);b>e&&(d=1);b===e&&(d=0);return d*c}};var da=function(){var a=Array.prototype.slice.call(arguments),b=a.filter(ra("string")),c=a.filter(ra("function"))[0];return function(a,d){for(var e=b.length,
+g=0,k=0;0===g&&k<e;)g=Va(b[k],c)(a,d),k++;return g}};let sa="B kB MB GB TB PB EB ZB YB".split(" "),ta=(a,b)=>{let c=a;"string"===typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString());return c};var ea=(a,b)=>{if(!Number.isFinite(a))throw new TypeError(`Expected a finite number, got ${typeof a}: ${a}`);b=Object.assign({},b);if(b.signed&&0===a)return" 0 B";var c=0>a;let g=c?"-":b.signed?"+":"";c&&(a=-a);if(1>a)return a=ta(a,b.locale),g+a+" B";c=Math.min(Math.floor(Math.log10(a)/3),sa.length-
+1);a=Number((a/Math.pow(1E3,c)).toPrecision(3));a=ta(a,b.locale);return g+a+" "+sa[c]},W={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},V=t.createContext&&t.createContext(W),z=function(){z=Object.assign||function(a){for(var b,c=1,g=arguments.length;c<g;c++){b=arguments[c];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};return z.apply(this,arguments)},Y=function(a){return E({tag:"svg",attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",
+d:"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z"}}]})(a)};Y.displayName="GoFileCode";var Z=function(a){return E({tag:"svg",attr:{viewBox:"0 0 14 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z"}}]})(a)};Z.displayName="GoFileDirectory";var X=function(a){return E({tag:"svg",
+attr:{viewBox:"0 0 12 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z"}}]})(a)};X.displayName="GoFile";var ba=function(a){return E({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}}]})(a)};
+ba.displayName="FaGithub";var aa=function(a){return E({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(a)};
+aa.displayName="FaTwitter";var N={color:"#0076ff",textDecoration:"none",":hover":{textDecoration:"underline"}},y={paddingTop:6,paddingRight:3,paddingBottom:6,paddingLeft:3,borderTop:"1px solid #eaecef"},M=w({},y,{color:"#424242",width:17,paddingRight:2,paddingLeft:10,"@media (max-width: 700px)":{paddingLeft:20}}),O=w({},y,{textAlign:"right",paddingRight:10,"@media (max-width: 700px)":{paddingRight:20}});ca.propTypes={path:m.string.isRequired,details:m.objectOf(m.shape({path:m.string.isRequired,type:m.oneOf(["directory",
+"file"]).isRequired,contentType:m.string,integrity:m.string,size:m.number})).isRequired};fa.propTypes={path:m.string.isRequired,details:m.shape({contentType:m.string.isRequired,highlights:m.arrayOf(m.string),uri:m.string,integrity:m.string.isRequired,language:m.string.isRequired,size:m.number.isRequired}).isRequired};var Ja=c.css(ia(),'\nfont-family: -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n "Roboto",\n "Oxygen",\n "Ubuntu",\n "Cantarell",\n "Fira Sans",\n "Droid Sans",\n "Helvetica Neue",\n sans-serif;\n',
+"\nfont-family: Menlo,\n Monaco,\n Lucida Console,\n Liberation Mono,\n DejaVu Sans Mono,\n Bitstream Vera Sans Mono,\n Courier New,\n monospace;\n"),Ka=c.css(ha()),Wa=m.shape({path:m.string.isRequired,type:m.oneOf(["directory","file"]).isRequired,details:m.object.isRequired});ka.propTypes={packageName:m.string.isRequired,packageVersion:m.string.isRequired,availableVersions:m.arrayOf(m.string),filename:m.string.isRequired,target:Wa.isRequired};A.hydrate(la.createElement(ka,window.__DATA__||
+{}),document.getElementById("root"))})(React,ReactDOM,emotionCore);
+</script></body></html> \ No newline at end of file