From e6c946286c33695703db25f514c8dbed1f300ac4 Mon Sep 17 00:00:00 2001 From: atomiks Date: Thu, 15 Nov 2018 09:48:16 +1100 Subject: [PATCH] 3.2.0 --- docs/index.html | 4 ++-- docs/{website.f9c7ec5f.js => website.24347639.js} | 8 ++++---- docs/website.653c1cf5.map | 1 + docs/website.9f01946e.map | 1 - package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename docs/{website.f9c7ec5f.js => website.24347639.js} (94%) create mode 100644 docs/website.653c1cf5.map delete mode 100644 docs/website.9f01946e.map diff --git a/docs/index.html b/docs/index.html index e1fc23691..31b565b6d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ - Tippy.js - Vanilla JS Tooltip and Popover Library

Tippy.jsv3.1.3

A highly customizable vanilla JS tooltip & popover library

Tippy's features

Default

The default tippy tooltip looks like this when given no options. It has a nifty backdrop filling animation!

โ†•๏ธ

Placement

A tooltip can be placed in four different ways in relation to its reference element. Additionally, the tooltip can be shifted using the suffix -start or -end.

โ–ถ๏ธ

Arrows

Arrows point toward the reference element. There are two different types of arrows: sharp and round. You can transform the proportion and scale of the arrows any way you like.

๐Ÿ‘

Triggers

Triggers define the types of events that cause a tooltip to show.

โœ๏ธ

Interactivity

Tooltips can be interactive, meaning they won't hide when you hover over or click on them.

๐Ÿ’ซ

Animations

Tooltips can have different types of animations.

โฑ๏ธ

Duration

A tippy can have different transition durations.

โณ

Delay

Tooltips can delay showing or hiding* after a trigger.

๐Ÿ–ผ๏ธ

HTML

Tooltips can contain HTML, allowing you to craft awesome interactive popovers.

๐Ÿ–Œ๏ธ

Themes

A tippy can have any kind of theme you want! Creating a custom theme is a breeze.

๐Ÿ˜

Misc

Tippy has a ton of features, and it's constantly improving.

๐Ÿ—บ๏ธ
๐Ÿค”

You might be wondering why you should use a 14 kB JS library for tooltips and popovers instead of a CSS solution. Pure CSS tooltips are great for simple tooltips when the reference element is positioned in a certain way, but they:

  • Will overflow when the tooltip is large and the reference is close to the window edge
  • Can't flip to stay optimally visible within the viewport
  • Can't follow the mouse cursor
  • Difficult to work with self-closing elements like img
  • JavaScript is required for dynamic HTML content
  • JavaScript is required to perform side effects (e.g. AJAX)

In addition, Tippy automatically handles many use cases available declaratively in a simple option API. Options like followCursor, interactive, touch, arrow, and the on* lifecycle functions make dealing with tooltips & popovers a breeze.

๐Ÿ“ฆ

๐Ÿ”— Option 1: CDN

Include this script from the unpkg CDN in your HTML document before your own scripts:

<script src="https://unpkg.com/tippy.js@3/dist/tippy.all.min.js"></script>

It's recommended to place this at the bottom of the <body>, or in the <head> with a defer attribute.

๐Ÿ“ฆ Option 2: Package Manager

Install using either npm or yarn:

npm i tippy.js
yarn add tippy.js

Then you can import the tippy module:

import tippy from 'tippy.js'

You'll also need to import Tippy's CSS. With a module bundler like Webpack or Parcel, it can be imported directly:

import 'tippy.js/dist/tippy.css'

๐ŸŽ View Library Components

If you would like to use Tippy.js as a declarative component, there are wrappers available.

๐Ÿ“ Files

Tippy builds a bunch of different files that can be used:

  • tippy.all.js is all dependencies (Tippy + Popper + CSS) in a single file. The CSS is injected into the document head.
  • tippy.js is Tippy + Popper together, without the CSS.
  • tippy.standalone.js is Tippy by itself, without Popper or the CSS. This is useful if you are using a CDN and want to use the latest version of Popper.js if the bundled version is outdated, or use Popper itself for other things.
  • tippy.css is Tippy's CSS stylesheet by itself.

There are also .min versions of the above, which means the file is minified for production use.

๐Ÿ’ป Browser support

Tippy is compatible with browsers with requestAnimationFrame and MutationObserver support (IE11+). This means most browsers from 2013 onwards, about 99% of desktop users and 95% of mobile users globally (mainly due to Opera Mini on mobile not being supported).

IE11 requires a classList polyfill if using an SVG element as the reference.

If you need to support old browsers too, you can set the native title attribute on desktop. On unsupported mobile browsers (such as Opera Mini), it's best to inline the content next to the reference element.

โš ๏ธThe code throughout this documentation is making use of new JavaScript features (ES6+) that old browsers don't support (such as IE11). If you're going to copy code from here, make sure to use Babel to transpile it into ES5.

๐Ÿ”ง

Method 1: Auto

Give your reference element a data-tippy attribute containing the tooltip content.

<button data-tippy="I'm a tooltip!">Text</button>

When Tippy.js is loaded in the document, it will search for elements with the attribute and give them a tooltip automatically. This means you won't have to touch JavaScript at all.

This technique only works on page load and is designed to be used on simple web pages. If you have dynamically generated elements or are using a view library/framework (React, Vue, Angular), use Method 2 below.

Method 2: Function

Use the tippy function.

<button>Text</button>
tippy('button', { content: "I'm a tooltip!" })

Result:

Using data-tippy-content allows you to use the function for common custom configuration while giving each tooltip different content.

<button class="btn" data-tippy-content="Tooltip A">Text</button>
+  Tippy.js - Vanilla JS Tooltip and Popover Library         

Tippy.jsv3.2.0

A highly customizable vanilla JS tooltip & popover library

Tippy's features

Default

The default tippy tooltip looks like this when given no options. It has a nifty backdrop filling animation!

โ†•๏ธ

Placement

A tooltip can be placed in four different ways in relation to its reference element. Additionally, the tooltip can be shifted using the suffix -start or -end.

โ–ถ๏ธ

Arrows

Arrows point toward the reference element. There are two different types of arrows: sharp and round. You can transform the proportion and scale of the arrows any way you like.

๐Ÿ‘

Triggers

Triggers define the types of events that cause a tooltip to show.

โœ๏ธ

Interactivity

Tooltips can be interactive, meaning they won't hide when you hover over or click on them.

๐Ÿ’ซ

Animations

Tooltips can have different types of animations.

โฑ๏ธ

Duration

A tippy can have different transition durations.

โณ

Delay

Tooltips can delay showing or hiding* after a trigger.

๐Ÿ–ผ๏ธ

HTML

Tooltips can contain HTML, allowing you to craft awesome interactive popovers.

๐Ÿ–Œ๏ธ

Themes

A tippy can have any kind of theme you want! Creating a custom theme is a breeze.

๐Ÿ˜

Misc

Tippy has a ton of features, and it's constantly improving.

๐Ÿ—บ๏ธ
๐Ÿค”

You might be wondering why you should use a 14 kB JS library for tooltips and popovers instead of a CSS solution. Pure CSS tooltips are great for simple tooltips when the reference element is positioned in a certain way, but they:

  • Will overflow when the tooltip is large and the reference is close to the window edge
  • Can't flip to stay optimally visible within the viewport
  • Can't follow the mouse cursor
  • Difficult to work with self-closing elements like img
  • JavaScript is required for dynamic HTML content
  • JavaScript is required to perform side effects (e.g. AJAX)

In addition, Tippy automatically handles many use cases available declaratively in a simple option API. Options like followCursor, interactive, touch, arrow, and the on* lifecycle functions make dealing with tooltips & popovers a breeze.

๐Ÿ“ฆ

๐Ÿ”— Option 1: CDN

Include this script from the unpkg CDN in your HTML document before your own scripts:

<script src="https://unpkg.com/tippy.js@3/dist/tippy.all.min.js"></script>

It's recommended to place this at the bottom of the <body>, or in the <head> with a defer attribute.

๐Ÿ“ฆ Option 2: Package Manager

Install using either npm or yarn:

npm i tippy.js
yarn add tippy.js

Then you can import the tippy module:

import tippy from 'tippy.js'

You'll also need to import Tippy's CSS. With a module bundler like Webpack or Parcel, it can be imported directly:

import 'tippy.js/dist/tippy.css'

๐ŸŽ View Library Components

If you would like to use Tippy.js as a declarative component, there are wrappers available.

๐Ÿ“ Files

Tippy builds a bunch of different files that can be used:

  • tippy.all.js is all dependencies (Tippy + Popper + CSS) in a single file. The CSS is injected into the document head.
  • tippy.js is Tippy + Popper together, without the CSS.
  • tippy.standalone.js is Tippy by itself, without Popper or the CSS. This is useful if you are using a CDN and want to use the latest version of Popper.js if the bundled version is outdated, or use Popper itself for other things.
  • tippy.css is Tippy's CSS stylesheet by itself.

There are also .min versions of the above, which means the file is minified for production use.

๐Ÿ’ป Browser support

Tippy is compatible with browsers with requestAnimationFrame and MutationObserver support (IE11+). This means most browsers from 2013 onwards, about 99% of desktop users and 95% of mobile users globally (mainly due to Opera Mini on mobile not being supported).

IE11 requires a classList polyfill if using an SVG element as the reference.

If you need to support old browsers too, you can set the native title attribute on desktop. On unsupported mobile browsers (such as Opera Mini), it's best to inline the content next to the reference element.

โš ๏ธThe code throughout this documentation is making use of new JavaScript features (ES6+) that old browsers don't support (such as IE11). If you're going to copy code from here, make sure to use Babel to transpile it into ES5.

๐Ÿ”ง

Method 1: Auto

Give your reference element a data-tippy attribute containing the tooltip content.

<button data-tippy="I'm a tooltip!">Text</button>

When Tippy.js is loaded in the document, it will search for elements with the attribute and give them a tooltip automatically. This means you won't have to touch JavaScript at all.

This technique only works on page load and is designed to be used on simple web pages. If you have dynamically generated elements or are using a view library/framework (React, Vue, Angular), use Method 2 below.

Method 2: Function

Use the tippy function.

<button>Text</button>
tippy('button', { content: "I'm a tooltip!" })

Result:

Using data-tippy-content allows you to use the function for common custom configuration while giving each tooltip different content.

<button class="btn" data-tippy-content="Tooltip A">Text</button>
 <button class="btn" data-tippy-content="Tooltip B">Text</button>
 <button class="btn" data-tippy-content="Tooltip C">Text</button>
tippy('.btn')

๐ŸŽ› Accepted inputs

A single DOM Element (or an array of them) will work:

tippy(document.querySelector('.btn'))

As well as a NodeList:

tippy(document.querySelectorAll('.btn'))

๐Ÿคฏ Advanced

You can use a virtual element as the positioning reference instead of a real element:

const virtualReference = {
   getBoundingClientRect() {
@@ -204,7 +204,7 @@
   arrow: true,
   duration: 1000,
   animation: 'perspective'
-})

Update the tooltip content

There is a shortcut for directly updating the tooltip content.

tip.setContent('New content')

Static methods

There are a few static methods on the tippy function itself. These methods are global and do not affect a single instance.

To use capture phase instead of bubbling for the global click listener, call this method before any calls to tippy():

tippy.useCapture()

Hide all visible poppers on the page:

tippy.hideAllPoppers()

Disable animation-related default props:

tippy.disableAnimations()

Set the default props for each new tippy instance:

tippy.setDefaults(props)

Create a single tooltip and return the instance directly:

tippy.one(reference, options)
๐Ÿ–ผ๏ธ

Along with using a string of HTML content, you can provide an HTMLElement for the content option.

<button class="btn">Text</button>
+})

Update the tooltip content

There is a shortcut for directly updating the tooltip content.

tip.setContent('New content')

Static methods

There are a few static methods on the tippy function itself. These methods are global and do not affect a single instance.

Hide all visible poppers on the page:

tippy.hideAllPoppers()

Disable animation-related default props:

tippy.disableAnimations()

Set the default props for each new tippy instance:

tippy.setDefaults(props)

Create a single tooltip and return the instance directly:

tippy.one(reference, options)
๐Ÿ–ผ๏ธ

Along with using a string of HTML content, you can provide an HTMLElement for the content option.

<button class="btn">Text</button>
 <div id="myTemplate">
   My HTML <strong style="color: pink;">tooltip</strong> content
 </div>
tippy('.btn', {
diff --git a/docs/website.f9c7ec5f.js b/docs/website.24347639.js
similarity index 94%
rename from docs/website.f9c7ec5f.js
rename to docs/website.24347639.js
index d6d9aeac2..ccc2ddc26 100644
--- a/docs/website.f9c7ec5f.js
+++ b/docs/website.24347639.js
@@ -18,13 +18,13 @@ var e;!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n():"f
 },{}],"THmT":[function(require,module,exports) {
 module.exports="logo.4cdae1d2.svg";
 },{}],"EHrm":[function(require,module,exports) {
-module.exports={name:"tippy.js",version:"3.1.3",description:"Vanilla JS Tooltip & Popover Library",main:"dist/tippy.all.js",module:"dist/esm/tippy.standalone.js",types:"index.d.ts",author:"atomiks",license:"MIT",keywords:["tooltip","popover","tippy","tippy.js"],repository:{type:"git",url:"git+https://github.com/atomiks/tippyjs.git"},scripts:{"dev:docs":"parcel website/index.html -d .devserver --no-cache --open","build:docs":"node website/clean.js && parcel build website/index.html -d docs/ --public-url ./ && node website/prerender.js",dev:"parcel tests/visual/index.html -d tests/visual/dist --open",build:"node ./scripts/build.js && npm run build:docs",test:'eslint "src/**/*.js" && jest --coverage',prettier:'prettier --write "./**/*{js,scss}"',release:"npm test && npm run build && git add . && git commit -am $npm_package_version && git tag v$npm_package_version && git push origin master && git push --tags && npm publish"},jest:{setupFiles:["./tests/polyfills/createRange.js","./tests/polyfills/MutationObserver.js","./tests/polyfills/window.js"],coveragePathIgnorePatterns:["tests"]},prettier:{semi:!1,singleQuote:!0},browserslist:["> 0.5%"],alias:{"~":"src"},devDependencies:{"@hyperapp/render":"^2.0.0",autoprefixer:"^6.7.7","babel-core":"^6.26.3","babel-jest":"^22.4.4","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.7.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-stage-2":"^6.24.1","caniuse-lite":"^1.0.30000856",colorette:"^1.0.4",cssnano:"^3.10.0",eslint:"^4.18.2",filesize:"^3.6.1","focus-visible":"^4.1.4","gzip-size":"^5.0.0",hyperapp:"^1.2.6",jest:"^23.5.0",jsdom:"^11.11.0","mutation-observer":"^1.0.3","node-sass":"^4.9.0","normalize.css":"^8.0.0","parcel-bundler":"^1.9.7","parcel-plugin-markdown-string":"^1.3.2",postcss:"^5.2.18","postcss-cssnext":"^3.1.0","postcss-import":"^11.1.0",prettier:"^1.14.2",prismjs:"^1.15.0",rollup:"^0.55.5","rollup-plugin-babel":"^2.7.1","rollup-plugin-babel-minify":"^4.0.0","rollup-plugin-commonjs":"^8.4.1","rollup-plugin-css-only":"^0.2.0","rollup-plugin-json":"^2.3.1","rollup-plugin-node-resolve":"^3.2.0","rollup-plugin-sass":"^0.4.10","rollup-plugin-strip":"^1.1.1",twemoji:"^11.0.1"},dependencies:{"popper.js":"^1.14.5"}};
+module.exports={name:"tippy.js",version:"3.2.0",description:"Vanilla JS Tooltip & Popover Library",main:"dist/tippy.all.js",module:"dist/esm/tippy.standalone.js",types:"index.d.ts",author:"atomiks",license:"MIT",keywords:["tooltip","popover","tippy","tippy.js"],repository:{type:"git",url:"git+https://github.com/atomiks/tippyjs.git"},scripts:{"dev:docs":"parcel website/index.html -d .devserver --no-cache --open","build:docs":"node website/clean.js && parcel build website/index.html -d docs/ --public-url ./ && node website/prerender.js",dev:"parcel tests/visual/index.html -d tests/visual/dist --open",build:"node ./scripts/build.js && npm run build:docs",test:'eslint "src/**/*.js" && jest --coverage',prettier:'prettier --write "./**/*{js,scss}"',release:"npm test && npm run build && git add . && git commit -am $npm_package_version && git tag v$npm_package_version && git push origin master && git push --tags && npm publish"},jest:{setupFiles:["./tests/polyfills/createRange.js","./tests/polyfills/MutationObserver.js","./tests/polyfills/window.js"],coveragePathIgnorePatterns:["tests"]},prettier:{semi:!1,singleQuote:!0},browserslist:["> 0.5%"],alias:{"~":"src"},devDependencies:{"@hyperapp/render":"^2.0.0",autoprefixer:"^6.7.7","babel-core":"^6.26.3","babel-jest":"^22.4.4","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-react-jsx":"^6.24.1","babel-preset-env":"^1.7.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-stage-2":"^6.24.1","caniuse-lite":"^1.0.30000856",colorette:"^1.0.4",cssnano:"^3.10.0",eslint:"^4.18.2",filesize:"^3.6.1","focus-visible":"^4.1.4","gzip-size":"^5.0.0",hyperapp:"^1.2.6",jest:"^23.5.0",jsdom:"^11.11.0","mutation-observer":"^1.0.3","node-sass":"^4.9.0","normalize.css":"^8.0.0","parcel-bundler":"^1.9.7","parcel-plugin-markdown-string":"^1.3.2",postcss:"^5.2.18","postcss-cssnext":"^3.1.0","postcss-import":"^11.1.0",prettier:"^1.14.2",prismjs:"^1.15.0",rollup:"^0.55.5","rollup-plugin-babel":"^2.7.1","rollup-plugin-babel-minify":"^4.0.0","rollup-plugin-commonjs":"^8.4.1","rollup-plugin-css-only":"^0.2.0","rollup-plugin-json":"^2.3.1","rollup-plugin-node-resolve":"^3.2.0","rollup-plugin-sass":"^0.4.10","rollup-plugin-strip":"^1.1.1",twemoji:"^11.0.1"},dependencies:{"popper.js":"^1.14.5"}};
 },{}],"NLY6":[function(require,module,exports) {
 "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=require("hyperapp"),e=require("../utils");function t(r,e){return i(r)||a(r,e)||n()}function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function a(r,e){var t=[],n=!0,a=!1,i=void 0;try{for(var o,u=r[Symbol.iterator]();!(n=(o=u.next()).done)&&(t.push(o.value),!e||t.length!==e);n=!0);}catch(r){a=!0,i=r}finally{try{n||null==u.return||u.return()}finally{if(a)throw i}}return t}function i(r){if(Array.isArray(r))return r}function o(r,e){var t={};for(var n in r)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}var u={large:"75px",medium:"40px",small:"25px"},l=function(n,a){var i=t(a,1)[0],l=n.size,s=o(n,["size"]);return(0,r.h)("span",s,(0,r.h)("img",{class:"emoji",draggable:0,alt:i,src:(0,e.getEmojiSrc)(i),style:{width:u[l]}}))};exports.default=l;
 },{"hyperapp":"/xJO","../utils":"8MgT"}],"manF":[function(require,module,exports) {
 var define;
 var global = arguments[3];
-var e,t=arguments[3];function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(t,r){"object"===("undefined"==typeof exports?"undefined":n(exports))&&"undefined"!=typeof module?module.exports=r():"function"==typeof e&&e.amd?e(r):t.tippy=r()}(this,function(){"use strict";for(var e=Object.assign||function(e){for(var t=1;t=0){l=1;break}var m=f&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},l))}};function h(e){return e&&"[object Function]"==={}.toString.call(e)}function v(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function b(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function g(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=v(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:g(b(e))}var y=f&&!(!window.MSInputMethodContext||!document.documentMode),w=f&&/MSIE 10/.test(navigator.userAgent);function E(e){return 11===e?y:10===e?w:y||w}function O(e){if(!e)return document.documentElement;for(var t=E(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===v(n,"position")?O(n):n:e?e.ownerDocument.documentElement:document.documentElement}function x(e){return null!==e.parentNode?x(e.parentNode):e}function L(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,p,s=i.commonAncestorContainer;if(e!==s&&t!==s||r.contains(o))return"BODY"===(p=(a=s).nodeName)||"HTML"!==p&&O(a.firstElementChild)!==a?O(s):s;var c=x(e);return c.host?L(c.host,t):L(e,x(t).host)}function C(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function T(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function A(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],E(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function P(e){var t=e.body,n=e.documentElement,r=E(10)&&getComputedStyle(n);return{height:A("Height",t,n,r),width:A("Width",t,n,r)}}var D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=E(10),o="HTML"===t.nodeName,i=I(e),a=I(t),p=g(e),s=v(t),c=parseFloat(s.borderTopWidth,10),f=parseFloat(s.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=S({top:i.top-a.top-c,left:i.left-a.left-f,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var l=parseFloat(s.marginTop,10),d=parseFloat(s.marginLeft,10);u.top-=c-l,u.bottom-=c-l,u.left-=f-d,u.right-=f-d,u.marginTop=l,u.marginLeft=d}return(r&&!n?t.contains(p):t===p&&"BODY"!==p.nodeName)&&(u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=C(t,"top"),o=C(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(u,t)),u}function F(e){if(!e||!e.parentElement||E())return document.documentElement;for(var t=e.parentElement;t&&"none"===v(t,"transform");)t=t.parentElement;return t||document.documentElement}function R(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?F(e):L(e,t);if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=H(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:C(n),p=t?0:C(n,"left");return S({top:a-r.top+r.marginTop,left:p-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var p=void 0;"scrollParent"===r?"BODY"===(p=g(b(t))).nodeName&&(p=e.ownerDocument.documentElement):p="window"===r?e.ownerDocument.documentElement:r;var s=H(p,a,o);if("HTML"!==p.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===v(t,"position")||e(b(t)))}(a))i=s;else{var c=P(e.ownerDocument),f=c.height,u=c.width;i.top+=s.top-s.marginTop,i.bottom=f+s.top,i.left+=s.left-s.marginLeft,i.right=u+s.left}}var l="number"==typeof(n=n||0);return i.left+=l?n:n.left||0,i.top+=l?n:n.top||0,i.right-=l?n:n.right||0,i.bottom-=l?n:n.bottom||0,i}function B(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=R(n,r,i,o),p={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(p).map(function(e){return N({key:e},p[e],{area:(t=p[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=s.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),f=c.length>0?c[0].key:s[0].key,u=e.split("-")[1];return f+(u?"-"+u:"")}function W(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return H(n,r?F(t):L(t,n),r)}function _(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function U(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function j(e,t,n){n=n.split("-")[0];var r=_(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",p=i?"left":"top",s=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[s]/2-r[s]/2,o[p]=n===p?t[p]-r[c]:t[U(p)],o}function V(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function z(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=V(e,function(e){return e[t]===n});return e.indexOf(r)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&h(n)&&(t.offsets.popper=S(t.offsets.popper),t.offsets.reference=S(t.offsets.reference),t=n(t,e))}),t}function Y(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function q(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=ee.indexOf(e),r=ee.slice(n+1).concat(ee.slice(0,n));return t?r.reverse():r}var ne={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function re(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),p=a.indexOf(V(a,function(e){return-1!==e.search(/,|\s/)}));a[p]&&-1===a[p].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=-1!==p?[a.slice(0,p).concat([a[p].split(s)[0]]),[a[p].split(s)[1]].concat(a.slice(p+1))]:[a];return(c=c.map(function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var p=void 0;switch(a){case"%p":p=n;break;case"%":case"%r":default:p=r}return S(p)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)})})).forEach(function(e,t){e.forEach(function(n,r){J(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))})}),o}var oe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,p=-1!==["bottom","top"].indexOf(n),s=p?"left":"top",c=p?"width":"height",f={start:k({},s,i[s]),end:k({},s,i[s]+i[c]-a[c])};e.offsets.popper=N({},a,f[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,p=r.split("-")[0],s=void 0;return s=J(+n)?[+n,0]:re(n,i,a,p),"left"===p?(i.top+=s[0],i.left-=s[1]):"right"===p?(i.top+=s[0],i.left+=s[1]):"top"===p?(i.left+=s[0],i.top-=s[1]):"bottom"===p&&(i.left+=s[0],i.top+=s[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||O(e.instance.popper);e.instance.reference===n&&(n=O(n));var r=q("transform"),o=e.instance.popper.style,i=o.top,a=o.left,p=o[r];o.top="",o.left="",o[r]="";var s=R(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=p,t.boundaries=s;var c=t.priority,f=e.offsets.popper,u={primary:function(e){var n=f[e];return f[e]s[e]&&!t.escapeWithReference&&(r=Math.min(f[n],s[e]-("right"===e?f.width:f.height))),k({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";f=N({},f,u[t](e))}),e.offsets.popper=f,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),p=a?"right":"bottom",s=a?"left":"top",c=a?"width":"height";return n[p]i(r[p])&&(e.offsets.popper[s]=i(r[p])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Z(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,p=i.reference,s=-1!==["left","right"].indexOf(o),c=s?"height":"width",f=s?"Top":"Left",u=f.toLowerCase(),l=s?"left":"top",d=s?"bottom":"right",m=_(r)[c];p[d]-ma[d]&&(e.offsets.popper[u]+=p[u]+m-a[d]),e.offsets.popper=S(e.offsets.popper);var h=p[u]+p[c]/2-m/2,b=v(e.instance.popper),g=parseFloat(b["margin"+f],10),y=parseFloat(b["border"+f+"Width"],10),w=h-e.offsets.popper[u]-g-y;return w=Math.max(Math.min(a[c]-m,w),0),e.arrowElement=r,e.offsets.arrow=(k(n={},u,Math.round(w)),k(n,l,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Y(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=R(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=U(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ne.FLIP:a=[r,o];break;case ne.CLOCKWISE:a=te(r);break;case ne.COUNTERCLOCKWISE:a=te(r,!0);break;default:a=t.behavior}return a.forEach(function(p,s){if(r!==p||a.length===s+1)return e;r=e.placement.split("-")[0],o=U(r);var c=e.offsets.popper,f=e.offsets.reference,u=Math.floor,l="left"===r&&u(c.right)>u(f.left)||"right"===r&&u(c.left)u(f.top)||"bottom"===r&&u(c.top)u(n.right),h=u(c.top)u(n.bottom),b="left"===r&&d||"right"===r&&m||"top"===r&&h||"bottom"===r&&v,g=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&m||!g&&"start"===i&&h||!g&&"end"===i&&v);(l||b||y)&&(e.flipped=!0,(l||b)&&(r=a[s+1]),y&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=N({},e.offsets.popper,j(e.instance.popper,e.offsets.reference,e.placement)),e=z(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),p=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(p?o[a?"width":"height"]:0),e.placement=U(t),e.offsets.popper=S(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Z(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=V(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};D(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=m(this.update.bind(this)),this.options=N({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(N({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=N({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return N({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&h(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return M(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=W(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=B(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=j(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=z(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,Y(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),e}();ie.Utils=("undefined"!=typeof window?window:t).PopperUtils,ie.placements=$,ie.Defaults=oe;var ae={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-content",BACKDROP:".tippy-backdrop",ARROW:".tippy-arrow",ROUND_ARROW:".tippy-roundarrow"},pe=!0,se=function(e){return[].slice.call(e)},ce=function(e,t){t.content instanceof Element?(he(e,""),e.appendChild(t.content)):e[t.allowHTML?"innerHTML":"textContent"]=t.content},fe=function(e){return!(e instanceof Element)||Te.call(e,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")&&!e.hasAttribute("disabled")},ue=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+"ms"})},le=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(ae.TOOLTIP),backdrop:t(ae.BACKDROP),content:t(ae.CONTENT),arrow:t(ae.ARROW)||t(ae.ROUND_ARROW)}},de=function(e){return"[object Object]"==={}.toString.call(e)},me=function(){return document.createElement("div")},he=function(e,t){e[pe&&"innerHTML"]=t instanceof Element?t[pe&&"innerHTML"]:t},ve=function(e){if(e instanceof Element||de(e))return[e];if(e instanceof NodeList)return se(e);if(Array.isArray(e))return e;try{return se(document.querySelectorAll(e))}catch(e){return[]}},be=function(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?n:r}return e},ge=function(e){var t=me();return"round"===e?(t.className="tippy-roundarrow",he(t,'')):t.className="tippy-arrow",t},ye=function(){var e=me();return e.className="tippy-backdrop",e.setAttribute("data-state","hidden"),e},we=function(e,t){e.setAttribute("tabindex","-1"),t.setAttribute("data-interactive","")},Ee=function(e,t){var n=me();n.className="tippy-popper",n.setAttribute("role","tooltip"),n.id="tippy-"+e,n.style.zIndex=t.zIndex;var r=me();r.className="tippy-tooltip",r.setAttribute("data-size",t.size),r.setAttribute("data-animation",t.animation),r.setAttribute("data-state","hidden"),t.theme.split(" ").forEach(function(e){r.classList.add(e+"-theme")});var o=me();return o.className="tippy-content",o.setAttribute("data-state","hidden"),t.interactive&&we(n,r),t.arrow&&r.appendChild(ge(t.arrowType)),t.animateFill&&(r.appendChild(ye()),r.setAttribute("data-animatefill","")),t.inertia&&r.setAttribute("data-inertia",""),ce(o,t),r.appendChild(o),n.appendChild(r),n.addEventListener("focusout",function(e){e.relatedTarget&&n._tippy&&!Pe(e.relatedTarget,function(e){return e===n})&&e.relatedTarget!==n._tippy.reference&&n._tippy.props.shouldPopperHideOnBlur(e)&&n._tippy.hide()}),n},Oe=function(e,t,n){var r=le(e),o=r.tooltip,i=r.content,a=r.backdrop,p=r.arrow;e.style.zIndex=n.zIndex,o.setAttribute("data-size",n.size),o.setAttribute("data-animation",n.animation),t.content!==n.content&&ce(i,n),!t.animateFill&&n.animateFill?(o.appendChild(ye()),o.setAttribute("data-animatefill","")):t.animateFill&&!n.animateFill&&(o.removeChild(a),o.removeAttribute("data-animatefill")),!t.arrow&&n.arrow?o.appendChild(ge(n.arrowType)):t.arrow&&!n.arrow&&o.removeChild(p),t.arrow&&n.arrow&&t.arrowType!==n.arrowType&&o.replaceChild(ge(n.arrowType),p),!t.interactive&&n.interactive?we(e,o):t.interactive&&!n.interactive&&function(e,t){e.removeAttribute("tabindex"),t.removeAttribute("data-interactive")}(e,o),!t.inertia&&n.inertia?function(e){e.setAttribute("data-inertia","")}(o):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(o),t.theme!==n.theme&&(t.theme.split(" ").forEach(function(e){o.classList.remove(e+"-theme")}),n.theme.split(" ").forEach(function(e){o.classList.add(e+"-theme")}))},xe=function(e){se(document.querySelectorAll(ae.POPPER)).forEach(function(t){var n=t._tippy;!n||!0!==n.props.hideOnClick||e&&t===e.popper||n.hide()})},Le=function(e){return Object.keys(n).reduce(function(t,n){var r,o=(e.getAttribute("data-tippy-"+n)||"").trim();return o?("content"===n?t[n]=o:"true"===o?t[n]=!0:"false"===o?t[n]=!1:(r=o,isNaN(r)||isNaN(parseFloat(r))?"["===o[0]||"{"===o[0]?t[n]=JSON.parse(o):t[n]=o:t[n]=Number(o)),t):t},{})},Ce=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,n){e.attributes[t]=n},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var n in t)e[n]=t[n];return e},Te=function(){if(o){var e=Element.prototype;return e.matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector}}(),Ae=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(Te.call(t,e))return t;t=t.parentElement}}).call(e,t)},Pe=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},De=function(e){var t=window.scrollX||window.pageXOffset,n=window.scrollY||window.pageYOffset;e.focus(),scroll(t,n)},Me=function(e,t){return(t?e:{X:"Y",Y:"X"}[e])||""},ke=function(e,t,n,r){var o=t[0],i=t[1];return o||i?{scale:i?n?o+", "+i:i+", "+o:""+o,translate:i?n?r?o+"px, "+-i+"px":o+"px, "+i+"px":r?-i+"px, "+o+"px":i+"px, "+o+"px":r?-o+"px":o+"px"}[e]:""},Ne=function(e,t){var n=e.match(new RegExp(t+"([XY])"));return n?n[1]:""},Se=function(e,t){var n=e.match(t);return n?n[1].split(",").map(parseFloat):[]},Ie=/translateX?Y?\(([^)]+)\)/,He=/scaleX?Y?\(([^)]+)\)/,Fe=function(e,t){var n=je(Ae(e,ae.POPPER)),r="top"===n||"bottom"===n,o="right"===n||"bottom"===n,i={translate:{axis:Ne(t,"translate"),numbers:Se(t,Ie)},scale:{axis:Ne(t,"scale"),numbers:Se(t,He)}},a=t.replace(Ie,"translate"+Me(i.translate.axis,r)+"("+ke("translate",i.translate.numbers,r,o)+")").replace(He,"scale"+Me(i.scale.axis,r)+"("+ke("scale",i.scale.numbers,r,o)+")");e.style[void 0!==document.body.style.transform?"transform":"webkitTransform"]=a},Re=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute("data-state",t)})},Be=function(e,t){var n=e.popper,r=e.options,o=r.onCreate,i=r.onUpdate;r.onCreate=r.onUpdate=function(){!function(e){e.offsetHeight}(n),t(),i(),r.onCreate=o,r.onUpdate=i}},We=function(e){setTimeout(e,1)},_e=function(e,t,n,r){if(!e)return!0;var o=n.clientX,i=n.clientY,a=r.interactiveBorder,p=r.distance,s=t.top-i>("top"===e?a+p:a),c=i-t.bottom>("bottom"===e?a+p:a),f=t.left-o>("left"===e?a+p:a),u=o-t.right>("right"===e?a+p:a);return s||c||f||u},Ue=function(e,t){return-(e-t)+"px"},je=function(e){var t=e.getAttribute("x-placement");return t?t.split("-")[0]:""},Ve=function(t,n){var r=e({},n,n.performance?{}:Le(t));return r.arrow&&(r.animateFill=!1),"function"==typeof r.appendTo&&(r.appendTo=n.appendTo(t)),"function"==typeof r.content&&(r.content=n.content(t)),r},ze=function(e,t,n){e[t+"EventListener"]("transitionend",n)},Ye=function(e,t){var n=void 0;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(r,o)},t)}},qe=function(e,t){for(var n in e||{})if(!(n in t))throw Error("[tippy]: `"+n+"` is not a valid option")},Xe=!1,Ke=function(){Xe||(Xe=!0,s&&document.body.classList.add("tippy-iOS"),window.performance&&document.addEventListener("mousemove",Je))},Ge=0,Je=function e(){var t=performance.now();t-Ge<20&&(Xe=!1,document.removeEventListener("mousemove",e),s||document.body.classList.remove("tippy-iOS")),Ge=t},Qe=function(e){var t=e.target;if(!(t instanceof Element))return xe();var n=Ae(t,ae.POPPER);if(!(n&&n._tippy&&n._tippy.props.interactive)){var r=Pe(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var o=r._tippy,i=o.props.trigger.indexOf("click")>-1;if(Xe||i)return xe(o);if(!0!==o.props.hideOnClick||i)return;o.clearDelayTimeouts()}xe()}},Ze=function(){var e=document.activeElement;e&&e.blur&&e._tippy&&e.blur()},$e=function(){se(document.querySelectorAll(ae.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})};var et=1;function tt(t,o){var i=Ve(t,o);if(!i.multiple&&t._tippy)return null;var a=null,s={},f=null,u=0,l=0,d=!1,m=function(){},h=[],v=!1,b=i.interactiveDebounce>0?Ye(D,i.interactiveDebounce):D,g=et++,y=Ee(g,i);y.addEventListener("mouseenter",function(e){E.props.interactive&&E.state.isVisible&&"mouseenter"===s.type&&L(e)}),y.addEventListener("mouseleave",function(e){E.props.interactive&&"mouseenter"===s.type&&0===E.props.interactiveDebounce&&_e(je(y),y.getBoundingClientRect(),e,E.props)&&C()});var w=le(y),E={id:g,reference:t,popper:y,popperChildren:w,popperInstance:null,props:i,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:U,set:j,setContent:function(e){j({content:e})},show:V,hide:z,enable:function(){E.state.isEnabled=!0},disable:function(){E.state.isEnabled=!1},destroy:Y};return W(),t.addEventListener("click",O),i.lazy||(E.popperInstance=H(),E.popperInstance.disableEventListeners()),i.showOnInit&&L(),!i.a11y||i.target||fe(t)||t.setAttribute("tabindex","0"),t._tippy=E,y._tippy=E,E;function O(){We(function(){v=!1})}function x(e){var t=f=e,n=t.clientX,r=t.clientY;if(E.popperInstance){var o=je(E.popper),i=E.popperChildren.arrow?20:5,a="top"===o||"bottom"===o,p="left"===o||"right"===o,s=a?Math.max(i,n):n,c=p?Math.max(i,r):r;a&&s>i&&(s=Math.min(n,window.innerWidth-i)),p&&c>i&&(c=Math.min(r,window.innerHeight-i));var u=E.reference.getBoundingClientRect(),l=E.props.followCursor,d="horizontal"===l,m="vertical"===l;E.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:d?u.top:c,bottom:d?u.bottom:c,left:m?u.left:s,right:m?u.right:s}},clientWidth:0,clientHeight:0},E.popperInstance.scheduleUpdate()}}function L(t){if(U(),!E.state.isVisible){if(E.props.target)return function(t){var n=Ae(t.target,E.props.target);n&&!n._tippy&&(tt(n,e({},E.props,{target:"",showOnInit:!0})),L(t))}(t);if(d=!0,E.props.wait)return E.props.wait(E,t);F()&&document.addEventListener("mousemove",x);var r=be(E.props.delay,0,n.delay);r?u=setTimeout(function(){V()},r):V()}}function C(){if(U(),!E.state.isVisible)return T();d=!1;var e=be(E.props.delay,1,n.delay);e?l=setTimeout(function(){E.state.isVisible&&z()},e):z()}function T(){document.removeEventListener("mousemove",x),f=null}function A(){document.body.removeEventListener("mouseleave",C),document.removeEventListener("mousemove",b)}function P(e){E.state.isEnabled&&!I(e)&&(E.state.isVisible||(s=e),"click"===e.type&&!1!==E.props.hideOnClick&&E.state.isVisible?C():L(e))}function D(e){var t=Pe(e.target,function(e){return e._tippy}),n=Ae(e.target,ae.POPPER)===E.popper,r=t===E.reference;n||r||_e(je(E.popper),E.popper.getBoundingClientRect(),e,E.props)&&(A(),C())}function M(e){if(!I(e))return E.props.interactive?(document.body.addEventListener("mouseleave",C),void document.addEventListener("mousemove",b)):void C()}function k(e){if(e.target===E.reference){if(E.props.interactive){if(!e.relatedTarget)return;if(Ae(e.relatedTarget,ae.POPPER))return}C()}}function N(e){Ae(e.target,E.props.target)&&L(e)}function S(e){Ae(e.target,E.props.target)&&C()}function I(e){var t=e.type.indexOf("touch")>-1,n=c&&Xe&&E.props.touchHold&&!t,r=Xe&&!E.props.touchHold&&t;return n||r}function H(){var t=E.popperChildren.tooltip,r=E.props.popperOptions,o=ae["round"===E.props.arrowType?"ROUND_ARROW":"ARROW"],i=t.querySelector(o),p=e({placement:E.props.placement},r||{},{modifiers:e({},r?r.modifiers:{},{arrow:e({element:o},r&&r.modifiers?r.modifiers.arrow:{}),flip:e({enabled:E.props.flip,padding:E.props.distance+5,behavior:E.props.flipBehavior},r&&r.modifiers?r.modifiers.flip:{}),offset:e({offset:E.props.offset},r&&r.modifiers?r.modifiers.offset:{})}),onCreate:function(){t.style[je(E.popper)]=Ue(E.props.distance,n.distance),i&&E.props.arrowTransform&&Fe(i,E.props.arrowTransform)},onUpdate:function(){var e=t.style;e.top="",e.bottom="",e.left="",e.right="",e[je(E.popper)]=Ue(E.props.distance,n.distance),i&&E.props.arrowTransform&&Fe(i,E.props.arrowTransform)}});return a||(a=new MutationObserver(function(){E.popperInstance.update()})).observe(y,{childList:!0,subtree:!0}),new ie(E.reference,E.popper,p)}function F(){return E.props.followCursor&&!Xe&&"focus"!==s.type}function R(e,t){if(0===e)return t();var n=E.popperChildren.tooltip,r=function e(r){r.target===n&&(ze(n,"remove",e),t())};ze(n,"remove",m),ze(n,"add",r),m=r}function B(e,t,n){E.reference.addEventListener(e,t),n.push({eventType:e,handler:t})}function W(){h=E.props.trigger.trim().split(" ").reduce(function(e,t){if("manual"===t)return e;if(E.props.target)switch(t){case"mouseenter":B("mouseover",N,e),B("mouseout",S,e);break;case"focus":B("focusin",N,e),B("focusout",S,e);break;case"click":B(t,N,e)}else switch(B(t,P,e),E.props.touchHold&&(B("touchstart",P,e),B("touchend",M,e)),t){case"mouseenter":B("mouseleave",M,e);break;case"focus":B(p?"focusout":"blur",k,e)}return e},[])}function _(){h.forEach(function(e){var t=e.eventType,n=e.handler;E.reference.removeEventListener(t,n)})}function U(){clearTimeout(u),clearTimeout(l)}function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};qe(t,n);var o=E.props,i=Ve(E.reference,e({},E.props,t,{performance:!0}));i.performance=t.hasOwnProperty("performance")?t.performance:o.performance,E.props=i,(t.hasOwnProperty("trigger")||t.hasOwnProperty("touchHold"))&&(_(),W()),t.hasOwnProperty("interactiveDebounce")&&(A(),b=Ye(D,t.interactiveDebounce)),Oe(E.popper,o,i),E.popperChildren=le(E.popper),E.popperInstance&&r.some(function(e){return t.hasOwnProperty(e)})&&(E.popperInstance.destroy(),E.popperInstance=H(),E.state.isVisible||E.popperInstance.disableEventListeners(),E.props.followCursor&&f&&x(f))}function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be(E.props.duration,0,n.duration[0]);if(!E.state.isDestroyed&&E.state.isEnabled&&(!Xe||E.props.touch))return E.reference.isVirtual||document.documentElement.contains(E.reference)?void(E.reference.hasAttribute("disabled")||(v?v=!1:!1!==E.props.onShow(E)&&(E.popper.style.visibility="visible",E.state.isVisible=!0,ue([E.popper,E.popperChildren.tooltip,E.popperChildren.backdrop],0),function(e){E.popperInstance?F()||(E.popperInstance.scheduleUpdate(),E.props.livePlacement&&E.popperInstance.enableEventListeners()):(E.popperInstance=H(),E.props.livePlacement&&!F()||E.popperInstance.disableEventListeners()),E.popperInstance.reference=E.reference;var t=E.popperChildren.arrow;if(F()){t&&(t.style.margin="0");var r=be(E.props.delay,0,n.delay);s.type&&x(r&&f?f:s)}else t&&(t.style.margin="");Be(E.popperInstance,e),E.props.appendTo.contains(E.popper)||(E.props.appendTo.appendChild(E.popper),E.props.onMount(E),E.state.isMounted=!0)}(function(){E.state.isVisible&&(F()||E.popperInstance.update(),ue([E.popperChildren.tooltip,E.popperChildren.backdrop,E.popperChildren.content],e),E.popperChildren.backdrop&&(E.popperChildren.content.style.transitionDelay=Math.round(e/6)+"ms"),E.props.interactive&&E.reference.classList.add("tippy-active"),E.props.sticky&&(ue([E.popper],p?0:E.props.updateDuration),function e(){E.popperInstance&&E.popperInstance.scheduleUpdate(),E.state.isMounted?requestAnimationFrame(e):ue([E.popper],0)}()),Re([E.popperChildren.tooltip,E.popperChildren.backdrop,E.popperChildren.content],"visible"),function(e,t){R(e,t)}(e,function(){0===E.props.updateDuration&&E.popperChildren.tooltip.classList.add("tippy-notransition"),E.props.interactive&&["focus","click"].indexOf(s.type)>-1&&De(E.popper),E.reference.setAttribute("aria-describedby",E.popper.id),E.props.onShown(E),E.state.isShown=!0}))})))):Y()}function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be(E.props.duration,1,n.duration[1]);!E.state.isDestroyed&&E.state.isEnabled&&!1!==E.props.onHide(E)&&(0===E.props.updateDuration&&E.popperChildren.tooltip.classList.remove("tippy-notransition"),E.props.interactive&&E.reference.classList.remove("tippy-active"),E.popper.style.visibility="hidden",E.state.isVisible=!1,E.state.isShown=!1,ue([E.popperChildren.tooltip,E.popperChildren.backdrop,E.popperChildren.content],e),Re([E.popperChildren.tooltip,E.popperChildren.backdrop,E.popperChildren.content],"hidden"),E.props.interactive&&!v&&["focus","click"].indexOf(s.type)>-1&&("focus"===s.type&&(v=!0),De(E.reference)),function(e,t){R(e,function(){!E.state.isVisible&&E.props.appendTo.contains(E.popper)&&t()})}(e,function(){d||T(),E.reference.removeAttribute("aria-describedby"),E.popperInstance.disableEventListeners(),E.props.appendTo.removeChild(E.popper),E.state.isMounted=!1,E.props.onHidden(E)}))}function Y(e){E.state.isDestroyed||(E.state.isVisible&&z(0),_(),E.reference.removeEventListener("click",O),delete E.reference._tippy,E.props.target&&e&&se(E.reference.querySelectorAll(E.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),E.popperInstance&&E.popperInstance.destroy(),a&&a.disconnect(),E.state.isDestroyed=!0)}}var nt=!1,rt=!1;function ot(t,r,o){qe(r,n),nt||(!function(e){document.addEventListener("click",Qe,e),document.addEventListener("touchstart",Ke,{passive:!0}),window.addEventListener("blur",Ze),window.addEventListener("resize",$e),c||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints||document.addEventListener("pointerdown",Ke)}(rt),nt=!0);var i=e({},n,r);de(t)&&Ce(t);var a=ve(t),p=a[0],s=(o&&p?[p]:a).reduce(function(e,t){var n=t&&tt(t,i);return n&&e.push(n),e},[]);return{targets:t,props:i,instances:s,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}ot.version="3.1.3",ot.defaults=n,ot.one=function(e,t){return ot(e,t,!0).instances[0]},ot.setDefaults=function(t){!function(t){n=e({},n,t)}(t),ot.defaults=n},ot.disableAnimations=function(){ot.setDefaults({duration:0,updateDuration:0,animateFill:!1})},ot.hideAllPoppers=xe,ot.useCapture=function(){rt=!0};return o&&setTimeout(function(){se(document.querySelectorAll("[data-tippy]")).forEach(function(e){var t=e.getAttribute("data-tippy");t&&ot(e,{content:t})})}),ot});
+var e,t=arguments[3];function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(t,r){"object"===("undefined"==typeof exports?"undefined":n(exports))&&"undefined"!=typeof module?module.exports=r():"function"==typeof e&&e.amd?e(r):t.tippy=r()}(this,function(){"use strict";for(var e=Object.assign||function(e){for(var t=1;t=0){l=1;break}var m=f&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},l))}};function h(e){return e&&"[object Function]"==={}.toString.call(e)}function v(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function b(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function g(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=v(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:g(b(e))}var y=f&&!(!window.MSInputMethodContext||!document.documentMode),w=f&&/MSIE 10/.test(navigator.userAgent);function E(e){return 11===e?y:10===e?w:y||w}function O(e){if(!e)return document.documentElement;for(var t=E(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===v(n,"position")?O(n):n:e?e.ownerDocument.documentElement:document.documentElement}function x(e){return null!==e.parentNode?x(e.parentNode):e}function L(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,p,s=i.commonAncestorContainer;if(e!==s&&t!==s||r.contains(o))return"BODY"===(p=(a=s).nodeName)||"HTML"!==p&&O(a.firstElementChild)!==a?O(s):s;var c=x(e);return c.host?L(c.host,t):L(e,x(t).host)}function C(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function T(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function A(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],E(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function P(e){var t=e.body,n=e.documentElement,r=E(10)&&getComputedStyle(n);return{height:A("Height",t,n,r),width:A("Width",t,n,r)}}var D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=E(10),o="HTML"===t.nodeName,i=I(e),a=I(t),p=g(e),s=v(t),c=parseFloat(s.borderTopWidth,10),f=parseFloat(s.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=S({top:i.top-a.top-c,left:i.left-a.left-f,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var l=parseFloat(s.marginTop,10),d=parseFloat(s.marginLeft,10);u.top-=c-l,u.bottom-=c-l,u.left-=f-d,u.right-=f-d,u.marginTop=l,u.marginLeft=d}return(r&&!n?t.contains(p):t===p&&"BODY"!==p.nodeName)&&(u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=C(t,"top"),o=C(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(u,t)),u}function F(e){if(!e||!e.parentElement||E())return document.documentElement;for(var t=e.parentElement;t&&"none"===v(t,"transform");)t=t.parentElement;return t||document.documentElement}function R(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?F(e):L(e,t);if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=H(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:C(n),p=t?0:C(n,"left");return S({top:a-r.top+r.marginTop,left:p-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var p=void 0;"scrollParent"===r?"BODY"===(p=g(b(t))).nodeName&&(p=e.ownerDocument.documentElement):p="window"===r?e.ownerDocument.documentElement:r;var s=H(p,a,o);if("HTML"!==p.nodeName||function e(t){var n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===v(t,"position")||e(b(t)))}(a))i=s;else{var c=P(e.ownerDocument),f=c.height,u=c.width;i.top+=s.top-s.marginTop,i.bottom=f+s.top,i.left+=s.left-s.marginLeft,i.right=u+s.left}}var l="number"==typeof(n=n||0);return i.left+=l?n:n.left||0,i.top+=l?n:n.top||0,i.right-=l?n:n.right||0,i.bottom-=l?n:n.bottom||0,i}function B(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=R(n,r,i,o),p={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},s=Object.keys(p).map(function(e){return N({key:e},p[e],{area:(t=p[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=s.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),f=c.length>0?c[0].key:s[0].key,u=e.split("-")[1];return f+(u?"-"+u:"")}function W(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return H(n,r?F(t):L(t,n),r)}function _(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function U(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function j(e,t,n){n=n.split("-")[0];var r=_(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",p=i?"left":"top",s=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[s]/2-r[s]/2,o[p]=n===p?t[p]-r[c]:t[U(p)],o}function z(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function V(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=z(e,function(e){return e[t]===n});return e.indexOf(r)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&h(n)&&(t.offsets.popper=S(t.offsets.popper),t.offsets.reference=S(t.offsets.reference),t=n(t,e))}),t}function Y(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function q(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=ee.indexOf(e),r=ee.slice(n+1).concat(ee.slice(0,n));return t?r.reverse():r}var ne={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function re(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),p=a.indexOf(z(a,function(e){return-1!==e.search(/,|\s/)}));a[p]&&-1===a[p].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=-1!==p?[a.slice(0,p).concat([a[p].split(s)[0]]),[a[p].split(s)[1]].concat(a.slice(p+1))]:[a];return(c=c.map(function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var p=void 0;switch(a){case"%p":p=n;break;case"%":case"%r":default:p=r}return S(p)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)})})).forEach(function(e,t){e.forEach(function(n,r){J(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))})}),o}var oe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,p=-1!==["bottom","top"].indexOf(n),s=p?"left":"top",c=p?"width":"height",f={start:k({},s,i[s]),end:k({},s,i[s]+i[c]-a[c])};e.offsets.popper=N({},a,f[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,p=r.split("-")[0],s=void 0;return s=J(+n)?[+n,0]:re(n,i,a,p),"left"===p?(i.top+=s[0],i.left-=s[1]):"right"===p?(i.top+=s[0],i.left+=s[1]):"top"===p?(i.left+=s[0],i.top-=s[1]):"bottom"===p&&(i.left+=s[0],i.top+=s[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||O(e.instance.popper);e.instance.reference===n&&(n=O(n));var r=q("transform"),o=e.instance.popper.style,i=o.top,a=o.left,p=o[r];o.top="",o.left="",o[r]="";var s=R(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=p,t.boundaries=s;var c=t.priority,f=e.offsets.popper,u={primary:function(e){var n=f[e];return f[e]s[e]&&!t.escapeWithReference&&(r=Math.min(f[n],s[e]-("right"===e?f.width:f.height))),k({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";f=N({},f,u[t](e))}),e.offsets.popper=f,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),p=a?"right":"bottom",s=a?"left":"top",c=a?"width":"height";return n[p]i(r[p])&&(e.offsets.popper[s]=i(r[p])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Z(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,p=i.reference,s=-1!==["left","right"].indexOf(o),c=s?"height":"width",f=s?"Top":"Left",u=f.toLowerCase(),l=s?"left":"top",d=s?"bottom":"right",m=_(r)[c];p[d]-ma[d]&&(e.offsets.popper[u]+=p[u]+m-a[d]),e.offsets.popper=S(e.offsets.popper);var h=p[u]+p[c]/2-m/2,b=v(e.instance.popper),g=parseFloat(b["margin"+f],10),y=parseFloat(b["border"+f+"Width"],10),w=h-e.offsets.popper[u]-g-y;return w=Math.max(Math.min(a[c]-m,w),0),e.arrowElement=r,e.offsets.arrow=(k(n={},u,Math.round(w)),k(n,l,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Y(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=R(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=U(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ne.FLIP:a=[r,o];break;case ne.CLOCKWISE:a=te(r);break;case ne.COUNTERCLOCKWISE:a=te(r,!0);break;default:a=t.behavior}return a.forEach(function(p,s){if(r!==p||a.length===s+1)return e;r=e.placement.split("-")[0],o=U(r);var c=e.offsets.popper,f=e.offsets.reference,u=Math.floor,l="left"===r&&u(c.right)>u(f.left)||"right"===r&&u(c.left)u(f.top)||"bottom"===r&&u(c.top)u(n.right),h=u(c.top)u(n.bottom),b="left"===r&&d||"right"===r&&m||"top"===r&&h||"bottom"===r&&v,g=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&m||!g&&"start"===i&&h||!g&&"end"===i&&v);(l||b||y)&&(e.flipped=!0,(l||b)&&(r=a[s+1]),y&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=N({},e.offsets.popper,j(e.instance.popper,e.offsets.reference,e.placement)),e=V(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),p=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(p?o[a?"width":"height"]:0),e.placement=U(t),e.offsets.popper=S(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Z(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=z(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};D(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=m(this.update.bind(this)),this.options=N({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(N({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=N({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return N({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&h(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return M(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=W(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=B(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=j(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=V(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,Y(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[q("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),e}();ie.Utils=("undefined"!=typeof window?window:t).PopperUtils,ie.placements=$,ie.Defaults=oe;var ae={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-content",BACKDROP:".tippy-backdrop",ARROW:".tippy-arrow",ROUND_ARROW:".tippy-roundarrow"},pe=!0,se=function(e){return[].slice.call(e)},ce=function(e,t){t.content instanceof Element?(he(e,""),e.appendChild(t.content)):e[t.allowHTML?"innerHTML":"textContent"]=t.content},fe=function(e){return!(e instanceof Element)||Te.call(e,"a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]")&&!e.hasAttribute("disabled")},ue=function(e,t){e.filter(Boolean).forEach(function(e){e.style.transitionDuration=t+"ms"})},le=function(e){var t=function(t){return e.querySelector(t)};return{tooltip:t(ae.TOOLTIP),backdrop:t(ae.BACKDROP),content:t(ae.CONTENT),arrow:t(ae.ARROW)||t(ae.ROUND_ARROW)}},de=function(e){return"[object Object]"==={}.toString.call(e)},me=function(){return document.createElement("div")},he=function(e,t){e[pe&&"innerHTML"]=t instanceof Element?t[pe&&"innerHTML"]:t},ve=function(e){if(e instanceof Element||de(e))return[e];if(e instanceof NodeList)return se(e);if(Array.isArray(e))return e;try{return se(document.querySelectorAll(e))}catch(e){return[]}},be=function(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?n:r}return e},ge=function(e){var t=me();return"round"===e?(t.className="tippy-roundarrow",he(t,'')):t.className="tippy-arrow",t},ye=function(){var e=me();return e.className="tippy-backdrop",e.setAttribute("data-state","hidden"),e},we=function(e,t){e.setAttribute("tabindex","-1"),t.setAttribute("data-interactive","")},Ee=function(e,t){var n=me();n.className="tippy-popper",n.setAttribute("role","tooltip"),n.id="tippy-"+e,n.style.zIndex=t.zIndex;var r=me();r.className="tippy-tooltip",r.setAttribute("data-size",t.size),r.setAttribute("data-animation",t.animation),r.setAttribute("data-state","hidden"),t.theme.split(" ").forEach(function(e){r.classList.add(e+"-theme")});var o=me();return o.className="tippy-content",o.setAttribute("data-state","hidden"),t.interactive&&we(n,r),t.arrow&&r.appendChild(ge(t.arrowType)),t.animateFill&&(r.appendChild(ye()),r.setAttribute("data-animatefill","")),t.inertia&&r.setAttribute("data-inertia",""),ce(o,t),r.appendChild(o),n.appendChild(r),n.addEventListener("focusout",function(e){e.relatedTarget&&n._tippy&&!Pe(e.relatedTarget,function(e){return e===n})&&e.relatedTarget!==n._tippy.reference&&n._tippy.props.shouldPopperHideOnBlur(e)&&n._tippy.hide()}),n},Oe=function(e,t,n){var r=le(e),o=r.tooltip,i=r.content,a=r.backdrop,p=r.arrow;e.style.zIndex=n.zIndex,o.setAttribute("data-size",n.size),o.setAttribute("data-animation",n.animation),t.content!==n.content&&ce(i,n),!t.animateFill&&n.animateFill?(o.appendChild(ye()),o.setAttribute("data-animatefill","")):t.animateFill&&!n.animateFill&&(o.removeChild(a),o.removeAttribute("data-animatefill")),!t.arrow&&n.arrow?o.appendChild(ge(n.arrowType)):t.arrow&&!n.arrow&&o.removeChild(p),t.arrow&&n.arrow&&t.arrowType!==n.arrowType&&o.replaceChild(ge(n.arrowType),p),!t.interactive&&n.interactive?we(e,o):t.interactive&&!n.interactive&&function(e,t){e.removeAttribute("tabindex"),t.removeAttribute("data-interactive")}(e,o),!t.inertia&&n.inertia?function(e){e.setAttribute("data-inertia","")}(o):t.inertia&&!n.inertia&&function(e){e.removeAttribute("data-inertia")}(o),t.theme!==n.theme&&(t.theme.split(" ").forEach(function(e){o.classList.remove(e+"-theme")}),n.theme.split(" ").forEach(function(e){o.classList.add(e+"-theme")}))},xe=function(e){se(document.querySelectorAll(ae.POPPER)).forEach(function(t){var n=t._tippy;!n||!0!==n.props.hideOnClick||e&&t===e.popper||n.hide()})},Le=function(e){return Object.keys(n).reduce(function(t,n){var r,o=(e.getAttribute("data-tippy-"+n)||"").trim();return o?("content"===n?t[n]=o:"true"===o?t[n]=!0:"false"===o?t[n]=!1:(r=o,isNaN(r)||isNaN(parseFloat(r))?"["===o[0]||"{"===o[0]?t[n]=JSON.parse(o):t[n]=o:t[n]=Number(o)),t):t},{})},Ce=function(e){var t={isVirtual:!0,attributes:e.attributes||{},setAttribute:function(t,n){e.attributes[t]=n},getAttribute:function(t){return e.attributes[t]},removeAttribute:function(t){delete e.attributes[t]},hasAttribute:function(t){return t in e.attributes},addEventListener:function(){},removeEventListener:function(){},classList:{classNames:{},add:function(t){e.classList.classNames[t]=!0},remove:function(t){delete e.classList.classNames[t]},contains:function(t){return t in e.classList.classNames}}};for(var n in t)e[n]=t[n];return e},Te=function(){if(o){var e=Element.prototype;return e.matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector}}(),Ae=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(Te.call(t,e))return t;t=t.parentElement}}).call(e,t)},Pe=function(e,t){for(;e;){if(t(e))return e;e=e.parentElement}},De=function(e){var t=window.scrollX||window.pageXOffset,n=window.scrollY||window.pageYOffset;e.focus(),scroll(t,n)},Me=function(e,t){return(t?e:{X:"Y",Y:"X"}[e])||""},ke=function(e,t,n,r){var o=t[0],i=t[1];return o||i?{scale:i?n?o+", "+i:i+", "+o:""+o,translate:i?n?r?o+"px, "+-i+"px":o+"px, "+i+"px":r?-i+"px, "+o+"px":i+"px, "+o+"px":r?-o+"px":o+"px"}[e]:""},Ne=function(e,t){var n=e.match(new RegExp(t+"([XY])"));return n?n[1]:""},Se=function(e,t){var n=e.match(t);return n?n[1].split(",").map(parseFloat):[]},Ie=/translateX?Y?\(([^)]+)\)/,He=/scaleX?Y?\(([^)]+)\)/,Fe=function(e,t){var n=je(Ae(e,ae.POPPER)),r="top"===n||"bottom"===n,o="right"===n||"bottom"===n,i={translate:{axis:Ne(t,"translate"),numbers:Se(t,Ie)},scale:{axis:Ne(t,"scale"),numbers:Se(t,He)}},a=t.replace(Ie,"translate"+Me(i.translate.axis,r)+"("+ke("translate",i.translate.numbers,r,o)+")").replace(He,"scale"+Me(i.scale.axis,r)+"("+ke("scale",i.scale.numbers,r,o)+")");e.style[void 0!==document.body.style.transform?"transform":"webkitTransform"]=a},Re=function(e,t){e.filter(Boolean).forEach(function(e){e.setAttribute("data-state",t)})},Be=function(e,t){var n=e.popper,r=e.options,o=r.onCreate,i=r.onUpdate;r.onCreate=r.onUpdate=function(){!function(e){e.offsetHeight}(n),t(),i(),r.onCreate=o,r.onUpdate=i}},We=function(e){setTimeout(e,1)},_e=function(e,t,n,r){if(!e)return!0;var o=n.clientX,i=n.clientY,a=r.interactiveBorder,p=r.distance,s=t.top-i>("top"===e?a+p:a),c=i-t.bottom>("bottom"===e?a+p:a),f=t.left-o>("left"===e?a+p:a),u=o-t.right>("right"===e?a+p:a);return s||c||f||u},Ue=function(e,t){return-(e-t)+"px"},je=function(e){var t=e.getAttribute("x-placement");return t?t.split("-")[0]:""},ze=function(t,n){var r=e({},n,n.performance?{}:Le(t));return r.arrow&&(r.animateFill=!1),"function"==typeof r.appendTo&&(r.appendTo=n.appendTo(t)),"function"==typeof r.content&&(r.content=n.content(t)),r},Ve=function(e,t,n){e[t+"EventListener"]("transitionend",n)},Ye=function(e,t){var n=void 0;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(r,o)},t)}},qe=function(e,t){for(var n in e||{})if(!(n in t))throw Error("[tippy]: `"+n+"` is not a valid option")},Xe=!1,Ke=function(){Xe||(Xe=!0,s&&document.body.classList.add("tippy-iOS"),window.performance&&document.addEventListener("mousemove",Je))},Ge=0,Je=function e(){var t=performance.now();t-Ge<20&&(Xe=!1,document.removeEventListener("mousemove",e),s||document.body.classList.remove("tippy-iOS")),Ge=t},Qe=function(e){var t=e.target;if(!(t instanceof Element))return xe();var n=Ae(t,ae.POPPER);if(!(n&&n._tippy&&n._tippy.props.interactive)){var r=Pe(t,function(e){return e._tippy&&e._tippy.reference===e});if(r){var o=r._tippy,i=o.props.trigger.indexOf("click")>-1;if(Xe||i)return xe(o);if(!0!==o.props.hideOnClick||i)return;o.clearDelayTimeouts()}xe()}},Ze=function(){var e=document.activeElement;e&&e.blur&&e._tippy&&e.blur()},$e=function(){se(document.querySelectorAll(ae.POPPER)).forEach(function(e){var t=e._tippy;t.props.livePlacement||t.popperInstance.scheduleUpdate()})};var et=1;function tt(t,o){var i=ze(t,o);if(!i.multiple&&t._tippy)return null;var a=null,s={},f=null,u=0,l=0,d=!1,m=function(){},h=[],v=!1,b=i.interactiveDebounce>0?Ye(D,i.interactiveDebounce):D,g=et++,y=Ee(g,i);y.addEventListener("mouseenter",function(e){E.props.interactive&&E.state.isVisible&&"mouseenter"===s.type&&L(e)}),y.addEventListener("mouseleave",function(e){E.props.interactive&&"mouseenter"===s.type&&0===E.props.interactiveDebounce&&_e(je(y),y.getBoundingClientRect(),e,E.props)&&C()});var w=le(y),E={id:g,reference:t,popper:y,popperChildren:w,popperInstance:null,props:i,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},clearDelayTimeouts:U,set:j,setContent:function(e){j({content:e})},show:z,hide:V,enable:function(){E.state.isEnabled=!0},disable:function(){E.state.isEnabled=!1},destroy:Y};return W(),t.addEventListener("click",O),i.lazy||(E.popperInstance=H(),E.popperInstance.disableEventListeners()),i.showOnInit&&L(),!i.a11y||i.target||fe(t)||t.setAttribute("tabindex","0"),t._tippy=E,y._tippy=E,E;function O(){We(function(){v=!1})}function x(e){var t=f=e,n=t.clientX,r=t.clientY;if(E.popperInstance){var o=je(E.popper),i=E.popperChildren.arrow?20:5,a="top"===o||"bottom"===o,p="left"===o||"right"===o,s=a?Math.max(i,n):n,c=p?Math.max(i,r):r;a&&s>i&&(s=Math.min(n,window.innerWidth-i)),p&&c>i&&(c=Math.min(r,window.innerHeight-i));var u=E.reference.getBoundingClientRect(),l=E.props.followCursor,d="horizontal"===l,m="vertical"===l;E.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:d?u.top:c,bottom:d?u.bottom:c,left:m?u.left:s,right:m?u.right:s}},clientWidth:0,clientHeight:0},E.popperInstance.scheduleUpdate()}}function L(t){if(U(),!E.state.isVisible){if(E.props.target)return function(t){var n=Ae(t.target,E.props.target);n&&!n._tippy&&(tt(n,e({},E.props,{target:"",showOnInit:!0})),L(t))}(t);if(d=!0,E.props.wait)return E.props.wait(E,t);F()&&document.addEventListener("mousemove",x);var r=be(E.props.delay,0,n.delay);r?u=setTimeout(function(){z()},r):z()}}function C(){if(U(),!E.state.isVisible)return T();d=!1;var e=be(E.props.delay,1,n.delay);e?l=setTimeout(function(){E.state.isVisible&&V()},e):V()}function T(){document.removeEventListener("mousemove",x),f=null}function A(){document.body.removeEventListener("mouseleave",C),document.removeEventListener("mousemove",b)}function P(e){E.state.isEnabled&&!I(e)&&(E.state.isVisible||(s=e),"click"===e.type&&!1!==E.props.hideOnClick&&E.state.isVisible?C():L(e))}function D(e){var t=Pe(e.target,function(e){return e._tippy}),n=Ae(e.target,ae.POPPER)===E.popper,r=t===E.reference;n||r||_e(je(E.popper),E.popper.getBoundingClientRect(),e,E.props)&&(A(),C())}function M(e){if(!I(e))return E.props.interactive?(document.body.addEventListener("mouseleave",C),void document.addEventListener("mousemove",b)):void C()}function k(e){if(e.target===E.reference){if(E.props.interactive){if(!e.relatedTarget)return;if(Ae(e.relatedTarget,ae.POPPER))return}C()}}function N(e){Ae(e.target,E.props.target)&&L(e)}function S(e){Ae(e.target,E.props.target)&&C()}function I(e){var t=e.type.indexOf("touch")>-1,n=c&&Xe&&E.props.touchHold&&!t,r=Xe&&!E.props.touchHold&&t;return n||r}function H(){var t=E.popperChildren.tooltip,r=E.props.popperOptions,o=ae["round"===E.props.arrowType?"ROUND_ARROW":"ARROW"],i=t.querySelector(o),p=e({placement:E.props.placement},r||{},{modifiers:e({},r?r.modifiers:{},{arrow:e({element:o},r&&r.modifiers?r.modifiers.arrow:{}),flip:e({enabled:E.props.flip,padding:E.props.distance+5,behavior:E.props.flipBehavior},r&&r.modifiers?r.modifiers.flip:{}),offset:e({offset:E.props.offset},r&&r.modifiers?r.modifiers.offset:{})}),onCreate:function(){t.style[je(E.popper)]=Ue(E.props.distance,n.distance),i&&E.props.arrowTransform&&Fe(i,E.props.arrowTransform)},onUpdate:function(){var e=t.style;e.top="",e.bottom="",e.left="",e.right="",e[je(E.popper)]=Ue(E.props.distance,n.distance),i&&E.props.arrowTransform&&Fe(i,E.props.arrowTransform)}});return a||(a=new MutationObserver(function(){E.popperInstance.update()})).observe(y,{childList:!0,subtree:!0,characterData:!0}),new ie(E.reference,E.popper,p)}function F(){return E.props.followCursor&&!Xe&&"focus"!==s.type}function R(e,t){if(0===e)return t();var n=E.popperChildren.tooltip,r=function e(r){r.target===n&&(Ve(n,"remove",e),t())};Ve(n,"remove",m),Ve(n,"add",r),m=r}function B(e,t,n){E.reference.addEventListener(e,t),n.push({eventType:e,handler:t})}function W(){h=E.props.trigger.trim().split(" ").reduce(function(e,t){if("manual"===t)return e;if(E.props.target)switch(t){case"mouseenter":B("mouseover",N,e),B("mouseout",S,e);break;case"focus":B("focusin",N,e),B("focusout",S,e);break;case"click":B(t,N,e)}else switch(B(t,P,e),E.props.touchHold&&(B("touchstart",P,e),B("touchend",M,e)),t){case"mouseenter":B("mouseleave",M,e);break;case"focus":B(p?"focusout":"blur",k,e)}return e},[])}function _(){h.forEach(function(e){var t=e.eventType,n=e.handler;E.reference.removeEventListener(t,n)})}function U(){clearTimeout(u),clearTimeout(l)}function j(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};qe(t,n);var o=E.props,i=ze(E.reference,e({},E.props,t,{performance:!0}));i.performance=t.hasOwnProperty("performance")?t.performance:o.performance,E.props=i,(t.hasOwnProperty("trigger")||t.hasOwnProperty("touchHold"))&&(_(),W()),t.hasOwnProperty("interactiveDebounce")&&(A(),b=Ye(D,t.interactiveDebounce)),Oe(E.popper,o,i),E.popperChildren=le(E.popper),E.popperInstance&&r.some(function(e){return t.hasOwnProperty(e)})&&(E.popperInstance.destroy(),E.popperInstance=H(),E.state.isVisible||E.popperInstance.disableEventListeners(),E.props.followCursor&&f&&x(f))}function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be(E.props.duration,0,n.duration[0]);if(!E.state.isDestroyed&&E.state.isEnabled&&(!Xe||E.props.touch))return E.reference.isVirtual||document.documentElement.contains(E.reference)?void(E.reference.hasAttribute("disabled")||(v?v=!1:!1!==E.props.onShow(E)&&(E.popper.style.visibility="visible",E.state.isVisible=!0,ue([E.popper,E.popperChildren.tooltip,E.popperChildren.backdrop],0),function(e){E.popperInstance?F()||(E.popperInstance.scheduleUpdate(),E.props.livePlacement&&E.popperInstance.enableEventListeners()):(E.popperInstance=H(),E.props.livePlacement&&!F()||E.popperInstance.disableEventListeners()),E.popperInstance.reference=E.reference;var t=E.popperChildren.arrow;if(F()){t&&(t.style.margin="0");var r=be(E.props.delay,0,n.delay);s.type&&x(r&&f?f:s)}else t&&(t.style.margin="");Be(E.popperInstance,e),E.props.appendTo.contains(E.popper)||(E.props.appendTo.appendChild(E.popper),E.props.onMount(E),E.state.isMounted=!0)}(function(){E.state.isVisible&&(F()||E.popperInstance.update(),ue([E.popperChildren.tooltip,E.popperChildren.backdrop,E.popperChildren.content],e),E.popperChildren.backdrop&&(E.popperChildren.content.style.transitionDelay=Math.round(e/6)+"ms"),E.props.interactive&&E.reference.classList.add("tippy-active"),E.props.sticky&&(ue([E.popper],p?0:E.props.updateDuration),function e(){E.popperInstance&&E.popperInstance.scheduleUpdate(),E.state.isMounted?requestAnimationFrame(e):ue([E.popper],0)}()),Re([E.popperChildren.tooltip,E.popperChildren.backdrop,E.popperChildren.content],"visible"),function(e,t){R(e,t)}(e,function(){0===E.props.updateDuration&&E.popperChildren.tooltip.classList.add("tippy-notransition"),E.props.interactive&&["focus","click"].indexOf(s.type)>-1&&De(E.popper),E.reference.setAttribute("aria-describedby",E.popper.id),E.props.onShown(E),E.state.isShown=!0}))})))):Y()}function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be(E.props.duration,1,n.duration[1]);!E.state.isDestroyed&&E.state.isEnabled&&!1!==E.props.onHide(E)&&(0===E.props.updateDuration&&E.popperChildren.tooltip.classList.remove("tippy-notransition"),E.props.interactive&&E.reference.classList.remove("tippy-active"),E.popper.style.visibility="hidden",E.state.isVisible=!1,E.state.isShown=!1,ue([E.popperChildren.tooltip,E.popperChildren.backdrop,E.popperChildren.content],e),Re([E.popperChildren.tooltip,E.popperChildren.backdrop,E.popperChildren.content],"hidden"),E.props.interactive&&!v&&["focus","click"].indexOf(s.type)>-1&&("focus"===s.type&&(v=!0),De(E.reference)),function(e,t){R(e,function(){!E.state.isVisible&&E.props.appendTo.contains(E.popper)&&t()})}(e,function(){d||T(),E.reference.removeAttribute("aria-describedby"),E.popperInstance.disableEventListeners(),E.props.appendTo.removeChild(E.popper),E.state.isMounted=!1,E.props.onHidden(E)}))}function Y(e){E.state.isDestroyed||(E.state.isMounted&&V(0),_(),E.reference.removeEventListener("click",O),delete E.reference._tippy,E.props.target&&e&&se(E.reference.querySelectorAll(E.props.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),E.popperInstance&&E.popperInstance.destroy(),a&&a.disconnect(),E.state.isDestroyed=!0)}}var nt=!1;function rt(t,r,o){qe(r,n),nt||(document.addEventListener("click",Qe,!0),document.addEventListener("touchstart",Ke,{passive:!0}),window.addEventListener("blur",Ze),window.addEventListener("resize",$e),c||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints||document.addEventListener("pointerdown",Ke),nt=!0);var i=e({},n,r);de(t)&&Ce(t);var a=ve(t),p=a[0],s=(o&&p?[p]:a).reduce(function(e,t){var n=t&&tt(t,i);return n&&e.push(n),e},[]);return{targets:t,props:i,instances:s,destroyAll:function(){this.instances.forEach(function(e){e.destroy()}),this.instances=[]}}}rt.version="3.2.0",rt.defaults=n,rt.one=function(e,t){return rt(e,t,!0).instances[0]},rt.setDefaults=function(t){!function(t){n=e({},n,t)}(t),rt.defaults=n},rt.disableAnimations=function(){rt.setDefaults({duration:0,updateDuration:0,animateFill:!1})},rt.hideAllPoppers=xe,rt.useCapture=function(){};return o&&setTimeout(function(){se(document.querySelectorAll("[data-tippy]")).forEach(function(e){var t=e.getAttribute("data-tippy");t&&rt(e,{content:t})})}),rt});
 },{}],"9NgT":[function(require,module,exports) {
 "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("hyperapp"),e=o(require("../../../dist/tippy.js")),r=require("../utils"),n=Object.assign||function(t){for(var e=1;eText'}),(0,e.h)(i.default,{content:"const btn = document.querySelector('button')"}),(0,e.h)("p",null,"The Tippy instance is stored on the button element via the"," ",(0,e.h)("code",null,"_tippy")," property."," "),(0,e.h)(i.default,{content:"const tip = btn._tippy"}),(0,e.h)("blockquote",{class:"blockquote"},(0,e.h)("strong",null,"Why is it prefixed with an underscore?")," Since we're attaching a non-standard property to an ",(0,e.h)("code",null,"Element"),", we prefix it with an underscore. In the future, there may exist a real"," ",(0,e.h)("code",null,"tippy")," property of elements that would get overwritten by the library, and real DOM properties are never prefixed with an underscore."),(0,e.h)(s,null,"Show the tooltip"),(0,e.h)(i.default,{content:"tip.show()"}),(0,e.h)(s,null,"Hide the tooltip"),(0,e.h)(i.default,{content:"tip.hide()"}),(0,e.h)(s,null,"Custom transition duration"),(0,e.h)("p",null,"Pass a number in as an argument to override the instance option:"),(0,e.h)(i.default,{content:"tip.show(200)"}),(0,e.h)(s,null,"Disable the tooltip"),(0,e.h)("p",null,"The tooltip can be temporarily disabled from showing/hiding:"),(0,e.h)(i.default,{content:"tip.disable()"}),(0,e.h)("p",null,"To re-enable:"),(0,e.h)(i.default,{content:"tip.enable()"}),(0,e.h)(s,null,"Destroy the tooltip"),(0,e.h)("p",null,"To permanently destroy the tooltip and remove all listeners from the reference element:"),(0,e.h)(i.default,{content:"tip.destroy()"}),(0,e.h)("p",null,"The ",(0,e.h)("code",null,"_tippy")," property is deleted from the reference element upon destruction."),(0,e.h)(s,null,"Update the tooltip"),(0,e.h)("p",null,"Pass an object of new props to the ",(0,e.h)("code",null,"set()")," method to update the tooltip. The tooltip element will be redrawn to reflect the change."),(0,e.h)(i.default,{content:t.default}),(0,e.h)(s,null,"Update the tooltip content"),(0,e.h)("p",null,"There is a shortcut for directly updating the tooltip content."),(0,e.h)(i.default,{content:"tip.setContent('New content')"}),(0,e.h)(s,null,"Static methods"),(0,e.h)("p",null,"There are a few static methods on the ",(0,e.h)("code",null,"tippy")," function itself. These methods are global and do not affect a single instance."),(0,e.h)("p",null,"To use capture phase instead of bubbling for the global click listener, call this method before any calls to ",(0,e.h)("code",null,"tippy()"),":"),(0,e.h)(i.default,{content:"tippy.useCapture()"}),(0,e.h)("p",null,"Hide all visible poppers on the page:"),(0,e.h)(i.default,{content:"tippy.hideAllPoppers()"}),(0,e.h)("p",null,"Disable animation-related default props:"),(0,e.h)(i.default,{content:"tippy.disableAnimations()"}),(0,e.h)("p",null,"Set the default props for each new tippy instance:"),(0,e.h)(i.default,{content:"tippy.setDefaults(props)"}),(0,e.h)("p",null,"Create a single tooltip and return the instance directly:"),(0,e.h)(i.default,{content:"tippy.one(reference, options)"}))};exports.default=d;
+"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("hyperapp"),t=h(require("../../snippets/set-method")),n=h(require("../components/Section")),o=h(require("../components/Heading")),l=h(require("../components/Emoji")),i=h(require("../components/Code")),p=h(require("../components/ResultBox")),r=h(require("../components/Tippy")),a=require("./TableOfContents");function h(e){return e&&e.__esModule?e:{default:e}}var u="Methods",s=(0,o.default)(u),d=function(){return(0,e.h)(n.default,{title:u,emoji:a.Emojis.METHODS},(0,e.h)("p",null,"Tippy instances have 7 methods available which allow you to control the tooltip without the use of UI events."),(0,e.h)(i.default,{lang:"html",content:''}),(0,e.h)(i.default,{content:"const btn = document.querySelector('button')"}),(0,e.h)("p",null,"The Tippy instance is stored on the button element via the"," ",(0,e.h)("code",null,"_tippy")," property."," "),(0,e.h)(i.default,{content:"const tip = btn._tippy"}),(0,e.h)("blockquote",{class:"blockquote"},(0,e.h)("strong",null,"Why is it prefixed with an underscore?")," Since we're attaching a non-standard property to an ",(0,e.h)("code",null,"Element"),", we prefix it with an underscore. In the future, there may exist a real"," ",(0,e.h)("code",null,"tippy")," property of elements that would get overwritten by the library, and real DOM properties are never prefixed with an underscore."),(0,e.h)(s,null,"Show the tooltip"),(0,e.h)(i.default,{content:"tip.show()"}),(0,e.h)(s,null,"Hide the tooltip"),(0,e.h)(i.default,{content:"tip.hide()"}),(0,e.h)(s,null,"Custom transition duration"),(0,e.h)("p",null,"Pass a number in as an argument to override the instance option:"),(0,e.h)(i.default,{content:"tip.show(200)"}),(0,e.h)(s,null,"Disable the tooltip"),(0,e.h)("p",null,"The tooltip can be temporarily disabled from showing/hiding:"),(0,e.h)(i.default,{content:"tip.disable()"}),(0,e.h)("p",null,"To re-enable:"),(0,e.h)(i.default,{content:"tip.enable()"}),(0,e.h)(s,null,"Destroy the tooltip"),(0,e.h)("p",null,"To permanently destroy the tooltip and remove all listeners from the reference element:"),(0,e.h)(i.default,{content:"tip.destroy()"}),(0,e.h)("p",null,"The ",(0,e.h)("code",null,"_tippy")," property is deleted from the reference element upon destruction."),(0,e.h)(s,null,"Update the tooltip"),(0,e.h)("p",null,"Pass an object of new props to the ",(0,e.h)("code",null,"set()")," method to update the tooltip. The tooltip element will be redrawn to reflect the change."),(0,e.h)(i.default,{content:t.default}),(0,e.h)(s,null,"Update the tooltip content"),(0,e.h)("p",null,"There is a shortcut for directly updating the tooltip content."),(0,e.h)(i.default,{content:"tip.setContent('New content')"}),(0,e.h)(s,null,"Static methods"),(0,e.h)("p",null,"There are a few static methods on the ",(0,e.h)("code",null,"tippy")," function itself. These methods are global and do not affect a single instance."),(0,e.h)("p",null,"Hide all visible poppers on the page:"),(0,e.h)(i.default,{content:"tippy.hideAllPoppers()"}),(0,e.h)("p",null,"Disable animation-related default props:"),(0,e.h)(i.default,{content:"tippy.disableAnimations()"}),(0,e.h)("p",null,"Set the default props for each new tippy instance:"),(0,e.h)(i.default,{content:"tippy.setDefaults(props)"}),(0,e.h)("p",null,"Create a single tooltip and return the instance directly:"),(0,e.h)(i.default,{content:"tippy.one(reference, options)"}))};exports.default=d;
 },{"hyperapp":"/xJO","../../snippets/set-method":"HB1c","../components/Section":"Gj7U","../components/Heading":"eb7U","../components/Emoji":"NLY6","../components/Code":"xXQk","../components/ResultBox":"s9J6","../components/Tippy":"9NgT","./TableOfContents":"+Ara"}],"yz7h":[function(require,module,exports) {
 module.exports = "```html\n\n
\n My HTML tooltip content\n
\n```\n" },{}],"Pkcm":[function(require,module,exports) { @@ -139,4 +139,4 @@ module.exports = "```css\n/* Default (sharp) arrow */\n.tippy-popper[x-placement },{"hyperapp":"/xJO","./sections/Header":"JMd4","./sections/Main":"QecC"}],"Focm":[function(require,module,exports) { "use strict";require("../dist/tippy.css"),require("../dist/themes/light.css"),require("../dist/themes/translucent.css"),require("../dist/themes/light-border.css"),require("../dist/themes/google.css"),require("normalize.css"),require("./css/index.scss"),require("focus-visible");var e=require("hyperapp"),r=require("@hyperapp/render/browser/module"),s=require("./js/utils"),i=d(require("./js/state")),t=d(require("./js/actions")),u=d(require("./js/view"));function d(e){return e&&e.__esModule?e:{default:e}}var c=(0,r.withRender)(e.app)(i.default,t.default,u.default,s.isBrowser&&document.body);(0,s.prerender)(c,""); },{"../dist/tippy.css":"NpIu","../dist/themes/light.css":"NpIu","../dist/themes/translucent.css":"NpIu","../dist/themes/light-border.css":"NpIu","../dist/themes/google.css":"NpIu","normalize.css":"NpIu","./css/index.scss":"NpIu","focus-visible":"vg5y","hyperapp":"/xJO","@hyperapp/render/browser/module":"320Q","./js/utils":"8MgT","./js/state":"7ceU","./js/actions":"fqC+","./js/view":"kWCP"}]},{},["Focm"], null) -//# sourceMappingURL=website.9f01946e.map \ No newline at end of file +//# sourceMappingURL=website.653c1cf5.map \ No newline at end of file diff --git a/docs/website.653c1cf5.map b/docs/website.653c1cf5.map new file mode 100644 index 000000000..60fe66bc7 --- /dev/null +++ b/docs/website.653c1cf5.map @@ -0,0 +1 @@ +{"version":3,"sources":["../node_modules/focus-visible/dist/focus-visible.js","../node_modules/hyperapp/src/index.js","../src/browser.js","../src/index.js","../node_modules/twemoji/2/esm.js","js/utils.js","js/state.js","js/actions.js","0","js/components/Emoji.js","../src/js/tippy.js","../node_modules/popper.js/dist/esm/popper.js","../src/js/defaults.js","../src/js/browser.js","../src/js/selectors.js","../src/js/utils.js","../src/js/bindGlobalEventListeners.js","../src/js/createTippy.js","js/components/Tippy.js","js/sections/Header.js","js/sections/Demo.js","js/components/Heading.js","js/components/Section.js","../node_modules/prismjs/prism.js","js/components/Code.js","js/components/ExternalLink.js","js/sections/TableOfContents.js","js/sections/Why.js","js/sections/GettingStarted.js","js/components/ResultBox.js","js/sections/CreatingTooltips.js","js/sections/CustomizingTooltips.js","js/components/OptionsTable.js","js/sections/AllOptions.js","js/sections/Objects.js","js/sections/Methods.js","js/sections/HTMLContent.js","js/sections/CreatingCustomThemes.js","js/sections/Performance.js","js/sections/Main.js","js/view.js","index.js"],"names":["h","name","attributes","length","rest","children","arguments","push","node","pop","nodeName","key","app","state","actions","view","container","map","skipRender","rootElement","oldNode","recycleElement","element","toLowerCase","call","childNodes","nodeType","nodeValue","lifecycle","isRecycling","globalState","clone","wiredActions","wireStateToActions","path","action","data","result","getPartialState","then","scheduleRender","setPartialState","concat","resolveNode","render","patch","parent","isSvg","newElement","createElement","document","createTextNode","createElementNS","oncreate","i","appendChild","updateAttribute","insertBefore","removeElement","updateElement","oldAttributes","cb","onupdate","oldKeyed","newKeyed","oldElements","oldChildren","oldKey","getKey","k","newKey","keyedNode","setTimeout","target","source","out","value","slice","eventListener","event","currentTarget","events","type","oldValue","style","cssText","setProperty","addEventListener","removeEventListener","setAttribute","removeAttribute","done","removeChild","removeChildren","ondestroy","onremove","styleNameCache","Map","uppercasePattern","msPattern","voidElements","Set","ignoreAttributes","escapeRegExp","escapeLookup","escaper","match","get","escapeHtml","replace","hyphenateStyleName","styleName","set","stringifyStyles","styles","delimiter","styleNames","Object","keys","styleValue","renderFragment","stack","footer","has","innerHTML","renderer","end","bytes","frame","childIndex","renderToString","Infinity","withRender","nextApp","initialState","actionsTemplate","toString","getState","twemoji","base","ext","size","className","convert","fromCodePoint","codepoint","code","parseInt","fromCharCode","toCodePoint","onerror","parentNode","replaceChild","createText","alt","parse","what","how","callback","parseString","str","options","rawText","ret","attrib","attrname","iconId","grabTheRightIcon","src","hasOwnProperty","indexOf","rescaper","replacer","parseNode","allText","modified","fragment","subnode","text","index","img","grabAllTextNodes","shouldntBeParsed","test","createDocumentFragment","re","exec","Image","hasAttribute","defaultImageSrcGenerator","returnNull","folder","toSizeSquaredAsset","lastIndex","UFE0Fg","U200D","String","clean","icon","m","unicodeSurrogates","sep","r","c","p","charCodeAt","join","isBrowser","window","DIR","prerender","main","tag","nodeRequire","fs","html","readFileSync","writeFileSync","e","snippet","getEmojiSrc","char","wrapper","firstElementChild","toKebabCase","x","ajax","imageSrc","isLoading","error","canFetch","performance","inputValue","numberOfElements","onShow","isFetching","fetch","response","blob","onDataReceived","catch","errored","URL","createObjectURL","onHidden","setInputValue","module","exports","version","description","types","author","license","keywords","repository","url","scripts","dev:docs","build:docs","dev","build","prettier","release","jest","setupFiles","coveragePathIgnorePatterns","semi","singleQuote","browserslist","alias","~","devDependencies","@hyperapp/render","autoprefixer","babel-core","babel-jest","babel-plugin-external-helpers","babel-plugin-transform-react-jsx","babel-preset-env","babel-preset-es2015-rollup","babel-preset-stage-2","caniuse-lite","colorette","cssnano","eslint","filesize","focus-visible","gzip-size","hyperapp","jsdom","mutation-observer","node-sass","normalize.css","parcel-bundler","parcel-plugin-markdown-string","postcss","postcss-cssnext","postcss-import","prismjs","rollup","rollup-plugin-babel","rollup-plugin-babel-minify","rollup-plugin-commonjs","rollup-plugin-css-only","rollup-plugin-json","rollup-plugin-node-resolve","rollup-plugin-sass","rollup-plugin-strip","dependencies","popper.js","Sizes","large","medium","small","props","width","autoInit","Defaults","body","POPPER_INSTANCE_RELATED_PROPS","nav","navigator","win","isIE","userAgent","isIOS","platform","MSStream","supportsTouch","longerTimeoutBrowsers","timeoutDuration","supportsMicroTasks","debounce","Promise","microtaskDebounce","fn","called","resolve","taskDebounce","scheduled","isFunction","functionToCheck","getStyleComputedProperty","property","css","ownerDocument","defaultView","getComputedStyle","getParentNode","host","getScrollParent","_getStyleComputedProp","overflow","overflowX","overflowY","isIE11","MSInputMethodContext","documentMode","isIE10","getOffsetParent","documentElement","offsetParent","noOffsetParent","nextElementSibling","getRoot","findCommonOffsetParent","element1","element2","order","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","start","range","createRange","setStart","setEnd","commonAncestorContainer","contains","isOffsetContainer","element1root","getScroll","side","upperSide","undefined","scrollingElement","getBordersSize","axis","sideA","sideB","parseFloat","getSize","computedStyle","Math","max","getWindowSizes","classCallCheck","instance","Constructor","TypeError","createClass","defineProperties","descriptor","enumerable","configurable","writable","defineProperty","protoProps","staticProps","prototype","obj","_extends","assign","getClientRect","offsets","left","top","height","getBoundingClientRect","rect","scrollTop","scrollLeft","bottom","right","sizes","clientWidth","clientHeight","horizScrollbar","offsetWidth","vertScrollbar","offsetHeight","getOffsetRectRelativeToArbitraryNode","fixedPosition","isHTML","childrenRect","parentRect","scrollParent","borderTopWidth","borderLeftWidth","marginTop","marginLeft","includeScroll","subtract","modifier","getFixedPositionOffsetParent","parentElement","el","getBoundaries","popper","reference","padding","boundariesElement","boundaries","getViewportOffsetRectRelativeToArtbitraryNode","excludeScroll","relativeOffset","innerWidth","innerHeight","boundariesNode","isFixed","_getWindowSizes","isPaddingNumber","computeAutoPlacement","placement","refRect","rects","sortedAreas","getArea","_ref","sort","a","b","area","filteredAreas","filter","_ref2","computedPlacement","variation","split","getReferenceOffsets","getOuterSizes","marginBottom","y","marginRight","getOppositePlacement","hash","matched","getPopperOffsets","referenceOffsets","popperRect","popperOffsets","isHoriz","mainSide","secondarySide","measurement","secondaryMeasurement","find","arr","check","Array","runModifiers","modifiers","ends","findIndex","prop","cur","forEach","warn","enabled","isModifierEnabled","modifierName","some","getSupportedPropertyName","prefixes","upperProp","charAt","toUpperCase","prefix","toCheck","getWindow","setupEventListeners","updateBound","passive","scrollElement","attachToScrollParents","scrollParents","isBody","eventsEnabled","disableEventListeners","removeEventListeners","scheduleUpdate","isNumeric","n","isNaN","isFinite","setStyles","unit","isModifierRequired","requestingName","requestedName","requesting","isRequired","_requesting","requested","placements","validPlacements","clockwise","counter","reverse","BEHAVIORS","parseOffset","offset","basePlacement","useHeight","fragments","frag","trim","divider","search","splitRegex","ops","op","mergeWithPrevious","reduce","toValue","index2","shift","shiftvariation","_data$offsets","isVertical","shiftOffsets","preventOverflow","transformProp","popperStyles","transform","positionFixed","priority","escapeWithReference","min","keepTogether","floor","opSide","arrow","_data$offsets$arrow","arrowElement","querySelector","len","sideCapitalized","altSide","arrowElementSize","center","popperMarginSide","popperBorderSide","sideValue","round","flip","flipped","originalPlacement","placementOpposite","flipOrder","behavior","FLIP","CLOCKWISE","COUNTERCLOCKWISE","step","refOffsets","overlapsRef","overflowsLeft","overflowsRight","overflowsTop","overflowsBottom","overflowsBoundaries","flippedVariation","flipVariations","getOppositeVariation","inner","subtractLength","hide","bound","computeStyle","legacyGpuAccelerationOption","gpuAcceleration","offsetParentRect","position","prefixedProperty","willChange","invertTop","invertLeft","arrowStyles","applyStyle","setAttributes","applyStyleOnLoad","modifierOptions","Popper","_this","requestAnimationFrame","update","bind","jquery","onLoad","enableEventListeners","isDestroyed","isCreated","onUpdate","onCreate","destroy","removeOnDestroy","Utils","global","PopperUtils","Selectors","FF_EXTENSION_TRICK","toArray","setContent","contentEl","content","Element","allowHTML","elementCanReceiveFocus","matches","applyTransitionDuration","els","Boolean","transitionDuration","getChildren","select","s","TOOLTIP","BACKDROP","CONTENT","ARROW","ROUND_ARROW","isPlainObject","div","setInnerHTML","getArrayOfElements","NodeList","isArray","querySelectorAll","getValue","defaultValue","v","createArrowElement","arrowType","createBackdropElement","backdrop","addInteractive","tooltip","createPopperElement","id","zIndex","animation","theme","classList","add","t","interactive","animateFill","inertia","relatedTarget","_tippy","closestCallback","shouldPopperHideOnBlur","updatePopperElement","prevProps","nextProps","remove","hideAllPoppers","POPPER","tip","hideOnClick","excludeTippy","getDataAttributeOptions","acc","valueAsString","getAttribute","JSON","Number","polyfillVirtualReferenceProps","polyfills","virtualReference","classNames","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","closest","parentSelector","selector","focus","scrollX","pageXOffset","scrollY","pageYOffset","transformAxisBasedOnPlacement","transformNumbersBasedOnPlacement","numbers","isReverse","getTransformAxis","cssFunction","RegExp","getTransformNumbers","regex","TRANSFORM_NUMBER_RE","computeArrowTransform","arrowTransform","getPopperPlacement","computedTransform","translate","scale","setVisibilityState","afterPopperPositionUpdates","popperInstance","defer","isCursorOutsideInteractiveBorder","popperPlacement","clientX","clientY","interactiveBorder","distance","exceedsTop","exceedsBottom","exceedsLeft","exceedsRight","getOffsetDistanceInPx","defaultDistance","fullPlacement","evaluateProps","appendTo","toggleTransitionEndListener","listener","ms","timeoutId","apply","validateOptions","option","Error","isUsingTouch","onDocumentTouch","onDocumentMouseMove","lastMouseMoveTime","now","onDocumentClick","isClickTrigger","trigger","clearDelayTimeouts","onWindowBlur","activeElement","blur","onWindowResize","tippyInstance","livePlacement","idCounter","createTippy","collectionProps","multiple","popperMutationObserver","lastTriggerEvent","lastMouseMoveEvent","showTimeoutId","hideTimeoutId","isPreparingToShow","transitionEndListener","listeners","referenceJustProgrammaticallyFocused","debouncedOnMouseMove","interactiveDebounce","onMouseMove","isVisible","popperChildren","enable","isEnabled","disable","onReferenceClick","lazy","createPopperInstance","showOnInit","a11y","positionVirtualReferenceNearCursor","isVerticalPlacement","isHorizontalPlacement","followCursor","isHorizontal","prepareShow","createDelegateChildTippy","targetEl","wait","hasFollowCursorBehavior","delay","prepareHide","removeFollowCursorListener","cleanupOldMouseListeners","onTrigger","isEventListenerStopped","referenceTheCursorIsOver","isCursorOverPopper","isCursorOverReference","onMouseLeave","onBlur","onDelegateShow","onDelegateHide","isTouchEvent","caseA","touchHold","caseB","popperOptions","arrowSelector","config","flipBehavior","MutationObserver","observe","onTransitionEnd","duration","on","eventType","handler","addTriggersToReference","removeTriggersFromReference","show","touch","isVirtual","visibility","mount","margin","onMount","isMounted","transitionDelay","sticky","updateDuration","updatePosition","onTransitionedIn","onShown","isShown","onHide","onTransitionedOut","destroyTargetInstances","child","disconnect","eventListenersBound","tippy","targets","one","maxTouchPoints","msMaxTouchPoints","references","firstReference","instances","defaults","setDefaults","partialDefaults","disableAnimations","useCapture","Tippy","realProps","constructor","secondary","ref","logo","ANIMATIONS","printValue","NO_GPU_ACCELERATION","preventDefault","anchor","cursor","Subheading","scope","link","title","emoji","getLang","lang","Prism","highlightElement","to","TITLE","Emojis","WHY","GETTING_STARTED","CREATING_TOOLTIPS","CUSTOMIZING_TOOLTIPS","ALL_OPTIONS","OBJECTS","METHODS","HTML_CONTENT","CREATING_CUSTOM_THEMES","PERFORMANCE","AUTO_TIPPY_BUTTON","FUNCTION_BUTTON","FUNCTION_CALL","MULTIPLE_CONTENT_HTML","MULTIPLE_CONTENT_JS","VIRTUAL_REFERENCE","HTML_BUTTON","OPTIONS_OBJECT","DATA_ATTRIBUTES","SET_DEFAULTS","scrollTakingIntoAccountStickyHeader","scroll","Prop","location","default","APPEND_TO","display","WAIT","INITIAL_AJAX_CONTENT","AJAX","_transitionEndListener","opacity","_baseHeight","EVENT_DELEGATION_HTML","EVENT_DELEGATION_JS","SCROLLABLE_CONTAINER","HIDE_TOOLTIPS_ON_SCROLL","CANCEL_LIFECYCLE_FUNCTION","BUTTONS_WITH_TOOLTIPS_TOUCH","TIP_COLLECTION","ACCESS_TIPPY_INSTANCE","TIP_INSTANCE","SHORTCUTS","SET_METHOD","HTML_ELEMENT","HTML_ELEMENT_JS","color","TIPPY_ELEMENT","TIPPY_ELEMENT_ARROW","THEME_CSS","THEME_JS","CSS_ARROW_STYLES"],"mappings":";;;;AA0RA,IAAA,GA1RA,SAAA,EAAA,GACA,iBAAA,SAAA,oBAAA,OAAA,IACA,mBAAA,GAAA,EAAA,IAAA,EAAA,GACA,IAHA,CAIA,EAAA,WAAA,aAiRA,oBAAA,UAvBA,SAAA,GACA,IAAA,EAKA,SAAA,IACA,IACA,GAAA,EAEA,KAIA,CAAA,cAAA,YAAA,QAAA,SAAA,aAAA,EACA,KAEA,GAAA,EACA,SAAA,iBAAA,mBAAA,GAAA,GACA,OAAA,iBAAA,OAAA,GAAA,IAKA,CA7QA,WACA,IAAA,GAAA,EACA,GAAA,EACA,EAAA,KAEA,EAAA,CACA,MAAA,EACA,QAAA,EACA,KAAA,EACA,KAAA,EACA,OAAA,EACA,UAAA,EACA,QAAA,EACA,MAAA,EACA,OAAA,EACA,MAAA,EACA,MAAA,EACA,UAAA,EACA,kBAAA,GAQA,SAAA,EAAA,GACA,SACA,GACA,IAAA,UACA,SAAA,EAAA,UACA,SAAA,EAAA,UACA,cAAA,GACA,aAAA,EAAA,WAsCA,SAAA,EAAA,GACA,EAAA,UAAA,SAAA,mBAGA,EAAA,UAAA,IAAA,iBACA,EAAA,aAAA,2BAAA,KAsCA,SAAA,EAAA,GACA,GAAA,EAwEA,SAAA,IACA,SAAA,iBAAA,YAAA,GACA,SAAA,iBAAA,YAAA,GACA,SAAA,iBAAA,UAAA,GACA,SAAA,iBAAA,cAAA,GACA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,OAAA,EAAA,EAAA,GAAA,MAAA,CAAW,MAAA,QACT,EAAC,EAAA,GAAA,EAAD,QADF,OAEE,EAAC,EAAA,GAAA,EAAD,QAFF,QADa,QAAA,QAAA;;ACYf,aAhBA,QAAA,qBACA,QAAA,4BACA,QAAA,kCACA,QAAA,mCACA,QAAA,6BACA,QAAA,iBACA,QAAA,oBACA,QAAA,iBACA,IAAA,EAAA,QAAA,YACA,EAAA,QAAA,mCACA,EAAA,QAAA,cACA,EAAA,EAAA,QAAA,eACA,EAAA,EAAA,QAAA,iBACA,EAAA,EAAA,QAAA,cAGA,SAAA,EAAA,GAAA,OAAA,GAAA,EAAA,WAAA,EAAA,CAAA,QAAA,GADA,IAAMqM,GAAO,EAAWvM,EAAAA,YAAAA,EAAX,IAAA,CAAgBC,EAAhB,QAAuBC,EAAvB,QAAgCC,EAAhC,QAAsCgM,EAAa7J,WAAAA,SAAS4Q,OACzE,EAAU3G,EAAAA,WAAAA,EAAM","file":"website.653c1cf5.map","sourceRoot":"../website","sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (factory());\n}(this, (function () { 'use strict';\n\n /**\n * https://github.com/WICG/focus-visible\n */\n function init() {\n var hadKeyboardEvent = true;\n var hadFocusVisibleRecently = false;\n var hadFocusVisibleRecentlyTimeout = null;\n\n var inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n };\n\n /**\n * Helper function for legacy browsers and iframes which sometimes focus\n * elements like document, body, and non-interactive SVG.\n * @param {Element} el\n */\n function isValidFocusTarget(el) {\n if (\n el &&\n el !== document &&\n el.nodeName !== 'HTML' &&\n el.nodeName !== 'BODY' &&\n 'classList' in el &&\n 'contains' in el.classList\n ) {\n return true;\n }\n return false;\n }\n\n /**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} el\n * @return {boolean}\n */\n function focusTriggersKeyboardModality(el) {\n var type = el.type;\n var tagName = el.tagName;\n\n if (tagName == 'INPUT' && inputTypesWhitelist[type] && !el.readOnly) {\n return true;\n }\n\n if (tagName == 'TEXTAREA' && !el.readOnly) {\n return true;\n }\n\n if (el.isContentEditable) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Add the `focus-visible` class to the given element if it was not added by\n * the author.\n * @param {Element} el\n */\n function addFocusVisibleClass(el) {\n if (el.classList.contains('focus-visible')) {\n return;\n }\n el.classList.add('focus-visible');\n el.setAttribute('data-focus-visible-added', '');\n }\n\n /**\n * Remove the `focus-visible` class from the given element if it was not\n * originally added by the author.\n * @param {Element} el\n */\n function removeFocusVisibleClass(el) {\n if (!el.hasAttribute('data-focus-visible-added')) {\n return;\n }\n el.classList.remove('focus-visible');\n el.removeAttribute('data-focus-visible-added');\n }\n\n /**\n * Treat `keydown` as a signal that the user is in keyboard modality.\n * Apply `focus-visible` to any current active element and keep track\n * of our keyboard modality state with `hadKeyboardEvent`.\n * @param {Event} e\n */\n function onKeyDown(e) {\n if (isValidFocusTarget(document.activeElement)) {\n addFocusVisibleClass(document.activeElement);\n }\n\n hadKeyboardEvent = true;\n }\n\n /**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n * @param {Event} e\n */\n function onPointerDown(e) {\n hadKeyboardEvent = false;\n }\n\n /**\n * On `focus`, add the `focus-visible` class to the target if:\n * - the target received focus as a result of keyboard navigation, or\n * - the event target is an element that will likely require interaction\n * via the keyboard (e.g. a text box)\n * @param {Event} e\n */\n function onFocus(e) {\n // Prevent IE from focusing the document or HTML element.\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {\n addFocusVisibleClass(e.target);\n }\n }\n\n /**\n * On `blur`, remove the `focus-visible` class from the target.\n * @param {Event} e\n */\n function onBlur(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (\n e.target.classList.contains('focus-visible') ||\n e.target.hasAttribute('data-focus-visible-added')\n ) {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function() {\n hadFocusVisibleRecently = false;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n }, 100);\n removeFocusVisibleClass(e.target);\n }\n }\n\n /**\n * If the user changes tabs, keep track of whether or not the previously\n * focused element had .focus-visible.\n * @param {Event} e\n */\n function onVisibilityChange(e) {\n if (document.visibilityState == 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n addInitialPointerMoveListeners();\n }\n }\n\n /**\n * Add a group of listeners to detect usage of any pointing devices.\n * These listeners will be added when the polyfill first loads, and anytime\n * the window is blurred, so that they are active when the window regains\n * focus.\n */\n function addInitialPointerMoveListeners() {\n document.addEventListener('mousemove', onInitialPointerMove);\n document.addEventListener('mousedown', onInitialPointerMove);\n document.addEventListener('mouseup', onInitialPointerMove);\n document.addEventListener('pointermove', onInitialPointerMove);\n document.addEventListener('pointerdown', onInitialPointerMove);\n document.addEventListener('pointerup', onInitialPointerMove);\n document.addEventListener('touchmove', onInitialPointerMove);\n document.addEventListener('touchstart', onInitialPointerMove);\n document.addEventListener('touchend', onInitialPointerMove);\n }\n\n function removeInitialPointerMoveListeners() {\n document.removeEventListener('mousemove', onInitialPointerMove);\n document.removeEventListener('mousedown', onInitialPointerMove);\n document.removeEventListener('mouseup', onInitialPointerMove);\n document.removeEventListener('pointermove', onInitialPointerMove);\n document.removeEventListener('pointerdown', onInitialPointerMove);\n document.removeEventListener('pointerup', onInitialPointerMove);\n document.removeEventListener('touchmove', onInitialPointerMove);\n document.removeEventListener('touchstart', onInitialPointerMove);\n document.removeEventListener('touchend', onInitialPointerMove);\n }\n\n /**\n * When the polfyill first loads, assume the user is in keyboard modality.\n * If any event is received from a pointing device (e.g. mouse, pointer,\n * touch), turn off keyboard modality.\n * This accounts for situations where focus enters the page from the URL bar.\n * @param {Event} e\n */\n function onInitialPointerMove(e) {\n // Work around a Safari quirk that fires a mousemove on whenever the\n // window blurs, even if you're tabbing out of the page. ยฏ\\_(ใƒ„)_/ยฏ\n if (e.target.nodeName.toLowerCase() === 'html') {\n return;\n }\n\n hadKeyboardEvent = false;\n removeInitialPointerMoveListeners();\n }\n\n document.addEventListener('keydown', onKeyDown, true);\n document.addEventListener('mousedown', onPointerDown, true);\n document.addEventListener('pointerdown', onPointerDown, true);\n document.addEventListener('touchstart', onPointerDown, true);\n document.addEventListener('focus', onFocus, true);\n document.addEventListener('blur', onBlur, true);\n document.addEventListener('visibilitychange', onVisibilityChange, true);\n addInitialPointerMoveListeners();\n\n document.body.classList.add('js-focus-visible');\n }\n\n /**\n * Subscription when the DOM is ready\n * @param {Function} callback\n */\n function onDOMReady(callback) {\n var loaded;\n\n /**\n * Callback wrapper for check loaded state\n */\n function load() {\n if (!loaded) {\n loaded = true;\n\n callback();\n }\n }\n\n if (['interactive', 'complete'].indexOf(document.readyState) >= 0) {\n callback();\n } else {\n loaded = false;\n document.addEventListener('DOMContentLoaded', load, false);\n window.addEventListener('load', load, false);\n }\n }\n\n if (typeof document !== 'undefined') {\n onDOMReady(init);\n }\n\n})));\n","export function h(name, attributes) {\n var rest = []\n var children = []\n var length = arguments.length\n\n while (length-- > 2) rest.push(arguments[length])\n\n while (rest.length) {\n var node = rest.pop()\n if (node && node.pop) {\n for (length = node.length; length--; ) {\n rest.push(node[length])\n }\n } else if (node != null && node !== true && node !== false) {\n children.push(node)\n }\n }\n\n return typeof name === \"function\"\n ? name(attributes || {}, children)\n : {\n nodeName: name,\n attributes: attributes || {},\n children: children,\n key: attributes && attributes.key\n }\n}\n\nexport function app(state, actions, view, container) {\n var map = [].map\n var rootElement = (container && container.children[0]) || null\n var oldNode = rootElement && recycleElement(rootElement)\n var lifecycle = []\n var skipRender\n var isRecycling = true\n var globalState = clone(state)\n var wiredActions = wireStateToActions([], globalState, clone(actions))\n\n scheduleRender()\n\n return wiredActions\n\n function recycleElement(element) {\n return {\n nodeName: element.nodeName.toLowerCase(),\n attributes: {},\n children: map.call(element.childNodes, function(element) {\n return element.nodeType === 3 // Node.TEXT_NODE\n ? element.nodeValue\n : recycleElement(element)\n })\n }\n }\n\n function resolveNode(node) {\n return typeof node === \"function\"\n ? resolveNode(node(globalState, wiredActions))\n : node != null\n ? node\n : \"\"\n }\n\n function render() {\n skipRender = !skipRender\n\n var node = resolveNode(view)\n\n if (container && !skipRender) {\n rootElement = patch(container, rootElement, oldNode, (oldNode = node))\n }\n\n isRecycling = false\n\n while (lifecycle.length) lifecycle.pop()()\n }\n\n function scheduleRender() {\n if (!skipRender) {\n skipRender = true\n setTimeout(render)\n }\n }\n\n function clone(target, source) {\n var out = {}\n\n for (var i in target) out[i] = target[i]\n for (var i in source) out[i] = source[i]\n\n return out\n }\n\n function setPartialState(path, value, source) {\n var target = {}\n if (path.length) {\n target[path[0]] =\n path.length > 1\n ? setPartialState(path.slice(1), value, source[path[0]])\n : value\n return clone(source, target)\n }\n return value\n }\n\n function getPartialState(path, source) {\n var i = 0\n while (i < path.length) {\n source = source[path[i++]]\n }\n return source\n }\n\n function wireStateToActions(path, state, actions) {\n for (var key in actions) {\n typeof actions[key] === \"function\"\n ? (function(key, action) {\n actions[key] = function(data) {\n var result = action(data)\n\n if (typeof result === \"function\") {\n result = result(getPartialState(path, globalState), actions)\n }\n\n if (\n result &&\n result !== (state = getPartialState(path, globalState)) &&\n !result.then // !isPromise\n ) {\n scheduleRender(\n (globalState = setPartialState(\n path,\n clone(state, result),\n globalState\n ))\n )\n }\n\n return result\n }\n })(key, actions[key])\n : wireStateToActions(\n path.concat(key),\n (state[key] = clone(state[key])),\n (actions[key] = clone(actions[key]))\n )\n }\n\n return actions\n }\n\n function getKey(node) {\n return node ? node.key : null\n }\n\n function eventListener(event) {\n return event.currentTarget.events[event.type](event)\n }\n\n function updateAttribute(element, name, value, oldValue, isSvg) {\n if (name === \"key\") {\n } else if (name === \"style\") {\n if (typeof value === \"string\") {\n element.style.cssText = value\n } else {\n if (typeof oldValue === \"string\") oldValue = element.style.cssText = \"\"\n for (var i in clone(oldValue, value)) {\n var style = value == null || value[i] == null ? \"\" : value[i]\n if (i[0] === \"-\") {\n element.style.setProperty(i, style)\n } else {\n element.style[i] = style\n }\n }\n }\n } else {\n if (name[0] === \"o\" && name[1] === \"n\") {\n name = name.slice(2)\n\n if (element.events) {\n if (!oldValue) oldValue = element.events[name]\n } else {\n element.events = {}\n }\n\n element.events[name] = value\n\n if (value) {\n if (!oldValue) {\n element.addEventListener(name, eventListener)\n }\n } else {\n element.removeEventListener(name, eventListener)\n }\n } else if (\n name in element &&\n name !== \"list\" &&\n name !== \"type\" &&\n name !== \"draggable\" &&\n name !== \"spellcheck\" &&\n name !== \"translate\" &&\n !isSvg\n ) {\n element[name] = value == null ? \"\" : value\n } else if (value != null && value !== false) {\n element.setAttribute(name, value)\n }\n\n if (value == null || value === false) {\n element.removeAttribute(name)\n }\n }\n }\n\n function createElement(node, isSvg) {\n var element =\n typeof node === \"string\" || typeof node === \"number\"\n ? document.createTextNode(node)\n : (isSvg = isSvg || node.nodeName === \"svg\")\n ? document.createElementNS(\n \"http://www.w3.org/2000/svg\",\n node.nodeName\n )\n : document.createElement(node.nodeName)\n\n var attributes = node.attributes\n if (attributes) {\n if (attributes.oncreate) {\n lifecycle.push(function() {\n attributes.oncreate(element)\n })\n }\n\n for (var i = 0; i < node.children.length; i++) {\n element.appendChild(\n createElement(\n (node.children[i] = resolveNode(node.children[i])),\n isSvg\n )\n )\n }\n\n for (var name in attributes) {\n updateAttribute(element, name, attributes[name], null, isSvg)\n }\n }\n\n return element\n }\n\n function updateElement(element, oldAttributes, attributes, isSvg) {\n for (var name in clone(oldAttributes, attributes)) {\n if (\n attributes[name] !==\n (name === \"value\" || name === \"checked\"\n ? element[name]\n : oldAttributes[name])\n ) {\n updateAttribute(\n element,\n name,\n attributes[name],\n oldAttributes[name],\n isSvg\n )\n }\n }\n\n var cb = isRecycling ? attributes.oncreate : attributes.onupdate\n if (cb) {\n lifecycle.push(function() {\n cb(element, oldAttributes)\n })\n }\n }\n\n function removeChildren(element, node) {\n var attributes = node.attributes\n if (attributes) {\n for (var i = 0; i < node.children.length; i++) {\n removeChildren(element.childNodes[i], node.children[i])\n }\n\n if (attributes.ondestroy) {\n attributes.ondestroy(element)\n }\n }\n return element\n }\n\n function removeElement(parent, element, node) {\n function done() {\n parent.removeChild(removeChildren(element, node))\n }\n\n var cb = node.attributes && node.attributes.onremove\n if (cb) {\n cb(element, done)\n } else {\n done()\n }\n }\n\n function patch(parent, element, oldNode, node, isSvg) {\n if (node === oldNode) {\n } else if (oldNode == null || oldNode.nodeName !== node.nodeName) {\n var newElement = createElement(node, isSvg)\n parent.insertBefore(newElement, element)\n\n if (oldNode != null) {\n removeElement(parent, element, oldNode)\n }\n\n element = newElement\n } else if (oldNode.nodeName == null) {\n element.nodeValue = node\n } else {\n updateElement(\n element,\n oldNode.attributes,\n node.attributes,\n (isSvg = isSvg || node.nodeName === \"svg\")\n )\n\n var oldKeyed = {}\n var newKeyed = {}\n var oldElements = []\n var oldChildren = oldNode.children\n var children = node.children\n\n for (var i = 0; i < oldChildren.length; i++) {\n oldElements[i] = element.childNodes[i]\n\n var oldKey = getKey(oldChildren[i])\n if (oldKey != null) {\n oldKeyed[oldKey] = [oldElements[i], oldChildren[i]]\n }\n }\n\n var i = 0\n var k = 0\n\n while (k < children.length) {\n var oldKey = getKey(oldChildren[i])\n var newKey = getKey((children[k] = resolveNode(children[k])))\n\n if (newKeyed[oldKey]) {\n i++\n continue\n }\n\n if (newKey != null && newKey === getKey(oldChildren[i + 1])) {\n if (oldKey == null) {\n removeElement(element, oldElements[i], oldChildren[i])\n }\n i++\n continue\n }\n\n if (newKey == null || isRecycling) {\n if (oldKey == null) {\n patch(element, oldElements[i], oldChildren[i], children[k], isSvg)\n k++\n }\n i++\n } else {\n var keyedNode = oldKeyed[newKey] || []\n\n if (oldKey === newKey) {\n patch(element, keyedNode[0], keyedNode[1], children[k], isSvg)\n i++\n } else if (keyedNode[0]) {\n patch(\n element,\n element.insertBefore(keyedNode[0], oldElements[i]),\n keyedNode[1],\n children[k],\n isSvg\n )\n } else {\n patch(element, oldElements[i], null, children[k], isSvg)\n }\n\n newKeyed[newKey] = children[k]\n k++\n }\n }\n\n while (i < oldChildren.length) {\n if (getKey(oldChildren[i]) == null) {\n removeElement(element, oldElements[i], oldChildren[i])\n }\n i++\n }\n\n for (var i in oldKeyed) {\n if (!newKeyed[i]) {\n removeElement(element, oldKeyed[i][0], oldKeyed[i][1])\n }\n }\n }\n return element\n }\n}\n","import { renderToString } from './index'\n\nexport { renderToString }\n\nexport function withRender(nextApp) {\n return (initialState, actionsTemplate, view, container) => {\n const actions = nextApp(\n initialState,\n { ...actionsTemplate, getState: () => (state) => state },\n view,\n container,\n )\n\n actions.toString = () => renderToString(view, actions.getState(), actions)\n\n return actions\n }\n}\n","const styleNameCache = new Map()\nconst uppercasePattern = /([A-Z])/g\nconst msPattern = /^ms-/\n\n// https://www.w3.org/TR/html/syntax.html#void-elements\nconst voidElements = new Set([\n 'area',\n 'base',\n 'br',\n 'col',\n 'embed',\n 'hr',\n 'img',\n 'input',\n 'link',\n 'meta',\n 'param',\n 'source',\n 'track',\n 'wbr',\n])\n\nconst ignoreAttributes = new Set([\n 'key',\n 'innerHTML',\n '__source', // https://babeljs.io/docs/plugins/transform-react-jsx-source/\n])\n\n// https://www.w3.org/International/questions/qa-escapes#use\nconst escapeRegExp = /[\"&'<>]/g\nconst escapeLookup = new Map([\n ['\"', '"'],\n ['&', '&'],\n [\"'\", '''], // shorter than \"'\" and \"'\" plus supports HTML4\n ['<', '<'],\n ['>', '>'],\n])\n\nfunction escaper(match) {\n return escapeLookup.get(match)\n}\n\nfunction escapeHtml(value) {\n if (typeof value === 'number') {\n // better performance for safe values\n return '' + value\n }\n\n return ('' + value).replace(escapeRegExp, escaper)\n}\n\n// \"backgroundColor\" => \"background-color\"\n// \"MozTransition\" => \"-moz-transition\"\n// \"msTransition\" => \"-ms-transition\"\nfunction hyphenateStyleName(styleName) {\n return (\n styleNameCache.get(styleName) ||\n styleNameCache\n .set(\n styleName,\n styleName\n .replace(uppercasePattern, '-$&')\n .toLowerCase()\n .replace(msPattern, '-ms-'),\n )\n .get(styleName)\n )\n}\n\nfunction stringifyStyles(styles) {\n let out = ''\n let delimiter = ''\n const styleNames = Object.keys(styles)\n\n for (let i = 0; i < styleNames.length; i++) {\n const styleName = styleNames[i]\n const styleValue = styles[styleName]\n\n if (styleValue != null) {\n if (styleName === 'cssText') {\n out += delimiter + styleValue\n } else {\n out += delimiter + hyphenateStyleName(styleName) + ':' + styleValue\n }\n\n delimiter = ';'\n }\n }\n\n return out || null\n}\n\n// https://www.w3.org/TR/html51/syntax.html#serializing-html-fragments\nfunction renderFragment({ nodeName, attributes, children }, stack) {\n let out = ''\n let footer = ''\n\n if (nodeName) {\n out += '<' + nodeName\n const keys = Object.keys(attributes)\n\n for (let i = 0; i < keys.length; i++) {\n const name = keys[i]\n let value = attributes[name]\n\n if (name === 'style' && value && typeof value === 'object') {\n value = stringifyStyles(value)\n }\n\n if (\n value != null &&\n value !== false &&\n typeof value !== 'function' &&\n !ignoreAttributes.has(name)\n ) {\n out += ' ' + name\n\n if (value !== true) {\n out += '=\"' + escapeHtml(value) + '\"'\n }\n }\n }\n\n if (voidElements.has(nodeName)) {\n out += '/>'\n } else {\n out += '>'\n footer = ''\n }\n }\n\n const { innerHTML } = attributes\n\n if (innerHTML != null) {\n out += innerHTML\n }\n\n if (children.length > 0) {\n stack.push({\n childIndex: 0,\n children,\n footer,\n })\n } else {\n out += footer\n }\n\n return out\n}\n\nfunction resolveNode(node, state, actions) {\n if (typeof node === 'function') {\n return resolveNode(node(state, actions), state, actions)\n }\n\n return node\n}\n\nexport function renderer(view, state, actions) {\n const stack = [\n {\n childIndex: 0,\n children: [view],\n footer: '',\n },\n ]\n let end = false\n return (bytes) => {\n if (end) {\n return null\n }\n\n let out = ''\n\n while (out.length < bytes) {\n if (stack.length === 0) {\n end = true\n break\n }\n\n const frame = stack[stack.length - 1]\n\n if (frame.childIndex >= frame.children.length) {\n out += frame.footer\n stack.pop()\n } else {\n const node = resolveNode(frame.children[frame.childIndex++], state, actions)\n\n if (node != null && typeof node !== 'boolean') {\n if (node.pop) {\n // array\n stack.push({\n childIndex: 0,\n children: node,\n footer: '',\n })\n } else if (node.attributes) {\n // element\n out += renderFragment(node, stack)\n } else {\n // text node\n out += escapeHtml(node)\n }\n }\n }\n }\n\n return out\n }\n}\n\nexport function renderToString(view, state, actions) {\n return renderer(view, state, actions)(Infinity)\n}\n","/*! Copyright Twitter Inc. and other contributors. Licensed under MIT */\nvar twemoji=function(){\"use strict\";var twemoji={base:\"https://twemoji.maxcdn.com/2/\",ext:\".png\",size:\"72x72\",className:\"emoji\",convert:{fromCodePoint:fromCodePoint,toCodePoint:toCodePoint},onerror:function onerror(){if(this.parentNode){this.parentNode.replaceChild(createText(this.alt,false),this)}},parse:parse,replace:replace,test:test},escaper={\"&\":\"&\",\"<\":\"<\",\">\":\">\",\"'\":\"'\",'\"':\""\"},re=/(?:\\ud83d[\\udc68\\udc69])(?:\\ud83c[\\udffb-\\udfff])?\\u200d(?:\\u2695\\ufe0f|\\u2696\\ufe0f|\\u2708\\ufe0f|\\ud83c[\\udf3e\\udf73\\udf93\\udfa4\\udfa8\\udfeb\\udfed]|\\ud83d[\\udcbb\\udcbc\\udd27\\udd2c\\ude80\\ude92]|\\ud83e[\\uddb0-\\uddb3])|(?:\\ud83c[\\udfcb\\udfcc]|\\ud83d[\\udd74\\udd75]|\\u26f9)((?:\\ud83c[\\udffb-\\udfff]|\\ufe0f)\\u200d[\\u2640\\u2642]\\ufe0f)|(?:\\ud83c[\\udfc3\\udfc4\\udfca]|\\ud83d[\\udc6e\\udc71\\udc73\\udc77\\udc81\\udc82\\udc86\\udc87\\ude45-\\ude47\\ude4b\\ude4d\\ude4e\\udea3\\udeb4-\\udeb6]|\\ud83e[\\udd26\\udd35\\udd37-\\udd39\\udd3d\\udd3e\\uddb8\\uddb9\\uddd6-\\udddd])(?:\\ud83c[\\udffb-\\udfff])?\\u200d[\\u2640\\u2642]\\ufe0f|(?:\\ud83d\\udc68\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc68|\\ud83d\\udc68\\u200d\\ud83d\\udc68\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc68\\u200d\\ud83d\\udc68\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc68\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d[\\udc68\\udc69]|\\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc68|\\ud83d\\udc68\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc68\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\ud83d\\udc68\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\ud83d\\udc69\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d[\\udc68\\udc69]|\\ud83d\\udc69\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d[\\udc66\\udc67]|\\ud83c\\udff3\\ufe0f\\u200d\\ud83c\\udf08|\\ud83c\\udff4\\u200d\\u2620\\ufe0f|\\ud83d\\udc41\\u200d\\ud83d\\udde8|\\ud83d\\udc68\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc6f\\u200d\\u2640\\ufe0f|\\ud83d\\udc6f\\u200d\\u2642\\ufe0f|\\ud83e\\udd3c\\u200d\\u2640\\ufe0f|\\ud83e\\udd3c\\u200d\\u2642\\ufe0f|\\ud83e\\uddde\\u200d\\u2640\\ufe0f|\\ud83e\\uddde\\u200d\\u2642\\ufe0f|\\ud83e\\udddf\\u200d\\u2640\\ufe0f|\\ud83e\\udddf\\u200d\\u2642\\ufe0f)|[\\u0023\\u002a\\u0030-\\u0039]\\ufe0f?\\u20e3|(?:[\\u00a9\\u00ae\\u2122\\u265f]\\ufe0f)|(?:\\ud83c[\\udc04\\udd70\\udd71\\udd7e\\udd7f\\ude02\\ude1a\\ude2f\\ude37\\udf21\\udf24-\\udf2c\\udf36\\udf7d\\udf96\\udf97\\udf99-\\udf9b\\udf9e\\udf9f\\udfcd\\udfce\\udfd4-\\udfdf\\udff3\\udff5\\udff7]|\\ud83d[\\udc3f\\udc41\\udcfd\\udd49\\udd4a\\udd6f\\udd70\\udd73\\udd76-\\udd79\\udd87\\udd8a-\\udd8d\\udda5\\udda8\\uddb1\\uddb2\\uddbc\\uddc2-\\uddc4\\uddd1-\\uddd3\\udddc-\\uddde\\udde1\\udde3\\udde8\\uddef\\uddf3\\uddfa\\udecb\\udecd-\\udecf\\udee0-\\udee5\\udee9\\udef0\\udef3]|[\\u203c\\u2049\\u2139\\u2194-\\u2199\\u21a9\\u21aa\\u231a\\u231b\\u2328\\u23cf\\u23ed-\\u23ef\\u23f1\\u23f2\\u23f8-\\u23fa\\u24c2\\u25aa\\u25ab\\u25b6\\u25c0\\u25fb-\\u25fe\\u2600-\\u2604\\u260e\\u2611\\u2614\\u2615\\u2618\\u2620\\u2622\\u2623\\u2626\\u262a\\u262e\\u262f\\u2638-\\u263a\\u2640\\u2642\\u2648-\\u2653\\u2660\\u2663\\u2665\\u2666\\u2668\\u267b\\u267f\\u2692-\\u2697\\u2699\\u269b\\u269c\\u26a0\\u26a1\\u26aa\\u26ab\\u26b0\\u26b1\\u26bd\\u26be\\u26c4\\u26c5\\u26c8\\u26cf\\u26d1\\u26d3\\u26d4\\u26e9\\u26ea\\u26f0-\\u26f5\\u26f8\\u26fa\\u26fd\\u2702\\u2708\\u2709\\u270f\\u2712\\u2714\\u2716\\u271d\\u2721\\u2733\\u2734\\u2744\\u2747\\u2757\\u2763\\u2764\\u27a1\\u2934\\u2935\\u2b05-\\u2b07\\u2b1b\\u2b1c\\u2b50\\u2b55\\u3030\\u303d\\u3297\\u3299])(?:\\ufe0f|(?!\\ufe0e))|(?:(?:\\ud83c[\\udfcb\\udfcc]|\\ud83d[\\udd74\\udd75\\udd90]|[\\u261d\\u26f7\\u26f9\\u270c\\u270d])(?:\\ufe0f|(?!\\ufe0e))|(?:\\ud83c[\\udf85\\udfc2-\\udfc4\\udfc7\\udfca]|\\ud83d[\\udc42\\udc43\\udc46-\\udc50\\udc66-\\udc69\\udc6e\\udc70-\\udc78\\udc7c\\udc81-\\udc83\\udc85-\\udc87\\udcaa\\udd7a\\udd95\\udd96\\ude45-\\ude47\\ude4b-\\ude4f\\udea3\\udeb4-\\udeb6\\udec0\\udecc]|\\ud83e[\\udd18-\\udd1c\\udd1e\\udd1f\\udd26\\udd30-\\udd39\\udd3d\\udd3e\\uddb5\\uddb6\\uddb8\\uddb9\\uddd1-\\udddd]|[\\u270a\\u270b]))(?:\\ud83c[\\udffb-\\udfff])?|(?:\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc65\\udb40\\udc6e\\udb40\\udc67\\udb40\\udc7f|\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc73\\udb40\\udc63\\udb40\\udc74\\udb40\\udc7f|\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc77\\udb40\\udc6c\\udb40\\udc73\\udb40\\udc7f|\\ud83c\\udde6\\ud83c[\\udde8-\\uddec\\uddee\\uddf1\\uddf2\\uddf4\\uddf6-\\uddfa\\uddfc\\uddfd\\uddff]|\\ud83c\\udde7\\ud83c[\\udde6\\udde7\\udde9-\\uddef\\uddf1-\\uddf4\\uddf6-\\uddf9\\uddfb\\uddfc\\uddfe\\uddff]|\\ud83c\\udde8\\ud83c[\\udde6\\udde8\\udde9\\uddeb-\\uddee\\uddf0-\\uddf5\\uddf7\\uddfa-\\uddff]|\\ud83c\\udde9\\ud83c[\\uddea\\uddec\\uddef\\uddf0\\uddf2\\uddf4\\uddff]|\\ud83c\\uddea\\ud83c[\\udde6\\udde8\\uddea\\uddec\\udded\\uddf7-\\uddfa]|\\ud83c\\uddeb\\ud83c[\\uddee-\\uddf0\\uddf2\\uddf4\\uddf7]|\\ud83c\\uddec\\ud83c[\\udde6\\udde7\\udde9-\\uddee\\uddf1-\\uddf3\\uddf5-\\uddfa\\uddfc\\uddfe]|\\ud83c\\udded\\ud83c[\\uddf0\\uddf2\\uddf3\\uddf7\\uddf9\\uddfa]|\\ud83c\\uddee\\ud83c[\\udde8-\\uddea\\uddf1-\\uddf4\\uddf6-\\uddf9]|\\ud83c\\uddef\\ud83c[\\uddea\\uddf2\\uddf4\\uddf5]|\\ud83c\\uddf0\\ud83c[\\uddea\\uddec-\\uddee\\uddf2\\uddf3\\uddf5\\uddf7\\uddfc\\uddfe\\uddff]|\\ud83c\\uddf1\\ud83c[\\udde6-\\udde8\\uddee\\uddf0\\uddf7-\\uddfb\\uddfe]|\\ud83c\\uddf2\\ud83c[\\udde6\\udde8-\\udded\\uddf0-\\uddff]|\\ud83c\\uddf3\\ud83c[\\udde6\\udde8\\uddea-\\uddec\\uddee\\uddf1\\uddf4\\uddf5\\uddf7\\uddfa\\uddff]|\\ud83c\\uddf4\\ud83c\\uddf2|\\ud83c\\uddf5\\ud83c[\\udde6\\uddea-\\udded\\uddf0-\\uddf3\\uddf7-\\uddf9\\uddfc\\uddfe]|\\ud83c\\uddf6\\ud83c\\udde6|\\ud83c\\uddf7\\ud83c[\\uddea\\uddf4\\uddf8\\uddfa\\uddfc]|\\ud83c\\uddf8\\ud83c[\\udde6-\\uddea\\uddec-\\uddf4\\uddf7-\\uddf9\\uddfb\\uddfd-\\uddff]|\\ud83c\\uddf9\\ud83c[\\udde6\\udde8\\udde9\\uddeb-\\udded\\uddef-\\uddf4\\uddf7\\uddf9\\uddfb\\uddfc\\uddff]|\\ud83c\\uddfa\\ud83c[\\udde6\\uddec\\uddf2\\uddf3\\uddf8\\uddfe\\uddff]|\\ud83c\\uddfb\\ud83c[\\udde6\\udde8\\uddea\\uddec\\uddee\\uddf3\\uddfa]|\\ud83c\\uddfc\\ud83c[\\uddeb\\uddf8]|\\ud83c\\uddfd\\ud83c\\uddf0|\\ud83c\\uddfe\\ud83c[\\uddea\\uddf9]|\\ud83c\\uddff\\ud83c[\\udde6\\uddf2\\uddfc]|\\ud83c[\\udccf\\udd8e\\udd91-\\udd9a\\udde6-\\uddff\\ude01\\ude32-\\ude36\\ude38-\\ude3a\\ude50\\ude51\\udf00-\\udf20\\udf2d-\\udf35\\udf37-\\udf7c\\udf7e-\\udf84\\udf86-\\udf93\\udfa0-\\udfc1\\udfc5\\udfc6\\udfc8\\udfc9\\udfcf-\\udfd3\\udfe0-\\udff0\\udff4\\udff8-\\udfff]|\\ud83d[\\udc00-\\udc3e\\udc40\\udc44\\udc45\\udc51-\\udc65\\udc6a-\\udc6d\\udc6f\\udc79-\\udc7b\\udc7d-\\udc80\\udc84\\udc88-\\udca9\\udcab-\\udcfc\\udcff-\\udd3d\\udd4b-\\udd4e\\udd50-\\udd67\\udda4\\uddfb-\\ude44\\ude48-\\ude4a\\ude80-\\udea2\\udea4-\\udeb3\\udeb7-\\udebf\\udec1-\\udec5\\uded0-\\uded2\\udeeb\\udeec\\udef4-\\udef9]|\\ud83e[\\udd10-\\udd17\\udd1d\\udd20-\\udd25\\udd27-\\udd2f\\udd3a\\udd3c\\udd40-\\udd45\\udd47-\\udd70\\udd73-\\udd76\\udd7a\\udd7c-\\udda2\\uddb4\\uddb7\\uddc0-\\uddc2\\uddd0\\uddde-\\uddff]|[\\u23e9-\\u23ec\\u23f0\\u23f3\\u267e\\u26ce\\u2705\\u2728\\u274c\\u274e\\u2753-\\u2755\\u2795-\\u2797\\u27b0\\u27bf\\ue50a])|\\ufe0f/g,UFE0Fg=/\\uFE0F/g,U200D=String.fromCharCode(8205),rescaper=/[&<>'\"]/g,shouldntBeParsed=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,fromCharCode=String.fromCharCode;return twemoji;function createText(text,clean){return document.createTextNode(clean?text.replace(UFE0Fg,\"\"):text)}function escapeHTML(s){return s.replace(rescaper,replacer)}function defaultImageSrcGenerator(icon,options){return\"\".concat(options.base,options.size,\"/\",icon,options.ext)}function grabAllTextNodes(node,allText){var childNodes=node.childNodes,length=childNodes.length,subnode,nodeType;while(length--){subnode=childNodes[length];nodeType=subnode.nodeType;if(nodeType===3){allText.push(subnode)}else if(nodeType===1&&!(\"ownerSVGElement\"in subnode)&&!shouldntBeParsed.test(subnode.nodeName.toLowerCase())){grabAllTextNodes(subnode,allText)}}return allText}function grabTheRightIcon(rawText){return toCodePoint(rawText.indexOf(U200D)<0?rawText.replace(UFE0Fg,\"\"):rawText)}function parseNode(node,options){var allText=grabAllTextNodes(node,[]),length=allText.length,attrib,attrname,modified,fragment,subnode,text,match,i,index,img,rawText,iconId,src;while(length--){modified=false;fragment=document.createDocumentFragment();subnode=allText[length];text=subnode.nodeValue;i=0;while(match=re.exec(text)){index=match.index;if(index!==i){fragment.appendChild(createText(text.slice(i,index),true))}rawText=match[0];iconId=grabTheRightIcon(rawText);i=index+rawText.length;src=options.callback(iconId,options);if(iconId&&src){img=new Image;img.onerror=options.onerror;img.setAttribute(\"draggable\",\"false\");attrib=options.attributes(rawText,iconId);for(attrname in attrib){if(attrib.hasOwnProperty(attrname)&&attrname.indexOf(\"on\")!==0&&!img.hasAttribute(attrname)){img.setAttribute(attrname,attrib[attrname])}}img.className=options.className;img.alt=rawText;img.src=src;modified=true;fragment.appendChild(img)}if(!img)fragment.appendChild(createText(rawText,false));img=null}if(modified){if(i\")}return ret})}function replacer(m){return escaper[m]}function returnNull(){return null}function toSizeSquaredAsset(value){return typeof value===\"number\"?value+\"x\"+value:value}function fromCodePoint(codepoint){var code=typeof codepoint===\"string\"?parseInt(codepoint,16):codepoint;if(code<65536){return fromCharCode(code)}code-=65536;return fromCharCode(55296+(code>>10),56320+(code&1023))}function parse(what,how){if(!how||typeof how===\"function\"){how={callback:how}}return(typeof what===\"string\"?parseString:parseNode)(what,{callback:how.callback||defaultImageSrcGenerator,attributes:typeof how.attributes===\"function\"?how.attributes:returnNull,base:typeof how.base===\"string\"?how.base:twemoji.base,ext:how.ext||twemoji.ext,size:how.folder||toSizeSquaredAsset(how.size||twemoji.size),className:how.className||twemoji.className,onerror:how.onerror||twemoji.onerror})}function replace(text,callback){return String(text).replace(re,callback)}function test(text){re.lastIndex=0;var result=re.test(text);re.lastIndex=0;return result}function toCodePoint(unicodeSurrogates,sep){var r=[],c=0,p=0,i=0;while(i {\n const output = './docs/index.html'\n if (!isBrowser && typeof nodeRequire !== 'undefined') {\n try {\n const fs = nodeRequire('fs')\n const html = fs.readFileSync(output, 'utf8')\n fs.writeFileSync(output, html.replace(tag, tag + main))\n } catch (e) {}\n }\n}\n\nexport const snippet = name => `./website/snippets/${name}`\n\nexport const getEmojiSrc = char => {\n if (isBrowser) {\n const wrapper = document.createElement('div')\n wrapper.innerHTML = twemoji.parse(char, {\n folder: 'svg',\n ext: '.svg'\n })\n return wrapper.firstElementChild.src\n }\n}\n\nexport const toKebabCase = str =>\n str &&\n str\n .match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)\n .map(x => x.toLowerCase())\n .join('-')\n","export default {\n ajax: {\n imageSrc: '',\n isLoading: false,\n error: false,\n canFetch: true\n },\n performance: {\n inputValue: 0,\n numberOfElements: 0\n }\n}\n","export default {\n ajax: {\n onShow: () => (state, actions) => {\n if (state.isFetching || !state.canFetch) return\n\n fetch('https://unsplash.it/200/?random')\n .then(response => response.blob())\n .then(actions.onDataReceived)\n .catch(actions.errored)\n\n return {\n error: false,\n isFetching: true,\n canFetch: false\n }\n },\n\n onDataReceived: blob => state => {\n if (state.imageSrc === '') {\n return { imageSrc: URL.createObjectURL(blob) }\n }\n },\n\n onHidden: () => ({\n error: false,\n imageSrc: '',\n isFetching: false,\n canFetch: true\n }),\n\n errored: () => ({ error: true, imageSrc: '' })\n },\n\n performance: {\n test: () => state => ({ numberOfElements: state.inputValue }),\n setInputValue: event => ({ inputValue: +event.target.value })\n }\n}\n",null,"import { h } from 'hyperapp'\nimport { getEmojiSrc } from '../utils'\n\nconst Sizes = {\n large: '75px',\n medium: '40px',\n small: '25px'\n}\n\nexport default ({ size, ...props }, [char]) => (\n \n \n \n)\n","import { version } from '../../package.json'\nimport { Defaults, setDefaults } from './defaults'\nimport { isBrowser } from './browser'\nimport createTippy from './createTippy'\nimport bindGlobalEventListeners from './bindGlobalEventListeners'\nimport {\n isPlainObject,\n polyfillVirtualReferenceProps,\n getArrayOfElements,\n toArray,\n hideAllPoppers,\n validateOptions\n} from './utils'\n\nlet eventListenersBound = false\n\nexport default function tippy(targets, options, one) {\n validateOptions(options, Defaults)\n\n if (!eventListenersBound) {\n bindGlobalEventListeners()\n eventListenersBound = true\n }\n\n const props = { ...Defaults, ...options }\n\n /**\n * If they are specifying a virtual positioning reference, we need to polyfill\n * some native DOM props\n */\n if (isPlainObject(targets)) {\n polyfillVirtualReferenceProps(targets)\n }\n\n const references = getArrayOfElements(targets)\n const firstReference = references[0]\n\n const instances = (one && firstReference\n ? [firstReference]\n : references\n ).reduce((acc, reference) => {\n const tip = reference && createTippy(reference, props)\n if (tip) {\n acc.push(tip)\n }\n return acc\n }, [])\n\n return {\n targets,\n props,\n instances,\n destroyAll() {\n this.instances.forEach(instance => {\n instance.destroy()\n })\n this.instances = []\n }\n }\n}\n\n/**\n * Static props\n */\ntippy.version = version\ntippy.defaults = Defaults\n\n/**\n * Static methods\n */\ntippy.one = (targets, options) => tippy(targets, options, true).instances[0]\ntippy.setDefaults = partialDefaults => {\n setDefaults(partialDefaults)\n tippy.defaults = Defaults\n}\ntippy.disableAnimations = () => {\n tippy.setDefaults({\n duration: 0,\n updateDuration: 0,\n animateFill: false\n })\n}\ntippy.hideAllPoppers = hideAllPoppers\n// noop: deprecated static method as capture phase is now default\ntippy.useCapture = () => {}\n\n/**\n * Auto-init tooltips for elements with a `data-tippy=\"...\"` attribute\n */\nexport const autoInit = () => {\n toArray(document.querySelectorAll('[data-tippy]')).forEach(el => {\n const content = el.getAttribute('data-tippy')\n if (content) {\n tippy(el, { content })\n }\n })\n}\nif (isBrowser) {\n setTimeout(autoInit)\n}\n","/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.14.5\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nvar longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\nvar timeoutDuration = 0;\nfor (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n timeoutDuration = 1;\n break;\n }\n}\n\nfunction microtaskDebounce(fn) {\n var called = false;\n return function () {\n if (called) {\n return;\n }\n called = true;\n window.Promise.resolve().then(function () {\n called = false;\n fn();\n });\n };\n}\n\nfunction taskDebounce(fn) {\n var scheduled = false;\n return function () {\n if (!scheduled) {\n scheduled = true;\n setTimeout(function () {\n scheduled = false;\n fn();\n }, timeoutDuration);\n }\n };\n}\n\nvar supportsMicroTasks = isBrowser && window.Promise;\n\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\nvar debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;\n\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nfunction isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n\n/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nfunction getStyleComputedProperty(element, property) {\n if (element.nodeType !== 1) {\n return [];\n }\n // NOTE: 1 DOM access here\n var window = element.ownerDocument.defaultView;\n var css = window.getComputedStyle(element, null);\n return property ? css[property] : css;\n}\n\n/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\nfunction getParentNode(element) {\n if (element.nodeName === 'HTML') {\n return element;\n }\n return element.parentNode || element.host;\n}\n\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\nfunction getScrollParent(element) {\n // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n if (!element) {\n return document.body;\n }\n\n switch (element.nodeName) {\n case 'HTML':\n case 'BODY':\n return element.ownerDocument.body;\n case '#document':\n return element.body;\n }\n\n // Firefox want us to check `-x` and `-y` variations as well\n\n var _getStyleComputedProp = getStyleComputedProperty(element),\n overflow = _getStyleComputedProp.overflow,\n overflowX = _getStyleComputedProp.overflowX,\n overflowY = _getStyleComputedProp.overflowY;\n\n if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n return element;\n }\n\n return getScrollParent(getParentNode(element));\n}\n\nvar isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nvar isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nfunction isIE(version) {\n if (version === 11) {\n return isIE11;\n }\n if (version === 10) {\n return isIE10;\n }\n return isIE11 || isIE10;\n}\n\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\nfunction getOffsetParent(element) {\n if (!element) {\n return document.documentElement;\n }\n\n var noOffsetParent = isIE(10) ? document.body : null;\n\n // NOTE: 1 DOM access here\n var offsetParent = element.offsetParent || null;\n // Skip hidden elements which don't have an offsetParent\n while (offsetParent === noOffsetParent && element.nextElementSibling) {\n offsetParent = (element = element.nextElementSibling).offsetParent;\n }\n\n var nodeName = offsetParent && offsetParent.nodeName;\n\n if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n return element ? element.ownerDocument.documentElement : document.documentElement;\n }\n\n // .offsetParent will return the closest TH, TD or TABLE in case\n // no offsetParent is present, I hate this job...\n if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {\n return getOffsetParent(offsetParent);\n }\n\n return offsetParent;\n}\n\nfunction isOffsetContainer(element) {\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY') {\n return false;\n }\n return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;\n}\n\n/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\nfunction getRoot(node) {\n if (node.parentNode !== null) {\n return getRoot(node.parentNode);\n }\n\n return node;\n}\n\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\nfunction findCommonOffsetParent(element1, element2) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n return document.documentElement;\n }\n\n // Here we make sure to give as \"start\" the element that comes first in the DOM\n var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;\n var start = order ? element1 : element2;\n var end = order ? element2 : element1;\n\n // Get common ancestor container\n var range = document.createRange();\n range.setStart(start, 0);\n range.setEnd(end, 0);\n var commonAncestorContainer = range.commonAncestorContainer;\n\n // Both nodes are inside #document\n\n if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {\n if (isOffsetContainer(commonAncestorContainer)) {\n return commonAncestorContainer;\n }\n\n return getOffsetParent(commonAncestorContainer);\n }\n\n // one of the nodes is inside shadowDOM, find which one\n var element1root = getRoot(element1);\n if (element1root.host) {\n return findCommonOffsetParent(element1root.host, element2);\n } else {\n return findCommonOffsetParent(element1, getRoot(element2).host);\n }\n}\n\n/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\nfunction getScroll(element) {\n var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';\n\n var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n var html = element.ownerDocument.documentElement;\n var scrollingElement = element.ownerDocument.scrollingElement || html;\n return scrollingElement[upperSide];\n }\n\n return element[upperSide];\n}\n\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\nfunction includeScroll(rect, element) {\n var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n var modifier = subtract ? -1 : 1;\n rect.top += scrollTop * modifier;\n rect.bottom += scrollTop * modifier;\n rect.left += scrollLeft * modifier;\n rect.right += scrollLeft * modifier;\n return rect;\n}\n\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nfunction getBordersSize(styles, axis) {\n var sideA = axis === 'x' ? 'Left' : 'Top';\n var sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10);\n}\n\nfunction getSize(axis, body, html, computedStyle) {\n return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);\n}\n\nfunction getWindowSizes(document) {\n var body = document.body;\n var html = document.documentElement;\n var computedStyle = isIE(10) && getComputedStyle(html);\n\n return {\n height: getSize('Height', body, html, computedStyle),\n width: getSize('Width', body, html, computedStyle)\n };\n}\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n\n\n\n\nvar defineProperty = function (obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\n/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nfunction getClientRect(offsets) {\n return _extends({}, offsets, {\n right: offsets.left + offsets.width,\n bottom: offsets.top + offsets.height\n });\n}\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nfunction getBoundingClientRect(element) {\n var rect = {};\n\n // IE10 10 FIX: Please, don't ask, the element isn't\n // considered in DOM in some circumstances...\n // This isn't reproducible in IE10 compatibility mode of IE11\n try {\n if (isIE(10)) {\n rect = element.getBoundingClientRect();\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n rect.top += scrollTop;\n rect.left += scrollLeft;\n rect.bottom += scrollTop;\n rect.right += scrollLeft;\n } else {\n rect = element.getBoundingClientRect();\n }\n } catch (e) {}\n\n var result = {\n left: rect.left,\n top: rect.top,\n width: rect.right - rect.left,\n height: rect.bottom - rect.top\n };\n\n // subtract scrollbar size from sizes\n var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n var width = sizes.width || element.clientWidth || result.right - result.left;\n var height = sizes.height || element.clientHeight || result.bottom - result.top;\n\n var horizScrollbar = element.offsetWidth - width;\n var vertScrollbar = element.offsetHeight - height;\n\n // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n // we make this check conditional for performance reasons\n if (horizScrollbar || vertScrollbar) {\n var styles = getStyleComputedProperty(element);\n horizScrollbar -= getBordersSize(styles, 'x');\n vertScrollbar -= getBordersSize(styles, 'y');\n\n result.width -= horizScrollbar;\n result.height -= vertScrollbar;\n }\n\n return getClientRect(result);\n}\n\nfunction getOffsetRectRelativeToArbitraryNode(children, parent) {\n var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var isIE10 = isIE(10);\n var isHTML = parent.nodeName === 'HTML';\n var childrenRect = getBoundingClientRect(children);\n var parentRect = getBoundingClientRect(parent);\n var scrollParent = getScrollParent(children);\n\n var styles = getStyleComputedProperty(parent);\n var borderTopWidth = parseFloat(styles.borderTopWidth, 10);\n var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10);\n\n // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n if (fixedPosition && isHTML) {\n parentRect.top = Math.max(parentRect.top, 0);\n parentRect.left = Math.max(parentRect.left, 0);\n }\n var offsets = getClientRect({\n top: childrenRect.top - parentRect.top - borderTopWidth,\n left: childrenRect.left - parentRect.left - borderLeftWidth,\n width: childrenRect.width,\n height: childrenRect.height\n });\n offsets.marginTop = 0;\n offsets.marginLeft = 0;\n\n // Subtract margins of documentElement in case it's being used as parent\n // we do this only on HTML because it's the only element that behaves\n // differently when margins are applied to it. The margins are included in\n // the box of the documentElement, in the other cases not.\n if (!isIE10 && isHTML) {\n var marginTop = parseFloat(styles.marginTop, 10);\n var marginLeft = parseFloat(styles.marginLeft, 10);\n\n offsets.top -= borderTopWidth - marginTop;\n offsets.bottom -= borderTopWidth - marginTop;\n offsets.left -= borderLeftWidth - marginLeft;\n offsets.right -= borderLeftWidth - marginLeft;\n\n // Attach marginTop and marginLeft because in some circumstances we may need them\n offsets.marginTop = marginTop;\n offsets.marginLeft = marginLeft;\n }\n\n if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {\n offsets = includeScroll(offsets, parent);\n }\n\n return offsets;\n}\n\nfunction getViewportOffsetRectRelativeToArtbitraryNode(element) {\n var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var html = element.ownerDocument.documentElement;\n var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n var width = Math.max(html.clientWidth, window.innerWidth || 0);\n var height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n var scrollTop = !excludeScroll ? getScroll(html) : 0;\n var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n var offset = {\n top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n width: width,\n height: height\n };\n\n return getClientRect(offset);\n}\n\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\nfunction isFixed(element) {\n var nodeName = element.nodeName;\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n return false;\n }\n if (getStyleComputedProperty(element, 'position') === 'fixed') {\n return true;\n }\n return isFixed(getParentNode(element));\n}\n\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\nfunction getFixedPositionOffsetParent(element) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element || !element.parentElement || isIE()) {\n return document.documentElement;\n }\n var el = element.parentElement;\n while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n el = el.parentElement;\n }\n return el || document.documentElement;\n}\n\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\nfunction getBoundaries(popper, reference, padding, boundariesElement) {\n var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n // NOTE: 1 DOM access here\n\n var boundaries = { top: 0, left: 0 };\n var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);\n\n // Handle viewport case\n if (boundariesElement === 'viewport') {\n boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n } else {\n // Handle other cases based on DOM element used as boundaries\n var boundariesNode = void 0;\n if (boundariesElement === 'scrollParent') {\n boundariesNode = getScrollParent(getParentNode(reference));\n if (boundariesNode.nodeName === 'BODY') {\n boundariesNode = popper.ownerDocument.documentElement;\n }\n } else if (boundariesElement === 'window') {\n boundariesNode = popper.ownerDocument.documentElement;\n } else {\n boundariesNode = boundariesElement;\n }\n\n var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);\n\n // In case of HTML, we need a different computation\n if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n var _getWindowSizes = getWindowSizes(popper.ownerDocument),\n height = _getWindowSizes.height,\n width = _getWindowSizes.width;\n\n boundaries.top += offsets.top - offsets.marginTop;\n boundaries.bottom = height + offsets.top;\n boundaries.left += offsets.left - offsets.marginLeft;\n boundaries.right = width + offsets.left;\n } else {\n // for all the other DOM elements, this one is good\n boundaries = offsets;\n }\n }\n\n // Add paddings\n padding = padding || 0;\n var isPaddingNumber = typeof padding === 'number';\n boundaries.left += isPaddingNumber ? padding : padding.left || 0;\n boundaries.top += isPaddingNumber ? padding : padding.top || 0;\n boundaries.right -= isPaddingNumber ? padding : padding.right || 0;\n boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;\n\n return boundaries;\n}\n\nfunction getArea(_ref) {\n var width = _ref.width,\n height = _ref.height;\n\n return width * height;\n}\n\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {\n var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n\n if (placement.indexOf('auto') === -1) {\n return placement;\n }\n\n var boundaries = getBoundaries(popper, reference, padding, boundariesElement);\n\n var rects = {\n top: {\n width: boundaries.width,\n height: refRect.top - boundaries.top\n },\n right: {\n width: boundaries.right - refRect.right,\n height: boundaries.height\n },\n bottom: {\n width: boundaries.width,\n height: boundaries.bottom - refRect.bottom\n },\n left: {\n width: refRect.left - boundaries.left,\n height: boundaries.height\n }\n };\n\n var sortedAreas = Object.keys(rects).map(function (key) {\n return _extends({\n key: key\n }, rects[key], {\n area: getArea(rects[key])\n });\n }).sort(function (a, b) {\n return b.area - a.area;\n });\n\n var filteredAreas = sortedAreas.filter(function (_ref2) {\n var width = _ref2.width,\n height = _ref2.height;\n return width >= popper.clientWidth && height >= popper.clientHeight;\n });\n\n var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;\n\n var variation = placement.split('-')[1];\n\n return computedPlacement + (variation ? '-' + variation : '');\n}\n\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\nfunction getReferenceOffsets(state, popper, reference) {\n var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);\n return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nfunction getOuterSizes(element) {\n var window = element.ownerDocument.defaultView;\n var styles = window.getComputedStyle(element);\n var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom);\n var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight);\n var result = {\n width: element.offsetWidth + y,\n height: element.offsetHeight + x\n };\n return result;\n}\n\n/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\nfunction getOppositePlacement(placement) {\n var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}\n\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\nfunction getPopperOffsets(popper, referenceOffsets, placement) {\n placement = placement.split('-')[0];\n\n // Get popper node sizes\n var popperRect = getOuterSizes(popper);\n\n // Add position, width and height to our offsets object\n var popperOffsets = {\n width: popperRect.width,\n height: popperRect.height\n };\n\n // depending by the popper placement we have to compute its offsets slightly differently\n var isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n var mainSide = isHoriz ? 'top' : 'left';\n var secondarySide = isHoriz ? 'left' : 'top';\n var measurement = isHoriz ? 'height' : 'width';\n var secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;\n if (placement === secondarySide) {\n popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n } else {\n popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];\n }\n\n return popperOffsets;\n}\n\n/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction find(arr, check) {\n // use native find if supported\n if (Array.prototype.find) {\n return arr.find(check);\n }\n\n // use `filter` to obtain the same behavior of `find`\n return arr.filter(check)[0];\n}\n\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction findIndex(arr, prop, value) {\n // use native findIndex if supported\n if (Array.prototype.findIndex) {\n return arr.findIndex(function (cur) {\n return cur[prop] === value;\n });\n }\n\n // use `find` + `indexOf` if `findIndex` isn't supported\n var match = find(arr, function (obj) {\n return obj[prop] === value;\n });\n return arr.indexOf(match);\n}\n\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\nfunction runModifiers(modifiers, data, ends) {\n var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n modifiersToRun.forEach(function (modifier) {\n if (modifier['function']) {\n // eslint-disable-line dot-notation\n console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n }\n var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n if (modifier.enabled && isFunction(fn)) {\n // Add properties to offsets to make them a complete clientRect object\n // we do this before each modifier to make sure the previous one doesn't\n // mess with these values\n data.offsets.popper = getClientRect(data.offsets.popper);\n data.offsets.reference = getClientRect(data.offsets.reference);\n\n data = fn(data, modifier);\n }\n });\n\n return data;\n}\n\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style.
\n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\nfunction update() {\n // if popper is destroyed, don't perform any further update\n if (this.state.isDestroyed) {\n return;\n }\n\n var data = {\n instance: this,\n styles: {},\n arrowStyles: {},\n attributes: {},\n flipped: false,\n offsets: {}\n };\n\n // compute reference element offsets\n data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);\n\n // store the computed placement inside `originalPlacement`\n data.originalPlacement = data.placement;\n\n data.positionFixed = this.options.positionFixed;\n\n // compute the popper offsets\n data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);\n\n data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';\n\n // run the modifiers\n data = runModifiers(this.modifiers, data);\n\n // the first `update` will call `onCreate` callback\n // the other ones will call `onUpdate` callback\n if (!this.state.isCreated) {\n this.state.isCreated = true;\n this.options.onCreate(data);\n } else {\n this.options.onUpdate(data);\n }\n}\n\n/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nfunction isModifierEnabled(modifiers, modifierName) {\n return modifiers.some(function (_ref) {\n var name = _ref.name,\n enabled = _ref.enabled;\n return enabled && name === modifierName;\n });\n}\n\n/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\nfunction getSupportedPropertyName(property) {\n var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n var upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n for (var i = 0; i < prefixes.length; i++) {\n var prefix = prefixes[i];\n var toCheck = prefix ? '' + prefix + upperProp : property;\n if (typeof document.body.style[toCheck] !== 'undefined') {\n return toCheck;\n }\n }\n return null;\n}\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nfunction destroy() {\n this.state.isDestroyed = true;\n\n // touch DOM only if `applyStyle` modifier is enabled\n if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n this.popper.removeAttribute('x-placement');\n this.popper.style.position = '';\n this.popper.style.top = '';\n this.popper.style.left = '';\n this.popper.style.right = '';\n this.popper.style.bottom = '';\n this.popper.style.willChange = '';\n this.popper.style[getSupportedPropertyName('transform')] = '';\n }\n\n this.disableEventListeners();\n\n // remove the popper if user explicity asked for the deletion on destroy\n // do not use `remove` because IE11 doesn't support it\n if (this.options.removeOnDestroy) {\n this.popper.parentNode.removeChild(this.popper);\n }\n return this;\n}\n\n/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nfunction getWindow(element) {\n var ownerDocument = element.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView : window;\n}\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n var isBody = scrollParent.nodeName === 'BODY';\n var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n target.addEventListener(event, callback, { passive: true });\n\n if (!isBody) {\n attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);\n }\n scrollParents.push(target);\n}\n\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction setupEventListeners(reference, options, state, updateBound) {\n // Resize event listener on window\n state.updateBound = updateBound;\n getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });\n\n // Scroll event listener on scroll parents\n var scrollElement = getScrollParent(reference);\n attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);\n state.scrollElement = scrollElement;\n state.eventsEnabled = true;\n\n return state;\n}\n\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\nfunction enableEventListeners() {\n if (!this.state.eventsEnabled) {\n this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);\n }\n}\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction removeEventListeners(reference, state) {\n // Remove resize event listener on window\n getWindow(reference).removeEventListener('resize', state.updateBound);\n\n // Remove scroll event listener on scroll parents\n state.scrollParents.forEach(function (target) {\n target.removeEventListener('scroll', state.updateBound);\n });\n\n // Reset state\n state.updateBound = null;\n state.scrollParents = [];\n state.scrollElement = null;\n state.eventsEnabled = false;\n return state;\n}\n\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\nfunction disableEventListeners() {\n if (this.state.eventsEnabled) {\n cancelAnimationFrame(this.scheduleUpdate);\n this.state = removeEventListeners(this.reference, this.state);\n }\n}\n\n/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nfunction isNumeric(n) {\n return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setStyles(element, styles) {\n Object.keys(styles).forEach(function (prop) {\n var unit = '';\n // add unit if the value is numeric and is one of the following\n if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {\n unit = 'px';\n }\n element.style[prop] = styles[prop] + unit;\n });\n}\n\n/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setAttributes(element, attributes) {\n Object.keys(attributes).forEach(function (prop) {\n var value = attributes[prop];\n if (value !== false) {\n element.setAttribute(prop, attributes[prop]);\n } else {\n element.removeAttribute(prop);\n }\n });\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\nfunction applyStyle(data) {\n // any property present in `data.styles` will be applied to the popper,\n // in this way we can make the 3rd party modifiers add custom styles to it\n // Be aware, modifiers could override the properties defined in the previous\n // lines of this modifier!\n setStyles(data.instance.popper, data.styles);\n\n // any property present in `data.attributes` will be applied to the popper,\n // they will be set as HTML attributes of the element\n setAttributes(data.instance.popper, data.attributes);\n\n // if arrowElement is defined and arrowStyles has some properties\n if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n setStyles(data.arrowElement, data.arrowStyles);\n }\n\n return data;\n}\n\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\nfunction applyStyleOnLoad(reference, popper, options, modifierOptions, state) {\n // compute reference element offsets\n var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);\n\n popper.setAttribute('x-placement', placement);\n\n // Apply `position` to popper before anything else because\n // without the position applied we can't guarantee correct computations\n setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });\n\n return options;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeStyle(data, options) {\n var x = options.x,\n y = options.y;\n var popper = data.offsets.popper;\n\n // Remove this legacy support in Popper.js v2\n\n var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'applyStyle';\n }).gpuAcceleration;\n if (legacyGpuAccelerationOption !== undefined) {\n console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');\n }\n var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;\n\n var offsetParent = getOffsetParent(data.instance.popper);\n var offsetParentRect = getBoundingClientRect(offsetParent);\n\n // Styles\n var styles = {\n position: popper.position\n };\n\n // Avoid blurry text by using full pixel integers.\n // For pixel-perfect positioning, top/bottom prefers rounded\n // values, while left/right prefers floored values.\n var offsets = {\n left: Math.floor(popper.left),\n top: Math.round(popper.top),\n bottom: Math.round(popper.bottom),\n right: Math.floor(popper.right)\n };\n\n var sideA = x === 'bottom' ? 'top' : 'bottom';\n var sideB = y === 'right' ? 'left' : 'right';\n\n // if gpuAcceleration is set to `true` and transform is supported,\n // we use `translate3d` to apply the position to the popper we\n // automatically use the supported prefixed version if needed\n var prefixedProperty = getSupportedPropertyName('transform');\n\n // now, let's make a step back and look at this code closely (wtf?)\n // If the content of the popper grows once it's been positioned, it\n // may happen that the popper gets misplaced because of the new content\n // overflowing its reference element\n // To avoid this problem, we provide two options (x and y), which allow\n // the consumer to define the offset origin.\n // If we position a popper on top of a reference element, we can set\n // `x` to `top` to make the popper grow towards its top instead of\n // its bottom.\n var left = void 0,\n top = void 0;\n if (sideA === 'bottom') {\n // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar)\n // and not the bottom of the html element\n if (offsetParent.nodeName === 'HTML') {\n top = -offsetParent.clientHeight + offsets.bottom;\n } else {\n top = -offsetParentRect.height + offsets.bottom;\n }\n } else {\n top = offsets.top;\n }\n if (sideB === 'right') {\n if (offsetParent.nodeName === 'HTML') {\n left = -offsetParent.clientWidth + offsets.right;\n } else {\n left = -offsetParentRect.width + offsets.right;\n }\n } else {\n left = offsets.left;\n }\n if (gpuAcceleration && prefixedProperty) {\n styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n styles[sideA] = 0;\n styles[sideB] = 0;\n styles.willChange = 'transform';\n } else {\n // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n var invertTop = sideA === 'bottom' ? -1 : 1;\n var invertLeft = sideB === 'right' ? -1 : 1;\n styles[sideA] = top * invertTop;\n styles[sideB] = left * invertLeft;\n styles.willChange = sideA + ', ' + sideB;\n }\n\n // Attributes\n var attributes = {\n 'x-placement': data.placement\n };\n\n // Update `data` attributes, styles and arrowStyles\n data.attributes = _extends({}, attributes, data.attributes);\n data.styles = _extends({}, styles, data.styles);\n data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);\n\n return data;\n}\n\n/**\n * Helper used to know if the given modifier depends from another one.
\n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\nfunction isModifierRequired(modifiers, requestingName, requestedName) {\n var requesting = find(modifiers, function (_ref) {\n var name = _ref.name;\n return name === requestingName;\n });\n\n var isRequired = !!requesting && modifiers.some(function (modifier) {\n return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;\n });\n\n if (!isRequired) {\n var _requesting = '`' + requestingName + '`';\n var requested = '`' + requestedName + '`';\n console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');\n }\n return isRequired;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction arrow(data, options) {\n var _data$offsets$arrow;\n\n // arrow depends on keepTogether in order to work\n if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n return data;\n }\n\n var arrowElement = options.element;\n\n // if arrowElement is a string, suppose it's a CSS selector\n if (typeof arrowElement === 'string') {\n arrowElement = data.instance.popper.querySelector(arrowElement);\n\n // if arrowElement is not found, don't run the modifier\n if (!arrowElement) {\n return data;\n }\n } else {\n // if the arrowElement isn't a query selector we must check that the\n // provided DOM node is child of its popper node\n if (!data.instance.popper.contains(arrowElement)) {\n console.warn('WARNING: `arrow.element` must be child of its popper element!');\n return data;\n }\n }\n\n var placement = data.placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n var len = isVertical ? 'height' : 'width';\n var sideCapitalized = isVertical ? 'Top' : 'Left';\n var side = sideCapitalized.toLowerCase();\n var altSide = isVertical ? 'left' : 'top';\n var opSide = isVertical ? 'bottom' : 'right';\n var arrowElementSize = getOuterSizes(arrowElement)[len];\n\n //\n // extends keepTogether behavior making sure the popper and its\n // reference have enough pixels in conjunction\n //\n\n // top/left side\n if (reference[opSide] - arrowElementSize < popper[side]) {\n data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);\n }\n // bottom/right side\n if (reference[side] + arrowElementSize > popper[opSide]) {\n data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];\n }\n data.offsets.popper = getClientRect(data.offsets.popper);\n\n // compute center of the popper\n var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;\n\n // Compute the sideValue using the updated popper offsets\n // take popper margin in account because we don't have this info available\n var css = getStyleComputedProperty(data.instance.popper);\n var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);\n var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);\n var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;\n\n // prevent arrowElement from being placed not contiguously to its popper\n sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n\n data.arrowElement = arrowElement;\n data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);\n\n return data;\n}\n\n/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\nfunction getOppositeVariation(variation) {\n if (variation === 'end') {\n return 'start';\n } else if (variation === 'start') {\n return 'end';\n }\n return variation;\n}\n\n/**\n * List of accepted placements to use as values of the `placement` option.
\n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right.
\n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\nvar placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];\n\n// Get rid of `auto` `auto-start` and `auto-end`\nvar validPlacements = placements.slice(3);\n\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\nfunction clockwise(placement) {\n var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var index = validPlacements.indexOf(placement);\n var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));\n return counter ? arr.reverse() : arr;\n}\n\nvar BEHAVIORS = {\n FLIP: 'flip',\n CLOCKWISE: 'clockwise',\n COUNTERCLOCKWISE: 'counterclockwise'\n};\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction flip(data, options) {\n // if `inner` modifier is enabled, we can't use the `flip` modifier\n if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n return data;\n }\n\n if (data.flipped && data.placement === data.originalPlacement) {\n // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n return data;\n }\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);\n\n var placement = data.placement.split('-')[0];\n var placementOpposite = getOppositePlacement(placement);\n var variation = data.placement.split('-')[1] || '';\n\n var flipOrder = [];\n\n switch (options.behavior) {\n case BEHAVIORS.FLIP:\n flipOrder = [placement, placementOpposite];\n break;\n case BEHAVIORS.CLOCKWISE:\n flipOrder = clockwise(placement);\n break;\n case BEHAVIORS.COUNTERCLOCKWISE:\n flipOrder = clockwise(placement, true);\n break;\n default:\n flipOrder = options.behavior;\n }\n\n flipOrder.forEach(function (step, index) {\n if (placement !== step || flipOrder.length === index + 1) {\n return data;\n }\n\n placement = data.placement.split('-')[0];\n placementOpposite = getOppositePlacement(placement);\n\n var popperOffsets = data.offsets.popper;\n var refOffsets = data.offsets.reference;\n\n // using floor because the reference offsets may contain decimals we are not going to consider here\n var floor = Math.floor;\n var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);\n\n var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;\n\n // flip the variation if required\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n var flippedVariation = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);\n\n if (overlapsRef || overflowsBoundaries || flippedVariation) {\n // this boolean to detect any flip loop\n data.flipped = true;\n\n if (overlapsRef || overflowsBoundaries) {\n placement = flipOrder[index + 1];\n }\n\n if (flippedVariation) {\n variation = getOppositeVariation(variation);\n }\n\n data.placement = placement + (variation ? '-' + variation : '');\n\n // this object contains `position`, we want to preserve it along with\n // any additional property we may add in the future\n data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));\n\n data = runModifiers(data.instance.modifiers, data, 'flip');\n }\n });\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction keepTogether(data) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var placement = data.placement.split('-')[0];\n var floor = Math.floor;\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n var side = isVertical ? 'right' : 'bottom';\n var opSide = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n if (popper[side] < floor(reference[opSide])) {\n data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];\n }\n if (popper[opSide] > floor(reference[side])) {\n data.offsets.popper[opSide] = floor(reference[side]);\n }\n\n return data;\n}\n\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nfunction toValue(str, measurement, popperOffsets, referenceOffsets) {\n // separate value from unit\n var split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n var value = +split[1];\n var unit = split[2];\n\n // If it's not a number it's an operator, I guess\n if (!value) {\n return str;\n }\n\n if (unit.indexOf('%') === 0) {\n var element = void 0;\n switch (unit) {\n case '%p':\n element = popperOffsets;\n break;\n case '%':\n case '%r':\n default:\n element = referenceOffsets;\n }\n\n var rect = getClientRect(element);\n return rect[measurement] / 100 * value;\n } else if (unit === 'vh' || unit === 'vw') {\n // if is a vh or vw, we calculate the size based on the viewport\n var size = void 0;\n if (unit === 'vh') {\n size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n } else {\n size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n }\n return size / 100 * value;\n } else {\n // if is an explicit pixel unit, we get rid of the unit and keep the value\n // if is an implicit unit, it's px, and we return just the value\n return value;\n }\n}\n\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\nfunction parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {\n var offsets = [0, 0];\n\n // Use height if placement is left or right and index is 0 otherwise use width\n // in this way the first offset will use an axis and the second one\n // will use the other one\n var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;\n\n // Split the offset string to obtain a list of values and operands\n // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n var fragments = offset.split(/(\\+|\\-)/).map(function (frag) {\n return frag.trim();\n });\n\n // Detect if the offset string contains a pair of values or a single one\n // they could be separated by comma or space\n var divider = fragments.indexOf(find(fragments, function (frag) {\n return frag.search(/,|\\s/) !== -1;\n }));\n\n if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');\n }\n\n // If divider is found, we divide the list of values and operands to divide\n // them by ofset X and Y.\n var splitRegex = /\\s*,\\s*|\\s+/;\n var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];\n\n // Convert the values with units to absolute pixels to allow our computations\n ops = ops.map(function (op, index) {\n // Most of the units rely on the orientation of the popper\n var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';\n var mergeWithPrevious = false;\n return op\n // This aggregates any `+` or `-` sign that aren't considered operators\n // e.g.: 10 + +5 => [10, +, +5]\n .reduce(function (a, b) {\n if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n a[a.length - 1] = b;\n mergeWithPrevious = true;\n return a;\n } else if (mergeWithPrevious) {\n a[a.length - 1] += b;\n mergeWithPrevious = false;\n return a;\n } else {\n return a.concat(b);\n }\n }, [])\n // Here we convert the string values into number values (in px)\n .map(function (str) {\n return toValue(str, measurement, popperOffsets, referenceOffsets);\n });\n });\n\n // Loop trough the offsets arrays and execute the operations\n ops.forEach(function (op, index) {\n op.forEach(function (frag, index2) {\n if (isNumeric(frag)) {\n offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n }\n });\n });\n return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nfunction offset(data, _ref) {\n var offset = _ref.offset;\n var placement = data.placement,\n _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var basePlacement = placement.split('-')[0];\n\n var offsets = void 0;\n if (isNumeric(+offset)) {\n offsets = [+offset, 0];\n } else {\n offsets = parseOffset(offset, popper, reference, basePlacement);\n }\n\n if (basePlacement === 'left') {\n popper.top += offsets[0];\n popper.left -= offsets[1];\n } else if (basePlacement === 'right') {\n popper.top += offsets[0];\n popper.left += offsets[1];\n } else if (basePlacement === 'top') {\n popper.left += offsets[0];\n popper.top -= offsets[1];\n } else if (basePlacement === 'bottom') {\n popper.left += offsets[0];\n popper.top += offsets[1];\n }\n\n data.popper = popper;\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction preventOverflow(data, options) {\n var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);\n\n // If offsetParent is the reference element, we really want to\n // go one step up and use the next offsetParent as reference to\n // avoid to make this modifier completely useless and look like broken\n if (data.instance.reference === boundariesElement) {\n boundariesElement = getOffsetParent(boundariesElement);\n }\n\n // NOTE: DOM access here\n // resets the popper's position so that the document size can be calculated excluding\n // the size of the popper element itself\n var transformProp = getSupportedPropertyName('transform');\n var popperStyles = data.instance.popper.style; // assignment to help minification\n var top = popperStyles.top,\n left = popperStyles.left,\n transform = popperStyles[transformProp];\n\n popperStyles.top = '';\n popperStyles.left = '';\n popperStyles[transformProp] = '';\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);\n\n // NOTE: DOM access here\n // restores the original style properties after the offsets have been computed\n popperStyles.top = top;\n popperStyles.left = left;\n popperStyles[transformProp] = transform;\n\n options.boundaries = boundaries;\n\n var order = options.priority;\n var popper = data.offsets.popper;\n\n var check = {\n primary: function primary(placement) {\n var value = popper[placement];\n if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {\n value = Math.max(popper[placement], boundaries[placement]);\n }\n return defineProperty({}, placement, value);\n },\n secondary: function secondary(placement) {\n var mainSide = placement === 'right' ? 'left' : 'top';\n var value = popper[mainSide];\n if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {\n value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));\n }\n return defineProperty({}, mainSide, value);\n }\n };\n\n order.forEach(function (placement) {\n var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n popper = _extends({}, popper, check[side](placement));\n });\n\n data.offsets.popper = popper;\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction shift(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var shiftvariation = placement.split('-')[1];\n\n // if shift shiftvariation is specified, run the modifier\n if (shiftvariation) {\n var _data$offsets = data.offsets,\n reference = _data$offsets.reference,\n popper = _data$offsets.popper;\n\n var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n var side = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n var shiftOffsets = {\n start: defineProperty({}, side, reference[side]),\n end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])\n };\n\n data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction hide(data) {\n if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n return data;\n }\n\n var refRect = data.offsets.reference;\n var bound = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'preventOverflow';\n }).boundaries;\n\n if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === true) {\n return data;\n }\n\n data.hide = true;\n data.attributes['x-out-of-boundaries'] = '';\n } else {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === false) {\n return data;\n }\n\n data.hide = false;\n data.attributes['x-out-of-boundaries'] = false;\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction inner(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n data.placement = getOppositePlacement(placement);\n data.offsets.popper = getClientRect(popper);\n\n return data;\n}\n\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property.
\n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers.
\n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\nvar modifiers = {\n /**\n * Modifier used to shift the popper on the start or end of its reference\n * element.
\n * It will read the variation of the `placement` property.
\n * It can be one either `-end` or `-start`.\n * @memberof modifiers\n * @inner\n */\n shift: {\n /** @prop {number} order=100 - Index used to define the order of execution */\n order: 100,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: shift\n },\n\n /**\n * The `offset` modifier can shift your popper on both its axis.\n *\n * It accepts the following units:\n * - `px` or unit-less, interpreted as pixels\n * - `%` or `%r`, percentage relative to the length of the reference element\n * - `%p`, percentage relative to the length of the popper element\n * - `vw`, CSS viewport width unit\n * - `vh`, CSS viewport height unit\n *\n * For length is intended the main axis relative to the placement of the popper.
\n * This means that if the placement is `top` or `bottom`, the length will be the\n * `width`. In case of `left` or `right`, it will be the `height`.\n *\n * You can provide a single value (as `Number` or `String`), or a pair of values\n * as `String` divided by a comma or one (or more) white spaces.
\n * The latter is a deprecated method because it leads to confusion and will be\n * removed in v2.
\n * Additionally, it accepts additions and subtractions between different units.\n * Note that multiplications and divisions aren't supported.\n *\n * Valid examples are:\n * ```\n * 10\n * '10%'\n * '10, 10'\n * '10%, 10'\n * '10 + 10%'\n * '10 - 5vh + 3%'\n * '-10px + 5vh, 5px - 6%'\n * ```\n * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n *\n * @memberof modifiers\n * @inner\n */\n offset: {\n /** @prop {number} order=200 - Index used to define the order of execution */\n order: 200,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: offset,\n /** @prop {Number|String} offset=0\n * The offset value as described in the modifier description\n */\n offset: 0\n },\n\n /**\n * Modifier used to prevent the popper from being positioned outside the boundary.\n *\n * A scenario exists where the reference itself is not within the boundaries.
\n * We can say it has \"escaped the boundaries\" โ€” or just \"escaped\".
\n * In this case we need to decide whether the popper should either:\n *\n * - detach from the reference and remain \"trapped\" in the boundaries, or\n * - if it should ignore the boundary and \"escape with its reference\"\n *\n * When `escapeWithReference` is set to`true` and reference is completely\n * outside its boundaries, the popper will overflow (or completely leave)\n * the boundaries in order to remain attached to the edge of the reference.\n *\n * @memberof modifiers\n * @inner\n */\n preventOverflow: {\n /** @prop {number} order=300 - Index used to define the order of execution */\n order: 300,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: preventOverflow,\n /**\n * @prop {Array} [priority=['left','right','top','bottom']]\n * Popper will try to prevent overflow following these priorities by default,\n * then, it could overflow on the left and on top of the `boundariesElement`\n */\n priority: ['left', 'right', 'top', 'bottom'],\n /**\n * @prop {number} padding=5\n * Amount of pixel used to define a minimum distance between the boundaries\n * and the popper. This makes sure the popper always has a little padding\n * between the edges of its container\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='scrollParent'\n * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n * `viewport` or any DOM element.\n */\n boundariesElement: 'scrollParent'\n },\n\n /**\n * Modifier used to make sure the reference and its popper stay near each other\n * without leaving any gap between the two. Especially useful when the arrow is\n * enabled and you want to ensure that it points to its reference element.\n * It cares only about the first axis. You can still have poppers with margin\n * between the popper and its reference element.\n * @memberof modifiers\n * @inner\n */\n keepTogether: {\n /** @prop {number} order=400 - Index used to define the order of execution */\n order: 400,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: keepTogether\n },\n\n /**\n * This modifier is used to move the `arrowElement` of the popper to make\n * sure it is positioned between the reference element and its popper element.\n * It will read the outer size of the `arrowElement` node to detect how many\n * pixels of conjunction are needed.\n *\n * It has no effect if no `arrowElement` is provided.\n * @memberof modifiers\n * @inner\n */\n arrow: {\n /** @prop {number} order=500 - Index used to define the order of execution */\n order: 500,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: arrow,\n /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n element: '[x-arrow]'\n },\n\n /**\n * Modifier used to flip the popper's placement when it starts to overlap its\n * reference element.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n *\n * **NOTE:** this modifier will interrupt the current update cycle and will\n * restart it if it detects the need to flip the placement.\n * @memberof modifiers\n * @inner\n */\n flip: {\n /** @prop {number} order=600 - Index used to define the order of execution */\n order: 600,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: flip,\n /**\n * @prop {String|Array} behavior='flip'\n * The behavior used to change the popper's placement. It can be one of\n * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n * placements (with optional variations)\n */\n behavior: 'flip',\n /**\n * @prop {number} padding=5\n * The popper will flip if it hits the edges of the `boundariesElement`\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='viewport'\n * The element which will define the boundaries of the popper position.\n * The popper will never be placed outside of the defined boundaries\n * (except if `keepTogether` is enabled)\n */\n boundariesElement: 'viewport'\n },\n\n /**\n * Modifier used to make the popper flow toward the inner of the reference element.\n * By default, when this modifier is disabled, the popper will be placed outside\n * the reference element.\n * @memberof modifiers\n * @inner\n */\n inner: {\n /** @prop {number} order=700 - Index used to define the order of execution */\n order: 700,\n /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n enabled: false,\n /** @prop {ModifierFn} */\n fn: inner\n },\n\n /**\n * Modifier used to hide the popper when its reference element is outside of the\n * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n * be used to hide with a CSS selector the popper when its reference is\n * out of boundaries.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n * @memberof modifiers\n * @inner\n */\n hide: {\n /** @prop {number} order=800 - Index used to define the order of execution */\n order: 800,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: hide\n },\n\n /**\n * Computes the style that will be applied to the popper element to gets\n * properly positioned.\n *\n * Note that this modifier will not touch the DOM, it just prepares the styles\n * so that `applyStyle` modifier can apply it. This separation is useful\n * in case you need to replace `applyStyle` with a custom implementation.\n *\n * This modifier has `850` as `order` value to maintain backward compatibility\n * with previous versions of Popper.js. Expect the modifiers ordering method\n * to change in future major versions of the library.\n *\n * @memberof modifiers\n * @inner\n */\n computeStyle: {\n /** @prop {number} order=850 - Index used to define the order of execution */\n order: 850,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: computeStyle,\n /**\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: true,\n /**\n * @prop {string} [x='bottom']\n * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n * Change this if your popper should grow in a direction different from `bottom`\n */\n x: 'bottom',\n /**\n * @prop {string} [x='left']\n * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n * Change this if your popper should grow in a direction different from `right`\n */\n y: 'right'\n },\n\n /**\n * Applies the computed styles to the popper element.\n *\n * All the DOM manipulations are limited to this modifier. This is useful in case\n * you want to integrate Popper.js inside a framework or view library and you\n * want to delegate all the DOM manipulations to it.\n *\n * Note that if you disable this modifier, you must make sure the popper element\n * has its position set to `absolute` before Popper.js can do its work!\n *\n * Just disable this modifier and define your own to achieve the desired effect.\n *\n * @memberof modifiers\n * @inner\n */\n applyStyle: {\n /** @prop {number} order=900 - Index used to define the order of execution */\n order: 900,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: applyStyle,\n /** @prop {Function} */\n onLoad: applyStyleOnLoad,\n /**\n * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: undefined\n }\n};\n\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n\n/**\n * Default options provided to Popper.js constructor.
\n * These can be overridden using the `options` argument of Popper.js.
\n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n * modifiers: {\n * preventOverflow: { enabled: false }\n * }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\nvar Defaults = {\n /**\n * Popper's placement.\n * @prop {Popper.placements} placement='bottom'\n */\n placement: 'bottom',\n\n /**\n * Set this to true if you want popper to position it self in 'fixed' mode\n * @prop {Boolean} positionFixed=false\n */\n positionFixed: false,\n\n /**\n * Whether events (resize, scroll) are initially enabled.\n * @prop {Boolean} eventsEnabled=true\n */\n eventsEnabled: true,\n\n /**\n * Set to true if you want to automatically remove the popper when\n * you call the `destroy` method.\n * @prop {Boolean} removeOnDestroy=false\n */\n removeOnDestroy: false,\n\n /**\n * Callback called when the popper is created.
\n * By default, it is set to no-op.
\n * Access Popper.js instance with `data.instance`.\n * @prop {onCreate}\n */\n onCreate: function onCreate() {},\n\n /**\n * Callback called when the popper is updated. This callback is not called\n * on the initialization/creation of the popper, but only on subsequent\n * updates.
\n * By default, it is set to no-op.
\n * Access Popper.js instance with `data.instance`.\n * @prop {onUpdate}\n */\n onUpdate: function onUpdate() {},\n\n /**\n * List of modifiers used to modify the offsets before they are applied to the popper.\n * They provide most of the functionalities of Popper.js.\n * @prop {modifiers}\n */\n modifiers: modifiers\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n\n// Utils\n// Methods\nvar Popper = function () {\n /**\n * Creates a new Popper.js instance.\n * @class Popper\n * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as the popper\n * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n * @return {Object} instance - The generated Popper.js instance\n */\n function Popper(reference, popper) {\n var _this = this;\n\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n classCallCheck(this, Popper);\n\n this.scheduleUpdate = function () {\n return requestAnimationFrame(_this.update);\n };\n\n // make update() debounced, so that it only runs at most once-per-tick\n this.update = debounce(this.update.bind(this));\n\n // with {} we create a new object with the options inside it\n this.options = _extends({}, Popper.Defaults, options);\n\n // init state\n this.state = {\n isDestroyed: false,\n isCreated: false,\n scrollParents: []\n };\n\n // get reference and popper elements (allow jQuery wrappers)\n this.reference = reference && reference.jquery ? reference[0] : reference;\n this.popper = popper && popper.jquery ? popper[0] : popper;\n\n // Deep merge modifiers options\n this.options.modifiers = {};\n Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {\n _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});\n });\n\n // Refactoring modifiers' list (Object => Array)\n this.modifiers = Object.keys(this.options.modifiers).map(function (name) {\n return _extends({\n name: name\n }, _this.options.modifiers[name]);\n })\n // sort the modifiers by order\n .sort(function (a, b) {\n return a.order - b.order;\n });\n\n // modifiers have the ability to execute arbitrary code when Popper.js get inited\n // such code is executed in the same order of its modifier\n // they could add new properties to their options configuration\n // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n this.modifiers.forEach(function (modifierOptions) {\n if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);\n }\n });\n\n // fire the first update to position the popper in the right place\n this.update();\n\n var eventsEnabled = this.options.eventsEnabled;\n if (eventsEnabled) {\n // setup event listeners, they will take care of update the position in specific situations\n this.enableEventListeners();\n }\n\n this.state.eventsEnabled = eventsEnabled;\n }\n\n // We can't use class properties because they don't get listed in the\n // class prototype and break stuff like Sinon stubs\n\n\n createClass(Popper, [{\n key: 'update',\n value: function update$$1() {\n return update.call(this);\n }\n }, {\n key: 'destroy',\n value: function destroy$$1() {\n return destroy.call(this);\n }\n }, {\n key: 'enableEventListeners',\n value: function enableEventListeners$$1() {\n return enableEventListeners.call(this);\n }\n }, {\n key: 'disableEventListeners',\n value: function disableEventListeners$$1() {\n return disableEventListeners.call(this);\n }\n\n /**\n * Schedules an update. It will run on the next UI update available.\n * @method scheduleUpdate\n * @memberof Popper\n */\n\n\n /**\n * Collection of utilities useful when writing custom modifiers.\n * Starting from version 1.7, this method is available only if you\n * include `popper-utils.js` before `popper.js`.\n *\n * **DEPRECATION**: This way to access PopperUtils is deprecated\n * and will be removed in v2! Use the PopperUtils module directly instead.\n * Due to the high instability of the methods contained in Utils, we can't\n * guarantee them to follow semver. Use them at your own risk!\n * @static\n * @private\n * @type {Object}\n * @deprecated since version 1.8\n * @member Utils\n * @memberof Popper\n */\n\n }]);\n return Popper;\n}();\n\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node.
\n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n\n\nPopper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\nPopper.placements = placements;\nPopper.Defaults = Defaults;\n\nexport default Popper;\n//# sourceMappingURL=popper.js.map\n","export let Defaults = {\n a11y: true,\n allowHTML: true,\n animateFill: true,\n animation: 'shift-away',\n appendTo: () => document.body,\n arrow: false,\n arrowTransform: '',\n arrowType: 'sharp',\n content: '',\n delay: [0, 20],\n distance: 10,\n duration: [325, 275],\n flip: true,\n flipBehavior: 'flip',\n followCursor: false,\n hideOnClick: true,\n inertia: false,\n interactive: false,\n interactiveBorder: 2,\n interactiveDebounce: 0,\n lazy: true,\n livePlacement: true,\n multiple: false,\n offset: 0,\n onHidden() {},\n onHide() {},\n onMount() {},\n onShow() {},\n onShown() {},\n performance: false,\n placement: 'top',\n popperOptions: {},\n shouldPopperHideOnBlur: () => true,\n showOnInit: false,\n size: 'regular',\n sticky: false,\n target: '',\n theme: 'dark',\n touch: true,\n touchHold: false,\n trigger: 'mouseenter focus',\n updateDuration: 200,\n wait: null,\n zIndex: 9999\n}\n\nexport const setDefaults = partialDefaults => {\n Defaults = { ...Defaults, ...partialDefaults }\n}\n\n/**\n * If the set() method encounters one of these, the popperInstance must be\n * recreated\n */\nexport const POPPER_INSTANCE_RELATED_PROPS = [\n 'arrowType',\n 'distance',\n 'flip',\n 'flipBehavior',\n 'offset',\n 'placement',\n 'popperOptions'\n]\n","export const isBrowser = typeof window !== 'undefined'\n\nconst nav = isBrowser ? navigator : {}\nconst win = isBrowser ? window : {}\n\nexport const isBrowserSupported = 'MutationObserver' in win\nexport const isIE = /MSIE |Trident\\//.test(nav.userAgent)\nexport const isIOS = /iPhone|iPad|iPod/.test(nav.platform) && !win.MSStream\nexport const supportsTouch = 'ontouchstart' in win\n","export const Selectors = {\n POPPER: '.tippy-popper',\n TOOLTIP: '.tippy-tooltip',\n CONTENT: '.tippy-content',\n BACKDROP: '.tippy-backdrop',\n ARROW: '.tippy-arrow',\n ROUND_ARROW: '.tippy-roundarrow'\n}\n","import { Selectors } from './selectors'\nimport { Defaults } from './defaults'\nimport { isBrowser, isBrowserSupported } from './browser'\n\n/**\n * Firefox extensions doesn't allow 'innerHTML' to be set but we can trick it\n * + aid for minifiers not to remove the trick\n */\nconst FF_EXTENSION_TRICK = { x: true }\n\n/**\n * Injects a string of CSS styles to the style node in the document head\n */\nexport const injectCSS = css => {\n if (isBrowserSupported) {\n const style = document.createElement('style')\n style.type = 'text/css'\n style.textContent = css\n document.head.insertBefore(style, document.head.firstChild)\n }\n}\n\n/**\n * Ponyfill for Array.from; converts iterable values to an array\n */\nexport const toArray = value => [].slice.call(value)\n\n/**\n * Sets the content of a tooltip\n */\nexport const setContent = (contentEl, props) => {\n if (props.content instanceof Element) {\n setInnerHTML(contentEl, '')\n contentEl.appendChild(props.content)\n } else {\n contentEl[props.allowHTML ? 'innerHTML' : 'textContent'] = props.content\n }\n}\n\n/**\n * Determines if an element can receive focus\n */\nexport const elementCanReceiveFocus = el =>\n el instanceof Element\n ? matches.call(\n el,\n 'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]'\n ) && !el.hasAttribute('disabled')\n : true\n\n/**\n * Applies a transition duration to a list of elements\n */\nexport const applyTransitionDuration = (els, value) => {\n els.filter(Boolean).forEach(el => {\n el.style.transitionDuration = `${value}ms`\n })\n}\n\n/**\n * Returns the child elements of a popper element\n */\nexport const getChildren = popper => {\n const select = s => popper.querySelector(s)\n return {\n tooltip: select(Selectors.TOOLTIP),\n backdrop: select(Selectors.BACKDROP),\n content: select(Selectors.CONTENT),\n arrow: select(Selectors.ARROW) || select(Selectors.ROUND_ARROW)\n }\n}\n\n/**\n * Determines if a value is a plain object\n */\nexport const isPlainObject = value =>\n ({}.toString.call(value) === '[object Object]')\n\n/**\n * Creates and returns a div element\n */\nexport const div = () => document.createElement('div')\n\n/**\n * Sets the innerHTML of an element while tricking linters & minifiers\n */\nexport const setInnerHTML = (el, html) => {\n el[FF_EXTENSION_TRICK.x && 'innerHTML'] =\n html instanceof Element ? html[FF_EXTENSION_TRICK.x && 'innerHTML'] : html\n}\n\n/**\n * Returns an array of elements based on the value\n */\nexport const getArrayOfElements = value => {\n if (value instanceof Element || isPlainObject(value)) {\n return [value]\n }\n if (value instanceof NodeList) {\n return toArray(value)\n }\n if (Array.isArray(value)) {\n return value\n }\n\n try {\n return toArray(document.querySelectorAll(value))\n } catch (e) {\n return []\n }\n}\n\n/**\n * Determines if a value is numeric\n */\nexport const isNumeric = value => !isNaN(value) && !isNaN(parseFloat(value))\n\n/**\n * Returns a value at a given index depending on if it's an array or number\n */\nexport const getValue = (value, index, defaultValue) => {\n if (Array.isArray(value)) {\n const v = value[index]\n return v == null ? defaultValue : v\n }\n return value\n}\n\n/**\n * Creates an arrow element and returns it\n */\nexport const createArrowElement = arrowType => {\n const arrow = div()\n if (arrowType === 'round') {\n arrow.className = 'tippy-roundarrow'\n setInnerHTML(\n arrow,\n ''\n )\n } else {\n arrow.className = 'tippy-arrow'\n }\n return arrow\n}\n\n/**\n * Creates a backdrop element and returns it\n */\nexport const createBackdropElement = () => {\n const backdrop = div()\n backdrop.className = 'tippy-backdrop'\n backdrop.setAttribute('data-state', 'hidden')\n return backdrop\n}\n\n/**\n * Adds interactive attributes\n */\nexport const addInteractive = (popper, tooltip) => {\n popper.setAttribute('tabindex', '-1')\n tooltip.setAttribute('data-interactive', '')\n}\n\n/**\n * Removes interactive attributes\n */\nexport const removeInteractive = (popper, tooltip) => {\n popper.removeAttribute('tabindex')\n tooltip.removeAttribute('data-interactive')\n}\n\n/**\n * Adds inertia attribute\n */\nexport const addInertia = tooltip => {\n tooltip.setAttribute('data-inertia', '')\n}\n\n/**\n * Removes inertia attribute\n */\nexport const removeInertia = tooltip => {\n tooltip.removeAttribute('data-inertia')\n}\n\n/**\n * Constructs the popper element and returns it\n */\nexport const createPopperElement = (id, props) => {\n const popper = div()\n popper.className = 'tippy-popper'\n popper.setAttribute('role', 'tooltip')\n popper.id = `tippy-${id}`\n popper.style.zIndex = props.zIndex\n\n const tooltip = div()\n tooltip.className = 'tippy-tooltip'\n tooltip.setAttribute('data-size', props.size)\n tooltip.setAttribute('data-animation', props.animation)\n tooltip.setAttribute('data-state', 'hidden')\n props.theme.split(' ').forEach(t => {\n tooltip.classList.add(t + '-theme')\n })\n\n const content = div()\n content.className = 'tippy-content'\n content.setAttribute('data-state', 'hidden')\n\n if (props.interactive) {\n addInteractive(popper, tooltip)\n }\n\n if (props.arrow) {\n tooltip.appendChild(createArrowElement(props.arrowType))\n }\n\n if (props.animateFill) {\n tooltip.appendChild(createBackdropElement())\n tooltip.setAttribute('data-animatefill', '')\n }\n\n if (props.inertia) {\n tooltip.setAttribute('data-inertia', '')\n }\n\n setContent(content, props)\n\n tooltip.appendChild(content)\n popper.appendChild(tooltip)\n\n popper.addEventListener('focusout', e => {\n if (\n e.relatedTarget &&\n popper._tippy &&\n !closestCallback(e.relatedTarget, el => el === popper) &&\n e.relatedTarget !== popper._tippy.reference &&\n popper._tippy.props.shouldPopperHideOnBlur(e)\n ) {\n popper._tippy.hide()\n }\n })\n\n return popper\n}\n\n/**\n * Updates the popper element based on the new props\n */\nexport const updatePopperElement = (popper, prevProps, nextProps) => {\n const { tooltip, content, backdrop, arrow } = getChildren(popper)\n\n popper.style.zIndex = nextProps.zIndex\n tooltip.setAttribute('data-size', nextProps.size)\n tooltip.setAttribute('data-animation', nextProps.animation)\n\n if (prevProps.content !== nextProps.content) {\n setContent(content, nextProps)\n }\n\n // animateFill\n if (!prevProps.animateFill && nextProps.animateFill) {\n tooltip.appendChild(createBackdropElement())\n tooltip.setAttribute('data-animatefill', '')\n } else if (prevProps.animateFill && !nextProps.animateFill) {\n tooltip.removeChild(backdrop)\n tooltip.removeAttribute('data-animatefill')\n }\n\n // arrow\n if (!prevProps.arrow && nextProps.arrow) {\n tooltip.appendChild(createArrowElement(nextProps.arrowType))\n } else if (prevProps.arrow && !nextProps.arrow) {\n tooltip.removeChild(arrow)\n }\n\n // arrowType\n if (\n prevProps.arrow &&\n nextProps.arrow &&\n prevProps.arrowType !== nextProps.arrowType\n ) {\n tooltip.replaceChild(createArrowElement(nextProps.arrowType), arrow)\n }\n\n // interactive\n if (!prevProps.interactive && nextProps.interactive) {\n addInteractive(popper, tooltip)\n } else if (prevProps.interactive && !nextProps.interactive) {\n removeInteractive(popper, tooltip)\n }\n\n // inertia\n if (!prevProps.inertia && nextProps.inertia) {\n addInertia(tooltip)\n } else if (prevProps.inertia && !nextProps.inertia) {\n removeInertia(tooltip)\n }\n\n // theme\n if (prevProps.theme !== nextProps.theme) {\n prevProps.theme.split(' ').forEach(theme => {\n tooltip.classList.remove(theme + '-theme')\n })\n nextProps.theme.split(' ').forEach(theme => {\n tooltip.classList.add(theme + '-theme')\n })\n }\n}\n\n/**\n * Hides all visible poppers on the document\n */\nexport const hideAllPoppers = excludeTippy => {\n toArray(document.querySelectorAll(Selectors.POPPER)).forEach(popper => {\n const tip = popper._tippy\n if (\n tip &&\n tip.props.hideOnClick === true &&\n (!excludeTippy || popper !== excludeTippy.popper)\n ) {\n tip.hide()\n }\n })\n}\n\n/**\n * Returns an object of optional props from data-tippy-* attributes\n */\nexport const getDataAttributeOptions = reference =>\n Object.keys(Defaults).reduce((acc, key) => {\n const valueAsString = (\n reference.getAttribute(`data-tippy-${key}`) || ''\n ).trim()\n\n if (!valueAsString) {\n return acc\n }\n\n if (key === 'content') {\n acc[key] = valueAsString\n } else if (valueAsString === 'true') {\n acc[key] = true\n } else if (valueAsString === 'false') {\n acc[key] = false\n } else if (isNumeric(valueAsString)) {\n acc[key] = Number(valueAsString)\n } else if (valueAsString[0] === '[' || valueAsString[0] === '{') {\n acc[key] = JSON.parse(valueAsString)\n } else {\n acc[key] = valueAsString\n }\n\n return acc\n }, {})\n\n/**\n * Polyfills the virtual reference (plain object) with needed props\n * Mutating because DOM elements are mutated, adds _tippy property\n */\nexport const polyfillVirtualReferenceProps = virtualReference => {\n const polyfills = {\n isVirtual: true,\n attributes: virtualReference.attributes || {},\n setAttribute(key, value) {\n virtualReference.attributes[key] = value\n },\n getAttribute(key) {\n return virtualReference.attributes[key]\n },\n removeAttribute(key) {\n delete virtualReference.attributes[key]\n },\n hasAttribute(key) {\n return key in virtualReference.attributes\n },\n addEventListener() {},\n removeEventListener() {},\n classList: {\n classNames: {},\n add(key) {\n virtualReference.classList.classNames[key] = true\n },\n remove(key) {\n delete virtualReference.classList.classNames[key]\n },\n contains(key) {\n return key in virtualReference.classList.classNames\n }\n }\n }\n\n for (const key in polyfills) {\n virtualReference[key] = polyfills[key]\n }\n\n return virtualReference\n}\n\n/**\n * Ponyfill for Element.prototype.matches\n */\nexport const matches = (() => {\n if (isBrowser) {\n const e = Element.prototype\n return (\n e.matches ||\n e.matchesSelector ||\n e.webkitMatchesSelector ||\n e.mozMatchesSelector ||\n e.msMatchesSelector\n )\n }\n})()\n\n/**\n * Ponyfill for Element.prototype.closest\n */\nexport const closest = (element, parentSelector) =>\n (\n Element.prototype.closest ||\n function(selector) {\n let el = this\n while (el) {\n if (matches.call(el, selector)) return el\n el = el.parentElement\n }\n }\n ).call(element, parentSelector)\n\n/**\n * Works like Element.prototype.closest, but uses a callback instead\n */\nexport const closestCallback = (element, callback) => {\n while (element) {\n if (callback(element)) return element\n element = element.parentElement\n }\n}\n\n/**\n * Focuses an element while preventing a scroll jump if it's not within the viewport\n */\nexport const focus = el => {\n const x = window.scrollX || window.pageXOffset\n const y = window.scrollY || window.pageYOffset\n el.focus()\n scroll(x, y)\n}\n\n/**\n * Triggers reflow\n */\nexport const reflow = popper => {\n void popper.offsetHeight\n}\n\n/**\n * Transforms the x/y axis ased on the placement\n */\nexport const transformAxisBasedOnPlacement = (axis, isVertical) =>\n (isVertical\n ? axis\n : {\n X: 'Y',\n Y: 'X'\n }[axis]) || ''\n\n/**\n * Transforms the scale/translate numbers based on the placement\n */\nexport const transformNumbersBasedOnPlacement = (\n type,\n numbers,\n isVertical,\n isReverse\n) => {\n /**\n * Avoid destructuring because a large boilerplate function is generated\n * by Babel\n */\n const a = numbers[0]\n const b = numbers[1]\n\n if (!a && !b) {\n return ''\n }\n\n const transforms = {\n scale: (() => {\n if (!b) {\n return `${a}`\n } else {\n return isVertical ? `${a}, ${b}` : `${b}, ${a}`\n }\n })(),\n translate: (() => {\n if (!b) {\n return isReverse ? `${-a}px` : `${a}px`\n } else {\n if (isVertical) {\n return isReverse ? `${a}px, ${-b}px` : `${a}px, ${b}px`\n } else {\n return isReverse ? `${-b}px, ${a}px` : `${b}px, ${a}px`\n }\n }\n })()\n }\n\n return transforms[type]\n}\n\n/**\n * Returns the axis for a CSS function (translate or scale)\n */\nexport const getTransformAxis = (str, cssFunction) => {\n const match = str.match(new RegExp(cssFunction + '([XY])'))\n return match ? match[1] : ''\n}\n\n/**\n * Returns the numbers given to the CSS function\n */\nexport const getTransformNumbers = (str, regex) => {\n const match = str.match(regex)\n return match ? match[1].split(',').map(parseFloat) : []\n}\n\nexport const TRANSFORM_NUMBER_RE = {\n translate: /translateX?Y?\\(([^)]+)\\)/,\n scale: /scaleX?Y?\\(([^)]+)\\)/\n}\n\n/**\n * Computes the arrow's transform so that it is correct for any placement\n */\nexport const computeArrowTransform = (arrow, arrowTransform) => {\n const placement = getPopperPlacement(closest(arrow, Selectors.POPPER))\n const isVertical = placement === 'top' || placement === 'bottom'\n const isReverse = placement === 'right' || placement === 'bottom'\n\n const matches = {\n translate: {\n axis: getTransformAxis(arrowTransform, 'translate'),\n numbers: getTransformNumbers(\n arrowTransform,\n TRANSFORM_NUMBER_RE.translate\n )\n },\n scale: {\n axis: getTransformAxis(arrowTransform, 'scale'),\n numbers: getTransformNumbers(arrowTransform, TRANSFORM_NUMBER_RE.scale)\n }\n }\n\n const computedTransform = arrowTransform\n .replace(\n TRANSFORM_NUMBER_RE.translate,\n `translate${transformAxisBasedOnPlacement(\n matches.translate.axis,\n isVertical\n )}(${transformNumbersBasedOnPlacement(\n 'translate',\n matches.translate.numbers,\n isVertical,\n isReverse\n )})`\n )\n .replace(\n TRANSFORM_NUMBER_RE.scale,\n `scale${transformAxisBasedOnPlacement(\n matches.scale.axis,\n isVertical\n )}(${transformNumbersBasedOnPlacement(\n 'scale',\n matches.scale.numbers,\n isVertical,\n isReverse\n )})`\n )\n\n arrow.style[\n typeof document.body.style.transform !== 'undefined'\n ? 'transform'\n : 'webkitTransform'\n ] = computedTransform\n}\n\n/**\n * Sets the visibility state of a popper so it can begin to transition in or out\n */\nexport const setVisibilityState = (els, type) => {\n els.filter(Boolean).forEach(el => {\n el.setAttribute('data-state', type)\n })\n}\n\n/**\n * Runs the callback after the popper's position has been updated\n * update() is debounced with setTimeout(0) and scheduleUpdate() is\n * update() wrapped in requestAnimationFrame().\n */\nexport const afterPopperPositionUpdates = (popperInstance, callback) => {\n const { popper, options } = popperInstance\n const { onCreate, onUpdate } = options\n\n options.onCreate = options.onUpdate = () => {\n reflow(popper)\n callback()\n onUpdate()\n options.onCreate = onCreate\n options.onUpdate = onUpdate\n }\n}\n\n/**\n * Defers a function's execution until the call stack has cleared\n */\nexport const defer = fn => {\n setTimeout(fn, 1)\n}\n\n/**\n * Determines if the mouse cursor is outside of the popper's interactive border\n * region\n */\nexport const isCursorOutsideInteractiveBorder = (\n popperPlacement,\n popperRect,\n event,\n props\n) => {\n if (!popperPlacement) {\n return true\n }\n\n const { clientX: x, clientY: y } = event\n const { interactiveBorder, distance } = props\n\n const exceedsTop =\n popperRect.top - y >\n (popperPlacement === 'top'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n const exceedsBottom =\n y - popperRect.bottom >\n (popperPlacement === 'bottom'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n const exceedsLeft =\n popperRect.left - x >\n (popperPlacement === 'left'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n const exceedsRight =\n x - popperRect.right >\n (popperPlacement === 'right'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight\n}\n\n/**\n * Returns the distance offset, taking into account the default offset due to\n * the transform: translate() rule in CSS\n */\nexport const getOffsetDistanceInPx = (distance, defaultDistance) =>\n -(distance - defaultDistance) + 'px'\n\n/**\n * Returns the popper's placement, ignoring shifting (top-start, etc)\n */\nexport const getPopperPlacement = popper => {\n const fullPlacement = popper.getAttribute('x-placement')\n return fullPlacement ? fullPlacement.split('-')[0] : ''\n}\n\n/**\n * Evaluates props\n */\nexport const evaluateProps = (reference, props) => {\n const out = {\n ...props,\n ...(props.performance ? {} : getDataAttributeOptions(reference))\n }\n\n if (out.arrow) {\n out.animateFill = false\n }\n\n if (typeof out.appendTo === 'function') {\n out.appendTo = props.appendTo(reference)\n }\n\n if (typeof out.content === 'function') {\n out.content = props.content(reference)\n }\n\n return out\n}\n\n/**\n * Add/remove transitionend listener from tooltip\n */\nexport const toggleTransitionEndListener = (tooltip, action, listener) => {\n tooltip[action + 'EventListener']('transitionend', listener)\n}\n\n/**\n * Debounce utility\n */\nexport const debounce = (fn, ms) => {\n let timeoutId\n return function() {\n clearTimeout(timeoutId)\n timeoutId = setTimeout(() => fn.apply(this, arguments), ms)\n }\n}\n\n/**\n * Validates an object of options with the valid default props object\n */\nexport const validateOptions = (options, props) => {\n for (const option in options || {}) {\n if (!(option in props)) {\n throw Error(`[tippy]: \\`${option}\\` is not a valid option`)\n }\n }\n}\n","import { Selectors } from './selectors'\nimport { supportsTouch, isIOS } from './browser'\nimport { hideAllPoppers, closest, closestCallback, toArray } from './utils'\n\nexport let isUsingTouch = false\n\nexport const onDocumentTouch = () => {\n if (isUsingTouch) {\n return\n }\n\n isUsingTouch = true\n\n if (isIOS) {\n document.body.classList.add('tippy-iOS')\n }\n\n if (window.performance) {\n document.addEventListener('mousemove', onDocumentMouseMove)\n }\n}\n\nlet lastMouseMoveTime = 0\nexport const onDocumentMouseMove = () => {\n const now = performance.now()\n\n // Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference\n if (now - lastMouseMoveTime < 20) {\n isUsingTouch = false\n document.removeEventListener('mousemove', onDocumentMouseMove)\n if (!isIOS) {\n document.body.classList.remove('tippy-iOS')\n }\n }\n\n lastMouseMoveTime = now\n}\n\nexport const onDocumentClick = ({ target }) => {\n // Simulated events dispatched on the document\n if (!(target instanceof Element)) {\n return hideAllPoppers()\n }\n\n // Clicked on an interactive popper\n const popper = closest(target, Selectors.POPPER)\n if (popper && popper._tippy && popper._tippy.props.interactive) {\n return\n }\n\n // Clicked on a reference\n const reference = closestCallback(\n target,\n el => el._tippy && el._tippy.reference === el\n )\n if (reference) {\n const tip = reference._tippy\n const isClickTrigger = tip.props.trigger.indexOf('click') > -1\n\n if (isUsingTouch || isClickTrigger) {\n return hideAllPoppers(tip)\n }\n\n if (tip.props.hideOnClick !== true || isClickTrigger) {\n return\n }\n\n tip.clearDelayTimeouts()\n }\n\n hideAllPoppers()\n}\n\nexport const onWindowBlur = () => {\n const { activeElement } = document\n if (activeElement && activeElement.blur && activeElement._tippy) {\n activeElement.blur()\n }\n}\n\nexport const onWindowResize = () => {\n toArray(document.querySelectorAll(Selectors.POPPER)).forEach(popper => {\n const tippyInstance = popper._tippy\n if (!tippyInstance.props.livePlacement) {\n tippyInstance.popperInstance.scheduleUpdate()\n }\n })\n}\n\n/**\n * Adds the needed global event listeners\n */\nexport default function bindEventListeners() {\n document.addEventListener('click', onDocumentClick, true)\n // Old browsers will use capture phase but the phase does not matter anyway\n document.addEventListener('touchstart', onDocumentTouch, { passive: true })\n window.addEventListener('blur', onWindowBlur)\n window.addEventListener('resize', onWindowResize)\n\n if (\n !supportsTouch &&\n (navigator.maxTouchPoints || navigator.msMaxTouchPoints)\n ) {\n document.addEventListener('pointerdown', onDocumentTouch)\n }\n}\n","import Popper from 'popper.js'\nimport { Defaults, POPPER_INSTANCE_RELATED_PROPS } from './defaults'\nimport { Selectors } from './selectors'\nimport { isUsingTouch } from './bindGlobalEventListeners'\nimport { supportsTouch, isIE } from './browser'\nimport {\n createPopperElement,\n elementCanReceiveFocus,\n getChildren,\n computeArrowTransform,\n afterPopperPositionUpdates,\n getPopperPlacement,\n getOffsetDistanceInPx,\n getValue,\n closest,\n closestCallback,\n isCursorOutsideInteractiveBorder,\n applyTransitionDuration,\n setVisibilityState,\n updatePopperElement,\n evaluateProps,\n defer,\n toArray,\n focus,\n toggleTransitionEndListener,\n debounce,\n validateOptions\n} from './utils'\n\nlet idCounter = 1\n\n/**\n * Creates and returns a Tippy object. We're using a closure pattern instead of\n * a class so that the exposed object API is clean without private members\n * prefixed with `_`.\n */\nexport default function createTippy(reference, collectionProps) {\n const props = evaluateProps(reference, collectionProps)\n\n // If the reference shouldn't have multiple tippys, return null early\n if (!props.multiple && reference._tippy) {\n return null\n }\n\n /* ======================= ๐Ÿ”’ Private members ๐Ÿ”’ ======================= */\n // The popper element's mutation observer\n let popperMutationObserver = null\n\n // The last trigger event object that caused the tippy to show\n let lastTriggerEvent = {}\n\n // The last mousemove event object created by the document mousemove event\n let lastMouseMoveEvent = null\n\n // Timeout created by the show delay\n let showTimeoutId = 0\n\n // Timeout created by the hide delay\n let hideTimeoutId = 0\n\n // Flag to determine if the tippy is preparing to show due to the show timeout\n let isPreparingToShow = false\n\n // The current `transitionend` callback reference\n let transitionEndListener = () => {}\n\n // Array of event listeners currently attached to the reference element\n let listeners = []\n\n // Flag to determine if the reference was recently programmatically focused\n let referenceJustProgrammaticallyFocused = false\n\n // Private onMouseMove handler reference, debounced or not\n let debouncedOnMouseMove =\n props.interactiveDebounce > 0\n ? debounce(onMouseMove, props.interactiveDebounce)\n : onMouseMove\n\n /* ======================= ๐Ÿ”‘ Public members ๐Ÿ”‘ ======================= */\n // id used for the `aria-describedby` attribute\n const id = idCounter++\n\n // Popper element reference\n const popper = createPopperElement(id, props)\n\n // Prevent a tippy with a delay from hiding if the cursor left then returned\n // before it started hiding\n popper.addEventListener('mouseenter', event => {\n if (\n tip.props.interactive &&\n tip.state.isVisible &&\n lastTriggerEvent.type === 'mouseenter'\n ) {\n prepareShow(event)\n }\n })\n popper.addEventListener('mouseleave', event => {\n if (\n tip.props.interactive &&\n lastTriggerEvent.type === 'mouseenter' &&\n tip.props.interactiveDebounce === 0 &&\n isCursorOutsideInteractiveBorder(\n getPopperPlacement(popper),\n popper.getBoundingClientRect(),\n event,\n tip.props\n )\n ) {\n prepareHide()\n }\n })\n\n // Popper element children: { arrow, backdrop, content, tooltip }\n const popperChildren = getChildren(popper)\n\n // The state of the tippy\n const state = {\n // If the tippy is currently enabled\n isEnabled: true,\n // show() invoked, not currently transitioning out\n isVisible: false,\n // If the tippy has been destroyed\n isDestroyed: false,\n // If the tippy is on the DOM (transitioning out or in)\n isMounted: false,\n // show() transition finished\n isShown: false\n }\n\n // Popper.js instance for the tippy is lazily created\n const popperInstance = null\n\n // ๐ŸŒŸ tippy instance\n const tip = {\n // properties\n id,\n reference,\n popper,\n popperChildren,\n popperInstance,\n props,\n state,\n // methods\n clearDelayTimeouts,\n set,\n setContent,\n show,\n hide,\n enable,\n disable,\n destroy\n }\n\n addTriggersToReference()\n\n reference.addEventListener('click', onReferenceClick)\n\n if (!props.lazy) {\n tip.popperInstance = createPopperInstance()\n tip.popperInstance.disableEventListeners()\n }\n\n if (props.showOnInit) {\n prepareShow()\n }\n\n // Ensure the reference element can receive focus (and is not a delegate)\n if (props.a11y && !props.target && !elementCanReceiveFocus(reference)) {\n reference.setAttribute('tabindex', '0')\n }\n\n // Install shortcuts\n reference._tippy = tip\n popper._tippy = tip\n\n return tip\n\n /* ======================= ๐Ÿ”’ Private methods ๐Ÿ”’ ======================= */\n /**\n * If the reference was clicked, it also receives focus\n */\n function onReferenceClick() {\n defer(() => {\n referenceJustProgrammaticallyFocused = false\n })\n }\n\n /**\n * Ensure the popper's position stays correct if its dimensions change. Use\n * update() over .scheduleUpdate() so there is no 1 frame flash due to\n * async update\n */\n function addMutationObserver() {\n popperMutationObserver = new MutationObserver(() => {\n tip.popperInstance.update()\n })\n popperMutationObserver.observe(popper, {\n childList: true,\n subtree: true,\n characterData: true\n })\n }\n\n /**\n * Positions the virtual reference near the mouse cursor\n */\n function positionVirtualReferenceNearCursor(event) {\n const { clientX, clientY } = (lastMouseMoveEvent = event)\n\n if (!tip.popperInstance) {\n return\n }\n\n // Ensure virtual reference is padded by 5px to prevent tooltip from\n // overflowing. Maybe Popper.js issue?\n const placement = getPopperPlacement(tip.popper)\n const padding = tip.popperChildren.arrow ? 20 : 5\n const isVerticalPlacement = placement === 'top' || placement === 'bottom'\n const isHorizontalPlacement = placement === 'left' || placement === 'right'\n\n // Top / left boundary\n let x = isVerticalPlacement ? Math.max(padding, clientX) : clientX\n let y = isHorizontalPlacement ? Math.max(padding, clientY) : clientY\n\n // Bottom / right boundary\n if (isVerticalPlacement && x > padding) {\n x = Math.min(clientX, window.innerWidth - padding)\n }\n if (isHorizontalPlacement && y > padding) {\n y = Math.min(clientY, window.innerHeight - padding)\n }\n\n const rect = tip.reference.getBoundingClientRect()\n const { followCursor } = tip.props\n const isHorizontal = followCursor === 'horizontal'\n const isVertical = followCursor === 'vertical'\n\n tip.popperInstance.reference = {\n getBoundingClientRect: () => ({\n width: 0,\n height: 0,\n top: isHorizontal ? rect.top : y,\n bottom: isHorizontal ? rect.bottom : y,\n left: isVertical ? rect.left : x,\n right: isVertical ? rect.right : x\n }),\n clientWidth: 0,\n clientHeight: 0\n }\n\n tip.popperInstance.scheduleUpdate()\n }\n\n /**\n * Creates the tippy instance for a delegate when it's been triggered\n */\n function createDelegateChildTippy(event) {\n const targetEl = closest(event.target, tip.props.target)\n if (targetEl && !targetEl._tippy) {\n createTippy(targetEl, {\n ...tip.props,\n target: '',\n showOnInit: true\n })\n prepareShow(event)\n }\n }\n\n /**\n * Setup before show() is invoked (delays, etc.)\n */\n function prepareShow(event) {\n clearDelayTimeouts()\n\n if (tip.state.isVisible) {\n return\n }\n\n // Is a delegate, create an instance for the child target\n if (tip.props.target) {\n return createDelegateChildTippy(event)\n }\n\n isPreparingToShow = true\n\n if (tip.props.wait) {\n return tip.props.wait(tip, event)\n }\n\n // If the tooltip has a delay, we need to be listening to the mousemove as\n // soon as the trigger event is fired, so that it's in the correct position\n // upon mount\n if (hasFollowCursorBehavior()) {\n document.addEventListener('mousemove', positionVirtualReferenceNearCursor)\n }\n\n const delay = getValue(tip.props.delay, 0, Defaults.delay)\n\n if (delay) {\n showTimeoutId = setTimeout(() => {\n show()\n }, delay)\n } else {\n show()\n }\n }\n\n /**\n * Setup before hide() is invoked (delays, etc.)\n */\n function prepareHide() {\n clearDelayTimeouts()\n\n if (!tip.state.isVisible) {\n return removeFollowCursorListener()\n }\n\n isPreparingToShow = false\n\n const delay = getValue(tip.props.delay, 1, Defaults.delay)\n\n if (delay) {\n hideTimeoutId = setTimeout(() => {\n if (tip.state.isVisible) {\n hide()\n }\n }, delay)\n } else {\n hide()\n }\n }\n\n /**\n * Removes the follow cursor listener\n */\n function removeFollowCursorListener() {\n document.removeEventListener(\n 'mousemove',\n positionVirtualReferenceNearCursor\n )\n lastMouseMoveEvent = null\n }\n\n /**\n * Cleans up old listeners\n */\n function cleanupOldMouseListeners() {\n document.body.removeEventListener('mouseleave', prepareHide)\n document.removeEventListener('mousemove', debouncedOnMouseMove)\n }\n\n /**\n * Event listener invoked upon trigger\n */\n function onTrigger(event) {\n if (!tip.state.isEnabled || isEventListenerStopped(event)) {\n return\n }\n\n if (!tip.state.isVisible) {\n lastTriggerEvent = event\n }\n\n // Toggle show/hide when clicking click-triggered tooltips\n if (\n event.type === 'click' &&\n tip.props.hideOnClick !== false &&\n tip.state.isVisible\n ) {\n prepareHide()\n } else {\n prepareShow(event)\n }\n }\n\n /**\n * Event listener used for interactive tooltips to detect when they should\n * hide\n */\n function onMouseMove(event) {\n const referenceTheCursorIsOver = closestCallback(\n event.target,\n el => el._tippy\n )\n\n const isCursorOverPopper =\n closest(event.target, Selectors.POPPER) === tip.popper\n const isCursorOverReference = referenceTheCursorIsOver === tip.reference\n\n if (isCursorOverPopper || isCursorOverReference) {\n return\n }\n\n if (\n isCursorOutsideInteractiveBorder(\n getPopperPlacement(tip.popper),\n tip.popper.getBoundingClientRect(),\n event,\n tip.props\n )\n ) {\n cleanupOldMouseListeners()\n prepareHide()\n }\n }\n\n /**\n * Event listener invoked upon mouseleave\n */\n function onMouseLeave(event) {\n if (isEventListenerStopped(event)) {\n return\n }\n\n if (tip.props.interactive) {\n document.body.addEventListener('mouseleave', prepareHide)\n document.addEventListener('mousemove', debouncedOnMouseMove)\n return\n }\n\n prepareHide()\n }\n\n /**\n * Event listener invoked upon blur\n */\n function onBlur(event) {\n if (event.target !== tip.reference) {\n return\n }\n\n if (tip.props.interactive) {\n if (!event.relatedTarget) {\n return\n }\n if (closest(event.relatedTarget, Selectors.POPPER)) {\n return\n }\n }\n\n prepareHide()\n }\n\n /**\n * Event listener invoked when a child target is triggered\n */\n function onDelegateShow(event) {\n if (closest(event.target, tip.props.target)) {\n prepareShow(event)\n }\n }\n\n /**\n * Event listener invoked when a child target should hide\n */\n function onDelegateHide(event) {\n if (closest(event.target, tip.props.target)) {\n prepareHide()\n }\n }\n\n /**\n * Determines if an event listener should stop further execution due to the\n * `touchHold` option\n */\n function isEventListenerStopped(event) {\n const isTouchEvent = event.type.indexOf('touch') > -1\n const caseA =\n supportsTouch && isUsingTouch && tip.props.touchHold && !isTouchEvent\n const caseB = isUsingTouch && !tip.props.touchHold && isTouchEvent\n return caseA || caseB\n }\n\n /**\n * Creates the popper instance for the tip\n */\n function createPopperInstance() {\n const { tooltip } = tip.popperChildren\n const { popperOptions } = tip.props\n\n const arrowSelector =\n Selectors[tip.props.arrowType === 'round' ? 'ROUND_ARROW' : 'ARROW']\n const arrow = tooltip.querySelector(arrowSelector)\n\n const config = {\n placement: tip.props.placement,\n ...(popperOptions || {}),\n modifiers: {\n ...(popperOptions ? popperOptions.modifiers : {}),\n arrow: {\n element: arrowSelector,\n ...(popperOptions && popperOptions.modifiers\n ? popperOptions.modifiers.arrow\n : {})\n },\n flip: {\n enabled: tip.props.flip,\n padding: tip.props.distance + 5 /* 5px from viewport boundary */,\n behavior: tip.props.flipBehavior,\n ...(popperOptions && popperOptions.modifiers\n ? popperOptions.modifiers.flip\n : {})\n },\n offset: {\n offset: tip.props.offset,\n ...(popperOptions && popperOptions.modifiers\n ? popperOptions.modifiers.offset\n : {})\n }\n },\n onCreate() {\n tooltip.style[getPopperPlacement(tip.popper)] = getOffsetDistanceInPx(\n tip.props.distance,\n Defaults.distance\n )\n\n if (arrow && tip.props.arrowTransform) {\n computeArrowTransform(arrow, tip.props.arrowTransform)\n }\n },\n onUpdate() {\n const styles = tooltip.style\n styles.top = ''\n styles.bottom = ''\n styles.left = ''\n styles.right = ''\n styles[getPopperPlacement(tip.popper)] = getOffsetDistanceInPx(\n tip.props.distance,\n Defaults.distance\n )\n\n if (arrow && tip.props.arrowTransform) {\n computeArrowTransform(arrow, tip.props.arrowTransform)\n }\n }\n }\n\n if (!popperMutationObserver) {\n addMutationObserver()\n }\n\n return new Popper(tip.reference, tip.popper, config)\n }\n\n /**\n * Mounts the tooltip to the DOM, callback to show tooltip is run **after**\n * popper's position has updated\n */\n function mount(callback) {\n if (!tip.popperInstance) {\n tip.popperInstance = createPopperInstance()\n if (!tip.props.livePlacement || hasFollowCursorBehavior()) {\n tip.popperInstance.disableEventListeners()\n }\n } else {\n if (!hasFollowCursorBehavior()) {\n tip.popperInstance.scheduleUpdate()\n if (tip.props.livePlacement) {\n tip.popperInstance.enableEventListeners()\n }\n }\n }\n\n // If the instance previously had followCursor behavior, it will be\n // positioned incorrectly if triggered by `focus` afterwards.\n // Update the reference back to the real DOM element\n tip.popperInstance.reference = tip.reference\n const { arrow } = tip.popperChildren\n\n if (hasFollowCursorBehavior()) {\n if (arrow) {\n arrow.style.margin = '0'\n }\n const delay = getValue(tip.props.delay, 0, Defaults.delay)\n if (lastTriggerEvent.type) {\n positionVirtualReferenceNearCursor(\n delay && lastMouseMoveEvent ? lastMouseMoveEvent : lastTriggerEvent\n )\n }\n } else if (arrow) {\n arrow.style.margin = ''\n }\n\n afterPopperPositionUpdates(tip.popperInstance, callback)\n\n if (!tip.props.appendTo.contains(tip.popper)) {\n tip.props.appendTo.appendChild(tip.popper)\n tip.props.onMount(tip)\n tip.state.isMounted = true\n }\n }\n\n /**\n * Determines if the instance is in `followCursor` mode\n */\n function hasFollowCursorBehavior() {\n return (\n tip.props.followCursor &&\n !isUsingTouch &&\n lastTriggerEvent.type !== 'focus'\n )\n }\n\n /**\n * Updates the tooltip's position on each animation frame + timeout\n */\n function makeSticky() {\n applyTransitionDuration([tip.popper], isIE ? 0 : tip.props.updateDuration)\n\n const updatePosition = () => {\n if (tip.popperInstance) {\n tip.popperInstance.scheduleUpdate()\n }\n\n if (tip.state.isMounted) {\n requestAnimationFrame(updatePosition)\n } else {\n applyTransitionDuration([tip.popper], 0)\n }\n }\n\n updatePosition()\n }\n\n /**\n * Invokes a callback once the tooltip has fully transitioned out\n */\n function onTransitionedOut(duration, callback) {\n onTransitionEnd(duration, () => {\n if (!tip.state.isVisible && tip.props.appendTo.contains(tip.popper)) {\n callback()\n }\n })\n }\n\n /**\n * Invokes a callback once the tooltip has fully transitioned in\n */\n function onTransitionedIn(duration, callback) {\n onTransitionEnd(duration, callback)\n }\n\n /**\n * Invokes a callback once the tooltip's CSS transition ends\n */\n function onTransitionEnd(duration, callback) {\n // Make callback synchronous if duration is 0\n if (duration === 0) {\n return callback()\n }\n\n const { tooltip } = tip.popperChildren\n\n const listener = e => {\n if (e.target === tooltip) {\n toggleTransitionEndListener(tooltip, 'remove', listener)\n callback()\n }\n }\n\n toggleTransitionEndListener(tooltip, 'remove', transitionEndListener)\n toggleTransitionEndListener(tooltip, 'add', listener)\n\n transitionEndListener = listener\n }\n\n /**\n * Adds an event listener to the reference\n */\n function on(eventType, handler, acc) {\n tip.reference.addEventListener(eventType, handler)\n acc.push({ eventType, handler })\n }\n\n /**\n * Adds event listeners to the reference based on the `trigger` prop\n */\n function addTriggersToReference() {\n listeners = tip.props.trigger\n .trim()\n .split(' ')\n .reduce((acc, eventType) => {\n if (eventType === 'manual') {\n return acc\n }\n\n if (!tip.props.target) {\n on(eventType, onTrigger, acc)\n\n if (tip.props.touchHold) {\n on('touchstart', onTrigger, acc)\n on('touchend', onMouseLeave, acc)\n }\n\n switch (eventType) {\n case 'mouseenter':\n on('mouseleave', onMouseLeave, acc)\n break\n case 'focus':\n on(isIE ? 'focusout' : 'blur', onBlur, acc)\n break\n }\n } else {\n switch (eventType) {\n case 'mouseenter':\n on('mouseover', onDelegateShow, acc)\n on('mouseout', onDelegateHide, acc)\n break\n case 'focus':\n on('focusin', onDelegateShow, acc)\n on('focusout', onDelegateHide, acc)\n break\n case 'click':\n on(eventType, onDelegateShow, acc)\n break\n }\n }\n\n return acc\n }, [])\n }\n\n /**\n * Removes event listeners from the reference\n */\n function removeTriggersFromReference() {\n listeners.forEach(({ eventType, handler }) => {\n tip.reference.removeEventListener(eventType, handler)\n })\n }\n\n /* ======================= ๐Ÿ”‘ Public methods ๐Ÿ”‘ ======================= */\n /**\n * Enables the instance to allow it to show or hide\n */\n function enable() {\n tip.state.isEnabled = true\n }\n\n /**\n * Disables the instance to disallow it to show or hide\n */\n function disable() {\n tip.state.isEnabled = false\n }\n\n /**\n * Clears pending timeouts related to the `delay` prop if any\n */\n function clearDelayTimeouts() {\n clearTimeout(showTimeoutId)\n clearTimeout(hideTimeoutId)\n }\n\n /**\n * Sets new props for the instance and redraws the tooltip\n */\n function set(options = {}) {\n validateOptions(options, Defaults)\n\n const prevProps = tip.props\n const nextProps = evaluateProps(tip.reference, {\n ...tip.props,\n ...options,\n performance: true\n })\n nextProps.performance = options.hasOwnProperty('performance')\n ? options.performance\n : prevProps.performance\n tip.props = nextProps\n\n if (\n options.hasOwnProperty('trigger') ||\n options.hasOwnProperty('touchHold')\n ) {\n removeTriggersFromReference()\n addTriggersToReference()\n }\n\n if (options.hasOwnProperty('interactiveDebounce')) {\n cleanupOldMouseListeners()\n debouncedOnMouseMove = debounce(onMouseMove, options.interactiveDebounce)\n }\n\n updatePopperElement(tip.popper, prevProps, nextProps)\n tip.popperChildren = getChildren(tip.popper)\n\n if (\n tip.popperInstance &&\n POPPER_INSTANCE_RELATED_PROPS.some(prop => options.hasOwnProperty(prop))\n ) {\n tip.popperInstance.destroy()\n tip.popperInstance = createPopperInstance()\n if (!tip.state.isVisible) {\n tip.popperInstance.disableEventListeners()\n }\n if (tip.props.followCursor && lastMouseMoveEvent) {\n positionVirtualReferenceNearCursor(lastMouseMoveEvent)\n }\n }\n }\n\n /**\n * Shortcut for .set({ content: newContent })\n */\n function setContent(content) {\n set({ content })\n }\n\n /**\n * Shows the tooltip\n */\n function show(\n duration = getValue(tip.props.duration, 0, Defaults.duration[0])\n ) {\n if (\n tip.state.isDestroyed ||\n !tip.state.isEnabled ||\n (isUsingTouch && !tip.props.touch)\n ) {\n return\n }\n\n // Destroy tooltip if the reference element is no longer on the DOM\n if (\n !tip.reference.isVirtual &&\n !document.documentElement.contains(tip.reference)\n ) {\n return destroy()\n }\n\n // Do not show tooltip if the reference element has a `disabled` attribute\n if (tip.reference.hasAttribute('disabled')) {\n return\n }\n\n // If the reference was just programmatically focused for accessibility\n // reasons\n if (referenceJustProgrammaticallyFocused) {\n referenceJustProgrammaticallyFocused = false\n return\n }\n\n if (tip.props.onShow(tip) === false) {\n return\n }\n\n tip.popper.style.visibility = 'visible'\n tip.state.isVisible = true\n\n // Prevent a transition if the popper is at the opposite placement\n applyTransitionDuration(\n [tip.popper, tip.popperChildren.tooltip, tip.popperChildren.backdrop],\n 0\n )\n\n mount(() => {\n if (!tip.state.isVisible) {\n return\n }\n\n // Arrow will sometimes not be positioned correctly. Force another update\n if (!hasFollowCursorBehavior()) {\n tip.popperInstance.update()\n }\n\n applyTransitionDuration(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n duration\n )\n if (tip.popperChildren.backdrop) {\n tip.popperChildren.content.style.transitionDelay =\n Math.round(duration / 6) + 'ms'\n }\n\n if (tip.props.interactive) {\n tip.reference.classList.add('tippy-active')\n }\n\n if (tip.props.sticky) {\n makeSticky()\n }\n\n setVisibilityState(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n 'visible'\n )\n\n onTransitionedIn(duration, () => {\n if (tip.props.updateDuration === 0) {\n tip.popperChildren.tooltip.classList.add('tippy-notransition')\n }\n\n if (\n tip.props.interactive &&\n ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1\n ) {\n focus(tip.popper)\n }\n\n tip.reference.setAttribute('aria-describedby', tip.popper.id)\n\n tip.props.onShown(tip)\n tip.state.isShown = true\n })\n })\n }\n\n /**\n * Hides the tooltip\n */\n function hide(\n duration = getValue(tip.props.duration, 1, Defaults.duration[1])\n ) {\n if (tip.state.isDestroyed || !tip.state.isEnabled) {\n return\n }\n\n if (tip.props.onHide(tip) === false) {\n return\n }\n\n if (tip.props.updateDuration === 0) {\n tip.popperChildren.tooltip.classList.remove('tippy-notransition')\n }\n\n if (tip.props.interactive) {\n tip.reference.classList.remove('tippy-active')\n }\n\n tip.popper.style.visibility = 'hidden'\n tip.state.isVisible = false\n tip.state.isShown = false\n\n applyTransitionDuration(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n duration\n )\n\n setVisibilityState(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n 'hidden'\n )\n\n if (\n tip.props.interactive &&\n !referenceJustProgrammaticallyFocused &&\n ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1\n ) {\n if (lastTriggerEvent.type === 'focus') {\n referenceJustProgrammaticallyFocused = true\n }\n focus(tip.reference)\n }\n\n onTransitionedOut(duration, () => {\n if (!isPreparingToShow) {\n removeFollowCursorListener()\n }\n\n tip.reference.removeAttribute('aria-describedby')\n\n tip.popperInstance.disableEventListeners()\n\n tip.props.appendTo.removeChild(tip.popper)\n tip.state.isMounted = false\n\n tip.props.onHidden(tip)\n })\n }\n\n /**\n * Destroys the tooltip\n */\n function destroy(destroyTargetInstances) {\n if (tip.state.isDestroyed) {\n return\n }\n\n // If the popper is currently mounted to the DOM, we want to ensure it gets\n // hidden and unmounted instantly upon destruction\n if (tip.state.isMounted) {\n hide(0)\n }\n\n removeTriggersFromReference()\n\n tip.reference.removeEventListener('click', onReferenceClick)\n\n delete tip.reference._tippy\n\n if (tip.props.target && destroyTargetInstances) {\n toArray(tip.reference.querySelectorAll(tip.props.target)).forEach(\n child => child._tippy && child._tippy.destroy()\n )\n }\n\n if (tip.popperInstance) {\n tip.popperInstance.destroy()\n }\n\n if (popperMutationObserver) {\n popperMutationObserver.disconnect()\n }\n\n tip.state.isDestroyed = true\n }\n}\n","import { h, app } from 'hyperapp'\nimport tippy from '../../../dist/tippy.js'\nimport { isBrowser } from '../utils'\n\nconst Tippy = (realProps, [reference]) => {\n const props = {\n ...realProps,\n content: realProps.content || \"I'm a Tippy tooltip\"\n }\n\n if (props.content.constructor === Object && !props.target) {\n const container = isBrowser && document.createElement('div')\n app({}, {}, props.content, container)\n props.content = container\n }\n\n const update = element => {\n setTimeout(() => {\n element._tippy.set(props)\n }, 1)\n }\n\n return (\n !element._tippy && tippy(element, props)}\n onupdate={element => element._tippy && update(element)}\n ondestroy={element => element._tippy && element._tippy.destroy()}\n >\n {reference.children}\n \n )\n}\n\nTippy.secondary = (props, children) => (\n ref.parentNode}\n theme=\"secondary\"\n >\n {children}\n \n)\n\nexport default Tippy\n","import { h } from 'hyperapp'\nimport logo from '../../assets/img/logo.svg'\nimport { version } from '../../../package.json'\nimport Emoji from '../components/Emoji'\nimport Tippy from '../components/Tippy'\n\nexport default () => (\n
\n
\n \n
\n

\n Tippy.js\n v{version}\n

\n
\n

\n A highly customizable vanilla JS tooltip & popover library\n

\n
\n
\n \n ๐Ÿ“ฆ\n 14.8 kB\n \n
\n
\n positioning engine behind the tooltips.\"\n arrow={true}\n theme=\"light\"\n offset=\"0, 2\"\n sticky={true}\n updateDuration={250}\n arrowType=\"round\"\n >\n \n โšก\n Powered by Popper.js\n \n \n
\n
\n \n Go to v2 docs (old)\n \n
\n
\n \n Star\n \n
\n
\n
\n
\n)\n","import { h } from 'hyperapp'\nimport logo from '../../assets/img/logo.svg'\nimport Tippy from '../components/Tippy'\nimport Emoji from '../components/Emoji'\n\nconst ANIMATIONS = [\n 'shift-away',\n 'shift-toward',\n 'perspective',\n 'fade',\n 'scale'\n]\n\nconst printValue = value =>\n Array.isArray(value) ? `[${value.join(', ')}]` : value\n\nconst NO_GPU_ACCELERATION = {\n modifiers: {\n computeStyle: { gpuAcceleration: false }\n }\n}\n\nexport default () => (\n
\n

Tippy's features

\n
\n

Default

\n

\n The default tippy tooltip looks like this when given no options. It has\n a nifty backdrop filling animation!\n

\n \n \n \n
\n\n
\n \n โ†•๏ธ\n \n

Placement

\n

\n A tooltip can be placed in four different ways in relation to its\n reference element. Additionally, the tooltip can be shifted using the\n suffix -start or -end.\n

\n {['top', 'bottom', 'left', 'right', 'top-start', 'top-end'].map(\n placement => (\n \n \n \n )\n )}\n
\n\n
\n \n โ–ถ๏ธ\n \n

Arrows

\n

\n Arrows point toward the reference element. There are two different types\n of arrows: sharp and round. You can transform the proportion and scale\n of the arrows any way you like.\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n
\n \n ๐Ÿ‘\n \n

Triggers

\n

Triggers define the types of events that cause a tooltip to show.

\n \n \n \n \n \n \n \n \n \n
\n\n
\n \n โœ๏ธ\n \n

Interactivity

\n

\n Tooltips can be interactive, meaning they won't hide when you hover over\n or click on them.\n

\n \n \n \n \n \n \n
\n\n
\n \n ๐Ÿ’ซ\n \n

Animations

\n

Tooltips can have different types of animations.

\n {ANIMATIONS.map(animation => (\n \n \n \n ))}\n {ANIMATIONS.filter(animation => animation !== 'fade').map(animation => (\n \n \n \n ))}\n tip.set({ animation: 'scale' })}\n onHide={tip => tip.set({ animation: 'fade' })}\n arrow={true}\n >\n \n \n
\n\n
\n \n โฑ๏ธ\n \n

Duration

\n

A tippy can have different transition durations.

\n {[0, 200, 1000, [250, 1000], [1000, 500]].map(duration => (\n \n \n \n ))}\n
\n\n
\n \n โณ\n \n

Delay

\n

\n Tooltips can delay showing or{' '}\n \n \n hiding*\n \n {' '}\n after a trigger.\n

\n {[0, 200, 800, [800, 0], [200, 800]].map(delay => (\n \n \n \n ))}\n
\n\n
\n \n ๐Ÿ–ผ๏ธ\n \n

HTML

\n

\n Tooltips can contain HTML, allowing you to craft awesome interactive\n popovers.\n

\n el.parentNode}\n interactive={true}\n theme=\"light rounded\"\n arrow={true}\n size=\"large\"\n arrowTransform=\"scale(2)\"\n distance={15}\n interactiveBorder={20}\n content={\n
\n \n

\n Look! The tippy logo is inside a tippy.\n

\n e.target.closest('.tippy-popper')._tippy.hide()}\n >\n Close\n \n
\n }\n >\n \n \n
\n\n
\n \n ๐Ÿ–Œ๏ธ\n \n

Themes

\n

\n A tippy can have any kind of theme you want! Creating a custom theme is\n a breeze.\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n
\n \n ๐Ÿ˜\n \n

Misc

\n

\n Tippy has a ton of{' '}\n \n Missing a feature you need? Submit a{' '}\n \n feature request\n {' '}\n on the GitHub repo!\n

\n }\n >\n \n features\n \n \n , and it's constantly improving.\n

\n \n \n \n \n {\n event.preventDefault()\n }}\n >\n Touch & hold\n \n \n ref.parentNode}\n animation=\"fade\"\n onHide={tip => {\n const anchor = tip.popper.querySelector('a')\n if (anchor && anchor._tippy && anchor._tippy.state.isVisible) {\n return false\n }\n }}\n trigger=\"click\"\n content={\n
    \n
  • \n ref.parentNode}\n animation=\"fade\"\n popperOptions={NO_GPU_ACCELERATION} // Appears blurry on Safari otherwise\n content={\n
      \n
    • \n {\n return tip.reference.closest('.tippy-popper')._tippy\n .state.isVisible\n }}\n >\n \n \n
    • \n
    \n }\n >\n Open submenu >\n \n
  • \n
\n }\n >\n \n \n \n \n \n \n \n \n
\n
\n)\n","import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\n\nconst Subheading = scope => (props, children) => {\n const id = toKebabCase(\n scope + children.find(child => typeof child === 'string')\n )\n return (\n

\n {children}\n

\n )\n}\n\nexport default (scope, children) => {\n if (typeof scope === 'string') {\n return Subheading(scope)\n }\n const id = toKebabCase(children[0])\n const link = {children}\n return (\n
\n

{link}

\n
\n )\n}\n","import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\nimport Emoji from './Emoji'\nimport Heading from './Heading'\n\nexport default ({ title, emoji }, children) => (\n
\n \n {emoji}\n \n {title}\n {children}\n
\n)\n","\n/* **********************************************\n Begin prism-core.js\n********************************************** */\n\nvar _self = (typeof window !== 'undefined')\n\t? window // if in browser\n\t: (\n\t\t(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)\n\t\t? self // if in worker\n\t\t: {} // if in node js\n\t);\n\n/**\n * Prism: Lightweight, robust, elegant syntax highlighting\n * MIT license http://www.opensource.org/licenses/mit-license.php/\n * @author Lea Verou http://lea.verou.me\n */\n\nvar Prism = (function(){\n\n// Private helper vars\nvar lang = /\\blang(?:uage)?-([\\w-]+)\\b/i;\nvar uniqueId = 0;\n\nvar _ = _self.Prism = {\n\tmanual: _self.Prism && _self.Prism.manual,\n\tdisableWorkerMessageHandler: _self.Prism && _self.Prism.disableWorkerMessageHandler,\n\tutil: {\n\t\tencode: function (tokens) {\n\t\t\tif (tokens instanceof Token) {\n\t\t\t\treturn new Token(tokens.type, _.util.encode(tokens.content), tokens.alias);\n\t\t\t} else if (_.util.type(tokens) === 'Array') {\n\t\t\t\treturn tokens.map(_.util.encode);\n\t\t\t} else {\n\t\t\t\treturn tokens.replace(/&/g, '&').replace(/ text.length) {\n\t\t\t\t\t\t// Something went terribly wrong, ABORT, ABORT!\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (str instanceof Token) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (greedy && i != strarr.length - 1) {\n\t\t\t\t\t\tpattern.lastIndex = pos;\n\t\t\t\t\t\tvar match = pattern.exec(text);\n\t\t\t\t\t\tif (!match) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar from = match.index + (lookbehind ? match[1].length : 0),\n\t\t\t\t\t\t to = match.index + match[0].length,\n\t\t\t\t\t\t k = i,\n\t\t\t\t\t\t p = pos;\n\n\t\t\t\t\t\tfor (var len = strarr.length; k < len && (p < to || (!strarr[k].type && !strarr[k - 1].greedy)); ++k) {\n\t\t\t\t\t\t\tp += strarr[k].length;\n\t\t\t\t\t\t\t// Move the index i to the element in strarr that is closest to from\n\t\t\t\t\t\t\tif (from >= p) {\n\t\t\t\t\t\t\t\t++i;\n\t\t\t\t\t\t\t\tpos = p;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// If strarr[i] is a Token, then the match starts inside another Token, which is invalid\n\t\t\t\t\t\tif (strarr[i] instanceof Token) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Number of tokens to delete and replace with the new match\n\t\t\t\t\t\tdelNum = k - i;\n\t\t\t\t\t\tstr = text.slice(pos, p);\n\t\t\t\t\t\tmatch.index -= pos;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpattern.lastIndex = 0;\n\n\t\t\t\t\t\tvar match = pattern.exec(str),\n\t\t\t\t\t\t\tdelNum = 1;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!match) {\n\t\t\t\t\t\tif (oneshot) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tif(lookbehind) {\n\t\t\t\t\t\tlookbehindLength = match[1] ? match[1].length : 0;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar from = match.index + lookbehindLength,\n\t\t\t\t\t match = match[0].slice(lookbehindLength),\n\t\t\t\t\t to = from + match.length,\n\t\t\t\t\t before = str.slice(0, from),\n\t\t\t\t\t after = str.slice(to);\n\n\t\t\t\t\tvar args = [i, delNum];\n\n\t\t\t\t\tif (before) {\n\t\t\t\t\t\t++i;\n\t\t\t\t\t\tpos += before.length;\n\t\t\t\t\t\targs.push(before);\n\t\t\t\t\t}\n\n\t\t\t\t\tvar wrapped = new Token(token, inside? _.tokenize(match, inside) : match, alias, match, greedy);\n\n\t\t\t\t\targs.push(wrapped);\n\n\t\t\t\t\tif (after) {\n\t\t\t\t\t\targs.push(after);\n\t\t\t\t\t}\n\n\t\t\t\t\tArray.prototype.splice.apply(strarr, args);\n\n\t\t\t\t\tif (delNum != 1)\n\t\t\t\t\t\t_.matchGrammar(text, strarr, grammar, i, pos, true, token);\n\n\t\t\t\t\tif (oneshot)\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\ttokenize: function(text, grammar, language) {\n\t\tvar strarr = [text];\n\n\t\tvar rest = grammar.rest;\n\n\t\tif (rest) {\n\t\t\tfor (var token in rest) {\n\t\t\t\tgrammar[token] = rest[token];\n\t\t\t}\n\n\t\t\tdelete grammar.rest;\n\t\t}\n\n\t\t_.matchGrammar(text, strarr, grammar, 0, 0, false);\n\n\t\treturn strarr;\n\t},\n\n\thooks: {\n\t\tall: {},\n\n\t\tadd: function (name, callback) {\n\t\t\tvar hooks = _.hooks.all;\n\n\t\t\thooks[name] = hooks[name] || [];\n\n\t\t\thooks[name].push(callback);\n\t\t},\n\n\t\trun: function (name, env) {\n\t\t\tvar callbacks = _.hooks.all[name];\n\n\t\t\tif (!callbacks || !callbacks.length) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (var i=0, callback; callback = callbacks[i++];) {\n\t\t\t\tcallback(env);\n\t\t\t}\n\t\t}\n\t}\n};\n\nvar Token = _.Token = function(type, content, alias, matchedStr, greedy) {\n\tthis.type = type;\n\tthis.content = content;\n\tthis.alias = alias;\n\t// Copy of the full string this token was created from\n\tthis.length = (matchedStr || \"\").length|0;\n\tthis.greedy = !!greedy;\n};\n\nToken.stringify = function(o, language, parent) {\n\tif (typeof o == 'string') {\n\t\treturn o;\n\t}\n\n\tif (_.util.type(o) === 'Array') {\n\t\treturn o.map(function(element) {\n\t\t\treturn Token.stringify(element, language, o);\n\t\t}).join('');\n\t}\n\n\tvar env = {\n\t\ttype: o.type,\n\t\tcontent: Token.stringify(o.content, language, parent),\n\t\ttag: 'span',\n\t\tclasses: ['token', o.type],\n\t\tattributes: {},\n\t\tlanguage: language,\n\t\tparent: parent\n\t};\n\n\tif (o.alias) {\n\t\tvar aliases = _.util.type(o.alias) === 'Array' ? o.alias : [o.alias];\n\t\tArray.prototype.push.apply(env.classes, aliases);\n\t}\n\n\t_.hooks.run('wrap', env);\n\n\tvar attributes = Object.keys(env.attributes).map(function(name) {\n\t\treturn name + '=\"' + (env.attributes[name] || '').replace(/\"/g, '"') + '\"';\n\t}).join(' ');\n\n\treturn '<' + env.tag + ' class=\"' + env.classes.join(' ') + '\"' + (attributes ? ' ' + attributes : '') + '>' + env.content + '';\n\n};\n\nif (!_self.document) {\n\tif (!_self.addEventListener) {\n\t\t// in Node.js\n\t\treturn _self.Prism;\n\t}\n\n\tif (!_.disableWorkerMessageHandler) {\n\t\t// In worker\n\t\t_self.addEventListener('message', function (evt) {\n\t\t\tvar message = JSON.parse(evt.data),\n\t\t\t\tlang = message.language,\n\t\t\t\tcode = message.code,\n\t\t\t\timmediateClose = message.immediateClose;\n\n\t\t\t_self.postMessage(_.highlight(code, _.languages[lang], lang));\n\t\t\tif (immediateClose) {\n\t\t\t\t_self.close();\n\t\t\t}\n\t\t}, false);\n\t}\n\n\treturn _self.Prism;\n}\n\n//Get current script and highlight\nvar script = document.currentScript || [].slice.call(document.getElementsByTagName(\"script\")).pop();\n\nif (script) {\n\t_.filename = script.src;\n\n\tif (!_.manual && !script.hasAttribute('data-manual')) {\n\t\tif(document.readyState !== \"loading\") {\n\t\t\tif (window.requestAnimationFrame) {\n\t\t\t\twindow.requestAnimationFrame(_.highlightAll);\n\t\t\t} else {\n\t\t\t\twindow.setTimeout(_.highlightAll, 16);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tdocument.addEventListener('DOMContentLoaded', _.highlightAll);\n\t\t}\n\t}\n}\n\nreturn _self.Prism;\n\n})();\n\nif (typeof module !== 'undefined' && module.exports) {\n\tmodule.exports = Prism;\n}\n\n// hack for components to work correctly in node.js\nif (typeof global !== 'undefined') {\n\tglobal.Prism = Prism;\n}\n\n\n/* **********************************************\n Begin prism-markup.js\n********************************************** */\n\nPrism.languages.markup = {\n\t'comment': //,\n\t'prolog': /<\\?[\\s\\S]+?\\?>/,\n\t'doctype': //i,\n\t'cdata': //i,\n\t'tag': {\n\t\tpattern: /<\\/?(?!\\d)[^\\s>\\/=$<%]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,\n\t\tgreedy: true,\n\t\tinside: {\n\t\t\t'tag': {\n\t\t\t\tpattern: /^<\\/?[^\\s>\\/]+/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': /^<\\/?/,\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t},\n\t\t\t'attr-value': {\n\t\t\t\tpattern: /=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+)/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': [\n\t\t\t\t\t\t/^=/,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpattern: /(^|[^\\\\])[\"']/,\n\t\t\t\t\t\t\tlookbehind: true\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t},\n\t\t\t'punctuation': /\\/?>/,\n\t\t\t'attr-name': {\n\t\t\t\tpattern: /[^\\s>\\/]+/,\n\t\t\t\tinside: {\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t},\n\t'entity': /&#?[\\da-z]{1,8};/i\n};\n\nPrism.languages.markup['tag'].inside['attr-value'].inside['entity'] =\n\tPrism.languages.markup['entity'];\n\n// Plugin to make entity title show the real entity, idea by Roman Komarov\nPrism.hooks.add('wrap', function(env) {\n\n\tif (env.type === 'entity') {\n\t\tenv.attributes['title'] = env.content.replace(/&/, '&');\n\t}\n});\n\nPrism.languages.xml = Prism.languages.markup;\nPrism.languages.html = Prism.languages.markup;\nPrism.languages.mathml = Prism.languages.markup;\nPrism.languages.svg = Prism.languages.markup;\n\n\n/* **********************************************\n Begin prism-css.js\n********************************************** */\n\nPrism.languages.css = {\n\t'comment': /\\/\\*[\\s\\S]*?\\*\\//,\n\t'atrule': {\n\t\tpattern: /@[\\w-]+?.*?(?:;|(?=\\s*\\{))/i,\n\t\tinside: {\n\t\t\t'rule': /@[\\w-]+/\n\t\t\t// See rest below\n\t\t}\n\t},\n\t'url': /url\\((?:([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1|.*?)\\)/i,\n\t'selector': /[^{}\\s][^{};]*?(?=\\s*\\{)/,\n\t'string': {\n\t\tpattern: /(\"|')(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t\tgreedy: true\n\t},\n\t'property': /[-_a-z\\xA0-\\uFFFF][-\\w\\xA0-\\uFFFF]*(?=\\s*:)/i,\n\t'important': /\\B!important\\b/i,\n\t'function': /[-a-z0-9]+(?=\\()/i,\n\t'punctuation': /[(){};:]/\n};\n\nPrism.languages.css['atrule'].inside.rest = Prism.languages.css;\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('markup', 'tag', {\n\t\t'style': {\n\t\t\tpattern: /()[\\s\\S]*?(?=<\\/style>)/i,\n\t\t\tlookbehind: true,\n\t\t\tinside: Prism.languages.css,\n\t\t\talias: 'language-css',\n\t\t\tgreedy: true\n\t\t}\n\t});\n\n\tPrism.languages.insertBefore('inside', 'attr-value', {\n\t\t'style-attr': {\n\t\t\tpattern: /\\s*style=(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1/i,\n\t\t\tinside: {\n\t\t\t\t'attr-name': {\n\t\t\t\t\tpattern: /^\\s*style/i,\n\t\t\t\t\tinside: Prism.languages.markup.tag.inside\n\t\t\t\t},\n\t\t\t\t'punctuation': /^\\s*=\\s*['\"]|['\"]\\s*$/,\n\t\t\t\t'attr-value': {\n\t\t\t\t\tpattern: /.+/i,\n\t\t\t\t\tinside: Prism.languages.css\n\t\t\t\t}\n\t\t\t},\n\t\t\talias: 'language-css'\n\t\t}\n\t}, Prism.languages.markup.tag);\n}\n\n/* **********************************************\n Begin prism-clike.js\n********************************************** */\n\nPrism.languages.clike = {\n\t'comment': [\n\t\t{\n\t\t\tpattern: /(^|[^\\\\])\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t{\n\t\t\tpattern: /(^|[^\\\\:])\\/\\/.*/,\n\t\t\tlookbehind: true,\n\t\t\tgreedy: true\n\t\t}\n\t],\n\t'string': {\n\t\tpattern: /([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t\tgreedy: true\n\t},\n\t'class-name': {\n\t\tpattern: /((?:\\b(?:class|interface|extends|implements|trait|instanceof|new)\\s+)|(?:catch\\s+\\())[\\w.\\\\]+/i,\n\t\tlookbehind: true,\n\t\tinside: {\n\t\t\tpunctuation: /[.\\\\]/\n\t\t}\n\t},\n\t'keyword': /\\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\\b/,\n\t'boolean': /\\b(?:true|false)\\b/,\n\t'function': /[a-z0-9_]+(?=\\()/i,\n\t'number': /\\b0x[\\da-f]+\\b|(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:e[+-]?\\d+)?/i,\n\t'operator': /--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&?|\\|\\|?|\\?|\\*|\\/|~|\\^|%/,\n\t'punctuation': /[{}[\\];(),.:]/\n};\n\n\n/* **********************************************\n Begin prism-javascript.js\n********************************************** */\n\nPrism.languages.javascript = Prism.languages.extend('clike', {\n\t'keyword': /\\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b/,\n\t'number': /\\b(?:0[xX][\\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|NaN|Infinity)\\b|(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:[Ee][+-]?\\d+)?/,\n\t// Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)\n\t'function': /[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*\\()/i,\n\t'operator': /-[-=]?|\\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\\|[|=]?|\\*\\*?=?|\\/=?|~|\\^=?|%=?|\\?|\\.{3}/\n});\n\nPrism.languages.insertBefore('javascript', 'keyword', {\n\t'regex': {\n\t\tpattern: /((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s])\\s*)\\/(\\[[^\\]\\r\\n]+]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[gimyu]{0,5}(?=\\s*($|[\\r\\n,.;})\\]]))/,\n\t\tlookbehind: true,\n\t\tgreedy: true\n\t},\n\t// This must be declared before keyword because we use \"function\" inside the look-forward\n\t'function-variable': {\n\t\tpattern: /[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*=\\s*(?:function\\b|(?:\\([^()]*\\)|[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*)\\s*=>))/i,\n\t\talias: 'function'\n\t},\n\t'constant': /\\b[A-Z][A-Z\\d_]*\\b/\n});\n\nPrism.languages.insertBefore('javascript', 'string', {\n\t'template-string': {\n\t\tpattern: /`(?:\\\\[\\s\\S]|\\${[^}]+}|[^\\\\`])*`/,\n\t\tgreedy: true,\n\t\tinside: {\n\t\t\t'interpolation': {\n\t\t\t\tpattern: /\\${[^}]+}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation-punctuation': {\n\t\t\t\t\t\tpattern: /^\\${|}$/,\n\t\t\t\t\t\talias: 'punctuation'\n\t\t\t\t\t},\n\t\t\t\t\trest: null // See below\n\t\t\t\t}\n\t\t\t},\n\t\t\t'string': /[\\s\\S]+/\n\t\t}\n\t}\n});\nPrism.languages.javascript['template-string'].inside['interpolation'].inside.rest = Prism.languages.javascript;\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('markup', 'tag', {\n\t\t'script': {\n\t\t\tpattern: /()[\\s\\S]*?(?=<\\/script>)/i,\n\t\t\tlookbehind: true,\n\t\t\tinside: Prism.languages.javascript,\n\t\t\talias: 'language-javascript',\n\t\t\tgreedy: true\n\t\t}\n\t});\n}\n\nPrism.languages.js = Prism.languages.javascript;\n\n\n/* **********************************************\n Begin prism-file-highlight.js\n********************************************** */\n\n(function () {\n\tif (typeof self === 'undefined' || !self.Prism || !self.document || !document.querySelector) {\n\t\treturn;\n\t}\n\n\tself.Prism.fileHighlight = function() {\n\n\t\tvar Extensions = {\n\t\t\t'js': 'javascript',\n\t\t\t'py': 'python',\n\t\t\t'rb': 'ruby',\n\t\t\t'ps1': 'powershell',\n\t\t\t'psm1': 'powershell',\n\t\t\t'sh': 'bash',\n\t\t\t'bat': 'batch',\n\t\t\t'h': 'c',\n\t\t\t'tex': 'latex'\n\t\t};\n\n\t\tArray.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {\n\t\t\tvar src = pre.getAttribute('data-src');\n\n\t\t\tvar language, parent = pre;\n\t\t\tvar lang = /\\blang(?:uage)?-([\\w-]+)\\b/i;\n\t\t\twhile (parent && !lang.test(parent.className)) {\n\t\t\t\tparent = parent.parentNode;\n\t\t\t}\n\n\t\t\tif (parent) {\n\t\t\t\tlanguage = (pre.className.match(lang) || [, ''])[1];\n\t\t\t}\n\n\t\t\tif (!language) {\n\t\t\t\tvar extension = (src.match(/\\.(\\w+)$/) || [, ''])[1];\n\t\t\t\tlanguage = Extensions[extension] || extension;\n\t\t\t}\n\n\t\t\tvar code = document.createElement('code');\n\t\t\tcode.className = 'language-' + language;\n\n\t\t\tpre.textContent = '';\n\n\t\t\tcode.textContent = 'Loadingโ€ฆ';\n\n\t\t\tpre.appendChild(code);\n\n\t\t\tvar xhr = new XMLHttpRequest();\n\n\t\t\txhr.open('GET', src, true);\n\n\t\t\txhr.onreadystatechange = function () {\n\t\t\t\tif (xhr.readyState == 4) {\n\n\t\t\t\t\tif (xhr.status < 400 && xhr.responseText) {\n\t\t\t\t\t\tcode.textContent = xhr.responseText;\n\n\t\t\t\t\t\tPrism.highlightElement(code);\n\t\t\t\t\t}\n\t\t\t\t\telse if (xhr.status >= 400) {\n\t\t\t\t\t\tcode.textContent = 'โœ– Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tcode.textContent = 'โœ– Error: File does not exist or is empty';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t\txhr.send(null);\n\t\t});\n\n\t\tif (Prism.plugins.toolbar) {\n\t\t\tPrism.plugins.toolbar.registerButton('download-file', function (env) {\n\t\t\t\tvar pre = env.element.parentNode;\n\t\t\t\tif (!pre || !/pre/i.test(pre.nodeName) || !pre.hasAttribute('data-src') || !pre.hasAttribute('data-download-link')) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvar src = pre.getAttribute('data-src');\n\t\t\t\tvar a = document.createElement('a');\n\t\t\t\ta.textContent = pre.getAttribute('data-download-link-label') || 'Download';\n\t\t\t\ta.setAttribute('download', '');\n\t\t\t\ta.href = src;\n\t\t\t\treturn a;\n\t\t\t});\n\t\t}\n\n\t};\n\n\tdocument.addEventListener('DOMContentLoaded', self.Prism.fileHighlight);\n\n})();","import { h } from 'hyperapp'\nimport Prism from 'prismjs'\n\nconst getLang = str => (str.match(/```(js|html|css|shell)/) || [])[1]\n\nexport default ({ content, lang, style = {} }) => {\n lang = getLang(content || '') || lang || 'js'\n return (\n
\n
\n         Prism.highlightElement(el)}\n          class={`lang-${lang}`}\n        >\n          {content.replace(/```(js|html|css|shell)([\\s\\S]*)```/g, '$2').trim()}\n        \n      
\n
\n )\n}\n","import { h } from 'hyperapp'\n\nexport default ({ to }, children) => (\n \n {children}\n \n)\n","import { h } from 'hyperapp'\nimport Section from '../components/Section'\nimport Heading from '../components/Heading'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ExternalLink from '../components/ExternalLink'\n\nconst TITLE = 'Table of Contents'\nconst Subheading = Heading(TITLE)\n\nexport const Emojis = {\n WHY: '๐Ÿค”',\n GETTING_STARTED: '๐Ÿ“ฆ',\n CREATING_TOOLTIPS: '๐Ÿ”ง',\n CUSTOMIZING_TOOLTIPS: 'โš™๏ธ',\n ALL_OPTIONS: '๐Ÿ”ฎ',\n OBJECTS: '๐Ÿท๏ธ',\n METHODS: '๐Ÿ•น',\n HTML_CONTENT: '๐Ÿ–ผ๏ธ',\n CREATING_CUSTOM_THEMES: '๐Ÿ–Œ๏ธ',\n PERFORMANCE: 'โšก๏ธ'\n}\n\nexport default () => (\n
\n \n
\n)\n","import { h } from 'hyperapp'\nimport Section from '../components/Section'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Why Use Tippy.js?'\n\nexport default () => (\n
\n

\n You might be wondering why you should use a 14 kB JS library for tooltips\n and popovers instead of a CSS solution. Pure CSS tooltips are great for\n simple tooltips when the reference element is positioned in a certain way,\n but they:\n

\n\n
    \n
  • \n Will overflow when the tooltip is large and the reference is close to\n the window edge\n
  • \n
  • Can't flip to stay optimally visible within the viewport
  • \n
  • Can't follow the mouse cursor
  • \n
  • \n Difficult to work with self-closing elements like img\n
  • \n
  • JavaScript is required for dynamic HTML content
  • \n
  • JavaScript is required to perform side effects (e.g. AJAX)
  • \n
\n\n

\n In addition, Tippy automatically handles many use cases available\n declaratively in a simple option API. Options like{' '}\n followCursor, interactive, touch,{' '}\n arrow, and the on* lifecycle functions make\n dealing with tooltips & popovers a breeze.\n

\n
\n)\n","import { h } from 'hyperapp'\nimport Section from '../components/Section'\nimport Heading from '../components/Heading'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ExternalLink from '../components/ExternalLink'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Getting Started'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n \n ๐Ÿ”— Option 1: CDN\n \n

\n Include this script from the unpkg CDN in your HTML document before your\n own scripts:\n

\n \"\n />\n

\n It's recommended to place this at the bottom of the{' '}\n <body>, or in the <head> with a{' '}\n defer attribute.\n

\n\n \n ๐Ÿ“ฆ Option 2: Package Manager\n \n

Install using either npm or yarn:

\n\n \n \n\n

\n Then you can import the tippy module:\n

\n \n\n

\n You'll also need to import Tippy's CSS. With a module bundler like Webpack\n or Parcel, it can be imported directly:\n

\n\n \n\n \n ๐ŸŽ View Library Components\n \n\n

\n If you would like to use Tippy.js as a declarative component, there are\n wrappers available.\n

\n\n
    \n
  • \n \n React\n \n
  • \n
\n\n \n ๐Ÿ“ Files\n \n

Tippy builds a bunch of different files that can be used:

\n
    \n
  • \n tippy.all.js is all dependencies (Tippy + Popper + CSS) in\n a single file. The CSS is injected into the document head.\n
  • \n
  • \n tippy.js is Tippy + Popper together, without the CSS.\n
  • \n
  • \n tippy.standalone.js is Tippy by itself, without Popper or\n the CSS. This is useful if you are using a CDN and want to use the\n latest version of Popper.js if the bundled version is outdated, or use\n Popper itself for other things.\n
  • \n
  • \n tippy.css is Tippy's CSS stylesheet by itself.\n
  • \n
\n

\n There are also .min versions of the above, which means the\n file is minified for production use.\n

\n\n \n ๐Ÿ’ป Browser support\n \n

\n Tippy is compatible with browsers with requestAnimationFrame{' '}\n and MutationObserver support (IE11+). This means most\n browsers from 2013 onwards, about 99% of desktop users and 95% of mobile\n users globally (mainly due to Opera Mini on mobile not being supported).\n

\n

\n IE11 requires a classList polyfill if using an SVG element as\n the reference.\n

\n

\n If you need to support old browsers too, you can set the native{' '}\n title attribute on desktop. On unsupported mobile browsers\n (such as Opera Mini), it's best to inline the content next to the\n reference element.\n

\n

\n โš ๏ธ\n The code throughout this documentation is making use of new JavaScript\n features (ES6+) that old browsers don't support (such as IE11). If you're\n going to copy code from here, make sure to use{' '}\n Babel to transpile it\n into ES5.\n

\n
\n)\n","import { h } from 'hyperapp'\n\nexport default (props, children) => (\n
\n

Result:

\n {children}\n
\n)\n","import { h } from 'hyperapp'\n\nimport VIRTUAL_REFERENCE from '../../snippets/virtual-reference'\nimport AUTO_TIPPY_BUTTON from '../../snippets/auto-tippy-button'\nimport FUNCTION_BUTTON from '../../snippets/function-button'\nimport FUNCTION_CALL from '../../snippets/function-call'\nimport MULTIPLE_CONTENT_HTML from '../../snippets/multiple-content-html.md'\nimport MULTIPLE_CONTENT_JS from '../../snippets/multiple-content-js.md'\n\nimport Section from '../components/Section'\nimport Code from '../components/Code'\nimport Emoji from '../components/Emoji'\nimport Tippy from '../components/Tippy'\nimport ResultBox from '../components/ResultBox'\nimport Heading from '../components/Heading'\nimport ExternalLink from '../components/ExternalLink'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Creating Tooltips'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n Method 1: Auto\n

\n Give your reference element a data-tippy attribute containing\n the tooltip content.\n

\n \n

\n When Tippy.js is loaded in the document, it will search for elements with\n the attribute and give them a tooltip automatically. This means you won't\n have to touch JavaScript at all.\n

\n
\n This technique only works on page load and is designed to be used on\n simple web pages. If you have dynamically generated elements or are using\n a view library/framework (\n \n React\n \n , Vue, Angular), use Method 2 below.\n
\n\n Method 2: Function\n

\n Use the tippy function.\n

\n \n \n \n \n \n \n \n\n

\n Using data-tippy-content allows you to use the function for\n common custom configuration while giving each tooltip different content.\n

\n\n \n \n\n \n ๐ŸŽ› Accepted inputs\n \n

\n A single{' '}\n \n D\n ocument O\n bject M\n odel - the tree structure of the HTML document where each node (such\n as a DIV tag) is represented by an object\n

\n }\n >\n \n DOM\n \n {' '}\n Element (or an array of them) will work:\n

\n\n \n

\n As well as a NodeList:\n

\n \n\n \n ๐Ÿคฏ Advanced\n \n

\n You can use a virtual element as the positioning reference instead of a\n real element:\n

\n \n\n

\n Popper.js uses these properties to determine the position of the tooltip.\n

\n
\n)\n","import { h } from 'hyperapp'\n\nimport HTML_BUTTON from '../../snippets/html-button.md'\nimport OPTIONS_OBJECT from '../../snippets/options-object.md'\nimport DATA_ATTRIBUTES from '../../snippets/data-attributes.md'\nimport SET_DEFAULTS from '../../snippets/set-defaults.md'\n\nimport Section from '../components/Section'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport Tippy from '../components/Tippy'\nimport ResultBox from '../components/ResultBox'\nimport Heading from '../components/Heading'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Customizing Tooltips'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n

\n tippy() takes an object of options as a second argument for\n you to configure the tooltips being created. Here's an example:\n

\n\n \n \n\n \n \n \n \n \n\n \n ๐Ÿท Data attributes\n \n

\n You can also specify options on the reference element itself by adding{' '}\n data-tippy-* attributes. This will override the options\n specified in the instance.\n

\n\n

\n Used in conjunction with the Auto Method, you can give elements custom\n tooltips without ever touching JavaScript.\n

\n\n \n\n \n \n \n \n \n\n Default config\n

\n Use the tippy.setDefaults() method to change the default\n configuration for tippys. It will apply these settings to every future\n instance.\n

\n\n \n\n

\n Note that the auto-initializing function is deferred with{' '}\n setTimeout(), which means you can change the default config\n before the tooltips are automatically created.\n

\n
\n)\n","import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\nimport Code from './Code'\nimport ExternalLink from './ExternalLink'\n\nimport APPEND_TO from '../../snippets/append-to'\nimport WAIT from '../../snippets/wait'\n\nconst scrollTakingIntoAccountStickyHeader = el => {\n scroll(\n 0,\n el.closest('tr').getBoundingClientRect().top -\n document.body.getBoundingClientRect().top -\n 45\n )\n}\n\nconst Prop = (props, children) => {\n const id = toKebabCase(props.name) + '-option'\n return (\n \n \n \n {\n setTimeout(() => {\n if (\n window.innerWidth >= 992 &&\n location.hash.split('#')[1] === id\n ) {\n scrollTakingIntoAccountStickyHeader(el)\n }\n })\n }}\n onclick={event => {\n if (window.innerWidth >= 992) {\n event.preventDefault()\n location.hash = id\n scrollTakingIntoAccountStickyHeader(event.currentTarget)\n }\n }}\n >\n {props.name}\n \n \n \n \n {props.default}\n \n \n {Array.isArray(props.value) ? (\n props.value.map(i => (\n
\n {i}\n
\n ))\n ) : (\n {props.value}\n )}\n \n {children}\n \n )\n}\n\nexport default () => (\n
\n \n \n \n \n \n \n \n \n \n \n \n If true, ensures the reference element can receive focus\n by adding tabindex=\"0\" if the element is not natively\n focusable like a button.\n \n \n Determines if HTML can be rendered in the tippy.\n \n \n Determines if the tippy's background fill should be animated. Disabled\n if arrow: true.\n \n \n The type of transition animation.\n \n \n The element to append the tippy to. Use a function that returns an\n element to dynamically append the tippy relative to the reference\n element.\n \n \n \n Determines if an arrow should be added to the tippy pointing toward\n the reference element.\n \n \n The type of arrow. \"sharp\" is a CSS triangle using the\n border method, while \"round\" is a custom SVG shape.\n \n \n CSS transform to apply to the arrow. Only scale and{' '}\n translate are supported. It is dynamic. Apply the\n transform that you would normally give to a \"top\"{' '}\n placement, even if the placement is different.\n \n \n The content of the tippy.\n \n \n Delay in ms once a trigger event is fired before a tippy shows or\n hides. Use an array of numbers such as [100, 500] to\n specify a different value for show and hide. Use null in\n the array to use the default value, e.g. [null, 50].\n \n \n Duration of the CSS transition animation in ms. Use an array of\n numbers such as [100, 500] to specify a different value\n for show and hide. Add null in the array to use the\n default value, e.g. [null, 50].\n \n \n How far in pixels the tippy element is from the reference element.\n Only applies to a single axis and not to the parent popper element,\n see{' '}\n \n offset\n \n .\n \n \n Determines if the tippy flips so that it is placed within the viewport\n as best it can be if there is not enough room.\n \n \n Determines the order of flipping, i.e. which placements to prefer if a\n certain placement cannot be used. Use an array such as{' '}\n [\"bottom\", \"left\"] to prefer the \"left\" placement if\n \"bottom\" is unavailable. By default, it chooses the opposite axis,\n i.e. \"top\".\n \n \n Determines if the tippy follows the user's mouse cursor while showing.\n Use the strings \"vertical\" or \"horizontal\"\n to only follow the cursor on a single axis.\n \n \n Determines if the tippy should hide if its reference element was\n clicked. For click-triggered tippys, using false will\n prevent the tippy from ever hiding once it is showing. To prevent\n clicks outside of the tippy from hiding it but still allow it to be\n toggled, use the string \"toggle\".\n \n \n Adds an attribute to the tippy element that changes the CSS transition\n timing function to add an inertial \"slingshot\" effect to the\n animation.\n \n \n Determines if a tippy should be interactive, i.e. able to be hovered\n over or clicked without hiding.\n \n \n Determines the size of the invisible border around a tippy that will\n prevent it from hiding (only relevant for the hover trigger). Useful\n to prevent the tippy from accidentally hiding from clumsy cursor\n movements.\n \n \n A number in ms that debounces the onMouseMove handler\n which determines when the tippy should hide.\n \n \n By default, the popperInstance (the positioning engine\n for the tippy) is lazily created. That is, it's only created when\n necessary (i.e. triggering the tippy for the first time). Setting this\n prop to false allows you to access the instance\n synchronously without needing to show the tippy first.\n \n \n Determines if the popper instance should listen to scroll events. This\n means it will update the position on scroll. If you don't want the\n tippy to flip around when scrolling, and the tippy's reference is not\n in a scrollable container, you can set this to false.\n \n \n Determines if the reference can have multiple tippy instances.\n \n \n An offset that Popper.js uses to offset the popper element. Can work\n with both the x and y axis, distinct from{' '}\n distance.\n \n \n Lifecycle function invoked when the tippy has fully transitioned out.\n \n \n Lifecycle function invoked when the tippy begins to transition out.\n \n \n Lifecycle function invoked when the tippy has been mounted to the DOM.\n \n \n Lifecycle function invoked when the tippy begins to transition in.\n \n \n Lifecycle function invoked when the tippy has fully transitioned in.\n \n \n If true, disables data-tippy-* attributes which reduces\n init execution by half.\n \n \n Positions the tippy relative to its reference element. Use the suffix{' '}\n -start or -end to shift the tippy to the\n start or end of the reference element, instead of centering it. For\n example, top-start or left-end.\n \n \n Specify custom Popper.js options. See the{' '}\n \n Popper.js documentation\n {' '}\n for more.\n \n true\"\n value=\"Function\"\n >\n A function that returns a boolean to determine if the popper element\n should hide if it's blurred (applies only if interactive).{' '}\n \n If the popper element is blurred (i.e. no elements within it are in\n focus), the popper is hidden. However, there are cases in which you\n may need to keep it visible even when not in focus.\n \n \n If true, the tooltip will be shown immediately once the\n instance is created. If using on page load, use{' '}\n sticky: true because the reference element can move\n around while the layout gets built by the browser after initialization\n (unless the layout is guaranteed to be static).\n \n \n The size of the tippy.\n \n \n Ensures the tippy stays stuck to its reference element if it moves\n around while showing.\n \n \n CSS selector used for event delegation.\n \n \n Themes added as classes (each separated by a space) to the tippy's\n class list, which adds a -theme suffix, i.e.{' '}\n \"dark-theme\".\n \n \n Determines if the tippy displays on touch devices.\n \n \n Determines trigger behavior on touch devices. Instead of a tap on the\n reference to show and a tap elsewhere to hide the tippy, the reference\n must be pressed and held for the tippy to show. Letting go from the\n screen will hide it. To prevent the mobile context menu from\n appearing, ensure the element cannot be selected using{' '}\n user-select: none; and/or prevent the default behavior\n for the contextmenu event.\n \n \n The events (each separated by a space) which cause a tippy to show.\n Use manual to only trigger the tippy programmatically.\n \n \n The transition duration between position updates for the{' '}\n sticky option. Set to 0 to prevent flips\n from transitioning.\n \n \n A function that, when defined, will wait until you manually invoke{' '}\n show() when a tippy is triggered. It takes the tippy\n instance and the trigger event as arguments.\n \n \n \n The z-index of the popper element.\n \n \n
PropDefaultValueDescription
\n
\n)\n","import { h } from 'hyperapp'\n\nimport AJAX from '../../snippets/ajax'\nimport EVENT_DELEGATION_HTML from '../../snippets/event-delegation-html'\nimport EVENT_DELEGATION_JS from '../../snippets/event-delegation-js'\nimport SCROLLABLE_CONTAINER from '../../snippets/scrollable-container'\nimport DISABLE_TOUCH from '../../snippets/disable-touch'\nimport HIDE_TOOLTIPS_ON_SCROLL from '../../snippets/hide-tooltips-on-scroll'\nimport CANCEL_LIFECYCLE_FUNCTION from '../../snippets/cancel-lifecycle-function'\nimport BUTTONS_WITH_TOOLTIPS_TOUCH from '../../snippets/buttons-with-tooltips-touch'\n\nimport Section from '../components/Section'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport Heading from '../components/Heading'\nimport ResultBox from '../components/ResultBox'\nimport OptionsTable from '../components/OptionsTable'\nimport Tippy from '../components/Tippy'\nimport ExternalLink from '../components/ExternalLink'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'All Options'\nconst Subheading = Heading(TITLE)\n\nconst INITIAL_AJAX_CONTENT = '
Loading...
'\n\nexport default () => (state, actions) => (\n
\n

Below is a list of all possible options you can pass to tippy.

\n\n \n\n \n ๐ŸŒ AJAX tooltips\n \n

\n Lifecycle functions allow you to do powerful things with tippys. Here's an\n example of dynamic content which on show, fetches a new random image from\n the Unsplash API.\n

\n \n \n {state.ajax.error && 'Loading failed'}\n {!state.ajax.imageSrc ? (\n 'Loading...'\n ) : (\n \n )}\n
\n }\n >\n \n \n \n \n\n

\n Note that if you don't specify the dimensions of the image (\n width and height\n ), the tooltip will be positioned incorrectly once it loads. This is\n because the position of the tooltip is updated before the image's\n dimensions become known by the browser.\n

\n

\n Improved animation with a height transition\n

\n \n {\n if (tip.state.isFetching === true || tip.state.canFetch === false) {\n return\n }\n\n tip.state.isFetching = true\n tip.state.canFetch = false\n\n const { popper } = tip\n const { tooltip, content } = tip.popperChildren\n\n popper.style.width = '200px'\n\n fetch('https://unsplash.it/200/?random')\n .then(response => response.blob())\n .then(blob => {\n tip.state.isFetching = false\n\n const url = URL.createObjectURL(blob)\n\n if (!tip.state.isVisible) {\n return\n }\n\n const img = new Image()\n img.width = 200\n img.height = 200\n img.src = url\n\n if (!tip._transitionEndListener) {\n tip._transitionEndListener = event => {\n if (event.target === event.currentTarget) {\n content.style.opacity = '1'\n tip.setContent(img)\n }\n }\n }\n tooltip.addEventListener(\n 'transitionend',\n tip._transitionEndListener\n )\n\n if (!tip._baseHeight) {\n tip._baseHeight = tooltip.clientHeight\n }\n\n content.style.opacity = '0'\n tip.setContent(img)\n const height = tooltip.clientHeight\n popper.style.height = height + 'px'\n tooltip.style.height = tip._baseHeight + 'px'\n void tooltip.offsetHeight\n tooltip.style.height = height + 'px'\n tip.setContent('')\n })\n .catch(() => {\n tip.state.isFetching = false\n })\n }}\n onHidden={tip => {\n tip.state.canFetch = true\n tip.setContent(INITIAL_AJAX_CONTENT)\n const { tooltip } = tip.popperChildren\n tooltip.style.height = null\n tooltip.removeEventListener(\n 'transitionend',\n tip._transitionEndListener\n )\n tip._transitionEndListener = null\n }}\n content={INITIAL_AJAX_CONTENT}\n >\n \n \n \n

\n See the{' '}\n \n CodePen demo\n \n .\n

\n\n \n ๐Ÿ“ก Event delegation\n \n

\n Event delegation only requires minimal setup. Your setup should look\n similar to this, with a parent element wrapping the child elements you\n would like to give tooltips to:\n

\n \n\n

\n Then, specify a CSS selector as the target that matches child\n elements which should receive tooltips\n

\n \n

\n โš ๏ธ\n Avoid binding a Tippy instance to the body, as{' '}\n mouseover / mouseout events will constantly fire as the\n cursor moves over the page. Instead, give it to the nearest possible\n parent element.\n

\n\n Tooltips inside a scrollable container\n

\n Add the following options to prevent the tippy from staying stuck within\n the viewport.\n

\n \n\n Hiding tooltips on scroll\n

\n In some cases it may be desirable to hide tooltips when scrolling (for\n example, on touch devices).\n

\n \n\n Cancel tooltips from showing or hiding\n

\n If you return false in the onShow or{' '}\n onHide lifecycle function, it will cancel the operation. Note\n that this is synchronous, so it won't wait for an AJAX request, etc.\n

\n \n\n Buttons with tooltips on touch devices\n

\n A tooltip on a button is generally used to convey information before the\n user decides to click on it. On touch devices, this isn't possible because\n a tap is required to show the tooltip, which will fire a click event.\n

\n

\n On iOS, a tap will show the tooltip but click events won't fire until a\n second tap. This allows the user to see the tooltip before deciding to\n click the button. On Android, clicking the button will show the tooltip\n and also fire a click event.\n

\n

\n Depending on your use case, one of these will be preferred, so user agent\n checking may be needed. If neither behavior is preferred, consider using\n the touchHold: true option which allows the user to see the\n tooltip while pressing and holding the button, but won't fire a click\n event unless the click appears to be intentional.\n

\n \n \n)\n","import { h } from 'hyperapp'\n\nimport TIP_COLLECTION from '../../snippets/tip-collection'\nimport TIP_INSTANCE from '../../snippets/tip-instance'\nimport ACCESS_TIPPY_INSTANCE from '../../snippets/access-tippy-instance'\nimport SHORTCUTS from '../../snippets/shortcuts'\n\nimport Section from '../components/Section'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport Heading from '../components/Heading'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Objects'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n

\n When using Tippy.js, there are two types of objects to think about:\n collections and instances.\n

\n\n Collections\n

\n Whenever you call tippy(), you are potentially creating many\n tippys at once. It returns an object containing information about the\n tippys you created.\n

\n \n

\n tipCollection is a plain object.\n

\n \n\n Tippy instances\n

\n Stored on reference elements via the _tippy property, and\n inside the instances array of the collection.\n

\n \n\n

\n Alternatively, you can use the tippy.one() method to return\n the instance directly, because only a single tippy is created.\n

\n \n

\n tip is also a plain object.\n

\n \n\n Shortcuts\n

There are a couple of shortcuts available for accessing the instance.

\n \n
\n)\n","import { h } from 'hyperapp'\n\nimport SET_METHOD from '../../snippets/set-method'\n\nimport Section from '../components/Section'\nimport Heading from '../components/Heading'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ResultBox from '../components/ResultBox'\nimport Tippy from '../components/Tippy'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Methods'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n

\n Tippy instances have 7 methods available which allow you to control the\n tooltip without the use of UI events.\n

\n\n Text\"\n />\n \n\n

\n The Tippy instance is stored on the button element via the{' '}\n _tippy property.{' '}\n

\n \n
\n Why is it prefixed with an underscore? Since we're\n attaching a non-standard property to an Element, we prefix it\n with an underscore. In the future, there may exist a real{' '}\n tippy property of elements that would get overwritten by the\n library, and real DOM properties are never prefixed with an underscore.\n
\n\n Show the tooltip\n \n\n Hide the tooltip\n \n\n Custom transition duration\n

Pass a number in as an argument to override the instance option:

\n \n\n Disable the tooltip\n

The tooltip can be temporarily disabled from showing/hiding:

\n \n\n

To re-enable:

\n \n\n Destroy the tooltip\n

\n To permanently destroy the tooltip and remove all listeners from the\n reference element:\n

\n \n\n

\n The _tippy property is deleted from the reference element\n upon destruction.\n

\n\n Update the tooltip\n

\n Pass an object of new props to the set() method to update the\n tooltip. The tooltip element will be redrawn to reflect the change.\n

\n \n\n Update the tooltip content\n

There is a shortcut for directly updating the tooltip content.

\n \n\n Static methods\n

\n There are a few static methods on the tippy function itself.\n These methods are global and do not affect a single instance.\n

\n

Hide all visible poppers on the page:

\n \n

Disable animation-related default props:

\n \n

Set the default props for each new tippy instance:

\n \n

Create a single tooltip and return the instance directly:

\n \n
\n)\n","import { h } from 'hyperapp'\n\nimport HTML_ELEMENT from '../../snippets/html-element'\nimport HTML_ELEMENT_JS from '../../snippets/html-element-js'\n\nimport Section from '../components/Section'\nimport Heading from '../components/Heading'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ResultBox from '../components/ResultBox'\nimport Tippy from '../components/Tippy'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'HTML Content'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n

\n Along with using a string of HTML content, you can provide an{' '}\n HTMLElement for the content option.\n

\n\n \n \n \n \n My HTML tooltip content\n
\n }\n >\n \n \n \n\n

\n Tippy will append the DOM element directly to the tooltip, so it will be\n removed from the page.\n

\n\n

\n What if you want to reuse it multiple times? There's a DOM method for\n deep-cloning a node.\n

\n\n \n \n)\n","import { h } from 'hyperapp'\n\nimport THEME_CSS from '../../snippets/theme-css'\nimport THEME_JS from '../../snippets/theme-js'\nimport TIPPY_ELEMENT from '../../snippets/tippy-element'\nimport TIPPY_ELEMENT_ARROW from '../../snippets/tippy-element-arrow'\nimport CSS_ARROW_STYLES from '../../snippets/css-arrow-styles'\n\nimport Section from '../components/Section'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ResultBox from '../components/ResultBox'\nimport Tippy from '../components/Tippy'\nimport Heading from '../components/Heading'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Creating Custom Themes'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n Tippy element structure\n

\n To know what selectors to use, it's helpful to understand the structure of\n a tippy element.\n

\n \n\n

\n A tippy is essentially three nested div\n s.\n

\n\n
    \n
  • \n tippy-popper is what Popper.js uses to position the tippy.\n You shouldn't apply any styles directly to this element, but you will\n need it when targeting a specific placement (x-placement\n ).\n
  • \n
  • \n tippy-tooltip is the actual tooltip. Use this to style the\n tooltip when animateFill: false.\n
  • \n
  • \n tippy-backdrop is the background fill of the tooltip. Use\n this when animateFill: true.\n
  • \n
  • \n tippy-content is anything inside the tooltip.\n
  • \n
\n\n

\n However, depending on the options you supply, additional elements may\n exist inside it, such as an arrow or backdrop (default) element.\n

\n\n \n\n Creating a theme\n\n

\n If you wanted to make a theme called honeybee, then your CSS\n would look like:\n

\n \n\n

\n The -theme suffix is required.\n

\n\n

\n To apply the theme to the tooltip, specify a theme option{' '}\n without the -theme suffix:\n

\n \n\n \n \n \n \n \n\n Styling the arrow\n

\n There are two arrow selectors: .tippy-arrow and{' '}\n .tippy-roundarrow. The first is the pure CSS triangle shape,\n while the second is a custom SVG.\n

\n

\n You will need to style the arrow for each different popper placement if\n using the default (sharp) arrow: top, bottom, left, right.\n

\n \n
\n)\n","import { h } from 'hyperapp'\nimport Section from '../components/Section'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Performance'\n\nexport default () => (state, actions) => (\n
\n

Tested with 2.6 GHz Skylake MacBook Pro using Chrome 67:

\n
    \n
  • \n \n tippy.all.min.js evaluation time:\n {' '}\n 5ms\n
  • \n
  • \n Performance mode off (default): 1.3ms per 10 elements\n
  • \n
  • \n Performance mode on: 1ms per 10 elements\n
  • \n
  • \n Lazy mode off: 3ms per 10 elements\n
  • \n
  • \n Event delegation: <1ms for any number of child\n elements\n
  • \n
\n
\n)\n","import { h } from 'hyperapp'\n\nimport Demo from './Demo'\nimport TableOfContents from './TableOfContents'\nimport Why from './Why'\nimport GettingStarted from './GettingStarted'\nimport CreatingTooltips from './CreatingTooltips'\nimport CustomizingTooltips from './CustomizingTooltips'\nimport AllOptions from './AllOptions'\nimport Objects from './Objects'\nimport Methods from './Methods'\nimport HTMLContent from './HTMLContent'\nimport CreatingCustomThemes from './CreatingCustomThemes'\nimport Performance from './Performance'\n\nexport default () => (\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n)\n","import { h } from 'hyperapp'\nimport Header from './sections/Header'\nimport Main from './sections/Main'\n\nexport default (state, actions) => (\n
\n
\n
\n
\n)\n","import '../dist/tippy.css'\nimport '../dist/themes/light.css'\nimport '../dist/themes/translucent.css'\nimport '../dist/themes/light-border.css'\nimport '../dist/themes/google.css'\nimport 'normalize.css'\nimport './css/index.scss'\nimport 'focus-visible'\nimport { app } from 'hyperapp'\nimport { withRender } from '@hyperapp/render/browser/module'\nimport { prerender, isBrowser } from './js/utils'\nimport state from './js/state'\nimport actions from './js/actions'\nimport view from './js/view'\n\nconst main = withRender(app)(state, actions, view, isBrowser && document.body)\nprerender(main, '')\n"]} \ No newline at end of file diff --git a/docs/website.9f01946e.map b/docs/website.9f01946e.map deleted file mode 100644 index 446d6d101..000000000 --- a/docs/website.9f01946e.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../node_modules/focus-visible/dist/focus-visible.js","../node_modules/hyperapp/src/index.js","../src/browser.js","../src/index.js","../node_modules/twemoji/2/esm.js","js/utils.js","js/state.js","js/actions.js","0","js/components/Emoji.js","../src/js/tippy.js","../node_modules/popper.js/dist/esm/popper.js","../src/js/defaults.js","../src/js/browser.js","../src/js/selectors.js","../src/js/utils.js","../src/js/bindGlobalEventListeners.js","../src/js/createTippy.js","js/components/Tippy.js","js/sections/Header.js","js/sections/Demo.js","js/components/Heading.js","js/components/Section.js","../node_modules/prismjs/prism.js","js/components/Code.js","js/components/ExternalLink.js","js/sections/TableOfContents.js","js/sections/Why.js","js/sections/GettingStarted.js","js/components/ResultBox.js","js/sections/CreatingTooltips.js","js/sections/CustomizingTooltips.js","js/components/OptionsTable.js","js/sections/AllOptions.js","js/sections/Objects.js","js/sections/Methods.js","js/sections/HTMLContent.js","js/sections/CreatingCustomThemes.js","js/sections/Performance.js","js/sections/Main.js","js/view.js","index.js"],"names":["h","name","attributes","length","rest","children","arguments","push","node","pop","nodeName","key","app","state","actions","view","container","map","skipRender","rootElement","oldNode","recycleElement","element","toLowerCase","call","childNodes","nodeType","nodeValue","lifecycle","isRecycling","globalState","clone","wiredActions","wireStateToActions","path","action","data","result","getPartialState","then","scheduleRender","setPartialState","concat","resolveNode","render","patch","parent","isSvg","newElement","createElement","document","createTextNode","createElementNS","oncreate","i","appendChild","updateAttribute","insertBefore","removeElement","updateElement","oldAttributes","cb","onupdate","oldKeyed","newKeyed","oldElements","oldChildren","oldKey","getKey","k","newKey","keyedNode","setTimeout","target","source","out","value","slice","eventListener","event","currentTarget","events","type","oldValue","style","cssText","setProperty","addEventListener","removeEventListener","setAttribute","removeAttribute","done","removeChild","removeChildren","ondestroy","onremove","styleNameCache","Map","uppercasePattern","msPattern","voidElements","Set","ignoreAttributes","escapeRegExp","escapeLookup","escaper","match","get","escapeHtml","replace","hyphenateStyleName","styleName","set","stringifyStyles","styles","delimiter","styleNames","Object","keys","styleValue","renderFragment","stack","footer","has","innerHTML","renderer","end","bytes","frame","childIndex","renderToString","Infinity","withRender","nextApp","initialState","actionsTemplate","toString","getState","twemoji","base","ext","size","className","convert","fromCodePoint","codepoint","code","parseInt","fromCharCode","toCodePoint","onerror","parentNode","replaceChild","createText","alt","parse","what","how","callback","parseString","str","options","rawText","ret","attrib","attrname","iconId","grabTheRightIcon","src","hasOwnProperty","indexOf","rescaper","replacer","parseNode","allText","modified","fragment","subnode","text","index","img","grabAllTextNodes","shouldntBeParsed","test","createDocumentFragment","re","exec","Image","hasAttribute","defaultImageSrcGenerator","returnNull","folder","toSizeSquaredAsset","lastIndex","UFE0Fg","U200D","String","clean","icon","m","unicodeSurrogates","sep","r","c","p","charCodeAt","join","isBrowser","window","DIR","prerender","main","tag","nodeRequire","fs","html","readFileSync","writeFileSync","e","snippet","getEmojiSrc","char","wrapper","firstElementChild","toKebabCase","x","ajax","imageSrc","isLoading","error","canFetch","performance","inputValue","numberOfElements","onShow","isFetching","fetch","response","blob","onDataReceived","catch","errored","URL","createObjectURL","onHidden","setInputValue","module","exports","version","description","types","author","license","keywords","repository","url","scripts","dev:docs","build:docs","dev","build","prettier","release","jest","setupFiles","coveragePathIgnorePatterns","semi","singleQuote","browserslist","alias","~","devDependencies","@hyperapp/render","autoprefixer","babel-core","babel-jest","babel-plugin-external-helpers","babel-plugin-transform-react-jsx","babel-preset-env","babel-preset-es2015-rollup","babel-preset-stage-2","caniuse-lite","colorette","cssnano","eslint","filesize","focus-visible","gzip-size","hyperapp","jsdom","mutation-observer","node-sass","normalize.css","parcel-bundler","parcel-plugin-markdown-string","postcss","postcss-cssnext","postcss-import","prismjs","rollup","rollup-plugin-babel","rollup-plugin-babel-minify","rollup-plugin-commonjs","rollup-plugin-css-only","rollup-plugin-json","rollup-plugin-node-resolve","rollup-plugin-sass","rollup-plugin-strip","dependencies","popper.js","Sizes","large","medium","small","props","width","autoInit","Defaults","body","POPPER_INSTANCE_RELATED_PROPS","nav","navigator","win","isIE","userAgent","isIOS","platform","MSStream","supportsTouch","longerTimeoutBrowsers","timeoutDuration","supportsMicroTasks","debounce","Promise","microtaskDebounce","fn","called","resolve","taskDebounce","scheduled","isFunction","functionToCheck","getStyleComputedProperty","property","css","ownerDocument","defaultView","getComputedStyle","getParentNode","host","getScrollParent","_getStyleComputedProp","overflow","overflowX","overflowY","isIE11","MSInputMethodContext","documentMode","isIE10","getOffsetParent","documentElement","offsetParent","noOffsetParent","nextElementSibling","getRoot","findCommonOffsetParent","element1","element2","order","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","start","range","createRange","setStart","setEnd","commonAncestorContainer","contains","isOffsetContainer","element1root","getScroll","side","upperSide","undefined","scrollingElement","getBordersSize","axis","sideA","sideB","parseFloat","getSize","computedStyle","Math","max","getWindowSizes","classCallCheck","instance","Constructor","TypeError","createClass","defineProperties","descriptor","enumerable","configurable","writable","defineProperty","protoProps","staticProps","prototype","obj","_extends","assign","getClientRect","offsets","left","top","height","getBoundingClientRect","rect","scrollTop","scrollLeft","bottom","right","sizes","clientWidth","clientHeight","horizScrollbar","offsetWidth","vertScrollbar","offsetHeight","getOffsetRectRelativeToArbitraryNode","fixedPosition","isHTML","childrenRect","parentRect","scrollParent","borderTopWidth","borderLeftWidth","marginTop","marginLeft","includeScroll","subtract","modifier","getFixedPositionOffsetParent","parentElement","el","getBoundaries","popper","reference","padding","boundariesElement","boundaries","getViewportOffsetRectRelativeToArtbitraryNode","excludeScroll","relativeOffset","innerWidth","innerHeight","boundariesNode","isFixed","_getWindowSizes","isPaddingNumber","computeAutoPlacement","placement","refRect","rects","sortedAreas","getArea","_ref","sort","a","b","area","filteredAreas","filter","_ref2","computedPlacement","variation","split","getReferenceOffsets","getOuterSizes","marginBottom","y","marginRight","getOppositePlacement","hash","matched","getPopperOffsets","referenceOffsets","popperRect","popperOffsets","isHoriz","mainSide","secondarySide","measurement","secondaryMeasurement","find","arr","check","Array","runModifiers","modifiers","ends","findIndex","prop","cur","forEach","warn","enabled","isModifierEnabled","modifierName","some","getSupportedPropertyName","prefixes","upperProp","charAt","toUpperCase","prefix","toCheck","getWindow","setupEventListeners","updateBound","passive","scrollElement","attachToScrollParents","scrollParents","isBody","eventsEnabled","disableEventListeners","removeEventListeners","scheduleUpdate","isNumeric","n","isNaN","isFinite","setStyles","unit","isModifierRequired","requestingName","requestedName","requesting","isRequired","_requesting","requested","placements","validPlacements","clockwise","counter","reverse","BEHAVIORS","parseOffset","offset","basePlacement","useHeight","fragments","frag","trim","divider","search","splitRegex","ops","op","mergeWithPrevious","reduce","toValue","index2","shift","shiftvariation","_data$offsets","isVertical","shiftOffsets","preventOverflow","transformProp","popperStyles","transform","positionFixed","priority","escapeWithReference","min","keepTogether","floor","opSide","arrow","_data$offsets$arrow","arrowElement","querySelector","len","sideCapitalized","altSide","arrowElementSize","center","popperMarginSide","popperBorderSide","sideValue","round","flip","flipped","originalPlacement","placementOpposite","flipOrder","behavior","FLIP","CLOCKWISE","COUNTERCLOCKWISE","step","refOffsets","overlapsRef","overflowsLeft","overflowsRight","overflowsTop","overflowsBottom","overflowsBoundaries","flippedVariation","flipVariations","getOppositeVariation","inner","subtractLength","hide","bound","computeStyle","legacyGpuAccelerationOption","gpuAcceleration","offsetParentRect","position","prefixedProperty","willChange","invertTop","invertLeft","arrowStyles","applyStyle","setAttributes","applyStyleOnLoad","modifierOptions","Popper","_this","requestAnimationFrame","update","bind","jquery","onLoad","enableEventListeners","isDestroyed","isCreated","onUpdate","onCreate","destroy","removeOnDestroy","Utils","global","PopperUtils","Selectors","FF_EXTENSION_TRICK","toArray","setContent","contentEl","content","Element","allowHTML","elementCanReceiveFocus","matches","applyTransitionDuration","els","Boolean","transitionDuration","getChildren","select","s","TOOLTIP","BACKDROP","CONTENT","ARROW","ROUND_ARROW","isPlainObject","div","setInnerHTML","getArrayOfElements","NodeList","isArray","querySelectorAll","getValue","defaultValue","v","createArrowElement","arrowType","createBackdropElement","backdrop","addInteractive","tooltip","createPopperElement","id","zIndex","animation","theme","classList","add","t","interactive","animateFill","inertia","relatedTarget","_tippy","closestCallback","shouldPopperHideOnBlur","updatePopperElement","prevProps","nextProps","remove","hideAllPoppers","POPPER","tip","hideOnClick","excludeTippy","getDataAttributeOptions","acc","valueAsString","getAttribute","JSON","Number","polyfillVirtualReferenceProps","polyfills","virtualReference","classNames","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","closest","parentSelector","selector","focus","scrollX","pageXOffset","scrollY","pageYOffset","transformAxisBasedOnPlacement","transformNumbersBasedOnPlacement","numbers","isReverse","getTransformAxis","cssFunction","RegExp","getTransformNumbers","regex","TRANSFORM_NUMBER_RE","computeArrowTransform","arrowTransform","getPopperPlacement","computedTransform","translate","scale","setVisibilityState","afterPopperPositionUpdates","popperInstance","defer","isCursorOutsideInteractiveBorder","popperPlacement","clientX","clientY","interactiveBorder","distance","exceedsTop","exceedsBottom","exceedsLeft","exceedsRight","getOffsetDistanceInPx","defaultDistance","fullPlacement","evaluateProps","appendTo","toggleTransitionEndListener","listener","ms","timeoutId","apply","validateOptions","option","Error","isUsingTouch","onDocumentTouch","onDocumentMouseMove","lastMouseMoveTime","now","onDocumentClick","isClickTrigger","trigger","clearDelayTimeouts","onWindowBlur","activeElement","blur","onWindowResize","tippyInstance","livePlacement","idCounter","createTippy","collectionProps","multiple","popperMutationObserver","lastTriggerEvent","lastMouseMoveEvent","showTimeoutId","hideTimeoutId","isPreparingToShow","transitionEndListener","listeners","referenceJustProgrammaticallyFocused","debouncedOnMouseMove","interactiveDebounce","onMouseMove","isVisible","popperChildren","enable","isEnabled","disable","onReferenceClick","lazy","createPopperInstance","showOnInit","a11y","positionVirtualReferenceNearCursor","isVerticalPlacement","isHorizontalPlacement","followCursor","isHorizontal","prepareShow","createDelegateChildTippy","targetEl","wait","hasFollowCursorBehavior","delay","prepareHide","removeFollowCursorListener","cleanupOldMouseListeners","onTrigger","isEventListenerStopped","referenceTheCursorIsOver","isCursorOverPopper","isCursorOverReference","onMouseLeave","onBlur","onDelegateShow","onDelegateHide","isTouchEvent","caseA","touchHold","caseB","popperOptions","arrowSelector","config","flipBehavior","MutationObserver","observe","onTransitionEnd","duration","on","eventType","handler","addTriggersToReference","removeTriggersFromReference","show","touch","isVirtual","visibility","mount","margin","onMount","isMounted","transitionDelay","sticky","updateDuration","updatePosition","onTransitionedIn","onShown","isShown","onHide","onTransitionedOut","destroyTargetInstances","child","disconnect","eventListenersBound","useCapture","tippy","targets","one","bindEventListeners","maxTouchPoints","msMaxTouchPoints","references","firstReference","instances","defaults","setDefaults","partialDefaults","disableAnimations","Tippy","realProps","constructor","secondary","ref","logo","ANIMATIONS","printValue","NO_GPU_ACCELERATION","preventDefault","anchor","cursor","Subheading","scope","link","title","emoji","getLang","lang","Prism","highlightElement","to","TITLE","Emojis","WHY","GETTING_STARTED","CREATING_TOOLTIPS","CUSTOMIZING_TOOLTIPS","ALL_OPTIONS","OBJECTS","METHODS","HTML_CONTENT","CREATING_CUSTOM_THEMES","PERFORMANCE","AUTO_TIPPY_BUTTON","FUNCTION_BUTTON","FUNCTION_CALL","MULTIPLE_CONTENT_HTML","MULTIPLE_CONTENT_JS","VIRTUAL_REFERENCE","HTML_BUTTON","OPTIONS_OBJECT","DATA_ATTRIBUTES","SET_DEFAULTS","scrollTakingIntoAccountStickyHeader","scroll","Prop","location","default","APPEND_TO","display","WAIT","INITIAL_AJAX_CONTENT","AJAX","_transitionEndListener","opacity","_baseHeight","EVENT_DELEGATION_HTML","EVENT_DELEGATION_JS","SCROLLABLE_CONTAINER","HIDE_TOOLTIPS_ON_SCROLL","CANCEL_LIFECYCLE_FUNCTION","BUTTONS_WITH_TOOLTIPS_TOUCH","TIP_COLLECTION","ACCESS_TIPPY_INSTANCE","TIP_INSTANCE","SHORTCUTS","SET_METHOD","HTML_ELEMENT","HTML_ELEMENT_JS","color","TIPPY_ELEMENT","TIPPY_ELEMENT_ARROW","THEME_CSS","THEME_JS","CSS_ARROW_STYLES"],"mappings":";;;;AA0RA,IAAA,GA1RA,SAAA,EAAA,GACA,iBAAA,SAAA,oBAAA,OAAA,IACA,mBAAA,GAAA,EAAA,IAAA,EAAA,GACA,IAHA,CAIA,EAAA,WAAA,aAiRA,oBAAA,UAvBA,SAAA,GACA,IAAA,EAKA,SAAA,IACA,IACA,GAAA,EAEA,KAIA,CAAA,cAAA,YAAA,QAAA,SAAA,aAAA,EACA,KAEA,GAAA,EACA,SAAA,iBAAA,mBAAA,GAAA,GACA,OAAA,iBAAA,OAAA,GAAA,IAKA,CA7QA,WACA,IAAA,GAAA,EACA,GAAA,EACA,EAAA,KAEA,EAAA,CACA,MAAA,EACA,QAAA,EACA,KAAA,EACA,KAAA,EACA,OAAA,EACA,UAAA,EACA,QAAA,EACA,MAAA,EACA,OAAA,EACA,MAAA,EACA,MAAA,EACA,UAAA,EACA,kBAAA,GAQA,SAAA,EAAA,GACA,SACA,GACA,IAAA,UACA,SAAA,EAAA,UACA,SAAA,EAAA,UACA,cAAA,GACA,aAAA,EAAA,WAsCA,SAAA,EAAA,GACA,EAAA,UAAA,SAAA,mBAGA,EAAA,UAAA,IAAA,iBACA,EAAA,aAAA,2BAAA,KAsCA,SAAA,EAAA,GACA,GAAA,EAwEA,SAAA,IACA,SAAA,iBAAA,YA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W,QAAA,QAAA;;ACXA,aAAA,OAAA,eAAA,QAAA,aAAA,CAAA,OAAA,IAAA,QAAA,aAAA,EAJf,IAAA,EAAA,QAAA,YACA,EAAA,EAAA,QAAA,sBACA,EAAA,EAAA,QAAA,oBAEe,SAAA,EAAA,GAAA,OAAA,GAAA,EAAA,WAAA,EAAA,CAAA,QAAA,GAAA,IAAA,EAAA,SAACj5B,EAAOC,GACrB,OAAA,EAAA,EAAA,GAAA,MAAA,CAAW,MAAA,QACT,EAAC,EAAA,GAAA,EAAD,QADF,OAEE,EAAC,EAAA,GAAA,EAAD,QAFF,QADa,QAAA,QAAA;;ACYf,aAhBA,QAAA,qBACA,QAAA,4BACA,QAAA,kCACA,QAAA,mCACA,QAAA,6BACA,QAAA,iBACA,QAAA,oBACA,QAAA,iBACA,IAAA,EAAA,QAAA,YACA,EAAA,QAAA,mCACA,EAAA,QAAA,cACA,EAAA,EAAA,QAAA,eACA,EAAA,EAAA,QAAA,iBACA,EAAA,EAAA,QAAA,cAGA,SAAA,EAAA,GAAA,OAAA,GAAA,EAAA,WAAA,EAAA,CAAA,QAAA,GADA,IAAMqM,GAAO,EAAWvM,EAAAA,YAAAA,EAAX,IAAA,CAAgBC,EAAhB,QAAuBC,EAAvB,QAAgCC,EAAhC,QAAsCgM,EAAa7J,WAAAA,SAAS4Q,OACzE,EAAU3G,EAAAA,WAAAA,EAAM","file":"website.9f01946e.map","sourceRoot":"../website","sourcesContent":["(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (factory());\n}(this, (function () { 'use strict';\n\n /**\n * https://github.com/WICG/focus-visible\n */\n function init() {\n var hadKeyboardEvent = true;\n var hadFocusVisibleRecently = false;\n var hadFocusVisibleRecentlyTimeout = null;\n\n var inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n };\n\n /**\n * Helper function for legacy browsers and iframes which sometimes focus\n * elements like document, body, and non-interactive SVG.\n * @param {Element} el\n */\n function isValidFocusTarget(el) {\n if (\n el &&\n el !== document &&\n el.nodeName !== 'HTML' &&\n el.nodeName !== 'BODY' &&\n 'classList' in el &&\n 'contains' in el.classList\n ) {\n return true;\n }\n return false;\n }\n\n /**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} el\n * @return {boolean}\n */\n function focusTriggersKeyboardModality(el) {\n var type = el.type;\n var tagName = el.tagName;\n\n if (tagName == 'INPUT' && inputTypesWhitelist[type] && !el.readOnly) {\n return true;\n }\n\n if (tagName == 'TEXTAREA' && !el.readOnly) {\n return true;\n }\n\n if (el.isContentEditable) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Add the `focus-visible` class to the given element if it was not added by\n * the author.\n * @param {Element} el\n */\n function addFocusVisibleClass(el) {\n if (el.classList.contains('focus-visible')) {\n return;\n }\n el.classList.add('focus-visible');\n el.setAttribute('data-focus-visible-added', '');\n }\n\n /**\n * Remove the `focus-visible` class from the given element if it was not\n * originally added by the author.\n * @param {Element} el\n */\n function removeFocusVisibleClass(el) {\n if (!el.hasAttribute('data-focus-visible-added')) {\n return;\n }\n el.classList.remove('focus-visible');\n el.removeAttribute('data-focus-visible-added');\n }\n\n /**\n * Treat `keydown` as a signal that the user is in keyboard modality.\n * Apply `focus-visible` to any current active element and keep track\n * of our keyboard modality state with `hadKeyboardEvent`.\n * @param {Event} e\n */\n function onKeyDown(e) {\n if (isValidFocusTarget(document.activeElement)) {\n addFocusVisibleClass(document.activeElement);\n }\n\n hadKeyboardEvent = true;\n }\n\n /**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n * @param {Event} e\n */\n function onPointerDown(e) {\n hadKeyboardEvent = false;\n }\n\n /**\n * On `focus`, add the `focus-visible` class to the target if:\n * - the target received focus as a result of keyboard navigation, or\n * - the event target is an element that will likely require interaction\n * via the keyboard (e.g. a text box)\n * @param {Event} e\n */\n function onFocus(e) {\n // Prevent IE from focusing the document or HTML element.\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {\n addFocusVisibleClass(e.target);\n }\n }\n\n /**\n * On `blur`, remove the `focus-visible` class from the target.\n * @param {Event} e\n */\n function onBlur(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (\n e.target.classList.contains('focus-visible') ||\n e.target.hasAttribute('data-focus-visible-added')\n ) {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function() {\n hadFocusVisibleRecently = false;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n }, 100);\n removeFocusVisibleClass(e.target);\n }\n }\n\n /**\n * If the user changes tabs, keep track of whether or not the previously\n * focused element had .focus-visible.\n * @param {Event} e\n */\n function onVisibilityChange(e) {\n if (document.visibilityState == 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n addInitialPointerMoveListeners();\n }\n }\n\n /**\n * Add a group of listeners to detect usage of any pointing devices.\n * These listeners will be added when the polyfill first loads, and anytime\n * the window is blurred, so that they are active when the window regains\n * focus.\n */\n function addInitialPointerMoveListeners() {\n document.addEventListener('mousemove', onInitialPointerMove);\n document.addEventListener('mousedown', onInitialPointerMove);\n document.addEventListener('mouseup', onInitialPointerMove);\n document.addEventListener('pointermove', onInitialPointerMove);\n document.addEventListener('pointerdown', onInitialPointerMove);\n document.addEventListener('pointerup', onInitialPointerMove);\n document.addEventListener('touchmove', onInitialPointerMove);\n document.addEventListener('touchstart', onInitialPointerMove);\n document.addEventListener('touchend', onInitialPointerMove);\n }\n\n function removeInitialPointerMoveListeners() {\n document.removeEventListener('mousemove', onInitialPointerMove);\n document.removeEventListener('mousedown', onInitialPointerMove);\n document.removeEventListener('mouseup', onInitialPointerMove);\n document.removeEventListener('pointermove', onInitialPointerMove);\n document.removeEventListener('pointerdown', onInitialPointerMove);\n document.removeEventListener('pointerup', onInitialPointerMove);\n document.removeEventListener('touchmove', onInitialPointerMove);\n document.removeEventListener('touchstart', onInitialPointerMove);\n document.removeEventListener('touchend', onInitialPointerMove);\n }\n\n /**\n * When the polfyill first loads, assume the user is in keyboard modality.\n * If any event is received from a pointing device (e.g. mouse, pointer,\n * touch), turn off keyboard modality.\n * This accounts for situations where focus enters the page from the URL bar.\n * @param {Event} e\n */\n function onInitialPointerMove(e) {\n // Work around a Safari quirk that fires a mousemove on whenever the\n // window blurs, even if you're tabbing out of the page. ยฏ\\_(ใƒ„)_/ยฏ\n if (e.target.nodeName.toLowerCase() === 'html') {\n return;\n }\n\n hadKeyboardEvent = false;\n removeInitialPointerMoveListeners();\n }\n\n document.addEventListener('keydown', onKeyDown, true);\n document.addEventListener('mousedown', onPointerDown, true);\n document.addEventListener('pointerdown', onPointerDown, true);\n document.addEventListener('touchstart', onPointerDown, true);\n document.addEventListener('focus', onFocus, true);\n document.addEventListener('blur', onBlur, true);\n document.addEventListener('visibilitychange', onVisibilityChange, true);\n addInitialPointerMoveListeners();\n\n document.body.classList.add('js-focus-visible');\n }\n\n /**\n * Subscription when the DOM is ready\n * @param {Function} callback\n */\n function onDOMReady(callback) {\n var loaded;\n\n /**\n * Callback wrapper for check loaded state\n */\n function load() {\n if (!loaded) {\n loaded = true;\n\n callback();\n }\n }\n\n if (['interactive', 'complete'].indexOf(document.readyState) >= 0) {\n callback();\n } else {\n loaded = false;\n document.addEventListener('DOMContentLoaded', load, false);\n window.addEventListener('load', load, false);\n }\n }\n\n if (typeof document !== 'undefined') {\n onDOMReady(init);\n }\n\n})));\n","export function h(name, attributes) {\n var rest = []\n var children = []\n var length = arguments.length\n\n while (length-- > 2) rest.push(arguments[length])\n\n while (rest.length) {\n var node = rest.pop()\n if (node && node.pop) {\n for (length = node.length; length--; ) {\n rest.push(node[length])\n }\n } else if (node != null && node !== true && node !== false) {\n children.push(node)\n }\n }\n\n return typeof name === \"function\"\n ? name(attributes || {}, children)\n : {\n nodeName: name,\n attributes: attributes || {},\n children: children,\n key: attributes && attributes.key\n }\n}\n\nexport function app(state, actions, view, container) {\n var map = [].map\n var rootElement = (container && container.children[0]) || null\n var oldNode = rootElement && recycleElement(rootElement)\n var lifecycle = []\n var skipRender\n var isRecycling = true\n var globalState = clone(state)\n var wiredActions = wireStateToActions([], globalState, clone(actions))\n\n scheduleRender()\n\n return wiredActions\n\n function recycleElement(element) {\n return {\n nodeName: element.nodeName.toLowerCase(),\n attributes: {},\n children: map.call(element.childNodes, function(element) {\n return element.nodeType === 3 // Node.TEXT_NODE\n ? element.nodeValue\n : recycleElement(element)\n })\n }\n }\n\n function resolveNode(node) {\n return typeof node === \"function\"\n ? resolveNode(node(globalState, wiredActions))\n : node != null\n ? node\n : \"\"\n }\n\n function render() {\n skipRender = !skipRender\n\n var node = resolveNode(view)\n\n if (container && !skipRender) {\n rootElement = patch(container, rootElement, oldNode, (oldNode = node))\n }\n\n isRecycling = false\n\n while (lifecycle.length) lifecycle.pop()()\n }\n\n function scheduleRender() {\n if (!skipRender) {\n skipRender = true\n setTimeout(render)\n }\n }\n\n function clone(target, source) {\n var out = {}\n\n for (var i in target) out[i] = target[i]\n for (var i in source) out[i] = source[i]\n\n return out\n }\n\n function setPartialState(path, value, source) {\n var target = {}\n if (path.length) {\n target[path[0]] =\n path.length > 1\n ? setPartialState(path.slice(1), value, source[path[0]])\n : value\n return clone(source, target)\n }\n return value\n }\n\n function getPartialState(path, source) {\n var i = 0\n while (i < path.length) {\n source = source[path[i++]]\n }\n return source\n }\n\n function wireStateToActions(path, state, actions) {\n for (var key in actions) {\n typeof actions[key] === \"function\"\n ? (function(key, action) {\n actions[key] = function(data) {\n var result = action(data)\n\n if (typeof result === \"function\") {\n result = result(getPartialState(path, globalState), actions)\n }\n\n if (\n result &&\n result !== (state = getPartialState(path, globalState)) &&\n !result.then // !isPromise\n ) {\n scheduleRender(\n (globalState = setPartialState(\n path,\n clone(state, result),\n globalState\n ))\n )\n }\n\n return result\n }\n })(key, actions[key])\n : wireStateToActions(\n path.concat(key),\n (state[key] = clone(state[key])),\n (actions[key] = clone(actions[key]))\n )\n }\n\n return actions\n }\n\n function getKey(node) {\n return node ? node.key : null\n }\n\n function eventListener(event) {\n return event.currentTarget.events[event.type](event)\n }\n\n function updateAttribute(element, name, value, oldValue, isSvg) {\n if (name === \"key\") {\n } else if (name === \"style\") {\n if (typeof value === \"string\") {\n element.style.cssText = value\n } else {\n if (typeof oldValue === \"string\") oldValue = element.style.cssText = \"\"\n for (var i in clone(oldValue, value)) {\n var style = value == null || value[i] == null ? \"\" : value[i]\n if (i[0] === \"-\") {\n element.style.setProperty(i, style)\n } else {\n element.style[i] = style\n }\n }\n }\n } else {\n if (name[0] === \"o\" && name[1] === \"n\") {\n name = name.slice(2)\n\n if (element.events) {\n if (!oldValue) oldValue = element.events[name]\n } else {\n element.events = {}\n }\n\n element.events[name] = value\n\n if (value) {\n if (!oldValue) {\n element.addEventListener(name, eventListener)\n }\n } else {\n element.removeEventListener(name, eventListener)\n }\n } else if (\n name in element &&\n name !== \"list\" &&\n name !== \"type\" &&\n name !== \"draggable\" &&\n name !== \"spellcheck\" &&\n name !== \"translate\" &&\n !isSvg\n ) {\n element[name] = value == null ? \"\" : value\n } else if (value != null && value !== false) {\n element.setAttribute(name, value)\n }\n\n if (value == null || value === false) {\n element.removeAttribute(name)\n }\n }\n }\n\n function createElement(node, isSvg) {\n var element =\n typeof node === \"string\" || typeof node === \"number\"\n ? document.createTextNode(node)\n : (isSvg = isSvg || node.nodeName === \"svg\")\n ? document.createElementNS(\n \"http://www.w3.org/2000/svg\",\n node.nodeName\n )\n : document.createElement(node.nodeName)\n\n var attributes = node.attributes\n if (attributes) {\n if (attributes.oncreate) {\n lifecycle.push(function() {\n attributes.oncreate(element)\n })\n }\n\n for (var i = 0; i < node.children.length; i++) {\n element.appendChild(\n createElement(\n (node.children[i] = resolveNode(node.children[i])),\n isSvg\n )\n )\n }\n\n for (var name in attributes) {\n updateAttribute(element, name, attributes[name], null, isSvg)\n }\n }\n\n return element\n }\n\n function updateElement(element, oldAttributes, attributes, isSvg) {\n for (var name in clone(oldAttributes, attributes)) {\n if (\n attributes[name] !==\n (name === \"value\" || name === \"checked\"\n ? element[name]\n : oldAttributes[name])\n ) {\n updateAttribute(\n element,\n name,\n attributes[name],\n oldAttributes[name],\n isSvg\n )\n }\n }\n\n var cb = isRecycling ? attributes.oncreate : attributes.onupdate\n if (cb) {\n lifecycle.push(function() {\n cb(element, oldAttributes)\n })\n }\n }\n\n function removeChildren(element, node) {\n var attributes = node.attributes\n if (attributes) {\n for (var i = 0; i < node.children.length; i++) {\n removeChildren(element.childNodes[i], node.children[i])\n }\n\n if (attributes.ondestroy) {\n attributes.ondestroy(element)\n }\n }\n return element\n }\n\n function removeElement(parent, element, node) {\n function done() {\n parent.removeChild(removeChildren(element, node))\n }\n\n var cb = node.attributes && node.attributes.onremove\n if (cb) {\n cb(element, done)\n } else {\n done()\n }\n }\n\n function patch(parent, element, oldNode, node, isSvg) {\n if (node === oldNode) {\n } else if (oldNode == null || oldNode.nodeName !== node.nodeName) {\n var newElement = createElement(node, isSvg)\n parent.insertBefore(newElement, element)\n\n if (oldNode != null) {\n removeElement(parent, element, oldNode)\n }\n\n element = newElement\n } else if (oldNode.nodeName == null) {\n element.nodeValue = node\n } else {\n updateElement(\n element,\n oldNode.attributes,\n node.attributes,\n (isSvg = isSvg || node.nodeName === \"svg\")\n )\n\n var oldKeyed = {}\n var newKeyed = {}\n var oldElements = []\n var oldChildren = oldNode.children\n var children = node.children\n\n for (var i = 0; i < oldChildren.length; i++) {\n oldElements[i] = element.childNodes[i]\n\n var oldKey = getKey(oldChildren[i])\n if (oldKey != null) {\n oldKeyed[oldKey] = [oldElements[i], oldChildren[i]]\n }\n }\n\n var i = 0\n var k = 0\n\n while (k < children.length) {\n var oldKey = getKey(oldChildren[i])\n var newKey = getKey((children[k] = resolveNode(children[k])))\n\n if (newKeyed[oldKey]) {\n i++\n continue\n }\n\n if (newKey != null && newKey === getKey(oldChildren[i + 1])) {\n if (oldKey == null) {\n removeElement(element, oldElements[i], oldChildren[i])\n }\n i++\n continue\n }\n\n if (newKey == null || isRecycling) {\n if (oldKey == null) {\n patch(element, oldElements[i], oldChildren[i], children[k], isSvg)\n k++\n }\n i++\n } else {\n var keyedNode = oldKeyed[newKey] || []\n\n if (oldKey === newKey) {\n patch(element, keyedNode[0], keyedNode[1], children[k], isSvg)\n i++\n } else if (keyedNode[0]) {\n patch(\n element,\n element.insertBefore(keyedNode[0], oldElements[i]),\n keyedNode[1],\n children[k],\n isSvg\n )\n } else {\n patch(element, oldElements[i], null, children[k], isSvg)\n }\n\n newKeyed[newKey] = children[k]\n k++\n }\n }\n\n while (i < oldChildren.length) {\n if (getKey(oldChildren[i]) == null) {\n removeElement(element, oldElements[i], oldChildren[i])\n }\n i++\n }\n\n for (var i in oldKeyed) {\n if (!newKeyed[i]) {\n removeElement(element, oldKeyed[i][0], oldKeyed[i][1])\n }\n }\n }\n return element\n }\n}\n","import { renderToString } from './index'\n\nexport { renderToString }\n\nexport function withRender(nextApp) {\n return (initialState, actionsTemplate, view, container) => {\n const actions = nextApp(\n initialState,\n { ...actionsTemplate, getState: () => (state) => state },\n view,\n container,\n )\n\n actions.toString = () => renderToString(view, actions.getState(), actions)\n\n return actions\n }\n}\n","const styleNameCache = new Map()\nconst uppercasePattern = /([A-Z])/g\nconst msPattern = /^ms-/\n\n// https://www.w3.org/TR/html/syntax.html#void-elements\nconst voidElements = new Set([\n 'area',\n 'base',\n 'br',\n 'col',\n 'embed',\n 'hr',\n 'img',\n 'input',\n 'link',\n 'meta',\n 'param',\n 'source',\n 'track',\n 'wbr',\n])\n\nconst ignoreAttributes = new Set([\n 'key',\n 'innerHTML',\n '__source', // https://babeljs.io/docs/plugins/transform-react-jsx-source/\n])\n\n// https://www.w3.org/International/questions/qa-escapes#use\nconst escapeRegExp = /[\"&'<>]/g\nconst escapeLookup = new Map([\n ['\"', '"'],\n ['&', '&'],\n [\"'\", '''], // shorter than \"'\" and \"'\" plus supports HTML4\n ['<', '<'],\n ['>', '>'],\n])\n\nfunction escaper(match) {\n return escapeLookup.get(match)\n}\n\nfunction escapeHtml(value) {\n if (typeof value === 'number') {\n // better performance for safe values\n return '' + value\n }\n\n return ('' + value).replace(escapeRegExp, escaper)\n}\n\n// \"backgroundColor\" => \"background-color\"\n// \"MozTransition\" => \"-moz-transition\"\n// \"msTransition\" => \"-ms-transition\"\nfunction hyphenateStyleName(styleName) {\n return (\n styleNameCache.get(styleName) ||\n styleNameCache\n .set(\n styleName,\n styleName\n .replace(uppercasePattern, '-$&')\n .toLowerCase()\n .replace(msPattern, '-ms-'),\n )\n .get(styleName)\n )\n}\n\nfunction stringifyStyles(styles) {\n let out = ''\n let delimiter = ''\n const styleNames = Object.keys(styles)\n\n for (let i = 0; i < styleNames.length; i++) {\n const styleName = styleNames[i]\n const styleValue = styles[styleName]\n\n if (styleValue != null) {\n if (styleName === 'cssText') {\n out += delimiter + styleValue\n } else {\n out += delimiter + hyphenateStyleName(styleName) + ':' + styleValue\n }\n\n delimiter = ';'\n }\n }\n\n return out || null\n}\n\n// https://www.w3.org/TR/html51/syntax.html#serializing-html-fragments\nfunction renderFragment({ nodeName, attributes, children }, stack) {\n let out = ''\n let footer = ''\n\n if (nodeName) {\n out += '<' + nodeName\n const keys = Object.keys(attributes)\n\n for (let i = 0; i < keys.length; i++) {\n const name = keys[i]\n let value = attributes[name]\n\n if (name === 'style' && value && typeof value === 'object') {\n value = stringifyStyles(value)\n }\n\n if (\n value != null &&\n value !== false &&\n typeof value !== 'function' &&\n !ignoreAttributes.has(name)\n ) {\n out += ' ' + name\n\n if (value !== true) {\n out += '=\"' + escapeHtml(value) + '\"'\n }\n }\n }\n\n if (voidElements.has(nodeName)) {\n out += '/>'\n } else {\n out += '>'\n footer = ''\n }\n }\n\n const { innerHTML } = attributes\n\n if (innerHTML != null) {\n out += innerHTML\n }\n\n if (children.length > 0) {\n stack.push({\n childIndex: 0,\n children,\n footer,\n })\n } else {\n out += footer\n }\n\n return out\n}\n\nfunction resolveNode(node, state, actions) {\n if (typeof node === 'function') {\n return resolveNode(node(state, actions), state, actions)\n }\n\n return node\n}\n\nexport function renderer(view, state, actions) {\n const stack = [\n {\n childIndex: 0,\n children: [view],\n footer: '',\n },\n ]\n let end = false\n return (bytes) => {\n if (end) {\n return null\n }\n\n let out = ''\n\n while (out.length < bytes) {\n if (stack.length === 0) {\n end = true\n break\n }\n\n const frame = stack[stack.length - 1]\n\n if (frame.childIndex >= frame.children.length) {\n out += frame.footer\n stack.pop()\n } else {\n const node = resolveNode(frame.children[frame.childIndex++], state, actions)\n\n if (node != null && typeof node !== 'boolean') {\n if (node.pop) {\n // array\n stack.push({\n childIndex: 0,\n children: node,\n footer: '',\n })\n } else if (node.attributes) {\n // element\n out += renderFragment(node, stack)\n } else {\n // text node\n out += escapeHtml(node)\n }\n }\n }\n }\n\n return out\n }\n}\n\nexport function renderToString(view, state, actions) {\n return renderer(view, state, actions)(Infinity)\n}\n","/*! Copyright Twitter Inc. and other contributors. Licensed under MIT */\nvar twemoji=function(){\"use strict\";var twemoji={base:\"https://twemoji.maxcdn.com/2/\",ext:\".png\",size:\"72x72\",className:\"emoji\",convert:{fromCodePoint:fromCodePoint,toCodePoint:toCodePoint},onerror:function onerror(){if(this.parentNode){this.parentNode.replaceChild(createText(this.alt,false),this)}},parse:parse,replace:replace,test:test},escaper={\"&\":\"&\",\"<\":\"<\",\">\":\">\",\"'\":\"'\",'\"':\""\"},re=/(?:\\ud83d[\\udc68\\udc69])(?:\\ud83c[\\udffb-\\udfff])?\\u200d(?:\\u2695\\ufe0f|\\u2696\\ufe0f|\\u2708\\ufe0f|\\ud83c[\\udf3e\\udf73\\udf93\\udfa4\\udfa8\\udfeb\\udfed]|\\ud83d[\\udcbb\\udcbc\\udd27\\udd2c\\ude80\\ude92]|\\ud83e[\\uddb0-\\uddb3])|(?:\\ud83c[\\udfcb\\udfcc]|\\ud83d[\\udd74\\udd75]|\\u26f9)((?:\\ud83c[\\udffb-\\udfff]|\\ufe0f)\\u200d[\\u2640\\u2642]\\ufe0f)|(?:\\ud83c[\\udfc3\\udfc4\\udfca]|\\ud83d[\\udc6e\\udc71\\udc73\\udc77\\udc81\\udc82\\udc86\\udc87\\ude45-\\ude47\\ude4b\\ude4d\\ude4e\\udea3\\udeb4-\\udeb6]|\\ud83e[\\udd26\\udd35\\udd37-\\udd39\\udd3d\\udd3e\\uddb8\\uddb9\\uddd6-\\udddd])(?:\\ud83c[\\udffb-\\udfff])?\\u200d[\\u2640\\u2642]\\ufe0f|(?:\\ud83d\\udc68\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc68|\\ud83d\\udc68\\u200d\\ud83d\\udc68\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc68\\u200d\\ud83d\\udc68\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc68\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d[\\udc68\\udc69]|\\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc68|\\ud83d\\udc68\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc68\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\ud83d\\udc68\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc68\\u200d\\ud83d\\udc69\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d[\\udc68\\udc69]|\\ud83d\\udc69\\u200d\\ud83d\\udc66\\u200d\\ud83d\\udc66|\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d[\\udc66\\udc67]|\\ud83c\\udff3\\ufe0f\\u200d\\ud83c\\udf08|\\ud83c\\udff4\\u200d\\u2620\\ufe0f|\\ud83d\\udc41\\u200d\\ud83d\\udde8|\\ud83d\\udc68\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc69\\u200d\\ud83d[\\udc66\\udc67]|\\ud83d\\udc6f\\u200d\\u2640\\ufe0f|\\ud83d\\udc6f\\u200d\\u2642\\ufe0f|\\ud83e\\udd3c\\u200d\\u2640\\ufe0f|\\ud83e\\udd3c\\u200d\\u2642\\ufe0f|\\ud83e\\uddde\\u200d\\u2640\\ufe0f|\\ud83e\\uddde\\u200d\\u2642\\ufe0f|\\ud83e\\udddf\\u200d\\u2640\\ufe0f|\\ud83e\\udddf\\u200d\\u2642\\ufe0f)|[\\u0023\\u002a\\u0030-\\u0039]\\ufe0f?\\u20e3|(?:[\\u00a9\\u00ae\\u2122\\u265f]\\ufe0f)|(?:\\ud83c[\\udc04\\udd70\\udd71\\udd7e\\udd7f\\ude02\\ude1a\\ude2f\\ude37\\udf21\\udf24-\\udf2c\\udf36\\udf7d\\udf96\\udf97\\udf99-\\udf9b\\udf9e\\udf9f\\udfcd\\udfce\\udfd4-\\udfdf\\udff3\\udff5\\udff7]|\\ud83d[\\udc3f\\udc41\\udcfd\\udd49\\udd4a\\udd6f\\udd70\\udd73\\udd76-\\udd79\\udd87\\udd8a-\\udd8d\\udda5\\udda8\\uddb1\\uddb2\\uddbc\\uddc2-\\uddc4\\uddd1-\\uddd3\\udddc-\\uddde\\udde1\\udde3\\udde8\\uddef\\uddf3\\uddfa\\udecb\\udecd-\\udecf\\udee0-\\udee5\\udee9\\udef0\\udef3]|[\\u203c\\u2049\\u2139\\u2194-\\u2199\\u21a9\\u21aa\\u231a\\u231b\\u2328\\u23cf\\u23ed-\\u23ef\\u23f1\\u23f2\\u23f8-\\u23fa\\u24c2\\u25aa\\u25ab\\u25b6\\u25c0\\u25fb-\\u25fe\\u2600-\\u2604\\u260e\\u2611\\u2614\\u2615\\u2618\\u2620\\u2622\\u2623\\u2626\\u262a\\u262e\\u262f\\u2638-\\u263a\\u2640\\u2642\\u2648-\\u2653\\u2660\\u2663\\u2665\\u2666\\u2668\\u267b\\u267f\\u2692-\\u2697\\u2699\\u269b\\u269c\\u26a0\\u26a1\\u26aa\\u26ab\\u26b0\\u26b1\\u26bd\\u26be\\u26c4\\u26c5\\u26c8\\u26cf\\u26d1\\u26d3\\u26d4\\u26e9\\u26ea\\u26f0-\\u26f5\\u26f8\\u26fa\\u26fd\\u2702\\u2708\\u2709\\u270f\\u2712\\u2714\\u2716\\u271d\\u2721\\u2733\\u2734\\u2744\\u2747\\u2757\\u2763\\u2764\\u27a1\\u2934\\u2935\\u2b05-\\u2b07\\u2b1b\\u2b1c\\u2b50\\u2b55\\u3030\\u303d\\u3297\\u3299])(?:\\ufe0f|(?!\\ufe0e))|(?:(?:\\ud83c[\\udfcb\\udfcc]|\\ud83d[\\udd74\\udd75\\udd90]|[\\u261d\\u26f7\\u26f9\\u270c\\u270d])(?:\\ufe0f|(?!\\ufe0e))|(?:\\ud83c[\\udf85\\udfc2-\\udfc4\\udfc7\\udfca]|\\ud83d[\\udc42\\udc43\\udc46-\\udc50\\udc66-\\udc69\\udc6e\\udc70-\\udc78\\udc7c\\udc81-\\udc83\\udc85-\\udc87\\udcaa\\udd7a\\udd95\\udd96\\ude45-\\ude47\\ude4b-\\ude4f\\udea3\\udeb4-\\udeb6\\udec0\\udecc]|\\ud83e[\\udd18-\\udd1c\\udd1e\\udd1f\\udd26\\udd30-\\udd39\\udd3d\\udd3e\\uddb5\\uddb6\\uddb8\\uddb9\\uddd1-\\udddd]|[\\u270a\\u270b]))(?:\\ud83c[\\udffb-\\udfff])?|(?:\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc65\\udb40\\udc6e\\udb40\\udc67\\udb40\\udc7f|\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc73\\udb40\\udc63\\udb40\\udc74\\udb40\\udc7f|\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc77\\udb40\\udc6c\\udb40\\udc73\\udb40\\udc7f|\\ud83c\\udde6\\ud83c[\\udde8-\\uddec\\uddee\\uddf1\\uddf2\\uddf4\\uddf6-\\uddfa\\uddfc\\uddfd\\uddff]|\\ud83c\\udde7\\ud83c[\\udde6\\udde7\\udde9-\\uddef\\uddf1-\\uddf4\\uddf6-\\uddf9\\uddfb\\uddfc\\uddfe\\uddff]|\\ud83c\\udde8\\ud83c[\\udde6\\udde8\\udde9\\uddeb-\\uddee\\uddf0-\\uddf5\\uddf7\\uddfa-\\uddff]|\\ud83c\\udde9\\ud83c[\\uddea\\uddec\\uddef\\uddf0\\uddf2\\uddf4\\uddff]|\\ud83c\\uddea\\ud83c[\\udde6\\udde8\\uddea\\uddec\\udded\\uddf7-\\uddfa]|\\ud83c\\uddeb\\ud83c[\\uddee-\\uddf0\\uddf2\\uddf4\\uddf7]|\\ud83c\\uddec\\ud83c[\\udde6\\udde7\\udde9-\\uddee\\uddf1-\\uddf3\\uddf5-\\uddfa\\uddfc\\uddfe]|\\ud83c\\udded\\ud83c[\\uddf0\\uddf2\\uddf3\\uddf7\\uddf9\\uddfa]|\\ud83c\\uddee\\ud83c[\\udde8-\\uddea\\uddf1-\\uddf4\\uddf6-\\uddf9]|\\ud83c\\uddef\\ud83c[\\uddea\\uddf2\\uddf4\\uddf5]|\\ud83c\\uddf0\\ud83c[\\uddea\\uddec-\\uddee\\uddf2\\uddf3\\uddf5\\uddf7\\uddfc\\uddfe\\uddff]|\\ud83c\\uddf1\\ud83c[\\udde6-\\udde8\\uddee\\uddf0\\uddf7-\\uddfb\\uddfe]|\\ud83c\\uddf2\\ud83c[\\udde6\\udde8-\\udded\\uddf0-\\uddff]|\\ud83c\\uddf3\\ud83c[\\udde6\\udde8\\uddea-\\uddec\\uddee\\uddf1\\uddf4\\uddf5\\uddf7\\uddfa\\uddff]|\\ud83c\\uddf4\\ud83c\\uddf2|\\ud83c\\uddf5\\ud83c[\\udde6\\uddea-\\udded\\uddf0-\\uddf3\\uddf7-\\uddf9\\uddfc\\uddfe]|\\ud83c\\uddf6\\ud83c\\udde6|\\ud83c\\uddf7\\ud83c[\\uddea\\uddf4\\uddf8\\uddfa\\uddfc]|\\ud83c\\uddf8\\ud83c[\\udde6-\\uddea\\uddec-\\uddf4\\uddf7-\\uddf9\\uddfb\\uddfd-\\uddff]|\\ud83c\\uddf9\\ud83c[\\udde6\\udde8\\udde9\\uddeb-\\udded\\uddef-\\uddf4\\uddf7\\uddf9\\uddfb\\uddfc\\uddff]|\\ud83c\\uddfa\\ud83c[\\udde6\\uddec\\uddf2\\uddf3\\uddf8\\uddfe\\uddff]|\\ud83c\\uddfb\\ud83c[\\udde6\\udde8\\uddea\\uddec\\uddee\\uddf3\\uddfa]|\\ud83c\\uddfc\\ud83c[\\uddeb\\uddf8]|\\ud83c\\uddfd\\ud83c\\uddf0|\\ud83c\\uddfe\\ud83c[\\uddea\\uddf9]|\\ud83c\\uddff\\ud83c[\\udde6\\uddf2\\uddfc]|\\ud83c[\\udccf\\udd8e\\udd91-\\udd9a\\udde6-\\uddff\\ude01\\ude32-\\ude36\\ude38-\\ude3a\\ude50\\ude51\\udf00-\\udf20\\udf2d-\\udf35\\udf37-\\udf7c\\udf7e-\\udf84\\udf86-\\udf93\\udfa0-\\udfc1\\udfc5\\udfc6\\udfc8\\udfc9\\udfcf-\\udfd3\\udfe0-\\udff0\\udff4\\udff8-\\udfff]|\\ud83d[\\udc00-\\udc3e\\udc40\\udc44\\udc45\\udc51-\\udc65\\udc6a-\\udc6d\\udc6f\\udc79-\\udc7b\\udc7d-\\udc80\\udc84\\udc88-\\udca9\\udcab-\\udcfc\\udcff-\\udd3d\\udd4b-\\udd4e\\udd50-\\udd67\\udda4\\uddfb-\\ude44\\ude48-\\ude4a\\ude80-\\udea2\\udea4-\\udeb3\\udeb7-\\udebf\\udec1-\\udec5\\uded0-\\uded2\\udeeb\\udeec\\udef4-\\udef9]|\\ud83e[\\udd10-\\udd17\\udd1d\\udd20-\\udd25\\udd27-\\udd2f\\udd3a\\udd3c\\udd40-\\udd45\\udd47-\\udd70\\udd73-\\udd76\\udd7a\\udd7c-\\udda2\\uddb4\\uddb7\\uddc0-\\uddc2\\uddd0\\uddde-\\uddff]|[\\u23e9-\\u23ec\\u23f0\\u23f3\\u267e\\u26ce\\u2705\\u2728\\u274c\\u274e\\u2753-\\u2755\\u2795-\\u2797\\u27b0\\u27bf\\ue50a])|\\ufe0f/g,UFE0Fg=/\\uFE0F/g,U200D=String.fromCharCode(8205),rescaper=/[&<>'\"]/g,shouldntBeParsed=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,fromCharCode=String.fromCharCode;return twemoji;function createText(text,clean){return document.createTextNode(clean?text.replace(UFE0Fg,\"\"):text)}function escapeHTML(s){return s.replace(rescaper,replacer)}function defaultImageSrcGenerator(icon,options){return\"\".concat(options.base,options.size,\"/\",icon,options.ext)}function grabAllTextNodes(node,allText){var childNodes=node.childNodes,length=childNodes.length,subnode,nodeType;while(length--){subnode=childNodes[length];nodeType=subnode.nodeType;if(nodeType===3){allText.push(subnode)}else if(nodeType===1&&!(\"ownerSVGElement\"in subnode)&&!shouldntBeParsed.test(subnode.nodeName.toLowerCase())){grabAllTextNodes(subnode,allText)}}return allText}function grabTheRightIcon(rawText){return toCodePoint(rawText.indexOf(U200D)<0?rawText.replace(UFE0Fg,\"\"):rawText)}function parseNode(node,options){var allText=grabAllTextNodes(node,[]),length=allText.length,attrib,attrname,modified,fragment,subnode,text,match,i,index,img,rawText,iconId,src;while(length--){modified=false;fragment=document.createDocumentFragment();subnode=allText[length];text=subnode.nodeValue;i=0;while(match=re.exec(text)){index=match.index;if(index!==i){fragment.appendChild(createText(text.slice(i,index),true))}rawText=match[0];iconId=grabTheRightIcon(rawText);i=index+rawText.length;src=options.callback(iconId,options);if(iconId&&src){img=new Image;img.onerror=options.onerror;img.setAttribute(\"draggable\",\"false\");attrib=options.attributes(rawText,iconId);for(attrname in attrib){if(attrib.hasOwnProperty(attrname)&&attrname.indexOf(\"on\")!==0&&!img.hasAttribute(attrname)){img.setAttribute(attrname,attrib[attrname])}}img.className=options.className;img.alt=rawText;img.src=src;modified=true;fragment.appendChild(img)}if(!img)fragment.appendChild(createText(rawText,false));img=null}if(modified){if(i\")}return ret})}function replacer(m){return escaper[m]}function returnNull(){return null}function toSizeSquaredAsset(value){return typeof value===\"number\"?value+\"x\"+value:value}function fromCodePoint(codepoint){var code=typeof codepoint===\"string\"?parseInt(codepoint,16):codepoint;if(code<65536){return fromCharCode(code)}code-=65536;return fromCharCode(55296+(code>>10),56320+(code&1023))}function parse(what,how){if(!how||typeof how===\"function\"){how={callback:how}}return(typeof what===\"string\"?parseString:parseNode)(what,{callback:how.callback||defaultImageSrcGenerator,attributes:typeof how.attributes===\"function\"?how.attributes:returnNull,base:typeof how.base===\"string\"?how.base:twemoji.base,ext:how.ext||twemoji.ext,size:how.folder||toSizeSquaredAsset(how.size||twemoji.size),className:how.className||twemoji.className,onerror:how.onerror||twemoji.onerror})}function replace(text,callback){return String(text).replace(re,callback)}function test(text){re.lastIndex=0;var result=re.test(text);re.lastIndex=0;return result}function toCodePoint(unicodeSurrogates,sep){var r=[],c=0,p=0,i=0;while(i {\n const output = './docs/index.html'\n if (!isBrowser && typeof nodeRequire !== 'undefined') {\n try {\n const fs = nodeRequire('fs')\n const html = fs.readFileSync(output, 'utf8')\n fs.writeFileSync(output, html.replace(tag, tag + main))\n } catch (e) {}\n }\n}\n\nexport const snippet = name => `./website/snippets/${name}`\n\nexport const getEmojiSrc = char => {\n if (isBrowser) {\n const wrapper = document.createElement('div')\n wrapper.innerHTML = twemoji.parse(char, {\n folder: 'svg',\n ext: '.svg'\n })\n return wrapper.firstElementChild.src\n }\n}\n\nexport const toKebabCase = str =>\n str &&\n str\n .match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)\n .map(x => x.toLowerCase())\n .join('-')\n","export default {\n ajax: {\n imageSrc: '',\n isLoading: false,\n error: false,\n canFetch: true\n },\n performance: {\n inputValue: 0,\n numberOfElements: 0\n }\n}\n","export default {\n ajax: {\n onShow: () => (state, actions) => {\n if (state.isFetching || !state.canFetch) return\n\n fetch('https://unsplash.it/200/?random')\n .then(response => response.blob())\n .then(actions.onDataReceived)\n .catch(actions.errored)\n\n return {\n error: false,\n isFetching: true,\n canFetch: false\n }\n },\n\n onDataReceived: blob => state => {\n if (state.imageSrc === '') {\n return { imageSrc: URL.createObjectURL(blob) }\n }\n },\n\n onHidden: () => ({\n error: false,\n imageSrc: '',\n isFetching: false,\n canFetch: true\n }),\n\n errored: () => ({ error: true, imageSrc: '' })\n },\n\n performance: {\n test: () => state => ({ numberOfElements: state.inputValue }),\n setInputValue: event => ({ inputValue: +event.target.value })\n }\n}\n",null,"import { h } from 'hyperapp'\nimport { getEmojiSrc } from '../utils'\n\nconst Sizes = {\n large: '75px',\n medium: '40px',\n small: '25px'\n}\n\nexport default ({ size, ...props }, [char]) => (\n \n \n \n)\n","import { version } from '../../package.json'\nimport { Defaults, setDefaults } from './defaults'\nimport { isBrowser } from './browser'\nimport createTippy from './createTippy'\nimport bindGlobalEventListeners from './bindGlobalEventListeners'\nimport {\n isPlainObject,\n polyfillVirtualReferenceProps,\n getArrayOfElements,\n toArray,\n hideAllPoppers,\n validateOptions\n} from './utils'\n\nlet eventListenersBound = false\nlet useCapture = false\n\nexport default function tippy(targets, options, one) {\n validateOptions(options, Defaults)\n\n if (!eventListenersBound) {\n bindGlobalEventListeners(useCapture)\n eventListenersBound = true\n }\n\n const props = { ...Defaults, ...options }\n\n /**\n * If they are specifying a virtual positioning reference, we need to polyfill\n * some native DOM props\n */\n if (isPlainObject(targets)) {\n polyfillVirtualReferenceProps(targets)\n }\n\n const references = getArrayOfElements(targets)\n const firstReference = references[0]\n\n const instances = (one && firstReference\n ? [firstReference]\n : references\n ).reduce((acc, reference) => {\n const tip = reference && createTippy(reference, props)\n if (tip) {\n acc.push(tip)\n }\n return acc\n }, [])\n\n return {\n targets,\n props,\n instances,\n destroyAll() {\n this.instances.forEach(instance => {\n instance.destroy()\n })\n this.instances = []\n }\n }\n}\n\n/**\n * Static props\n */\ntippy.version = version\ntippy.defaults = Defaults\n\n/**\n * Static methods\n */\ntippy.one = (targets, options) => tippy(targets, options, true).instances[0]\ntippy.setDefaults = partialDefaults => {\n setDefaults(partialDefaults)\n tippy.defaults = Defaults\n}\ntippy.disableAnimations = () => {\n tippy.setDefaults({\n duration: 0,\n updateDuration: 0,\n animateFill: false\n })\n}\ntippy.hideAllPoppers = hideAllPoppers\ntippy.useCapture = () => {\n useCapture = true\n}\n\n/**\n * Auto-init tooltips for elements with a `data-tippy=\"...\"` attribute\n */\nexport const autoInit = () => {\n toArray(document.querySelectorAll('[data-tippy]')).forEach(el => {\n const content = el.getAttribute('data-tippy')\n if (content) {\n tippy(el, { content })\n }\n })\n}\nif (isBrowser) {\n setTimeout(autoInit)\n}\n","/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.14.5\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';\n\nvar longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\nvar timeoutDuration = 0;\nfor (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n timeoutDuration = 1;\n break;\n }\n}\n\nfunction microtaskDebounce(fn) {\n var called = false;\n return function () {\n if (called) {\n return;\n }\n called = true;\n window.Promise.resolve().then(function () {\n called = false;\n fn();\n });\n };\n}\n\nfunction taskDebounce(fn) {\n var scheduled = false;\n return function () {\n if (!scheduled) {\n scheduled = true;\n setTimeout(function () {\n scheduled = false;\n fn();\n }, timeoutDuration);\n }\n };\n}\n\nvar supportsMicroTasks = isBrowser && window.Promise;\n\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\nvar debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;\n\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nfunction isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n\n/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nfunction getStyleComputedProperty(element, property) {\n if (element.nodeType !== 1) {\n return [];\n }\n // NOTE: 1 DOM access here\n var window = element.ownerDocument.defaultView;\n var css = window.getComputedStyle(element, null);\n return property ? css[property] : css;\n}\n\n/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\nfunction getParentNode(element) {\n if (element.nodeName === 'HTML') {\n return element;\n }\n return element.parentNode || element.host;\n}\n\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\nfunction getScrollParent(element) {\n // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n if (!element) {\n return document.body;\n }\n\n switch (element.nodeName) {\n case 'HTML':\n case 'BODY':\n return element.ownerDocument.body;\n case '#document':\n return element.body;\n }\n\n // Firefox want us to check `-x` and `-y` variations as well\n\n var _getStyleComputedProp = getStyleComputedProperty(element),\n overflow = _getStyleComputedProp.overflow,\n overflowX = _getStyleComputedProp.overflowX,\n overflowY = _getStyleComputedProp.overflowY;\n\n if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n return element;\n }\n\n return getScrollParent(getParentNode(element));\n}\n\nvar isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nvar isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nfunction isIE(version) {\n if (version === 11) {\n return isIE11;\n }\n if (version === 10) {\n return isIE10;\n }\n return isIE11 || isIE10;\n}\n\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\nfunction getOffsetParent(element) {\n if (!element) {\n return document.documentElement;\n }\n\n var noOffsetParent = isIE(10) ? document.body : null;\n\n // NOTE: 1 DOM access here\n var offsetParent = element.offsetParent || null;\n // Skip hidden elements which don't have an offsetParent\n while (offsetParent === noOffsetParent && element.nextElementSibling) {\n offsetParent = (element = element.nextElementSibling).offsetParent;\n }\n\n var nodeName = offsetParent && offsetParent.nodeName;\n\n if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n return element ? element.ownerDocument.documentElement : document.documentElement;\n }\n\n // .offsetParent will return the closest TH, TD or TABLE in case\n // no offsetParent is present, I hate this job...\n if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {\n return getOffsetParent(offsetParent);\n }\n\n return offsetParent;\n}\n\nfunction isOffsetContainer(element) {\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY') {\n return false;\n }\n return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;\n}\n\n/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\nfunction getRoot(node) {\n if (node.parentNode !== null) {\n return getRoot(node.parentNode);\n }\n\n return node;\n}\n\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\nfunction findCommonOffsetParent(element1, element2) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n return document.documentElement;\n }\n\n // Here we make sure to give as \"start\" the element that comes first in the DOM\n var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;\n var start = order ? element1 : element2;\n var end = order ? element2 : element1;\n\n // Get common ancestor container\n var range = document.createRange();\n range.setStart(start, 0);\n range.setEnd(end, 0);\n var commonAncestorContainer = range.commonAncestorContainer;\n\n // Both nodes are inside #document\n\n if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {\n if (isOffsetContainer(commonAncestorContainer)) {\n return commonAncestorContainer;\n }\n\n return getOffsetParent(commonAncestorContainer);\n }\n\n // one of the nodes is inside shadowDOM, find which one\n var element1root = getRoot(element1);\n if (element1root.host) {\n return findCommonOffsetParent(element1root.host, element2);\n } else {\n return findCommonOffsetParent(element1, getRoot(element2).host);\n }\n}\n\n/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\nfunction getScroll(element) {\n var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';\n\n var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n var html = element.ownerDocument.documentElement;\n var scrollingElement = element.ownerDocument.scrollingElement || html;\n return scrollingElement[upperSide];\n }\n\n return element[upperSide];\n}\n\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\nfunction includeScroll(rect, element) {\n var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n var modifier = subtract ? -1 : 1;\n rect.top += scrollTop * modifier;\n rect.bottom += scrollTop * modifier;\n rect.left += scrollLeft * modifier;\n rect.right += scrollLeft * modifier;\n return rect;\n}\n\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nfunction getBordersSize(styles, axis) {\n var sideA = axis === 'x' ? 'Left' : 'Top';\n var sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10);\n}\n\nfunction getSize(axis, body, html, computedStyle) {\n return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);\n}\n\nfunction getWindowSizes(document) {\n var body = document.body;\n var html = document.documentElement;\n var computedStyle = isIE(10) && getComputedStyle(html);\n\n return {\n height: getSize('Height', body, html, computedStyle),\n width: getSize('Width', body, html, computedStyle)\n };\n}\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n\n\n\n\nvar defineProperty = function (obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\n/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nfunction getClientRect(offsets) {\n return _extends({}, offsets, {\n right: offsets.left + offsets.width,\n bottom: offsets.top + offsets.height\n });\n}\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nfunction getBoundingClientRect(element) {\n var rect = {};\n\n // IE10 10 FIX: Please, don't ask, the element isn't\n // considered in DOM in some circumstances...\n // This isn't reproducible in IE10 compatibility mode of IE11\n try {\n if (isIE(10)) {\n rect = element.getBoundingClientRect();\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n rect.top += scrollTop;\n rect.left += scrollLeft;\n rect.bottom += scrollTop;\n rect.right += scrollLeft;\n } else {\n rect = element.getBoundingClientRect();\n }\n } catch (e) {}\n\n var result = {\n left: rect.left,\n top: rect.top,\n width: rect.right - rect.left,\n height: rect.bottom - rect.top\n };\n\n // subtract scrollbar size from sizes\n var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n var width = sizes.width || element.clientWidth || result.right - result.left;\n var height = sizes.height || element.clientHeight || result.bottom - result.top;\n\n var horizScrollbar = element.offsetWidth - width;\n var vertScrollbar = element.offsetHeight - height;\n\n // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n // we make this check conditional for performance reasons\n if (horizScrollbar || vertScrollbar) {\n var styles = getStyleComputedProperty(element);\n horizScrollbar -= getBordersSize(styles, 'x');\n vertScrollbar -= getBordersSize(styles, 'y');\n\n result.width -= horizScrollbar;\n result.height -= vertScrollbar;\n }\n\n return getClientRect(result);\n}\n\nfunction getOffsetRectRelativeToArbitraryNode(children, parent) {\n var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var isIE10 = isIE(10);\n var isHTML = parent.nodeName === 'HTML';\n var childrenRect = getBoundingClientRect(children);\n var parentRect = getBoundingClientRect(parent);\n var scrollParent = getScrollParent(children);\n\n var styles = getStyleComputedProperty(parent);\n var borderTopWidth = parseFloat(styles.borderTopWidth, 10);\n var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10);\n\n // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n if (fixedPosition && isHTML) {\n parentRect.top = Math.max(parentRect.top, 0);\n parentRect.left = Math.max(parentRect.left, 0);\n }\n var offsets = getClientRect({\n top: childrenRect.top - parentRect.top - borderTopWidth,\n left: childrenRect.left - parentRect.left - borderLeftWidth,\n width: childrenRect.width,\n height: childrenRect.height\n });\n offsets.marginTop = 0;\n offsets.marginLeft = 0;\n\n // Subtract margins of documentElement in case it's being used as parent\n // we do this only on HTML because it's the only element that behaves\n // differently when margins are applied to it. The margins are included in\n // the box of the documentElement, in the other cases not.\n if (!isIE10 && isHTML) {\n var marginTop = parseFloat(styles.marginTop, 10);\n var marginLeft = parseFloat(styles.marginLeft, 10);\n\n offsets.top -= borderTopWidth - marginTop;\n offsets.bottom -= borderTopWidth - marginTop;\n offsets.left -= borderLeftWidth - marginLeft;\n offsets.right -= borderLeftWidth - marginLeft;\n\n // Attach marginTop and marginLeft because in some circumstances we may need them\n offsets.marginTop = marginTop;\n offsets.marginLeft = marginLeft;\n }\n\n if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {\n offsets = includeScroll(offsets, parent);\n }\n\n return offsets;\n}\n\nfunction getViewportOffsetRectRelativeToArtbitraryNode(element) {\n var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var html = element.ownerDocument.documentElement;\n var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n var width = Math.max(html.clientWidth, window.innerWidth || 0);\n var height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n var scrollTop = !excludeScroll ? getScroll(html) : 0;\n var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n var offset = {\n top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n width: width,\n height: height\n };\n\n return getClientRect(offset);\n}\n\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\nfunction isFixed(element) {\n var nodeName = element.nodeName;\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n return false;\n }\n if (getStyleComputedProperty(element, 'position') === 'fixed') {\n return true;\n }\n return isFixed(getParentNode(element));\n}\n\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\nfunction getFixedPositionOffsetParent(element) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element || !element.parentElement || isIE()) {\n return document.documentElement;\n }\n var el = element.parentElement;\n while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n el = el.parentElement;\n }\n return el || document.documentElement;\n}\n\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\nfunction getBoundaries(popper, reference, padding, boundariesElement) {\n var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n // NOTE: 1 DOM access here\n\n var boundaries = { top: 0, left: 0 };\n var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);\n\n // Handle viewport case\n if (boundariesElement === 'viewport') {\n boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n } else {\n // Handle other cases based on DOM element used as boundaries\n var boundariesNode = void 0;\n if (boundariesElement === 'scrollParent') {\n boundariesNode = getScrollParent(getParentNode(reference));\n if (boundariesNode.nodeName === 'BODY') {\n boundariesNode = popper.ownerDocument.documentElement;\n }\n } else if (boundariesElement === 'window') {\n boundariesNode = popper.ownerDocument.documentElement;\n } else {\n boundariesNode = boundariesElement;\n }\n\n var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);\n\n // In case of HTML, we need a different computation\n if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n var _getWindowSizes = getWindowSizes(popper.ownerDocument),\n height = _getWindowSizes.height,\n width = _getWindowSizes.width;\n\n boundaries.top += offsets.top - offsets.marginTop;\n boundaries.bottom = height + offsets.top;\n boundaries.left += offsets.left - offsets.marginLeft;\n boundaries.right = width + offsets.left;\n } else {\n // for all the other DOM elements, this one is good\n boundaries = offsets;\n }\n }\n\n // Add paddings\n padding = padding || 0;\n var isPaddingNumber = typeof padding === 'number';\n boundaries.left += isPaddingNumber ? padding : padding.left || 0;\n boundaries.top += isPaddingNumber ? padding : padding.top || 0;\n boundaries.right -= isPaddingNumber ? padding : padding.right || 0;\n boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;\n\n return boundaries;\n}\n\nfunction getArea(_ref) {\n var width = _ref.width,\n height = _ref.height;\n\n return width * height;\n}\n\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {\n var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n\n if (placement.indexOf('auto') === -1) {\n return placement;\n }\n\n var boundaries = getBoundaries(popper, reference, padding, boundariesElement);\n\n var rects = {\n top: {\n width: boundaries.width,\n height: refRect.top - boundaries.top\n },\n right: {\n width: boundaries.right - refRect.right,\n height: boundaries.height\n },\n bottom: {\n width: boundaries.width,\n height: boundaries.bottom - refRect.bottom\n },\n left: {\n width: refRect.left - boundaries.left,\n height: boundaries.height\n }\n };\n\n var sortedAreas = Object.keys(rects).map(function (key) {\n return _extends({\n key: key\n }, rects[key], {\n area: getArea(rects[key])\n });\n }).sort(function (a, b) {\n return b.area - a.area;\n });\n\n var filteredAreas = sortedAreas.filter(function (_ref2) {\n var width = _ref2.width,\n height = _ref2.height;\n return width >= popper.clientWidth && height >= popper.clientHeight;\n });\n\n var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;\n\n var variation = placement.split('-')[1];\n\n return computedPlacement + (variation ? '-' + variation : '');\n}\n\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\nfunction getReferenceOffsets(state, popper, reference) {\n var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);\n return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nfunction getOuterSizes(element) {\n var window = element.ownerDocument.defaultView;\n var styles = window.getComputedStyle(element);\n var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom);\n var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight);\n var result = {\n width: element.offsetWidth + y,\n height: element.offsetHeight + x\n };\n return result;\n}\n\n/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\nfunction getOppositePlacement(placement) {\n var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}\n\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\nfunction getPopperOffsets(popper, referenceOffsets, placement) {\n placement = placement.split('-')[0];\n\n // Get popper node sizes\n var popperRect = getOuterSizes(popper);\n\n // Add position, width and height to our offsets object\n var popperOffsets = {\n width: popperRect.width,\n height: popperRect.height\n };\n\n // depending by the popper placement we have to compute its offsets slightly differently\n var isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n var mainSide = isHoriz ? 'top' : 'left';\n var secondarySide = isHoriz ? 'left' : 'top';\n var measurement = isHoriz ? 'height' : 'width';\n var secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;\n if (placement === secondarySide) {\n popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n } else {\n popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];\n }\n\n return popperOffsets;\n}\n\n/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction find(arr, check) {\n // use native find if supported\n if (Array.prototype.find) {\n return arr.find(check);\n }\n\n // use `filter` to obtain the same behavior of `find`\n return arr.filter(check)[0];\n}\n\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction findIndex(arr, prop, value) {\n // use native findIndex if supported\n if (Array.prototype.findIndex) {\n return arr.findIndex(function (cur) {\n return cur[prop] === value;\n });\n }\n\n // use `find` + `indexOf` if `findIndex` isn't supported\n var match = find(arr, function (obj) {\n return obj[prop] === value;\n });\n return arr.indexOf(match);\n}\n\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\nfunction runModifiers(modifiers, data, ends) {\n var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n modifiersToRun.forEach(function (modifier) {\n if (modifier['function']) {\n // eslint-disable-line dot-notation\n console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n }\n var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n if (modifier.enabled && isFunction(fn)) {\n // Add properties to offsets to make them a complete clientRect object\n // we do this before each modifier to make sure the previous one doesn't\n // mess with these values\n data.offsets.popper = getClientRect(data.offsets.popper);\n data.offsets.reference = getClientRect(data.offsets.reference);\n\n data = fn(data, modifier);\n }\n });\n\n return data;\n}\n\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style.
\n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\nfunction update() {\n // if popper is destroyed, don't perform any further update\n if (this.state.isDestroyed) {\n return;\n }\n\n var data = {\n instance: this,\n styles: {},\n arrowStyles: {},\n attributes: {},\n flipped: false,\n offsets: {}\n };\n\n // compute reference element offsets\n data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);\n\n // store the computed placement inside `originalPlacement`\n data.originalPlacement = data.placement;\n\n data.positionFixed = this.options.positionFixed;\n\n // compute the popper offsets\n data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);\n\n data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';\n\n // run the modifiers\n data = runModifiers(this.modifiers, data);\n\n // the first `update` will call `onCreate` callback\n // the other ones will call `onUpdate` callback\n if (!this.state.isCreated) {\n this.state.isCreated = true;\n this.options.onCreate(data);\n } else {\n this.options.onUpdate(data);\n }\n}\n\n/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nfunction isModifierEnabled(modifiers, modifierName) {\n return modifiers.some(function (_ref) {\n var name = _ref.name,\n enabled = _ref.enabled;\n return enabled && name === modifierName;\n });\n}\n\n/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\nfunction getSupportedPropertyName(property) {\n var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n var upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n for (var i = 0; i < prefixes.length; i++) {\n var prefix = prefixes[i];\n var toCheck = prefix ? '' + prefix + upperProp : property;\n if (typeof document.body.style[toCheck] !== 'undefined') {\n return toCheck;\n }\n }\n return null;\n}\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nfunction destroy() {\n this.state.isDestroyed = true;\n\n // touch DOM only if `applyStyle` modifier is enabled\n if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n this.popper.removeAttribute('x-placement');\n this.popper.style.position = '';\n this.popper.style.top = '';\n this.popper.style.left = '';\n this.popper.style.right = '';\n this.popper.style.bottom = '';\n this.popper.style.willChange = '';\n this.popper.style[getSupportedPropertyName('transform')] = '';\n }\n\n this.disableEventListeners();\n\n // remove the popper if user explicity asked for the deletion on destroy\n // do not use `remove` because IE11 doesn't support it\n if (this.options.removeOnDestroy) {\n this.popper.parentNode.removeChild(this.popper);\n }\n return this;\n}\n\n/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nfunction getWindow(element) {\n var ownerDocument = element.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView : window;\n}\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n var isBody = scrollParent.nodeName === 'BODY';\n var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n target.addEventListener(event, callback, { passive: true });\n\n if (!isBody) {\n attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);\n }\n scrollParents.push(target);\n}\n\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction setupEventListeners(reference, options, state, updateBound) {\n // Resize event listener on window\n state.updateBound = updateBound;\n getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });\n\n // Scroll event listener on scroll parents\n var scrollElement = getScrollParent(reference);\n attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);\n state.scrollElement = scrollElement;\n state.eventsEnabled = true;\n\n return state;\n}\n\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\nfunction enableEventListeners() {\n if (!this.state.eventsEnabled) {\n this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);\n }\n}\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction removeEventListeners(reference, state) {\n // Remove resize event listener on window\n getWindow(reference).removeEventListener('resize', state.updateBound);\n\n // Remove scroll event listener on scroll parents\n state.scrollParents.forEach(function (target) {\n target.removeEventListener('scroll', state.updateBound);\n });\n\n // Reset state\n state.updateBound = null;\n state.scrollParents = [];\n state.scrollElement = null;\n state.eventsEnabled = false;\n return state;\n}\n\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\nfunction disableEventListeners() {\n if (this.state.eventsEnabled) {\n cancelAnimationFrame(this.scheduleUpdate);\n this.state = removeEventListeners(this.reference, this.state);\n }\n}\n\n/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nfunction isNumeric(n) {\n return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setStyles(element, styles) {\n Object.keys(styles).forEach(function (prop) {\n var unit = '';\n // add unit if the value is numeric and is one of the following\n if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {\n unit = 'px';\n }\n element.style[prop] = styles[prop] + unit;\n });\n}\n\n/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setAttributes(element, attributes) {\n Object.keys(attributes).forEach(function (prop) {\n var value = attributes[prop];\n if (value !== false) {\n element.setAttribute(prop, attributes[prop]);\n } else {\n element.removeAttribute(prop);\n }\n });\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\nfunction applyStyle(data) {\n // any property present in `data.styles` will be applied to the popper,\n // in this way we can make the 3rd party modifiers add custom styles to it\n // Be aware, modifiers could override the properties defined in the previous\n // lines of this modifier!\n setStyles(data.instance.popper, data.styles);\n\n // any property present in `data.attributes` will be applied to the popper,\n // they will be set as HTML attributes of the element\n setAttributes(data.instance.popper, data.attributes);\n\n // if arrowElement is defined and arrowStyles has some properties\n if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n setStyles(data.arrowElement, data.arrowStyles);\n }\n\n return data;\n}\n\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\nfunction applyStyleOnLoad(reference, popper, options, modifierOptions, state) {\n // compute reference element offsets\n var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);\n\n // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);\n\n popper.setAttribute('x-placement', placement);\n\n // Apply `position` to popper before anything else because\n // without the position applied we can't guarantee correct computations\n setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });\n\n return options;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeStyle(data, options) {\n var x = options.x,\n y = options.y;\n var popper = data.offsets.popper;\n\n // Remove this legacy support in Popper.js v2\n\n var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'applyStyle';\n }).gpuAcceleration;\n if (legacyGpuAccelerationOption !== undefined) {\n console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');\n }\n var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;\n\n var offsetParent = getOffsetParent(data.instance.popper);\n var offsetParentRect = getBoundingClientRect(offsetParent);\n\n // Styles\n var styles = {\n position: popper.position\n };\n\n // Avoid blurry text by using full pixel integers.\n // For pixel-perfect positioning, top/bottom prefers rounded\n // values, while left/right prefers floored values.\n var offsets = {\n left: Math.floor(popper.left),\n top: Math.round(popper.top),\n bottom: Math.round(popper.bottom),\n right: Math.floor(popper.right)\n };\n\n var sideA = x === 'bottom' ? 'top' : 'bottom';\n var sideB = y === 'right' ? 'left' : 'right';\n\n // if gpuAcceleration is set to `true` and transform is supported,\n // we use `translate3d` to apply the position to the popper we\n // automatically use the supported prefixed version if needed\n var prefixedProperty = getSupportedPropertyName('transform');\n\n // now, let's make a step back and look at this code closely (wtf?)\n // If the content of the popper grows once it's been positioned, it\n // may happen that the popper gets misplaced because of the new content\n // overflowing its reference element\n // To avoid this problem, we provide two options (x and y), which allow\n // the consumer to define the offset origin.\n // If we position a popper on top of a reference element, we can set\n // `x` to `top` to make the popper grow towards its top instead of\n // its bottom.\n var left = void 0,\n top = void 0;\n if (sideA === 'bottom') {\n // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar)\n // and not the bottom of the html element\n if (offsetParent.nodeName === 'HTML') {\n top = -offsetParent.clientHeight + offsets.bottom;\n } else {\n top = -offsetParentRect.height + offsets.bottom;\n }\n } else {\n top = offsets.top;\n }\n if (sideB === 'right') {\n if (offsetParent.nodeName === 'HTML') {\n left = -offsetParent.clientWidth + offsets.right;\n } else {\n left = -offsetParentRect.width + offsets.right;\n }\n } else {\n left = offsets.left;\n }\n if (gpuAcceleration && prefixedProperty) {\n styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n styles[sideA] = 0;\n styles[sideB] = 0;\n styles.willChange = 'transform';\n } else {\n // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n var invertTop = sideA === 'bottom' ? -1 : 1;\n var invertLeft = sideB === 'right' ? -1 : 1;\n styles[sideA] = top * invertTop;\n styles[sideB] = left * invertLeft;\n styles.willChange = sideA + ', ' + sideB;\n }\n\n // Attributes\n var attributes = {\n 'x-placement': data.placement\n };\n\n // Update `data` attributes, styles and arrowStyles\n data.attributes = _extends({}, attributes, data.attributes);\n data.styles = _extends({}, styles, data.styles);\n data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);\n\n return data;\n}\n\n/**\n * Helper used to know if the given modifier depends from another one.
\n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\nfunction isModifierRequired(modifiers, requestingName, requestedName) {\n var requesting = find(modifiers, function (_ref) {\n var name = _ref.name;\n return name === requestingName;\n });\n\n var isRequired = !!requesting && modifiers.some(function (modifier) {\n return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;\n });\n\n if (!isRequired) {\n var _requesting = '`' + requestingName + '`';\n var requested = '`' + requestedName + '`';\n console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');\n }\n return isRequired;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction arrow(data, options) {\n var _data$offsets$arrow;\n\n // arrow depends on keepTogether in order to work\n if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n return data;\n }\n\n var arrowElement = options.element;\n\n // if arrowElement is a string, suppose it's a CSS selector\n if (typeof arrowElement === 'string') {\n arrowElement = data.instance.popper.querySelector(arrowElement);\n\n // if arrowElement is not found, don't run the modifier\n if (!arrowElement) {\n return data;\n }\n } else {\n // if the arrowElement isn't a query selector we must check that the\n // provided DOM node is child of its popper node\n if (!data.instance.popper.contains(arrowElement)) {\n console.warn('WARNING: `arrow.element` must be child of its popper element!');\n return data;\n }\n }\n\n var placement = data.placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n var len = isVertical ? 'height' : 'width';\n var sideCapitalized = isVertical ? 'Top' : 'Left';\n var side = sideCapitalized.toLowerCase();\n var altSide = isVertical ? 'left' : 'top';\n var opSide = isVertical ? 'bottom' : 'right';\n var arrowElementSize = getOuterSizes(arrowElement)[len];\n\n //\n // extends keepTogether behavior making sure the popper and its\n // reference have enough pixels in conjunction\n //\n\n // top/left side\n if (reference[opSide] - arrowElementSize < popper[side]) {\n data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);\n }\n // bottom/right side\n if (reference[side] + arrowElementSize > popper[opSide]) {\n data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];\n }\n data.offsets.popper = getClientRect(data.offsets.popper);\n\n // compute center of the popper\n var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;\n\n // Compute the sideValue using the updated popper offsets\n // take popper margin in account because we don't have this info available\n var css = getStyleComputedProperty(data.instance.popper);\n var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);\n var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);\n var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;\n\n // prevent arrowElement from being placed not contiguously to its popper\n sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n\n data.arrowElement = arrowElement;\n data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);\n\n return data;\n}\n\n/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\nfunction getOppositeVariation(variation) {\n if (variation === 'end') {\n return 'start';\n } else if (variation === 'start') {\n return 'end';\n }\n return variation;\n}\n\n/**\n * List of accepted placements to use as values of the `placement` option.
\n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right.
\n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\nvar placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];\n\n// Get rid of `auto` `auto-start` and `auto-end`\nvar validPlacements = placements.slice(3);\n\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\nfunction clockwise(placement) {\n var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var index = validPlacements.indexOf(placement);\n var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));\n return counter ? arr.reverse() : arr;\n}\n\nvar BEHAVIORS = {\n FLIP: 'flip',\n CLOCKWISE: 'clockwise',\n COUNTERCLOCKWISE: 'counterclockwise'\n};\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction flip(data, options) {\n // if `inner` modifier is enabled, we can't use the `flip` modifier\n if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n return data;\n }\n\n if (data.flipped && data.placement === data.originalPlacement) {\n // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n return data;\n }\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);\n\n var placement = data.placement.split('-')[0];\n var placementOpposite = getOppositePlacement(placement);\n var variation = data.placement.split('-')[1] || '';\n\n var flipOrder = [];\n\n switch (options.behavior) {\n case BEHAVIORS.FLIP:\n flipOrder = [placement, placementOpposite];\n break;\n case BEHAVIORS.CLOCKWISE:\n flipOrder = clockwise(placement);\n break;\n case BEHAVIORS.COUNTERCLOCKWISE:\n flipOrder = clockwise(placement, true);\n break;\n default:\n flipOrder = options.behavior;\n }\n\n flipOrder.forEach(function (step, index) {\n if (placement !== step || flipOrder.length === index + 1) {\n return data;\n }\n\n placement = data.placement.split('-')[0];\n placementOpposite = getOppositePlacement(placement);\n\n var popperOffsets = data.offsets.popper;\n var refOffsets = data.offsets.reference;\n\n // using floor because the reference offsets may contain decimals we are not going to consider here\n var floor = Math.floor;\n var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);\n\n var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;\n\n // flip the variation if required\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n var flippedVariation = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);\n\n if (overlapsRef || overflowsBoundaries || flippedVariation) {\n // this boolean to detect any flip loop\n data.flipped = true;\n\n if (overlapsRef || overflowsBoundaries) {\n placement = flipOrder[index + 1];\n }\n\n if (flippedVariation) {\n variation = getOppositeVariation(variation);\n }\n\n data.placement = placement + (variation ? '-' + variation : '');\n\n // this object contains `position`, we want to preserve it along with\n // any additional property we may add in the future\n data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));\n\n data = runModifiers(data.instance.modifiers, data, 'flip');\n }\n });\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction keepTogether(data) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var placement = data.placement.split('-')[0];\n var floor = Math.floor;\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n var side = isVertical ? 'right' : 'bottom';\n var opSide = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n if (popper[side] < floor(reference[opSide])) {\n data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];\n }\n if (popper[opSide] > floor(reference[side])) {\n data.offsets.popper[opSide] = floor(reference[side]);\n }\n\n return data;\n}\n\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nfunction toValue(str, measurement, popperOffsets, referenceOffsets) {\n // separate value from unit\n var split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n var value = +split[1];\n var unit = split[2];\n\n // If it's not a number it's an operator, I guess\n if (!value) {\n return str;\n }\n\n if (unit.indexOf('%') === 0) {\n var element = void 0;\n switch (unit) {\n case '%p':\n element = popperOffsets;\n break;\n case '%':\n case '%r':\n default:\n element = referenceOffsets;\n }\n\n var rect = getClientRect(element);\n return rect[measurement] / 100 * value;\n } else if (unit === 'vh' || unit === 'vw') {\n // if is a vh or vw, we calculate the size based on the viewport\n var size = void 0;\n if (unit === 'vh') {\n size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n } else {\n size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n }\n return size / 100 * value;\n } else {\n // if is an explicit pixel unit, we get rid of the unit and keep the value\n // if is an implicit unit, it's px, and we return just the value\n return value;\n }\n}\n\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\nfunction parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {\n var offsets = [0, 0];\n\n // Use height if placement is left or right and index is 0 otherwise use width\n // in this way the first offset will use an axis and the second one\n // will use the other one\n var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;\n\n // Split the offset string to obtain a list of values and operands\n // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n var fragments = offset.split(/(\\+|\\-)/).map(function (frag) {\n return frag.trim();\n });\n\n // Detect if the offset string contains a pair of values or a single one\n // they could be separated by comma or space\n var divider = fragments.indexOf(find(fragments, function (frag) {\n return frag.search(/,|\\s/) !== -1;\n }));\n\n if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');\n }\n\n // If divider is found, we divide the list of values and operands to divide\n // them by ofset X and Y.\n var splitRegex = /\\s*,\\s*|\\s+/;\n var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];\n\n // Convert the values with units to absolute pixels to allow our computations\n ops = ops.map(function (op, index) {\n // Most of the units rely on the orientation of the popper\n var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';\n var mergeWithPrevious = false;\n return op\n // This aggregates any `+` or `-` sign that aren't considered operators\n // e.g.: 10 + +5 => [10, +, +5]\n .reduce(function (a, b) {\n if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n a[a.length - 1] = b;\n mergeWithPrevious = true;\n return a;\n } else if (mergeWithPrevious) {\n a[a.length - 1] += b;\n mergeWithPrevious = false;\n return a;\n } else {\n return a.concat(b);\n }\n }, [])\n // Here we convert the string values into number values (in px)\n .map(function (str) {\n return toValue(str, measurement, popperOffsets, referenceOffsets);\n });\n });\n\n // Loop trough the offsets arrays and execute the operations\n ops.forEach(function (op, index) {\n op.forEach(function (frag, index2) {\n if (isNumeric(frag)) {\n offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n }\n });\n });\n return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nfunction offset(data, _ref) {\n var offset = _ref.offset;\n var placement = data.placement,\n _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var basePlacement = placement.split('-')[0];\n\n var offsets = void 0;\n if (isNumeric(+offset)) {\n offsets = [+offset, 0];\n } else {\n offsets = parseOffset(offset, popper, reference, basePlacement);\n }\n\n if (basePlacement === 'left') {\n popper.top += offsets[0];\n popper.left -= offsets[1];\n } else if (basePlacement === 'right') {\n popper.top += offsets[0];\n popper.left += offsets[1];\n } else if (basePlacement === 'top') {\n popper.left += offsets[0];\n popper.top -= offsets[1];\n } else if (basePlacement === 'bottom') {\n popper.left += offsets[0];\n popper.top += offsets[1];\n }\n\n data.popper = popper;\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction preventOverflow(data, options) {\n var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);\n\n // If offsetParent is the reference element, we really want to\n // go one step up and use the next offsetParent as reference to\n // avoid to make this modifier completely useless and look like broken\n if (data.instance.reference === boundariesElement) {\n boundariesElement = getOffsetParent(boundariesElement);\n }\n\n // NOTE: DOM access here\n // resets the popper's position so that the document size can be calculated excluding\n // the size of the popper element itself\n var transformProp = getSupportedPropertyName('transform');\n var popperStyles = data.instance.popper.style; // assignment to help minification\n var top = popperStyles.top,\n left = popperStyles.left,\n transform = popperStyles[transformProp];\n\n popperStyles.top = '';\n popperStyles.left = '';\n popperStyles[transformProp] = '';\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);\n\n // NOTE: DOM access here\n // restores the original style properties after the offsets have been computed\n popperStyles.top = top;\n popperStyles.left = left;\n popperStyles[transformProp] = transform;\n\n options.boundaries = boundaries;\n\n var order = options.priority;\n var popper = data.offsets.popper;\n\n var check = {\n primary: function primary(placement) {\n var value = popper[placement];\n if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {\n value = Math.max(popper[placement], boundaries[placement]);\n }\n return defineProperty({}, placement, value);\n },\n secondary: function secondary(placement) {\n var mainSide = placement === 'right' ? 'left' : 'top';\n var value = popper[mainSide];\n if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {\n value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));\n }\n return defineProperty({}, mainSide, value);\n }\n };\n\n order.forEach(function (placement) {\n var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n popper = _extends({}, popper, check[side](placement));\n });\n\n data.offsets.popper = popper;\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction shift(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var shiftvariation = placement.split('-')[1];\n\n // if shift shiftvariation is specified, run the modifier\n if (shiftvariation) {\n var _data$offsets = data.offsets,\n reference = _data$offsets.reference,\n popper = _data$offsets.popper;\n\n var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n var side = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n var shiftOffsets = {\n start: defineProperty({}, side, reference[side]),\n end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])\n };\n\n data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction hide(data) {\n if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n return data;\n }\n\n var refRect = data.offsets.reference;\n var bound = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'preventOverflow';\n }).boundaries;\n\n if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === true) {\n return data;\n }\n\n data.hide = true;\n data.attributes['x-out-of-boundaries'] = '';\n } else {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === false) {\n return data;\n }\n\n data.hide = false;\n data.attributes['x-out-of-boundaries'] = false;\n }\n\n return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction inner(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n\n var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n data.placement = getOppositePlacement(placement);\n data.offsets.popper = getClientRect(popper);\n\n return data;\n}\n\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property.
\n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers.
\n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\nvar modifiers = {\n /**\n * Modifier used to shift the popper on the start or end of its reference\n * element.
\n * It will read the variation of the `placement` property.
\n * It can be one either `-end` or `-start`.\n * @memberof modifiers\n * @inner\n */\n shift: {\n /** @prop {number} order=100 - Index used to define the order of execution */\n order: 100,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: shift\n },\n\n /**\n * The `offset` modifier can shift your popper on both its axis.\n *\n * It accepts the following units:\n * - `px` or unit-less, interpreted as pixels\n * - `%` or `%r`, percentage relative to the length of the reference element\n * - `%p`, percentage relative to the length of the popper element\n * - `vw`, CSS viewport width unit\n * - `vh`, CSS viewport height unit\n *\n * For length is intended the main axis relative to the placement of the popper.
\n * This means that if the placement is `top` or `bottom`, the length will be the\n * `width`. In case of `left` or `right`, it will be the `height`.\n *\n * You can provide a single value (as `Number` or `String`), or a pair of values\n * as `String` divided by a comma or one (or more) white spaces.
\n * The latter is a deprecated method because it leads to confusion and will be\n * removed in v2.
\n * Additionally, it accepts additions and subtractions between different units.\n * Note that multiplications and divisions aren't supported.\n *\n * Valid examples are:\n * ```\n * 10\n * '10%'\n * '10, 10'\n * '10%, 10'\n * '10 + 10%'\n * '10 - 5vh + 3%'\n * '-10px + 5vh, 5px - 6%'\n * ```\n * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n *\n * @memberof modifiers\n * @inner\n */\n offset: {\n /** @prop {number} order=200 - Index used to define the order of execution */\n order: 200,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: offset,\n /** @prop {Number|String} offset=0\n * The offset value as described in the modifier description\n */\n offset: 0\n },\n\n /**\n * Modifier used to prevent the popper from being positioned outside the boundary.\n *\n * A scenario exists where the reference itself is not within the boundaries.
\n * We can say it has \"escaped the boundaries\" โ€” or just \"escaped\".
\n * In this case we need to decide whether the popper should either:\n *\n * - detach from the reference and remain \"trapped\" in the boundaries, or\n * - if it should ignore the boundary and \"escape with its reference\"\n *\n * When `escapeWithReference` is set to`true` and reference is completely\n * outside its boundaries, the popper will overflow (or completely leave)\n * the boundaries in order to remain attached to the edge of the reference.\n *\n * @memberof modifiers\n * @inner\n */\n preventOverflow: {\n /** @prop {number} order=300 - Index used to define the order of execution */\n order: 300,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: preventOverflow,\n /**\n * @prop {Array} [priority=['left','right','top','bottom']]\n * Popper will try to prevent overflow following these priorities by default,\n * then, it could overflow on the left and on top of the `boundariesElement`\n */\n priority: ['left', 'right', 'top', 'bottom'],\n /**\n * @prop {number} padding=5\n * Amount of pixel used to define a minimum distance between the boundaries\n * and the popper. This makes sure the popper always has a little padding\n * between the edges of its container\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='scrollParent'\n * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n * `viewport` or any DOM element.\n */\n boundariesElement: 'scrollParent'\n },\n\n /**\n * Modifier used to make sure the reference and its popper stay near each other\n * without leaving any gap between the two. Especially useful when the arrow is\n * enabled and you want to ensure that it points to its reference element.\n * It cares only about the first axis. You can still have poppers with margin\n * between the popper and its reference element.\n * @memberof modifiers\n * @inner\n */\n keepTogether: {\n /** @prop {number} order=400 - Index used to define the order of execution */\n order: 400,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: keepTogether\n },\n\n /**\n * This modifier is used to move the `arrowElement` of the popper to make\n * sure it is positioned between the reference element and its popper element.\n * It will read the outer size of the `arrowElement` node to detect how many\n * pixels of conjunction are needed.\n *\n * It has no effect if no `arrowElement` is provided.\n * @memberof modifiers\n * @inner\n */\n arrow: {\n /** @prop {number} order=500 - Index used to define the order of execution */\n order: 500,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: arrow,\n /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n element: '[x-arrow]'\n },\n\n /**\n * Modifier used to flip the popper's placement when it starts to overlap its\n * reference element.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n *\n * **NOTE:** this modifier will interrupt the current update cycle and will\n * restart it if it detects the need to flip the placement.\n * @memberof modifiers\n * @inner\n */\n flip: {\n /** @prop {number} order=600 - Index used to define the order of execution */\n order: 600,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: flip,\n /**\n * @prop {String|Array} behavior='flip'\n * The behavior used to change the popper's placement. It can be one of\n * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n * placements (with optional variations)\n */\n behavior: 'flip',\n /**\n * @prop {number} padding=5\n * The popper will flip if it hits the edges of the `boundariesElement`\n */\n padding: 5,\n /**\n * @prop {String|HTMLElement} boundariesElement='viewport'\n * The element which will define the boundaries of the popper position.\n * The popper will never be placed outside of the defined boundaries\n * (except if `keepTogether` is enabled)\n */\n boundariesElement: 'viewport'\n },\n\n /**\n * Modifier used to make the popper flow toward the inner of the reference element.\n * By default, when this modifier is disabled, the popper will be placed outside\n * the reference element.\n * @memberof modifiers\n * @inner\n */\n inner: {\n /** @prop {number} order=700 - Index used to define the order of execution */\n order: 700,\n /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n enabled: false,\n /** @prop {ModifierFn} */\n fn: inner\n },\n\n /**\n * Modifier used to hide the popper when its reference element is outside of the\n * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n * be used to hide with a CSS selector the popper when its reference is\n * out of boundaries.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n * @memberof modifiers\n * @inner\n */\n hide: {\n /** @prop {number} order=800 - Index used to define the order of execution */\n order: 800,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: hide\n },\n\n /**\n * Computes the style that will be applied to the popper element to gets\n * properly positioned.\n *\n * Note that this modifier will not touch the DOM, it just prepares the styles\n * so that `applyStyle` modifier can apply it. This separation is useful\n * in case you need to replace `applyStyle` with a custom implementation.\n *\n * This modifier has `850` as `order` value to maintain backward compatibility\n * with previous versions of Popper.js. Expect the modifiers ordering method\n * to change in future major versions of the library.\n *\n * @memberof modifiers\n * @inner\n */\n computeStyle: {\n /** @prop {number} order=850 - Index used to define the order of execution */\n order: 850,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: computeStyle,\n /**\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: true,\n /**\n * @prop {string} [x='bottom']\n * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n * Change this if your popper should grow in a direction different from `bottom`\n */\n x: 'bottom',\n /**\n * @prop {string} [x='left']\n * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n * Change this if your popper should grow in a direction different from `right`\n */\n y: 'right'\n },\n\n /**\n * Applies the computed styles to the popper element.\n *\n * All the DOM manipulations are limited to this modifier. This is useful in case\n * you want to integrate Popper.js inside a framework or view library and you\n * want to delegate all the DOM manipulations to it.\n *\n * Note that if you disable this modifier, you must make sure the popper element\n * has its position set to `absolute` before Popper.js can do its work!\n *\n * Just disable this modifier and define your own to achieve the desired effect.\n *\n * @memberof modifiers\n * @inner\n */\n applyStyle: {\n /** @prop {number} order=900 - Index used to define the order of execution */\n order: 900,\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n /** @prop {ModifierFn} */\n fn: applyStyle,\n /** @prop {Function} */\n onLoad: applyStyleOnLoad,\n /**\n * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: undefined\n }\n};\n\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n\n/**\n * Default options provided to Popper.js constructor.
\n * These can be overridden using the `options` argument of Popper.js.
\n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n * modifiers: {\n * preventOverflow: { enabled: false }\n * }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\nvar Defaults = {\n /**\n * Popper's placement.\n * @prop {Popper.placements} placement='bottom'\n */\n placement: 'bottom',\n\n /**\n * Set this to true if you want popper to position it self in 'fixed' mode\n * @prop {Boolean} positionFixed=false\n */\n positionFixed: false,\n\n /**\n * Whether events (resize, scroll) are initially enabled.\n * @prop {Boolean} eventsEnabled=true\n */\n eventsEnabled: true,\n\n /**\n * Set to true if you want to automatically remove the popper when\n * you call the `destroy` method.\n * @prop {Boolean} removeOnDestroy=false\n */\n removeOnDestroy: false,\n\n /**\n * Callback called when the popper is created.
\n * By default, it is set to no-op.
\n * Access Popper.js instance with `data.instance`.\n * @prop {onCreate}\n */\n onCreate: function onCreate() {},\n\n /**\n * Callback called when the popper is updated. This callback is not called\n * on the initialization/creation of the popper, but only on subsequent\n * updates.
\n * By default, it is set to no-op.
\n * Access Popper.js instance with `data.instance`.\n * @prop {onUpdate}\n */\n onUpdate: function onUpdate() {},\n\n /**\n * List of modifiers used to modify the offsets before they are applied to the popper.\n * They provide most of the functionalities of Popper.js.\n * @prop {modifiers}\n */\n modifiers: modifiers\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n\n// Utils\n// Methods\nvar Popper = function () {\n /**\n * Creates a new Popper.js instance.\n * @class Popper\n * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as the popper\n * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n * @return {Object} instance - The generated Popper.js instance\n */\n function Popper(reference, popper) {\n var _this = this;\n\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n classCallCheck(this, Popper);\n\n this.scheduleUpdate = function () {\n return requestAnimationFrame(_this.update);\n };\n\n // make update() debounced, so that it only runs at most once-per-tick\n this.update = debounce(this.update.bind(this));\n\n // with {} we create a new object with the options inside it\n this.options = _extends({}, Popper.Defaults, options);\n\n // init state\n this.state = {\n isDestroyed: false,\n isCreated: false,\n scrollParents: []\n };\n\n // get reference and popper elements (allow jQuery wrappers)\n this.reference = reference && reference.jquery ? reference[0] : reference;\n this.popper = popper && popper.jquery ? popper[0] : popper;\n\n // Deep merge modifiers options\n this.options.modifiers = {};\n Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {\n _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});\n });\n\n // Refactoring modifiers' list (Object => Array)\n this.modifiers = Object.keys(this.options.modifiers).map(function (name) {\n return _extends({\n name: name\n }, _this.options.modifiers[name]);\n })\n // sort the modifiers by order\n .sort(function (a, b) {\n return a.order - b.order;\n });\n\n // modifiers have the ability to execute arbitrary code when Popper.js get inited\n // such code is executed in the same order of its modifier\n // they could add new properties to their options configuration\n // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n this.modifiers.forEach(function (modifierOptions) {\n if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);\n }\n });\n\n // fire the first update to position the popper in the right place\n this.update();\n\n var eventsEnabled = this.options.eventsEnabled;\n if (eventsEnabled) {\n // setup event listeners, they will take care of update the position in specific situations\n this.enableEventListeners();\n }\n\n this.state.eventsEnabled = eventsEnabled;\n }\n\n // We can't use class properties because they don't get listed in the\n // class prototype and break stuff like Sinon stubs\n\n\n createClass(Popper, [{\n key: 'update',\n value: function update$$1() {\n return update.call(this);\n }\n }, {\n key: 'destroy',\n value: function destroy$$1() {\n return destroy.call(this);\n }\n }, {\n key: 'enableEventListeners',\n value: function enableEventListeners$$1() {\n return enableEventListeners.call(this);\n }\n }, {\n key: 'disableEventListeners',\n value: function disableEventListeners$$1() {\n return disableEventListeners.call(this);\n }\n\n /**\n * Schedules an update. It will run on the next UI update available.\n * @method scheduleUpdate\n * @memberof Popper\n */\n\n\n /**\n * Collection of utilities useful when writing custom modifiers.\n * Starting from version 1.7, this method is available only if you\n * include `popper-utils.js` before `popper.js`.\n *\n * **DEPRECATION**: This way to access PopperUtils is deprecated\n * and will be removed in v2! Use the PopperUtils module directly instead.\n * Due to the high instability of the methods contained in Utils, we can't\n * guarantee them to follow semver. Use them at your own risk!\n * @static\n * @private\n * @type {Object}\n * @deprecated since version 1.8\n * @member Utils\n * @memberof Popper\n */\n\n }]);\n return Popper;\n}();\n\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node.
\n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n\n\nPopper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\nPopper.placements = placements;\nPopper.Defaults = Defaults;\n\nexport default Popper;\n//# sourceMappingURL=popper.js.map\n","export let Defaults = {\n a11y: true,\n allowHTML: true,\n animateFill: true,\n animation: 'shift-away',\n appendTo: () => document.body,\n arrow: false,\n arrowTransform: '',\n arrowType: 'sharp',\n content: '',\n delay: [0, 20],\n distance: 10,\n duration: [325, 275],\n flip: true,\n flipBehavior: 'flip',\n followCursor: false,\n hideOnClick: true,\n inertia: false,\n interactive: false,\n interactiveBorder: 2,\n interactiveDebounce: 0,\n lazy: true,\n livePlacement: true,\n multiple: false,\n offset: 0,\n onHidden() {},\n onHide() {},\n onMount() {},\n onShow() {},\n onShown() {},\n performance: false,\n placement: 'top',\n popperOptions: {},\n shouldPopperHideOnBlur: () => true,\n showOnInit: false,\n size: 'regular',\n sticky: false,\n target: '',\n theme: 'dark',\n touch: true,\n touchHold: false,\n trigger: 'mouseenter focus',\n updateDuration: 200,\n wait: null,\n zIndex: 9999\n}\n\nexport const setDefaults = partialDefaults => {\n Defaults = { ...Defaults, ...partialDefaults }\n}\n\n/**\n * If the set() method encounters one of these, the popperInstance must be\n * recreated\n */\nexport const POPPER_INSTANCE_RELATED_PROPS = [\n 'arrowType',\n 'distance',\n 'flip',\n 'flipBehavior',\n 'offset',\n 'placement',\n 'popperOptions'\n]\n","export const isBrowser = typeof window !== 'undefined'\n\nconst nav = isBrowser ? navigator : {}\nconst win = isBrowser ? window : {}\n\nexport const isBrowserSupported = 'MutationObserver' in win\nexport const isIE = /MSIE |Trident\\//.test(nav.userAgent)\nexport const isIOS = /iPhone|iPad|iPod/.test(nav.platform) && !win.MSStream\nexport const supportsTouch = 'ontouchstart' in win\n","export const Selectors = {\n POPPER: '.tippy-popper',\n TOOLTIP: '.tippy-tooltip',\n CONTENT: '.tippy-content',\n BACKDROP: '.tippy-backdrop',\n ARROW: '.tippy-arrow',\n ROUND_ARROW: '.tippy-roundarrow'\n}\n","import { Selectors } from './selectors'\nimport { Defaults } from './defaults'\nimport { isBrowser, isBrowserSupported } from './browser'\n\n/**\n * Firefox extensions doesn't allow 'innerHTML' to be set but we can trick it\n * + aid for minifiers not to remove the trick\n */\nconst FF_EXTENSION_TRICK = { x: true }\n\n/**\n * Injects a string of CSS styles to the style node in the document head\n */\nexport const injectCSS = css => {\n if (isBrowserSupported) {\n const style = document.createElement('style')\n style.type = 'text/css'\n style.textContent = css\n document.head.insertBefore(style, document.head.firstChild)\n }\n}\n\n/**\n * Ponyfill for Array.from; converts iterable values to an array\n */\nexport const toArray = value => [].slice.call(value)\n\n/**\n * Sets the content of a tooltip\n */\nexport const setContent = (contentEl, props) => {\n if (props.content instanceof Element) {\n setInnerHTML(contentEl, '')\n contentEl.appendChild(props.content)\n } else {\n contentEl[props.allowHTML ? 'innerHTML' : 'textContent'] = props.content\n }\n}\n\n/**\n * Determines if an element can receive focus\n */\nexport const elementCanReceiveFocus = el =>\n el instanceof Element\n ? matches.call(\n el,\n 'a[href],area[href],button,details,input,textarea,select,iframe,[tabindex]'\n ) && !el.hasAttribute('disabled')\n : true\n\n/**\n * Applies a transition duration to a list of elements\n */\nexport const applyTransitionDuration = (els, value) => {\n els.filter(Boolean).forEach(el => {\n el.style.transitionDuration = `${value}ms`\n })\n}\n\n/**\n * Returns the child elements of a popper element\n */\nexport const getChildren = popper => {\n const select = s => popper.querySelector(s)\n return {\n tooltip: select(Selectors.TOOLTIP),\n backdrop: select(Selectors.BACKDROP),\n content: select(Selectors.CONTENT),\n arrow: select(Selectors.ARROW) || select(Selectors.ROUND_ARROW)\n }\n}\n\n/**\n * Determines if a value is a plain object\n */\nexport const isPlainObject = value =>\n ({}.toString.call(value) === '[object Object]')\n\n/**\n * Creates and returns a div element\n */\nexport const div = () => document.createElement('div')\n\n/**\n * Sets the innerHTML of an element while tricking linters & minifiers\n */\nexport const setInnerHTML = (el, html) => {\n el[FF_EXTENSION_TRICK.x && 'innerHTML'] =\n html instanceof Element ? html[FF_EXTENSION_TRICK.x && 'innerHTML'] : html\n}\n\n/**\n * Returns an array of elements based on the value\n */\nexport const getArrayOfElements = value => {\n if (value instanceof Element || isPlainObject(value)) {\n return [value]\n }\n if (value instanceof NodeList) {\n return toArray(value)\n }\n if (Array.isArray(value)) {\n return value\n }\n\n try {\n return toArray(document.querySelectorAll(value))\n } catch (e) {\n return []\n }\n}\n\n/**\n * Determines if a value is numeric\n */\nexport const isNumeric = value => !isNaN(value) && !isNaN(parseFloat(value))\n\n/**\n * Returns a value at a given index depending on if it's an array or number\n */\nexport const getValue = (value, index, defaultValue) => {\n if (Array.isArray(value)) {\n const v = value[index]\n return v == null ? defaultValue : v\n }\n return value\n}\n\n/**\n * Creates an arrow element and returns it\n */\nexport const createArrowElement = arrowType => {\n const arrow = div()\n if (arrowType === 'round') {\n arrow.className = 'tippy-roundarrow'\n setInnerHTML(\n arrow,\n ''\n )\n } else {\n arrow.className = 'tippy-arrow'\n }\n return arrow\n}\n\n/**\n * Creates a backdrop element and returns it\n */\nexport const createBackdropElement = () => {\n const backdrop = div()\n backdrop.className = 'tippy-backdrop'\n backdrop.setAttribute('data-state', 'hidden')\n return backdrop\n}\n\n/**\n * Adds interactive attributes\n */\nexport const addInteractive = (popper, tooltip) => {\n popper.setAttribute('tabindex', '-1')\n tooltip.setAttribute('data-interactive', '')\n}\n\n/**\n * Removes interactive attributes\n */\nexport const removeInteractive = (popper, tooltip) => {\n popper.removeAttribute('tabindex')\n tooltip.removeAttribute('data-interactive')\n}\n\n/**\n * Adds inertia attribute\n */\nexport const addInertia = tooltip => {\n tooltip.setAttribute('data-inertia', '')\n}\n\n/**\n * Removes inertia attribute\n */\nexport const removeInertia = tooltip => {\n tooltip.removeAttribute('data-inertia')\n}\n\n/**\n * Constructs the popper element and returns it\n */\nexport const createPopperElement = (id, props) => {\n const popper = div()\n popper.className = 'tippy-popper'\n popper.setAttribute('role', 'tooltip')\n popper.id = `tippy-${id}`\n popper.style.zIndex = props.zIndex\n\n const tooltip = div()\n tooltip.className = 'tippy-tooltip'\n tooltip.setAttribute('data-size', props.size)\n tooltip.setAttribute('data-animation', props.animation)\n tooltip.setAttribute('data-state', 'hidden')\n props.theme.split(' ').forEach(t => {\n tooltip.classList.add(t + '-theme')\n })\n\n const content = div()\n content.className = 'tippy-content'\n content.setAttribute('data-state', 'hidden')\n\n if (props.interactive) {\n addInteractive(popper, tooltip)\n }\n\n if (props.arrow) {\n tooltip.appendChild(createArrowElement(props.arrowType))\n }\n\n if (props.animateFill) {\n tooltip.appendChild(createBackdropElement())\n tooltip.setAttribute('data-animatefill', '')\n }\n\n if (props.inertia) {\n tooltip.setAttribute('data-inertia', '')\n }\n\n setContent(content, props)\n\n tooltip.appendChild(content)\n popper.appendChild(tooltip)\n\n popper.addEventListener('focusout', e => {\n if (\n e.relatedTarget &&\n popper._tippy &&\n !closestCallback(e.relatedTarget, el => el === popper) &&\n e.relatedTarget !== popper._tippy.reference &&\n popper._tippy.props.shouldPopperHideOnBlur(e)\n ) {\n popper._tippy.hide()\n }\n })\n\n return popper\n}\n\n/**\n * Updates the popper element based on the new props\n */\nexport const updatePopperElement = (popper, prevProps, nextProps) => {\n const { tooltip, content, backdrop, arrow } = getChildren(popper)\n\n popper.style.zIndex = nextProps.zIndex\n tooltip.setAttribute('data-size', nextProps.size)\n tooltip.setAttribute('data-animation', nextProps.animation)\n\n if (prevProps.content !== nextProps.content) {\n setContent(content, nextProps)\n }\n\n // animateFill\n if (!prevProps.animateFill && nextProps.animateFill) {\n tooltip.appendChild(createBackdropElement())\n tooltip.setAttribute('data-animatefill', '')\n } else if (prevProps.animateFill && !nextProps.animateFill) {\n tooltip.removeChild(backdrop)\n tooltip.removeAttribute('data-animatefill')\n }\n\n // arrow\n if (!prevProps.arrow && nextProps.arrow) {\n tooltip.appendChild(createArrowElement(nextProps.arrowType))\n } else if (prevProps.arrow && !nextProps.arrow) {\n tooltip.removeChild(arrow)\n }\n\n // arrowType\n if (\n prevProps.arrow &&\n nextProps.arrow &&\n prevProps.arrowType !== nextProps.arrowType\n ) {\n tooltip.replaceChild(createArrowElement(nextProps.arrowType), arrow)\n }\n\n // interactive\n if (!prevProps.interactive && nextProps.interactive) {\n addInteractive(popper, tooltip)\n } else if (prevProps.interactive && !nextProps.interactive) {\n removeInteractive(popper, tooltip)\n }\n\n // inertia\n if (!prevProps.inertia && nextProps.inertia) {\n addInertia(tooltip)\n } else if (prevProps.inertia && !nextProps.inertia) {\n removeInertia(tooltip)\n }\n\n // theme\n if (prevProps.theme !== nextProps.theme) {\n prevProps.theme.split(' ').forEach(theme => {\n tooltip.classList.remove(theme + '-theme')\n })\n nextProps.theme.split(' ').forEach(theme => {\n tooltip.classList.add(theme + '-theme')\n })\n }\n}\n\n/**\n * Hides all visible poppers on the document\n */\nexport const hideAllPoppers = excludeTippy => {\n toArray(document.querySelectorAll(Selectors.POPPER)).forEach(popper => {\n const tip = popper._tippy\n if (\n tip &&\n tip.props.hideOnClick === true &&\n (!excludeTippy || popper !== excludeTippy.popper)\n ) {\n tip.hide()\n }\n })\n}\n\n/**\n * Returns an object of optional props from data-tippy-* attributes\n */\nexport const getDataAttributeOptions = reference =>\n Object.keys(Defaults).reduce((acc, key) => {\n const valueAsString = (\n reference.getAttribute(`data-tippy-${key}`) || ''\n ).trim()\n\n if (!valueAsString) {\n return acc\n }\n\n if (key === 'content') {\n acc[key] = valueAsString\n } else if (valueAsString === 'true') {\n acc[key] = true\n } else if (valueAsString === 'false') {\n acc[key] = false\n } else if (isNumeric(valueAsString)) {\n acc[key] = Number(valueAsString)\n } else if (valueAsString[0] === '[' || valueAsString[0] === '{') {\n acc[key] = JSON.parse(valueAsString)\n } else {\n acc[key] = valueAsString\n }\n\n return acc\n }, {})\n\n/**\n * Polyfills the virtual reference (plain object) with needed props\n * Mutating because DOM elements are mutated, adds _tippy property\n */\nexport const polyfillVirtualReferenceProps = virtualReference => {\n const polyfills = {\n isVirtual: true,\n attributes: virtualReference.attributes || {},\n setAttribute(key, value) {\n virtualReference.attributes[key] = value\n },\n getAttribute(key) {\n return virtualReference.attributes[key]\n },\n removeAttribute(key) {\n delete virtualReference.attributes[key]\n },\n hasAttribute(key) {\n return key in virtualReference.attributes\n },\n addEventListener() {},\n removeEventListener() {},\n classList: {\n classNames: {},\n add(key) {\n virtualReference.classList.classNames[key] = true\n },\n remove(key) {\n delete virtualReference.classList.classNames[key]\n },\n contains(key) {\n return key in virtualReference.classList.classNames\n }\n }\n }\n\n for (const key in polyfills) {\n virtualReference[key] = polyfills[key]\n }\n\n return virtualReference\n}\n\n/**\n * Ponyfill for Element.prototype.matches\n */\nexport const matches = (() => {\n if (isBrowser) {\n const e = Element.prototype\n return (\n e.matches ||\n e.matchesSelector ||\n e.webkitMatchesSelector ||\n e.mozMatchesSelector ||\n e.msMatchesSelector\n )\n }\n})()\n\n/**\n * Ponyfill for Element.prototype.closest\n */\nexport const closest = (element, parentSelector) =>\n (\n Element.prototype.closest ||\n function(selector) {\n let el = this\n while (el) {\n if (matches.call(el, selector)) return el\n el = el.parentElement\n }\n }\n ).call(element, parentSelector)\n\n/**\n * Works like Element.prototype.closest, but uses a callback instead\n */\nexport const closestCallback = (element, callback) => {\n while (element) {\n if (callback(element)) return element\n element = element.parentElement\n }\n}\n\n/**\n * Focuses an element while preventing a scroll jump if it's not within the viewport\n */\nexport const focus = el => {\n const x = window.scrollX || window.pageXOffset\n const y = window.scrollY || window.pageYOffset\n el.focus()\n scroll(x, y)\n}\n\n/**\n * Triggers reflow\n */\nexport const reflow = popper => {\n void popper.offsetHeight\n}\n\n/**\n * Transforms the x/y axis ased on the placement\n */\nexport const transformAxisBasedOnPlacement = (axis, isVertical) =>\n (isVertical\n ? axis\n : {\n X: 'Y',\n Y: 'X'\n }[axis]) || ''\n\n/**\n * Transforms the scale/translate numbers based on the placement\n */\nexport const transformNumbersBasedOnPlacement = (\n type,\n numbers,\n isVertical,\n isReverse\n) => {\n /**\n * Avoid destructuring because a large boilerplate function is generated\n * by Babel\n */\n const a = numbers[0]\n const b = numbers[1]\n\n if (!a && !b) {\n return ''\n }\n\n const transforms = {\n scale: (() => {\n if (!b) {\n return `${a}`\n } else {\n return isVertical ? `${a}, ${b}` : `${b}, ${a}`\n }\n })(),\n translate: (() => {\n if (!b) {\n return isReverse ? `${-a}px` : `${a}px`\n } else {\n if (isVertical) {\n return isReverse ? `${a}px, ${-b}px` : `${a}px, ${b}px`\n } else {\n return isReverse ? `${-b}px, ${a}px` : `${b}px, ${a}px`\n }\n }\n })()\n }\n\n return transforms[type]\n}\n\n/**\n * Returns the axis for a CSS function (translate or scale)\n */\nexport const getTransformAxis = (str, cssFunction) => {\n const match = str.match(new RegExp(cssFunction + '([XY])'))\n return match ? match[1] : ''\n}\n\n/**\n * Returns the numbers given to the CSS function\n */\nexport const getTransformNumbers = (str, regex) => {\n const match = str.match(regex)\n return match ? match[1].split(',').map(parseFloat) : []\n}\n\nexport const TRANSFORM_NUMBER_RE = {\n translate: /translateX?Y?\\(([^)]+)\\)/,\n scale: /scaleX?Y?\\(([^)]+)\\)/\n}\n\n/**\n * Computes the arrow's transform so that it is correct for any placement\n */\nexport const computeArrowTransform = (arrow, arrowTransform) => {\n const placement = getPopperPlacement(closest(arrow, Selectors.POPPER))\n const isVertical = placement === 'top' || placement === 'bottom'\n const isReverse = placement === 'right' || placement === 'bottom'\n\n const matches = {\n translate: {\n axis: getTransformAxis(arrowTransform, 'translate'),\n numbers: getTransformNumbers(\n arrowTransform,\n TRANSFORM_NUMBER_RE.translate\n )\n },\n scale: {\n axis: getTransformAxis(arrowTransform, 'scale'),\n numbers: getTransformNumbers(arrowTransform, TRANSFORM_NUMBER_RE.scale)\n }\n }\n\n const computedTransform = arrowTransform\n .replace(\n TRANSFORM_NUMBER_RE.translate,\n `translate${transformAxisBasedOnPlacement(\n matches.translate.axis,\n isVertical\n )}(${transformNumbersBasedOnPlacement(\n 'translate',\n matches.translate.numbers,\n isVertical,\n isReverse\n )})`\n )\n .replace(\n TRANSFORM_NUMBER_RE.scale,\n `scale${transformAxisBasedOnPlacement(\n matches.scale.axis,\n isVertical\n )}(${transformNumbersBasedOnPlacement(\n 'scale',\n matches.scale.numbers,\n isVertical,\n isReverse\n )})`\n )\n\n arrow.style[\n typeof document.body.style.transform !== 'undefined'\n ? 'transform'\n : 'webkitTransform'\n ] = computedTransform\n}\n\n/**\n * Sets the visibility state of a popper so it can begin to transition in or out\n */\nexport const setVisibilityState = (els, type) => {\n els.filter(Boolean).forEach(el => {\n el.setAttribute('data-state', type)\n })\n}\n\n/**\n * Runs the callback after the popper's position has been updated\n * update() is debounced with setTimeout(0) and scheduleUpdate() is\n * update() wrapped in requestAnimationFrame().\n */\nexport const afterPopperPositionUpdates = (popperInstance, callback) => {\n const { popper, options } = popperInstance\n const { onCreate, onUpdate } = options\n\n options.onCreate = options.onUpdate = () => {\n reflow(popper)\n callback()\n onUpdate()\n options.onCreate = onCreate\n options.onUpdate = onUpdate\n }\n}\n\n/**\n * Defers a function's execution until the call stack has cleared\n */\nexport const defer = fn => {\n setTimeout(fn, 1)\n}\n\n/**\n * Determines if the mouse cursor is outside of the popper's interactive border\n * region\n */\nexport const isCursorOutsideInteractiveBorder = (\n popperPlacement,\n popperRect,\n event,\n props\n) => {\n if (!popperPlacement) {\n return true\n }\n\n const { clientX: x, clientY: y } = event\n const { interactiveBorder, distance } = props\n\n const exceedsTop =\n popperRect.top - y >\n (popperPlacement === 'top'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n const exceedsBottom =\n y - popperRect.bottom >\n (popperPlacement === 'bottom'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n const exceedsLeft =\n popperRect.left - x >\n (popperPlacement === 'left'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n const exceedsRight =\n x - popperRect.right >\n (popperPlacement === 'right'\n ? interactiveBorder + distance\n : interactiveBorder)\n\n return exceedsTop || exceedsBottom || exceedsLeft || exceedsRight\n}\n\n/**\n * Returns the distance offset, taking into account the default offset due to\n * the transform: translate() rule in CSS\n */\nexport const getOffsetDistanceInPx = (distance, defaultDistance) =>\n -(distance - defaultDistance) + 'px'\n\n/**\n * Returns the popper's placement, ignoring shifting (top-start, etc)\n */\nexport const getPopperPlacement = popper => {\n const fullPlacement = popper.getAttribute('x-placement')\n return fullPlacement ? fullPlacement.split('-')[0] : ''\n}\n\n/**\n * Evaluates props\n */\nexport const evaluateProps = (reference, props) => {\n const out = {\n ...props,\n ...(props.performance ? {} : getDataAttributeOptions(reference))\n }\n\n if (out.arrow) {\n out.animateFill = false\n }\n\n if (typeof out.appendTo === 'function') {\n out.appendTo = props.appendTo(reference)\n }\n\n if (typeof out.content === 'function') {\n out.content = props.content(reference)\n }\n\n return out\n}\n\n/**\n * Add/remove transitionend listener from tooltip\n */\nexport const toggleTransitionEndListener = (tooltip, action, listener) => {\n tooltip[action + 'EventListener']('transitionend', listener)\n}\n\n/**\n * Debounce utility\n */\nexport const debounce = (fn, ms) => {\n let timeoutId\n return function() {\n clearTimeout(timeoutId)\n timeoutId = setTimeout(() => fn.apply(this, arguments), ms)\n }\n}\n\n/**\n * Validates an object of options with the valid default props object\n */\nexport const validateOptions = (options, props) => {\n for (const option in options || {}) {\n if (!(option in props)) {\n throw Error(`[tippy]: \\`${option}\\` is not a valid option`)\n }\n }\n}\n","import { Selectors } from './selectors'\nimport { supportsTouch, isIOS } from './browser'\nimport { hideAllPoppers, closest, closestCallback, toArray } from './utils'\n\nexport let isUsingTouch = false\n\nexport const onDocumentTouch = () => {\n if (isUsingTouch) {\n return\n }\n\n isUsingTouch = true\n\n if (isIOS) {\n document.body.classList.add('tippy-iOS')\n }\n\n if (window.performance) {\n document.addEventListener('mousemove', onDocumentMouseMove)\n }\n}\n\nlet lastMouseMoveTime = 0\nexport const onDocumentMouseMove = () => {\n const now = performance.now()\n\n // Chrome 60+ is 1 mousemove per animation frame, use 20ms time difference\n if (now - lastMouseMoveTime < 20) {\n isUsingTouch = false\n document.removeEventListener('mousemove', onDocumentMouseMove)\n if (!isIOS) {\n document.body.classList.remove('tippy-iOS')\n }\n }\n\n lastMouseMoveTime = now\n}\n\nexport const onDocumentClick = ({ target }) => {\n // Simulated events dispatched on the document\n if (!(target instanceof Element)) {\n return hideAllPoppers()\n }\n\n // Clicked on an interactive popper\n const popper = closest(target, Selectors.POPPER)\n if (popper && popper._tippy && popper._tippy.props.interactive) {\n return\n }\n\n // Clicked on a reference\n const reference = closestCallback(\n target,\n el => el._tippy && el._tippy.reference === el\n )\n if (reference) {\n const tip = reference._tippy\n const isClickTrigger = tip.props.trigger.indexOf('click') > -1\n\n if (isUsingTouch || isClickTrigger) {\n return hideAllPoppers(tip)\n }\n\n if (tip.props.hideOnClick !== true || isClickTrigger) {\n return\n }\n\n tip.clearDelayTimeouts()\n }\n\n hideAllPoppers()\n}\n\nexport const onWindowBlur = () => {\n const { activeElement } = document\n if (activeElement && activeElement.blur && activeElement._tippy) {\n activeElement.blur()\n }\n}\n\nexport const onWindowResize = () => {\n toArray(document.querySelectorAll(Selectors.POPPER)).forEach(popper => {\n const tippyInstance = popper._tippy\n if (!tippyInstance.props.livePlacement) {\n tippyInstance.popperInstance.scheduleUpdate()\n }\n })\n}\n\n/**\n * Adds the needed global event listeners\n */\nexport default function bindEventListeners(useCapture) {\n document.addEventListener('click', onDocumentClick, useCapture)\n // Old browsers will use capture phase but the phase does not matter anyway\n document.addEventListener('touchstart', onDocumentTouch, { passive: true })\n window.addEventListener('blur', onWindowBlur)\n window.addEventListener('resize', onWindowResize)\n\n if (\n !supportsTouch &&\n (navigator.maxTouchPoints || navigator.msMaxTouchPoints)\n ) {\n document.addEventListener('pointerdown', onDocumentTouch)\n }\n}\n","import Popper from 'popper.js'\nimport { Defaults, POPPER_INSTANCE_RELATED_PROPS } from './defaults'\nimport { Selectors } from './selectors'\nimport { isUsingTouch } from './bindGlobalEventListeners'\nimport { supportsTouch, isIE } from './browser'\nimport {\n createPopperElement,\n elementCanReceiveFocus,\n getChildren,\n computeArrowTransform,\n afterPopperPositionUpdates,\n getPopperPlacement,\n getOffsetDistanceInPx,\n getValue,\n closest,\n closestCallback,\n isCursorOutsideInteractiveBorder,\n applyTransitionDuration,\n setVisibilityState,\n updatePopperElement,\n evaluateProps,\n defer,\n toArray,\n focus,\n toggleTransitionEndListener,\n debounce,\n validateOptions\n} from './utils'\n\nlet idCounter = 1\n\n/**\n * Creates and returns a Tippy object. We're using a closure pattern instead of\n * a class so that the exposed object API is clean without private members\n * prefixed with `_`.\n */\nexport default function createTippy(reference, collectionProps) {\n const props = evaluateProps(reference, collectionProps)\n\n // If the reference shouldn't have multiple tippys, return null early\n if (!props.multiple && reference._tippy) {\n return null\n }\n\n /* ======================= ๐Ÿ”’ Private members ๐Ÿ”’ ======================= */\n // The popper element's mutation observer\n let popperMutationObserver = null\n\n // The last trigger event object that caused the tippy to show\n let lastTriggerEvent = {}\n\n // The last mousemove event object created by the document mousemove event\n let lastMouseMoveEvent = null\n\n // Timeout created by the show delay\n let showTimeoutId = 0\n\n // Timeout created by the hide delay\n let hideTimeoutId = 0\n\n // Flag to determine if the tippy is preparing to show due to the show timeout\n let isPreparingToShow = false\n\n // The current `transitionend` callback reference\n let transitionEndListener = () => {}\n\n // Array of event listeners currently attached to the reference element\n let listeners = []\n\n // Flag to determine if the reference was recently programmatically focused\n let referenceJustProgrammaticallyFocused = false\n\n // Private onMouseMove handler reference, debounced or not\n let debouncedOnMouseMove =\n props.interactiveDebounce > 0\n ? debounce(onMouseMove, props.interactiveDebounce)\n : onMouseMove\n\n /* ======================= ๐Ÿ”‘ Public members ๐Ÿ”‘ ======================= */\n // id used for the `aria-describedby` attribute\n const id = idCounter++\n\n // Popper element reference\n const popper = createPopperElement(id, props)\n\n // Prevent a tippy with a delay from hiding if the cursor left then returned\n // before it started hiding\n popper.addEventListener('mouseenter', event => {\n if (\n tip.props.interactive &&\n tip.state.isVisible &&\n lastTriggerEvent.type === 'mouseenter'\n ) {\n prepareShow(event)\n }\n })\n popper.addEventListener('mouseleave', event => {\n if (\n tip.props.interactive &&\n lastTriggerEvent.type === 'mouseenter' &&\n tip.props.interactiveDebounce === 0 &&\n isCursorOutsideInteractiveBorder(\n getPopperPlacement(popper),\n popper.getBoundingClientRect(),\n event,\n tip.props\n )\n ) {\n prepareHide()\n }\n })\n\n // Popper element children: { arrow, backdrop, content, tooltip }\n const popperChildren = getChildren(popper)\n\n // The state of the tippy\n const state = {\n // If the tippy is currently enabled\n isEnabled: true,\n // show() invoked, not currently transitioning out\n isVisible: false,\n // If the tippy has been destroyed\n isDestroyed: false,\n // If the tippy is on the DOM (transitioning out or in)\n isMounted: false,\n // show() transition finished\n isShown: false\n }\n\n // Popper.js instance for the tippy is lazily created\n const popperInstance = null\n\n // ๐ŸŒŸ tippy instance\n const tip = {\n // properties\n id,\n reference,\n popper,\n popperChildren,\n popperInstance,\n props,\n state,\n // methods\n clearDelayTimeouts,\n set,\n setContent,\n show,\n hide,\n enable,\n disable,\n destroy\n }\n\n addTriggersToReference()\n\n reference.addEventListener('click', onReferenceClick)\n\n if (!props.lazy) {\n tip.popperInstance = createPopperInstance()\n tip.popperInstance.disableEventListeners()\n }\n\n if (props.showOnInit) {\n prepareShow()\n }\n\n // Ensure the reference element can receive focus (and is not a delegate)\n if (props.a11y && !props.target && !elementCanReceiveFocus(reference)) {\n reference.setAttribute('tabindex', '0')\n }\n\n // Install shortcuts\n reference._tippy = tip\n popper._tippy = tip\n\n return tip\n\n /* ======================= ๐Ÿ”’ Private methods ๐Ÿ”’ ======================= */\n /**\n * If the reference was clicked, it also receives focus\n */\n function onReferenceClick() {\n defer(() => {\n referenceJustProgrammaticallyFocused = false\n })\n }\n\n /**\n * Ensure the popper's position stays correct if its dimensions change. Use\n * update() over .scheduleUpdate() so there is no 1 frame flash due to\n * async update\n */\n function addMutationObserver() {\n popperMutationObserver = new MutationObserver(() => {\n tip.popperInstance.update()\n })\n popperMutationObserver.observe(popper, {\n childList: true,\n subtree: true\n })\n }\n\n /**\n * Positions the virtual reference near the mouse cursor\n */\n function positionVirtualReferenceNearCursor(event) {\n const { clientX, clientY } = (lastMouseMoveEvent = event)\n\n if (!tip.popperInstance) {\n return\n }\n\n // Ensure virtual reference is padded by 5px to prevent tooltip from\n // overflowing. Maybe Popper.js issue?\n const placement = getPopperPlacement(tip.popper)\n const padding = tip.popperChildren.arrow ? 20 : 5\n const isVerticalPlacement = placement === 'top' || placement === 'bottom'\n const isHorizontalPlacement = placement === 'left' || placement === 'right'\n\n // Top / left boundary\n let x = isVerticalPlacement ? Math.max(padding, clientX) : clientX\n let y = isHorizontalPlacement ? Math.max(padding, clientY) : clientY\n\n // Bottom / right boundary\n if (isVerticalPlacement && x > padding) {\n x = Math.min(clientX, window.innerWidth - padding)\n }\n if (isHorizontalPlacement && y > padding) {\n y = Math.min(clientY, window.innerHeight - padding)\n }\n\n const rect = tip.reference.getBoundingClientRect()\n const { followCursor } = tip.props\n const isHorizontal = followCursor === 'horizontal'\n const isVertical = followCursor === 'vertical'\n\n tip.popperInstance.reference = {\n getBoundingClientRect: () => ({\n width: 0,\n height: 0,\n top: isHorizontal ? rect.top : y,\n bottom: isHorizontal ? rect.bottom : y,\n left: isVertical ? rect.left : x,\n right: isVertical ? rect.right : x\n }),\n clientWidth: 0,\n clientHeight: 0\n }\n\n tip.popperInstance.scheduleUpdate()\n }\n\n /**\n * Creates the tippy instance for a delegate when it's been triggered\n */\n function createDelegateChildTippy(event) {\n const targetEl = closest(event.target, tip.props.target)\n if (targetEl && !targetEl._tippy) {\n createTippy(targetEl, {\n ...tip.props,\n target: '',\n showOnInit: true\n })\n prepareShow(event)\n }\n }\n\n /**\n * Setup before show() is invoked (delays, etc.)\n */\n function prepareShow(event) {\n clearDelayTimeouts()\n\n if (tip.state.isVisible) {\n return\n }\n\n // Is a delegate, create an instance for the child target\n if (tip.props.target) {\n return createDelegateChildTippy(event)\n }\n\n isPreparingToShow = true\n\n if (tip.props.wait) {\n return tip.props.wait(tip, event)\n }\n\n // If the tooltip has a delay, we need to be listening to the mousemove as\n // soon as the trigger event is fired, so that it's in the correct position\n // upon mount\n if (hasFollowCursorBehavior()) {\n document.addEventListener('mousemove', positionVirtualReferenceNearCursor)\n }\n\n const delay = getValue(tip.props.delay, 0, Defaults.delay)\n\n if (delay) {\n showTimeoutId = setTimeout(() => {\n show()\n }, delay)\n } else {\n show()\n }\n }\n\n /**\n * Setup before hide() is invoked (delays, etc.)\n */\n function prepareHide() {\n clearDelayTimeouts()\n\n if (!tip.state.isVisible) {\n return removeFollowCursorListener()\n }\n\n isPreparingToShow = false\n\n const delay = getValue(tip.props.delay, 1, Defaults.delay)\n\n if (delay) {\n hideTimeoutId = setTimeout(() => {\n if (tip.state.isVisible) {\n hide()\n }\n }, delay)\n } else {\n hide()\n }\n }\n\n /**\n * Removes the follow cursor listener\n */\n function removeFollowCursorListener() {\n document.removeEventListener(\n 'mousemove',\n positionVirtualReferenceNearCursor\n )\n lastMouseMoveEvent = null\n }\n\n /**\n * Cleans up old listeners\n */\n function cleanupOldMouseListeners() {\n document.body.removeEventListener('mouseleave', prepareHide)\n document.removeEventListener('mousemove', debouncedOnMouseMove)\n }\n\n /**\n * Event listener invoked upon trigger\n */\n function onTrigger(event) {\n if (!tip.state.isEnabled || isEventListenerStopped(event)) {\n return\n }\n\n if (!tip.state.isVisible) {\n lastTriggerEvent = event\n }\n\n // Toggle show/hide when clicking click-triggered tooltips\n if (\n event.type === 'click' &&\n tip.props.hideOnClick !== false &&\n tip.state.isVisible\n ) {\n prepareHide()\n } else {\n prepareShow(event)\n }\n }\n\n /**\n * Event listener used for interactive tooltips to detect when they should\n * hide\n */\n function onMouseMove(event) {\n const referenceTheCursorIsOver = closestCallback(\n event.target,\n el => el._tippy\n )\n\n const isCursorOverPopper =\n closest(event.target, Selectors.POPPER) === tip.popper\n const isCursorOverReference = referenceTheCursorIsOver === tip.reference\n\n if (isCursorOverPopper || isCursorOverReference) {\n return\n }\n\n if (\n isCursorOutsideInteractiveBorder(\n getPopperPlacement(tip.popper),\n tip.popper.getBoundingClientRect(),\n event,\n tip.props\n )\n ) {\n cleanupOldMouseListeners()\n prepareHide()\n }\n }\n\n /**\n * Event listener invoked upon mouseleave\n */\n function onMouseLeave(event) {\n if (isEventListenerStopped(event)) {\n return\n }\n\n if (tip.props.interactive) {\n document.body.addEventListener('mouseleave', prepareHide)\n document.addEventListener('mousemove', debouncedOnMouseMove)\n return\n }\n\n prepareHide()\n }\n\n /**\n * Event listener invoked upon blur\n */\n function onBlur(event) {\n if (event.target !== tip.reference) {\n return\n }\n\n if (tip.props.interactive) {\n if (!event.relatedTarget) {\n return\n }\n if (closest(event.relatedTarget, Selectors.POPPER)) {\n return\n }\n }\n\n prepareHide()\n }\n\n /**\n * Event listener invoked when a child target is triggered\n */\n function onDelegateShow(event) {\n if (closest(event.target, tip.props.target)) {\n prepareShow(event)\n }\n }\n\n /**\n * Event listener invoked when a child target should hide\n */\n function onDelegateHide(event) {\n if (closest(event.target, tip.props.target)) {\n prepareHide()\n }\n }\n\n /**\n * Determines if an event listener should stop further execution due to the\n * `touchHold` option\n */\n function isEventListenerStopped(event) {\n const isTouchEvent = event.type.indexOf('touch') > -1\n const caseA =\n supportsTouch && isUsingTouch && tip.props.touchHold && !isTouchEvent\n const caseB = isUsingTouch && !tip.props.touchHold && isTouchEvent\n return caseA || caseB\n }\n\n /**\n * Creates the popper instance for the tip\n */\n function createPopperInstance() {\n const { tooltip } = tip.popperChildren\n const { popperOptions } = tip.props\n\n const arrowSelector =\n Selectors[tip.props.arrowType === 'round' ? 'ROUND_ARROW' : 'ARROW']\n const arrow = tooltip.querySelector(arrowSelector)\n\n const config = {\n placement: tip.props.placement,\n ...(popperOptions || {}),\n modifiers: {\n ...(popperOptions ? popperOptions.modifiers : {}),\n arrow: {\n element: arrowSelector,\n ...(popperOptions && popperOptions.modifiers\n ? popperOptions.modifiers.arrow\n : {})\n },\n flip: {\n enabled: tip.props.flip,\n padding: tip.props.distance + 5 /* 5px from viewport boundary */,\n behavior: tip.props.flipBehavior,\n ...(popperOptions && popperOptions.modifiers\n ? popperOptions.modifiers.flip\n : {})\n },\n offset: {\n offset: tip.props.offset,\n ...(popperOptions && popperOptions.modifiers\n ? popperOptions.modifiers.offset\n : {})\n }\n },\n onCreate() {\n tooltip.style[getPopperPlacement(tip.popper)] = getOffsetDistanceInPx(\n tip.props.distance,\n Defaults.distance\n )\n\n if (arrow && tip.props.arrowTransform) {\n computeArrowTransform(arrow, tip.props.arrowTransform)\n }\n },\n onUpdate() {\n const styles = tooltip.style\n styles.top = ''\n styles.bottom = ''\n styles.left = ''\n styles.right = ''\n styles[getPopperPlacement(tip.popper)] = getOffsetDistanceInPx(\n tip.props.distance,\n Defaults.distance\n )\n\n if (arrow && tip.props.arrowTransform) {\n computeArrowTransform(arrow, tip.props.arrowTransform)\n }\n }\n }\n\n if (!popperMutationObserver) {\n addMutationObserver()\n }\n\n return new Popper(tip.reference, tip.popper, config)\n }\n\n /**\n * Mounts the tooltip to the DOM, callback to show tooltip is run **after**\n * popper's position has updated\n */\n function mount(callback) {\n if (!tip.popperInstance) {\n tip.popperInstance = createPopperInstance()\n if (!tip.props.livePlacement || hasFollowCursorBehavior()) {\n tip.popperInstance.disableEventListeners()\n }\n } else {\n if (!hasFollowCursorBehavior()) {\n tip.popperInstance.scheduleUpdate()\n if (tip.props.livePlacement) {\n tip.popperInstance.enableEventListeners()\n }\n }\n }\n\n // If the instance previously had followCursor behavior, it will be\n // positioned incorrectly if triggered by `focus` afterwards.\n // Update the reference back to the real DOM element\n tip.popperInstance.reference = tip.reference\n const { arrow } = tip.popperChildren\n\n if (hasFollowCursorBehavior()) {\n if (arrow) {\n arrow.style.margin = '0'\n }\n const delay = getValue(tip.props.delay, 0, Defaults.delay)\n if (lastTriggerEvent.type) {\n positionVirtualReferenceNearCursor(\n delay && lastMouseMoveEvent ? lastMouseMoveEvent : lastTriggerEvent\n )\n }\n } else if (arrow) {\n arrow.style.margin = ''\n }\n\n afterPopperPositionUpdates(tip.popperInstance, callback)\n\n if (!tip.props.appendTo.contains(tip.popper)) {\n tip.props.appendTo.appendChild(tip.popper)\n tip.props.onMount(tip)\n tip.state.isMounted = true\n }\n }\n\n /**\n * Determines if the instance is in `followCursor` mode\n */\n function hasFollowCursorBehavior() {\n return (\n tip.props.followCursor &&\n !isUsingTouch &&\n lastTriggerEvent.type !== 'focus'\n )\n }\n\n /**\n * Updates the tooltip's position on each animation frame + timeout\n */\n function makeSticky() {\n applyTransitionDuration([tip.popper], isIE ? 0 : tip.props.updateDuration)\n\n const updatePosition = () => {\n if (tip.popperInstance) {\n tip.popperInstance.scheduleUpdate()\n }\n\n if (tip.state.isMounted) {\n requestAnimationFrame(updatePosition)\n } else {\n applyTransitionDuration([tip.popper], 0)\n }\n }\n\n updatePosition()\n }\n\n /**\n * Invokes a callback once the tooltip has fully transitioned out\n */\n function onTransitionedOut(duration, callback) {\n onTransitionEnd(duration, () => {\n if (!tip.state.isVisible && tip.props.appendTo.contains(tip.popper)) {\n callback()\n }\n })\n }\n\n /**\n * Invokes a callback once the tooltip has fully transitioned in\n */\n function onTransitionedIn(duration, callback) {\n onTransitionEnd(duration, callback)\n }\n\n /**\n * Invokes a callback once the tooltip's CSS transition ends\n */\n function onTransitionEnd(duration, callback) {\n // Make callback synchronous if duration is 0\n if (duration === 0) {\n return callback()\n }\n\n const { tooltip } = tip.popperChildren\n\n const listener = e => {\n if (e.target === tooltip) {\n toggleTransitionEndListener(tooltip, 'remove', listener)\n callback()\n }\n }\n\n toggleTransitionEndListener(tooltip, 'remove', transitionEndListener)\n toggleTransitionEndListener(tooltip, 'add', listener)\n\n transitionEndListener = listener\n }\n\n /**\n * Adds an event listener to the reference\n */\n function on(eventType, handler, acc) {\n tip.reference.addEventListener(eventType, handler)\n acc.push({ eventType, handler })\n }\n\n /**\n * Adds event listeners to the reference based on the `trigger` prop\n */\n function addTriggersToReference() {\n listeners = tip.props.trigger\n .trim()\n .split(' ')\n .reduce((acc, eventType) => {\n if (eventType === 'manual') {\n return acc\n }\n\n if (!tip.props.target) {\n on(eventType, onTrigger, acc)\n\n if (tip.props.touchHold) {\n on('touchstart', onTrigger, acc)\n on('touchend', onMouseLeave, acc)\n }\n\n switch (eventType) {\n case 'mouseenter':\n on('mouseleave', onMouseLeave, acc)\n break\n case 'focus':\n on(isIE ? 'focusout' : 'blur', onBlur, acc)\n break\n }\n } else {\n switch (eventType) {\n case 'mouseenter':\n on('mouseover', onDelegateShow, acc)\n on('mouseout', onDelegateHide, acc)\n break\n case 'focus':\n on('focusin', onDelegateShow, acc)\n on('focusout', onDelegateHide, acc)\n break\n case 'click':\n on(eventType, onDelegateShow, acc)\n break\n }\n }\n\n return acc\n }, [])\n }\n\n /**\n * Removes event listeners from the reference\n */\n function removeTriggersFromReference() {\n listeners.forEach(({ eventType, handler }) => {\n tip.reference.removeEventListener(eventType, handler)\n })\n }\n\n /* ======================= ๐Ÿ”‘ Public methods ๐Ÿ”‘ ======================= */\n /**\n * Enables the instance to allow it to show or hide\n */\n function enable() {\n tip.state.isEnabled = true\n }\n\n /**\n * Disables the instance to disallow it to show or hide\n */\n function disable() {\n tip.state.isEnabled = false\n }\n\n /**\n * Clears pending timeouts related to the `delay` prop if any\n */\n function clearDelayTimeouts() {\n clearTimeout(showTimeoutId)\n clearTimeout(hideTimeoutId)\n }\n\n /**\n * Sets new props for the instance and redraws the tooltip\n */\n function set(options = {}) {\n validateOptions(options, Defaults)\n\n const prevProps = tip.props\n const nextProps = evaluateProps(tip.reference, {\n ...tip.props,\n ...options,\n performance: true\n })\n nextProps.performance = options.hasOwnProperty('performance')\n ? options.performance\n : prevProps.performance\n tip.props = nextProps\n\n if (\n options.hasOwnProperty('trigger') ||\n options.hasOwnProperty('touchHold')\n ) {\n removeTriggersFromReference()\n addTriggersToReference()\n }\n\n if (options.hasOwnProperty('interactiveDebounce')) {\n cleanupOldMouseListeners()\n debouncedOnMouseMove = debounce(onMouseMove, options.interactiveDebounce)\n }\n\n updatePopperElement(tip.popper, prevProps, nextProps)\n tip.popperChildren = getChildren(tip.popper)\n\n if (\n tip.popperInstance &&\n POPPER_INSTANCE_RELATED_PROPS.some(prop => options.hasOwnProperty(prop))\n ) {\n tip.popperInstance.destroy()\n tip.popperInstance = createPopperInstance()\n if (!tip.state.isVisible) {\n tip.popperInstance.disableEventListeners()\n }\n if (tip.props.followCursor && lastMouseMoveEvent) {\n positionVirtualReferenceNearCursor(lastMouseMoveEvent)\n }\n }\n }\n\n /**\n * Shortcut for .set({ content: newContent })\n */\n function setContent(content) {\n set({ content })\n }\n\n /**\n * Shows the tooltip\n */\n function show(\n duration = getValue(tip.props.duration, 0, Defaults.duration[0])\n ) {\n if (\n tip.state.isDestroyed ||\n !tip.state.isEnabled ||\n (isUsingTouch && !tip.props.touch)\n ) {\n return\n }\n\n // Destroy tooltip if the reference element is no longer on the DOM\n if (\n !tip.reference.isVirtual &&\n !document.documentElement.contains(tip.reference)\n ) {\n return destroy()\n }\n\n // Do not show tooltip if the reference element has a `disabled` attribute\n if (tip.reference.hasAttribute('disabled')) {\n return\n }\n\n // If the reference was just programmatically focused for accessibility\n // reasons\n if (referenceJustProgrammaticallyFocused) {\n referenceJustProgrammaticallyFocused = false\n return\n }\n\n if (tip.props.onShow(tip) === false) {\n return\n }\n\n tip.popper.style.visibility = 'visible'\n tip.state.isVisible = true\n\n // Prevent a transition if the popper is at the opposite placement\n applyTransitionDuration(\n [tip.popper, tip.popperChildren.tooltip, tip.popperChildren.backdrop],\n 0\n )\n\n mount(() => {\n if (!tip.state.isVisible) {\n return\n }\n\n // Arrow will sometimes not be positioned correctly. Force another update\n if (!hasFollowCursorBehavior()) {\n tip.popperInstance.update()\n }\n\n applyTransitionDuration(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n duration\n )\n if (tip.popperChildren.backdrop) {\n tip.popperChildren.content.style.transitionDelay =\n Math.round(duration / 6) + 'ms'\n }\n\n if (tip.props.interactive) {\n tip.reference.classList.add('tippy-active')\n }\n\n if (tip.props.sticky) {\n makeSticky()\n }\n\n setVisibilityState(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n 'visible'\n )\n\n onTransitionedIn(duration, () => {\n if (tip.props.updateDuration === 0) {\n tip.popperChildren.tooltip.classList.add('tippy-notransition')\n }\n\n if (\n tip.props.interactive &&\n ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1\n ) {\n focus(tip.popper)\n }\n\n tip.reference.setAttribute('aria-describedby', tip.popper.id)\n\n tip.props.onShown(tip)\n tip.state.isShown = true\n })\n })\n }\n\n /**\n * Hides the tooltip\n */\n function hide(\n duration = getValue(tip.props.duration, 1, Defaults.duration[1])\n ) {\n if (tip.state.isDestroyed || !tip.state.isEnabled) {\n return\n }\n\n if (tip.props.onHide(tip) === false) {\n return\n }\n\n if (tip.props.updateDuration === 0) {\n tip.popperChildren.tooltip.classList.remove('tippy-notransition')\n }\n\n if (tip.props.interactive) {\n tip.reference.classList.remove('tippy-active')\n }\n\n tip.popper.style.visibility = 'hidden'\n tip.state.isVisible = false\n tip.state.isShown = false\n\n applyTransitionDuration(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n duration\n )\n\n setVisibilityState(\n [\n tip.popperChildren.tooltip,\n tip.popperChildren.backdrop,\n tip.popperChildren.content\n ],\n 'hidden'\n )\n\n if (\n tip.props.interactive &&\n !referenceJustProgrammaticallyFocused &&\n ['focus', 'click'].indexOf(lastTriggerEvent.type) > -1\n ) {\n if (lastTriggerEvent.type === 'focus') {\n referenceJustProgrammaticallyFocused = true\n }\n focus(tip.reference)\n }\n\n onTransitionedOut(duration, () => {\n if (!isPreparingToShow) {\n removeFollowCursorListener()\n }\n\n tip.reference.removeAttribute('aria-describedby')\n\n tip.popperInstance.disableEventListeners()\n\n tip.props.appendTo.removeChild(tip.popper)\n tip.state.isMounted = false\n\n tip.props.onHidden(tip)\n })\n }\n\n /**\n * Destroys the tooltip\n */\n function destroy(destroyTargetInstances) {\n if (tip.state.isDestroyed) {\n return\n }\n\n // Ensure the popper is hidden\n if (tip.state.isVisible) {\n hide(0)\n }\n\n removeTriggersFromReference()\n\n tip.reference.removeEventListener('click', onReferenceClick)\n\n delete tip.reference._tippy\n\n if (tip.props.target && destroyTargetInstances) {\n toArray(tip.reference.querySelectorAll(tip.props.target)).forEach(\n child => child._tippy && child._tippy.destroy()\n )\n }\n\n if (tip.popperInstance) {\n tip.popperInstance.destroy()\n }\n\n if (popperMutationObserver) {\n popperMutationObserver.disconnect()\n }\n\n tip.state.isDestroyed = true\n }\n}\n","import { h, app } from 'hyperapp'\nimport tippy from '../../../dist/tippy.js'\nimport { isBrowser } from '../utils'\n\nconst Tippy = (realProps, [reference]) => {\n const props = {\n ...realProps,\n content: realProps.content || \"I'm a Tippy tooltip\"\n }\n\n if (props.content.constructor === Object && !props.target) {\n const container = isBrowser && document.createElement('div')\n app({}, {}, props.content, container)\n props.content = container\n }\n\n const update = element => {\n setTimeout(() => {\n element._tippy.set(props)\n }, 1)\n }\n\n return (\n !element._tippy && tippy(element, props)}\n onupdate={element => element._tippy && update(element)}\n ondestroy={element => element._tippy && element._tippy.destroy()}\n >\n {reference.children}\n \n )\n}\n\nTippy.secondary = (props, children) => (\n ref.parentNode}\n theme=\"secondary\"\n >\n {children}\n \n)\n\nexport default Tippy\n","import { h } from 'hyperapp'\nimport logo from '../../assets/img/logo.svg'\nimport { version } from '../../../package.json'\nimport Emoji from '../components/Emoji'\nimport Tippy from '../components/Tippy'\n\nexport default () => (\n
\n
\n \n
\n

\n Tippy.js\n v{version}\n

\n
\n

\n A highly customizable vanilla JS tooltip & popover library\n

\n
\n
\n \n ๐Ÿ“ฆ\n 14.8 kB\n \n
\n
\n positioning engine behind the tooltips.\"\n arrow={true}\n theme=\"light\"\n offset=\"0, 2\"\n sticky={true}\n updateDuration={250}\n arrowType=\"round\"\n >\n \n โšก\n Powered by Popper.js\n \n \n
\n
\n \n Go to v2 docs (old)\n \n
\n
\n \n Star\n \n
\n
\n
\n
\n)\n","import { h } from 'hyperapp'\nimport logo from '../../assets/img/logo.svg'\nimport Tippy from '../components/Tippy'\nimport Emoji from '../components/Emoji'\n\nconst ANIMATIONS = [\n 'shift-away',\n 'shift-toward',\n 'perspective',\n 'fade',\n 'scale'\n]\n\nconst printValue = value =>\n Array.isArray(value) ? `[${value.join(', ')}]` : value\n\nconst NO_GPU_ACCELERATION = {\n modifiers: {\n computeStyle: { gpuAcceleration: false }\n }\n}\n\nexport default () => (\n
\n

Tippy's features

\n
\n

Default

\n

\n The default tippy tooltip looks like this when given no options. It has\n a nifty backdrop filling animation!\n

\n \n \n \n
\n\n
\n \n โ†•๏ธ\n \n

Placement

\n

\n A tooltip can be placed in four different ways in relation to its\n reference element. Additionally, the tooltip can be shifted using the\n suffix -start or -end.\n

\n {['top', 'bottom', 'left', 'right', 'top-start', 'top-end'].map(\n placement => (\n \n \n \n )\n )}\n
\n\n
\n \n โ–ถ๏ธ\n \n

Arrows

\n

\n Arrows point toward the reference element. There are two different types\n of arrows: sharp and round. You can transform the proportion and scale\n of the arrows any way you like.\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n
\n \n ๐Ÿ‘\n \n

Triggers

\n

Triggers define the types of events that cause a tooltip to show.

\n \n \n \n \n \n \n \n \n \n
\n\n
\n \n โœ๏ธ\n \n

Interactivity

\n

\n Tooltips can be interactive, meaning they won't hide when you hover over\n or click on them.\n

\n \n \n \n \n \n \n
\n\n
\n \n ๐Ÿ’ซ\n \n

Animations

\n

Tooltips can have different types of animations.

\n {ANIMATIONS.map(animation => (\n \n \n \n ))}\n {ANIMATIONS.filter(animation => animation !== 'fade').map(animation => (\n \n \n \n ))}\n tip.set({ animation: 'scale' })}\n onHide={tip => tip.set({ animation: 'fade' })}\n arrow={true}\n >\n \n \n
\n\n
\n \n โฑ๏ธ\n \n

Duration

\n

A tippy can have different transition durations.

\n {[0, 200, 1000, [250, 1000], [1000, 500]].map(duration => (\n \n \n \n ))}\n
\n\n
\n \n โณ\n \n

Delay

\n

\n Tooltips can delay showing or{' '}\n \n \n hiding*\n \n {' '}\n after a trigger.\n

\n {[0, 200, 800, [800, 0], [200, 800]].map(delay => (\n \n \n \n ))}\n
\n\n
\n \n ๐Ÿ–ผ๏ธ\n \n

HTML

\n

\n Tooltips can contain HTML, allowing you to craft awesome interactive\n popovers.\n

\n el.parentNode}\n interactive={true}\n theme=\"light rounded\"\n arrow={true}\n size=\"large\"\n arrowTransform=\"scale(2)\"\n distance={15}\n interactiveBorder={20}\n content={\n
\n \n

\n Look! The tippy logo is inside a tippy.\n

\n e.target.closest('.tippy-popper')._tippy.hide()}\n >\n Close\n \n
\n }\n >\n \n \n
\n\n
\n \n ๐Ÿ–Œ๏ธ\n \n

Themes

\n

\n A tippy can have any kind of theme you want! Creating a custom theme is\n a breeze.\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n
\n \n ๐Ÿ˜\n \n

Misc

\n

\n Tippy has a ton of{' '}\n \n Missing a feature you need? Submit a{' '}\n \n feature request\n {' '}\n on the GitHub repo!\n

\n }\n >\n \n features\n \n \n , and it's constantly improving.\n

\n \n \n \n \n {\n event.preventDefault()\n }}\n >\n Touch & hold\n \n \n ref.parentNode}\n animation=\"fade\"\n onHide={tip => {\n const anchor = tip.popper.querySelector('a')\n if (anchor && anchor._tippy && anchor._tippy.state.isVisible) {\n return false\n }\n }}\n trigger=\"click\"\n content={\n
    \n
  • \n ref.parentNode}\n animation=\"fade\"\n popperOptions={NO_GPU_ACCELERATION} // Appears blurry on Safari otherwise\n content={\n
      \n
    • \n {\n return tip.reference.closest('.tippy-popper')._tippy\n .state.isVisible\n }}\n >\n \n \n
    • \n
    \n }\n >\n Open submenu >\n \n
  • \n
\n }\n >\n \n \n \n \n \n \n \n \n \n
\n)\n","import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\n\nconst Subheading = scope => (props, children) => {\n const id = toKebabCase(\n scope + children.find(child => typeof child === 'string')\n )\n return (\n

\n {children}\n

\n )\n}\n\nexport default (scope, children) => {\n if (typeof scope === 'string') {\n return Subheading(scope)\n }\n const id = toKebabCase(children[0])\n const link = {children}\n return (\n
\n

{link}

\n
\n )\n}\n","import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\nimport Emoji from './Emoji'\nimport Heading from './Heading'\n\nexport default ({ title, emoji }, children) => (\n
\n \n {emoji}\n \n {title}\n {children}\n
\n)\n","\n/* **********************************************\n Begin prism-core.js\n********************************************** */\n\nvar _self = (typeof window !== 'undefined')\n\t? window // if in browser\n\t: (\n\t\t(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)\n\t\t? self // if in worker\n\t\t: {} // if in node js\n\t);\n\n/**\n * Prism: Lightweight, robust, elegant syntax highlighting\n * MIT license http://www.opensource.org/licenses/mit-license.php/\n * @author Lea Verou http://lea.verou.me\n */\n\nvar Prism = (function(){\n\n// Private helper vars\nvar lang = /\\blang(?:uage)?-([\\w-]+)\\b/i;\nvar uniqueId = 0;\n\nvar _ = _self.Prism = {\n\tmanual: _self.Prism && _self.Prism.manual,\n\tdisableWorkerMessageHandler: _self.Prism && _self.Prism.disableWorkerMessageHandler,\n\tutil: {\n\t\tencode: function (tokens) {\n\t\t\tif (tokens instanceof Token) {\n\t\t\t\treturn new Token(tokens.type, _.util.encode(tokens.content), tokens.alias);\n\t\t\t} else if (_.util.type(tokens) === 'Array') {\n\t\t\t\treturn tokens.map(_.util.encode);\n\t\t\t} else {\n\t\t\t\treturn tokens.replace(/&/g, '&').replace(/ text.length) {\n\t\t\t\t\t\t// Something went terribly wrong, ABORT, ABORT!\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (str instanceof Token) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (greedy && i != strarr.length - 1) {\n\t\t\t\t\t\tpattern.lastIndex = pos;\n\t\t\t\t\t\tvar match = pattern.exec(text);\n\t\t\t\t\t\tif (!match) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar from = match.index + (lookbehind ? match[1].length : 0),\n\t\t\t\t\t\t to = match.index + match[0].length,\n\t\t\t\t\t\t k = i,\n\t\t\t\t\t\t p = pos;\n\n\t\t\t\t\t\tfor (var len = strarr.length; k < len && (p < to || (!strarr[k].type && !strarr[k - 1].greedy)); ++k) {\n\t\t\t\t\t\t\tp += strarr[k].length;\n\t\t\t\t\t\t\t// Move the index i to the element in strarr that is closest to from\n\t\t\t\t\t\t\tif (from >= p) {\n\t\t\t\t\t\t\t\t++i;\n\t\t\t\t\t\t\t\tpos = p;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// If strarr[i] is a Token, then the match starts inside another Token, which is invalid\n\t\t\t\t\t\tif (strarr[i] instanceof Token) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Number of tokens to delete and replace with the new match\n\t\t\t\t\t\tdelNum = k - i;\n\t\t\t\t\t\tstr = text.slice(pos, p);\n\t\t\t\t\t\tmatch.index -= pos;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpattern.lastIndex = 0;\n\n\t\t\t\t\t\tvar match = pattern.exec(str),\n\t\t\t\t\t\t\tdelNum = 1;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!match) {\n\t\t\t\t\t\tif (oneshot) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tif(lookbehind) {\n\t\t\t\t\t\tlookbehindLength = match[1] ? match[1].length : 0;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar from = match.index + lookbehindLength,\n\t\t\t\t\t match = match[0].slice(lookbehindLength),\n\t\t\t\t\t to = from + match.length,\n\t\t\t\t\t before = str.slice(0, from),\n\t\t\t\t\t after = str.slice(to);\n\n\t\t\t\t\tvar args = [i, delNum];\n\n\t\t\t\t\tif (before) {\n\t\t\t\t\t\t++i;\n\t\t\t\t\t\tpos += before.length;\n\t\t\t\t\t\targs.push(before);\n\t\t\t\t\t}\n\n\t\t\t\t\tvar wrapped = new Token(token, inside? _.tokenize(match, inside) : match, alias, match, greedy);\n\n\t\t\t\t\targs.push(wrapped);\n\n\t\t\t\t\tif (after) {\n\t\t\t\t\t\targs.push(after);\n\t\t\t\t\t}\n\n\t\t\t\t\tArray.prototype.splice.apply(strarr, args);\n\n\t\t\t\t\tif (delNum != 1)\n\t\t\t\t\t\t_.matchGrammar(text, strarr, grammar, i, pos, true, token);\n\n\t\t\t\t\tif (oneshot)\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\ttokenize: function(text, grammar, language) {\n\t\tvar strarr = [text];\n\n\t\tvar rest = grammar.rest;\n\n\t\tif (rest) {\n\t\t\tfor (var token in rest) {\n\t\t\t\tgrammar[token] = rest[token];\n\t\t\t}\n\n\t\t\tdelete grammar.rest;\n\t\t}\n\n\t\t_.matchGrammar(text, strarr, grammar, 0, 0, false);\n\n\t\treturn strarr;\n\t},\n\n\thooks: {\n\t\tall: {},\n\n\t\tadd: function (name, callback) {\n\t\t\tvar hooks = _.hooks.all;\n\n\t\t\thooks[name] = hooks[name] || [];\n\n\t\t\thooks[name].push(callback);\n\t\t},\n\n\t\trun: function (name, env) {\n\t\t\tvar callbacks = _.hooks.all[name];\n\n\t\t\tif (!callbacks || !callbacks.length) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (var i=0, callback; callback = callbacks[i++];) {\n\t\t\t\tcallback(env);\n\t\t\t}\n\t\t}\n\t}\n};\n\nvar Token = _.Token = function(type, content, alias, matchedStr, greedy) {\n\tthis.type = type;\n\tthis.content = content;\n\tthis.alias = alias;\n\t// Copy of the full string this token was created from\n\tthis.length = (matchedStr || \"\").length|0;\n\tthis.greedy = !!greedy;\n};\n\nToken.stringify = function(o, language, parent) {\n\tif (typeof o == 'string') {\n\t\treturn o;\n\t}\n\n\tif (_.util.type(o) === 'Array') {\n\t\treturn o.map(function(element) {\n\t\t\treturn Token.stringify(element, language, o);\n\t\t}).join('');\n\t}\n\n\tvar env = {\n\t\ttype: o.type,\n\t\tcontent: Token.stringify(o.content, language, parent),\n\t\ttag: 'span',\n\t\tclasses: ['token', o.type],\n\t\tattributes: {},\n\t\tlanguage: language,\n\t\tparent: parent\n\t};\n\n\tif (o.alias) {\n\t\tvar aliases = _.util.type(o.alias) === 'Array' ? o.alias : [o.alias];\n\t\tArray.prototype.push.apply(env.classes, aliases);\n\t}\n\n\t_.hooks.run('wrap', env);\n\n\tvar attributes = Object.keys(env.attributes).map(function(name) {\n\t\treturn name + '=\"' + (env.attributes[name] || '').replace(/\"/g, '"') + '\"';\n\t}).join(' ');\n\n\treturn '<' + env.tag + ' class=\"' + env.classes.join(' ') + '\"' + (attributes ? ' ' + attributes : '') + '>' + env.content + '';\n\n};\n\nif (!_self.document) {\n\tif (!_self.addEventListener) {\n\t\t// in Node.js\n\t\treturn _self.Prism;\n\t}\n\n\tif (!_.disableWorkerMessageHandler) {\n\t\t// In worker\n\t\t_self.addEventListener('message', function (evt) {\n\t\t\tvar message = JSON.parse(evt.data),\n\t\t\t\tlang = message.language,\n\t\t\t\tcode = message.code,\n\t\t\t\timmediateClose = message.immediateClose;\n\n\t\t\t_self.postMessage(_.highlight(code, _.languages[lang], lang));\n\t\t\tif (immediateClose) {\n\t\t\t\t_self.close();\n\t\t\t}\n\t\t}, false);\n\t}\n\n\treturn _self.Prism;\n}\n\n//Get current script and highlight\nvar script = document.currentScript || [].slice.call(document.getElementsByTagName(\"script\")).pop();\n\nif (script) {\n\t_.filename = script.src;\n\n\tif (!_.manual && !script.hasAttribute('data-manual')) {\n\t\tif(document.readyState !== \"loading\") {\n\t\t\tif (window.requestAnimationFrame) {\n\t\t\t\twindow.requestAnimationFrame(_.highlightAll);\n\t\t\t} else {\n\t\t\t\twindow.setTimeout(_.highlightAll, 16);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tdocument.addEventListener('DOMContentLoaded', _.highlightAll);\n\t\t}\n\t}\n}\n\nreturn _self.Prism;\n\n})();\n\nif (typeof module !== 'undefined' && module.exports) {\n\tmodule.exports = Prism;\n}\n\n// hack for components to work correctly in node.js\nif (typeof global !== 'undefined') {\n\tglobal.Prism = Prism;\n}\n\n\n/* **********************************************\n Begin prism-markup.js\n********************************************** */\n\nPrism.languages.markup = {\n\t'comment': //,\n\t'prolog': /<\\?[\\s\\S]+?\\?>/,\n\t'doctype': //i,\n\t'cdata': //i,\n\t'tag': {\n\t\tpattern: /<\\/?(?!\\d)[^\\s>\\/=$<%]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,\n\t\tgreedy: true,\n\t\tinside: {\n\t\t\t'tag': {\n\t\t\t\tpattern: /^<\\/?[^\\s>\\/]+/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': /^<\\/?/,\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t},\n\t\t\t'attr-value': {\n\t\t\t\tpattern: /=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+)/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': [\n\t\t\t\t\t\t/^=/,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpattern: /(^|[^\\\\])[\"']/,\n\t\t\t\t\t\t\tlookbehind: true\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t},\n\t\t\t'punctuation': /\\/?>/,\n\t\t\t'attr-name': {\n\t\t\t\tpattern: /[^\\s>\\/]+/,\n\t\t\t\tinside: {\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t},\n\t'entity': /&#?[\\da-z]{1,8};/i\n};\n\nPrism.languages.markup['tag'].inside['attr-value'].inside['entity'] =\n\tPrism.languages.markup['entity'];\n\n// Plugin to make entity title show the real entity, idea by Roman Komarov\nPrism.hooks.add('wrap', function(env) {\n\n\tif (env.type === 'entity') {\n\t\tenv.attributes['title'] = env.content.replace(/&/, '&');\n\t}\n});\n\nPrism.languages.xml = Prism.languages.markup;\nPrism.languages.html = Prism.languages.markup;\nPrism.languages.mathml = Prism.languages.markup;\nPrism.languages.svg = Prism.languages.markup;\n\n\n/* **********************************************\n Begin prism-css.js\n********************************************** */\n\nPrism.languages.css = {\n\t'comment': /\\/\\*[\\s\\S]*?\\*\\//,\n\t'atrule': {\n\t\tpattern: /@[\\w-]+?.*?(?:;|(?=\\s*\\{))/i,\n\t\tinside: {\n\t\t\t'rule': /@[\\w-]+/\n\t\t\t// See rest below\n\t\t}\n\t},\n\t'url': /url\\((?:([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1|.*?)\\)/i,\n\t'selector': /[^{}\\s][^{};]*?(?=\\s*\\{)/,\n\t'string': {\n\t\tpattern: /(\"|')(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t\tgreedy: true\n\t},\n\t'property': /[-_a-z\\xA0-\\uFFFF][-\\w\\xA0-\\uFFFF]*(?=\\s*:)/i,\n\t'important': /\\B!important\\b/i,\n\t'function': /[-a-z0-9]+(?=\\()/i,\n\t'punctuation': /[(){};:]/\n};\n\nPrism.languages.css['atrule'].inside.rest = Prism.languages.css;\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('markup', 'tag', {\n\t\t'style': {\n\t\t\tpattern: /()[\\s\\S]*?(?=<\\/style>)/i,\n\t\t\tlookbehind: true,\n\t\t\tinside: Prism.languages.css,\n\t\t\talias: 'language-css',\n\t\t\tgreedy: true\n\t\t}\n\t});\n\n\tPrism.languages.insertBefore('inside', 'attr-value', {\n\t\t'style-attr': {\n\t\t\tpattern: /\\s*style=(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1/i,\n\t\t\tinside: {\n\t\t\t\t'attr-name': {\n\t\t\t\t\tpattern: /^\\s*style/i,\n\t\t\t\t\tinside: Prism.languages.markup.tag.inside\n\t\t\t\t},\n\t\t\t\t'punctuation': /^\\s*=\\s*['\"]|['\"]\\s*$/,\n\t\t\t\t'attr-value': {\n\t\t\t\t\tpattern: /.+/i,\n\t\t\t\t\tinside: Prism.languages.css\n\t\t\t\t}\n\t\t\t},\n\t\t\talias: 'language-css'\n\t\t}\n\t}, Prism.languages.markup.tag);\n}\n\n/* **********************************************\n Begin prism-clike.js\n********************************************** */\n\nPrism.languages.clike = {\n\t'comment': [\n\t\t{\n\t\t\tpattern: /(^|[^\\\\])\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t{\n\t\t\tpattern: /(^|[^\\\\:])\\/\\/.*/,\n\t\t\tlookbehind: true,\n\t\t\tgreedy: true\n\t\t}\n\t],\n\t'string': {\n\t\tpattern: /([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t\tgreedy: true\n\t},\n\t'class-name': {\n\t\tpattern: /((?:\\b(?:class|interface|extends|implements|trait|instanceof|new)\\s+)|(?:catch\\s+\\())[\\w.\\\\]+/i,\n\t\tlookbehind: true,\n\t\tinside: {\n\t\t\tpunctuation: /[.\\\\]/\n\t\t}\n\t},\n\t'keyword': /\\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\\b/,\n\t'boolean': /\\b(?:true|false)\\b/,\n\t'function': /[a-z0-9_]+(?=\\()/i,\n\t'number': /\\b0x[\\da-f]+\\b|(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:e[+-]?\\d+)?/i,\n\t'operator': /--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&?|\\|\\|?|\\?|\\*|\\/|~|\\^|%/,\n\t'punctuation': /[{}[\\];(),.:]/\n};\n\n\n/* **********************************************\n Begin prism-javascript.js\n********************************************** */\n\nPrism.languages.javascript = Prism.languages.extend('clike', {\n\t'keyword': /\\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b/,\n\t'number': /\\b(?:0[xX][\\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|NaN|Infinity)\\b|(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:[Ee][+-]?\\d+)?/,\n\t// Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)\n\t'function': /[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*\\()/i,\n\t'operator': /-[-=]?|\\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\\|[|=]?|\\*\\*?=?|\\/=?|~|\\^=?|%=?|\\?|\\.{3}/\n});\n\nPrism.languages.insertBefore('javascript', 'keyword', {\n\t'regex': {\n\t\tpattern: /((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s])\\s*)\\/(\\[[^\\]\\r\\n]+]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[gimyu]{0,5}(?=\\s*($|[\\r\\n,.;})\\]]))/,\n\t\tlookbehind: true,\n\t\tgreedy: true\n\t},\n\t// This must be declared before keyword because we use \"function\" inside the look-forward\n\t'function-variable': {\n\t\tpattern: /[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*=\\s*(?:function\\b|(?:\\([^()]*\\)|[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*)\\s*=>))/i,\n\t\talias: 'function'\n\t},\n\t'constant': /\\b[A-Z][A-Z\\d_]*\\b/\n});\n\nPrism.languages.insertBefore('javascript', 'string', {\n\t'template-string': {\n\t\tpattern: /`(?:\\\\[\\s\\S]|\\${[^}]+}|[^\\\\`])*`/,\n\t\tgreedy: true,\n\t\tinside: {\n\t\t\t'interpolation': {\n\t\t\t\tpattern: /\\${[^}]+}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation-punctuation': {\n\t\t\t\t\t\tpattern: /^\\${|}$/,\n\t\t\t\t\t\talias: 'punctuation'\n\t\t\t\t\t},\n\t\t\t\t\trest: null // See below\n\t\t\t\t}\n\t\t\t},\n\t\t\t'string': /[\\s\\S]+/\n\t\t}\n\t}\n});\nPrism.languages.javascript['template-string'].inside['interpolation'].inside.rest = Prism.languages.javascript;\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('markup', 'tag', {\n\t\t'script': {\n\t\t\tpattern: /()[\\s\\S]*?(?=<\\/script>)/i,\n\t\t\tlookbehind: true,\n\t\t\tinside: Prism.languages.javascript,\n\t\t\talias: 'language-javascript',\n\t\t\tgreedy: true\n\t\t}\n\t});\n}\n\nPrism.languages.js = Prism.languages.javascript;\n\n\n/* **********************************************\n Begin prism-file-highlight.js\n********************************************** */\n\n(function () {\n\tif (typeof self === 'undefined' || !self.Prism || !self.document || !document.querySelector) {\n\t\treturn;\n\t}\n\n\tself.Prism.fileHighlight = function() {\n\n\t\tvar Extensions = {\n\t\t\t'js': 'javascript',\n\t\t\t'py': 'python',\n\t\t\t'rb': 'ruby',\n\t\t\t'ps1': 'powershell',\n\t\t\t'psm1': 'powershell',\n\t\t\t'sh': 'bash',\n\t\t\t'bat': 'batch',\n\t\t\t'h': 'c',\n\t\t\t'tex': 'latex'\n\t\t};\n\n\t\tArray.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {\n\t\t\tvar src = pre.getAttribute('data-src');\n\n\t\t\tvar language, parent = pre;\n\t\t\tvar lang = /\\blang(?:uage)?-([\\w-]+)\\b/i;\n\t\t\twhile (parent && !lang.test(parent.className)) {\n\t\t\t\tparent = parent.parentNode;\n\t\t\t}\n\n\t\t\tif (parent) {\n\t\t\t\tlanguage = (pre.className.match(lang) || [, ''])[1];\n\t\t\t}\n\n\t\t\tif (!language) {\n\t\t\t\tvar extension = (src.match(/\\.(\\w+)$/) || [, ''])[1];\n\t\t\t\tlanguage = Extensions[extension] || extension;\n\t\t\t}\n\n\t\t\tvar code = document.createElement('code');\n\t\t\tcode.className = 'language-' + language;\n\n\t\t\tpre.textContent = '';\n\n\t\t\tcode.textContent = 'Loadingโ€ฆ';\n\n\t\t\tpre.appendChild(code);\n\n\t\t\tvar xhr = new XMLHttpRequest();\n\n\t\t\txhr.open('GET', src, true);\n\n\t\t\txhr.onreadystatechange = function () {\n\t\t\t\tif (xhr.readyState == 4) {\n\n\t\t\t\t\tif (xhr.status < 400 && xhr.responseText) {\n\t\t\t\t\t\tcode.textContent = xhr.responseText;\n\n\t\t\t\t\t\tPrism.highlightElement(code);\n\t\t\t\t\t}\n\t\t\t\t\telse if (xhr.status >= 400) {\n\t\t\t\t\t\tcode.textContent = 'โœ– Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tcode.textContent = 'โœ– Error: File does not exist or is empty';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t\txhr.send(null);\n\t\t});\n\n\t\tif (Prism.plugins.toolbar) {\n\t\t\tPrism.plugins.toolbar.registerButton('download-file', function (env) {\n\t\t\t\tvar pre = env.element.parentNode;\n\t\t\t\tif (!pre || !/pre/i.test(pre.nodeName) || !pre.hasAttribute('data-src') || !pre.hasAttribute('data-download-link')) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvar src = pre.getAttribute('data-src');\n\t\t\t\tvar a = document.createElement('a');\n\t\t\t\ta.textContent = pre.getAttribute('data-download-link-label') || 'Download';\n\t\t\t\ta.setAttribute('download', '');\n\t\t\t\ta.href = src;\n\t\t\t\treturn a;\n\t\t\t});\n\t\t}\n\n\t};\n\n\tdocument.addEventListener('DOMContentLoaded', self.Prism.fileHighlight);\n\n})();","import { h } from 'hyperapp'\nimport Prism from 'prismjs'\n\nconst getLang = str => (str.match(/```(js|html|css|shell)/) || [])[1]\n\nexport default ({ content, lang, style = {} }) => {\n lang = getLang(content || '') || lang || 'js'\n return (\n
\n
\n         Prism.highlightElement(el)}\n          class={`lang-${lang}`}\n        >\n          {content.replace(/```(js|html|css|shell)([\\s\\S]*)```/g, '$2').trim()}\n        \n      
\n
\n )\n}\n","import { h } from 'hyperapp'\n\nexport default ({ to }, children) => (\n \n {children}\n \n)\n","import { h } from 'hyperapp'\nimport Section from '../components/Section'\nimport Heading from '../components/Heading'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ExternalLink from '../components/ExternalLink'\n\nconst TITLE = 'Table of Contents'\nconst Subheading = Heading(TITLE)\n\nexport const Emojis = {\n WHY: '๐Ÿค”',\n GETTING_STARTED: '๐Ÿ“ฆ',\n CREATING_TOOLTIPS: '๐Ÿ”ง',\n CUSTOMIZING_TOOLTIPS: 'โš™๏ธ',\n ALL_OPTIONS: '๐Ÿ”ฎ',\n OBJECTS: '๐Ÿท๏ธ',\n METHODS: '๐Ÿ•น',\n HTML_CONTENT: '๐Ÿ–ผ๏ธ',\n CREATING_CUSTOM_THEMES: '๐Ÿ–Œ๏ธ',\n PERFORMANCE: 'โšก๏ธ'\n}\n\nexport default () => (\n
\n \n
\n)\n","import { h } from 'hyperapp'\nimport Section from '../components/Section'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Why Use Tippy.js?'\n\nexport default () => (\n
\n

\n You might be wondering why you should use a 14 kB JS library for tooltips\n and popovers instead of a CSS solution. Pure CSS tooltips are great for\n simple tooltips when the reference element is positioned in a certain way,\n but they:\n

\n\n
    \n
  • \n Will overflow when the tooltip is large and the reference is close to\n the window edge\n
  • \n
  • Can't flip to stay optimally visible within the viewport
  • \n
  • Can't follow the mouse cursor
  • \n
  • \n Difficult to work with self-closing elements like img\n
  • \n
  • JavaScript is required for dynamic HTML content
  • \n
  • JavaScript is required to perform side effects (e.g. AJAX)
  • \n
\n\n

\n In addition, Tippy automatically handles many use cases available\n declaratively in a simple option API. Options like{' '}\n followCursor, interactive, touch,{' '}\n arrow, and the on* lifecycle functions make\n dealing with tooltips & popovers a breeze.\n

\n
\n)\n","import { h } from 'hyperapp'\nimport Section from '../components/Section'\nimport Heading from '../components/Heading'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ExternalLink from '../components/ExternalLink'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Getting Started'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n \n ๐Ÿ”— Option 1: CDN\n \n

\n Include this script from the unpkg CDN in your HTML document before your\n own scripts:\n

\n \"\n />\n

\n It's recommended to place this at the bottom of the{' '}\n <body>, or in the <head> with a{' '}\n defer attribute.\n

\n\n \n ๐Ÿ“ฆ Option 2: Package Manager\n \n

Install using either npm or yarn:

\n\n \n \n\n

\n Then you can import the tippy module:\n

\n \n\n

\n You'll also need to import Tippy's CSS. With a module bundler like Webpack\n or Parcel, it can be imported directly:\n

\n\n \n\n \n ๐ŸŽ View Library Components\n \n\n

\n If you would like to use Tippy.js as a declarative component, there are\n wrappers available.\n

\n\n
    \n
  • \n \n React\n \n
  • \n
\n\n \n ๐Ÿ“ Files\n \n

Tippy builds a bunch of different files that can be used:

\n
    \n
  • \n tippy.all.js is all dependencies (Tippy + Popper + CSS) in\n a single file. The CSS is injected into the document head.\n
  • \n
  • \n tippy.js is Tippy + Popper together, without the CSS.\n
  • \n
  • \n tippy.standalone.js is Tippy by itself, without Popper or\n the CSS. This is useful if you are using a CDN and want to use the\n latest version of Popper.js if the bundled version is outdated, or use\n Popper itself for other things.\n
  • \n
  • \n tippy.css is Tippy's CSS stylesheet by itself.\n
  • \n
\n

\n There are also .min versions of the above, which means the\n file is minified for production use.\n

\n\n \n ๐Ÿ’ป Browser support\n \n

\n Tippy is compatible with browsers with requestAnimationFrame{' '}\n and MutationObserver support (IE11+). This means most\n browsers from 2013 onwards, about 99% of desktop users and 95% of mobile\n users globally (mainly due to Opera Mini on mobile not being supported).\n

\n

\n IE11 requires a classList polyfill if using an SVG element as\n the reference.\n

\n

\n If you need to support old browsers too, you can set the native{' '}\n title attribute on desktop. On unsupported mobile browsers\n (such as Opera Mini), it's best to inline the content next to the\n reference element.\n

\n

\n โš ๏ธ\n The code throughout this documentation is making use of new JavaScript\n features (ES6+) that old browsers don't support (such as IE11). If you're\n going to copy code from here, make sure to use{' '}\n Babel to transpile it\n into ES5.\n

\n
\n)\n","import { h } from 'hyperapp'\n\nexport default (props, children) => (\n
\n

Result:

\n {children}\n
\n)\n","import { h } from 'hyperapp'\n\nimport VIRTUAL_REFERENCE from '../../snippets/virtual-reference'\nimport AUTO_TIPPY_BUTTON from '../../snippets/auto-tippy-button'\nimport FUNCTION_BUTTON from '../../snippets/function-button'\nimport FUNCTION_CALL from '../../snippets/function-call'\nimport MULTIPLE_CONTENT_HTML from '../../snippets/multiple-content-html.md'\nimport MULTIPLE_CONTENT_JS from '../../snippets/multiple-content-js.md'\n\nimport Section from '../components/Section'\nimport Code from '../components/Code'\nimport Emoji from '../components/Emoji'\nimport Tippy from '../components/Tippy'\nimport ResultBox from '../components/ResultBox'\nimport Heading from '../components/Heading'\nimport ExternalLink from '../components/ExternalLink'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Creating Tooltips'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n Method 1: Auto\n

\n Give your reference element a data-tippy attribute containing\n the tooltip content.\n

\n \n

\n When Tippy.js is loaded in the document, it will search for elements with\n the attribute and give them a tooltip automatically. This means you won't\n have to touch JavaScript at all.\n

\n
\n This technique only works on page load and is designed to be used on\n simple web pages. If you have dynamically generated elements or are using\n a view library/framework (\n \n React\n \n , Vue, Angular), use Method 2 below.\n
\n\n Method 2: Function\n

\n Use the tippy function.\n

\n \n \n \n \n \n \n \n\n

\n Using data-tippy-content allows you to use the function for\n common custom configuration while giving each tooltip different content.\n

\n\n \n \n\n \n ๐ŸŽ› Accepted inputs\n \n

\n A single{' '}\n \n D\n ocument O\n bject M\n odel - the tree structure of the HTML document where each node (such\n as a DIV tag) is represented by an object\n \n }\n >\n \n DOM\n \n {' '}\n Element (or an array of them) will work:\n

\n\n \n

\n As well as a NodeList:\n

\n \n\n \n ๐Ÿคฏ Advanced\n \n

\n You can use a virtual element as the positioning reference instead of a\n real element:\n

\n \n\n

\n Popper.js uses these properties to determine the position of the tooltip.\n

\n
\n)\n","import { h } from 'hyperapp'\n\nimport HTML_BUTTON from '../../snippets/html-button.md'\nimport OPTIONS_OBJECT from '../../snippets/options-object.md'\nimport DATA_ATTRIBUTES from '../../snippets/data-attributes.md'\nimport SET_DEFAULTS from '../../snippets/set-defaults.md'\n\nimport Section from '../components/Section'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport Tippy from '../components/Tippy'\nimport ResultBox from '../components/ResultBox'\nimport Heading from '../components/Heading'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Customizing Tooltips'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n

\n tippy() takes an object of options as a second argument for\n you to configure the tooltips being created. Here's an example:\n

\n\n \n \n\n \n \n \n \n \n\n \n ๐Ÿท Data attributes\n \n

\n You can also specify options on the reference element itself by adding{' '}\n data-tippy-* attributes. This will override the options\n specified in the instance.\n

\n\n

\n Used in conjunction with the Auto Method, you can give elements custom\n tooltips without ever touching JavaScript.\n

\n\n \n\n \n \n \n \n \n\n Default config\n

\n Use the tippy.setDefaults() method to change the default\n configuration for tippys. It will apply these settings to every future\n instance.\n

\n\n \n\n

\n Note that the auto-initializing function is deferred with{' '}\n setTimeout(), which means you can change the default config\n before the tooltips are automatically created.\n

\n
\n)\n","import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\nimport Code from './Code'\nimport ExternalLink from './ExternalLink'\n\nimport APPEND_TO from '../../snippets/append-to'\nimport WAIT from '../../snippets/wait'\n\nconst scrollTakingIntoAccountStickyHeader = el => {\n scroll(\n 0,\n el.closest('tr').getBoundingClientRect().top -\n document.body.getBoundingClientRect().top -\n 45\n )\n}\n\nconst Prop = (props, children) => {\n const id = toKebabCase(props.name) + '-option'\n return (\n \n \n \n {\n setTimeout(() => {\n if (\n window.innerWidth >= 992 &&\n location.hash.split('#')[1] === id\n ) {\n scrollTakingIntoAccountStickyHeader(el)\n }\n })\n }}\n onclick={event => {\n if (window.innerWidth >= 992) {\n event.preventDefault()\n location.hash = id\n scrollTakingIntoAccountStickyHeader(event.currentTarget)\n }\n }}\n >\n {props.name}\n \n \n \n \n {props.default}\n \n \n {Array.isArray(props.value) ? (\n props.value.map(i => (\n
\n {i}\n
\n ))\n ) : (\n {props.value}\n )}\n \n {children}\n \n )\n}\n\nexport default () => (\n
\n \n \n \n \n \n \n \n \n \n \n \n If true, ensures the reference element can receive focus\n by adding tabindex=\"0\" if the element is not natively\n focusable like a button.\n \n \n Determines if HTML can be rendered in the tippy.\n \n \n Determines if the tippy's background fill should be animated. Disabled\n if arrow: true.\n \n \n The type of transition animation.\n \n \n The element to append the tippy to. Use a function that returns an\n element to dynamically append the tippy relative to the reference\n element.\n \n \n \n Determines if an arrow should be added to the tippy pointing toward\n the reference element.\n \n \n The type of arrow. \"sharp\" is a CSS triangle using the\n border method, while \"round\" is a custom SVG shape.\n \n \n CSS transform to apply to the arrow. Only scale and{' '}\n translate are supported. It is dynamic. Apply the\n transform that you would normally give to a \"top\"{' '}\n placement, even if the placement is different.\n \n \n The content of the tippy.\n \n \n Delay in ms once a trigger event is fired before a tippy shows or\n hides. Use an array of numbers such as [100, 500] to\n specify a different value for show and hide. Use null in\n the array to use the default value, e.g. [null, 50].\n \n \n Duration of the CSS transition animation in ms. Use an array of\n numbers such as [100, 500] to specify a different value\n for show and hide. Add null in the array to use the\n default value, e.g. [null, 50].\n \n \n How far in pixels the tippy element is from the reference element.\n Only applies to a single axis and not to the parent popper element,\n see{' '}\n \n offset\n \n .\n \n \n Determines if the tippy flips so that it is placed within the viewport\n as best it can be if there is not enough room.\n \n \n Determines the order of flipping, i.e. which placements to prefer if a\n certain placement cannot be used. Use an array such as{' '}\n [\"bottom\", \"left\"] to prefer the \"left\" placement if\n \"bottom\" is unavailable. By default, it chooses the opposite axis,\n i.e. \"top\".\n \n \n Determines if the tippy follows the user's mouse cursor while showing.\n Use the strings \"vertical\" or \"horizontal\"\n to only follow the cursor on a single axis.\n \n \n Determines if the tippy should hide if its reference element was\n clicked. For click-triggered tippys, using false will\n prevent the tippy from ever hiding once it is showing. To prevent\n clicks outside of the tippy from hiding it but still allow it to be\n toggled, use the string \"toggle\".\n \n \n Adds an attribute to the tippy element that changes the CSS transition\n timing function to add an inertial \"slingshot\" effect to the\n animation.\n \n \n Determines if a tippy should be interactive, i.e. able to be hovered\n over or clicked without hiding.\n \n \n Determines the size of the invisible border around a tippy that will\n prevent it from hiding (only relevant for the hover trigger). Useful\n to prevent the tippy from accidentally hiding from clumsy cursor\n movements.\n \n \n A number in ms that debounces the onMouseMove handler\n which determines when the tippy should hide.\n \n \n By default, the popperInstance (the positioning engine\n for the tippy) is lazily created. That is, it's only created when\n necessary (i.e. triggering the tippy for the first time). Setting this\n prop to false allows you to access the instance\n synchronously without needing to show the tippy first.\n \n \n Determines if the popper instance should listen to scroll events. This\n means it will update the position on scroll. If you don't want the\n tippy to flip around when scrolling, and the tippy's reference is not\n in a scrollable container, you can set this to false.\n \n \n Determines if the reference can have multiple tippy instances.\n \n \n An offset that Popper.js uses to offset the popper element. Can work\n with both the x and y axis, distinct from{' '}\n distance.\n \n \n Lifecycle function invoked when the tippy has fully transitioned out.\n \n \n Lifecycle function invoked when the tippy begins to transition out.\n \n \n Lifecycle function invoked when the tippy has been mounted to the DOM.\n \n \n Lifecycle function invoked when the tippy begins to transition in.\n \n \n Lifecycle function invoked when the tippy has fully transitioned in.\n \n \n If true, disables data-tippy-* attributes which reduces\n init execution by half.\n \n \n Positions the tippy relative to its reference element. Use the suffix{' '}\n -start or -end to shift the tippy to the\n start or end of the reference element, instead of centering it. For\n example, top-start or left-end.\n \n \n Specify custom Popper.js options. See the{' '}\n \n Popper.js documentation\n {' '}\n for more.\n \n true\"\n value=\"Function\"\n >\n A function that returns a boolean to determine if the popper element\n should hide if it's blurred (applies only if interactive).{' '}\n \n If the popper element is blurred (i.e. no elements within it are in\n focus), the popper is hidden. However, there are cases in which you\n may need to keep it visible even when not in focus.\n \n \n If true, the tooltip will be shown immediately once the\n instance is created. If using on page load, use{' '}\n sticky: true because the reference element can move\n around while the layout gets built by the browser after initialization\n (unless the layout is guaranteed to be static).\n \n \n The size of the tippy.\n \n \n Ensures the tippy stays stuck to its reference element if it moves\n around while showing.\n \n \n CSS selector used for event delegation.\n \n \n Themes added as classes (each separated by a space) to the tippy's\n class list, which adds a -theme suffix, i.e.{' '}\n \"dark-theme\".\n \n \n Determines if the tippy displays on touch devices.\n \n \n Determines trigger behavior on touch devices. Instead of a tap on the\n reference to show and a tap elsewhere to hide the tippy, the reference\n must be pressed and held for the tippy to show. Letting go from the\n screen will hide it. To prevent the mobile context menu from\n appearing, ensure the element cannot be selected using{' '}\n user-select: none; and/or prevent the default behavior\n for the contextmenu event.\n \n \n The events (each separated by a space) which cause a tippy to show.\n Use manual to only trigger the tippy programmatically.\n \n \n The transition duration between position updates for the{' '}\n sticky option. Set to 0 to prevent flips\n from transitioning.\n \n \n A function that, when defined, will wait until you manually invoke{' '}\n show() when a tippy is triggered. It takes the tippy\n instance and the trigger event as arguments.\n \n \n \n The z-index of the popper element.\n \n \n
PropDefaultValueDescription
\n
\n)\n","import { h } from 'hyperapp'\n\nimport AJAX from '../../snippets/ajax'\nimport EVENT_DELEGATION_HTML from '../../snippets/event-delegation-html'\nimport EVENT_DELEGATION_JS from '../../snippets/event-delegation-js'\nimport SCROLLABLE_CONTAINER from '../../snippets/scrollable-container'\nimport DISABLE_TOUCH from '../../snippets/disable-touch'\nimport HIDE_TOOLTIPS_ON_SCROLL from '../../snippets/hide-tooltips-on-scroll'\nimport CANCEL_LIFECYCLE_FUNCTION from '../../snippets/cancel-lifecycle-function'\nimport BUTTONS_WITH_TOOLTIPS_TOUCH from '../../snippets/buttons-with-tooltips-touch'\n\nimport Section from '../components/Section'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport Heading from '../components/Heading'\nimport ResultBox from '../components/ResultBox'\nimport OptionsTable from '../components/OptionsTable'\nimport Tippy from '../components/Tippy'\nimport ExternalLink from '../components/ExternalLink'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'All Options'\nconst Subheading = Heading(TITLE)\n\nconst INITIAL_AJAX_CONTENT = '
Loading...
'\n\nexport default () => (state, actions) => (\n
\n

Below is a list of all possible options you can pass to tippy.

\n\n \n\n \n ๐ŸŒ AJAX tooltips\n \n

\n Lifecycle functions allow you to do powerful things with tippys. Here's an\n example of dynamic content which on show, fetches a new random image from\n the Unsplash API.\n

\n \n \n {state.ajax.error && 'Loading failed'}\n {!state.ajax.imageSrc ? (\n 'Loading...'\n ) : (\n \n )}\n \n }\n >\n \n \n \n \n\n

\n Note that if you don't specify the dimensions of the image (\n width and height\n ), the tooltip will be positioned incorrectly once it loads. This is\n because the position of the tooltip is updated before the image's\n dimensions become known by the browser.\n

\n

\n Improved animation with a height transition\n

\n \n {\n if (tip.state.isFetching === true || tip.state.canFetch === false) {\n return\n }\n\n tip.state.isFetching = true\n tip.state.canFetch = false\n\n const { popper } = tip\n const { tooltip, content } = tip.popperChildren\n\n popper.style.width = '200px'\n\n fetch('https://unsplash.it/200/?random')\n .then(response => response.blob())\n .then(blob => {\n tip.state.isFetching = false\n\n const url = URL.createObjectURL(blob)\n\n if (!tip.state.isVisible) {\n return\n }\n\n const img = new Image()\n img.width = 200\n img.height = 200\n img.src = url\n\n if (!tip._transitionEndListener) {\n tip._transitionEndListener = event => {\n if (event.target === event.currentTarget) {\n content.style.opacity = '1'\n tip.setContent(img)\n }\n }\n }\n tooltip.addEventListener(\n 'transitionend',\n tip._transitionEndListener\n )\n\n if (!tip._baseHeight) {\n tip._baseHeight = tooltip.clientHeight\n }\n\n content.style.opacity = '0'\n tip.setContent(img)\n const height = tooltip.clientHeight\n popper.style.height = height + 'px'\n tooltip.style.height = tip._baseHeight + 'px'\n void tooltip.offsetHeight\n tooltip.style.height = height + 'px'\n tip.setContent('')\n })\n .catch(() => {\n tip.state.isFetching = false\n })\n }}\n onHidden={tip => {\n tip.state.canFetch = true\n tip.setContent(INITIAL_AJAX_CONTENT)\n const { tooltip } = tip.popperChildren\n tooltip.style.height = null\n tooltip.removeEventListener(\n 'transitionend',\n tip._transitionEndListener\n )\n tip._transitionEndListener = null\n }}\n content={INITIAL_AJAX_CONTENT}\n >\n \n \n \n

\n See the{' '}\n \n CodePen demo\n \n .\n

\n\n \n ๐Ÿ“ก Event delegation\n \n

\n Event delegation only requires minimal setup. Your setup should look\n similar to this, with a parent element wrapping the child elements you\n would like to give tooltips to:\n

\n \n\n

\n Then, specify a CSS selector as the target that matches child\n elements which should receive tooltips\n

\n \n

\n โš ๏ธ\n Avoid binding a Tippy instance to the body, as{' '}\n mouseover / mouseout events will constantly fire as the\n cursor moves over the page. Instead, give it to the nearest possible\n parent element.\n

\n\n Tooltips inside a scrollable container\n

\n Add the following options to prevent the tippy from staying stuck within\n the viewport.\n

\n \n\n Hiding tooltips on scroll\n

\n In some cases it may be desirable to hide tooltips when scrolling (for\n example, on touch devices).\n

\n \n\n Cancel tooltips from showing or hiding\n

\n If you return false in the onShow or{' '}\n onHide lifecycle function, it will cancel the operation. Note\n that this is synchronous, so it won't wait for an AJAX request, etc.\n

\n \n\n Buttons with tooltips on touch devices\n

\n A tooltip on a button is generally used to convey information before the\n user decides to click on it. On touch devices, this isn't possible because\n a tap is required to show the tooltip, which will fire a click event.\n

\n

\n On iOS, a tap will show the tooltip but click events won't fire until a\n second tap. This allows the user to see the tooltip before deciding to\n click the button. On Android, clicking the button will show the tooltip\n and also fire a click event.\n

\n

\n Depending on your use case, one of these will be preferred, so user agent\n checking may be needed. If neither behavior is preferred, consider using\n the touchHold: true option which allows the user to see the\n tooltip while pressing and holding the button, but won't fire a click\n event unless the click appears to be intentional.\n

\n \n
\n)\n","import { h } from 'hyperapp'\n\nimport TIP_COLLECTION from '../../snippets/tip-collection'\nimport TIP_INSTANCE from '../../snippets/tip-instance'\nimport ACCESS_TIPPY_INSTANCE from '../../snippets/access-tippy-instance'\nimport SHORTCUTS from '../../snippets/shortcuts'\n\nimport Section from '../components/Section'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport Heading from '../components/Heading'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Objects'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n

\n When using Tippy.js, there are two types of objects to think about:\n collections and instances.\n

\n\n Collections\n

\n Whenever you call tippy(), you are potentially creating many\n tippys at once. It returns an object containing information about the\n tippys you created.\n

\n \n

\n tipCollection is a plain object.\n

\n \n\n Tippy instances\n

\n Stored on reference elements via the _tippy property, and\n inside the instances array of the collection.\n

\n \n\n

\n Alternatively, you can use the tippy.one() method to return\n the instance directly, because only a single tippy is created.\n

\n \n

\n tip is also a plain object.\n

\n \n\n Shortcuts\n

There are a couple of shortcuts available for accessing the instance.

\n \n
\n)\n","import { h } from 'hyperapp'\n\nimport SET_METHOD from '../../snippets/set-method'\n\nimport Section from '../components/Section'\nimport Heading from '../components/Heading'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ResultBox from '../components/ResultBox'\nimport Tippy from '../components/Tippy'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Methods'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n

\n Tippy instances have 7 methods available which allow you to control the\n tooltip without the use of UI events.\n

\n\n Text\"\n />\n \n\n

\n The Tippy instance is stored on the button element via the{' '}\n _tippy property.{' '}\n

\n \n
\n Why is it prefixed with an underscore? Since we're\n attaching a non-standard property to an Element, we prefix it\n with an underscore. In the future, there may exist a real{' '}\n tippy property of elements that would get overwritten by the\n library, and real DOM properties are never prefixed with an underscore.\n
\n\n Show the tooltip\n \n\n Hide the tooltip\n \n\n Custom transition duration\n

Pass a number in as an argument to override the instance option:

\n \n\n Disable the tooltip\n

The tooltip can be temporarily disabled from showing/hiding:

\n \n\n

To re-enable:

\n \n\n Destroy the tooltip\n

\n To permanently destroy the tooltip and remove all listeners from the\n reference element:\n

\n \n\n

\n The _tippy property is deleted from the reference element\n upon destruction.\n

\n\n Update the tooltip\n

\n Pass an object of new props to the set() method to update the\n tooltip. The tooltip element will be redrawn to reflect the change.\n

\n \n\n Update the tooltip content\n

There is a shortcut for directly updating the tooltip content.

\n \n\n Static methods\n

\n There are a few static methods on the tippy function itself.\n These methods are global and do not affect a single instance.\n

\n

\n To use capture phase instead of bubbling for the global click listener,\n call this method before any calls to tippy():\n

\n \n

Hide all visible poppers on the page:

\n \n

Disable animation-related default props:

\n \n

Set the default props for each new tippy instance:

\n \n

Create a single tooltip and return the instance directly:

\n \n
\n)\n","import { h } from 'hyperapp'\n\nimport HTML_ELEMENT from '../../snippets/html-element'\nimport HTML_ELEMENT_JS from '../../snippets/html-element-js'\n\nimport Section from '../components/Section'\nimport Heading from '../components/Heading'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ResultBox from '../components/ResultBox'\nimport Tippy from '../components/Tippy'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'HTML Content'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n

\n Along with using a string of HTML content, you can provide an{' '}\n HTMLElement for the content option.\n

\n\n \n \n \n \n My HTML tooltip content\n \n }\n >\n \n \n \n\n

\n Tippy will append the DOM element directly to the tooltip, so it will be\n removed from the page.\n

\n\n

\n What if you want to reuse it multiple times? There's a DOM method for\n deep-cloning a node.\n

\n\n \n
\n)\n","import { h } from 'hyperapp'\n\nimport THEME_CSS from '../../snippets/theme-css'\nimport THEME_JS from '../../snippets/theme-js'\nimport TIPPY_ELEMENT from '../../snippets/tippy-element'\nimport TIPPY_ELEMENT_ARROW from '../../snippets/tippy-element-arrow'\nimport CSS_ARROW_STYLES from '../../snippets/css-arrow-styles'\n\nimport Section from '../components/Section'\nimport Emoji from '../components/Emoji'\nimport Code from '../components/Code'\nimport ResultBox from '../components/ResultBox'\nimport Tippy from '../components/Tippy'\nimport Heading from '../components/Heading'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Creating Custom Themes'\nconst Subheading = Heading(TITLE)\n\nexport default () => (\n
\n Tippy element structure\n

\n To know what selectors to use, it's helpful to understand the structure of\n a tippy element.\n

\n \n\n

\n A tippy is essentially three nested div\n s.\n

\n\n
    \n
  • \n tippy-popper is what Popper.js uses to position the tippy.\n You shouldn't apply any styles directly to this element, but you will\n need it when targeting a specific placement (x-placement\n ).\n
  • \n
  • \n tippy-tooltip is the actual tooltip. Use this to style the\n tooltip when animateFill: false.\n
  • \n
  • \n tippy-backdrop is the background fill of the tooltip. Use\n this when animateFill: true.\n
  • \n
  • \n tippy-content is anything inside the tooltip.\n
  • \n
\n\n

\n However, depending on the options you supply, additional elements may\n exist inside it, such as an arrow or backdrop (default) element.\n

\n\n \n\n Creating a theme\n\n

\n If you wanted to make a theme called honeybee, then your CSS\n would look like:\n

\n \n\n

\n The -theme suffix is required.\n

\n\n

\n To apply the theme to the tooltip, specify a theme option{' '}\n without the -theme suffix:\n

\n \n\n \n \n \n \n \n\n Styling the arrow\n

\n There are two arrow selectors: .tippy-arrow and{' '}\n .tippy-roundarrow. The first is the pure CSS triangle shape,\n while the second is a custom SVG.\n

\n

\n You will need to style the arrow for each different popper placement if\n using the default (sharp) arrow: top, bottom, left, right.\n

\n \n
\n)\n","import { h } from 'hyperapp'\nimport Section from '../components/Section'\nimport { Emojis } from './TableOfContents'\n\nconst TITLE = 'Performance'\n\nexport default () => (state, actions) => (\n
\n

Tested with 2.6 GHz Skylake MacBook Pro using Chrome 67:

\n
    \n
  • \n \n tippy.all.min.js evaluation time:\n {' '}\n 5ms\n
  • \n
  • \n Performance mode off (default): 1.3ms per 10 elements\n
  • \n
  • \n Performance mode on: 1ms per 10 elements\n
  • \n
  • \n Lazy mode off: 3ms per 10 elements\n
  • \n
  • \n Event delegation: <1ms for any number of child\n elements\n
  • \n
\n
\n)\n","import { h } from 'hyperapp'\n\nimport Demo from './Demo'\nimport TableOfContents from './TableOfContents'\nimport Why from './Why'\nimport GettingStarted from './GettingStarted'\nimport CreatingTooltips from './CreatingTooltips'\nimport CustomizingTooltips from './CustomizingTooltips'\nimport AllOptions from './AllOptions'\nimport Objects from './Objects'\nimport Methods from './Methods'\nimport HTMLContent from './HTMLContent'\nimport CreatingCustomThemes from './CreatingCustomThemes'\nimport Performance from './Performance'\n\nexport default () => (\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n)\n","import { h } from 'hyperapp'\nimport Header from './sections/Header'\nimport Main from './sections/Main'\n\nexport default (state, actions) => (\n
\n
\n
\n
\n)\n","import '../dist/tippy.css'\nimport '../dist/themes/light.css'\nimport '../dist/themes/translucent.css'\nimport '../dist/themes/light-border.css'\nimport '../dist/themes/google.css'\nimport 'normalize.css'\nimport './css/index.scss'\nimport 'focus-visible'\nimport { app } from 'hyperapp'\nimport { withRender } from '@hyperapp/render/browser/module'\nimport { prerender, isBrowser } from './js/utils'\nimport state from './js/state'\nimport actions from './js/actions'\nimport view from './js/view'\n\nconst main = withRender(app)(state, actions, view, isBrowser && document.body)\nprerender(main, '')\n"]} \ No newline at end of file diff --git a/package.json b/package.json index d65b0db7b..25f049bee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tippy.js", - "version": "3.1.3", + "version": "3.2.0", "description": "Vanilla JS Tooltip & Popover Library", "main": "dist/tippy.all.js", "module": "dist/esm/tippy.standalone.js",