diff --git a/components/Picker.jsx b/components/Picker.jsx index 288eaddf..e32410aa 100644 --- a/components/Picker.jsx +++ b/components/Picker.jsx @@ -3,7 +3,7 @@ * Created by Kevin Li 8/16/17 */ -import React, { createRef, useState, useEffect } from 'react'; +import React, { useRef, useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; @@ -27,9 +27,6 @@ const propTypes = { children: PropTypes.node }; -const pickerRef = createRef(); -const buttonRef = createRef(); - const defaultSort = (a, b, selectedOption) => { // if no sort fn is provided, sort active element to lowest index if (a.name === selectedOption) return -1; @@ -51,6 +48,8 @@ const Picker = ({ children, dropdownDirection = 'right' }) => { + const pickerRef = useRef(null); + const buttonRef = useRef(null); const [expanded, setExpanded] = useState(false); const [dimensions, setDimensions] = useState({ top: 0, diff --git a/dist/index.js b/dist/index.js index 11e482bc..89bdd957 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3,4 +3,4 @@ Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e-1;r--){var o=n[r],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(a=o)}return z.head.insertBefore(e,a),t}}var vt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function yt(){for(var t=12,e="";t-- >0;)e+=vt[62*Math.random()|0];return e}function _t(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function wt(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function Ot(t){return t.size!==gt.size||t.x!==gt.x||t.y!==gt.y||t.rotate!==gt.rotate||t.flipX||t.flipY}function kt(t){var e=t.transform,n=t.containerWidth,a=t.iconWidth,r={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*e.x,", ").concat(32*e.y,") "),i="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(o," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(a/2*-1," -256)")}}}var xt={x:0,y:0,width:"100%",height:"100%"};function Et(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function Pt(t){var e=t.icons,n=e.main,a=e.mask,r=t.prefix,o=t.iconName,i=t.transform,s=t.symbol,c=t.title,l=t.extra,u=t.watchable,f=void 0!==u&&u,p=a.found?a:n,d=p.width,m=p.height,h="fa-w-".concat(Math.ceil(d/m*16)),g=[U.replacementClass,o?"".concat(U.familyPrefix,"-").concat(o):"",h].filter((function(t){return-1===l.classes.indexOf(t)})).concat(l.classes).join(" "),b={children:[],attributes:E({},l.attributes,{"data-prefix":r,"data-icon":o,class:g,role:l.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(d," ").concat(m)})};f&&(b.attributes[W]=""),c&&b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(yt())},children:[c]});var v=E({},b,{prefix:r,iconName:o,main:n,mask:a,transform:i,symbol:s,styles:l.styles}),y=a.found&&n.found?function(t){var e,n=t.children,a=t.attributes,r=t.main,o=t.mask,i=t.transform,s=r.width,c=r.icon,l=o.width,u=o.icon,f=kt({transform:i,containerWidth:l,iconWidth:s}),p={tag:"rect",attributes:E({},xt,{fill:"white"})},d=c.children?{children:c.children.map(Et)}:{},m={tag:"g",attributes:E({},f.inner),children:[Et(E({tag:c.tag,attributes:E({},c.attributes,f.path)},d))]},h={tag:"g",attributes:E({},f.outer),children:[m]},g="mask-".concat(yt()),b="clip-".concat(yt()),v={tag:"mask",attributes:E({},xt,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,h]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(e=u,"g"===e.tag?e.children:[e])},v]};return n.push(y,{tag:"rect",attributes:E({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(g,")")},xt)}),{children:n,attributes:a}}(v):function(t){var e=t.children,n=t.attributes,a=t.main,r=t.transform,o=wt(t.styles);if(o.length>0&&(n.style=o),Ot(r)){var i=kt({transform:r,containerWidth:a.width,iconWidth:a.width});e.push({tag:"g",attributes:E({},i.outer),children:[{tag:"g",attributes:E({},i.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:E({},a.icon.attributes,i.path)}]}]})}else e.push(a.icon);return{children:e,attributes:n}}(v),_=y.children,w=y.attributes;return v.children=_,v.attributes=w,s?function(t){var e=t.prefix,n=t.iconName,a=t.children,r=t.attributes,o=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:E({},r,{id:!0===o?"".concat(e,"-").concat(U.familyPrefix,"-").concat(n):o}),children:a}]}]}(v):function(t){var e=t.children,n=t.main,a=t.mask,r=t.attributes,o=t.styles,i=t.transform;if(Ot(i)&&n.found&&!a.found){var s={x:n.width/n.height/2,y:.5};r.style=wt(E({},o,{"transform-origin":"".concat(s.x+i.x/16,"em ").concat(s.y+i.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(v)}var Nt=function(){},St=(U.measurePerformance&&I&&I.mark&&I.measure,function(t,e,n,a){var r,o,i,s=Object.keys(t),c=s.length,l=void 0!==a?function(t,e){return function(n,a,r,o){return t.call(e,n,a,r,o)}}(e,a):e;for(void 0===n?(r=1,i=t[s[0]]):(r=0,i=n);r2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,a=void 0!==n&&n,r=Object.keys(e).reduce((function(t,n){var a=e[n];return!!a.icon?t[a.iconName]=a.icon:t[n]=a,t}),{});"function"!=typeof Q.hooks.addPack||a?Q.styles[t]=E({},Q.styles[t]||{},r):Q.hooks.addPack(t,r),"fas"===t&&jt("fa",e)}var Tt=Q.styles,Ct=Q.shims,Mt=function(){var t=function(t){return St(Tt,(function(e,n,a){return e[a]=St(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var a=e[2];return t[n]=n,a.forEach((function(e){t[e]=n})),t}));var e="far"in Tt;St(Ct,(function(t,n){var a=n[0],r=n[1],o=n[2];return"far"!==r||e||(r="fas"),t[a]={prefix:r,iconName:o},t}),{})};Mt();Q.styles;function At(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function zt(t){var e=t.tag,n=t.attributes,a=void 0===n?{}:n,r=t.children,o=void 0===r?[]:r;return"string"==typeof t?_t(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(_t(t[n]),'" ')}),"").trim()}(a),">").concat(o.map(zt).join(""),"")}var It=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),a=n[0],r=n.slice(1).join("-");if(a&&"h"===r)return t.flipX=!0,t;if(a&&"v"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(a){case"grow":t.size=t.size+r;break;case"shrink":t.size=t.size-r;break;case"left":t.x=t.x-r;break;case"right":t.x=t.x+r;break;case"up":t.y=t.y-r;break;case"down":t.y=t.y+r;break;case"rotate":t.rotate=t.rotate+r}return t}),e):e};function qt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}qt.prototype=Object.create(Error.prototype),qt.prototype.constructor=qt;var Lt={fill:"currentColor"},Rt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Wt={tag:"path",attributes:E({},Lt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},Dt=E({},Rt,{attributeName:"opacity"});E({},Lt,{cx:"256",cy:"364",r:"28"}),E({},Rt,{attributeName:"r",values:"28;14;28;28;14;28;"}),E({},Dt,{values:"1;0;1;1;0;1;"}),E({},Lt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),E({},Dt,{values:"1;0;0;0;0;1;"}),E({},Lt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),E({},Dt,{values:"0;0;1;1;0;0;"}),Q.styles;function Ft(t){var e=t[0],n=t[1],a=P(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(a)?{tag:"g",attributes:{class:"".concat(U.familyPrefix,"-").concat(B.GROUP)},children:[{tag:"path",attributes:{class:"".concat(U.familyPrefix,"-").concat(B.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(U.familyPrefix,"-").concat(B.PRIMARY),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}}}}Q.styles;var Bt='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';function Yt(){var t=L,e=R,n=U.familyPrefix,a=U.replacementClass,r=Bt;if(n!==t||a!==e){var o=new RegExp("\\.".concat(t,"\\-"),"g"),i=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(a))}return r}function Ht(){U.autoAddCss&&!Gt&&(bt(Yt()),Gt=!0)}function Ut(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return zt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(q){var e=z.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Xt(t){var e=t.prefix,n=void 0===e?"fa":e,a=t.iconName;if(a)return At(Vt.definitions,n,a)||At(Q.styles,n,a)}var Qt,Vt=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,a;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,a=void 0===n?gt:n,r=e.symbol,o=void 0!==r&&r,i=e.mask,s=void 0===i?null:i,c=e.title,l=void 0===c?null:c,u=e.classes,f=void 0===u?[]:u,p=e.attributes,d=void 0===p?{}:p,m=e.styles,h=void 0===m?{}:m;if(t){var g=t.prefix,b=t.iconName,v=t.icon;return Ut(E({type:"icon"},t),(function(){return Ht(),U.autoA11y&&(l?d["aria-labelledby"]="".concat(U.replacementClass,"-title-").concat(yt()):(d["aria-hidden"]="true",d.focusable="false")),Pt({icons:{main:Ft(v),mask:s?Ft(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:b,transform:E({},gt,a),symbol:o,title:l,extra:{attributes:d,styles:h,classes:f}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:Xt(t||{}),a=e.mask;return a&&(a=(a||{}).icon?a:Xt(a||{})),Qt(n,E({},e,{mask:a}))});function Zt(t){return(Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function te(t){for(var e=1;e=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function ne(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0||!Array.isArray(e)&&e?$t({},t,e):{}}function se(t){var e=t.icon,n=t.mask,a=t.symbol,r=t.className,o=t.title,i=oe(e),s=ie("classes",[].concat(ne(function(t){var e,n=t.spin,a=t.pulse,r=t.fixedWidth,o=t.inverse,i=t.border,s=t.listItem,c=t.flip,l=t.size,u=t.rotation,f=t.pull,p=($t(e={"fa-spin":n,"fa-pulse":a,"fa-fw":r,"fa-inverse":o,"fa-border":i,"fa-li":s,"fa-flip-horizontal":"horizontal"===c||"both"===c,"fa-flip-vertical":"vertical"===c||"both"===c},"fa-".concat(l),null!=l),$t(e,"fa-rotate-".concat(u),null!=u),$t(e,"fa-pull-".concat(f),null!=f),$t(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(p).map((function(t){return p[t]?t:null})).filter((function(t){return t}))}(t)),ne(r.split(" ")))),c=ie("transform","string"==typeof t.transform?Kt.transform(t.transform):t.transform),l=ie("mask",oe(n)),u=Jt(i,te({},s,c,l,{symbol:a,title:o}));if(!u)return function(){var t;!re&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",i),null;var f=u.abstract,p={};return Object.keys(t).forEach((function(e){se.defaultProps.hasOwnProperty(e)||(p[e]=t[e])})),ce(f[0],p)}se.displayName="FontAwesomeIcon",se.propTypes={border:g.a.bool,className:g.a.string,mask:g.a.oneOfType([g.a.object,g.a.array,g.a.string]),fixedWidth:g.a.bool,inverse:g.a.bool,flip:g.a.oneOf(["horizontal","vertical","both"]),icon:g.a.oneOfType([g.a.object,g.a.array,g.a.string]),listItem:g.a.bool,pull:g.a.oneOf(["right","left"]),pulse:g.a.bool,rotation:g.a.oneOf([90,180,270]),size:g.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:g.a.bool,symbol:g.a.oneOfType([g.a.bool,g.a.string]),title:g.a.string,transform:g.a.oneOfType([g.a.string,g.a.object]),swapOpacity:g.a.bool},se.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var ce=function t(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var r=(n.children||[]).map((function(n){return t(e,n)})),o=Object.keys(n.attributes||{}).reduce((function(t,e){var a=n.attributes[e];switch(e){case"class":t.attrs.className=a,delete n.attributes.class;break;case"style":t.attrs.style=a.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n,a=e.indexOf(":"),r=ae(e.slice(0,a)),o=e.slice(a+1).trim();return r.startsWith("webkit")?t[(n=r,n.charAt(0).toUpperCase()+n.slice(1))]=o:t[r]=o,t}),{});break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=a:t.attrs[ae(e)]=a}return t}),{attrs:{}}),i=a.style,s=void 0===i?{}:i,c=ee(a,["style"]);return o.attrs.style=te({},o.attrs.style,s),e.apply(void 0,[n.tag,te({},o.attrs,c)].concat(ne(r)))}.bind(null,m.a.createElement),le={changePage:g.a.func.isRequired,totalItems:g.a.number.isRequired,currentPage:g.a.number.isRequired,pageSize:g.a.number.isRequired},ue=function(t){function e(){return r()(this,e),c()(this,u()(e).apply(this,arguments))}return p()(e,t),i()(e,[{key:"getPager",value:function(){var t,e,n=this.props,a=n.totalItems,r=n.currentPage,o=n.pageSize,i=n.changePage,s=Math.ceil(a/o),c=m.a.createElement("li",{className:"pager__ellipsis"},"..."),l=m.a.createElement("li",{className:"pager__ellipsis"},"..."),u=m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(1)}},1)),f=m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(s)}},w(s,0)));s<5?(t=1,e=s,c="",l="",u="",f=""):(t=r-1,e=r+1,r<4?(c="",u="",1===r?(t=r,e=r+2):3===r&&(t=1,e=4)):r>s-3&&(l="",f="",r===s?(t=r-2,e=r):r===s-2&&(t=r-1,e=s)));var p=(r-1)*o,d=Math.min(p+(o-1),a-1),h=Object(y.range)(t,e+1);return{totalPages:s,startPage:t,endPage:e,startIndex:p,endIndex:d,pages:h,prevEllipses:c,nextEllipses:l,firstButton:u,lastButton:f}}},{key:"generatePageButtons",value:function(t){var e=this,n=this.props.currentPage;return t.map((function(t,a){return m.a.createElement("li",{key:a,className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(n===t?"pager__button_active":""),type:"button",onClick:function(){return e.props.changePage(t)}},w(t,0)))}))}},{key:"render",value:function(){var t=this.props,e=t.currentPage,n=t.changePage,a=this.getPager(),r=this.generatePageButtons(a.pages,a.totalPages);return m.a.createElement("ul",{className:"pager"},m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(1===e?"pager__button_disabled":""),type:"button",disabled:1===e,onClick:function(){return n(e-1)},title:"Previous page"},m.a.createElement(se,{icon:"angle-left"}))),a.firstButton,a.prevEllipses,r,a.nextEllipses,a.lastButton,m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(e===a.totalPages?"pager__button_disabled":""),type:"button",disabled:e===a.totalPages,onClick:function(){return n(e+1)},title:"Next page"},m.a.createElement(se,{icon:"angle-right"}))))}}]),e}(m.a.Component);ue.propTypes=le;var fe=n(3),pe=n.n(fe),de={changeLimit:g.a.func.isRequired,pageSize:g.a.number,limitList:g.a.arrayOf(g.a.number),label:g.a.string},me=function(t){function e(t){var n;return r()(this,e),(n=c()(this,u()(e).call(this,t))).changeLimit=n.changeLimit.bind(pe()(n)),n}return p()(e,t),i()(e,[{key:"changeLimit",value:function(t){t.preventDefault();var e=parseInt(t.target.value,10);this.props.changeLimit(e)}},{key:"render",value:function(){var t=this.props.label?this.props.label:"Rows per page: ",e=this.props,n=e.limitList,a=e.pageSize,r=n.map((function(t){return m.a.createElement("option",{key:"limit-".concat(t),value:t},t)}));return m.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},m.a.createElement("label",null,t),m.a.createElement("select",{onChange:this.changeLimit,value:a,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},r))}}]),e}(m.a.Component);me.propTypes=de,me.defaultProps={pageLimit:10,limitList:[10,25,50,100]};var he={changePage:g.a.func.isRequired,totalPages:g.a.number,id:g.a.string},ge=function(t){function e(t){var n;return r()(this,e),(n=c()(this,u()(e).call(this,t))).state={goToPage:""},n.changePage=n.changePage.bind(pe()(n)),n.changedInput=n.changedInput.bind(pe()(n)),n.validPage=n.validPage.bind(pe()(n)),n}return p()(e,t),i()(e,[{key:"changePage",value:function(t){t.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function(t){this.setState({goToPage:t.target.value})}},{key:"validPage",value:function(){var t=this.state.goToPage,e=this.props.totalPages;return!(""===t||parseInt(t,10)<1||parseInt(t,10)>e)}},{key:"render",value:function(){var t=this.props.totalPages,e=t>1?"1-".concat(t):"1";return m.a.createElement("form",{className:"usa-dt-pagination__go-to"},m.a.createElement("label",{htmlFor:"".concat(this.props.id,"-go-to")},"Go to page"),m.a.createElement("input",{type:"number",id:"".concat(this.props.id,"-go-to"),title:"Enter a number between 1 and ".concat(t),min:"1",max:t,placeholder:e,value:this.state.goToPage,onChange:this.changedInput,onSubmit:this.changePage}),m.a.createElement("button",{type:"submit",onClick:this.changePage,disabled:!this.validPage()},"Go"))}}]),e}(m.a.Component);ge.propTypes=he,ge.defaultProps={totalPages:1,id:"usa-dt-pagination-go-to"};var be={changePage:g.a.func.isRequired,totalItems:g.a.number.isRequired,currentPage:g.a.number,pageSize:g.a.number,resultsText:g.a.oneOfType([g.a.bool,g.a.element]),limitSelector:g.a.bool,changeLimit:g.a.func,goToPage:g.a.bool,id:g.a.string};n(16);var ve=function(t){function e(){return r()(this,e),c()(this,u()(e).apply(this,arguments))}return p()(e,t),i()(e,[{key:"getResultsText",value:function(){var t=this.props,e=t.resultsText,n=t.totalItems,a=t.currentPage,r=t.pageSize;if(m.a.isValidElement(e))return e;if(e){var o=function(t,e,n){var a=(t-1)*e+1,r=t*e;return t===Math.ceil(n/e)&&(r=n),{start:a,end:r}}(a,r,n),i=w(o.start,0),s=w(o.end,0),c=w(n,0);return m.a.createElement("div",{className:"usa-dt-pagination__totals"},"".concat(i,"-").concat(s," of ").concat(c," results"))}return null}},{key:"render",value:function(){var t=this.props,e=t.limitSelector,n=t.goToPage,a=t.changePage,r=t.changeLimit,o=t.currentPage,i=t.pageSize,s=t.totalItems,c=t.id,l=Math.ceil(s/i),u=this.getResultsText(),f=e?m.a.createElement(me,{changeLimit:r,pageSize:i}):null,p=n?m.a.createElement(ge,{changePage:a,totalPages:l,id:c}):null;return!e&&l<=1?null:m.a.createElement("div",{className:"usa-dt-pagination"},u,m.a.createElement("div",{className:"usa-dt-pagination__wrapper"},f,m.a.createElement(ue,{changePage:a,totalItems:s,currentPage:o,pageSize:i}),p))}}]),e}(m.a.Component);ve.propTypes=be,ve.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function(){},goToPage:!1};var ye=n(9),_e=n.n(ye),we=n(11),Oe=n.n(we);n(17);var ke={className:g.a.string,children:g.a.element,tooltipComponent:g.a.element,tooltipPosition:g.a.string,wide:g.a.bool,icon:g.a.string,width:g.a.number,controlledProps:g.a.shape({isControlled:g.a.bool,showTooltip:g.a.func,closeTooltip:g.a.func,isVisible:g.a.bool}),offsetAdjustments:g.a.shape({top:g.a.number,right:g.a.number,left:g.a.number}),styles:g.a.object,onMouseMoveTooltip:g.a.func,onMouseLeaveTooltip:g.a.func},xe=375,Ee={info:m.a.createElement(se,{className:"tooltip__icon",icon:"info-circle"})},Pe=function(t){function e(t){var n;return r()(this,e),n=c()(this,u()(e).call(this,t)),_e()(pe()(n),"onMouseMoveTooltip",(function(){var t=n.props.onMouseMoveTooltip;t&&t()})),_e()(pe()(n),"onMouseLeaveTooltip",(function(){var t=n.props.onMouseLeaveTooltip;t&&t()})),_e()(pe()(n),"positionPointerTop",(function(){if(n.tooltipReference){var t={top:"-0.79rem",left:"".concat((n.props.width||xe)/2+8,"px"),transform:"rotate(90deg)"},e={width:"".concat(n.props.width||xe,"px")};n.setState({arrowStyles:t,spacerStyles:e})}})),_e()(pe()(n),"arrowClassName",(function(){return"left"===n.props.tooltipPosition?"right":""})),n.state={showTooltip:!1,offsetTop:0,arrowStyles:{},spacerStyles:{}},n.showTooltip=n.showTooltip.bind(pe()(n)),n.closeTooltip=n.closeTooltip.bind(pe()(n)),n.measureOffset=Object(y.throttle)(n.measureOffset.bind(pe()(n)),16),n}return p()(e,t),i()(e,[{key:"componentDidMount",value:function(){this.measureOffset(),"bottom"===this.props.tooltipPosition&&this.positionPointerTop(),window.addEventListener("scroll",Object(y.throttle)(this.measureOffset,500)),window.addEventListener("resize",Object(y.throttle)(this.measureOffset,100))}},{key:"componentDidUpdate",value:function(t){t.wide===this.props.wide&&t.tooltipPosition===this.props.tooltipPosition||this.measureOffset(),"bottom"===this.props.tooltipPosition&&"bottom"!==t.tooltipPosition&&this.positionPointerTop()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.measureOffset),window.removeEventListener("resize",this.measureOffset)}},{key:"showTooltip",value:function(){this.props.controlledProps.isControlled?this.props.controlledProps.showTooltip():this.setState({showTooltip:!0})}},{key:"closeTooltip",value:function(){this.props.controlledProps.isControlled?this.props.controlledProps.closeTooltip():this.setState({showTooltip:!1})}},{key:"measureOffset",value:function(){var t,e,n=xe,a={};if(this.tooltipContainer){var r=this.tooltipContainer,o=r.clientWidth,i=r.offsetTop+this.props.offsetAdjustments.top,s=window.innerWidth-r.offsetLeft-o,c=r.offsetLeft;if(this.props.wide&&"left"===this.props.tooltipPosition?n=c>800?700:c-100:this.props.wide&&(n=s>800?700:s-100),"left"===this.props.tooltipPosition)a={top:i,left:c-n-20,width:n};else a={top:i,left:c+o+20,width:n};(null===(t=this.props)||void 0===t?void 0:null===(e=t.styles)||void 0===e?void 0:e.transform)&&(delete a.top,delete a.left),this.setState({spacerStyle:a})}}},{key:"render",value:function(){var t=this,e=null;return(this.props.controlledProps.isControlled?this.props.controlledProps.isVisible:this.state.showTooltip)&&(e=m.a.createElement("div",{className:"tooltip-spacer",style:this.state.spacerStyle},m.a.createElement("div",{className:"tooltip",id:"tooltip",role:"tooltip",onMouseMove:this.onMouseMoveTooltip,onMouseLeave:this.onMouseLeaveTooltip,ref:function(e){t.tooltipReference=e}},m.a.createElement("div",{className:"tooltip__interior"},m.a.createElement("div",{className:"tooltip-pointer ".concat(this.arrowClassName()),style:this.state.arrowStyles}),m.a.createElement("div",{className:"tooltip__content"},m.a.createElement("div",{className:"tooltip__message"},this.props.tooltipComponent)))))),m.a.createElement("div",{className:Oe()(_e()({"tooltip-wrapper":!0},this.props.className,null!==this.props.className)),style:this.props.styles},m.a.createElement("div",{ref:function(e){t.tooltipContainer=e}},m.a.createElement("div",{role:"button",tabIndex:"0",className:"tooltip__hover-wrapper",onBlur:this.closeTooltip,onFocus:this.showTooltip,onKeyPress:this.showTooltip,onMouseEnter:this.showTooltip,onMouseLeave:this.closeTooltip,onClick:this.showTooltip},this.props.children,this.props.icon&&Ee[this.props.icon]),e))}}]),e}(m.a.Component);Pe.propTypes=ke,Pe.defaultProps={className:null,children:null,toolTipComponent:null,tooltipPosition:"right",wide:!1,icon:"",controlledProps:{isControlled:!1,showTooltip:function(){},closeTooltip:function(){},isVisible:!1},offsetAdjustments:{top:-15,right:30,left:0},styles:{}};n(18);var Ne={title:g.a.string,children:g.a.node,className:g.a.string,textAlign:g.a.shape({title:g.a.oneOf(["center","left"]),text:g.a.oneOf(["center","left"])})},Se={title:"Tooltip Info",children:m.a.createElement("p",null,"Here is some info."),className:null,textAlign:{title:"left",text:"left"}},je=function(t){var e=t.children,n=t.title,a=t.className,r=t.textAlign;return m.a.createElement("div",{className:Oe()(_e()({},a,null!==a))},m.a.createElement("h1",{className:Oe()("tooltip__title",r.title)},n),m.a.createElement("div",{className:Oe()("tooltip__text",r.text)},e))};je.propTypes=Ne,je.defaultProps=Se;var Te=je,Ce=n(10),Me=n.n(Ce),Ae={disabled:g.a.bool,active:g.a.bool,showPeriods:g.a.bool,quarter:g.a.string,handleSelection:g.a.func,handleHover:g.a.func,handleBlur:g.a.func,toggleTooltip:g.a.func,title:g.a.string},ze=function(t){var e=t.disabled,n=t.active,a=t.quarter,r=t.handleSelection,o=t.toggleTooltip,i=t.title,s=void 0===i?"":i,c=t.handleHover,l=t.handleBlur,u=t.showPeriods,f=void 0!==u&&u,p=s||"Q ".concat(a),d=function(){e?o(a):c(a,f?"period":"quarter")},h=function(){o(0),l(f?"period":"quarter")},g=function(t){t.preventDefault(),e||r(a)},b=e?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===a?b+="usa-dt-quarter-picker__quarter_first":"4"===a?b+="usa-dt-quarter-picker__quarter_last":s.includes("-")&&(b+="usa-dt-quarter-picker__quarter_double"),!e&&n&&(b+=" usa-dt-quarter-picker__quarter_active"),m.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(b),onMouseDown:g,onClick:g,onMouseOver:d,onMouseEnter:d,onFocus:d,onMouseLeave:h,onBlur:h,"aria-disabled":e},p)};ze.propTypes=Ae;var Ie=ze,qe=(n(22),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=Object(d.useState)(t),n=Me()(e,2),a=n[0],r=n[1],o=function(t){var e=parseInt(t,10),n=a.map((function(t){return parseInt(t,10)})).filter((function(t){return t<=e})).map((function(t){return"".concat(t)}));r(n.concat([t]))};return[a,o]}),Le=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],Re=function(t,e){return e.some((function(e){return parseInt(e,10)>=parseInt(t,10)}))},We={handleSelection:g.a.func,selectedQuarters:g.a.arrayOf(g.a.string),disabledQuarters:g.a.arrayOf(g.a.string),selectedPeriods:g.a.arrayOf(g.a.string),disabledPeriods:g.a.arrayOf(g.a.string),periodsPerQuarter:g.a.arrayOf(g.a.arrayOf(g.a.shape({title:g.a.string,id:g.a.string}))),showPeriods:g.a.bool,isCumulative:g.a.bool},De=function(t){var e=t.handleSelection,n=t.disabledQuarters,a=void 0===n?[]:n,r=t.disabledPeriods,o=void 0===r?[]:r,i=t.periodsPerQuarter,s=void 0===i?Le:i,c=t.selectedQuarters,l=void 0===c?[]:c,u=t.selectedPeriods,f=void 0===u?[]:u,p=t.showPeriods,h=void 0!==p&&p,g=t.isCumulative,b=void 0!==g&&g,v=Object(d.useState)(""),_=Me()(v,2),w=_[0],O=_[1],k=Object(d.useState)(""),x=Me()(k,2),E=x[0],P=x[1],N=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter";"quarter"===e?P(t):O(t)},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter";"quarter"===t?P(""):O("")};return m.a.createElement("div",{className:"usa-dt-quarter-picker"},m.a.createElement("ul",{className:"usa-dt-quarter-picker__list"},new Array(4).fill(0).map((function(t,n){var r=n+1,i="".concat(r);if(h){var c=s[n],u=c.every((function(t){return o.includes(t.id)}));return m.a.createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:Object(y.uniqueId)()},m.a.createElement("p",{className:u?"disabled":""},"Q".concat(r)),m.a.createElement("ul",{className:"usa-dt-quarter-picker__period-list"},c.map((function(t){return m.a.createElement("li",{className:Object.keys(t).includes("className")?"".concat(t.className," usa-dt-quarter-picker__list-item"):"usa-dt-quarter-picker__list-item",key:Object(y.uniqueId)()},m.a.createElement(Ie,{showPeriods:h,quarter:t.id,title:t.title,disabled:o.includes(t.id),active:Re(t.id,f)||parseInt(w,10)>=parseInt(t.id,10),handleHover:N,handleBlur:S,handleSelection:e,toggleTooltip:function(){}}))}))))}return m.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(y.uniqueId)()},m.a.createElement(Ie,{quarter:i,disabled:a.includes(i),active:b?Re(i,l)||parseInt(E,10)>=r:l.includes(i)||E===i,handleSelection:e,handleHover:N,handleBlur:S,toggleTooltip:function(){}}))}))))};De.propTypes=We;var Fe=De;function Be(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function Ye(t){for(var e=1;ee.name?1:0},Ge=function(t){var e=t.className,n=void 0===e?"":e,a=t.id,r=void 0===a?"":a,o=t.options,i=t.selectedOption,s=t.icon,c=void 0===s?null:s,l=t.sortFn,u=void 0===l?Ve:l,f=t.isFixedWidth,p=void 0!==f&&f,h=t.children,g=t.dropdownDirection,b=void 0===g?"right":g,v=Object(d.useState)(!1),y=Me()(v,2),_=y[0],w=y[1],O=Object(d.useState)({top:0,width:0,left:0,right:0}),k=Me()(O,2),x=k[0],E=k[1],P=function(t){t.preventDefault(),w(!_)},N=function(){Qe.current&&Xe.current&&E({top:Qe.current.offsetHeight,width:Qe.current.offsetWidth,left:Qe.current.offsetLeft,right:Xe.current.offsetWidth-(Qe.current.offsetWidth+Qe.current.offsetLeft)})};Object(d.useEffect)((function(){0!==x.width&&p&&Qe.current&&Qe.current.offsetWidth!==x.width&&N()})),Object(d.useEffect)((function(){var t=function(t){_&&Xe.current&&!Xe.current.contains(t.target)&&t.target.id!=="".concat(r,"-").concat(He)&&t.target.parentNode.id!=="".concat(r,"-").concat(He)&&w(!1)};return N(),document.addEventListener("click",t),function(){document.removeEventListener("click",t)}}),[_]);return m.a.createElement("div",{id:r,className:"usa-dt-picker ".concat(n),ref:Xe},c&&m.a.createElement("div",{className:"usa-dt-picker__icon"},c),m.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},h?m.a.createElement("button",{ref:Qe,className:"usa-dt-picker__button",onClick:P},h):m.a.createElement("button",{ref:Qe,className:"usa-dt-picker__button",onClick:P},m.a.createElement("span",{className:"usa-dt-picker__button-text"},i),m.a.createElement("span",{className:"usa-dt-picker__button-icon"},!_&&m.a.createElement(se,{id:"".concat(r,"-").concat(He),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),_&&m.a.createElement(se,{id:"".concat(r,"-").concat(He),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),m.a.createElement("ul",{className:"usa-dt-picker__list ".concat(_?"":"hide"),style:function(){var t={top:"".concat(x.top,"px"),left:"".concat(x.left,"px")};return p&&"right"===b?Ye({},t,{width:"".concat(x.width,"px")}):p&&"left"===b?{top:t.top,right:"".concat(x.right),width:"".concat(x.width,"px")}:"left"===b?{top:t.top,right:"".concat(x.right,"px")}:t}()},o.sort((function(t,e){return u(t,e,i)})).map((function(t){return Ye({},t,{onClick:(e=t.onClick,function(t){t.preventDefault(),e(t.target.value),w(!1)})});var e})).map((function(t){return m.a.createElement("li",{key:t.name,className:"usa-dt-picker__list-item"},m.a.createElement("button",{className:"usa-dt-picker__item ".concat(t.name===i?"active":""),value:"".concat(t.value||t.name),onClick:t.onClick},t.component?t.component:t.name))})))))};Ge.propTypes=Ue;var Ke=Ge,Je=n(13),Ze=n.n(Je),$e={isActive:g.a.bool,title:g.a.string.isRequired,displayName:g.a.oneOfType([g.a.string,g.a.element]).isRequired,currentSort:Object(h.shape)({direction:Object(h.oneOf)(["asc","desc"]),field:g.a.string}),updateSort:g.a.func,right:g.a.bool},tn=function(t){var e,n,a=function(e){t.updateSort(t.title,e.target.value)},r=t.isActive&&"asc"===(null===(e=t.currentSort)||void 0===e?void 0:e.direction)?" table-header__icon_active":"",o=t.isActive&&"desc"===(null===(n=t.currentSort)||void 0===n?void 0:n.direction)?" table-header__icon_active":"",i=m.a.createElement("div",{className:"table-header__sort"},m.a.createElement("button",{onClick:a,className:"table-header__icon".concat(r),value:"asc",title:"Sort table by ascending ".concat(t.displayName),"aria-label":"Sort table by ascending ".concat(t.displayName)},m.a.createElement(se,{size:"2x",icon:"caret-up"})),m.a.createElement("button",{onClick:a,className:"table-header__icon".concat(o),value:"desc",title:"Sort table by descending ".concat(t.displayName),"aria-label":"Sort table by descending ".concat(t.displayName)},m.a.createElement(se,{size:"2x",icon:"caret-down"})));return m.a.createElement("th",{className:"table-header"},m.a.createElement("div",{className:"table-header__content".concat(t.right?" table-header__content_right":"")},m.a.createElement("div",{className:"table-header__label"},t.displayName),t.updateSort&&i))};tn.propTypes=$e;var en=tn,nn={data:g.a.object,columns:g.a.array,oddClass:g.a.string,divider:g.a.string},an=function(t){var e=t.data,n=t.columns,a=t.oddClass,r=t.divider,o=Object(d.useState)(!1),i=Me()(o,2),s=i[0],c=i[1],l=s?"chevron-down":"chevron-right",u=n.map((function(t){return t.title})),f=function(){c(!s)},p=m.a.createElement("tr",{className:"usda-table__child-row usda-table__child-row_divider".concat(a)},m.a.createElement("td",{colSpan:n.length,className:"usda-table__cell usda-table__cell_child"},m.a.createElement("div",{className:"usda-table__child-cell-content"},r)));return m.a.createElement(m.a.Fragment,null,m.a.createElement("tr",{className:"usda-table__row".concat(a," usda-table__row_expandable")},u.map((function(t,a){return"name"===t&&e.children?m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell"},m.a.createElement("button",{className:"usda-table__expand-button",onClick:f},m.a.createElement(se,{icon:l,size:"2x"})),m.a.createElement("p",null,e.name)):m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell".concat("name"===t?" usda-table__cell_name":"").concat(n[a].right?" usda-table__cell_right":"")},e[t])}))),e.children&&s?m.a.createElement(m.a.Fragment,null,r&&p,e.children.map((function(t,r){var o=r===e.children.length-1?" usda-table__child-row_last":"";return m.a.createElement("tr",{key:Object(y.uniqueId)(),className:"usda-table__child-row".concat(o).concat(a)},u.map((function(e,a){return m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell ".concat(n[a].right?" usda-table__cell_right":""," usda-table__cell_child")},m.a.createElement("div",{className:"usda-table__child-cell-content"},t[e]))})))}))):null)};an.propTypes=nn;var rn=an;n(24);var on={columns:g.a.arrayOf(g.a.object).isRequired,rows:g.a.arrayOf(Object(h.oneOfType)([g.a.array,g.a.object])).isRequired,currentSort:Object(h.shape)({direction:Object(h.oneOf)(["asc","desc"]),field:g.a.string}),updateSort:g.a.func,expandable:g.a.bool,divider:g.a.string},sn=function(t){return m.a.createElement("table",{className:"usda-table"},m.a.createElement("thead",{className:"usda-table__head"},m.a.createElement("tr",{className:"usda-table__row"},t.columns.map((function(e){var n;return m.a.createElement(en,Ze()({key:Object(y.uniqueId)(),currentSort:t.currentSort,updateSort:t.updateSort,isActive:(null===(n=t.currentSort)||void 0===n?void 0:n.field)===e.title},e))})))),m.a.createElement("tbody",{className:"usda-table__body"},t.rows.map((function(e,n){var a=n%2==0?"":" usda-table__row_odd";return t.expandable?m.a.createElement(rn,{key:Object(y.uniqueId)(),data:e,oddClass:a,columns:t.columns,divider:t.divider}):m.a.createElement("tr",{key:Object(y.uniqueId)(),className:"usda-table__row".concat(a)},e.map((function(e,n){var a;return t.columns[n]&&m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell".concat((null===(a=t.columns[n])||void 0===a?void 0:a.right)?" usda-table__cell_right":"")},e)})))}))))};sn.propTypes=on;var cn=sn;n(25);n.d(e,"Pagination",(function(){return ve})),n.d(e,"TooltipWrapper",(function(){return Pe})),n.d(e,"QuarterPicker",(function(){return Fe})),n.d(e,"useCumulativeQuarterPicker",(function(){return qe})),n.d(e,"TooltipComponent",(function(){return Te})),n.d(e,"Picker",(function(){return Ke})),n.d(e,"Table",(function(){return cn}))}])})); \ No newline at end of file +*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t=[],e=0;e-1;r--){var o=n[r],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(a=o)}return z.head.insertBefore(e,a),t}}var vt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function yt(){for(var t=12,e="";t-- >0;)e+=vt[62*Math.random()|0];return e}function _t(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function wt(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function Ot(t){return t.size!==gt.size||t.x!==gt.x||t.y!==gt.y||t.rotate!==gt.rotate||t.flipX||t.flipY}function kt(t){var e=t.transform,n=t.containerWidth,a=t.iconWidth,r={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*e.x,", ").concat(32*e.y,") "),i="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(o," ").concat(i," ").concat(s)},path:{transform:"translate(".concat(a/2*-1," -256)")}}}var xt={x:0,y:0,width:"100%",height:"100%"};function Et(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function Pt(t){var e=t.icons,n=e.main,a=e.mask,r=t.prefix,o=t.iconName,i=t.transform,s=t.symbol,c=t.title,l=t.extra,u=t.watchable,f=void 0!==u&&u,p=a.found?a:n,d=p.width,m=p.height,h="fa-w-".concat(Math.ceil(d/m*16)),g=[U.replacementClass,o?"".concat(U.familyPrefix,"-").concat(o):"",h].filter((function(t){return-1===l.classes.indexOf(t)})).concat(l.classes).join(" "),b={children:[],attributes:E({},l.attributes,{"data-prefix":r,"data-icon":o,class:g,role:l.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(d," ").concat(m)})};f&&(b.attributes[W]=""),c&&b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(yt())},children:[c]});var v=E({},b,{prefix:r,iconName:o,main:n,mask:a,transform:i,symbol:s,styles:l.styles}),y=a.found&&n.found?function(t){var e,n=t.children,a=t.attributes,r=t.main,o=t.mask,i=t.transform,s=r.width,c=r.icon,l=o.width,u=o.icon,f=kt({transform:i,containerWidth:l,iconWidth:s}),p={tag:"rect",attributes:E({},xt,{fill:"white"})},d=c.children?{children:c.children.map(Et)}:{},m={tag:"g",attributes:E({},f.inner),children:[Et(E({tag:c.tag,attributes:E({},c.attributes,f.path)},d))]},h={tag:"g",attributes:E({},f.outer),children:[m]},g="mask-".concat(yt()),b="clip-".concat(yt()),v={tag:"mask",attributes:E({},xt,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,h]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(e=u,"g"===e.tag?e.children:[e])},v]};return n.push(y,{tag:"rect",attributes:E({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(g,")")},xt)}),{children:n,attributes:a}}(v):function(t){var e=t.children,n=t.attributes,a=t.main,r=t.transform,o=wt(t.styles);if(o.length>0&&(n.style=o),Ot(r)){var i=kt({transform:r,containerWidth:a.width,iconWidth:a.width});e.push({tag:"g",attributes:E({},i.outer),children:[{tag:"g",attributes:E({},i.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:E({},a.icon.attributes,i.path)}]}]})}else e.push(a.icon);return{children:e,attributes:n}}(v),_=y.children,w=y.attributes;return v.children=_,v.attributes=w,s?function(t){var e=t.prefix,n=t.iconName,a=t.children,r=t.attributes,o=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:E({},r,{id:!0===o?"".concat(e,"-").concat(U.familyPrefix,"-").concat(n):o}),children:a}]}]}(v):function(t){var e=t.children,n=t.main,a=t.mask,r=t.attributes,o=t.styles,i=t.transform;if(Ot(i)&&n.found&&!a.found){var s={x:n.width/n.height/2,y:.5};r.style=wt(E({},o,{"transform-origin":"".concat(s.x+i.x/16,"em ").concat(s.y+i.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(v)}var Nt=function(){},St=(U.measurePerformance&&I&&I.mark&&I.measure,function(t,e,n,a){var r,o,i,s=Object.keys(t),c=s.length,l=void 0!==a?function(t,e){return function(n,a,r,o){return t.call(e,n,a,r,o)}}(e,a):e;for(void 0===n?(r=1,i=t[s[0]]):(r=0,i=n);r2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,a=void 0!==n&&n,r=Object.keys(e).reduce((function(t,n){var a=e[n];return!!a.icon?t[a.iconName]=a.icon:t[n]=a,t}),{});"function"!=typeof Q.hooks.addPack||a?Q.styles[t]=E({},Q.styles[t]||{},r):Q.hooks.addPack(t,r),"fas"===t&&jt("fa",e)}var Tt=Q.styles,Ct=Q.shims,Mt=function(){var t=function(t){return St(Tt,(function(e,n,a){return e[a]=St(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var a=e[2];return t[n]=n,a.forEach((function(e){t[e]=n})),t}));var e="far"in Tt;St(Ct,(function(t,n){var a=n[0],r=n[1],o=n[2];return"far"!==r||e||(r="fas"),t[a]={prefix:r,iconName:o},t}),{})};Mt();Q.styles;function At(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function zt(t){var e=t.tag,n=t.attributes,a=void 0===n?{}:n,r=t.children,o=void 0===r?[]:r;return"string"==typeof t?_t(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(_t(t[n]),'" ')}),"").trim()}(a),">").concat(o.map(zt).join(""),"")}var It=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),a=n[0],r=n.slice(1).join("-");if(a&&"h"===r)return t.flipX=!0,t;if(a&&"v"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(a){case"grow":t.size=t.size+r;break;case"shrink":t.size=t.size-r;break;case"left":t.x=t.x-r;break;case"right":t.x=t.x+r;break;case"up":t.y=t.y-r;break;case"down":t.y=t.y+r;break;case"rotate":t.rotate=t.rotate+r}return t}),e):e};function qt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}qt.prototype=Object.create(Error.prototype),qt.prototype.constructor=qt;var Lt={fill:"currentColor"},Rt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Wt={tag:"path",attributes:E({},Lt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},Dt=E({},Rt,{attributeName:"opacity"});E({},Lt,{cx:"256",cy:"364",r:"28"}),E({},Rt,{attributeName:"r",values:"28;14;28;28;14;28;"}),E({},Dt,{values:"1;0;1;1;0;1;"}),E({},Lt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),E({},Dt,{values:"1;0;0;0;0;1;"}),E({},Lt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),E({},Dt,{values:"0;0;1;1;0;0;"}),Q.styles;function Ft(t){var e=t[0],n=t[1],a=P(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(a)?{tag:"g",attributes:{class:"".concat(U.familyPrefix,"-").concat(B.GROUP)},children:[{tag:"path",attributes:{class:"".concat(U.familyPrefix,"-").concat(B.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(U.familyPrefix,"-").concat(B.PRIMARY),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}}}}Q.styles;var Bt='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';function Yt(){var t=L,e=R,n=U.familyPrefix,a=U.replacementClass,r=Bt;if(n!==t||a!==e){var o=new RegExp("\\.".concat(t,"\\-"),"g"),i=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(a))}return r}function Ht(){U.autoAddCss&&!Gt&&(bt(Yt()),Gt=!0)}function Ut(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return zt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(q){var e=z.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Xt(t){var e=t.prefix,n=void 0===e?"fa":e,a=t.iconName;if(a)return At(Vt.definitions,n,a)||At(Q.styles,n,a)}var Qt,Vt=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,a;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,a=void 0===n?gt:n,r=e.symbol,o=void 0!==r&&r,i=e.mask,s=void 0===i?null:i,c=e.title,l=void 0===c?null:c,u=e.classes,f=void 0===u?[]:u,p=e.attributes,d=void 0===p?{}:p,m=e.styles,h=void 0===m?{}:m;if(t){var g=t.prefix,b=t.iconName,v=t.icon;return Ut(E({type:"icon"},t),(function(){return Ht(),U.autoA11y&&(l?d["aria-labelledby"]="".concat(U.replacementClass,"-title-").concat(yt()):(d["aria-hidden"]="true",d.focusable="false")),Pt({icons:{main:Ft(v),mask:s?Ft(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:b,transform:E({},gt,a),symbol:o,title:l,extra:{attributes:d,styles:h,classes:f}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:Xt(t||{}),a=e.mask;return a&&(a=(a||{}).icon?a:Xt(a||{})),Qt(n,E({},e,{mask:a}))});function Zt(t){return(Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function te(t){for(var e=1;e=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function ne(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0||!Array.isArray(e)&&e?$t({},t,e):{}}function se(t){var e=t.icon,n=t.mask,a=t.symbol,r=t.className,o=t.title,i=oe(e),s=ie("classes",[].concat(ne(function(t){var e,n=t.spin,a=t.pulse,r=t.fixedWidth,o=t.inverse,i=t.border,s=t.listItem,c=t.flip,l=t.size,u=t.rotation,f=t.pull,p=($t(e={"fa-spin":n,"fa-pulse":a,"fa-fw":r,"fa-inverse":o,"fa-border":i,"fa-li":s,"fa-flip-horizontal":"horizontal"===c||"both"===c,"fa-flip-vertical":"vertical"===c||"both"===c},"fa-".concat(l),null!=l),$t(e,"fa-rotate-".concat(u),null!=u),$t(e,"fa-pull-".concat(f),null!=f),$t(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(p).map((function(t){return p[t]?t:null})).filter((function(t){return t}))}(t)),ne(r.split(" ")))),c=ie("transform","string"==typeof t.transform?Kt.transform(t.transform):t.transform),l=ie("mask",oe(n)),u=Jt(i,te({},s,c,l,{symbol:a,title:o}));if(!u)return function(){var t;!re&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",i),null;var f=u.abstract,p={};return Object.keys(t).forEach((function(e){se.defaultProps.hasOwnProperty(e)||(p[e]=t[e])})),ce(f[0],p)}se.displayName="FontAwesomeIcon",se.propTypes={border:g.a.bool,className:g.a.string,mask:g.a.oneOfType([g.a.object,g.a.array,g.a.string]),fixedWidth:g.a.bool,inverse:g.a.bool,flip:g.a.oneOf(["horizontal","vertical","both"]),icon:g.a.oneOfType([g.a.object,g.a.array,g.a.string]),listItem:g.a.bool,pull:g.a.oneOf(["right","left"]),pulse:g.a.bool,rotation:g.a.oneOf([90,180,270]),size:g.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:g.a.bool,symbol:g.a.oneOfType([g.a.bool,g.a.string]),title:g.a.string,transform:g.a.oneOfType([g.a.string,g.a.object]),swapOpacity:g.a.bool},se.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var ce=function t(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var r=(n.children||[]).map((function(n){return t(e,n)})),o=Object.keys(n.attributes||{}).reduce((function(t,e){var a=n.attributes[e];switch(e){case"class":t.attrs.className=a,delete n.attributes.class;break;case"style":t.attrs.style=a.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n,a=e.indexOf(":"),r=ae(e.slice(0,a)),o=e.slice(a+1).trim();return r.startsWith("webkit")?t[(n=r,n.charAt(0).toUpperCase()+n.slice(1))]=o:t[r]=o,t}),{});break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=a:t.attrs[ae(e)]=a}return t}),{attrs:{}}),i=a.style,s=void 0===i?{}:i,c=ee(a,["style"]);return o.attrs.style=te({},o.attrs.style,s),e.apply(void 0,[n.tag,te({},o.attrs,c)].concat(ne(r)))}.bind(null,m.a.createElement),le={changePage:g.a.func.isRequired,totalItems:g.a.number.isRequired,currentPage:g.a.number.isRequired,pageSize:g.a.number.isRequired},ue=function(t){function e(){return r()(this,e),c()(this,u()(e).apply(this,arguments))}return p()(e,t),i()(e,[{key:"getPager",value:function(){var t,e,n=this.props,a=n.totalItems,r=n.currentPage,o=n.pageSize,i=n.changePage,s=Math.ceil(a/o),c=m.a.createElement("li",{className:"pager__ellipsis"},"..."),l=m.a.createElement("li",{className:"pager__ellipsis"},"..."),u=m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(1)}},1)),f=m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button",type:"button",onClick:function(){return i(s)}},w(s,0)));s<5?(t=1,e=s,c="",l="",u="",f=""):(t=r-1,e=r+1,r<4?(c="",u="",1===r?(t=r,e=r+2):3===r&&(t=1,e=4)):r>s-3&&(l="",f="",r===s?(t=r-2,e=r):r===s-2&&(t=r-1,e=s)));var p=(r-1)*o,d=Math.min(p+(o-1),a-1),h=Object(y.range)(t,e+1);return{totalPages:s,startPage:t,endPage:e,startIndex:p,endIndex:d,pages:h,prevEllipses:c,nextEllipses:l,firstButton:u,lastButton:f}}},{key:"generatePageButtons",value:function(t){var e=this,n=this.props.currentPage;return t.map((function(t,a){return m.a.createElement("li",{key:a,className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(n===t?"pager__button_active":""),type:"button",onClick:function(){return e.props.changePage(t)}},w(t,0)))}))}},{key:"render",value:function(){var t=this.props,e=t.currentPage,n=t.changePage,a=this.getPager(),r=this.generatePageButtons(a.pages,a.totalPages);return m.a.createElement("ul",{className:"pager"},m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(1===e?"pager__button_disabled":""),type:"button",disabled:1===e,onClick:function(){return n(e-1)},title:"Previous page"},m.a.createElement(se,{icon:"angle-left"}))),a.firstButton,a.prevEllipses,r,a.nextEllipses,a.lastButton,m.a.createElement("li",{className:"pager__item"},m.a.createElement("button",{className:"pager__button ".concat(e===a.totalPages?"pager__button_disabled":""),type:"button",disabled:e===a.totalPages,onClick:function(){return n(e+1)},title:"Next page"},m.a.createElement(se,{icon:"angle-right"}))))}}]),e}(m.a.Component);ue.propTypes=le;var fe=n(3),pe=n.n(fe),de={changeLimit:g.a.func.isRequired,pageSize:g.a.number,limitList:g.a.arrayOf(g.a.number),label:g.a.string},me=function(t){function e(t){var n;return r()(this,e),(n=c()(this,u()(e).call(this,t))).changeLimit=n.changeLimit.bind(pe()(n)),n}return p()(e,t),i()(e,[{key:"changeLimit",value:function(t){t.preventDefault();var e=parseInt(t.target.value,10);this.props.changeLimit(e)}},{key:"render",value:function(){var t=this.props.label?this.props.label:"Rows per page: ",e=this.props,n=e.limitList,a=e.pageSize,r=n.map((function(t){return m.a.createElement("option",{key:"limit-".concat(t),value:t},t)}));return m.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},m.a.createElement("label",null,t),m.a.createElement("select",{onChange:this.changeLimit,value:a,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},r))}}]),e}(m.a.Component);me.propTypes=de,me.defaultProps={pageLimit:10,limitList:[10,25,50,100]};var he={changePage:g.a.func.isRequired,totalPages:g.a.number,id:g.a.string},ge=function(t){function e(t){var n;return r()(this,e),(n=c()(this,u()(e).call(this,t))).state={goToPage:""},n.changePage=n.changePage.bind(pe()(n)),n.changedInput=n.changedInput.bind(pe()(n)),n.validPage=n.validPage.bind(pe()(n)),n}return p()(e,t),i()(e,[{key:"changePage",value:function(t){t.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function(t){this.setState({goToPage:t.target.value})}},{key:"validPage",value:function(){var t=this.state.goToPage,e=this.props.totalPages;return!(""===t||parseInt(t,10)<1||parseInt(t,10)>e)}},{key:"render",value:function(){var t=this.props.totalPages,e=t>1?"1-".concat(t):"1";return m.a.createElement("form",{className:"usa-dt-pagination__go-to"},m.a.createElement("label",{htmlFor:"".concat(this.props.id,"-go-to")},"Go to page"),m.a.createElement("input",{type:"number",id:"".concat(this.props.id,"-go-to"),title:"Enter a number between 1 and ".concat(t),min:"1",max:t,placeholder:e,value:this.state.goToPage,onChange:this.changedInput,onSubmit:this.changePage}),m.a.createElement("button",{type:"submit",onClick:this.changePage,disabled:!this.validPage()},"Go"))}}]),e}(m.a.Component);ge.propTypes=he,ge.defaultProps={totalPages:1,id:"usa-dt-pagination-go-to"};var be={changePage:g.a.func.isRequired,totalItems:g.a.number.isRequired,currentPage:g.a.number,pageSize:g.a.number,resultsText:g.a.oneOfType([g.a.bool,g.a.element]),limitSelector:g.a.bool,changeLimit:g.a.func,goToPage:g.a.bool,id:g.a.string};n(16);var ve=function(t){function e(){return r()(this,e),c()(this,u()(e).apply(this,arguments))}return p()(e,t),i()(e,[{key:"getResultsText",value:function(){var t=this.props,e=t.resultsText,n=t.totalItems,a=t.currentPage,r=t.pageSize;if(m.a.isValidElement(e))return e;if(e){var o=function(t,e,n){var a=(t-1)*e+1,r=t*e;return t===Math.ceil(n/e)&&(r=n),{start:a,end:r}}(a,r,n),i=w(o.start,0),s=w(o.end,0),c=w(n,0);return m.a.createElement("div",{className:"usa-dt-pagination__totals"},"".concat(i,"-").concat(s," of ").concat(c," results"))}return null}},{key:"render",value:function(){var t=this.props,e=t.limitSelector,n=t.goToPage,a=t.changePage,r=t.changeLimit,o=t.currentPage,i=t.pageSize,s=t.totalItems,c=t.id,l=Math.ceil(s/i),u=this.getResultsText(),f=e?m.a.createElement(me,{changeLimit:r,pageSize:i}):null,p=n?m.a.createElement(ge,{changePage:a,totalPages:l,id:c}):null;return!e&&l<=1?null:m.a.createElement("div",{className:"usa-dt-pagination"},u,m.a.createElement("div",{className:"usa-dt-pagination__wrapper"},f,m.a.createElement(ue,{changePage:a,totalItems:s,currentPage:o,pageSize:i}),p))}}]),e}(m.a.Component);ve.propTypes=be,ve.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function(){},goToPage:!1};var ye=n(9),_e=n.n(ye),we=n(11),Oe=n.n(we);n(17);var ke={className:g.a.string,children:g.a.element,tooltipComponent:g.a.element,tooltipPosition:g.a.string,wide:g.a.bool,icon:g.a.string,width:g.a.number,controlledProps:g.a.shape({isControlled:g.a.bool,showTooltip:g.a.func,closeTooltip:g.a.func,isVisible:g.a.bool}),offsetAdjustments:g.a.shape({top:g.a.number,right:g.a.number,left:g.a.number}),styles:g.a.object,onMouseMoveTooltip:g.a.func,onMouseLeaveTooltip:g.a.func},xe=375,Ee={info:m.a.createElement(se,{className:"tooltip__icon",icon:"info-circle"})},Pe=function(t){function e(t){var n;return r()(this,e),n=c()(this,u()(e).call(this,t)),_e()(pe()(n),"onMouseMoveTooltip",(function(){var t=n.props.onMouseMoveTooltip;t&&t()})),_e()(pe()(n),"onMouseLeaveTooltip",(function(){var t=n.props.onMouseLeaveTooltip;t&&t()})),_e()(pe()(n),"positionPointerTop",(function(){if(n.tooltipReference){var t={top:"-0.79rem",left:"".concat((n.props.width||xe)/2+8,"px"),transform:"rotate(90deg)"},e={width:"".concat(n.props.width||xe,"px")};n.setState({arrowStyles:t,spacerStyles:e})}})),_e()(pe()(n),"arrowClassName",(function(){return"left"===n.props.tooltipPosition?"right":""})),n.state={showTooltip:!1,offsetTop:0,arrowStyles:{},spacerStyles:{}},n.showTooltip=n.showTooltip.bind(pe()(n)),n.closeTooltip=n.closeTooltip.bind(pe()(n)),n.measureOffset=Object(y.throttle)(n.measureOffset.bind(pe()(n)),16),n}return p()(e,t),i()(e,[{key:"componentDidMount",value:function(){this.measureOffset(),"bottom"===this.props.tooltipPosition&&this.positionPointerTop(),window.addEventListener("scroll",Object(y.throttle)(this.measureOffset,500)),window.addEventListener("resize",Object(y.throttle)(this.measureOffset,100))}},{key:"componentDidUpdate",value:function(t){t.wide===this.props.wide&&t.tooltipPosition===this.props.tooltipPosition||this.measureOffset(),"bottom"===this.props.tooltipPosition&&"bottom"!==t.tooltipPosition&&this.positionPointerTop()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.measureOffset),window.removeEventListener("resize",this.measureOffset)}},{key:"showTooltip",value:function(){this.props.controlledProps.isControlled?this.props.controlledProps.showTooltip():this.setState({showTooltip:!0})}},{key:"closeTooltip",value:function(){this.props.controlledProps.isControlled?this.props.controlledProps.closeTooltip():this.setState({showTooltip:!1})}},{key:"measureOffset",value:function(){var t,e,n=xe,a={};if(this.tooltipContainer){var r=this.tooltipContainer,o=r.clientWidth,i=r.offsetTop+this.props.offsetAdjustments.top,s=window.innerWidth-r.offsetLeft-o,c=r.offsetLeft;if(this.props.wide&&"left"===this.props.tooltipPosition?n=c>800?700:c-100:this.props.wide&&(n=s>800?700:s-100),"left"===this.props.tooltipPosition)a={top:i,left:c-n-20,width:n};else a={top:i,left:c+o+20,width:n};(null===(t=this.props)||void 0===t?void 0:null===(e=t.styles)||void 0===e?void 0:e.transform)&&(delete a.top,delete a.left),this.setState({spacerStyle:a})}}},{key:"render",value:function(){var t=this,e=null;return(this.props.controlledProps.isControlled?this.props.controlledProps.isVisible:this.state.showTooltip)&&(e=m.a.createElement("div",{className:"tooltip-spacer",style:this.state.spacerStyle},m.a.createElement("div",{className:"tooltip",id:"tooltip",role:"tooltip",onMouseMove:this.onMouseMoveTooltip,onMouseLeave:this.onMouseLeaveTooltip,ref:function(e){t.tooltipReference=e}},m.a.createElement("div",{className:"tooltip__interior"},m.a.createElement("div",{className:"tooltip-pointer ".concat(this.arrowClassName()),style:this.state.arrowStyles}),m.a.createElement("div",{className:"tooltip__content"},m.a.createElement("div",{className:"tooltip__message"},this.props.tooltipComponent)))))),m.a.createElement("div",{className:Oe()(_e()({"tooltip-wrapper":!0},this.props.className,null!==this.props.className)),style:this.props.styles},m.a.createElement("div",{ref:function(e){t.tooltipContainer=e}},m.a.createElement("div",{role:"button",tabIndex:"0",className:"tooltip__hover-wrapper",onBlur:this.closeTooltip,onFocus:this.showTooltip,onKeyPress:this.showTooltip,onMouseEnter:this.showTooltip,onMouseLeave:this.closeTooltip,onClick:this.showTooltip},this.props.children,this.props.icon&&Ee[this.props.icon]),e))}}]),e}(m.a.Component);Pe.propTypes=ke,Pe.defaultProps={className:null,children:null,toolTipComponent:null,tooltipPosition:"right",wide:!1,icon:"",controlledProps:{isControlled:!1,showTooltip:function(){},closeTooltip:function(){},isVisible:!1},offsetAdjustments:{top:-15,right:30,left:0},styles:{}};n(18);var Ne={title:g.a.string,children:g.a.node,className:g.a.string,textAlign:g.a.shape({title:g.a.oneOf(["center","left"]),text:g.a.oneOf(["center","left"])})},Se={title:"Tooltip Info",children:m.a.createElement("p",null,"Here is some info."),className:null,textAlign:{title:"left",text:"left"}},je=function(t){var e=t.children,n=t.title,a=t.className,r=t.textAlign;return m.a.createElement("div",{className:Oe()(_e()({},a,null!==a))},m.a.createElement("h1",{className:Oe()("tooltip__title",r.title)},n),m.a.createElement("div",{className:Oe()("tooltip__text",r.text)},e))};je.propTypes=Ne,je.defaultProps=Se;var Te=je,Ce=n(10),Me=n.n(Ce),Ae={disabled:g.a.bool,active:g.a.bool,showPeriods:g.a.bool,quarter:g.a.string,handleSelection:g.a.func,handleHover:g.a.func,handleBlur:g.a.func,toggleTooltip:g.a.func,title:g.a.string},ze=function(t){var e=t.disabled,n=t.active,a=t.quarter,r=t.handleSelection,o=t.toggleTooltip,i=t.title,s=void 0===i?"":i,c=t.handleHover,l=t.handleBlur,u=t.showPeriods,f=void 0!==u&&u,p=s||"Q ".concat(a),d=function(){e?o(a):c(a,f?"period":"quarter")},h=function(){o(0),l(f?"period":"quarter")},g=function(t){t.preventDefault(),e||r(a)},b=e?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===a?b+="usa-dt-quarter-picker__quarter_first":"4"===a?b+="usa-dt-quarter-picker__quarter_last":s.includes("-")&&(b+="usa-dt-quarter-picker__quarter_double"),!e&&n&&(b+=" usa-dt-quarter-picker__quarter_active"),m.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(b),onMouseDown:g,onClick:g,onMouseOver:d,onMouseEnter:d,onFocus:d,onMouseLeave:h,onBlur:h,"aria-disabled":e},p)};ze.propTypes=Ae;var Ie=ze,qe=(n(22),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=Object(d.useState)(t),n=Me()(e,2),a=n[0],r=n[1],o=function(t){var e=parseInt(t,10),n=a.map((function(t){return parseInt(t,10)})).filter((function(t){return t<=e})).map((function(t){return"".concat(t)}));r(n.concat([t]))};return[a,o]}),Le=[[{title:"1 - 2",id:"2",className:"double-period"},{title:"3",id:"3"}],[{title:"4",id:"4"},{title:"5",id:"5"},{title:"6",id:"6"}],[{title:"7",id:"7"},{title:"8",id:"8"},{title:"9",id:"9"}],[{title:"10",id:"10"},{title:"11",id:"11"},{title:"12",id:"12"}]],Re=function(t,e){return e.some((function(e){return parseInt(e,10)>=parseInt(t,10)}))},We={handleSelection:g.a.func,selectedQuarters:g.a.arrayOf(g.a.string),disabledQuarters:g.a.arrayOf(g.a.string),selectedPeriods:g.a.arrayOf(g.a.string),disabledPeriods:g.a.arrayOf(g.a.string),periodsPerQuarter:g.a.arrayOf(g.a.arrayOf(g.a.shape({title:g.a.string,id:g.a.string}))),showPeriods:g.a.bool,isCumulative:g.a.bool},De=function(t){var e=t.handleSelection,n=t.disabledQuarters,a=void 0===n?[]:n,r=t.disabledPeriods,o=void 0===r?[]:r,i=t.periodsPerQuarter,s=void 0===i?Le:i,c=t.selectedQuarters,l=void 0===c?[]:c,u=t.selectedPeriods,f=void 0===u?[]:u,p=t.showPeriods,h=void 0!==p&&p,g=t.isCumulative,b=void 0!==g&&g,v=Object(d.useState)(""),_=Me()(v,2),w=_[0],O=_[1],k=Object(d.useState)(""),x=Me()(k,2),E=x[0],P=x[1],N=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"quarter";"quarter"===e?P(t):O(t)},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"quarter";"quarter"===t?P(""):O("")};return m.a.createElement("div",{className:"usa-dt-quarter-picker"},m.a.createElement("ul",{className:"usa-dt-quarter-picker__list"},new Array(4).fill(0).map((function(t,n){var r=n+1,i="".concat(r);if(h){var c=s[n],u=c.every((function(t){return o.includes(t.id)}));return m.a.createElement("li",{className:"usa-dt-quarter-picker__list-item usa-dt-quarter-picker__period-list-container",key:Object(y.uniqueId)()},m.a.createElement("p",{className:u?"disabled":""},"Q".concat(r)),m.a.createElement("ul",{className:"usa-dt-quarter-picker__period-list"},c.map((function(t){return m.a.createElement("li",{className:Object.keys(t).includes("className")?"".concat(t.className," usa-dt-quarter-picker__list-item"):"usa-dt-quarter-picker__list-item",key:Object(y.uniqueId)()},m.a.createElement(Ie,{showPeriods:h,quarter:t.id,title:t.title,disabled:o.includes(t.id),active:Re(t.id,f)||parseInt(w,10)>=parseInt(t.id,10),handleHover:N,handleBlur:S,handleSelection:e,toggleTooltip:function(){}}))}))))}return m.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(y.uniqueId)()},m.a.createElement(Ie,{quarter:i,disabled:a.includes(i),active:b?Re(i,l)||parseInt(E,10)>=r:l.includes(i)||E===i,handleSelection:e,handleHover:N,handleBlur:S,toggleTooltip:function(){}}))}))))};De.propTypes=We;var Fe=De;function Be(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function Ye(t){for(var e=1;ee.name?1:0},Qe=function(t){var e=t.className,n=void 0===e?"":e,a=t.id,r=void 0===a?"":a,o=t.options,i=t.selectedOption,s=t.icon,c=void 0===s?null:s,l=t.sortFn,u=void 0===l?Xe:l,f=t.isFixedWidth,p=void 0!==f&&f,h=t.children,g=t.dropdownDirection,b=void 0===g?"right":g,v=Object(d.useRef)(null),y=Object(d.useRef)(null),_=Object(d.useState)(!1),w=Me()(_,2),O=w[0],k=w[1],x=Object(d.useState)({top:0,width:0,left:0,right:0}),E=Me()(x,2),P=E[0],N=E[1],S=function(t){t.preventDefault(),k(!O)},j=function(){y.current&&v.current&&N({top:y.current.offsetHeight,width:y.current.offsetWidth,left:y.current.offsetLeft,right:v.current.offsetWidth-(y.current.offsetWidth+y.current.offsetLeft)})};Object(d.useEffect)((function(){0!==P.width&&p&&y.current&&y.current.offsetWidth!==P.width&&j()})),Object(d.useEffect)((function(){var t=function(t){O&&v.current&&!v.current.contains(t.target)&&t.target.id!=="".concat(r,"-").concat(He)&&t.target.parentNode.id!=="".concat(r,"-").concat(He)&&k(!1)};return j(),document.addEventListener("click",t),function(){document.removeEventListener("click",t)}}),[O]);return m.a.createElement("div",{id:r,className:"usa-dt-picker ".concat(n),ref:v},c&&m.a.createElement("div",{className:"usa-dt-picker__icon"},c),m.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},h?m.a.createElement("button",{ref:y,className:"usa-dt-picker__button",onClick:S},h):m.a.createElement("button",{ref:y,className:"usa-dt-picker__button",onClick:S},m.a.createElement("span",{className:"usa-dt-picker__button-text"},i),m.a.createElement("span",{className:"usa-dt-picker__button-icon"},!O&&m.a.createElement(se,{id:"".concat(r,"-").concat(He),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),O&&m.a.createElement(se,{id:"".concat(r,"-").concat(He),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),m.a.createElement("ul",{className:"usa-dt-picker__list ".concat(O?"":"hide"),style:function(){var t={top:"".concat(P.top,"px"),left:"".concat(P.left,"px")};return p&&"right"===b?Ye({},t,{width:"".concat(P.width,"px")}):p&&"left"===b?{top:t.top,right:"".concat(P.right),width:"".concat(P.width,"px")}:"left"===b?{top:t.top,right:"".concat(P.right,"px")}:t}()},o.sort((function(t,e){return u(t,e,i)})).map((function(t){return Ye({},t,{onClick:(e=t.onClick,function(t){t.preventDefault(),e(t.target.value),k(!1)})});var e})).map((function(t){return m.a.createElement("li",{key:t.name,className:"usa-dt-picker__list-item"},m.a.createElement("button",{className:"usa-dt-picker__item ".concat(t.name===i?"active":""),value:"".concat(t.value||t.name),onClick:t.onClick},t.component?t.component:t.name))})))))};Qe.propTypes=Ue;var Ve=Qe,Ge=n(13),Ke=n.n(Ge),Je={isActive:g.a.bool,title:g.a.string.isRequired,displayName:g.a.oneOfType([g.a.string,g.a.element]).isRequired,currentSort:Object(h.shape)({direction:Object(h.oneOf)(["asc","desc"]),field:g.a.string}),updateSort:g.a.func,right:g.a.bool},Ze=function(t){var e,n,a=function(e){t.updateSort(t.title,e.target.value)},r=t.isActive&&"asc"===(null===(e=t.currentSort)||void 0===e?void 0:e.direction)?" table-header__icon_active":"",o=t.isActive&&"desc"===(null===(n=t.currentSort)||void 0===n?void 0:n.direction)?" table-header__icon_active":"",i=m.a.createElement("div",{className:"table-header__sort"},m.a.createElement("button",{onClick:a,className:"table-header__icon".concat(r),value:"asc",title:"Sort table by ascending ".concat(t.displayName),"aria-label":"Sort table by ascending ".concat(t.displayName)},m.a.createElement(se,{size:"2x",icon:"caret-up"})),m.a.createElement("button",{onClick:a,className:"table-header__icon".concat(o),value:"desc",title:"Sort table by descending ".concat(t.displayName),"aria-label":"Sort table by descending ".concat(t.displayName)},m.a.createElement(se,{size:"2x",icon:"caret-down"})));return m.a.createElement("th",{className:"table-header"},m.a.createElement("div",{className:"table-header__content".concat(t.right?" table-header__content_right":"")},m.a.createElement("div",{className:"table-header__label"},t.displayName),t.updateSort&&i))};Ze.propTypes=Je;var $e=Ze,tn={data:g.a.object,columns:g.a.array,oddClass:g.a.string,divider:g.a.string},en=function(t){var e=t.data,n=t.columns,a=t.oddClass,r=t.divider,o=Object(d.useState)(!1),i=Me()(o,2),s=i[0],c=i[1],l=s?"chevron-down":"chevron-right",u=n.map((function(t){return t.title})),f=function(){c(!s)},p=m.a.createElement("tr",{className:"usda-table__child-row usda-table__child-row_divider".concat(a)},m.a.createElement("td",{colSpan:n.length,className:"usda-table__cell usda-table__cell_child"},m.a.createElement("div",{className:"usda-table__child-cell-content"},r)));return m.a.createElement(m.a.Fragment,null,m.a.createElement("tr",{className:"usda-table__row".concat(a," usda-table__row_expandable")},u.map((function(t,a){return"name"===t&&e.children?m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell"},m.a.createElement("button",{className:"usda-table__expand-button",onClick:f},m.a.createElement(se,{icon:l,size:"2x"})),m.a.createElement("p",null,e.name)):m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell".concat("name"===t?" usda-table__cell_name":"").concat(n[a].right?" usda-table__cell_right":"")},e[t])}))),e.children&&s?m.a.createElement(m.a.Fragment,null,r&&p,e.children.map((function(t,r){var o=r===e.children.length-1?" usda-table__child-row_last":"";return m.a.createElement("tr",{key:Object(y.uniqueId)(),className:"usda-table__child-row".concat(o).concat(a)},u.map((function(e,a){return m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell ".concat(n[a].right?" usda-table__cell_right":""," usda-table__cell_child")},m.a.createElement("div",{className:"usda-table__child-cell-content"},t[e]))})))}))):null)};en.propTypes=tn;var nn=en;n(24);var an={columns:g.a.arrayOf(g.a.object).isRequired,rows:g.a.arrayOf(Object(h.oneOfType)([g.a.array,g.a.object])).isRequired,currentSort:Object(h.shape)({direction:Object(h.oneOf)(["asc","desc"]),field:g.a.string}),updateSort:g.a.func,expandable:g.a.bool,divider:g.a.string},rn=function(t){return m.a.createElement("table",{className:"usda-table"},m.a.createElement("thead",{className:"usda-table__head"},m.a.createElement("tr",{className:"usda-table__row"},t.columns.map((function(e){var n;return m.a.createElement($e,Ke()({key:Object(y.uniqueId)(),currentSort:t.currentSort,updateSort:t.updateSort,isActive:(null===(n=t.currentSort)||void 0===n?void 0:n.field)===e.title},e))})))),m.a.createElement("tbody",{className:"usda-table__body"},t.rows.map((function(e,n){var a=n%2==0?"":" usda-table__row_odd";return t.expandable?m.a.createElement(nn,{key:Object(y.uniqueId)(),data:e,oddClass:a,columns:t.columns,divider:t.divider}):m.a.createElement("tr",{key:Object(y.uniqueId)(),className:"usda-table__row".concat(a)},e.map((function(e,n){var a;return t.columns[n]&&m.a.createElement("td",{key:Object(y.uniqueId)(),className:"usda-table__cell".concat((null===(a=t.columns[n])||void 0===a?void 0:a.right)?" usda-table__cell_right":"")},e)})))}))))};rn.propTypes=an;var on=rn;n(25);n.d(e,"Pagination",(function(){return ve})),n.d(e,"TooltipWrapper",(function(){return Pe})),n.d(e,"QuarterPicker",(function(){return Fe})),n.d(e,"useCumulativeQuarterPicker",(function(){return qe})),n.d(e,"TooltipComponent",(function(){return Te})),n.d(e,"Picker",(function(){return Ve})),n.d(e,"Table",(function(){return on}))}])})); \ No newline at end of file diff --git a/docs/iframe.html b/docs/iframe.html index 1540bd32..947f084f 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -70,4 +70,4 @@ }

No Preview

Sorry, but you either have no stories or none are selected somehow.

  • Please check the Storybook config.
  • Try reloading the page.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

\ No newline at end of file + }

No Preview

Sorry, but you either have no stories or none are selected somehow.

  • Please check the Storybook config.
  • Try reloading the page.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

\ No newline at end of file diff --git a/docs/main.aba3732430a22714413b.bundle.js b/docs/main.0d34792f748d2b6cd4f9.bundle.js similarity index 53% rename from docs/main.aba3732430a22714413b.bundle.js rename to docs/main.0d34792f748d2b6cd4f9.bundle.js index cbca6be1..718d54ea 100644 --- a/docs/main.aba3732430a22714413b.bundle.js +++ b/docs/main.0d34792f748d2b6cd4f9.bundle.js @@ -1,2 +1,2 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1255:function(module,__webpack_exports__,__webpack_require__){"use strict";var _storybook_theming__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(448);Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_0__.create)({base:"light",colorPrimary:"hotpink",colorSecondary:"deepskyblue",appBg:"white",appContentBg:"silver",appBorderColor:"grey",appBorderRadius:4,fontBase:'"Open Sans", sans-serif',fontCode:"monospace",textColor:"black",textInverseColor:"rgba(255,255,255,0.9)",barTextColor:"silver",barSelectedColor:"black",barBg:"hotpink",inputBg:"white",inputBorder:"silver",inputTextColor:"black",inputBorderRadius:4,brandTitle:"My custom storybook",brandUrl:"https://example.com",brandImage:"https://placehold.it/350x150"})},1263:function(module,exports,__webpack_require__){},1264:function(module,exports,__webpack_require__){var map={"./introduction.stories.mdx":1265,"./pagination.stories.mdx":1292,"./picker.stories.mdx":1297,"./quarterPicker.stories.mdx":1288,"./table.stories.mdx":1295,"./tooltip.stories.mdx":1298};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1264},1265:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(56),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__),_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__(0),__webpack_require__(1)),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(_ref,["components"]);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(MDXLayout,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__.Meta,{title:"Introduction",parameters:{options:{showAddonPanel:!1}},mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h1",null,"Data Transparency User Interface (UI) Component Library"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"The purpose of this project is to give visibility into the patterns built into the\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://broker.usaspending.gov/"}),"Broker")," and ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://usaspending.gov/"}),"USASpending")," UI and their corresponding techincal implementations.\nThese implementations, referred to as UI Components, exist outside of the USASpending\nand Broker codebase."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"With this visibility & independence, the following benefits arise:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"UI/UX & Development Teams can identify a one-to-one relationship between designs and their implementations in code."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"USASpending & Broker can reuse the same code."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Integration with these components within USASpending and Broker will result in the ability to redesign or improve these components\nin a single place and then see those changes propagated throughout the website immediately.")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h2",null,"UI/UX & Development Collaboration Process"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"The below info-graphic displays how the UI/UX and Development Teams will iteratively work together to identify new components for this library."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("img",{src:"./img/ui_ux_approval.png",alt:"Data Transparency USASpending.gov logo"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h2",null,"Component Library Contribution"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"We use ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://github.com/storybookjs/storybook"}),"storybook")," to demonstrate our library of components and their technical implementations.\nThis open-source project has nearly 1K contributors and is constantly improving."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h3",null,"Creating a New Story for a Component"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"We use ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://mdxjs.com/advanced/api"}),"mdx")," to document our components."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"Currently, we are using the following Storybook features to display our current implementation:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/knobs"}),"Knobs")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/a11y"}),"Accessibility")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/viewport"}),"Mobile Responsiveness")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/actions"}),"Actions")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/docs"}),"Docs"))),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h3",null,"Technical Directions for Adding New Components"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"When adding a new component to this library, please follow the below guide:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Build storybook artifacts and Component's CSS by running ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"npm run build"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",{parentName:"li"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Storybook build artifacts are compiled in ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"docs/")," and deployed using GitHub Pages once merged to the master branch"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Component CSS is compiled to ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"dist/")))),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Export the new component in ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"index.js")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Consult the storybook documentation")))}MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.story={parameters:{docsOnly:!0}};var componentMeta={title:"Introduction",parameters:{options:{showAddonPanel:!1}},includeStories:["__page"]},mdxStoryNameToId={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;i\n \n "};var cumulativePicker=function cumulativePicker(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.d,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledQuarters:[],isCumulative:!0}))};cumulativePicker.story={},cumulativePicker.story.name="Cumulative Picker",cumulativePicker.story.parameters={mdxSource:"\n \n "};var wPeriods=function wPeriods(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("div",{className:"story__container quarter-picker-story"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.e,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledPeriods:["10","11","12"],showPeriods:!0})))};wPeriods.story={},wPeriods.story.name="w/ Periods",wPeriods.story.parameters={mdxSource:"
\n \n \n \n
"};var componentMeta={title:"Quarter Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_6__.withKnobs,_storybook_addon_a11y__WEBPACK_IMPORTED_MODULE_7__.withA11y],includeStories:["defaultStory","cumulativePicker","wPeriods"]},mdxStoryNameToId={Default:"quarter-picker--default-story","Cumulative Picker":"quarter-picker--cumulative-picker","w/ Periods":"quarter-picker--w-periods"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;itotalPages?(startPage=1,endPage=totalPages,prevEllipses="",nextEllipses="",firstButton="",lastButton=""):(startPage=currentPage-1,endPage=currentPage+1,4>currentPage?(prevEllipses="",firstButton="",1===currentPage?(startPage=currentPage,endPage=currentPage+2):3===currentPage&&(startPage=1,endPage=4)):currentPage>totalPages-3&&(nextEllipses="",lastButton="",currentPage===totalPages?(startPage=currentPage-2,endPage=currentPage):currentPage===totalPages-2&&(startPage=currentPage-1,endPage=totalPages)));var startIndex=(currentPage-1)*pageSize,endIndex=Math.min(startIndex+(pageSize-1),totalItems-1),pages=Object(lodash.range)(startPage,endPage+1);return{totalPages:totalPages,startPage:startPage,endPage:endPage,startIndex:startIndex,endIndex:endIndex,pages:pages,prevEllipses:prevEllipses,nextEllipses:nextEllipses,firstButton:firstButton,lastButton:lastButton}}},{key:"generatePageButtons",value:function generatePageButtons(pages){var _this=this,currentPage=this.props.currentPage;return pages.map((function(page,index){return react_default.a.createElement("li",{key:index,className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===page?"pager__button_active":""),type:"button",onClick:function onClick(){return _this.props.changePage(page)}},formatNumberWithPrecision(page,0)))}))}},{key:"render",value:function render(){var _this$props2=this.props,currentPage=_this$props2.currentPage,changePage=_this$props2.changePage,pager=this.getPager(),pageButtons=this.generatePageButtons(pager.pages,pager.totalPages);return react_default.a.createElement("ul",{className:"pager"},react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(1===currentPage?"pager__button_disabled":""),type:"button",disabled:1===currentPage,onClick:function onClick(){return changePage(currentPage-1)},title:"Previous page"},_ref3)),pager.firstButton,pager.prevEllipses,pageButtons,pager.nextEllipses,pager.lastButton,react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===pager.totalPages?"pager__button_disabled":""),type:"button",disabled:currentPage===pager.totalPages,onClick:function onClick(){return changePage(currentPage+1)},title:"Next page"},_ref4)))}}]),Pager}(react_default.a.Component);Pager_Pager.displayName="Pager",Pager_Pager.propTypes=propTypes,Pager_Pager.__docgenInfo={description:"",methods:[{name:"getPager",docblock:null,modifiers:[],params:[],returns:null},{name:"generatePageButtons",docblock:null,modifiers:[],params:[{name:"pages",type:null}],returns:null}],displayName:"Pager",props:{changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},currentPage:{type:{name:"number"},required:!0,description:""},pageSize:{type:{name:"number"},required:!0,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pager.jsx"]={name:"Pager",docgenInfo:Pager_Pager.__docgenInfo,path:"components/pagination/Pager.jsx"});__webpack_require__(138),__webpack_require__(189);var assertThisInitialized=__webpack_require__(15),assertThisInitialized_default=__webpack_require__.n(assertThisInitialized),LimitSelector_propTypes={changeLimit:prop_types_default.a.func.isRequired,pageSize:prop_types_default.a.number,limitList:prop_types_default.a.arrayOf(prop_types_default.a.number),label:prop_types_default.a.string},LimitSelector_LimitSelector=function(_React$Component){function LimitSelector(props){var _this;return classCallCheck_default()(this,LimitSelector),(_this=possibleConstructorReturn_default()(this,getPrototypeOf_default()(LimitSelector).call(this,props))).changeLimit=_this.changeLimit.bind(assertThisInitialized_default()(_this)),_this}return inherits_default()(LimitSelector,_React$Component),createClass_default()(LimitSelector,[{key:"changeLimit",value:function changeLimit(e){e.preventDefault();var targetId=parseInt(e.target.value,10);this.props.changeLimit(targetId)}},{key:"render",value:function render(){var label=this.props.label?this.props.label:"Rows per page: ",_this$props=this.props,limitList=_this$props.limitList,pageSize=_this$props.pageSize,list=limitList.map((function(limit){return react_default.a.createElement("option",{key:"limit-".concat(limit),value:limit},limit)}));return react_default.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},react_default.a.createElement("label",null,label),react_default.a.createElement("select",{onChange:this.changeLimit,value:pageSize,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},list))}}]),LimitSelector}(react_default.a.Component);LimitSelector_LimitSelector.displayName="LimitSelector",LimitSelector_LimitSelector.propTypes=LimitSelector_propTypes,LimitSelector_LimitSelector.defaultProps={pageLimit:10,limitList:[10,25,50,100]},LimitSelector_LimitSelector.__docgenInfo={description:"",methods:[{name:"changeLimit",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null}],displayName:"LimitSelector",props:{pageLimit:{defaultValue:{value:"10",computed:!1},required:!1},limitList:{defaultValue:{value:"[10, 25, 50, 100]",computed:!1},type:{name:"arrayOf",value:{name:"number"}},required:!1,description:""},changeLimit:{type:{name:"func"},required:!0,description:""},pageSize:{type:{name:"number"},required:!1,description:""},label:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/LimitSelector.jsx"]={name:"LimitSelector",docgenInfo:LimitSelector_LimitSelector.__docgenInfo,path:"components/pagination/LimitSelector.jsx"});var GoToPage_propTypes={changePage:prop_types_default.a.func.isRequired,totalPages:prop_types_default.a.number,id:prop_types_default.a.string},GoToPage_GoToPage=function(_React$Component){function GoToPage(props){var _this;return classCallCheck_default()(this,GoToPage),(_this=possibleConstructorReturn_default()(this,getPrototypeOf_default()(GoToPage).call(this,props))).state={goToPage:""},_this.changePage=_this.changePage.bind(assertThisInitialized_default()(_this)),_this.changedInput=_this.changedInput.bind(assertThisInitialized_default()(_this)),_this.validPage=_this.validPage.bind(assertThisInitialized_default()(_this)),_this}return inherits_default()(GoToPage,_React$Component),createClass_default()(GoToPage,[{key:"changePage",value:function changePage(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function changedInput(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function validPage(){var goToPage=this.state.goToPage,totalPages=this.props.totalPages;return!(""===goToPage||1>parseInt(goToPage,10)||parseInt(goToPage,10)>totalPages)}},{key:"render",value:function render(){var totalPages=this.props.totalPages,placeholder=1=totalPages?null:react_default.a.createElement("div",{className:"usa-dt-pagination"},description,react_default.a.createElement("div",{className:"usa-dt-pagination__wrapper"},limitSelect,react_default.a.createElement(Pager_Pager,{changePage:changePage,totalItems:totalItems,currentPage:currentPage,pageSize:pageSize}),goTo))}}]),Pagination}(react_default.a.Component);Pagination_Pagination.displayName="Pagination",Pagination_Pagination.propTypes=Pagination_propTypes,Pagination_Pagination.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function changeLimit(){},goToPage:!1},Pagination_Pagination.__docgenInfo={description:"",methods:[{name:"getResultsText",docblock:null,modifiers:[],params:[],returns:null}],displayName:"Pagination",props:{currentPage:{defaultValue:{value:"1",computed:!1},type:{name:"number"},required:!1,description:""},pageSize:{defaultValue:{value:"10",computed:!1},type:{name:"number"},required:!1,description:""},resultsText:{defaultValue:{value:"false",computed:!1},type:{name:"union",value:[{name:"bool"},{name:"element"}]},required:!1,description:""},customResultsText:{defaultValue:{value:"null",computed:!1},required:!1},limitSelector:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changeLimit:{defaultValue:{value:"() => {}",computed:!1},type:{name:"func"},required:!1,description:""},goToPage:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},id:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pagination.jsx"]={name:"Pagination",docgenInfo:Pagination_Pagination.__docgenInfo,path:"components/pagination/Pagination.jsx"});var misc=__webpack_require__(16);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}__webpack_require__.d(__webpack_exports__,"limitSelectorAndGoToPage",(function(){return pagination_stories_limitSelectorAndGoToPage})),__webpack_require__.d(__webpack_exports__,"goToPage",(function(){return pagination_stories_goToPage})),__webpack_require__.d(__webpack_exports__,"limitSelector",(function(){return pagination_stories_limitSelector})),__webpack_require__.d(__webpack_exports__,"customResultsText",(function(){return pagination_stories_customResultsText})),__webpack_require__.d(__webpack_exports__,"defaultResultsText",(function(){return pagination_stories_defaultResultsText})),__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return pagination_stories_defaultStory}));var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=objectWithoutProperties_default()(_ref,["components"]);return Object(index_es.mdx)(MDXLayout,extends_default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(index_es.mdx)(blocks.Meta,{title:"Pagination",component:Pagination_Pagination,decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],parameters:{a11y:{element:".story__container",config:{},options:{}}},mdxType:"Meta"}),Object(index_es.mdx)("h2",null,"This is Designed to be a ",Object(index_es.mdx)("a",extends_default()({parentName:"h2"},{href:"https://reactjs.org/docs/forms.html#controlled-components"}),"Controlled Component")),Object(index_es.mdx)("p",null,"This means the component relies on its parent to pass the following props:"),Object(index_es.mdx)("ul",null,Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"currentPage")," & ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"changePage")," (",Object(index_es.mdx)("em",{parentName:"li"},"required"),")"),Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"changeLimit")," & ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"pageSize"))),Object(index_es.mdx)("p",null,"In this example, our parent -- ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"PaginationWrapper")," -- looks like this before the render:"),Object(index_es.mdx)("pre",null,Object(index_es.mdx)("code",extends_default()({parentName:"pre"},{className:"language-javascript"}),'const [page, changePage] = useState(1);\nconst [pageSize, changeLimit] = useState(10);\n\nconst handlePageChange = (pg) => {\nconsole.log("changePage handler invoked w/ this parameter: ", pg);\nchangePage(pg);\n};\n\nconst handleChangeLimit = (pageSize) => {\nconsole.log("changeLimit handler invoked w/ this parameter: ", pageSize);\nchangeLimit(pageSize);\n}\n')),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:'Limit selector and "Go to page"',mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:'"Go to Page"',mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Limit Selector",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Custom Results Text",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(index_es.mdx)("div",{className:"usa-dt-pagination__totals"},Object(index_es.mdx)("strong",null,"Custom")," results text"),totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Default Results Text",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Default",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Props,{of:Pagination_Pagination,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Recipient Profile"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Federal Account Landing Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Summary Page (IDV); IDV Activity Section"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Spending Explorer"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(index_es.mdx)("h2",null,"Broker Integration Status"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Submission tables"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","DABS Dashboard")))}MDXContent.isMDXComponent=!0;var pagination_stories_limitSelectorAndGoToPage=function limitSelectorAndGoToPage(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelectorAndGoToPage.story={},pagination_stories_limitSelectorAndGoToPage.story.name='Limit selector and "Go to page"',pagination_stories_limitSelectorAndGoToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_goToPage=function goToPage(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100}))};pagination_stories_goToPage.story={},pagination_stories_goToPage.story.name='"Go to Page"',pagination_stories_goToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_limitSelector=function limitSelector(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelector.story={},pagination_stories_limitSelector.story.name="Limit Selector",pagination_stories_limitSelector.story.parameters={mdxSource:"\n \n "};var pagination_stories_customResultsText=function customResultsText(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(index_es.mdx)("div",{className:"usa-dt-pagination__totals"},Object(index_es.mdx)("strong",null,"Custom")," results text"),totalItems:100}))};pagination_stories_customResultsText.story={},pagination_stories_customResultsText.story.name="Custom Results Text",pagination_stories_customResultsText.story.parameters={mdxSource:'\n \n Custom results text\n } totalItems={100} />\n '};var pagination_stories_defaultResultsText=function defaultResultsText(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_defaultResultsText.story={},pagination_stories_defaultResultsText.story.name="Default Results Text",pagination_stories_defaultResultsText.story.parameters={mdxSource:"\n \n "};var pagination_stories_defaultStory=function defaultStory(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100}))};pagination_stories_defaultStory.story={},pagination_stories_defaultStory.story.name="Default",pagination_stories_defaultStory.story.parameters={mdxSource:"\n {\n /* /* handler Funcs Passed from PaginationWrapper */\n }\n \n "};var componentMeta={title:"Pagination",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["limitSelectorAndGoToPage","goToPage","limitSelector","customResultsText","defaultResultsText","defaultStory"]},mdxStoryNameToId={'Limit selector and "Go to page"':"pagination--limit-selector-and-go-to-page",'"Go to Page"':"pagination--go-to-page","Limit Selector":"pagination--limit-selector","Custom Results Text":"pagination--custom-results-text","Default Results Text":"pagination--default-results-text",Default:"pagination--default-story"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;i {\nconsole.log(`update sort invoked with ${field}, ${direction}`);\nupdateField(field);\nupdateDirection(direction)\n};\nconst currentSort = {\nfield,\ndirection\n};\n")),Object(index_es.mdx)("h3",null,"Other props:"),Object(index_es.mdx)("ul",null,Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"expandable"),": a boolean indicating whether this table will have nested rows that can be expanded and collapsed"),Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"columns"),": an array of objects each with a ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"title")," and a ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"displayName")),Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"rows"),": ",Object(index_es.mdx)("em",{parentName:"li"},"either")," an array of row arrays, each containing data elements ",Object(index_es.mdx)("em",{parentName:"li"},"or")," an array of row objects with top level properties matching the column ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"title"),"s and an array of ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"children"))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Table",mdxType:"Story"},Object(index_es.mdx)(misc.g,{mdxType:"TableWrapper"},Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Table without Sorting",mdxType:"Story"},Object(index_es.mdx)(misc.a,{mdxType:"BasicTableWrapper"},Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Expandable Table without Divider",mdxType:"Story"},Object(index_es.mdx)(misc.g,{mdxType:"TableWrapper"},Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,mdxType:"Table"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Expandable Table with Divider",mdxType:"Story"},Object(index_es.mdx)(misc.g,{mdxType:"TableWrapper"},Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),Object(index_es.mdx)(blocks.Props,{of:table_Table,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")))}MDXContent.isMDXComponent=!0;var table_stories_table=function table(){return Object(index_es.mdx)(misc.g,null,Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_table.story={},table_stories_table.story.name="Table",table_stories_table.story.parameters={mdxSource:"\n Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_tableWithoutSorting=function tableWithoutSorting(){return Object(index_es.mdx)(misc.a,null,Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_tableWithoutSorting.story={},table_stories_tableWithoutSorting.story.name="Table without Sorting",table_stories_tableWithoutSorting.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_expandableTableWithoutDivider=function expandableTableWithoutDivider(){return Object(index_es.mdx)(misc.g,null,Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0}))};table_stories_expandableTableWithoutDivider.story={},table_stories_expandableTableWithoutDivider.story.name="Expandable Table without Divider",table_stories_expandableTableWithoutDivider.story.parameters={mdxSource:"\n
\n "};var table_stories_expandableTableWithDivider=function expandableTableWithDivider(){return Object(index_es.mdx)(misc.g,null,Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"}))};table_stories_expandableTableWithDivider.story={},table_stories_expandableTableWithDivider.story.name="Expandable Table with Divider",table_stories_expandableTableWithDivider.story.parameters={mdxSource:"\n
\n "};var componentMeta={title:"Table",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider"]},mdxStoryNameToId={Table:"table--table","Table without Sorting":"table--table-without-sorting","Expandable Table without Divider":"table--expandable-table-without-divider","Expandable Table with Divider":"table--expandable-table-with-divider"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;ib.name?1:0},Picker=function(_ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,options=_ref.options,selectedOption=_ref.selectedOption,_ref$icon=_ref.icon,icon=void 0===_ref$icon?null:_ref$icon,_ref$sortFn=_ref.sortFn,sortFn=void 0===_ref$sortFn?defaultSort:_ref$sortFn,_ref$isFixedWidth=_ref.isFixedWidth,isFixedWidth=void 0!==_ref$isFixedWidth&&_ref$isFixedWidth,children=_ref.children,_ref$dropdownDirectio=_ref.dropdownDirection,dropdownDirection=void 0===_ref$dropdownDirectio?"right":_ref$dropdownDirectio,_useState=Object(react.useState)(!1),_useState2=slicedToArray_default()(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],_useState3=Object(react.useState)({top:0,width:0,left:0,right:0}),_useState4=slicedToArray_default()(_useState3,2),dimensions=_useState4[0],setDimensions=_useState4[1],toggleMenu=function(e){e.preventDefault(),setExpanded(!expanded)},handleSetDimensions=function(){buttonRef.current&&pickerRef.current&&setDimensions({top:buttonRef.current.offsetHeight,width:buttonRef.current.offsetWidth,left:buttonRef.current.offsetLeft,right:pickerRef.current.offsetWidth-(buttonRef.current.offsetWidth+buttonRef.current.offsetLeft)})};Object(react.useEffect)((function(){0!==dimensions.width&&isFixedWidth&&buttonRef.current&&buttonRef.current.offsetWidth!==dimensions.width&&handleSetDimensions()})),Object(react.useEffect)((function(){var closeMenu=function(e){expanded&&pickerRef.current&&!pickerRef.current.contains(e.target)&&e.target.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&e.target.parentNode.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&setExpanded(!1)};return handleSetDimensions(),document.addEventListener("click",closeMenu),function(){document.removeEventListener("click",closeMenu)}}),[expanded]);return react_default.a.createElement("div",{id:id,className:"usa-dt-picker ".concat(className),ref:pickerRef},icon&&react_default.a.createElement("div",{className:"usa-dt-picker__icon"},icon),react_default.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},children?react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},children):react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},react_default.a.createElement("span",{className:"usa-dt-picker__button-text"},selectedOption),react_default.a.createElement("span",{className:"usa-dt-picker__button-icon"},!expanded&&react_default.a.createElement(react_fontawesome_index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),expanded&&react_default.a.createElement(react_fontawesome_index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),react_default.a.createElement("ul",{className:"usa-dt-picker__list ".concat(expanded?"":"hide"),style:function getDropdownListStyles(){var styles={top:"".concat(dimensions.top,"px"),left:"".concat(dimensions.left,"px")};return isFixedWidth&&"right"===dropdownDirection?_objectSpread({},styles,{width:"".concat(dimensions.width,"px")}):isFixedWidth&&"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right),width:"".concat(dimensions.width,"px")}:"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right,"px")}:styles}()},options.sort((function handleSort(a,b){return sortFn(a,b,selectedOption)})).map((function(option){return _objectSpread({},option,{onClick:(cb=option.onClick,function(e){e.preventDefault(),cb(e.target.value),setExpanded(!1)})});var cb})).map((function(option){return react_default.a.createElement("li",{key:option.name,className:"usa-dt-picker__list-item"},react_default.a.createElement("button",{className:"usa-dt-picker__item ".concat(option.name===selectedOption?"active":""),value:"".concat(option.value||option.name),onClick:option.onClick},option.component?option.component:option.name))})))))};Picker.displayName="Picker",Picker.propTypes=propTypes,Picker.__docgenInfo={description:"",methods:[],displayName:"Picker",props:{className:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},id:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},icon:{defaultValue:{value:"null",computed:!1},type:{name:"node"},required:!1,description:""},sortFn:{defaultValue:{value:"(a, b, selectedOption) => {\n // if no sort fn is provided, sort active element to lowest index\n if (a.name === selectedOption) return -1;\n if (b.name === selectedOption) return 1;\n // then, sort alphabetically\n if (a.name < b.name) return -1;\n if (a.name > b.name) return 1;\n return 0;\n}",computed:!1},type:{name:"func"},required:!1,description:""},isFixedWidth:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},dropdownDirection:{defaultValue:{value:"'right'",computed:!1},type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1,description:""},selectedOption:{type:{name:"string"},required:!1,description:""},options:{type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"string",required:!1},value:{name:"any",required:!1},onClick:{name:"func",required:!1}}}},required:!1,description:""},children:{type:{name:"node"},required:!1,description:""}}};var components_Picker=Picker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/Picker.jsx"]={name:"Picker",docgenInfo:Picker.__docgenInfo,path:"components/Picker.jsx"});var misc=__webpack_require__(16);function picker_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return picker_stories_defaultStory})),__webpack_require__.d(__webpack_exports__,"wChildren",(function(){return picker_stories_wChildren}));var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=objectWithoutProperties_default()(_ref,["components"]);return Object(index_es.mdx)(MDXLayout,extends_default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(index_es.mdx)(blocks.Meta,{title:"Picker",component:components_Picker,decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick"),dist.withKnobs],parameters:{a11y:{element:".story__container",config:{},options:{}}},mdxType:"Meta"}),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Default",mdxType:"Story"},Object(index_es.mdx)(misc.c,{mdxType:"PickerWrapper"},Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),icon:Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"calendar-alt",size:"lg",color:"black",mdxType:"FontAwesomeIcon"}),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right",""),mdxType:"Picker"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"w/ Children",mdxType:"Story"},Object(index_es.mdx)(misc.c,{mdxType:"PickerWrapper"},Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right",""),mdxType:"Picker"},Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"share-alt",size:"lg",color:"black",mdxType:"FontAwesomeIcon"}))))),Object(index_es.mdx)(blocks.Props,{of:components_Picker,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"This is Designed to be a ",Object(index_es.mdx)("a",extends_default()({parentName:"h2"},{href:"https://reactjs.org/docs/forms.html#controlled-components"}),"Controlled Component")),Object(index_es.mdx)("p",null,"The props ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"selectedOption")," and ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"onClick")," are defined inside a parent component; in this case, ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"PickerWrapper"),"."),Object(index_es.mdx)("h2",null,"Invoking the Component w/ Children"),Object(index_es.mdx)("p",null,"The children passed to this component are intended for use when you need customized markup for the collapsed state of the picier component. The main thing you lose when passing children is ",Object(index_es.mdx)("strong",{parentName:"p"},"the dynamic toggle icon")," (",Object(index_es.mdx)("inlineCode",{parentName:"p"},"chevron-down")," when collapsed, ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"chevron-up")," when expanded)."),Object(index_es.mdx)("p",null,"This would be fine if the parent could see the local state of the component ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"expanded"),". Perhaps this could be achieved by engineering a new function prop which expects ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"expanded")," as a parameter and is called every time the ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"expanded")," changes. That way, the parent can:"),Object(index_es.mdx)("ul",null,Object(index_es.mdx)("li",{parentName:"ul"},"(a) see the value of ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"epxanded")," and"),Object(index_es.mdx)("li",{parentName:"ul"},"(b) then decide what to do with it on when it's ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"true")," vs when it's ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"false"),".")),Object(index_es.mdx)("p",null,"Here is the conditional logic in the markup for your reference:"),Object(index_es.mdx)("pre",null,Object(index_es.mdx)("code",extends_default()({parentName:"pre"},{className:"language-html"}),'
\n {icon && (\n
\n {icon}\n
\n )}\n
\n {children\n ? (\n \n )\n : (\n \n )}\n
    \n\n')),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Recipient Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","State Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Agency Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Glossary Sidebar, Glossary Definition"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(index_es.mdx)("h2",null,"Broker Integration Status"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Settings modal")))}MDXContent.isMDXComponent=!0;var picker_stories_defaultStory=function defaultStory(){return Object(index_es.mdx)(misc.c,null,Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),icon:Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"calendar-alt",size:"lg",color:"black"}),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")}))};picker_stories_defaultStory.story={},picker_stories_defaultStory.story.name="Default",picker_stories_defaultStory.story.parameters={mdxSource:"\n } dropdownDirection={select('dropdownDirection', ['right', 'left'], 'right', '')} />\n "};var picker_stories_wChildren=function wChildren(){return Object(index_es.mdx)(misc.c,null,Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")},Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"share-alt",size:"lg",color:"black"})))};picker_stories_wChildren.story={},picker_stories_wChildren.story.name="w/ Children",picker_stories_wChildren.story.parameters={mdxSource:"\n \n \n \n "};var componentMeta={title:"Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick"),dist.withKnobs],includeStories:["defaultStory","wChildren"]},mdxStoryNameToId={Default:"picker--default-story","w/ Children":"picker--w-children"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function picker_stories_objectSpread(target){for(var i=1;i {},\n closeTooltip: () => {},\n isVisible: false\n}",computed:!1},type:{name:"shape",value:{isControlled:{name:"bool",required:!1},showTooltip:{name:"func",required:!1},closeTooltip:{name:"func",required:!1},isVisible:{name:"bool",required:!1}}},required:!1,description:""},offsetAdjustments:{defaultValue:{value:"{\n top: -15, // InfoToolTip offset\n right: 30, // InfoToolTip offset\n left: 0\n}",computed:!1},type:{name:"shape",value:{top:{name:"number",required:!1},right:{name:"number",required:!1},left:{name:"number",required:!1}}},required:!1,description:""},styles:{defaultValue:{value:"{}",computed:!1},type:{name:"object"},required:!1,description:""},tooltipComponent:{type:{name:"element"},required:!1,description:""},width:{type:{name:"number"},required:!1,description:""},onMouseMoveTooltip:{type:{name:"func"},required:!1,description:""},onMouseLeaveTooltip:{type:{name:"func"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipWrapper.jsx"]={name:"TooltipWrapper",docgenInfo:TooltipWrapper_TooltipWrapper.__docgenInfo,path:"components/infoTooltip/TooltipWrapper.jsx"});__webpack_require__(290);var misc=__webpack_require__(16);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}__webpack_require__.d(__webpack_exports__,"tooltipWrapper",(function(){return tooltip_stories_tooltipWrapper}));var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=objectWithoutProperties_default()(_ref,["components"]);return Object(index_es.mdx)(MDXLayout,extends_default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(index_es.mdx)(blocks.Meta,{title:"Tooltip Wrapper",component:TooltipWrapper_TooltipWrapper,decorators:[dist.withKnobs,addon_a11y_dist.withA11y],parameters:{a11y:{element:".story__container",config:{},options:{}}},mdxType:"Meta"}),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Tooltip Wrapper",mdxType:"Story"},Object(index_es.mdx)("div",{className:"story__container tooltip-story"},Object(index_es.mdx)(TooltipWrapper_TooltipWrapper,{icon:"info",tooltipComponent:Object(index_es.mdx)(misc.h,{mdxType:"Tooltip"}),wide:Object(dist.boolean)("wide",!0),tooltipPosition:Object(dist.text)("tooltipPosition"),controlledProps:Object(dist.object)("controlledTooltip",{isControlled:!1,isVisible:!1}),mdxType:"TooltipWrapper"})))),Object(index_es.mdx)(blocks.Props,{of:TooltipWrapper_TooltipWrapper,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Summary Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Home Page Hero"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Advanced Search"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Spending Explorer"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","State Profile Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Agency Profile Page")),Object(index_es.mdx)("h3",null,"Broker Integration Status:"))}MDXContent.isMDXComponent=!0;var tooltip_stories_tooltipWrapper=function tooltipWrapper(){return Object(index_es.mdx)("div",{className:"story__container tooltip-story"},Object(index_es.mdx)(TooltipWrapper_TooltipWrapper,{icon:"info",tooltipComponent:Object(index_es.mdx)(misc.h,null),wide:Object(dist.boolean)("wide",!0),tooltipPosition:Object(dist.text)("tooltipPosition"),controlledProps:Object(dist.object)("controlledTooltip",{isControlled:!1,isVisible:!1})}))};tooltip_stories_tooltipWrapper.story={},tooltip_stories_tooltipWrapper.story.name="Tooltip Wrapper",tooltip_stories_tooltipWrapper.story.parameters={mdxSource:'
    \n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
    '};var componentMeta={title:"Tooltip Wrapper",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[dist.withKnobs,addon_a11y_dist.withA11y],includeStories:["tooltipWrapper"]},mdxStoryNameToId={"Tooltip Wrapper":"tooltip-wrapper--tooltip-wrapper"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;iHere is some info.

    ",computed:!1},type:{name:"node"},required:!1,description:""},className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},textAlign:{defaultValue:{value:"{\n title: 'left',\n text: 'left'\n}",computed:!1},type:{name:"shape",value:{title:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1},text:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1}}},required:!1,description:""}}},__webpack_exports__.a=TooltipComponent,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipComponent.jsx"]={name:"TooltipComponent",docgenInfo:TooltipComponent.__docgenInfo,path:"components/infoTooltip/TooltipComponent.jsx"})},449:function(module,exports,__webpack_require__){__webpack_require__(450),__webpack_require__(561),module.exports=__webpack_require__(562)},471:function(module,exports){},562:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(38),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_storybook_react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(149),_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(439),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5),_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(447),_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(150),_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(13);__webpack_require__(1255),__webpack_require__(1263);_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__.b.add(_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.a,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.b,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.c,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.d,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.e,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.f,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.g,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.h,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.i,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.j,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.k,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.l,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.m,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.n,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.o,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.q,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.p,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.r,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.s,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.t,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.u,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.v,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.w,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.x,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.y,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.z,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.A,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.B,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.D,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.E,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.F,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.G,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.H,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.I,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.J,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.K,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.C),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addParameters)({docs:{container:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsContainer,page:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsPage},options:{name:"Data Transparency UI",storySort:function storySort(a,b){var _a=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(a,2),obj=(_a[0],_a[1]),_b=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(b,2),obj2=(_b[0],_b[1]);return"Introduction"===obj.kind?-1:(obj2.kind,1)},showAddonPanel:!0},viewport:{viewports:_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__.INITIAL_VIEWPORTS}}),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addDecorator)((function(storyFn){return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div",{style:{textAlign:"center",width:"100%"}},storyFn())}),(function(storyFn,context){return Object(_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__.withConsole)()(storyFn)(context)})),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.configure)(__webpack_require__(1264),module)}.call(this,__webpack_require__(563)(module))},67:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(20),__webpack_require__(234),__webpack_require__(1284),__webpack_require__(48),__webpack_require__(78),__webpack_require__(12),__webpack_require__(270),__webpack_require__(8),__webpack_require__(189),__webpack_require__(79);var slicedToArray=__webpack_require__(38),slicedToArray_default=__webpack_require__.n(slicedToArray),react=__webpack_require__(0),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(10),propTypes={disabled:prop_types_default.a.bool,active:prop_types_default.a.bool,showPeriods:prop_types_default.a.bool,quarter:prop_types_default.a.string,handleSelection:prop_types_default.a.func,handleHover:prop_types_default.a.func,handleBlur:prop_types_default.a.func,toggleTooltip:prop_types_default.a.func,title:prop_types_default.a.string},QuarterButton=function(_ref){var disabled=_ref.disabled,active=_ref.active,quarter=_ref.quarter,handleSelection=_ref.handleSelection,toggleTooltip=_ref.toggleTooltip,_ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,handleHover=_ref.handleHover,handleBlur=_ref.handleBlur,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,quarterTitle=title||"Q ".concat(quarter),onMouseEnter=function(){disabled?toggleTooltip(quarter):handleHover(quarter,showPeriods?"period":"quarter")},onMouseLeave=function(){toggleTooltip(0),handleBlur(showPeriods?"period":"quarter")},handleClick=function(e){e.preventDefault(),disabled||handleSelection(quarter)},additionalClasses=disabled?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_first":"4"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_last":title.includes("-")&&(additionalClasses+="usa-dt-quarter-picker__quarter_double"),!disabled&&active&&(additionalClasses+=" usa-dt-quarter-picker__quarter_active"),react_default.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(additionalClasses),onMouseDown:handleClick,onClick:handleClick,onMouseOver:onMouseEnter,onMouseEnter:onMouseEnter,onFocus:onMouseEnter,onMouseLeave:onMouseLeave,onBlur:onMouseLeave,"aria-disabled":disabled},quarterTitle)};QuarterButton.displayName="QuarterButton",QuarterButton.propTypes=propTypes,QuarterButton.__docgenInfo={description:"",methods:[],displayName:"QuarterButton",props:{title:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},disabled:{type:{name:"bool"},required:!1,description:""},active:{type:{name:"bool"},required:!1,description:""},quarter:{type:{name:"string"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""},handleHover:{type:{name:"func"},required:!1,description:""},handleBlur:{type:{name:"func"},required:!1,description:""},toggleTooltip:{type:{name:"func"},required:!1,description:""}}};var quarterPicker_QuarterButton=QuarterButton;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterButton.jsx"]={name:"QuarterButton",docgenInfo:QuarterButton.__docgenInfo,path:"components/quarterPicker/QuarterButton.jsx"});__webpack_require__(1286);__webpack_require__.d(__webpack_exports__,"b",(function(){return useCumulativeQuarterPicker}));var useCumulativeQuarterPicker=function(){var initialState=0=parseInt(idStr,10)}))},QuarterPicker_propTypes={handleSelection:prop_types_default.a.func,selectedQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),selectedPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),periodsPerQuarter:prop_types_default.a.arrayOf(prop_types_default.a.arrayOf(prop_types_default.a.shape({title:prop_types_default.a.string,id:prop_types_default.a.string}))),showPeriods:prop_types_default.a.bool,isCumulative:prop_types_default.a.bool},QuarterPicker=function(_ref){var handleSelection=_ref.handleSelection,_ref$disabledQuarters=_ref.disabledQuarters,disabledQuarters=void 0===_ref$disabledQuarters?[]:_ref$disabledQuarters,_ref$disabledPeriods=_ref.disabledPeriods,disabledPeriods=void 0===_ref$disabledPeriods?[]:_ref$disabledPeriods,_ref$periodsPerQuarte=_ref.periodsPerQuarter,periodsPerQuarter=void 0===_ref$periodsPerQuarte?defaultPeriodsPerQuarter:_ref$periodsPerQuarte,_ref$selectedQuarters=_ref.selectedQuarters,selectedQuarters=void 0===_ref$selectedQuarters?[]:_ref$selectedQuarters,_ref$selectedPeriods=_ref.selectedPeriods,selectedPeriods=void 0===_ref$selectedPeriods?[]:_ref$selectedPeriods,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,_ref$isCumulative=_ref.isCumulative,_useState3=Object(react.useState)(""),_useState4=slicedToArray_default()(_useState3,2),periodHoverState=_useState4[0],setPeriodHoverState=_useState4[1],_useState5=Object(react.useState)(""),_useState6=slicedToArray_default()(_useState5,2),quarterHoverState=_useState6[0],setQuarterHoverState=_useState6[1],handleHover=function(str){var type=1=parseInt(period.id,10),handleHover:handleHover,handleBlur:handleBlur,handleSelection:handleSelection,toggleTooltip:function toggleTooltip(){}}))}))))}return react_default.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(lodash.uniqueId)()},react_default.a.createElement(quarterPicker_QuarterButton,{quarter:quarterNumberAsString,disabled:disabledQuarters.includes(quarterNumberAsString),active:void 0!==_ref$isCumulative&&_ref$isCumulative?isIdOrGreaterInArray(quarterNumberAsString,selectedQuarters)||parseInt(quarterHoverState,10)>=quarterNumber:selectedQuarters.includes(quarterNumberAsString)||quarterHoverState===quarterNumberAsString,handleSelection:handleSelection,handleHover:handleHover,handleBlur:handleBlur,toggleTooltip:function toggleTooltip(){}}))}))}()))};QuarterPicker.displayName="QuarterPicker",QuarterPicker.propTypes=QuarterPicker_propTypes,QuarterPicker.__docgenInfo={description:"",methods:[],displayName:"QuarterPicker",props:{disabledQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},disabledPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},periodsPerQuarter:{defaultValue:{value:"[\n [\n { title: '1 - 2', id: '2', className: 'double-period' },\n { title: '3', id: '3' }\n ],\n [\n { title: '4', id: '4' },\n { title: '5', id: '5' },\n { title: '6', id: '6' }\n ],\n [\n { title: '7', id: '7' },\n { title: '8', id: '8' },\n { title: '9', id: '9' }\n ],\n [\n { title: '10', id: '10' },\n { title: '11', id: '11' },\n { title: '12', id: '12' }\n ]\n]",computed:!1},type:{name:"arrayOf",value:{name:"arrayOf",value:{name:"shape",value:{title:{name:"string",required:!1},id:{name:"string",required:!1}}}}},required:!1,description:""},selectedQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},selectedPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},isCumulative:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""}}};__webpack_exports__.a=QuarterPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterPicker.jsx"]={name:"QuarterPicker",docgenInfo:QuarterPicker.__docgenInfo,path:"components/quarterPicker/QuarterPicker.jsx"})}},[[449,1,2]]]); -//# sourceMappingURL=main.aba3732430a22714413b.bundle.js.map \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1255:function(module,__webpack_exports__,__webpack_require__){"use strict";var _storybook_theming__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(448);Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_0__.create)({base:"light",colorPrimary:"hotpink",colorSecondary:"deepskyblue",appBg:"white",appContentBg:"silver",appBorderColor:"grey",appBorderRadius:4,fontBase:'"Open Sans", sans-serif',fontCode:"monospace",textColor:"black",textInverseColor:"rgba(255,255,255,0.9)",barTextColor:"silver",barSelectedColor:"black",barBg:"hotpink",inputBg:"white",inputBorder:"silver",inputTextColor:"black",inputBorderRadius:4,brandTitle:"My custom storybook",brandUrl:"https://example.com",brandImage:"https://placehold.it/350x150"})},1263:function(module,exports,__webpack_require__){},1264:function(module,exports,__webpack_require__){var map={"./introduction.stories.mdx":1265,"./pagination.stories.mdx":1292,"./picker.stories.mdx":1297,"./quarterPicker.stories.mdx":1288,"./table.stories.mdx":1295,"./tooltip.stories.mdx":1298};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1264},1265:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7),_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(56),_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__),_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__(0),__webpack_require__(1)),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=_babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(_ref,["components"]);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(MDXLayout,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_5__.Meta,{title:"Introduction",parameters:{options:{showAddonPanel:!1}},mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h1",null,"Data Transparency User Interface (UI) Component Library"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"The purpose of this project is to give visibility into the patterns built into the\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://broker.usaspending.gov/"}),"Broker")," and ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://usaspending.gov/"}),"USASpending")," UI and their corresponding techincal implementations.\nThese implementations, referred to as UI Components, exist outside of the USASpending\nand Broker codebase."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"With this visibility & independence, the following benefits arise:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"UI/UX & Development Teams can identify a one-to-one relationship between designs and their implementations in code."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"USASpending & Broker can reuse the same code."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Integration with these components within USASpending and Broker will result in the ability to redesign or improve these components\nin a single place and then see those changes propagated throughout the website immediately.")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h2",null,"UI/UX & Development Collaboration Process"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"The below info-graphic displays how the UI/UX and Development Teams will iteratively work together to identify new components for this library."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("img",{src:"./img/ui_ux_approval.png",alt:"Data Transparency USASpending.gov logo"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h2",null,"Component Library Contribution"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"We use ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://github.com/storybookjs/storybook"}),"storybook")," to demonstrate our library of components and their technical implementations.\nThis open-source project has nearly 1K contributors and is constantly improving."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h3",null,"Creating a New Story for a Component"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"We use ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"p"},{href:"https://mdxjs.com/advanced/api"}),"mdx")," to document our components."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"Currently, we are using the following Storybook features to display our current implementation:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/knobs"}),"Knobs")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/a11y"}),"Accessibility")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/viewport"}),"Mobile Responsiveness")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/actions"}),"Actions")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("a",_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({parentName:"li"},{href:"https://github.com/storybookjs/storybook/tree/master/addons/docs"}),"Docs"))),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("h3",null,"Technical Directions for Adding New Components"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("p",null,"When adding a new component to this library, please follow the below guide:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Build storybook artifacts and Component's CSS by running ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"npm run build"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("ul",{parentName:"li"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Storybook build artifacts are compiled in ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"docs/")," and deployed using GitHub Pages once merged to the master branch"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Component CSS is compiled to ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"dist/")))),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Export the new component in ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("inlineCode",{parentName:"li"},"index.js")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("li",{parentName:"ul"},"Consult the storybook documentation")))}MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.story={parameters:{docsOnly:!0}};var componentMeta={title:"Introduction",parameters:{options:{showAddonPanel:!1}},includeStories:["__page"]},mdxStoryNameToId={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;i\n \n "};var cumulativePicker=function cumulativePicker(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.d,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledQuarters:[],isCumulative:!0}))};cumulativePicker.story={},cumulativePicker.story.name="Cumulative Picker",cumulativePicker.story.parameters={mdxSource:"\n \n "};var wPeriods=function wPeriods(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)("div",{className:"story__container quarter-picker-story"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_misc__WEBPACK_IMPORTED_MODULE_9__.e,null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.mdx)(_components_quarterPicker_QuarterPicker__WEBPACK_IMPORTED_MODULE_8__.a,{disabledPeriods:["10","11","12"],showPeriods:!0})))};wPeriods.story={},wPeriods.story.name="w/ Periods",wPeriods.story.parameters={mdxSource:"
    \n \n \n \n
    "};var componentMeta={title:"Quarter Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_6__.withKnobs,_storybook_addon_a11y__WEBPACK_IMPORTED_MODULE_7__.withA11y],includeStories:["defaultStory","cumulativePicker","wPeriods"]},mdxStoryNameToId={Default:"quarter-picker--default-story","Cumulative Picker":"quarter-picker--cumulative-picker","w/ Periods":"quarter-picker--w-periods"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;itotalPages?(startPage=1,endPage=totalPages,prevEllipses="",nextEllipses="",firstButton="",lastButton=""):(startPage=currentPage-1,endPage=currentPage+1,4>currentPage?(prevEllipses="",firstButton="",1===currentPage?(startPage=currentPage,endPage=currentPage+2):3===currentPage&&(startPage=1,endPage=4)):currentPage>totalPages-3&&(nextEllipses="",lastButton="",currentPage===totalPages?(startPage=currentPage-2,endPage=currentPage):currentPage===totalPages-2&&(startPage=currentPage-1,endPage=totalPages)));var startIndex=(currentPage-1)*pageSize,endIndex=Math.min(startIndex+(pageSize-1),totalItems-1),pages=Object(lodash.range)(startPage,endPage+1);return{totalPages:totalPages,startPage:startPage,endPage:endPage,startIndex:startIndex,endIndex:endIndex,pages:pages,prevEllipses:prevEllipses,nextEllipses:nextEllipses,firstButton:firstButton,lastButton:lastButton}}},{key:"generatePageButtons",value:function generatePageButtons(pages){var _this=this,currentPage=this.props.currentPage;return pages.map((function(page,index){return react_default.a.createElement("li",{key:index,className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===page?"pager__button_active":""),type:"button",onClick:function onClick(){return _this.props.changePage(page)}},formatNumberWithPrecision(page,0)))}))}},{key:"render",value:function render(){var _this$props2=this.props,currentPage=_this$props2.currentPage,changePage=_this$props2.changePage,pager=this.getPager(),pageButtons=this.generatePageButtons(pager.pages,pager.totalPages);return react_default.a.createElement("ul",{className:"pager"},react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(1===currentPage?"pager__button_disabled":""),type:"button",disabled:1===currentPage,onClick:function onClick(){return changePage(currentPage-1)},title:"Previous page"},_ref3)),pager.firstButton,pager.prevEllipses,pageButtons,pager.nextEllipses,pager.lastButton,react_default.a.createElement("li",{className:"pager__item"},react_default.a.createElement("button",{className:"pager__button ".concat(currentPage===pager.totalPages?"pager__button_disabled":""),type:"button",disabled:currentPage===pager.totalPages,onClick:function onClick(){return changePage(currentPage+1)},title:"Next page"},_ref4)))}}]),Pager}(react_default.a.Component);Pager_Pager.displayName="Pager",Pager_Pager.propTypes=propTypes,Pager_Pager.__docgenInfo={description:"",methods:[{name:"getPager",docblock:null,modifiers:[],params:[],returns:null},{name:"generatePageButtons",docblock:null,modifiers:[],params:[{name:"pages",type:null}],returns:null}],displayName:"Pager",props:{changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},currentPage:{type:{name:"number"},required:!0,description:""},pageSize:{type:{name:"number"},required:!0,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pager.jsx"]={name:"Pager",docgenInfo:Pager_Pager.__docgenInfo,path:"components/pagination/Pager.jsx"});__webpack_require__(138),__webpack_require__(189);var assertThisInitialized=__webpack_require__(15),assertThisInitialized_default=__webpack_require__.n(assertThisInitialized),LimitSelector_propTypes={changeLimit:prop_types_default.a.func.isRequired,pageSize:prop_types_default.a.number,limitList:prop_types_default.a.arrayOf(prop_types_default.a.number),label:prop_types_default.a.string},LimitSelector_LimitSelector=function(_React$Component){function LimitSelector(props){var _this;return classCallCheck_default()(this,LimitSelector),(_this=possibleConstructorReturn_default()(this,getPrototypeOf_default()(LimitSelector).call(this,props))).changeLimit=_this.changeLimit.bind(assertThisInitialized_default()(_this)),_this}return inherits_default()(LimitSelector,_React$Component),createClass_default()(LimitSelector,[{key:"changeLimit",value:function changeLimit(e){e.preventDefault();var targetId=parseInt(e.target.value,10);this.props.changeLimit(targetId)}},{key:"render",value:function render(){var label=this.props.label?this.props.label:"Rows per page: ",_this$props=this.props,limitList=_this$props.limitList,pageSize=_this$props.pageSize,list=limitList.map((function(limit){return react_default.a.createElement("option",{key:"limit-".concat(limit),value:limit},limit)}));return react_default.a.createElement("div",{className:"usa-dt-pagination__limit-selector__wrapper"},react_default.a.createElement("label",null,label),react_default.a.createElement("select",{onChange:this.changeLimit,value:pageSize,className:"usa-dt-pagination__limit-selector","aria-label":"limit-dropdown"},list))}}]),LimitSelector}(react_default.a.Component);LimitSelector_LimitSelector.displayName="LimitSelector",LimitSelector_LimitSelector.propTypes=LimitSelector_propTypes,LimitSelector_LimitSelector.defaultProps={pageLimit:10,limitList:[10,25,50,100]},LimitSelector_LimitSelector.__docgenInfo={description:"",methods:[{name:"changeLimit",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null}],displayName:"LimitSelector",props:{pageLimit:{defaultValue:{value:"10",computed:!1},required:!1},limitList:{defaultValue:{value:"[10, 25, 50, 100]",computed:!1},type:{name:"arrayOf",value:{name:"number"}},required:!1,description:""},changeLimit:{type:{name:"func"},required:!0,description:""},pageSize:{type:{name:"number"},required:!1,description:""},label:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/LimitSelector.jsx"]={name:"LimitSelector",docgenInfo:LimitSelector_LimitSelector.__docgenInfo,path:"components/pagination/LimitSelector.jsx"});var GoToPage_propTypes={changePage:prop_types_default.a.func.isRequired,totalPages:prop_types_default.a.number,id:prop_types_default.a.string},GoToPage_GoToPage=function(_React$Component){function GoToPage(props){var _this;return classCallCheck_default()(this,GoToPage),(_this=possibleConstructorReturn_default()(this,getPrototypeOf_default()(GoToPage).call(this,props))).state={goToPage:""},_this.changePage=_this.changePage.bind(assertThisInitialized_default()(_this)),_this.changedInput=_this.changedInput.bind(assertThisInitialized_default()(_this)),_this.validPage=_this.validPage.bind(assertThisInitialized_default()(_this)),_this}return inherits_default()(GoToPage,_React$Component),createClass_default()(GoToPage,[{key:"changePage",value:function changePage(e){e.preventDefault(),this.validPage()&&this.props.changePage(parseInt(this.state.goToPage,10))}},{key:"changedInput",value:function changedInput(e){this.setState({goToPage:e.target.value})}},{key:"validPage",value:function validPage(){var goToPage=this.state.goToPage,totalPages=this.props.totalPages;return!(""===goToPage||1>parseInt(goToPage,10)||parseInt(goToPage,10)>totalPages)}},{key:"render",value:function render(){var totalPages=this.props.totalPages,placeholder=1=totalPages?null:react_default.a.createElement("div",{className:"usa-dt-pagination"},description,react_default.a.createElement("div",{className:"usa-dt-pagination__wrapper"},limitSelect,react_default.a.createElement(Pager_Pager,{changePage:changePage,totalItems:totalItems,currentPage:currentPage,pageSize:pageSize}),goTo))}}]),Pagination}(react_default.a.Component);Pagination_Pagination.displayName="Pagination",Pagination_Pagination.propTypes=Pagination_propTypes,Pagination_Pagination.defaultProps={currentPage:1,pageSize:10,resultsText:!1,customResultsText:null,limitSelector:!1,changeLimit:function changeLimit(){},goToPage:!1},Pagination_Pagination.__docgenInfo={description:"",methods:[{name:"getResultsText",docblock:null,modifiers:[],params:[],returns:null}],displayName:"Pagination",props:{currentPage:{defaultValue:{value:"1",computed:!1},type:{name:"number"},required:!1,description:""},pageSize:{defaultValue:{value:"10",computed:!1},type:{name:"number"},required:!1,description:""},resultsText:{defaultValue:{value:"false",computed:!1},type:{name:"union",value:[{name:"bool"},{name:"element"}]},required:!1,description:""},customResultsText:{defaultValue:{value:"null",computed:!1},required:!1},limitSelector:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changeLimit:{defaultValue:{value:"() => {}",computed:!1},type:{name:"func"},required:!1,description:""},goToPage:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},changePage:{type:{name:"func"},required:!0,description:""},totalItems:{type:{name:"number"},required:!0,description:""},id:{type:{name:"string"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/pagination/Pagination.jsx"]={name:"Pagination",docgenInfo:Pagination_Pagination.__docgenInfo,path:"components/pagination/Pagination.jsx"});var misc=__webpack_require__(16);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}__webpack_require__.d(__webpack_exports__,"limitSelectorAndGoToPage",(function(){return pagination_stories_limitSelectorAndGoToPage})),__webpack_require__.d(__webpack_exports__,"goToPage",(function(){return pagination_stories_goToPage})),__webpack_require__.d(__webpack_exports__,"limitSelector",(function(){return pagination_stories_limitSelector})),__webpack_require__.d(__webpack_exports__,"customResultsText",(function(){return pagination_stories_customResultsText})),__webpack_require__.d(__webpack_exports__,"defaultResultsText",(function(){return pagination_stories_defaultResultsText})),__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return pagination_stories_defaultStory}));var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=objectWithoutProperties_default()(_ref,["components"]);return Object(index_es.mdx)(MDXLayout,extends_default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(index_es.mdx)(blocks.Meta,{title:"Pagination",component:Pagination_Pagination,decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],parameters:{a11y:{element:".story__container",config:{},options:{}}},mdxType:"Meta"}),Object(index_es.mdx)("h2",null,"This is Designed to be a ",Object(index_es.mdx)("a",extends_default()({parentName:"h2"},{href:"https://reactjs.org/docs/forms.html#controlled-components"}),"Controlled Component")),Object(index_es.mdx)("p",null,"This means the component relies on its parent to pass the following props:"),Object(index_es.mdx)("ul",null,Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"currentPage")," & ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"changePage")," (",Object(index_es.mdx)("em",{parentName:"li"},"required"),")"),Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"changeLimit")," & ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"pageSize"))),Object(index_es.mdx)("p",null,"In this example, our parent -- ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"PaginationWrapper")," -- looks like this before the render:"),Object(index_es.mdx)("pre",null,Object(index_es.mdx)("code",extends_default()({parentName:"pre"},{className:"language-javascript"}),'const [page, changePage] = useState(1);\nconst [pageSize, changeLimit] = useState(10);\n\nconst handlePageChange = (pg) => {\nconsole.log("changePage handler invoked w/ this parameter: ", pg);\nchangePage(pg);\n};\n\nconst handleChangeLimit = (pageSize) => {\nconsole.log("changeLimit handler invoked w/ this parameter: ", pageSize);\nchangeLimit(pageSize);\n}\n')),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:'Limit selector and "Go to page"',mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:'"Go to Page"',mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Limit Selector",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Custom Results Text",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(index_es.mdx)("div",{className:"usa-dt-pagination__totals"},Object(index_es.mdx)("strong",null,"Custom")," results text"),totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Default Results Text",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Default",mdxType:"Story"},Object(index_es.mdx)(misc.b,{mdxType:"PaginationWrapper"},Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100,mdxType:"Pagination"})))),Object(index_es.mdx)(blocks.Props,{of:Pagination_Pagination,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Recipient Profile"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Federal Account Landing Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Summary Page (IDV); IDV Activity Section"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Spending Explorer"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(index_es.mdx)("h2",null,"Broker Integration Status"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Submission tables"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","DABS Dashboard")))}MDXContent.isMDXComponent=!0;var pagination_stories_limitSelectorAndGoToPage=function limitSelectorAndGoToPage(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-1",limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelectorAndGoToPage.story={},pagination_stories_limitSelectorAndGoToPage.story.name='Limit selector and "Go to page"',pagination_stories_limitSelectorAndGoToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_goToPage=function goToPage(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{goToPage:!0,id:"sample-id-2",pageSize:10,totalItems:100}))};pagination_stories_goToPage.story={},pagination_stories_goToPage.story.name='"Go to Page"',pagination_stories_goToPage.story.parameters={mdxSource:'\n \n '};var pagination_stories_limitSelector=function limitSelector(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{limitSelector:!0,resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_limitSelector.story={},pagination_stories_limitSelector.story.name="Limit Selector",pagination_stories_limitSelector.story.parameters={mdxSource:"\n \n "};var pagination_stories_customResultsText=function customResultsText(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,resultsText:Object(index_es.mdx)("div",{className:"usa-dt-pagination__totals"},Object(index_es.mdx)("strong",null,"Custom")," results text"),totalItems:100}))};pagination_stories_customResultsText.story={},pagination_stories_customResultsText.story.name="Custom Results Text",pagination_stories_customResultsText.story.parameters={mdxSource:'\n \n Custom results text\n
} totalItems={100} />\n '};var pagination_stories_defaultResultsText=function defaultResultsText(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{resultsText:!0,pageSize:10,totalItems:100}))};pagination_stories_defaultResultsText.story={},pagination_stories_defaultResultsText.story.name="Default Results Text",pagination_stories_defaultResultsText.story.parameters={mdxSource:"\n \n "};var pagination_stories_defaultStory=function defaultStory(){return Object(index_es.mdx)(misc.b,null,Object(index_es.mdx)(Pagination_Pagination,{pageSize:10,totalItems:100}))};pagination_stories_defaultStory.story={},pagination_stories_defaultStory.story.name="Default",pagination_stories_defaultStory.story.parameters={mdxSource:"\n {\n /* /* handler Funcs Passed from PaginationWrapper */\n }\n \n "};var componentMeta={title:"Pagination",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["limitSelectorAndGoToPage","goToPage","limitSelector","customResultsText","defaultResultsText","defaultStory"]},mdxStoryNameToId={'Limit selector and "Go to page"':"pagination--limit-selector-and-go-to-page",'"Go to Page"':"pagination--go-to-page","Limit Selector":"pagination--limit-selector","Custom Results Text":"pagination--custom-results-text","Default Results Text":"pagination--default-results-text",Default:"pagination--default-story"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;i {\nconsole.log(`update sort invoked with ${field}, ${direction}`);\nupdateField(field);\nupdateDirection(direction)\n};\nconst currentSort = {\nfield,\ndirection\n};\n")),Object(index_es.mdx)("h3",null,"Other props:"),Object(index_es.mdx)("ul",null,Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"expandable"),": a boolean indicating whether this table will have nested rows that can be expanded and collapsed"),Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"columns"),": an array of objects each with a ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"title")," and a ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"displayName")),Object(index_es.mdx)("li",{parentName:"ul"},Object(index_es.mdx)("inlineCode",{parentName:"li"},"rows"),": ",Object(index_es.mdx)("em",{parentName:"li"},"either")," an array of row arrays, each containing data elements ",Object(index_es.mdx)("em",{parentName:"li"},"or")," an array of row objects with top level properties matching the column ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"title"),"s and an array of ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"children"))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Table",mdxType:"Story"},Object(index_es.mdx)(misc.g,{mdxType:"TableWrapper"},Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Table without Sorting",mdxType:"Story"},Object(index_es.mdx)(misc.a,{mdxType:"BasicTableWrapper"},Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]],mdxType:"Table"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Expandable Table without Divider",mdxType:"Story"},Object(index_es.mdx)(misc.g,{mdxType:"TableWrapper"},Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,mdxType:"Table"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Expandable Table with Divider",mdxType:"Story"},Object(index_es.mdx)(misc.g,{mdxType:"TableWrapper"},Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function",mdxType:"Table"})))),Object(index_es.mdx)(blocks.Props,{of:table_Table,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")))}MDXContent.isMDXComponent=!0;var table_stories_table=function table(){return Object(index_es.mdx)(misc.g,null,Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_table.story={},table_stories_table.story.name="Table",table_stories_table.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_tableWithoutSorting=function tableWithoutSorting(){return Object(index_es.mdx)(misc.a,null,Object(index_es.mdx)(table_Table,{rows:[[Object(index_es.mdx)("a",{href:"/"},"Link"),"mock data","25%"],[Object(index_es.mdx)(react_default.a.Fragment,null,Object(index_es.mdx)("strong",null,"jsx")," content"),1234,"mock data"]]}))};table_stories_tableWithoutSorting.story={},table_stories_tableWithoutSorting.story.name="Table without Sorting",table_stories_tableWithoutSorting.story.parameters={mdxSource:"\n
Link, 'mock data', '25%'], [jsx content, 1234, 'mock data']]} />\n "};var table_stories_expandableTableWithoutDivider=function expandableTableWithoutDivider(){return Object(index_es.mdx)(misc.g,null,Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0}))};table_stories_expandableTableWithoutDivider.story={},table_stories_expandableTableWithoutDivider.story.name="Expandable Table without Divider",table_stories_expandableTableWithoutDivider.story.parameters={mdxSource:"\n
\n "};var table_stories_expandableTableWithDivider=function expandableTableWithDivider(){return Object(index_es.mdx)(misc.g,null,Object(index_es.mdx)(table_Table,{rows:[{name:"Transportation",amount:"$100",percent:"20%"},{name:"Health",amount:"$150",percent:"30%",children:[{name:"Health care services",amount:"$150",percent:"30%"}]},{name:"General Science",amount:"$250",percent:"50%",children:[{name:"Space flight",amount:"$200",percent:"40%"},{name:"Basic research",amount:"$50",percent:"10%"}]}],expandable:!0,divider:"Budget Sub-Function"}))};table_stories_expandableTableWithDivider.story={},table_stories_expandableTableWithDivider.story.name="Expandable Table with Divider",table_stories_expandableTableWithDivider.story.parameters={mdxSource:"\n
\n "};var componentMeta={title:"Table",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick")],includeStories:["table","tableWithoutSorting","expandableTableWithoutDivider","expandableTableWithDivider"]},mdxStoryNameToId={Table:"table--table","Table without Sorting":"table--table-without-sorting","Expandable Table without Divider":"table--expandable-table-without-divider","Expandable Table with Divider":"table--expandable-table-with-divider"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;ib.name?1:0},Picker=function(_ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$id=_ref.id,id=void 0===_ref$id?"":_ref$id,options=_ref.options,selectedOption=_ref.selectedOption,_ref$icon=_ref.icon,icon=void 0===_ref$icon?null:_ref$icon,_ref$sortFn=_ref.sortFn,sortFn=void 0===_ref$sortFn?defaultSort:_ref$sortFn,_ref$isFixedWidth=_ref.isFixedWidth,isFixedWidth=void 0!==_ref$isFixedWidth&&_ref$isFixedWidth,children=_ref.children,_ref$dropdownDirectio=_ref.dropdownDirection,dropdownDirection=void 0===_ref$dropdownDirectio?"right":_ref$dropdownDirectio,pickerRef=Object(react.useRef)(null),buttonRef=Object(react.useRef)(null),_useState=Object(react.useState)(!1),_useState2=slicedToArray_default()(_useState,2),expanded=_useState2[0],setExpanded=_useState2[1],_useState3=Object(react.useState)({top:0,width:0,left:0,right:0}),_useState4=slicedToArray_default()(_useState3,2),dimensions=_useState4[0],setDimensions=_useState4[1],toggleMenu=function(e){e.preventDefault(),setExpanded(!expanded)},handleSetDimensions=function(){buttonRef.current&&pickerRef.current&&setDimensions({top:buttonRef.current.offsetHeight,width:buttonRef.current.offsetWidth,left:buttonRef.current.offsetLeft,right:pickerRef.current.offsetWidth-(buttonRef.current.offsetWidth+buttonRef.current.offsetLeft)})};Object(react.useEffect)((function(){0!==dimensions.width&&isFixedWidth&&buttonRef.current&&buttonRef.current.offsetWidth!==dimensions.width&&handleSetDimensions()})),Object(react.useEffect)((function(){var closeMenu=function(e){expanded&&pickerRef.current&&!pickerRef.current.contains(e.target)&&e.target.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&e.target.parentNode.id!=="".concat(id,"-").concat(fontAwesomeIconId)&&setExpanded(!1)};return handleSetDimensions(),document.addEventListener("click",closeMenu),function(){document.removeEventListener("click",closeMenu)}}),[expanded]);return react_default.a.createElement("div",{id:id,className:"usa-dt-picker ".concat(className),ref:pickerRef},icon&&react_default.a.createElement("div",{className:"usa-dt-picker__icon"},icon),react_default.a.createElement("div",{className:"usa-dt-picker__dropdown-container"},children?react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},children):react_default.a.createElement("button",{ref:buttonRef,className:"usa-dt-picker__button",onClick:toggleMenu},react_default.a.createElement("span",{className:"usa-dt-picker__button-text"},selectedOption),react_default.a.createElement("span",{className:"usa-dt-picker__button-icon"},!expanded&&react_default.a.createElement(react_fontawesome_index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-down",alt:"Toggle menu",color:"#555"}),expanded&&react_default.a.createElement(react_fontawesome_index_es.a,{id:"".concat(id,"-").concat(fontAwesomeIconId),icon:"chevron-up",alt:"Toggle menu",color:"#555"}))),react_default.a.createElement("ul",{className:"usa-dt-picker__list ".concat(expanded?"":"hide"),style:function getDropdownListStyles(){var styles={top:"".concat(dimensions.top,"px"),left:"".concat(dimensions.left,"px")};return isFixedWidth&&"right"===dropdownDirection?_objectSpread({},styles,{width:"".concat(dimensions.width,"px")}):isFixedWidth&&"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right),width:"".concat(dimensions.width,"px")}:"left"===dropdownDirection?{top:styles.top,right:"".concat(dimensions.right,"px")}:styles}()},options.sort((function handleSort(a,b){return sortFn(a,b,selectedOption)})).map((function(option){return _objectSpread({},option,{onClick:(cb=option.onClick,function(e){e.preventDefault(),cb(e.target.value),setExpanded(!1)})});var cb})).map((function(option){return react_default.a.createElement("li",{key:option.name,className:"usa-dt-picker__list-item"},react_default.a.createElement("button",{className:"usa-dt-picker__item ".concat(option.name===selectedOption?"active":""),value:"".concat(option.value||option.name),onClick:option.onClick},option.component?option.component:option.name))})))))};Picker.displayName="Picker",Picker.propTypes=propTypes,Picker.__docgenInfo={description:"",methods:[],displayName:"Picker",props:{className:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},id:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},icon:{defaultValue:{value:"null",computed:!1},type:{name:"node"},required:!1,description:""},sortFn:{defaultValue:{value:"(a, b, selectedOption) => {\n // if no sort fn is provided, sort active element to lowest index\n if (a.name === selectedOption) return -1;\n if (b.name === selectedOption) return 1;\n // then, sort alphabetically\n if (a.name < b.name) return -1;\n if (a.name > b.name) return 1;\n return 0;\n}",computed:!1},type:{name:"func"},required:!1,description:""},isFixedWidth:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},dropdownDirection:{defaultValue:{value:"'right'",computed:!1},type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1,description:""},selectedOption:{type:{name:"string"},required:!1,description:""},options:{type:{name:"arrayOf",value:{name:"shape",value:{name:{name:"string",required:!1},value:{name:"any",required:!1},onClick:{name:"func",required:!1}}}},required:!1,description:""},children:{type:{name:"node"},required:!1,description:""}}};var components_Picker=Picker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/Picker.jsx"]={name:"Picker",docgenInfo:Picker.__docgenInfo,path:"components/Picker.jsx"});var misc=__webpack_require__(16);function picker_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}__webpack_require__.d(__webpack_exports__,"defaultStory",(function(){return picker_stories_defaultStory})),__webpack_require__.d(__webpack_exports__,"wChildren",(function(){return picker_stories_wChildren}));var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=objectWithoutProperties_default()(_ref,["components"]);return Object(index_es.mdx)(MDXLayout,extends_default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(index_es.mdx)(blocks.Meta,{title:"Picker",component:components_Picker,decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick"),dist.withKnobs],parameters:{a11y:{element:".story__container",config:{},options:{}}},mdxType:"Meta"}),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Default",mdxType:"Story"},Object(index_es.mdx)(misc.c,{mdxType:"PickerWrapper"},Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),icon:Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"calendar-alt",size:"lg",color:"black",mdxType:"FontAwesomeIcon"}),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right",""),mdxType:"Picker"})))),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"w/ Children",mdxType:"Story"},Object(index_es.mdx)(misc.c,{mdxType:"PickerWrapper"},Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right",""),mdxType:"Picker"},Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"share-alt",size:"lg",color:"black",mdxType:"FontAwesomeIcon"}))))),Object(index_es.mdx)(blocks.Props,{of:components_Picker,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"This is Designed to be a ",Object(index_es.mdx)("a",extends_default()({parentName:"h2"},{href:"https://reactjs.org/docs/forms.html#controlled-components"}),"Controlled Component")),Object(index_es.mdx)("p",null,"The props ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"selectedOption")," and ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"onClick")," are defined inside a parent component; in this case, ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"PickerWrapper"),"."),Object(index_es.mdx)("h2",null,"Invoking the Component w/ Children"),Object(index_es.mdx)("p",null,"The children passed to this component are intended for use when you need customized markup for the collapsed state of the picier component. The main thing you lose when passing children is ",Object(index_es.mdx)("strong",{parentName:"p"},"the dynamic toggle icon")," (",Object(index_es.mdx)("inlineCode",{parentName:"p"},"chevron-down")," when collapsed, ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"chevron-up")," when expanded)."),Object(index_es.mdx)("p",null,"This would be fine if the parent could see the local state of the component ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"expanded"),". Perhaps this could be achieved by engineering a new function prop which expects ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"expanded")," as a parameter and is called every time the ",Object(index_es.mdx)("inlineCode",{parentName:"p"},"expanded")," changes. That way, the parent can:"),Object(index_es.mdx)("ul",null,Object(index_es.mdx)("li",{parentName:"ul"},"(a) see the value of ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"epxanded")," and"),Object(index_es.mdx)("li",{parentName:"ul"},"(b) then decide what to do with it on when it's ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"true")," vs when it's ",Object(index_es.mdx)("inlineCode",{parentName:"li"},"false"),".")),Object(index_es.mdx)("p",null,"Here is the conditional logic in the markup for your reference:"),Object(index_es.mdx)("pre",null,Object(index_es.mdx)("code",extends_default()({parentName:"pre"},{className:"language-html"}),'
\n {icon && (\n
\n {icon}\n
\n )}\n
\n {children\n ? (\n \n )\n : (\n \n )}\n
    \n\n')),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Recipient Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","State Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Agency Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Agency Profile v2"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Glossary Sidebar, Glossary Definition"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","COVID-19 Page")),Object(index_es.mdx)("h2",null,"Broker Integration Status"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Settings modal")))}MDXContent.isMDXComponent=!0;var picker_stories_defaultStory=function defaultStory(){return Object(index_es.mdx)(misc.c,null,Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),icon:Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"calendar-alt",size:"lg",color:"black"}),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")}))};picker_stories_defaultStory.story={},picker_stories_defaultStory.story.name="Default",picker_stories_defaultStory.story.parameters={mdxSource:"\n } dropdownDirection={select('dropdownDirection', ['right', 'left'], 'right', '')} />\n "};var picker_stories_wChildren=function wChildren(){return Object(index_es.mdx)(misc.c,null,Object(index_es.mdx)(components_Picker,{isFixedWidth:Object(dist.boolean)("isFixedWidth",!1),dropdownDirection:Object(dist.select)("dropdownDirection",["right","left"],"right","")},Object(index_es.mdx)(react_fontawesome_index_es.a,{icon:"share-alt",size:"lg",color:"black"})))};picker_stories_wChildren.story={},picker_stories_wChildren.story.name="w/ Children",picker_stories_wChildren.story.parameters={mdxSource:"\n \n \n \n "};var componentMeta={title:"Picker",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[addon_a11y_dist.withA11y,Object(addon_actions_dist.withActions)("onClick"),dist.withKnobs],includeStories:["defaultStory","wChildren"]},mdxStoryNameToId={Default:"picker--default-story","w/ Children":"picker--w-children"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function picker_stories_objectSpread(target){for(var i=1;i {},\n closeTooltip: () => {},\n isVisible: false\n}",computed:!1},type:{name:"shape",value:{isControlled:{name:"bool",required:!1},showTooltip:{name:"func",required:!1},closeTooltip:{name:"func",required:!1},isVisible:{name:"bool",required:!1}}},required:!1,description:""},offsetAdjustments:{defaultValue:{value:"{\n top: -15, // InfoToolTip offset\n right: 30, // InfoToolTip offset\n left: 0\n}",computed:!1},type:{name:"shape",value:{top:{name:"number",required:!1},right:{name:"number",required:!1},left:{name:"number",required:!1}}},required:!1,description:""},styles:{defaultValue:{value:"{}",computed:!1},type:{name:"object"},required:!1,description:""},tooltipComponent:{type:{name:"element"},required:!1,description:""},width:{type:{name:"number"},required:!1,description:""},onMouseMoveTooltip:{type:{name:"func"},required:!1,description:""},onMouseLeaveTooltip:{type:{name:"func"},required:!1,description:""}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipWrapper.jsx"]={name:"TooltipWrapper",docgenInfo:TooltipWrapper_TooltipWrapper.__docgenInfo,path:"components/infoTooltip/TooltipWrapper.jsx"});__webpack_require__(290);var misc=__webpack_require__(16);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}__webpack_require__.d(__webpack_exports__,"tooltipWrapper",(function(){return tooltip_stories_tooltipWrapper}));var layoutProps={},MDXLayout="wrapper";function MDXContent(_ref){var components=_ref.components,props=objectWithoutProperties_default()(_ref,["components"]);return Object(index_es.mdx)(MDXLayout,extends_default()({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(index_es.mdx)(blocks.Meta,{title:"Tooltip Wrapper",component:TooltipWrapper_TooltipWrapper,decorators:[dist.withKnobs,addon_a11y_dist.withA11y],parameters:{a11y:{element:".story__container",config:{},options:{}}},mdxType:"Meta"}),Object(index_es.mdx)(blocks.Preview,{mdxType:"Preview"},Object(index_es.mdx)(blocks.Story,{name:"Tooltip Wrapper",mdxType:"Story"},Object(index_es.mdx)("div",{className:"story__container tooltip-story"},Object(index_es.mdx)(TooltipWrapper_TooltipWrapper,{icon:"info",tooltipComponent:Object(index_es.mdx)(misc.h,{mdxType:"Tooltip"}),wide:Object(dist.boolean)("wide",!0),tooltipPosition:Object(dist.text)("tooltipPosition"),controlledProps:Object(dist.object)("controlledTooltip",{isControlled:!1,isVisible:!1}),mdxType:"TooltipWrapper"})))),Object(index_es.mdx)(blocks.Props,{of:TooltipWrapper_TooltipWrapper,mdxType:"Props"}),Object(index_es.mdx)("h2",null,"Integration Status"),Object(index_es.mdx)("p",null,"Answers the question, where is this component used?"),Object(index_es.mdx)("h3",null,"USASpending"),Object(index_es.mdx)("ul",{className:"contains-task-list"},Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!0,disabled:!0}))," ","Award Summary Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Home Page Hero"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Advanced Search"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Spending Explorer"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","State Profile Page"),Object(index_es.mdx)("li",extends_default()({parentName:"ul"},{className:"task-list-item"}),Object(index_es.mdx)("input",extends_default()({parentName:"li"},{type:"checkbox",checked:!1,disabled:!0}))," ","Agency Profile Page")),Object(index_es.mdx)("h3",null,"Broker Integration Status:"))}MDXContent.isMDXComponent=!0;var tooltip_stories_tooltipWrapper=function tooltipWrapper(){return Object(index_es.mdx)("div",{className:"story__container tooltip-story"},Object(index_es.mdx)(TooltipWrapper_TooltipWrapper,{icon:"info",tooltipComponent:Object(index_es.mdx)(misc.h,null),wide:Object(dist.boolean)("wide",!0),tooltipPosition:Object(dist.text)("tooltipPosition"),controlledProps:Object(dist.object)("controlledTooltip",{isControlled:!1,isVisible:!1})}))};tooltip_stories_tooltipWrapper.story={},tooltip_stories_tooltipWrapper.story.name="Tooltip Wrapper",tooltip_stories_tooltipWrapper.story.parameters={mdxSource:'
    \n } wide={boolean("wide", true)} tooltipPosition={text("tooltipPosition")} controlledProps={object("controlledTooltip", {\n isControlled: false,\n isVisible: false\n })} />\n
    '};var componentMeta={title:"Tooltip Wrapper",parameters:{a11y:{element:".story__container",config:{},options:{}}},decorators:[dist.withKnobs,addon_a11y_dist.withA11y],includeStories:["tooltipWrapper"]},mdxStoryNameToId={"Tooltip Wrapper":"tooltip-wrapper--tooltip-wrapper"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=function _objectSpread(target){for(var i=1;iHere is some info.

    ",computed:!1},type:{name:"node"},required:!1,description:""},className:{defaultValue:{value:"null",computed:!1},type:{name:"string"},required:!1,description:""},textAlign:{defaultValue:{value:"{\n title: 'left',\n text: 'left'\n}",computed:!1},type:{name:"shape",value:{title:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1},text:{name:"enum",value:[{value:'"center"',computed:!1},{value:'"left"',computed:!1}],required:!1}}},required:!1,description:""}}},__webpack_exports__.a=TooltipComponent,"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/infoTooltip/TooltipComponent.jsx"]={name:"TooltipComponent",docgenInfo:TooltipComponent.__docgenInfo,path:"components/infoTooltip/TooltipComponent.jsx"})},449:function(module,exports,__webpack_require__){__webpack_require__(450),__webpack_require__(561),module.exports=__webpack_require__(562)},471:function(module,exports){},562:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(38),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_storybook_react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(149),_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(439),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5),_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(447),_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(150),_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(13);__webpack_require__(1255),__webpack_require__(1263);_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_6__.b.add(_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.a,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.b,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.c,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.d,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.e,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.f,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.g,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.h,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.i,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.j,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.k,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.l,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.m,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.n,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.o,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.q,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.p,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.r,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.s,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.t,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.u,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.v,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.w,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.x,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.y,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.z,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.A,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.B,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.D,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.E,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.F,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.G,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.H,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.I,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.J,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.K,_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__.C),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addParameters)({docs:{container:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsContainer,page:_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_4__.DocsPage},options:{name:"Data Transparency UI",storySort:function storySort(a,b){var _a=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(a,2),obj=(_a[0],_a[1]),_b=_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(b,2),obj2=(_b[0],_b[1]);return"Introduction"===obj.kind?-1:(obj2.kind,1)},showAddonPanel:!0},viewport:{viewports:_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_5__.INITIAL_VIEWPORTS}}),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.addDecorator)((function(storyFn){return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div",{style:{textAlign:"center",width:"100%"}},storyFn())}),(function(storyFn,context){return Object(_storybook_addon_console__WEBPACK_IMPORTED_MODULE_3__.withConsole)()(storyFn)(context)})),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_2__.configure)(__webpack_require__(1264),module)}.call(this,__webpack_require__(563)(module))},67:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(20),__webpack_require__(234),__webpack_require__(1284),__webpack_require__(48),__webpack_require__(78),__webpack_require__(12),__webpack_require__(270),__webpack_require__(8),__webpack_require__(189),__webpack_require__(79);var slicedToArray=__webpack_require__(38),slicedToArray_default=__webpack_require__.n(slicedToArray),react=__webpack_require__(0),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),lodash=__webpack_require__(10),propTypes={disabled:prop_types_default.a.bool,active:prop_types_default.a.bool,showPeriods:prop_types_default.a.bool,quarter:prop_types_default.a.string,handleSelection:prop_types_default.a.func,handleHover:prop_types_default.a.func,handleBlur:prop_types_default.a.func,toggleTooltip:prop_types_default.a.func,title:prop_types_default.a.string},QuarterButton=function(_ref){var disabled=_ref.disabled,active=_ref.active,quarter=_ref.quarter,handleSelection=_ref.handleSelection,toggleTooltip=_ref.toggleTooltip,_ref$title=_ref.title,title=void 0===_ref$title?"":_ref$title,handleHover=_ref.handleHover,handleBlur=_ref.handleBlur,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,quarterTitle=title||"Q ".concat(quarter),onMouseEnter=function(){disabled?toggleTooltip(quarter):handleHover(quarter,showPeriods?"period":"quarter")},onMouseLeave=function(){toggleTooltip(0),handleBlur(showPeriods?"period":"quarter")},handleClick=function(e){e.preventDefault(),disabled||handleSelection(quarter)},additionalClasses=disabled?"usa-dt-quarter-picker__quarter_disabled ":"";return"1"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_first":"4"===quarter?additionalClasses+="usa-dt-quarter-picker__quarter_last":title.includes("-")&&(additionalClasses+="usa-dt-quarter-picker__quarter_double"),!disabled&&active&&(additionalClasses+=" usa-dt-quarter-picker__quarter_active"),react_default.a.createElement("button",{className:"usa-dt-quarter-picker__quarter ".concat(additionalClasses),onMouseDown:handleClick,onClick:handleClick,onMouseOver:onMouseEnter,onMouseEnter:onMouseEnter,onFocus:onMouseEnter,onMouseLeave:onMouseLeave,onBlur:onMouseLeave,"aria-disabled":disabled},quarterTitle)};QuarterButton.displayName="QuarterButton",QuarterButton.propTypes=propTypes,QuarterButton.__docgenInfo={description:"",methods:[],displayName:"QuarterButton",props:{title:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},disabled:{type:{name:"bool"},required:!1,description:""},active:{type:{name:"bool"},required:!1,description:""},quarter:{type:{name:"string"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""},handleHover:{type:{name:"func"},required:!1,description:""},handleBlur:{type:{name:"func"},required:!1,description:""},toggleTooltip:{type:{name:"func"},required:!1,description:""}}};var quarterPicker_QuarterButton=QuarterButton;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterButton.jsx"]={name:"QuarterButton",docgenInfo:QuarterButton.__docgenInfo,path:"components/quarterPicker/QuarterButton.jsx"});__webpack_require__(1286);__webpack_require__.d(__webpack_exports__,"b",(function(){return useCumulativeQuarterPicker}));var useCumulativeQuarterPicker=function(){var initialState=0=parseInt(idStr,10)}))},QuarterPicker_propTypes={handleSelection:prop_types_default.a.func,selectedQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledQuarters:prop_types_default.a.arrayOf(prop_types_default.a.string),selectedPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),disabledPeriods:prop_types_default.a.arrayOf(prop_types_default.a.string),periodsPerQuarter:prop_types_default.a.arrayOf(prop_types_default.a.arrayOf(prop_types_default.a.shape({title:prop_types_default.a.string,id:prop_types_default.a.string}))),showPeriods:prop_types_default.a.bool,isCumulative:prop_types_default.a.bool},QuarterPicker=function(_ref){var handleSelection=_ref.handleSelection,_ref$disabledQuarters=_ref.disabledQuarters,disabledQuarters=void 0===_ref$disabledQuarters?[]:_ref$disabledQuarters,_ref$disabledPeriods=_ref.disabledPeriods,disabledPeriods=void 0===_ref$disabledPeriods?[]:_ref$disabledPeriods,_ref$periodsPerQuarte=_ref.periodsPerQuarter,periodsPerQuarter=void 0===_ref$periodsPerQuarte?defaultPeriodsPerQuarter:_ref$periodsPerQuarte,_ref$selectedQuarters=_ref.selectedQuarters,selectedQuarters=void 0===_ref$selectedQuarters?[]:_ref$selectedQuarters,_ref$selectedPeriods=_ref.selectedPeriods,selectedPeriods=void 0===_ref$selectedPeriods?[]:_ref$selectedPeriods,_ref$showPeriods=_ref.showPeriods,showPeriods=void 0!==_ref$showPeriods&&_ref$showPeriods,_ref$isCumulative=_ref.isCumulative,_useState3=Object(react.useState)(""),_useState4=slicedToArray_default()(_useState3,2),periodHoverState=_useState4[0],setPeriodHoverState=_useState4[1],_useState5=Object(react.useState)(""),_useState6=slicedToArray_default()(_useState5,2),quarterHoverState=_useState6[0],setQuarterHoverState=_useState6[1],handleHover=function(str){var type=1=parseInt(period.id,10),handleHover:handleHover,handleBlur:handleBlur,handleSelection:handleSelection,toggleTooltip:function toggleTooltip(){}}))}))))}return react_default.a.createElement("li",{className:"usa-dt-quarter-picker__list-item",key:Object(lodash.uniqueId)()},react_default.a.createElement(quarterPicker_QuarterButton,{quarter:quarterNumberAsString,disabled:disabledQuarters.includes(quarterNumberAsString),active:void 0!==_ref$isCumulative&&_ref$isCumulative?isIdOrGreaterInArray(quarterNumberAsString,selectedQuarters)||parseInt(quarterHoverState,10)>=quarterNumber:selectedQuarters.includes(quarterNumberAsString)||quarterHoverState===quarterNumberAsString,handleSelection:handleSelection,handleHover:handleHover,handleBlur:handleBlur,toggleTooltip:function toggleTooltip(){}}))}))}()))};QuarterPicker.displayName="QuarterPicker",QuarterPicker.propTypes=QuarterPicker_propTypes,QuarterPicker.__docgenInfo={description:"",methods:[],displayName:"QuarterPicker",props:{disabledQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},disabledPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},periodsPerQuarter:{defaultValue:{value:"[\n [\n { title: '1 - 2', id: '2', className: 'double-period' },\n { title: '3', id: '3' }\n ],\n [\n { title: '4', id: '4' },\n { title: '5', id: '5' },\n { title: '6', id: '6' }\n ],\n [\n { title: '7', id: '7' },\n { title: '8', id: '8' },\n { title: '9', id: '9' }\n ],\n [\n { title: '10', id: '10' },\n { title: '11', id: '11' },\n { title: '12', id: '12' }\n ]\n]",computed:!1},type:{name:"arrayOf",value:{name:"arrayOf",value:{name:"shape",value:{title:{name:"string",required:!1},id:{name:"string",required:!1}}}}},required:!1,description:""},selectedQuarters:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},selectedPeriods:{defaultValue:{value:"[]",computed:!1},type:{name:"arrayOf",value:{name:"string"}},required:!1,description:""},showPeriods:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},isCumulative:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},handleSelection:{type:{name:"func"},required:!1,description:""}}};__webpack_exports__.a=QuarterPicker;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/quarterPicker/QuarterPicker.jsx"]={name:"QuarterPicker",docgenInfo:QuarterPicker.__docgenInfo,path:"components/quarterPicker/QuarterPicker.jsx"})}},[[449,1,2]]]); +//# sourceMappingURL=main.0d34792f748d2b6cd4f9.bundle.js.map \ No newline at end of file diff --git a/docs/main.0d34792f748d2b6cd4f9.bundle.js.map b/docs/main.0d34792f748d2b6cd4f9.bundle.js.map new file mode 100644 index 00000000..c9d513ae --- /dev/null +++ b/docs/main.0d34792f748d2b6cd4f9.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"main.0d34792f748d2b6cd4f9.bundle.js","sources":["webpack:///main.0d34792f748d2b6cd4f9.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/docs/main.aba3732430a22714413b.bundle.js.map b/docs/main.aba3732430a22714413b.bundle.js.map deleted file mode 100644 index 786f1546..00000000 --- a/docs/main.aba3732430a22714413b.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.aba3732430a22714413b.bundle.js","sources":["webpack:///main.aba3732430a22714413b.bundle.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/docs/runtime~main.aba3732430a22714413b.bundle.js b/docs/runtime~main.0d34792f748d2b6cd4f9.bundle.js similarity index 97% rename from docs/runtime~main.aba3732430a22714413b.bundle.js rename to docs/runtime~main.0d34792f748d2b6cd4f9.bundle.js index 5ebe2167..d2e3f98a 100644 --- a/docs/runtime~main.aba3732430a22714413b.bundle.js +++ b/docs/runtime~main.0d34792f748d2b6cd4f9.bundle.js @@ -1,2 +1,2 @@ !function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];i":">",'"':""","'":"'","/":"/"},matchHTML=doNotSkipEncoded?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(code){return code?code.toString().replace(matchHTML,(function(m){return encodeHTMLRules[m]||m})):""}},void 0!==module&&module.exports?module.exports=doT:void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return doT}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__);var startend={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},skip=/$^/;function unescape(code){return code.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}doT.template=function(tmpl,c,def){var needhtmlencode,indv,cse=(c=c||doT.templateSettings).append?startend.append:startend.split,sid=0,str=c.use||c.define?function resolveDefs(c,block,def){return("string"==typeof block?block:block.toString()).replace(c.define||skip,(function(m,code,assign,value){return 0===code.indexOf("def.")&&(code=code.substring(4)),code in def||(":"===assign?(c.defineParams&&value.replace(c.defineParams,(function(m,param,v){def[code]={arg:param,text:v}})),code in def||(def[code]=value)):new Function("def","def['"+code+"']="+value)(def)),""})).replace(c.use||skip,(function(m,code){c.useParams&&(code=code.replace(c.useParams,(function(m,s,d,param){if(def[d]&&def[d].arg&¶m){var rw=(d+":"+param).replace(/'|\\/g,"_");return def.__exp=def.__exp||{},def.__exp[rw]=def[d].text.replace(new RegExp("(^|[^\\w$])"+def[d].arg+"([^\\w$])","g"),"$1"+param+"$2"),s+"def.__exp['"+rw+"']"}})));var v=new Function("def","return "+code)(def);return v?resolveDefs(c,v,def):v}))}(c,tmpl,def||{}):tmpl;str=("var out='"+(c.strip?str.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):str).replace(/'|\\/g,"\\$&").replace(c.interpolate||skip,(function(m,code){return cse.start+unescape(code)+cse.end})).replace(c.encode||skip,(function(m,code){return needhtmlencode=!0,cse.startencode+unescape(code)+cse.end})).replace(c.conditional||skip,(function(m,elsecase,code){return elsecase?code?"';}else if("+unescape(code)+"){out+='":"';}else{out+='":code?"';if("+unescape(code)+"){out+='":"';}out+='"})).replace(c.iterate||skip,(function(m,iterate,vname,iname){return iterate?(sid+=1,indv=iname||"i"+sid,iterate=unescape(iterate),"';var arr"+sid+"="+iterate+";if(arr"+sid+"){var "+vname+","+indv+"=-1,l"+sid+"=arr"+sid+".length-1;while("+indv+"=200&&status<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils.forEach(["delete","get","head"],(function forEachMethodNoData(method){defaults.headers[method]={}})),utils.forEach(["post","put","patch"],(function forEachMethodWithData(method){defaults.headers[method]=utils.merge(DEFAULT_CONTENT_TYPE)})),module.exports=defaults}).call(this,_dereq_("_process"))},{"./adapters/http":4,"./adapters/xhr":4,"./helpers/normalizeHeaderName":24,"./utils":27,_process:151}],18:[function(_dereq_,module,exports){"use strict";module.exports=function bind(fn,thisArg){return function wrap(){for(var args=new Array(arguments.length),i=0;i=0)return;parsed[key]="set-cookie"===key?(parsed[key]?parsed[key]:[]).concat([val]):parsed[key]?parsed[key]+", "+val:val}})),parsed):parsed}},{"./../utils":27}],26:[function(_dereq_,module,exports){"use strict";module.exports=function spread(callback){return function wrap(arr){return callback.apply(null,arr)}}},{}],27:[function(_dereq_,module,exports){"use strict";var bind=_dereq_("./helpers/bind"),isBuffer=_dereq_("is-buffer"),toString=Object.prototype.toString;function isArray(val){return"[object Array]"===toString.call(val)}function isObject(val){return null!==val&&"object"==typeof val}function isFunction(val){return"[object Function]"===toString.call(val)}function forEach(obj,fn){if(null!=obj)if("object"!=typeof obj&&(obj=[obj]),isArray(obj))for(var i=0,l=obj.length;i>1,rt=23===mantissaLength?pow(2,-24)-pow(2,-77):0,sign=number<0||0===number&&1/number<0?1:0,index=0;for((number=abs(number))!=number||number===1/0?(mantissa=number!=number?1:0,exponent=eMax):(exponent=floor(log(number)/LN2),number*(c=pow(2,-exponent))<1&&(exponent--,c*=2),(number+=exponent+eBias>=1?rt/c:rt*pow(2,1-eBias))*c>=2&&(exponent++,c/=2),exponent+eBias>=eMax?(mantissa=0,exponent=eMax):exponent+eBias>=1?(mantissa=(number*c-1)*pow(2,mantissaLength),exponent+=eBias):(mantissa=number*pow(2,eBias-1)*pow(2,mantissaLength),exponent=0));mantissaLength>=8;buffer[index++]=255&mantissa,mantissa/=256,mantissaLength-=8);for(exponent=exponent<0;buffer[index++]=255&exponent,exponent/=256,exponentLength-=8);return buffer[--index]|=128*sign,buffer},unpackIEEE754=function(buffer,mantissaLength){var mantissa,bytes=buffer.length,exponentLength=8*bytes-mantissaLength-1,eMax=(1<>1,nBits=exponentLength-7,index=bytes-1,sign=buffer[index--],exponent=127&sign;for(sign>>=7;nBits>0;exponent=256*exponent+buffer[index],index--,nBits-=8);for(mantissa=exponent&(1<<-nBits)-1,exponent>>=-nBits,nBits+=mantissaLength;nBits>0;mantissa=256*mantissa+buffer[index],index--,nBits-=8);if(0===exponent)exponent=1-eBias;else{if(exponent===eMax)return mantissa?NaN:sign?-1/0:1/0;mantissa+=pow(2,mantissaLength),exponent-=eBias}return(sign?-1:1)*mantissa*pow(2,exponent-mantissaLength)},unpackInt32=function(buffer){return buffer[3]<<24|buffer[2]<<16|buffer[1]<<8|buffer[0]},packInt8=function(number){return[255&number]},packInt16=function(number){return[255&number,number>>8&255]},packInt32=function(number){return[255&number,number>>8&255,number>>16&255,number>>24&255]},packFloat32=function(number){return packIEEE754(number,23,4)},packFloat64=function(number){return packIEEE754(number,52,8)},addGetter=function(Constructor,key){defineProperty(Constructor.prototype,key,{get:function(){return getInternalState(this)[key]}})},get=function(view,count,index,isLittleEndian){var intIndex=toIndex(+index),store=getInternalState(view);if(intIndex+count>store.byteLength)throw RangeError("Wrong index");var bytes=getInternalState(store.buffer).bytes,start=intIndex+store.byteOffset,pack=bytes.slice(start,start+count);return isLittleEndian?pack:pack.reverse()},set=function(view,count,index,conversion,value,isLittleEndian){var intIndex=toIndex(+index),store=getInternalState(view);if(intIndex+count>store.byteLength)throw RangeError("Wrong index");for(var bytes=getInternalState(store.buffer).bytes,start=intIndex+store.byteOffset,pack=conversion(+value),i=0;ij;)(key=keys[j++])in $ArrayBuffer||hide($ArrayBuffer,key,NativeArrayBuffer[key]);ArrayBufferPrototype.constructor=$ArrayBuffer}var testView=new $DataView(new $ArrayBuffer(2)),nativeSetInt8=$DataView.prototype.setInt8;testView.setInt8(0,2147483648),testView.setInt8(1,2147483649),!testView.getInt8(0)&&testView.getInt8(1)||redefineAll($DataView.prototype,{setInt8:function setInt8(byteOffset,value){nativeSetInt8.call(this,byteOffset,value<<24>>24)},setUint8:function setUint8(byteOffset,value){nativeSetInt8.call(this,byteOffset,value<<24>>24)}},{unsafe:!0})}else $ArrayBuffer=function ArrayBuffer(length){anInstance(this,$ArrayBuffer,"ArrayBuffer");var byteLength=toIndex(length);setInternalState(this,{bytes:arrayFill.call(new Array(byteLength),0),byteLength:byteLength}),DESCRIPTORS||(this.byteLength=byteLength)},$DataView=function DataView(buffer,byteOffset,byteLength){anInstance(this,$DataView,"DataView"),anInstance(buffer,$ArrayBuffer,"DataView");var bufferLength=getInternalState(buffer).byteLength,offset=toInteger(byteOffset);if(offset<0||offset>bufferLength)throw RangeError("Wrong offset");if(offset+(byteLength=void 0===byteLength?bufferLength-offset:toLength(byteLength))>bufferLength)throw RangeError("Wrong length");setInternalState(this,{buffer:buffer,byteLength:byteLength,byteOffset:offset}),DESCRIPTORS||(this.buffer=buffer,this.byteLength=byteLength,this.byteOffset=offset)},DESCRIPTORS&&(addGetter($ArrayBuffer,"byteLength"),addGetter($DataView,"buffer"),addGetter($DataView,"byteLength"),addGetter($DataView,"byteOffset")),redefineAll($DataView.prototype,{getInt8:function getInt8(byteOffset){return get(this,1,byteOffset)[0]<<24>>24},getUint8:function getUint8(byteOffset){return get(this,1,byteOffset)[0]},getInt16:function getInt16(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1?arguments[1]:void 0);return(bytes[1]<<8|bytes[0])<<16>>16},getUint16:function getUint16(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1?arguments[1]:void 0);return bytes[1]<<8|bytes[0]},getInt32:function getInt32(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1?arguments[1]:void 0))},getUint32:function getUint32(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function getFloat32(byteOffset){return unpackIEEE754(get(this,4,byteOffset,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function getFloat64(byteOffset){return unpackIEEE754(get(this,8,byteOffset,arguments.length>1?arguments[1]:void 0),52)},setInt8:function setInt8(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setUint8:function setUint8(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setInt16:function setInt16(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2?arguments[2]:void 0)},setUint16:function setUint16(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2?arguments[2]:void 0)},setInt32:function setInt32(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2?arguments[2]:void 0)},setUint32:function setUint32(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2?arguments[2]:void 0)},setFloat32:function setFloat32(byteOffset,value){set(this,4,byteOffset,packFloat32,value,arguments.length>2?arguments[2]:void 0)},setFloat64:function setFloat64(byteOffset,value){set(this,8,byteOffset,packFloat64,value,arguments.length>2?arguments[2]:void 0)}});setToStringTag($ArrayBuffer,"ArrayBuffer"),setToStringTag($DataView,"DataView"),exports.ArrayBuffer=$ArrayBuffer,exports.DataView=$DataView},{"../internals/an-instance":37,"../internals/array-buffer-view-core":39,"../internals/array-fill":42,"../internals/descriptors":57,"../internals/fails":61,"../internals/global":65,"../internals/hide":68,"../internals/internal-state":72,"../internals/object-define-property":84,"../internals/object-get-own-property-names":86,"../internals/redefine-all":96,"../internals/set-to-string-tag":101,"../internals/to-index":107,"../internals/to-integer":109,"../internals/to-length":110}],41:[function(_dereq_,module,exports){"use strict";var toObject=_dereq_("../internals/to-object"),toAbsoluteIndex=_dereq_("../internals/to-absolute-index"),toLength=_dereq_("../internals/to-length"),min=Math.min;module.exports=[].copyWithin||function copyWithin(target,start){var O=toObject(this),len=toLength(O.length),to=toAbsoluteIndex(target,len),from=toAbsoluteIndex(start,len),end=arguments.length>2?arguments[2]:void 0,count=min((void 0===end?len:toAbsoluteIndex(end,len))-from,len-to),inc=1;for(from0;)from in O?O[to]=O[from]:delete O[to],to+=inc,from+=inc;return O}},{"../internals/to-absolute-index":106,"../internals/to-length":110,"../internals/to-object":111}],42:[function(_dereq_,module,exports){"use strict";var toObject=_dereq_("../internals/to-object"),toAbsoluteIndex=_dereq_("../internals/to-absolute-index"),toLength=_dereq_("../internals/to-length");module.exports=function fill(value){for(var O=toObject(this),length=toLength(O.length),argumentsLength=arguments.length,index=toAbsoluteIndex(argumentsLength>1?arguments[1]:void 0,length),end=argumentsLength>2?arguments[2]:void 0,endPos=void 0===end?length:toAbsoluteIndex(end,length);endPos>index;)O[index++]=value;return O}},{"../internals/to-absolute-index":106,"../internals/to-length":110,"../internals/to-object":111}],43:[function(_dereq_,module,exports){var toIndexedObject=_dereq_("../internals/to-indexed-object"),toLength=_dereq_("../internals/to-length"),toAbsoluteIndex=_dereq_("../internals/to-absolute-index"),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIndexedObject($this),length=toLength(O.length),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},{"../internals/to-absolute-index":106,"../internals/to-indexed-object":108,"../internals/to-length":110}],44:[function(_dereq_,module,exports){var bind=_dereq_("../internals/bind-context"),IndexedObject=_dereq_("../internals/indexed-object"),toObject=_dereq_("../internals/to-object"),toLength=_dereq_("../internals/to-length"),arraySpeciesCreate=_dereq_("../internals/array-species-create"),push=[].push,createMethod=function(TYPE){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX;return function($this,callbackfn,that,specificCreate){for(var value,result,O=toObject($this),self=IndexedObject(O),boundFunction=bind(callbackfn,that,3),length=toLength(self.length),index=0,create=specificCreate||arraySpeciesCreate,target=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(result=boundFunction(value=self[index],index,O),TYPE))if(IS_MAP)target[index]=result;else if(result)switch(TYPE){case 3:return!0;case 5:return value;case 6:return index;case 2:push.call(target,value)}else if(IS_EVERY)return!1;return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:target}};module.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6)}},{"../internals/array-species-create":47,"../internals/bind-context":48,"../internals/indexed-object":71,"../internals/to-length":110,"../internals/to-object":111}],45:[function(_dereq_,module,exports){"use strict";var toIndexedObject=_dereq_("../internals/to-indexed-object"),toInteger=_dereq_("../internals/to-integer"),toLength=_dereq_("../internals/to-length"),sloppyArrayMethod=_dereq_("../internals/sloppy-array-method"),min=Math.min,nativeLastIndexOf=[].lastIndexOf,NEGATIVE_ZERO=!!nativeLastIndexOf&&1/[1].lastIndexOf(1,-0)<0,SLOPPY_METHOD=sloppyArrayMethod("lastIndexOf");module.exports=NEGATIVE_ZERO||SLOPPY_METHOD?function lastIndexOf(searchElement){if(NEGATIVE_ZERO)return nativeLastIndexOf.apply(this,arguments)||0;var O=toIndexedObject(this),length=toLength(O.length),index=length-1;for(arguments.length>1&&(index=min(index,toInteger(arguments[1]))),index<0&&(index=length+index);index>=0;index--)if(index in O&&O[index]===searchElement)return index||0;return-1}:nativeLastIndexOf},{"../internals/sloppy-array-method":104,"../internals/to-indexed-object":108,"../internals/to-integer":109,"../internals/to-length":110}],46:[function(_dereq_,module,exports){var aFunction=_dereq_("../internals/a-function"),toObject=_dereq_("../internals/to-object"),IndexedObject=_dereq_("../internals/indexed-object"),toLength=_dereq_("../internals/to-length"),createMethod=function(IS_RIGHT){return function(that,callbackfn,argumentsLength,memo){aFunction(callbackfn);var O=toObject(that),self=IndexedObject(O),length=toLength(O.length),index=IS_RIGHT?length-1:0,i=IS_RIGHT?-1:1;if(argumentsLength<2)for(;;){if(index in self){memo=self[index],index+=i;break}if(index+=i,IS_RIGHT?index<0:length<=index)throw TypeError("Reduce of empty array with no initial value")}for(;IS_RIGHT?index>=0:length>index;index+=i)index in self&&(memo=callbackfn(memo,self[index],index,O));return memo}};module.exports={left:createMethod(!1),right:createMethod(!0)}},{"../internals/a-function":34,"../internals/indexed-object":71,"../internals/to-length":110,"../internals/to-object":111}],47:[function(_dereq_,module,exports){var isObject=_dereq_("../internals/is-object"),isArray=_dereq_("../internals/is-array"),SPECIES=_dereq_("../internals/well-known-symbol")("species");module.exports=function(originalArray,length){var C;return isArray(originalArray)&&("function"!=typeof(C=originalArray.constructor)||C!==Array&&!isArray(C.prototype)?isObject(C)&&null===(C=C[SPECIES])&&(C=void 0):C=void 0),new(void 0===C?Array:C)(0===length?0:length)}},{"../internals/is-array":74,"../internals/is-object":76,"../internals/well-known-symbol":118}],48:[function(_dereq_,module,exports){var aFunction=_dereq_("../internals/a-function");module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 0:return function(){return fn.call(that)};case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},{"../internals/a-function":34}],49:[function(_dereq_,module,exports){var ITERATOR=_dereq_("../internals/well-known-symbol")("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(error){}module.exports=function(exec,SKIP_CLOSING){if(!SKIP_CLOSING&&!SAFE_CLOSING)return!1;var ITERATION_SUPPORT=!1;try{var object={};object[ITERATOR]=function(){return{next:function(){return{done:ITERATION_SUPPORT=!0}}}},exec(object)}catch(error){}return ITERATION_SUPPORT}},{"../internals/well-known-symbol":118}],50:[function(_dereq_,module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},{}],51:[function(_dereq_,module,exports){var classofRaw=_dereq_("../internals/classof-raw"),TO_STRING_TAG=_dereq_("../internals/well-known-symbol")("toStringTag"),CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}());module.exports=function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"==(result=classofRaw(O))&&"function"==typeof O.callee?"Arguments":result}},{"../internals/classof-raw":50,"../internals/well-known-symbol":118}],52:[function(_dereq_,module,exports){var has=_dereq_("../internals/has"),ownKeys=_dereq_("../internals/own-keys"),getOwnPropertyDescriptorModule=_dereq_("../internals/object-get-own-property-descriptor"),definePropertyModule=_dereq_("../internals/object-define-property");module.exports=function(target,source){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;idocument.F=Object<\/script>"),iframeDocument.close(),createDict=iframeDocument.F;length--;)delete createDict.prototype[enumBugKeys[length]];return createDict()};module.exports=Object.create||function create(O,Properties){var result;return null!==O?(Empty.prototype=anObject(O),result=new Empty,Empty.prototype=null,result[IE_PROTO]=O):result=createDict(),void 0===Properties?result:defineProperties(result,Properties)},hiddenKeys[IE_PROTO]=!0},{"../internals/an-object":38,"../internals/document-create-element":58,"../internals/enum-bug-keys":59,"../internals/hidden-keys":67,"../internals/html":69,"../internals/object-define-properties":83,"../internals/shared-key":102}],83:[function(_dereq_,module,exports){var DESCRIPTORS=_dereq_("../internals/descriptors"),definePropertyModule=_dereq_("../internals/object-define-property"),anObject=_dereq_("../internals/an-object"),objectKeys=_dereq_("../internals/object-keys");module.exports=DESCRIPTORS?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var key,keys=objectKeys(Properties),length=keys.length,index=0;length>index;)definePropertyModule.f(O,key=keys[index++],Properties[key]);return O}},{"../internals/an-object":38,"../internals/descriptors":57,"../internals/object-define-property":84,"../internals/object-keys":90}],84:[function(_dereq_,module,exports){var DESCRIPTORS=_dereq_("../internals/descriptors"),IE8_DOM_DEFINE=_dereq_("../internals/ie8-dom-define"),anObject=_dereq_("../internals/an-object"),toPrimitive=_dereq_("../internals/to-primitive"),nativeDefineProperty=Object.defineProperty;exports.f=DESCRIPTORS?nativeDefineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return nativeDefineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}},{"../internals/an-object":38,"../internals/descriptors":57,"../internals/ie8-dom-define":70,"../internals/to-primitive":113}],85:[function(_dereq_,module,exports){var DESCRIPTORS=_dereq_("../internals/descriptors"),propertyIsEnumerableModule=_dereq_("../internals/object-property-is-enumerable"),createPropertyDescriptor=_dereq_("../internals/create-property-descriptor"),toIndexedObject=_dereq_("../internals/to-indexed-object"),toPrimitive=_dereq_("../internals/to-primitive"),has=_dereq_("../internals/has"),IE8_DOM_DEFINE=_dereq_("../internals/ie8-dom-define"),nativeGetOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?nativeGetOwnPropertyDescriptor:function getOwnPropertyDescriptor(O,P){if(O=toIndexedObject(O),P=toPrimitive(P,!0),IE8_DOM_DEFINE)try{return nativeGetOwnPropertyDescriptor(O,P)}catch(error){}if(has(O,P))return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O,P),O[P])}},{"../internals/create-property-descriptor":55,"../internals/descriptors":57,"../internals/has":66,"../internals/ie8-dom-define":70,"../internals/object-property-is-enumerable":91,"../internals/to-indexed-object":108,"../internals/to-primitive":113}],86:[function(_dereq_,module,exports){var internalObjectKeys=_dereq_("../internals/object-keys-internal"),hiddenKeys=_dereq_("../internals/enum-bug-keys").concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return internalObjectKeys(O,hiddenKeys)}},{"../internals/enum-bug-keys":59,"../internals/object-keys-internal":89}],87:[function(_dereq_,module,exports){exports.f=Object.getOwnPropertySymbols},{}],88:[function(_dereq_,module,exports){var has=_dereq_("../internals/has"),toObject=_dereq_("../internals/to-object"),sharedKey=_dereq_("../internals/shared-key"),CORRECT_PROTOTYPE_GETTER=_dereq_("../internals/correct-prototype-getter"),IE_PROTO=sharedKey("IE_PROTO"),ObjectPrototype=Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?Object.getPrototypeOf:function(O){return O=toObject(O),has(O,IE_PROTO)?O[IE_PROTO]:"function"==typeof O.constructor&&O instanceof O.constructor?O.constructor.prototype:O instanceof Object?ObjectPrototype:null}},{"../internals/correct-prototype-getter":53,"../internals/has":66,"../internals/shared-key":102,"../internals/to-object":111}],89:[function(_dereq_,module,exports){var has=_dereq_("../internals/has"),toIndexedObject=_dereq_("../internals/to-indexed-object"),indexOf=_dereq_("../internals/array-includes").indexOf,hiddenKeys=_dereq_("../internals/hidden-keys");module.exports=function(object,names){var key,O=toIndexedObject(object),i=0,result=[];for(key in O)!has(hiddenKeys,key)&&has(O,key)&&result.push(key);for(;names.length>i;)has(O,key=names[i++])&&(~indexOf(result,key)||result.push(key));return result}},{"../internals/array-includes":43,"../internals/has":66,"../internals/hidden-keys":67,"../internals/to-indexed-object":108}],90:[function(_dereq_,module,exports){var internalObjectKeys=_dereq_("../internals/object-keys-internal"),enumBugKeys=_dereq_("../internals/enum-bug-keys");module.exports=Object.keys||function keys(O){return internalObjectKeys(O,enumBugKeys)}},{"../internals/enum-bug-keys":59,"../internals/object-keys-internal":89}],91:[function(_dereq_,module,exports){"use strict";var nativePropertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!nativePropertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function propertyIsEnumerable(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:nativePropertyIsEnumerable},{}],92:[function(_dereq_,module,exports){var anObject=_dereq_("../internals/an-object"),aPossiblePrototype=_dereq_("../internals/a-possible-prototype");module.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var setter,CORRECT_SETTER=!1,test={};try{(setter=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(test,[]),CORRECT_SETTER=test instanceof Array}catch(error){}return function setPrototypeOf(O,proto){return anObject(O),aPossiblePrototype(proto),CORRECT_SETTER?setter.call(O,proto):O.__proto__=proto,O}}():void 0)},{"../internals/a-possible-prototype":35,"../internals/an-object":38}],93:[function(_dereq_,module,exports){"use strict";var classof=_dereq_("../internals/classof"),test={};test[_dereq_("../internals/well-known-symbol")("toStringTag")]="z",module.exports="[object z]"!==String(test)?function toString(){return"[object "+classof(this)+"]"}:test.toString},{"../internals/classof":51,"../internals/well-known-symbol":118}],94:[function(_dereq_,module,exports){var getBuiltIn=_dereq_("../internals/get-built-in"),getOwnPropertyNamesModule=_dereq_("../internals/object-get-own-property-names"),getOwnPropertySymbolsModule=_dereq_("../internals/object-get-own-property-symbols"),anObject=_dereq_("../internals/an-object");module.exports=getBuiltIn("Reflect","ownKeys")||function ownKeys(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?keys.concat(getOwnPropertySymbols(it)):keys}},{"../internals/an-object":38,"../internals/get-built-in":63,"../internals/object-get-own-property-names":86,"../internals/object-get-own-property-symbols":87}],95:[function(_dereq_,module,exports){module.exports=_dereq_("../internals/global")},{"../internals/global":65}],96:[function(_dereq_,module,exports){var redefine=_dereq_("../internals/redefine");module.exports=function(target,src,options){for(var key in src)redefine(target,key,src[key],options);return target}},{"../internals/redefine":97}],97:[function(_dereq_,module,exports){var global=_dereq_("../internals/global"),shared=_dereq_("../internals/shared"),hide=_dereq_("../internals/hide"),has=_dereq_("../internals/has"),setGlobal=_dereq_("../internals/set-global"),nativeFunctionToString=_dereq_("../internals/function-to-string"),InternalStateModule=_dereq_("../internals/internal-state"),getInternalState=InternalStateModule.get,enforceInternalState=InternalStateModule.enforce,TEMPLATE=String(nativeFunctionToString).split("toString");shared("inspectSource",(function(it){return nativeFunctionToString.call(it)})),(module.exports=function(O,key,value,options){var unsafe=!!options&&!!options.unsafe,simple=!!options&&!!options.enumerable,noTargetGet=!!options&&!!options.noTargetGet;"function"==typeof value&&("string"!=typeof key||has(value,"name")||hide(value,"name",key),enforceInternalState(value).source=TEMPLATE.join("string"==typeof key?key:"")),O!==global?(unsafe?!noTargetGet&&O[key]&&(simple=!0):delete O[key],simple?O[key]=value:hide(O,key,value)):simple?O[key]=value:setGlobal(key,value)})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&getInternalState(this).source||nativeFunctionToString.call(this)}))},{"../internals/function-to-string":62,"../internals/global":65,"../internals/has":66,"../internals/hide":68,"../internals/internal-state":72,"../internals/set-global":99,"../internals/shared":103}],98:[function(_dereq_,module,exports){module.exports=function(it){if(null==it)throw TypeError("Can't call method on "+it);return it}},{}],99:[function(_dereq_,module,exports){var global=_dereq_("../internals/global"),hide=_dereq_("../internals/hide");module.exports=function(key,value){try{hide(global,key,value)}catch(error){global[key]=value}return value}},{"../internals/global":65,"../internals/hide":68}],100:[function(_dereq_,module,exports){"use strict";var getBuiltIn=_dereq_("../internals/get-built-in"),definePropertyModule=_dereq_("../internals/object-define-property"),wellKnownSymbol=_dereq_("../internals/well-known-symbol"),DESCRIPTORS=_dereq_("../internals/descriptors"),SPECIES=wellKnownSymbol("species");module.exports=function(CONSTRUCTOR_NAME){var Constructor=getBuiltIn(CONSTRUCTOR_NAME),defineProperty=definePropertyModule.f;DESCRIPTORS&&Constructor&&!Constructor[SPECIES]&&defineProperty(Constructor,SPECIES,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":57,"../internals/get-built-in":63,"../internals/object-define-property":84,"../internals/well-known-symbol":118}],101:[function(_dereq_,module,exports){var defineProperty=_dereq_("../internals/object-define-property").f,has=_dereq_("../internals/has"),TO_STRING_TAG=_dereq_("../internals/well-known-symbol")("toStringTag");module.exports=function(it,TAG,STATIC){it&&!has(it=STATIC?it:it.prototype,TO_STRING_TAG)&&defineProperty(it,TO_STRING_TAG,{configurable:!0,value:TAG})}},{"../internals/has":66,"../internals/object-define-property":84,"../internals/well-known-symbol":118}],102:[function(_dereq_,module,exports){var shared=_dereq_("../internals/shared"),uid=_dereq_("../internals/uid"),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}},{"../internals/shared":103,"../internals/uid":117}],103:[function(_dereq_,module,exports){var global=_dereq_("../internals/global"),setGlobal=_dereq_("../internals/set-global"),IS_PURE=_dereq_("../internals/is-pure"),store=global["__core-js_shared__"]||setGlobal("__core-js_shared__",{});(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:"3.2.1",mode:IS_PURE?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},{"../internals/global":65,"../internals/is-pure":77,"../internals/set-global":99}],104:[function(_dereq_,module,exports){"use strict";var fails=_dereq_("../internals/fails");module.exports=function(METHOD_NAME,argument){var method=[][METHOD_NAME];return!method||!fails((function(){method.call(null,argument||function(){throw 1},1)}))}},{"../internals/fails":61}],105:[function(_dereq_,module,exports){var anObject=_dereq_("../internals/an-object"),aFunction=_dereq_("../internals/a-function"),SPECIES=_dereq_("../internals/well-known-symbol")("species");module.exports=function(O,defaultConstructor){var S,C=anObject(O).constructor;return void 0===C||null==(S=anObject(C)[SPECIES])?defaultConstructor:aFunction(S)}},{"../internals/a-function":34,"../internals/an-object":38,"../internals/well-known-symbol":118}],106:[function(_dereq_,module,exports){var toInteger=_dereq_("../internals/to-integer"),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toInteger(index);return integer<0?max(integer+length,0):min(integer,length)}},{"../internals/to-integer":109}],107:[function(_dereq_,module,exports){var toInteger=_dereq_("../internals/to-integer"),toLength=_dereq_("../internals/to-length");module.exports=function(it){if(void 0===it)return 0;var number=toInteger(it),length=toLength(number);if(number!==length)throw RangeError("Wrong length or index");return length}},{"../internals/to-integer":109,"../internals/to-length":110}],108:[function(_dereq_,module,exports){var IndexedObject=_dereq_("../internals/indexed-object"),requireObjectCoercible=_dereq_("../internals/require-object-coercible");module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}},{"../internals/indexed-object":71,"../internals/require-object-coercible":98}],109:[function(_dereq_,module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(argument){return isNaN(argument=+argument)?0:(argument>0?floor:ceil)(argument)}},{}],110:[function(_dereq_,module,exports){var toInteger=_dereq_("../internals/to-integer"),min=Math.min;module.exports=function(argument){return argument>0?min(toInteger(argument),9007199254740991):0}},{"../internals/to-integer":109}],111:[function(_dereq_,module,exports){var requireObjectCoercible=_dereq_("../internals/require-object-coercible");module.exports=function(argument){return Object(requireObjectCoercible(argument))}},{"../internals/require-object-coercible":98}],112:[function(_dereq_,module,exports){var toInteger=_dereq_("../internals/to-integer");module.exports=function(it,BYTES){var offset=toInteger(it);if(offset<0||offset%BYTES)throw RangeError("Wrong offset");return offset}},{"../internals/to-integer":109}],113:[function(_dereq_,module,exports){var isObject=_dereq_("../internals/is-object");module.exports=function(input,PREFERRED_STRING){if(!isObject(input))return input;var fn,val;if(PREFERRED_STRING&&"function"==typeof(fn=input.toString)&&!isObject(val=fn.call(input)))return val;if("function"==typeof(fn=input.valueOf)&&!isObject(val=fn.call(input)))return val;if(!PREFERRED_STRING&&"function"==typeof(fn=input.toString)&&!isObject(val=fn.call(input)))return val;throw TypeError("Can't convert object to primitive value")}},{"../internals/is-object":76}],114:[function(_dereq_,module,exports){"use strict";var $=_dereq_("../internals/export"),global=_dereq_("../internals/global"),DESCRIPTORS=_dereq_("../internals/descriptors"),TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS=_dereq_("../internals/typed-arrays-constructors-requires-wrappers"),ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),ArrayBufferModule=_dereq_("../internals/array-buffer"),anInstance=_dereq_("../internals/an-instance"),createPropertyDescriptor=_dereq_("../internals/create-property-descriptor"),hide=_dereq_("../internals/hide"),toLength=_dereq_("../internals/to-length"),toIndex=_dereq_("../internals/to-index"),toOffset=_dereq_("../internals/to-offset"),toPrimitive=_dereq_("../internals/to-primitive"),has=_dereq_("../internals/has"),classof=_dereq_("../internals/classof"),isObject=_dereq_("../internals/is-object"),create=_dereq_("../internals/object-create"),setPrototypeOf=_dereq_("../internals/object-set-prototype-of"),getOwnPropertyNames=_dereq_("../internals/object-get-own-property-names").f,typedArrayFrom=_dereq_("../internals/typed-array-from"),forEach=_dereq_("../internals/array-iteration").forEach,setSpecies=_dereq_("../internals/set-species"),definePropertyModule=_dereq_("../internals/object-define-property"),getOwnPropertyDescriptorModule=_dereq_("../internals/object-get-own-property-descriptor"),InternalStateModule=_dereq_("../internals/internal-state"),getInternalState=InternalStateModule.get,setInternalState=InternalStateModule.set,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,round=Math.round,RangeError=global.RangeError,ArrayBuffer=ArrayBufferModule.ArrayBuffer,DataView=ArrayBufferModule.DataView,NATIVE_ARRAY_BUFFER_VIEWS=ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS,TYPED_ARRAY_TAG=ArrayBufferViewCore.TYPED_ARRAY_TAG,TypedArray=ArrayBufferViewCore.TypedArray,TypedArrayPrototype=ArrayBufferViewCore.TypedArrayPrototype,aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor,isTypedArray=ArrayBufferViewCore.isTypedArray,fromList=function(C,list){for(var index=0,length=list.length,result=new(aTypedArrayConstructor(C))(length);length>index;)result[index]=list[index++];return result},addGetter=function(it,key){nativeDefineProperty(it,key,{get:function(){return getInternalState(this)[key]}})},isArrayBuffer=function(it){var klass;return it instanceof ArrayBuffer||"ArrayBuffer"==(klass=classof(it))||"SharedArrayBuffer"==klass},isTypedArrayIndex=function(target,key){return isTypedArray(target)&&"symbol"!=typeof key&&key in target&&String(+key)==String(key)},wrappedGetOwnPropertyDescriptor=function getOwnPropertyDescriptor(target,key){return isTypedArrayIndex(target,key=toPrimitive(key,!0))?createPropertyDescriptor(2,target[key]):nativeGetOwnPropertyDescriptor(target,key)},wrappedDefineProperty=function defineProperty(target,key,descriptor){return!(isTypedArrayIndex(target,key=toPrimitive(key,!0))&&isObject(descriptor)&&has(descriptor,"value"))||has(descriptor,"get")||has(descriptor,"set")||descriptor.configurable||has(descriptor,"writable")&&!descriptor.writable||has(descriptor,"enumerable")&&!descriptor.enumerable?nativeDefineProperty(target,key,descriptor):(target[key]=descriptor.value,target)};DESCRIPTORS?(NATIVE_ARRAY_BUFFER_VIEWS||(getOwnPropertyDescriptorModule.f=wrappedGetOwnPropertyDescriptor,definePropertyModule.f=wrappedDefineProperty,addGetter(TypedArrayPrototype,"buffer"),addGetter(TypedArrayPrototype,"byteOffset"),addGetter(TypedArrayPrototype,"byteLength"),addGetter(TypedArrayPrototype,"length")),$({target:"Object",stat:!0,forced:!NATIVE_ARRAY_BUFFER_VIEWS},{getOwnPropertyDescriptor:wrappedGetOwnPropertyDescriptor,defineProperty:wrappedDefineProperty}),module.exports=function(TYPE,BYTES,wrapper,CLAMPED){var CONSTRUCTOR_NAME=TYPE+(CLAMPED?"Clamped":"")+"Array",GETTER="get"+TYPE,SETTER="set"+TYPE,NativeTypedArrayConstructor=global[CONSTRUCTOR_NAME],TypedArrayConstructor=NativeTypedArrayConstructor,TypedArrayConstructorPrototype=TypedArrayConstructor&&TypedArrayConstructor.prototype,exported={},addElement=function(that,index){nativeDefineProperty(that,index,{get:function(){return function(that,index){var data=getInternalState(that);return data.view[GETTER](index*BYTES+data.byteOffset,!0)}(this,index)},set:function(value){return function(that,index,value){var data=getInternalState(that);CLAMPED&&(value=(value=round(value))<0?0:value>255?255:255&value),data.view[SETTER](index*BYTES+data.byteOffset,value,!0)}(this,index,value)},enumerable:!0})};NATIVE_ARRAY_BUFFER_VIEWS?TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS&&(TypedArrayConstructor=wrapper((function(dummy,data,typedArrayOffset,$length){return anInstance(dummy,TypedArrayConstructor,CONSTRUCTOR_NAME),isObject(data)?isArrayBuffer(data)?void 0!==$length?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES),$length):void 0!==typedArrayOffset?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES)):new NativeTypedArrayConstructor(data):isTypedArray(data)?fromList(TypedArrayConstructor,data):typedArrayFrom.call(TypedArrayConstructor,data):new NativeTypedArrayConstructor(toIndex(data))})),setPrototypeOf&&setPrototypeOf(TypedArrayConstructor,TypedArray),forEach(getOwnPropertyNames(NativeTypedArrayConstructor),(function(key){key in TypedArrayConstructor||hide(TypedArrayConstructor,key,NativeTypedArrayConstructor[key])})),TypedArrayConstructor.prototype=TypedArrayConstructorPrototype):(TypedArrayConstructor=wrapper((function(that,data,offset,$length){anInstance(that,TypedArrayConstructor,CONSTRUCTOR_NAME);var buffer,byteLength,length,index=0,byteOffset=0;if(isObject(data)){if(!isArrayBuffer(data))return isTypedArray(data)?fromList(TypedArrayConstructor,data):typedArrayFrom.call(TypedArrayConstructor,data);buffer=data,byteOffset=toOffset(offset,BYTES);var $len=data.byteLength;if(void 0===$length){if($len%BYTES)throw RangeError("Wrong length");if((byteLength=$len-byteOffset)<0)throw RangeError("Wrong length")}else if((byteLength=toLength($length)*BYTES)+byteOffset>$len)throw RangeError("Wrong length");length=byteLength/BYTES}else length=toIndex(data),buffer=new ArrayBuffer(byteLength=length*BYTES);for(setInternalState(that,{buffer:buffer,byteOffset:byteOffset,byteLength:byteLength,length:length,view:new DataView(buffer)});index1?arguments[1]:void 0,mapping=void 0!==mapfn,iteratorMethod=getIteratorMethod(O);if(null!=iteratorMethod&&!isArrayIteratorMethod(iteratorMethod))for(iterator=iteratorMethod.call(O),O=[];!(step=iterator.next()).done;)O.push(step.value);for(mapping&&argumentsLength>2&&(mapfn=bind(mapfn,arguments[2],2)),length=toLength(O.length),result=new(aTypedArrayConstructor(this))(length),i=0;length>i;i++)result[i]=mapping?mapfn(O[i],i):O[i];return result}},{"../internals/array-buffer-view-core":39,"../internals/bind-context":48,"../internals/get-iterator-method":64,"../internals/is-array-iterator-method":73,"../internals/to-length":110,"../internals/to-object":111}],116:[function(_dereq_,module,exports){var global=_dereq_("../internals/global"),fails=_dereq_("../internals/fails"),checkCorrectnessOfIteration=_dereq_("../internals/check-correctness-of-iteration"),NATIVE_ARRAY_BUFFER_VIEWS=_dereq_("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,ArrayBuffer=global.ArrayBuffer,Int8Array=global.Int8Array;module.exports=!NATIVE_ARRAY_BUFFER_VIEWS||!fails((function(){Int8Array(1)}))||!fails((function(){new Int8Array(-1)}))||!checkCorrectnessOfIteration((function(iterable){new Int8Array,new Int8Array(null),new Int8Array(1.5),new Int8Array(iterable)}),!0)||fails((function(){return 1!==new Int8Array(new ArrayBuffer(2),1,void 0).length}))},{"../internals/array-buffer-view-core":39,"../internals/check-correctness-of-iteration":49,"../internals/fails":61,"../internals/global":65}],117:[function(_dereq_,module,exports){var id=0,postfix=Math.random();module.exports=function(key){return"Symbol("+String(void 0===key?"":key)+")_"+(++id+postfix).toString(36)}},{}],118:[function(_dereq_,module,exports){var global=_dereq_("../internals/global"),shared=_dereq_("../internals/shared"),uid=_dereq_("../internals/uid"),NATIVE_SYMBOL=_dereq_("../internals/native-symbol"),Symbol=global.Symbol,store=shared("wks");module.exports=function(name){return store[name]||(store[name]=NATIVE_SYMBOL&&Symbol[name]||(NATIVE_SYMBOL?Symbol:uid)("Symbol."+name))}},{"../internals/global":65,"../internals/native-symbol":80,"../internals/shared":103,"../internals/uid":117}],119:[function(_dereq_,module,exports){"use strict";var toIndexedObject=_dereq_("../internals/to-indexed-object"),addToUnscopables=_dereq_("../internals/add-to-unscopables"),Iterators=_dereq_("../internals/iterators"),InternalStateModule=_dereq_("../internals/internal-state"),defineIterator=_dereq_("../internals/define-iterator"),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Array Iterator");module.exports=defineIterator(Array,"Array",(function(iterated,kind){setInternalState(this,{type:"Array Iterator",target:toIndexedObject(iterated),index:0,kind:kind})}),(function(){var state=getInternalState(this),target=state.target,kind=state.kind,index=state.index++;return!target||index>=target.length?(state.target=void 0,{value:void 0,done:!0}):"keys"==kind?{value:index,done:!1}:"values"==kind?{value:target[index],done:!1}:{value:[index,target[index]],done:!1}}),"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},{"../internals/add-to-unscopables":36,"../internals/define-iterator":56,"../internals/internal-state":72,"../internals/iterators":79,"../internals/to-indexed-object":108}],120:[function(_dereq_,module,exports){var redefine=_dereq_("../internals/redefine"),toString=_dereq_("../internals/object-to-string"),ObjectPrototype=Object.prototype;toString!==ObjectPrototype.toString&&redefine(ObjectPrototype,"toString",toString,{unsafe:!0})},{"../internals/object-to-string":93,"../internals/redefine":97}],121:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$copyWithin=_dereq_("../internals/array-copy-within"),aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("copyWithin",(function copyWithin(target,start){return $copyWithin.call(aTypedArray(this),target,start,arguments.length>2?arguments[2]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-copy-within":41}],122:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$every=_dereq_("../internals/array-iteration").every,aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("every",(function every(callbackfn){return $every(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-iteration":44}],123:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$fill=_dereq_("../internals/array-fill"),aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("fill",(function fill(value){return $fill.apply(aTypedArray(this),arguments)}))},{"../internals/array-buffer-view-core":39,"../internals/array-fill":42}],124:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$filter=_dereq_("../internals/array-iteration").filter,speciesConstructor=_dereq_("../internals/species-constructor"),aTypedArray=ArrayBufferViewCore.aTypedArray,aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor;ArrayBufferViewCore.exportProto("filter",(function filter(callbackfn){for(var list=$filter(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0),C=speciesConstructor(this,this.constructor),index=0,length=list.length,result=new(aTypedArrayConstructor(C))(length);length>index;)result[index]=list[index++];return result}))},{"../internals/array-buffer-view-core":39,"../internals/array-iteration":44,"../internals/species-constructor":105}],125:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$findIndex=_dereq_("../internals/array-iteration").findIndex,aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("findIndex",(function findIndex(predicate){return $findIndex(aTypedArray(this),predicate,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-iteration":44}],126:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$find=_dereq_("../internals/array-iteration").find,aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("find",(function find(predicate){return $find(aTypedArray(this),predicate,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-iteration":44}],127:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$forEach=_dereq_("../internals/array-iteration").forEach,aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("forEach",(function forEach(callbackfn){$forEach(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-iteration":44}],128:[function(_dereq_,module,exports){"use strict";var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS=_dereq_("../internals/typed-arrays-constructors-requires-wrappers"),ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),typedArrayFrom=_dereq_("../internals/typed-array-from");ArrayBufferViewCore.exportStatic("from",typedArrayFrom,TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS)},{"../internals/array-buffer-view-core":39,"../internals/typed-array-from":115,"../internals/typed-arrays-constructors-requires-wrappers":116}],129:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$includes=_dereq_("../internals/array-includes").includes,aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("includes",(function includes(searchElement){return $includes(aTypedArray(this),searchElement,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-includes":43}],130:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$indexOf=_dereq_("../internals/array-includes").indexOf,aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("indexOf",(function indexOf(searchElement){return $indexOf(aTypedArray(this),searchElement,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-includes":43}],131:[function(_dereq_,module,exports){"use strict";var global=_dereq_("../internals/global"),ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),ArrayIterators=_dereq_("../modules/es.array.iterator"),ITERATOR=_dereq_("../internals/well-known-symbol")("iterator"),Uint8Array=global.Uint8Array,arrayValues=ArrayIterators.values,arrayKeys=ArrayIterators.keys,arrayEntries=ArrayIterators.entries,aTypedArray=ArrayBufferViewCore.aTypedArray,exportProto=ArrayBufferViewCore.exportProto,nativeTypedArrayIterator=Uint8Array&&Uint8Array.prototype[ITERATOR],CORRECT_ITER_NAME=!!nativeTypedArrayIterator&&("values"==nativeTypedArrayIterator.name||null==nativeTypedArrayIterator.name),typedArrayValues=function values(){return arrayValues.call(aTypedArray(this))};exportProto("entries",(function entries(){return arrayEntries.call(aTypedArray(this))})),exportProto("keys",(function keys(){return arrayKeys.call(aTypedArray(this))})),exportProto("values",typedArrayValues,!CORRECT_ITER_NAME),exportProto(ITERATOR,typedArrayValues,!CORRECT_ITER_NAME)},{"../internals/array-buffer-view-core":39,"../internals/global":65,"../internals/well-known-symbol":118,"../modules/es.array.iterator":119}],132:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),aTypedArray=ArrayBufferViewCore.aTypedArray,$join=[].join;ArrayBufferViewCore.exportProto("join",(function join(separator){return $join.apply(aTypedArray(this),arguments)}))},{"../internals/array-buffer-view-core":39}],133:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$lastIndexOf=_dereq_("../internals/array-last-index-of"),aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("lastIndexOf",(function lastIndexOf(searchElement){return $lastIndexOf.apply(aTypedArray(this),arguments)}))},{"../internals/array-buffer-view-core":39,"../internals/array-last-index-of":45}],134:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$map=_dereq_("../internals/array-iteration").map,speciesConstructor=_dereq_("../internals/species-constructor"),aTypedArray=ArrayBufferViewCore.aTypedArray,aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor;ArrayBufferViewCore.exportProto("map",(function map(mapfn){return $map(aTypedArray(this),mapfn,arguments.length>1?arguments[1]:void 0,(function(O,length){return new(aTypedArrayConstructor(speciesConstructor(O,O.constructor)))(length)}))}))},{"../internals/array-buffer-view-core":39,"../internals/array-iteration":44,"../internals/species-constructor":105}],135:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS=_dereq_("../internals/typed-arrays-constructors-requires-wrappers"),aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor;ArrayBufferViewCore.exportStatic("of",(function of(){for(var index=0,length=arguments.length,result=new(aTypedArrayConstructor(this))(length);length>index;)result[index]=arguments[index++];return result}),TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS)},{"../internals/array-buffer-view-core":39,"../internals/typed-arrays-constructors-requires-wrappers":116}],136:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$reduceRight=_dereq_("../internals/array-reduce").right,aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("reduceRight",(function reduceRight(callbackfn){return $reduceRight(aTypedArray(this),callbackfn,arguments.length,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-reduce":46}],137:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$reduce=_dereq_("../internals/array-reduce").left,aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("reduce",(function reduce(callbackfn){return $reduce(aTypedArray(this),callbackfn,arguments.length,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-reduce":46}],138:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),aTypedArray=ArrayBufferViewCore.aTypedArray,floor=Math.floor;ArrayBufferViewCore.exportProto("reverse",(function reverse(){for(var value,length=aTypedArray(this).length,middle=floor(length/2),index=0;index1?arguments[1]:void 0,1),length=this.length,src=toObject(arrayLike),len=toLength(src.length),index=0;if(len+offset>length)throw RangeError("Wrong length");for(;indexindex;)result[index]=list[index++];return result}),FORCED)},{"../internals/array-buffer-view-core":39,"../internals/fails":61,"../internals/species-constructor":105}],141:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),$some=_dereq_("../internals/array-iteration").some,aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("some",(function some(callbackfn){return $some(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":39,"../internals/array-iteration":44}],142:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),aTypedArray=ArrayBufferViewCore.aTypedArray,$sort=[].sort;ArrayBufferViewCore.exportProto("sort",(function sort(comparefn){return $sort.call(aTypedArray(this),comparefn)}))},{"../internals/array-buffer-view-core":39}],143:[function(_dereq_,module,exports){"use strict";var ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),toLength=_dereq_("../internals/to-length"),toAbsoluteIndex=_dereq_("../internals/to-absolute-index"),speciesConstructor=_dereq_("../internals/species-constructor"),aTypedArray=ArrayBufferViewCore.aTypedArray;ArrayBufferViewCore.exportProto("subarray",(function subarray(begin,end){var O=aTypedArray(this),length=O.length,beginIndex=toAbsoluteIndex(begin,length);return new(speciesConstructor(O,O.constructor))(O.buffer,O.byteOffset+beginIndex*O.BYTES_PER_ELEMENT,toLength((void 0===end?length:toAbsoluteIndex(end,length))-beginIndex))}))},{"../internals/array-buffer-view-core":39,"../internals/species-constructor":105,"../internals/to-absolute-index":106,"../internals/to-length":110}],144:[function(_dereq_,module,exports){"use strict";var global=_dereq_("../internals/global"),ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),fails=_dereq_("../internals/fails"),Int8Array=global.Int8Array,aTypedArray=ArrayBufferViewCore.aTypedArray,$toLocaleString=[].toLocaleString,$slice=[].slice,TO_LOCALE_STRING_BUG=!!Int8Array&&fails((function(){$toLocaleString.call(new Int8Array(1))})),FORCED=fails((function(){return[1,2].toLocaleString()!=new Int8Array([1,2]).toLocaleString()}))||!fails((function(){Int8Array.prototype.toLocaleString.call([1,2])}));ArrayBufferViewCore.exportProto("toLocaleString",(function toLocaleString(){return $toLocaleString.apply(TO_LOCALE_STRING_BUG?$slice.call(aTypedArray(this)):aTypedArray(this),arguments)}),FORCED)},{"../internals/array-buffer-view-core":39,"../internals/fails":61,"../internals/global":65}],145:[function(_dereq_,module,exports){"use strict";var global=_dereq_("../internals/global"),ArrayBufferViewCore=_dereq_("../internals/array-buffer-view-core"),fails=_dereq_("../internals/fails"),Uint8Array=global.Uint8Array,Uint8ArrayPrototype=Uint8Array&&Uint8Array.prototype,arrayToString=[].toString,arrayJoin=[].join;fails((function(){arrayToString.call({})}))&&(arrayToString=function toString(){return arrayJoin.call(this)}),ArrayBufferViewCore.exportProto("toString",arrayToString,(Uint8ArrayPrototype||{}).toString!=arrayToString)},{"../internals/array-buffer-view-core":39,"../internals/fails":61,"../internals/global":65}],146:[function(_dereq_,module,exports){_dereq_("../internals/typed-array-constructor")("Uint32",4,(function(init){return function Uint32Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},{"../internals/typed-array-constructor":114}],147:[function(_dereq_,module,exports){module.exports={CssSelectorParser:_dereq_("./lib/css-selector-parser.js").CssSelectorParser}},{"./lib/css-selector-parser.js":148}],148:[function(_dereq_,module,exports){function CssSelectorParser(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}function isHex(c){return c>="a"&&c<="f"||c>="A"&&c<="F"||c>="0"&&c<="9"}CssSelectorParser.prototype.registerSelectorPseudos=function(name){for(var j=0,len=arguments.length;j":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'};function ParseContext(str,pos,pseudos,attrEqualityMods,ruleNestingOperators,substitutesEnabled){var chr,getIdent,getStr,l,skipWhitespace;return l=str.length,chr=null,getStr=function(quote,escapeTable){var esc,hex,result;for(result="",pos++,chr=str.charAt(pos);pos="a"&&c<="z"||c>="A"&&c<="Z"||c>="0"&&c<="9"||"-"===c||"_"===c)result+=chr;else{if("\\"!==chr)return result;if(++pos>=l)throw Error("Expected symbol but end of file reached.");if(chr=str.charAt(pos),identSpecialChars[chr])result+=chr;else{if(isHex(chr)){var hex=chr;for(pos++,chr=str.charAt(pos);isHex(chr);)hex+=chr,pos++,chr=str.charAt(pos);" "===chr&&(pos++,chr=str.charAt(pos)),result+=String.fromCharCode(parseInt(hex,16));continue}result+=chr}}pos++,chr=str.charAt(pos)}return result},skipWhitespace=function(){chr=str.charAt(pos);for(var result=!1;" "===chr||"\t"===chr||"\n"===chr||"\r"===chr||"\f"===chr;)result=!0,pos++,chr=str.charAt(pos);return result},this.parse=function(){var res=this.parseSelector();if(pos=l||","===chr||")"===chr));)if(ruleNestingOperators[chr]){var op=chr;if(pos++,skipWhitespace(),!(rule=this.parseRule()))throw Error('Rule expected after "'+op+'".');rule.nestingOperator=op}else(rule=this.parseRule())&&(rule.nestingOperator=null);return selector},this.parseRule=function(){for(var c,rule=null;pos="a"&&c<="z"||c>="A"&&c<="Z"||"-"===c||"_"===c||"\\"===chr)(rule=rule||{}).tagName=getIdent();else if("."===chr)pos++,((rule=rule||{}).classNames=rule.classNames||[]).push(getIdent());else if("#"===chr)pos++,(rule=rule||{}).id=getIdent();else if("["===chr){pos++,skipWhitespace();var attr={name:getIdent()};if(skipWhitespace(),"]"===chr)pos++;else{var operator="";if(attrEqualityMods[chr]&&(operator=chr,pos++,chr=str.charAt(pos)),pos>=l)throw Error('Expected "=" but end of file reached.');if("="!==chr)throw Error('Expected "=" but "'+chr+'" found.');attr.operator=operator+"=",pos++,skipWhitespace();var attrValue="";if(attr.valueType="string",'"'===chr)attrValue=getStr('"',doubleQuotesEscapeChars);else if("'"===chr)attrValue=getStr("'",singleQuoteEscapeChars);else if(substitutesEnabled&&"$"===chr)pos++,attrValue=getIdent(),attr.valueType="substitute";else{for(;pos=l)throw Error('Expected "]" but end of file reached.');if("]"!==chr)throw Error('Expected "]" but "'+chr+'" found.');pos++,attr.value=attrValue}((rule=rule||{}).attrs=rule.attrs||[]).push(attr)}else{if(":"!==chr)break;pos++;var pseudoName=getIdent(),pseudo={name:pseudoName};if("("===chr){pos++;var value="";if(skipWhitespace(),"selector"===pseudos[pseudoName])pseudo.valueType="selector",value=this.parseSelector();else{if(pseudo.valueType=pseudos[pseudoName]||"string",'"'===chr)value=getStr('"',doubleQuotesEscapeChars);else if("'"===chr)value=getStr("'",singleQuoteEscapeChars);else if(substitutesEnabled&&"$"===chr)pos++,value=getIdent(),pseudo.valueType="substitute";else{for(;pos=l)throw Error('Expected ")" but end of file reached.');if(")"!==chr)throw Error('Expected ")" but "'+chr+'" found.');pos++,pseudo.value=value}((rule=rule||{}).pseudos=rule.pseudos||[]).push(pseudo)}return rule},this}CssSelectorParser.prototype.parse=function(str){return new ParseContext(str,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled).parse()},CssSelectorParser.prototype.escapeIdentifier=function(s){for(var result="",i=0,len=s.length;i="A"&&chr<="Z"||chr>="a"&&chr<="z"||0!==i&&chr>="0"&&chr<="9")result+=chr;else{var charCode=chr.charCodeAt(0);if(55296==(63488&charCode)){var extraCharCode=s.charCodeAt(i++);if(55296!=(64512&charCode)||56320!=(64512&extraCharCode))throw Error("UCS-2(decode): illegal sequence");charCode=((1023&charCode)<<10)+(1023&extraCharCode)+65536}result+="\\"+charCode.toString(16)+" "}i++}return result},CssSelectorParser.prototype.escapeStr=function(s){for(var chr,replacement,result="",i=0,len=s.length;i1)for(var i=1;i0)throw new TypeError("WeakMap iterable is not supported")}function checkInstance(x,methodName){if(!isObject(x)||!hasOwnProperty.call(x,"_id"))throw new TypeError(methodName+" method called on incompatible receiver "+typeof x)}function rand(){return Math.random().toString().substring(2)}return defineProperty(WeakMap.prototype,"delete",(function(key){if(checkInstance(this,"delete"),!isObject(key))return!1;var entry=key[this._id];return!(!entry||entry[0]!==key)&&(delete key[this._id],!0)})),defineProperty(WeakMap.prototype,"get",(function(key){if(checkInstance(this,"get"),isObject(key)){var entry=key[this._id];return entry&&entry[0]===key?entry[1]:void 0}})),defineProperty(WeakMap.prototype,"has",(function(key){if(checkInstance(this,"has"),!isObject(key))return!1;var entry=key[this._id];return!(!entry||entry[0]!==key)})),defineProperty(WeakMap.prototype,"set",(function(key,value){if(checkInstance(this,"set"),!isObject(key))throw new TypeError("Invalid value used as weak map key");var entry=key[this._id];return entry&&entry[0]===key?(entry[1]=value,this):(defineProperty(key,this._id,[key,value]),this)})),defineProperty(WeakMap,"_polyfill",!0),WeakMap}()}function isObject(x){return Object(x)===x}}("undefined"!=typeof self?self:void 0!==window?window:void 0!==global?global:this)}).call(this,void 0!==global?global:"undefined"!=typeof self?self:void 0!==window?window:{})},{}]},{},[1]);var utils=axe.utils={},helpers={};function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i1?pushUniqueFrameSelector(context,type,item):(nodeList=Array.from(document.querySelectorAll(item[0])),result=result.concat(nodeList.map((function(node){return axe.utils.getNodeFromTree(node)}))))}return result.filter((function(r){return r}))}function Context(spec){"use strict";var _this=this;this.frames=[],this.initiator=!spec||"boolean"!=typeof spec.initiator||spec.initiator,this.page=!1,spec=function normalizeContext(context){"use strict";if(context&&"object"===_typeof(context)||context instanceof NodeList){if(context instanceof Node)return{include:[context],exclude:[]};if(context.hasOwnProperty("include")||context.hasOwnProperty("exclude"))return{include:context.include&&+context.include.length?context.include:[document],exclude:context.exclude||[]};if(context.length===+context.length)return{include:context,exclude:[]}}return"string"==typeof context?{include:[context],exclude:[]}:{include:[document],exclude:[]}}(spec),this.flatTree=axe.utils.getFlattenedTree(function getRootNode(_ref){for(var include=_ref.include,exclude=_ref.exclude,selectors=Array.from(include).concat(Array.from(exclude)),i=0;i0&&void 0!==arguments[0]?arguments[0]:null,version=(axe.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(rule){_this.data.rules[rule.id]||(_this.data.rules[rule.id]={});var metaData=_this.data.rules[rule.id];("string"!=typeof metaData.helpUrl||previous&&metaData.helpUrl===getHelpUrl(previous,rule.id,version))&&(metaData.helpUrl=getHelpUrl(_this,rule.id,version))}))},Audit.prototype.resetRulesAndChecks=function(){"use strict";this._init(),this._resetLocale()},function(){"use strict";var _cache={},cache={set:function set(key,value){_cache[key]=value},get:function get(key){return _cache[key]},clear:function clear(){_cache={}}};axe._cache=cache}(),Check.prototype.enabled=!0,Check.prototype.run=function(node,options,context,resolve,reject){"use strict";var enabled=(options=options||{}).hasOwnProperty("enabled")?options.enabled:this.enabled,checkOptions=options.options||this.options;if(enabled){var result,checkResult=new CheckResult(this),checkHelper=axe.utils.checkHelper(checkResult,options,resolve,reject);try{result=this.evaluate.call(checkHelper,node.actualNode,checkOptions,node,context)}catch(e){return node&&node.actualNode&&(e.errorNode=new DqElement(node.actualNode).toJSON()),void reject(e)}checkHelper.isAsync||(checkResult.result=result,resolve(checkResult))}else resolve(null)},Check.prototype.runSync=function(node,options,context){var _options$enabled=(options=options||{}).enabled;if(!(void 0===_options$enabled?this.enabled:_options$enabled))return null;var result,checkOptions=options.options||this.options,checkResult=new CheckResult(this),checkHelper=axe.utils.checkHelper(checkResult,options);checkHelper.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{result=this.evaluate.call(checkHelper,node.actualNode,checkOptions,node,context)}catch(e){throw node&&node.actualNode&&(e.errorNode=new DqElement(node.actualNode).toJSON()),e}return checkResult.result=result,checkResult},Check.prototype.configure=function(spec){var _this=this;["options","enabled"].filter((function(prop){return spec.hasOwnProperty(prop)})).forEach((function(prop){return _this[prop]=spec[prop]})),["evaluate","after"].filter((function(prop){return spec.hasOwnProperty(prop)})).forEach((function(prop){return _this[prop]=createExecutionContext(spec[prop])}))},Rule.prototype.matches=function(){"use strict";return!0},Rule.prototype.gather=function(context){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},markStart="mark_gather_start_"+this.id,markEnd="mark_gather_end_"+this.id,markHiddenStart="mark_isHidden_start_"+this.id,markHiddenEnd="mark_isHidden_end_"+this.id;options.performanceTimer&&axe.utils.performanceTimer.mark(markStart);var elements=axe.utils.select(this.selector,context);return this.excludeHidden&&(options.performanceTimer&&axe.utils.performanceTimer.mark(markHiddenStart),elements=elements.filter((function(element){return!axe.utils.isHidden(element.actualNode)})),options.performanceTimer&&(axe.utils.performanceTimer.mark(markHiddenEnd),axe.utils.performanceTimer.measure("rule_"+this.id+"#gather_axe.utils.isHidden",markHiddenStart,markHiddenEnd))),options.performanceTimer&&(axe.utils.performanceTimer.mark(markEnd),axe.utils.performanceTimer.measure("rule_"+this.id+"#gather",markStart,markEnd)),elements},Rule.prototype.runChecks=function(type,node,options,context,resolve,reject){"use strict";var self=this,checkQueue=axe.utils.queue();this[type].forEach((function(c){var check=self._audit.checks[c.id||c],option=axe.utils.getCheckOption(check,self.id,options);checkQueue.defer((function(res,rej){check.run(node,option,context,res,rej)}))})),checkQueue.then((function(results){results=results.filter((function(check){return check})),resolve({type:type,results:results})})).catch(reject)},Rule.prototype.runChecksSync=function(type,node,options,context){"use strict";var self=this,results=[];return this[type].forEach((function(c){var check=self._audit.checks[c.id||c],option=axe.utils.getCheckOption(check,self.id,options);results.push(check.runSync(node,option,context))})),{type:type,results:results=results.filter((function(check){return check}))}},Rule.prototype.run=function(context){var _this=this,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},resolve=arguments.length>2?arguments[2]:void 0,reject=arguments.length>3?arguments[3]:void 0;options.performanceTimer&&this._trackPerformance();var nodes,q=axe.utils.queue(),ruleResult=new RuleResult(this);try{nodes=this.gatherAndMatchNodes(context,options)}catch(error){return void reject(new SupportError({cause:error,ruleId:this.id}))}options.performanceTimer&&this._logGatherPerformance(nodes),nodes.forEach((function(node){q.defer((function(resolveNode,rejectNode){var checkQueue=axe.utils.queue();["any","all","none"].forEach((function(type){checkQueue.defer((function(res,rej){_this.runChecks(type,node,options,context,res,rej)}))})),checkQueue.then((function(results){var result=getResult(results);result&&(result.node=new axe.utils.DqElement(node.actualNode,options),ruleResult.nodes.push(result)),resolveNode()})).catch((function(err){return rejectNode(err)}))}))})),q.defer((function(resolve){return setTimeout(resolve,0)})),options.performanceTimer&&this._logRulePerformance(),q.then((function(){return resolve(ruleResult)})).catch((function(error){return reject(error)}))},Rule.prototype.runSync=function(context){var _this2=this,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};options.performanceTimer&&this._trackPerformance();var nodes,ruleResult=new RuleResult(this);try{nodes=this.gatherAndMatchNodes(context,options)}catch(error){throw new SupportError({cause:error,ruleId:this.id})}return options.performanceTimer&&this._logGatherPerformance(nodes),nodes.forEach((function(node){var results=[];["any","all","none"].forEach((function(type){results.push(_this2.runChecksSync(type,node,options,context))}));var result=getResult(results);result&&(result.node=node.actualNode?new axe.utils.DqElement(node.actualNode,options):null,ruleResult.nodes.push(result))})),options.performanceTimer&&this._logRulePerformance(),ruleResult},Rule.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},Rule.prototype._logGatherPerformance=function(nodes){axe.log("gather (",nodes.length,"):",axe.utils.performanceTimer.timeElapsed()+"ms"),axe.utils.performanceTimer.mark(this._markChecksStart)},Rule.prototype._logRulePerformance=function(){axe.utils.performanceTimer.mark(this._markChecksEnd),axe.utils.performanceTimer.mark(this._markEnd),axe.utils.performanceTimer.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),axe.utils.performanceTimer.measure("rule_"+this.id,this._markStart,this._markEnd)},Rule.prototype.gatherAndMatchNodes=function(context,options){var _this3=this,markMatchesStart="mark_matches_start_"+this.id,markMatchesEnd="mark_matches_end_"+this.id,nodes=this.gather(context,options);return options.performanceTimer&&axe.utils.performanceTimer.mark(markMatchesStart),nodes=nodes.filter((function(node){return _this3.matches(node.actualNode,node,context)})),options.performanceTimer&&(axe.utils.performanceTimer.mark(markMatchesEnd),axe.utils.performanceTimer.measure("rule_"+this.id+"#matches",markMatchesStart,markMatchesEnd)),nodes},Rule.prototype.after=function(result,options){"use strict";var afterChecks=function findAfterChecks(rule){"use strict";return axe.utils.getAllChecks(rule).map((function(c){var check=rule._audit.checks[c.id||c];return check&&"function"==typeof check.after?check:null})).filter(Boolean)}(this),ruleID=this.id;return afterChecks.forEach((function(check){var beforeResults=function findCheckResults(nodes,checkID){"use strict";var checkResults=[];return nodes.forEach((function(nodeResult){axe.utils.getAllChecks(nodeResult).forEach((function(checkResult){checkResult.id===checkID&&checkResults.push(checkResult)}))})),checkResults}(result.nodes,check.id),option=axe.utils.getCheckOption(check,ruleID,options),afterResults=check.after(beforeResults,option);beforeResults.forEach((function(item){-1===afterResults.indexOf(item)&&(item.filtered=!0)}))})),result.nodes=function sanitizeNodes(result){"use strict";var checkTypes=["any","all","none"],nodes=result.nodes.filter((function(detail){var length=0;return checkTypes.forEach((function(type){detail[type]=function filterChecks(checks){"use strict";return checks.filter((function(check){return!0!==check.filtered}))}(detail[type]),length+=detail[type].length})),length>0}));return result.pageLevel&&nodes.length&&(nodes=[nodes.reduce((function(a,b){if(a)return checkTypes.forEach((function(type){a[type].push.apply(a[type],b[type])})),a}))]),nodes}(result),result},Rule.prototype.configure=function(spec){"use strict";spec.hasOwnProperty("selector")&&(this.selector=spec.selector),spec.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof spec.excludeHidden||spec.excludeHidden),spec.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof spec.enabled||spec.enabled),spec.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof spec.pageLevel&&spec.pageLevel),spec.hasOwnProperty("any")&&(this.any=spec.any),spec.hasOwnProperty("all")&&(this.all=spec.all),spec.hasOwnProperty("none")&&(this.none=spec.none),spec.hasOwnProperty("tags")&&(this.tags=spec.tags),spec.hasOwnProperty("matches")&&("string"==typeof spec.matches?this.matches=new Function("return "+spec.matches+";")():this.matches=spec.matches)};var whitespaceRegex=/[\t\r\n\f]/g,AbstractVirtualNode=function(){function AbstractVirtualNode(){_classCallCheck(this,AbstractVirtualNode),this.children=[],this.parent=null}return _createClass(AbstractVirtualNode,[{key:"attr",value:function attr(){throw new Error('VirtualNode class must have a "attr" function')}},{key:"hasAttr",value:function hasAttr(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function hasClass(className){var classAttr=this.attr("class");if(!classAttr)return!1;var selector=" "+className+" ";return(" "+classAttr+" ").replace(whitespaceRegex," ").indexOf(selector)>=0}},{key:"props",get:function get(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}}]),AbstractVirtualNode}();function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i2&&void 0!==arguments[2]?arguments[2]:{};options.reporter=options.reporter||axe._audit.reporter||"v1",axe._selectorData={},vNode instanceof axe.AbstractVirtualNode==!1&&(vNode=new SerialVirtualNode(vNode));var rule=axe._audit.rules.find((function(rule){return rule.id===ruleId}));if(!rule)throw new Error("unknown rule `"+ruleId+"`");var context={include:[vNode]},rawResults=(rule=Object.create(rule,{excludeHidden:{value:!1}})).runSync(context,options);axe.utils.publishMetaData(rawResults),axe.utils.finalizeRuleResult(rawResults);var results=axe.utils.aggregateResult([rawResults]);return results.violations.forEach((function(result){return result.nodes.forEach((function(nodeResult){nodeResult.failureSummary=helpers.failureSummary(nodeResult)}))})),_extends({},helpers.getEnvironmentData(),{},results,{toolOptions:options})};var noop=function noop(){};function normalizeRunParams(context,options,callback){"use strict";var typeErr=new TypeError("axe.run arguments are invalid");if(!function isContext(potential){"use strict";switch(!0){case"string"==typeof potential:case Array.isArray(potential):case Node&&potential instanceof Node:case NodeList&&potential instanceof NodeList:return!0;case"object"!==_typeof(potential):return!1;case void 0!==potential.include:case void 0!==potential.exclude:case"number"==typeof potential.length:return!0;default:return!1}}(context)){if(void 0!==callback)throw typeErr;callback=options,options=context,context=document}if("object"!==_typeof(options)){if(void 0!==callback)throw typeErr;callback=options,options={}}if("function"!=typeof callback&&void 0!==callback)throw typeErr;return{context:context,options:options,callback:callback||noop}}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}axe.run=function(context,options,callback){"use strict";if(!axe._audit)throw new Error("No audit configured");var p,args=normalizeRunParams(context,options,callback);context=args.context,options=args.options,callback=args.callback,options.reporter=options.reporter||axe._audit.reporter||"v1",options.performanceTimer&&axe.utils.performanceTimer.start();var reject=noop,resolve=noop;return"function"==typeof Promise&&callback===noop&&(p=new Promise((function(_resolve,_reject){reject=_reject,resolve=_resolve}))),axe._runRules(context,options,(function(rawResults,cleanup){var respond=function respond(results){cleanup();try{callback(null,results)}catch(e){axe.log(e)}resolve(results)};options.performanceTimer&&axe.utils.performanceTimer.end();try{var results=axe.getReporter(options.reporter)(rawResults,options,respond);void 0!==results&&respond(results)}catch(err){cleanup(),callback(err),reject(err)}}),(function(err){callback(err),reject(err)})),p},helpers.failureSummary=function failureSummary(nodeData){"use strict";var failingChecks={};return failingChecks.none=nodeData.none.concat(nodeData.all),failingChecks.any=nodeData.any,Object.keys(failingChecks).map((function(key){if(failingChecks[key].length){var sum=axe._audit.data.failureSummaries[key];return sum&&"function"==typeof sum.failureMessage?sum.failureMessage(failingChecks[key].map((function(check){return check.message||""}))):void 0}})).filter((function(i){return void 0!==i})).join("\n\n")},helpers.getEnvironmentData=function getEnvironmentData(){var win=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,_win$screen=win.screen,screen=void 0===_win$screen?{}:_win$screen,_win$navigator=win.navigator,navigator=void 0===_win$navigator?{}:_win$navigator,_win$location=win.location,location=void 0===_win$location?{}:_win$location,innerHeight=win.innerHeight,innerWidth=win.innerWidth,orientation=screen.msOrientation||screen.orientation||screen.mozOrientation||{};return{testEngine:{name:"axe-core",version:axe.version},testRunner:{name:axe._audit.brand},testEnvironment:{userAgent:navigator.userAgent,windowWidth:innerWidth,windowHeight:innerHeight,orientationAngle:orientation.angle,orientationType:orientation.type},timestamp:(new Date).toISOString(),url:location.href}},helpers.incompleteFallbackMessage=function incompleteFallbackMessage(){"use strict";return axe._audit.data.incompleteFallbackMessage()};var resultKeys=axe.constants.resultGroups;function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i0&&(ruleResult.nodes=[ruleResult.nodes[0]])})),resultObject[key]=(resultObject[key]||[]).map((function(ruleResult){return ruleResult=Object.assign({},ruleResult),Array.isArray(ruleResult.nodes)&&ruleResult.nodes.length>0&&(ruleResult.nodes=ruleResult.nodes.map((function(subResult){return"object"===_typeof(subResult.node)&&(subResult.html=subResult.node.source,options.elementRef&&!subResult.node.fromFrame&&(subResult.element=subResult.node.element),(!1!==options.selectors||subResult.node.fromFrame)&&(subResult.target=subResult.node.selector),options.xpath&&(subResult.xpath=subResult.node.xpath)),delete subResult.result,delete subResult.node,function normalizeRelatedNodes(node,options){"use strict";["any","all","none"].forEach((function(type){Array.isArray(node[type])&&node[type].filter((function(checkRes){return Array.isArray(checkRes.relatedNodes)})).forEach((function(checkRes){checkRes.relatedNodes=checkRes.relatedNodes.map((function(relatedNode){var res={html:relatedNode.source};return options.elementRef&&!relatedNode.fromFrame&&(res.element=relatedNode.element),(!1!==options.selectors||relatedNode.fromFrame)&&(res.target=relatedNode.selector),options.xpath&&(res.xpath=relatedNode.xpath),res}))}))}))}(subResult,options),subResult}))),resultKeys.forEach((function(key){return delete ruleResult[key]})),delete ruleResult.pageLevel,delete ruleResult.result,ruleResult}))})),resultObject},axe.addReporter("na",(function(results,options,callback){"use strict";console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof options&&(callback=options,options={});var out=helpers.processAggregate(results,options);callback(_extends({},helpers.getEnvironmentData(),{toolOptions:options,violations:out.violations,passes:out.passes,incomplete:out.incomplete,inapplicable:out.inapplicable}))})),axe.addReporter("no-passes",(function(results,options,callback){"use strict";"function"==typeof options&&(callback=options,options={}),options.resultTypes=["violations"];var out=helpers.processAggregate(results,options);callback(_extends({},helpers.getEnvironmentData(),{toolOptions:options,violations:out.violations}))})),axe.addReporter("rawEnv",(function(results,options,callback){"function"==typeof options&&(callback=options,options={}),axe.getReporter("raw")(results,options,(function rawCallback(raw){var env=helpers.getEnvironmentData();callback({raw:raw,env:env})}))})),axe.addReporter("raw",(function(results,options,callback){"use strict";if("function"==typeof options&&(callback=options,options={}),!results||!Array.isArray(results))return callback(results);callback(results.map((function(result){for(var transformedResult=_extends({},result),_i=0,_types=["passes","violations","incomplete","inapplicable"];_i<_types.length;_i++){var type=_types[_i];transformedResult[type]&&Array.isArray(transformedResult[type])&&(transformedResult[type]=transformedResult[type].map((function(typeResult){return _extends({},typeResult,{node:typeResult.node.toJSON()})})))}return transformedResult})))})),axe.addReporter("v1",(function(results,options,callback){"use strict";"function"==typeof options&&(callback=options,options={});var out=helpers.processAggregate(results,options);out.violations.forEach((function(result){return result.nodes.forEach((function(nodeResult){nodeResult.failureSummary=helpers.failureSummary(nodeResult)}))})),callback(_extends({},helpers.getEnvironmentData(),{toolOptions:options,violations:out.violations,passes:out.passes,incomplete:out.incomplete,inapplicable:out.inapplicable}))})),axe.addReporter("v2",(function(results,options,callback){"use strict";"function"==typeof options&&(callback=options,options={});var out=helpers.processAggregate(results,options);callback(_extends({},helpers.getEnvironmentData(),{toolOptions:options,violations:out.violations,passes:out.passes,incomplete:out.incomplete,inapplicable:out.inapplicable}))}),!0),axe.utils.aggregate=function(map,values,initial){values=values.slice(),initial&&values.push(initial);var sorting=values.map((function(val){return map.indexOf(val)})).sort();return map[sorting.pop()]};var _axe$constants=axe.constants,CANTTELL_PRIO=_axe$constants.CANTTELL_PRIO,FAIL_PRIO=_axe$constants.FAIL_PRIO,checkMap=[];checkMap[axe.constants.PASS_PRIO]=!0,checkMap[axe.constants.CANTTELL_PRIO]=null,checkMap[axe.constants.FAIL_PRIO]=!1;var axe,checkTypes=["any","all","none"];function anyAllNone(obj,functor){return checkTypes.reduce((function(out,type){return out[type]=(obj[type]||[]).map((function(val){return functor(val,type)})),out}),{})}function copyToGroup(resultObject,subResult,group){var resultCopy=Object.assign({},subResult);resultCopy.nodes=(resultCopy[group]||[]).concat(),axe.constants.resultGroups.forEach((function(group){delete resultCopy[group]})),resultObject[group].push(resultCopy)}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function err(message,node){"use strict";var selector;return axe._tree&&(selector=axe.utils.getSelector(node)),new Error(message+": "+(selector||node))}function DqElement(element,options,spec){this._fromFrame=!!spec,this.spec=spec||{},options&&options.absolutePaths&&(this._options={toRoot:!0}),this.source=void 0!==this.spec.source?this.spec.source:function getSource(element){var source=element.outerHTML;return source||"function"!=typeof XMLSerializer||(source=(new XMLSerializer).serializeToString(element)),function truncate(str,maxLength){if(maxLength=maxLength||300,str.length>maxLength){var index=str.indexOf(">");str=str.substring(0,index+1)}return str}(source||"")}(element),this._element=element}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){if(Symbol.iterator in Object(arr)||"[object Arguments]"===Object.prototype.toString.call(arr)){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function isMostlyNumbers(){var str=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==str.length&&(str.match(/[0-9]/g)||"").length>=str.length/2}function splitString(str,splitIndex){return[str.substring(0,splitIndex),str.substring(splitIndex)]}function trimRight(str){return str.replace(/\s+$/,"")}function uriParser(url){var original=url,protocol="",domain="",port="",query="",hash="";if(url.includes("#")){var _splitString=splitString(url,url.indexOf("#")),_splitString2=_slicedToArray(_splitString,2);url=_splitString2[0],hash=_splitString2[1]}if(url.includes("?")){var _splitString3=splitString(url,url.indexOf("?")),_splitString4=_slicedToArray(_splitString3,2);url=_splitString4[0],query=_splitString4[1]}if(url.includes("://")){var _url$split=url.split("://"),_url$split2=_slicedToArray(_url$split,2);protocol=_url$split2[0];var _splitString5=splitString(url=_url$split2[1],url.indexOf("/")),_splitString6=_slicedToArray(_splitString5,2);domain=_splitString6[0],url=_splitString6[1]}else if("//"===url.substr(0,2)){var _splitString7=splitString(url=url.substr(2),url.indexOf("/")),_splitString8=_slicedToArray(_splitString7,2);domain=_splitString8[0],url=_splitString8[1]}if("www."===domain.substr(0,4)&&(domain=domain.substr(4)),domain&&domain.includes(":")){var _splitString9=splitString(domain,domain.indexOf(":")),_splitString10=_slicedToArray(_splitString9,2);domain=_splitString10[0],port=_splitString10[1]}return{original:original,protocol:protocol,domain:domain,port:port,path:url,query:query,hash:hash}}axe.utils.aggregateChecks=function(nodeResOriginal){var nodeResult=Object.assign({},nodeResOriginal);anyAllNone(nodeResult,(function(check,type){var i=void 0===check.result?-1:checkMap.indexOf(check.result);check.priority=-1!==i?i:axe.constants.CANTTELL_PRIO,"none"===type&&(check.priority===axe.constants.PASS_PRIO?check.priority=axe.constants.FAIL_PRIO:check.priority===axe.constants.FAIL_PRIO&&(check.priority=axe.constants.PASS_PRIO))}));var priorities={all:nodeResult.all.reduce((function(a,b){return Math.max(a,b.priority)}),0),none:nodeResult.none.reduce((function(a,b){return Math.max(a,b.priority)}),0),any:nodeResult.any.reduce((function(a,b){return Math.min(a,b.priority)}),4)%4};nodeResult.priority=Math.max(priorities.all,priorities.none,priorities.any);var impacts=[];return checkTypes.forEach((function(type){nodeResult[type]=nodeResult[type].filter((function(check){return check.priority===nodeResult.priority&&check.priority===priorities[type]})),nodeResult[type].forEach((function(check){return impacts.push(check.impact)}))})),[CANTTELL_PRIO,FAIL_PRIO].includes(nodeResult.priority)?nodeResult.impact=axe.utils.aggregate(axe.constants.impact,impacts):nodeResult.impact=null,anyAllNone(nodeResult,(function(c){delete c.result,delete c.priority})),nodeResult.result=axe.constants.results[nodeResult.priority],delete nodeResult.priority,nodeResult},axe.utils.aggregateNodeResults=function(nodeResults){var ruleResult={};if((nodeResults=nodeResults.map((function(nodeResult){if(nodeResult.any&&nodeResult.all&&nodeResult.none)return axe.utils.aggregateChecks(nodeResult);if(Array.isArray(nodeResult.node))return axe.utils.finalizeRuleResult(nodeResult);throw new TypeError("Invalid Result type")})))&&nodeResults.length){var resultList=nodeResults.map((function(node){return node.result}));ruleResult.result=axe.utils.aggregate(axe.constants.results,resultList,ruleResult.result)}else ruleResult.result="inapplicable";axe.constants.resultGroups.forEach((function(group){return ruleResult[group]=[]})),nodeResults.forEach((function(nodeResult){var groupName=axe.constants.resultGroupMap[nodeResult.result];ruleResult[groupName].push(nodeResult)}));var impactGroup=axe.constants.FAIL_GROUP;if(0===ruleResult[impactGroup].length&&(impactGroup=axe.constants.CANTTELL_GROUP),ruleResult[impactGroup].length>0){var impactList=ruleResult[impactGroup].map((function(failure){return failure.impact}));ruleResult.impact=axe.utils.aggregate(axe.constants.impact,impactList)||null}else ruleResult.impact=null;return ruleResult},axe.utils.aggregateResult=function(results){var resultObject={};return axe.constants.resultGroups.forEach((function(groupName){return resultObject[groupName]=[]})),results.forEach((function(subResult){subResult.error?copyToGroup(resultObject,subResult,axe.constants.CANTTELL_GROUP):subResult.result===axe.constants.NA?copyToGroup(resultObject,subResult,axe.constants.NA_GROUP):axe.constants.resultGroups.forEach((function(group){Array.isArray(subResult[group])&&subResult[group].length>0&©ToGroup(resultObject,subResult,group)}))})),resultObject},axe.utils.areStylesSet=function areStylesSet(el,styles,stopAt){"use strict";var styl=window.getComputedStyle(el,null);if(!styl)return!1;for(var i=0;i"),parser.registerAttrEqualityMods("^","$","*"),axe.utils.cssParser=parser}(axe),DqElement.prototype={get selector(){return this.spec.selector||[axe.utils.getSelector(this.element,this._options)]},get xpath(){return this.spec.xpath||[axe.utils.getXpath(this.element)]},get element(){return this._element},get fromFrame(){return this._fromFrame},toJSON:function toJSON(){"use strict";return{selector:this.selector,source:this.source,xpath:this.xpath}}},DqElement.fromFrame=function(node,options,frame){return node.selector.unshift(frame.selector),node.xpath.unshift(frame.xpath),new axe.utils.DqElement(frame.element,options,node)},axe.utils.DqElement=DqElement,axe.utils.matchesSelector=function(){"use strict";var method;return function(node,selector){return method&&node[method]||(method=function getMethod(node){var index,candidate,candidates=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],length=candidates.length;for(index=0;index=1&&codeUnit<=31||127==codeUnit||0==index&&codeUnit>=48&&codeUnit<=57||1==index&&codeUnit>=48&&codeUnit<=57&&45==firstCodeUnit?"\\"+codeUnit.toString(16)+" ":(0!=index||1!=length||45!=codeUnit)&&(codeUnit>=128||45==codeUnit||95==codeUnit||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122)?string.charAt(index):"\\"+string.charAt(index):result+="�";return result},axe.utils.extendMetaData=function(to,from){Object.assign(to,from),Object.keys(from).filter((function(prop){return"function"==typeof from[prop]})).forEach((function(prop){to[prop]=null;try{to[prop]=from[prop](to)}catch(e){}}))},axe.utils.finalizeRuleResult=function(ruleResult){return Object.assign(ruleResult,axe.utils.aggregateNodeResults(ruleResult.nodes)),delete ruleResult.nodes,ruleResult},axe.utils.findBy=function(array,key,value){if(Array.isArray(array))return array.find((function(obj){return"object"===_typeof(obj)&&obj[key]===value}))},(axe=axe||{utils:{}}).utils.getFlattenedTree=function(node,shadowId){return axe._cache.set("nodeMap",new WeakMap),function flattenTree(node,shadowId,parent){var retVal,realArray,nodeName;function reduceShadowDOM(res,child,parent){var replacements=flattenTree(child,shadowId,parent);return replacements&&(res=res.concat(replacements)),res}if(node.documentElement&&(node=node.documentElement),nodeName=node.nodeName.toLowerCase(),axe.utils.isShadowRoot(node))return retVal=new VirtualNode(node,parent,shadowId),shadowId="a"+Math.random().toString().substring(2),realArray=Array.from(node.shadowRoot.childNodes),retVal.children=realArray.reduce((function(res,child){return reduceShadowDOM(res,child,retVal)}),[]),[retVal];if("content"===nodeName&&"function"==typeof node.getDistributedNodes)return(realArray=Array.from(node.getDistributedNodes())).reduce((function(res,child){return reduceShadowDOM(res,child,parent)}),[]);if("slot"===nodeName&&"function"==typeof node.assignedNodes){(realArray=Array.from(node.assignedNodes())).length||(realArray=function getSlotChildren(node){var retVal=[];for(node=node.firstChild;node;)retVal.push(node),node=node.nextSibling;return retVal}(node));window.getComputedStyle(node);return realArray.reduce((function(res,child){return reduceShadowDOM(res,child,parent)}),[])}return 1===node.nodeType?(retVal=new VirtualNode(node,parent,shadowId),realArray=Array.from(node.childNodes),retVal.children=realArray.reduce((function(res,child){return reduceShadowDOM(res,child,retVal)}),[]),[retVal]):3===node.nodeType?[new VirtualNode(node,parent)]:void 0}(node,shadowId)},axe.utils.getNodeFromTree=function(vNode,node){var el=node||vNode;return axe._cache.get("nodeMap")?axe._cache.get("nodeMap").get(el):null},axe.utils.getAllChecks=function getAllChecks(object){"use strict";return[].concat(object.any||[]).concat(object.all||[]).concat(object.none||[])},axe.utils.getBaseLang=function getBaseLang(lang){return lang?lang.trim().split("-")[0].toLowerCase():""},axe.utils.getCheckOption=function(check,ruleID,options){var ruleCheckOption=((options.rules&&options.rules[ruleID]||{}).checks||{})[check.id],checkOption=(options.checks||{})[check.id],enabled=check.enabled,opts=check.options;return checkOption&&(checkOption.hasOwnProperty("enabled")&&(enabled=checkOption.enabled),checkOption.hasOwnProperty("options")&&(opts=checkOption.options)),ruleCheckOption&&(ruleCheckOption.hasOwnProperty("enabled")&&(enabled=ruleCheckOption.enabled),ruleCheckOption.hasOwnProperty("options")&&(opts=ruleCheckOption.options)),{enabled:enabled,options:opts,absolutePaths:options.absolutePaths}},axe.utils.getFriendlyUriEnd=function getFriendlyUriEnd(){var uri=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(uri.length<=1||"data:"===uri.substr(0,5)||"javascript:"===uri.substr(0,11)||uri.includes("?"))){var currentDomain=options.currentDomain,_options$maxLength=options.maxLength,maxLength=void 0===_options$maxLength?25:_options$maxLength,_uriParser=uriParser(uri),path=_uriParser.path,domain=_uriParser.domain,hash=_uriParser.hash,pathEnd=path.substr(path.substr(0,path.length-2).lastIndexOf("/")+1);if(hash)return pathEnd&&(pathEnd+hash).length<=maxLength?trimRight(pathEnd+hash):pathEnd.length<2&&hash.length>2&&hash.length<=maxLength?trimRight(hash):void 0;if(domain&&domain.length1)&&(-1!==lastDotIndex||pathEnd.length>2)&&pathEnd.length<=maxLength&&!pathEnd.match(/index(\.[a-zA-Z]{2-4})?/)&&!isMostlyNumbers(pathEnd)?trimRight(pathEnd):void 0}},axe.utils.getNodeAttributes=function getNodeAttributes(node){return node.attributes instanceof window.NamedNodeMap?node.attributes:node.cloneNode(!1).attributes},axe.utils.getRootNode=function getRootNode(node){var doc=node.getRootNode&&node.getRootNode()||document;return doc===node&&(doc=document),doc},axe.utils.getScroll=function getScroll(elm){var buffer=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,overflowX=elm.scrollWidth>elm.clientWidth+buffer,overflowY=elm.scrollHeight>elm.clientHeight+buffer;if(overflowX||overflowY){var style=window.getComputedStyle(elm),overflowXStyle=style.getPropertyValue("overflow-x"),overflowYStyle=style.getPropertyValue("overflow-y"),scrollableX="visible"!==overflowXStyle&&"hidden"!==overflowXStyle,scrollableY="visible"!==overflowYStyle&&"hidden"!==overflowYStyle;return overflowX&&scrollableX||overflowY&&scrollableY?{elm:elm,top:elm.scrollTop,left:elm.scrollLeft}:void 0}};var isXHTML,styleSheet,escapeSelector=axe.utils.escapeSelector,ignoredAttributes=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow"],MAXATTRIBUTELENGTH=31;function getAttributeNameValue(node,at){var atnv,name=at.name;if(-1!==name.indexOf("href")||-1!==name.indexOf("src")){var friendly=axe.utils.getFriendlyUriEnd(node.getAttribute(name));if(friendly){var value=encodeURI(friendly);if(!value)return;atnv=escapeSelector(at.name)+'$="'+escapeSelector(value)+'"'}else atnv=escapeSelector(at.name)+'="'+escapeSelector(node.getAttribute(name))+'"'}else atnv=escapeSelector(name)+'="'+escapeSelector(at.value)+'"';return atnv}function countSort(a,b){return a.count "+selector:features,similar=similar?similar.filter((function(item){return axe.utils.matchesSelector(item,selector)})):Array.from(doc.querySelectorAll(selector)),elm=elm.parentElement}while((similar.length>1||toRoot)&&elm&&11!==elm.nodeType);return 1===similar.length?selector:-1!==selector.indexOf(" > ")?":root"+selector.substring(selector.indexOf(" > ")):":root"}axe.utils.getSelectorData=function(domTree){for(var data={classes:{},tags:{},attributes:{}},currentLevel=(domTree=Array.isArray(domTree)?domTree:[domTree]).slice(),stack=[],_loop=function _loop(){var current=currentLevel.pop(),node=current.actualNode;if(node.querySelectorAll){var tag=node.nodeName;data.tags[tag]?data.tags[tag]++:data.tags[tag]=1,node.classList&&Array.from(node.classList).forEach((function(cl){var ind=escapeSelector(cl);data.classes[ind]?data.classes[ind]++:data.classes[ind]=1})),node.hasAttributes()&&Array.from(axe.utils.getNodeAttributes(node)).filter(filterAttributes).forEach((function(at){var atnv=getAttributeNameValue(node,at);atnv&&(data.attributes[atnv]?data.attributes[atnv]++:data.attributes[atnv]=1)}))}for(current.children.length&&(stack.push(currentLevel),currentLevel=current.children.slice());!currentLevel.length&&stack.length;)currentLevel=stack.pop()};currentLevel.length;)_loop();return data},axe.utils.getSelector=function createUniqueSelector(elm){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!elm)return"";var doc=elm.getRootNode&&elm.getRootNode()||document;if(11===doc.nodeType){for(var stack=[];11===doc.nodeType;){if(!doc.host)return"";stack.push({elm:elm,doc:doc}),doc=(elm=doc.host).getRootNode()}return stack.push({elm:elm,doc:doc}),stack.reverse().map((function(comp){return generateSelector(comp.elm,options,comp.doc)}))}return generateSelector(elm,options,doc)},axe.utils.getStyleSheetFactory=function getStyleSheetFactory(dynamicDoc){if(!dynamicDoc)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(options){var data=options.data,_options$isCrossOrigi=options.isCrossOrigin,isCrossOrigin=void 0!==_options$isCrossOrigi&&_options$isCrossOrigi,shadowId=options.shadowId,root=options.root,priority=options.priority,_options$isLink=options.isLink,isLink=void 0!==_options$isLink&&_options$isLink,style=dynamicDoc.createElement("style");if(isLink){var text=dynamicDoc.createTextNode('@import "'.concat(data.href,'"'));style.appendChild(text)}else style.appendChild(dynamicDoc.createTextNode(data));return dynamicDoc.head.appendChild(style),{sheet:style.sheet,isCrossOrigin:isCrossOrigin,shadowId:shadowId,root:root,priority:priority}}},axe.utils.getXpath=function getXpath(node){return function xpathToString(xpathArray){return xpathArray.reduce((function(str,elm){return elm.id?"/".concat(elm.str,"[@id='").concat(elm.id,"']"):str+"/".concat(elm.str)+(elm.count>0?"[".concat(elm.count,"]"):"")}),"")}(function getXPathArray(node,path){var sibling,count;if(!node)return[];if(!path&&9===node.nodeType)return path=[{str:"html"}];if(path=path||[],node.parentNode&&node.parentNode!==node&&(path=getXPathArray(node.parentNode,path)),node.previousSibling){count=1,sibling=node.previousSibling;do{1===sibling.nodeType&&sibling.nodeName===node.nodeName&&count++,sibling=sibling.previousSibling}while(sibling);1===count&&(count=null)}else if(node.nextSibling){sibling=node.nextSibling;do{1===sibling.nodeType&&sibling.nodeName===node.nodeName?(count=1,sibling=null):(count=null,sibling=sibling.previousSibling)}while(sibling)}if(1===node.nodeType){var element={};element.str=node.nodeName.toLowerCase();var id=node.getAttribute&&axe.utils.escapeSelector(node.getAttribute("id"));id&&1===node.ownerDocument.querySelectorAll("#"+id).length&&(element.id=node.getAttribute("id")),count>1&&(element.count=count),path.push(element)}return path}(node))},axe.utils.injectStyle=function injectStyle(style){"use strict";if(styleSheet&&styleSheet.parentNode)return void 0===styleSheet.styleSheet?styleSheet.appendChild(document.createTextNode(style)):styleSheet.styleSheet.cssText+=style,styleSheet;if(style){var head=document.head||document.getElementsByTagName("head")[0];return(styleSheet=document.createElement("style")).type="text/css",void 0===styleSheet.styleSheet?styleSheet.appendChild(document.createTextNode(style)):styleSheet.styleSheet.cssText=style,head.appendChild(styleSheet),styleSheet}},axe.utils.isHidden=function isHidden(el,recursed){"use strict";var node=axe.utils.getNodeFromTree(el);if(9===el.nodeType)return!1;if(11===el.nodeType&&(el=el.host),node&&null!==node._isHidden)return node._isHidden;var style=window.getComputedStyle(el,null);if(!style||!el.parentNode||"none"===style.getPropertyValue("display")||!recursed&&"hidden"===style.getPropertyValue("visibility")||"true"===el.getAttribute("aria-hidden"))return!0;var parent=el.assignedSlot?el.assignedSlot:el.parentNode,isHidden=axe.utils.isHidden(parent,!0);return node&&(node._isHidden=isHidden),isHidden};var htmlTags=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];axe.utils.isHtmlElement=function isHtmlElement(node){return"http://www.w3.org/2000/svg"!==node.namespaceURI&&htmlTags.includes(node.nodeName.toLowerCase())};var toStr,isCallable,maxSafeInteger,toLength,possibleShadowRoots=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i0||0===sorterResult&&firstFromFrame.selector.length4&&void 0!==arguments[4]&&arguments[4],rules=Array.from(sheet.cssRules);if(!rules)return Promise.resolve();var cssImportRules=rules.filter((function(r){return 3===r.type}));if(!cssImportRules.length)return Promise.resolve({isCrossOrigin:isCrossOrigin,priority:priority,root:options.rootNode,shadowId:options.shadowId,sheet:sheet});var cssImportUrlsNotAlreadyImported=cssImportRules.filter((function(rule){return rule.href})).map((function(rule){return rule.href})).filter((function(url){return!importedUrls.includes(url)})),promises=cssImportUrlsNotAlreadyImported.map((function(importUrl,cssRuleIndex){var newPriority=[].concat(_toConsumableArray(priority),[cssRuleIndex]),isCrossOriginRequest=/^https?:\/\/|^\/\//i.test(importUrl);return axe.utils.parseCrossOriginStylesheet(importUrl,options,newPriority,importedUrls,isCrossOriginRequest)})),nonImportCSSRules=rules.filter((function(r){return 3!==r.type}));return nonImportCSSRules.length?(promises.push(Promise.resolve(options.convertDataToStylesheet({data:nonImportCSSRules.map((function(rule){return rule.cssText})).join(),isCrossOrigin:isCrossOrigin,priority:priority,root:options.rootNode,shadowId:options.shadowId}))),Promise.all(promises)):Promise.all(promises)},axe.utils.parseStylesheet=function parseStylesheet(sheet,options,priority,importedUrls){var isCrossOrigin=arguments.length>4&&void 0!==arguments[4]&&arguments[4],isSameOrigin=isSameOriginStylesheet(sheet);return isSameOrigin?axe.utils.parseSameOriginStylesheet(sheet,options,priority,importedUrls,isCrossOrigin):axe.utils.parseCrossOriginStylesheet(sheet.href,options,priority,importedUrls,!0)},utils.performanceTimer=function(){"use strict";function now(){if(window.performance&&window.performance)return window.performance.now()}var originalTime=null,lastRecordedTime=now();return{start:function start(){this.mark("mark_axe_start")},end:function end(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function auditStart(){this.mark("mark_audit_start")},auditEnd:function auditEnd(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function mark(markName){window.performance&&void 0!==window.performance.mark&&window.performance.mark(markName)},measure:function measure(measureName,startMark,endMark){window.performance&&void 0!==window.performance.measure&&window.performance.measure(measureName,startMark,endMark)},logMeasures:function logMeasures(measureName){function log(req){axe.log("Measure "+req.name+" took "+req.duration+"ms")}if(window.performance&&void 0!==window.performance.getEntriesByType)for(var axeStart=window.performance.getEntriesByName("mark_axe_start")[0],measures=window.performance.getEntriesByType("measure").filter((function(measure){return measure.startTime>=axeStart.startTime})),i=0;i>>0,thisArg=arguments[1],i=0;i=0?k=n:(k=len+n)<0&&(k=0);k>>0,thisArg=arguments.length>=2?arguments[1]:void 0,i=0;i0?1:-1)*Math.floor(Math.abs(number)):number}(value);return Math.min(Math.max(len,0),maxSafeInteger)},function from(arrayLike){var C=this,items=Object(arrayLike);if(null==arrayLike)throw new TypeError("Array.from requires an array-like object - not null or undefined");var T,mapFn=arguments.length>1?arguments[1]:void 0;if(void 0!==mapFn){if(!isCallable(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(T=arguments[2])}for(var kValue,len=toLength(items.length),A=isCallable(C)?Object(new C(len)):new Array(len),k=0;kthis.length)&&-1!==this.indexOf(search,start)}),axe.utils.preloadCssom=function preloadCssom(_ref){var _ref$treeRoot=_ref.treeRoot,rootNodes=function getAllRootNodesInTree(tree){var ids=[],rootNodes=axe.utils.querySelectorAllFilter(tree,"*",(function(node){return!ids.includes(node.shadowId)&&(ids.push(node.shadowId),!0)})).map((function(node){return{shadowId:node.shadowId,rootNode:axe.utils.getRootNode(node.actualNode)}}));return axe.utils.uniqueArray(rootNodes,[])}(void 0===_ref$treeRoot?axe._tree[0]:_ref$treeRoot);if(!rootNodes.length)return Promise.resolve();var dynamicDoc=document.implementation.createHTMLDocument("Dynamic document for loading cssom");return function getCssomForAllRootNodes(rootNodes,convertDataToStylesheet){var promises=[];return rootNodes.forEach((function(_ref2,index){var rootNode=_ref2.rootNode,shadowId=_ref2.shadowId,sheets=function getStylesheetsOfRootNode(rootNode,shadowId,convertDataToStylesheet){var sheets;sheets=11===rootNode.nodeType&&shadowId?function getStylesheetsFromDocumentFragment(rootNode,convertDataToStylesheet){return Array.from(rootNode.children).filter(filerStyleAndLinkAttributesInDocumentFragment).reduce((function(out,node){var nodeName=node.nodeName.toUpperCase(),data="STYLE"===nodeName?node.textContent:node,stylesheet=convertDataToStylesheet({data:data,isLink:"LINK"===nodeName,root:rootNode});return out.push(stylesheet.sheet),out}),[])}(rootNode,convertDataToStylesheet):function getStylesheetsFromDocument(rootNode){return Array.from(rootNode.styleSheets).filter((function(sheet){return filterMediaIsPrint(sheet.media.mediaText)}))}(rootNode);return function filterStylesheetsWithSameHref(sheets){var hrefs=[];return sheets.filter((function(sheet){return!sheet.href||!hrefs.includes(sheet.href)&&(hrefs.push(sheet.href),!0)}))}(sheets)}(rootNode,shadowId,convertDataToStylesheet);if(!sheets)return Promise.all(promises);var rootIndex=index+1,parseOptions={rootNode:rootNode,shadowId:shadowId,convertDataToStylesheet:convertDataToStylesheet,rootIndex:rootIndex},importedUrls=[],p=Promise.all(sheets.map((function(sheet,sheetIndex){var priority=[rootIndex,sheetIndex];return axe.utils.parseStylesheet(sheet,parseOptions,priority,importedUrls)})));promises.push(p)})),Promise.all(promises)}(rootNodes,axe.utils.getStyleSheetFactory(dynamicDoc)).then((function(assets){return function flattenAssets(assets){return assets.reduce((function(acc,val){return Array.isArray(val)?acc.concat(flattenAssets(val)):acc.concat(val)}),[])}(assets)}))},axe.utils.shouldPreload=function shouldPreload(options){return!options||void 0===options.preload||null===options.preload||("boolean"==typeof options.preload?options.preload:function isValidPreloadObject(preload){return"object"===_typeof(preload)&&Array.isArray(preload.assets)}(options.preload))},axe.utils.getPreloadConfig=function getPreloadConfig(options){var _axe$constants$preloa=axe.constants.preload,assets=_axe$constants$preloa.assets,timeout=_axe$constants$preloa.timeout,config={assets:assets,timeout:timeout};if(!options.preload)return config;if("boolean"==typeof options.preload)return config;if(!options.preload.assets.every((function(a){return assets.includes(a.toLowerCase())})))throw new Error("Requested assets, not supported. "+"Supported assets are: ".concat(assets.join(", "),"."));return config.assets=axe.utils.uniqueArray(options.preload.assets.map((function(a){return a.toLowerCase()})),[]),options.preload.timeout&&"number"==typeof options.preload.timeout&&!Number.isNaN(options.preload.timeout)&&(config.timeout=options.preload.timeout),config},axe.utils.preload=function preload(options){var preloadFunctionsMap={cssom:axe.utils.preloadCssom};return axe.utils.shouldPreload(options)?new Promise((function(resolve,reject){var _axe$utils$getPreload=axe.utils.getPreloadConfig(options),assets=_axe$utils$getPreload.assets,timeout=_axe$utils$getPreload.timeout;setTimeout((function(){return reject("Preload assets timed out.")}),timeout),Promise.all(assets.map((function(asset){return preloadFunctionsMap[asset](options).then((function(results){return function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},asset,results)}))}))).then((function(results){var preloadAssets=results.reduce((function(out,result){return _extends({},out,{},result)}),{});resolve(preloadAssets)}))})):Promise.resolve()},axe.utils.publishMetaData=function(ruleResult){"use strict";var checksData=axe._audit.data.checks||{},rulesData=axe._audit.data.rules||{},rule=axe.utils.findBy(axe._audit.rules,"id",ruleResult.id)||{};ruleResult.tags=axe.utils.clone(rule.tags||[]);var shouldBeTrue=extender(checksData,!0),shouldBeFalse=extender(checksData,!1);ruleResult.nodes.forEach((function(detail){detail.any.forEach(shouldBeTrue),detail.all.forEach(shouldBeTrue),detail.none.forEach(shouldBeFalse)})),axe.utils.extendMetaData(ruleResult,axe.utils.clone(rulesData[ruleResult.id]||{}))};var convertExpressions=function convertExpressions(){},matchExpressions=function matchExpressions(){};var from,uuid,escapeRegExp=(from=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(string){return string.replace(from,"\\")}),reUnescape=/\\/g;function convertAttributes(atts){if(atts)return atts.map((function(att){var test,regexp,attributeKey=att.name.replace(reUnescape,""),attributeValue=(att.value||"").replace(reUnescape,"");switch(att.operator){case"^=":regexp=new RegExp("^"+escapeRegExp(attributeValue));break;case"$=":regexp=new RegExp(escapeRegExp(attributeValue)+"$");break;case"~=":regexp=new RegExp("(^|\\s)"+escapeRegExp(attributeValue)+"(\\s|$)");break;case"|=":regexp=new RegExp("^"+escapeRegExp(attributeValue)+"(-|$)");break;case"=":test=function test(value){return attributeValue===value};break;case"*=":test=function test(value){return value&&value.includes(attributeValue)};break;case"!=":test=function test(value){return attributeValue!==value};break;default:test=function test(value){return!!value}}return""===attributeValue&&/^[*$^]=$/.test(att.operator)&&(test=function test(){return!1}),test||(test=function test(value){return value&®exp.test(value)}),{key:attributeKey,value:attributeValue,test:test}}))}function convertClasses(classes){if(classes)return classes.map((function(className){return{value:className=className.replace(reUnescape,""),regexp:new RegExp("(^|\\s)"+escapeRegExp(className)+"(\\s|$)")}}))}function convertPseudos(pseudos){if(pseudos)return pseudos.map((function(p){var expressions;return"not"===p.name&&(expressions=(expressions=p.value).selectors?expressions.selectors:[expressions],expressions=convertExpressions(expressions)),{name:p.name,expressions:expressions,value:p.value}}))}function createLocalVariables(vNodes,anyLevel,thisLevel,parentShadowId){var retVal={vNodes:vNodes.slice(),anyLevel:anyLevel,thisLevel:thisLevel,parentShadowId:parentShadowId};return retVal.vNodes.reverse(),retVal}function matchesSelector(vNode,exp){return function matchesTag(vNode,exp){return 1===vNode.props.nodeType&&("*"===exp.tag||vNode.props.nodeName===exp.tag)}(vNode,exp[0])&&function matchesClasses(vNode,exp){return!exp.classes||exp.classes.every((function(cl){return vNode.hasClass(cl.value)}))}(vNode,exp[0])&&function matchesAttributes(vNode,exp){return!exp.attributes||exp.attributes.every((function(att){var nodeAtt=vNode.attr(att.key);return null!==nodeAtt&&(!att.value||att.test(nodeAtt))}))}(vNode,exp[0])&&function matchesId(vNode,exp){return!exp.id||vNode.props.id===exp.id}(vNode,exp[0])&&function matchesPseudos(target,exp){return!(exp.pseudos&&!exp.pseudos.every((function(pseudo){if("not"===pseudo.name)return!matchExpressions([target],pseudo.expressions,!1).length;throw new Error("the pseudo selector "+pseudo.name+" has not yet been implemented")})))}(vNode,exp[0])}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function matchTags(rule,runOnly){"use strict";var include,exclude,defaultExclude=axe._audit&&axe._audit.tagExclude?axe._audit.tagExclude:[];return runOnly.hasOwnProperty("include")||runOnly.hasOwnProperty("exclude")?(include=runOnly.include||[],include=Array.isArray(include)?include:[include],exclude=runOnly.exclude||[],exclude=(exclude=Array.isArray(exclude)?exclude:[exclude]).concat(defaultExclude.filter((function(tag){return-1===include.indexOf(tag)})))):(include=Array.isArray(runOnly)?runOnly:[runOnly],exclude=defaultExclude.filter((function(tag){return-1===include.indexOf(tag)}))),!!(include.some((function(tag){return-1!==rule.tags.indexOf(tag)}))||0===include.length&&!1!==rule.enabled)&&exclude.every((function(tag){return-1===rule.tags.indexOf(tag)}))}function getElmScrollRecursive(root){return Array.from(root.children||root.childNodes||[]).reduce((function(scrolls,elm){var scroll=axe.utils.getScroll(elm);return scroll&&scrolls.push(scroll),scrolls.concat(getElmScrollRecursive(elm))}),[])}function getDeepest(collection){"use strict";return collection.sort((function(a,b){return axe.utils.contains(a,b)?1:-1}))[0]}function isNodeInContext(node,context){"use strict";var include=context.include&&getDeepest(context.include.filter((function(candidate){return axe.utils.contains(candidate,node)}))),exclude=context.exclude&&getDeepest(context.exclude.filter((function(candidate){return axe.utils.contains(candidate,node)})));return!!(!exclude&&include||exclude&&axe.utils.contains(exclude,include))}function pushNode(result,nodes){"use strict";var temp;if(0===result.length)return nodes;result.length"].includes(rest[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+exp[1].combinator);">"===rest[0].combinator?childOnly.push(rest):childAny.push(rest)}exp[0].id&&vNode.shadowId!==currentLevel.parentShadowId||!currentLevel.anyLevel.includes(exp)||childAny.push(exp)}for(vNode.children&&vNode.children.length&&recurse&&(stack.push(currentLevel),currentLevel=createLocalVariables(vNode.children,childAny,childOnly,vNode.shadowId));!currentLevel.vNodes.length&&stack.length;)currentLevel=stack.pop()}return result},axe.utils.querySelectorAll=function(domTree,selector){return axe.utils.querySelectorAllFilter(domTree,selector)},axe.utils.querySelectorAllFilter=function(domTree,selector,filter){domTree=Array.isArray(domTree)?domTree:[domTree];var expressions=axe.utils.cssParser.parse(selector);return expressions=expressions.selectors?expressions.selectors:[expressions],expressions=convertExpressions(expressions),matchExpressions(domTree,expressions,!0,filter)},function(){"use strict";function noop(){}function funcGuard(f){if("function"!=typeof f)throw new TypeError("Queue methods require functions as arguments")}axe.utils.queue=function queue(){var err,tasks=[],started=0,remaining=0,completeQueue=noop,complete=!1,defaultFail=function defaultFail(e){err=e,setTimeout((function(){null!=err&&axe.log("Uncaught error (of queue)",err)}),1)},failed=defaultFail;function createResolve(i){return function(r){tasks[i]=r,(remaining-=1)||completeQueue===noop||(complete=!0,completeQueue(tasks))}}function abort(msg){return completeQueue=noop,failed(msg),tasks}var q={defer:function defer(fn){if("object"===_typeof(fn)&&fn.then&&fn.catch){var defer=fn;fn=function fn(resolve,reject){defer.then(resolve).catch(reject)}}if(funcGuard(fn),void 0===err){if(complete)throw new Error("Queue already completed");return tasks.push(fn),++remaining,function pop(){for(var length=tasks.length;started0&&void 0!==arguments[0]?arguments[0]:window,root=win.document.documentElement,windowScroll=[void 0!==win.pageXOffset?{elm:win,top:win.pageYOffset,left:win.pageXOffset}:{elm:root,top:root.scrollTop,left:root.scrollLeft}];return windowScroll.concat(getElmScrollRecursive(document.body))},axe.utils.setScrollState=function setScrollState(scrollState){scrollState.forEach((function(_ref){return function setScroll(elm,top,left){if(elm===window)return elm.scroll(left,top);elm.scrollTop=top,elm.scrollLeft=left}(_ref.elm,_ref.top,_ref.left)}))},axe.utils.select=function select(selector,context){"use strict";var candidate,result=[];if(axe._selectCache)for(var j=0,l=axe._selectCache.length;j>>((3&i)<<3)&255;return _rnds}}for(var BufferClass="function"==typeof _global.Buffer?_global.Buffer:Array,_byteToHex=[],_hexToByte={},i=0;i<256;i++)_byteToHex[i]=(i+256).toString(16).substr(1),_hexToByte[_byteToHex[i]]=i;function unparse(buf,offset){var i=offset||0,bth=_byteToHex;return bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]}var _seedBytes=_rng(),_nodeId=[1|_seedBytes[0],_seedBytes[1],_seedBytes[2],_seedBytes[3],_seedBytes[4],_seedBytes[5]],_clockseq=16383&(_seedBytes[6]<<8|_seedBytes[7]),_lastMSecs=0,_lastNSecs=0;function v4(options,buf,offset){var i=buf&&offset||0;"string"==typeof options&&(buf="binary"==options?new BufferClass(16):null,options=null);var rnds=(options=options||{}).random||(options.rng||_rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf)for(var ii=0;ii<16;ii++)buf[i+ii]=rnds[ii];return buf||unparse(rnds)}(uuid=v4).v1=function v1(options,buf,offset){var i=buf&&offset||0,b=buf||[],clockseq=null!=(options=options||{}).clockseq?options.clockseq:_clockseq,msecs=null!=options.msecs?options.msecs:(new Date).getTime(),nsecs=null!=options.nsecs?options.nsecs:_lastNSecs+1,dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&null==options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&null==options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq;var tl=(1e4*(268435455&(msecs+=122192928e5))+nsecs)%4294967296;b[i++]=tl>>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;var tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(var node=options.node||_nodeId,n=0;n<6;n++)b[i+n]=node[n];return buf||unparse(b)},uuid.v4=v4,uuid.parse=function parse(s,buf,offset){var i=buf&&offset||0,ii=0;for(buf=buf||[],s.toLowerCase().replace(/[0-9a-f]{2}/g,(function(oct){ii<16&&(buf[i+ii++]=_hexToByte[oct])}));ii<16;)buf[i+ii++]=0;return buf},uuid.unparse=unparse,uuid.BufferClass=BufferClass}(window),axe.utils.validInputTypes=function validInputTypes(){"use strict";return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]};var langs=["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","in","io","is","it","iu","iw","ja","ji","jv","jw","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mo","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","sh","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu","aaa","aab","aac","aad","aae","aaf","aag","aah","aai","aak","aal","aam","aan","aao","aap","aaq","aas","aat","aau","aav","aaw","aax","aaz","aba","abb","abc","abd","abe","abf","abg","abh","abi","abj","abl","abm","abn","abo","abp","abq","abr","abs","abt","abu","abv","abw","abx","aby","abz","aca","acb","acd","ace","acf","ach","aci","ack","acl","acm","acn","acp","acq","acr","acs","act","acu","acv","acw","acx","acy","acz","ada","adb","add","ade","adf","adg","adh","adi","adj","adl","adn","ado","adp","adq","adr","ads","adt","adu","adw","adx","ady","adz","aea","aeb","aec","aed","aee","aek","ael","aem","aen","aeq","aer","aes","aeu","aew","aey","aez","afa","afb","afd","afe","afg","afh","afi","afk","afn","afo","afp","afs","aft","afu","afz","aga","agb","agc","agd","age","agf","agg","agh","agi","agj","agk","agl","agm","agn","ago","agp","agq","agr","ags","agt","agu","agv","agw","agx","agy","agz","aha","ahb","ahg","ahh","ahi","ahk","ahl","ahm","ahn","aho","ahp","ahr","ahs","aht","aia","aib","aic","aid","aie","aif","aig","aih","aii","aij","aik","ail","aim","ain","aio","aip","aiq","air","ais","ait","aiw","aix","aiy","aja","ajg","aji","ajn","ajp","ajt","aju","ajw","ajz","akb","akc","akd","ake","akf","akg","akh","aki","akj","akk","akl","akm","ako","akp","akq","akr","aks","akt","aku","akv","akw","akx","aky","akz","ala","alc","ald","ale","alf","alg","alh","ali","alj","alk","all","alm","aln","alo","alp","alq","alr","als","alt","alu","alv","alw","alx","aly","alz","ama","amb","amc","ame","amf","amg","ami","amj","amk","aml","amm","amn","amo","amp","amq","amr","ams","amt","amu","amv","amw","amx","amy","amz","ana","anb","anc","and","ane","anf","ang","anh","ani","anj","ank","anl","anm","ann","ano","anp","anq","anr","ans","ant","anu","anv","anw","anx","any","anz","aoa","aob","aoc","aod","aoe","aof","aog","aoh","aoi","aoj","aok","aol","aom","aon","aor","aos","aot","aou","aox","aoz","apa","apb","apc","apd","ape","apf","apg","aph","api","apj","apk","apl","apm","apn","apo","app","apq","apr","aps","apt","apu","apv","apw","apx","apy","apz","aqa","aqc","aqd","aqg","aql","aqm","aqn","aqp","aqr","aqt","aqz","arb","arc","ard","are","arh","ari","arj","ark","arl","arn","aro","arp","arq","arr","ars","art","aru","arv","arw","arx","ary","arz","asa","asb","asc","asd","ase","asf","asg","ash","asi","asj","ask","asl","asn","aso","asp","asq","asr","ass","ast","asu","asv","asw","asx","asy","asz","ata","atb","atc","atd","ate","atg","ath","ati","atj","atk","atl","atm","atn","ato","atp","atq","atr","ats","att","atu","atv","atw","atx","aty","atz","aua","aub","auc","aud","aue","auf","aug","auh","aui","auj","auk","aul","aum","aun","auo","aup","auq","aur","aus","aut","auu","auw","aux","auy","auz","avb","avd","avi","avk","avl","avm","avn","avo","avs","avt","avu","avv","awa","awb","awc","awd","awe","awg","awh","awi","awk","awm","awn","awo","awr","aws","awt","awu","awv","aww","awx","awy","axb","axe","axg","axk","axl","axm","axx","aya","ayb","ayc","ayd","aye","ayg","ayh","ayi","ayk","ayl","ayn","ayo","ayp","ayq","ayr","ays","ayt","ayu","ayx","ayy","ayz","aza","azb","azc","azd","azg","azj","azm","azn","azo","azt","azz","baa","bab","bac","bad","bae","baf","bag","bah","bai","baj","bal","ban","bao","bap","bar","bas","bat","bau","bav","baw","bax","bay","baz","bba","bbb","bbc","bbd","bbe","bbf","bbg","bbh","bbi","bbj","bbk","bbl","bbm","bbn","bbo","bbp","bbq","bbr","bbs","bbt","bbu","bbv","bbw","bbx","bby","bbz","bca","bcb","bcc","bcd","bce","bcf","bcg","bch","bci","bcj","bck","bcl","bcm","bcn","bco","bcp","bcq","bcr","bcs","bct","bcu","bcv","bcw","bcy","bcz","bda","bdb","bdc","bdd","bde","bdf","bdg","bdh","bdi","bdj","bdk","bdl","bdm","bdn","bdo","bdp","bdq","bdr","bds","bdt","bdu","bdv","bdw","bdx","bdy","bdz","bea","beb","bec","bed","bee","bef","beg","beh","bei","bej","bek","bem","beo","bep","beq","ber","bes","bet","beu","bev","bew","bex","bey","bez","bfa","bfb","bfc","bfd","bfe","bff","bfg","bfh","bfi","bfj","bfk","bfl","bfm","bfn","bfo","bfp","bfq","bfr","bfs","bft","bfu","bfw","bfx","bfy","bfz","bga","bgb","bgc","bgd","bge","bgf","bgg","bgi","bgj","bgk","bgl","bgm","bgn","bgo","bgp","bgq","bgr","bgs","bgt","bgu","bgv","bgw","bgx","bgy","bgz","bha","bhb","bhc","bhd","bhe","bhf","bhg","bhh","bhi","bhj","bhk","bhl","bhm","bhn","bho","bhp","bhq","bhr","bhs","bht","bhu","bhv","bhw","bhx","bhy","bhz","bia","bib","bic","bid","bie","bif","big","bij","bik","bil","bim","bin","bio","bip","biq","bir","bit","biu","biv","biw","bix","biy","biz","bja","bjb","bjc","bjd","bje","bjf","bjg","bjh","bji","bjj","bjk","bjl","bjm","bjn","bjo","bjp","bjq","bjr","bjs","bjt","bju","bjv","bjw","bjx","bjy","bjz","bka","bkb","bkc","bkd","bkf","bkg","bkh","bki","bkj","bkk","bkl","bkm","bkn","bko","bkp","bkq","bkr","bks","bkt","bku","bkv","bkw","bkx","bky","bkz","bla","blb","blc","bld","ble","blf","blg","blh","bli","blj","blk","bll","blm","bln","blo","blp","blq","blr","bls","blt","blv","blw","blx","bly","blz","bma","bmb","bmc","bmd","bme","bmf","bmg","bmh","bmi","bmj","bmk","bml","bmm","bmn","bmo","bmp","bmq","bmr","bms","bmt","bmu","bmv","bmw","bmx","bmy","bmz","bna","bnb","bnc","bnd","bne","bnf","bng","bni","bnj","bnk","bnl","bnm","bnn","bno","bnp","bnq","bnr","bns","bnt","bnu","bnv","bnw","bnx","bny","bnz","boa","bob","boe","bof","bog","boh","boi","boj","bok","bol","bom","bon","boo","bop","boq","bor","bot","bou","bov","bow","box","boy","boz","bpa","bpb","bpd","bpg","bph","bpi","bpj","bpk","bpl","bpm","bpn","bpo","bpp","bpq","bpr","bps","bpt","bpu","bpv","bpw","bpx","bpy","bpz","bqa","bqb","bqc","bqd","bqf","bqg","bqh","bqi","bqj","bqk","bql","bqm","bqn","bqo","bqp","bqq","bqr","bqs","bqt","bqu","bqv","bqw","bqx","bqy","bqz","bra","brb","brc","brd","brf","brg","brh","bri","brj","brk","brl","brm","brn","bro","brp","brq","brr","brs","brt","bru","brv","brw","brx","bry","brz","bsa","bsb","bsc","bse","bsf","bsg","bsh","bsi","bsj","bsk","bsl","bsm","bsn","bso","bsp","bsq","bsr","bss","bst","bsu","bsv","bsw","bsx","bsy","bta","btb","btc","btd","bte","btf","btg","bth","bti","btj","btk","btl","btm","btn","bto","btp","btq","btr","bts","btt","btu","btv","btw","btx","bty","btz","bua","bub","buc","bud","bue","buf","bug","buh","bui","buj","buk","bum","bun","buo","bup","buq","bus","but","buu","buv","buw","bux","buy","buz","bva","bvb","bvc","bvd","bve","bvf","bvg","bvh","bvi","bvj","bvk","bvl","bvm","bvn","bvo","bvp","bvq","bvr","bvt","bvu","bvv","bvw","bvx","bvy","bvz","bwa","bwb","bwc","bwd","bwe","bwf","bwg","bwh","bwi","bwj","bwk","bwl","bwm","bwn","bwo","bwp","bwq","bwr","bws","bwt","bwu","bww","bwx","bwy","bwz","bxa","bxb","bxc","bxd","bxe","bxf","bxg","bxh","bxi","bxj","bxk","bxl","bxm","bxn","bxo","bxp","bxq","bxr","bxs","bxu","bxv","bxw","bxx","bxz","bya","byb","byc","byd","bye","byf","byg","byh","byi","byj","byk","byl","bym","byn","byo","byp","byq","byr","bys","byt","byv","byw","byx","byy","byz","bza","bzb","bzc","bzd","bze","bzf","bzg","bzh","bzi","bzj","bzk","bzl","bzm","bzn","bzo","bzp","bzq","bzr","bzs","bzt","bzu","bzv","bzw","bzx","bzy","bzz","caa","cab","cac","cad","cae","caf","cag","cah","cai","caj","cak","cal","cam","can","cao","cap","caq","car","cas","cau","cav","caw","cax","cay","caz","cba","cbb","cbc","cbd","cbe","cbg","cbh","cbi","cbj","cbk","cbl","cbn","cbo","cbq","cbr","cbs","cbt","cbu","cbv","cbw","cby","cca","ccc","ccd","cce","ccg","cch","ccj","ccl","ccm","ccn","cco","ccp","ccq","ccr","ccs","cda","cdc","cdd","cde","cdf","cdg","cdh","cdi","cdj","cdm","cdn","cdo","cdr","cds","cdy","cdz","cea","ceb","ceg","cek","cel","cen","cet","cfa","cfd","cfg","cfm","cga","cgc","cgg","cgk","chb","chc","chd","chf","chg","chh","chj","chk","chl","chm","chn","cho","chp","chq","chr","cht","chw","chx","chy","chz","cia","cib","cic","cid","cie","cih","cik","cim","cin","cip","cir","ciw","ciy","cja","cje","cjh","cji","cjk","cjm","cjn","cjo","cjp","cjr","cjs","cjv","cjy","cka","ckb","ckh","ckl","ckn","cko","ckq","ckr","cks","ckt","cku","ckv","ckx","cky","ckz","cla","clc","cld","cle","clh","cli","clj","clk","cll","clm","clo","clt","clu","clw","cly","cma","cmc","cme","cmg","cmi","cmk","cml","cmm","cmn","cmo","cmr","cms","cmt","cna","cnb","cnc","cng","cnh","cni","cnk","cnl","cno","cnr","cns","cnt","cnu","cnw","cnx","coa","cob","coc","cod","coe","cof","cog","coh","coj","cok","col","com","con","coo","cop","coq","cot","cou","cov","cow","cox","coy","coz","cpa","cpb","cpc","cpe","cpf","cpg","cpi","cpn","cpo","cpp","cps","cpu","cpx","cpy","cqd","cqu","cra","crb","crc","crd","crf","crg","crh","cri","crj","crk","crl","crm","crn","cro","crp","crq","crr","crs","crt","crv","crw","crx","cry","crz","csa","csb","csc","csd","cse","csf","csg","csh","csi","csj","csk","csl","csm","csn","cso","csq","csr","css","cst","csu","csv","csw","csy","csz","cta","ctc","ctd","cte","ctg","cth","ctl","ctm","ctn","cto","ctp","cts","ctt","ctu","ctz","cua","cub","cuc","cug","cuh","cui","cuj","cuk","cul","cum","cuo","cup","cuq","cur","cus","cut","cuu","cuv","cuw","cux","cuy","cvg","cvn","cwa","cwb","cwd","cwe","cwg","cwt","cya","cyb","cyo","czh","czk","czn","czo","czt","daa","dac","dad","dae","daf","dag","dah","dai","daj","dak","dal","dam","dao","dap","daq","dar","das","dau","dav","daw","dax","day","daz","dba","dbb","dbd","dbe","dbf","dbg","dbi","dbj","dbl","dbm","dbn","dbo","dbp","dbq","dbr","dbt","dbu","dbv","dbw","dby","dcc","dcr","dda","ddd","dde","ddg","ddi","ddj","ddn","ddo","ddr","dds","ddw","dec","ded","dee","def","deg","deh","dei","dek","del","dem","den","dep","deq","der","des","dev","dez","dga","dgb","dgc","dgd","dge","dgg","dgh","dgi","dgk","dgl","dgn","dgo","dgr","dgs","dgt","dgu","dgw","dgx","dgz","dha","dhd","dhg","dhi","dhl","dhm","dhn","dho","dhr","dhs","dhu","dhv","dhw","dhx","dia","dib","dic","did","dif","dig","dih","dii","dij","dik","dil","dim","din","dio","dip","diq","dir","dis","dit","diu","diw","dix","diy","diz","dja","djb","djc","djd","dje","djf","dji","djj","djk","djl","djm","djn","djo","djr","dju","djw","dka","dkk","dkl","dkr","dks","dkx","dlg","dlk","dlm","dln","dma","dmb","dmc","dmd","dme","dmg","dmk","dml","dmm","dmn","dmo","dmr","dms","dmu","dmv","dmw","dmx","dmy","dna","dnd","dne","dng","dni","dnj","dnk","dnn","dnr","dnt","dnu","dnv","dnw","dny","doa","dob","doc","doe","dof","doh","doi","dok","dol","don","doo","dop","doq","dor","dos","dot","dov","dow","dox","doy","doz","dpp","dra","drb","drc","drd","dre","drg","drh","dri","drl","drn","dro","drq","drr","drs","drt","dru","drw","dry","dsb","dse","dsh","dsi","dsl","dsn","dso","dsq","dta","dtb","dtd","dth","dti","dtk","dtm","dtn","dto","dtp","dtr","dts","dtt","dtu","dty","dua","dub","duc","dud","due","duf","dug","duh","dui","duj","duk","dul","dum","dun","duo","dup","duq","dur","dus","duu","duv","duw","dux","duy","duz","dva","dwa","dwl","dwr","dws","dwu","dww","dwy","dya","dyb","dyd","dyg","dyi","dym","dyn","dyo","dyu","dyy","dza","dzd","dze","dzg","dzl","dzn","eaa","ebg","ebk","ebo","ebr","ebu","ecr","ecs","ecy","eee","efa","efe","efi","ega","egl","ego","egx","egy","ehu","eip","eit","eiv","eja","eka","ekc","eke","ekg","eki","ekk","ekl","ekm","eko","ekp","ekr","eky","ele","elh","eli","elk","elm","elo","elp","elu","elx","ema","emb","eme","emg","emi","emk","emm","emn","emo","emp","ems","emu","emw","emx","emy","ena","enb","enc","end","enf","enh","enl","enm","enn","eno","enq","enr","enu","env","enw","enx","eot","epi","era","erg","erh","eri","erk","ero","err","ers","ert","erw","ese","esg","esh","esi","esk","esl","esm","esn","eso","esq","ess","esu","esx","esy","etb","etc","eth","etn","eto","etr","ets","ett","etu","etx","etz","euq","eve","evh","evn","ewo","ext","eya","eyo","eza","eze","faa","fab","fad","faf","fag","fah","fai","faj","fak","fal","fam","fan","fap","far","fat","fau","fax","fay","faz","fbl","fcs","fer","ffi","ffm","fgr","fia","fie","fil","fip","fir","fit","fiu","fiw","fkk","fkv","fla","flh","fli","fll","fln","flr","fly","fmp","fmu","fnb","fng","fni","fod","foi","fom","fon","for","fos","fox","fpe","fqs","frc","frd","frk","frm","fro","frp","frq","frr","frs","frt","fse","fsl","fss","fub","fuc","fud","fue","fuf","fuh","fui","fuj","fum","fun","fuq","fur","fut","fuu","fuv","fuy","fvr","fwa","fwe","gaa","gab","gac","gad","gae","gaf","gag","gah","gai","gaj","gak","gal","gam","gan","gao","gap","gaq","gar","gas","gat","gau","gav","gaw","gax","gay","gaz","gba","gbb","gbc","gbd","gbe","gbf","gbg","gbh","gbi","gbj","gbk","gbl","gbm","gbn","gbo","gbp","gbq","gbr","gbs","gbu","gbv","gbw","gbx","gby","gbz","gcc","gcd","gce","gcf","gcl","gcn","gcr","gct","gda","gdb","gdc","gdd","gde","gdf","gdg","gdh","gdi","gdj","gdk","gdl","gdm","gdn","gdo","gdq","gdr","gds","gdt","gdu","gdx","gea","geb","gec","ged","geg","geh","gei","gej","gek","gel","gem","geq","ges","gev","gew","gex","gey","gez","gfk","gft","gfx","gga","ggb","ggd","gge","ggg","ggk","ggl","ggn","ggo","ggr","ggt","ggu","ggw","gha","ghc","ghe","ghh","ghk","ghl","ghn","gho","ghr","ghs","ght","gia","gib","gic","gid","gie","gig","gih","gil","gim","gin","gio","gip","giq","gir","gis","git","giu","giw","gix","giy","giz","gji","gjk","gjm","gjn","gjr","gju","gka","gkd","gke","gkn","gko","gkp","gku","glc","gld","glh","gli","glj","glk","gll","glo","glr","glu","glw","gly","gma","gmb","gmd","gme","gmg","gmh","gml","gmm","gmn","gmq","gmu","gmv","gmw","gmx","gmy","gmz","gna","gnb","gnc","gnd","gne","gng","gnh","gni","gnj","gnk","gnl","gnm","gnn","gno","gnq","gnr","gnt","gnu","gnw","gnz","goa","gob","goc","god","goe","gof","gog","goh","goi","goj","gok","gol","gom","gon","goo","gop","goq","gor","gos","got","gou","gow","gox","goy","goz","gpa","gpe","gpn","gqa","gqi","gqn","gqr","gqu","gra","grb","grc","grd","grg","grh","gri","grj","grk","grm","gro","grq","grr","grs","grt","gru","grv","grw","grx","gry","grz","gse","gsg","gsl","gsm","gsn","gso","gsp","gss","gsw","gta","gti","gtu","gua","gub","guc","gud","gue","guf","gug","guh","gui","guk","gul","gum","gun","guo","gup","guq","gur","gus","gut","guu","guv","guw","gux","guz","gva","gvc","gve","gvf","gvj","gvl","gvm","gvn","gvo","gvp","gvr","gvs","gvy","gwa","gwb","gwc","gwd","gwe","gwf","gwg","gwi","gwj","gwm","gwn","gwr","gwt","gwu","gww","gwx","gxx","gya","gyb","gyd","gye","gyf","gyg","gyi","gyl","gym","gyn","gyo","gyr","gyy","gza","gzi","gzn","haa","hab","hac","had","hae","haf","hag","hah","hai","haj","hak","hal","ham","han","hao","hap","haq","har","has","hav","haw","hax","hay","haz","hba","hbb","hbn","hbo","hbu","hca","hch","hdn","hds","hdy","hea","hed","heg","heh","hei","hem","hgm","hgw","hhi","hhr","hhy","hia","hib","hid","hif","hig","hih","hii","hij","hik","hil","him","hio","hir","hit","hiw","hix","hji","hka","hke","hkk","hkn","hks","hla","hlb","hld","hle","hlt","hlu","hma","hmb","hmc","hmd","hme","hmf","hmg","hmh","hmi","hmj","hmk","hml","hmm","hmn","hmp","hmq","hmr","hms","hmt","hmu","hmv","hmw","hmx","hmy","hmz","hna","hnd","hne","hnh","hni","hnj","hnn","hno","hns","hnu","hoa","hob","hoc","hod","hoe","hoh","hoi","hoj","hok","hol","hom","hoo","hop","hor","hos","hot","hov","how","hoy","hoz","hpo","hps","hra","hrc","hre","hrk","hrm","hro","hrp","hrr","hrt","hru","hrw","hrx","hrz","hsb","hsh","hsl","hsn","hss","hti","hto","hts","htu","htx","hub","huc","hud","hue","huf","hug","huh","hui","huj","huk","hul","hum","huo","hup","huq","hur","hus","hut","huu","huv","huw","hux","huy","huz","hvc","hve","hvk","hvn","hvv","hwa","hwc","hwo","hya","hyw","hyx","iai","ian","iap","iar","iba","ibb","ibd","ibe","ibg","ibh","ibi","ibl","ibm","ibn","ibr","ibu","iby","ica","ich","icl","icr","ida","idb","idc","idd","ide","idi","idr","ids","idt","idu","ifa","ifb","ife","iff","ifk","ifm","ifu","ify","igb","ige","igg","igl","igm","ign","igo","igs","igw","ihb","ihi","ihp","ihw","iin","iir","ijc","ije","ijj","ijn","ijo","ijs","ike","iki","ikk","ikl","iko","ikp","ikr","iks","ikt","ikv","ikw","ikx","ikz","ila","ilb","ilg","ili","ilk","ill","ilm","ilo","ilp","ils","ilu","ilv","ilw","ima","ime","imi","iml","imn","imo","imr","ims","imy","inb","inc","ine","ing","inh","inj","inl","inm","inn","ino","inp","ins","int","inz","ior","iou","iow","ipi","ipo","iqu","iqw","ira","ire","irh","iri","irk","irn","iro","irr","iru","irx","iry","isa","isc","isd","ise","isg","ish","isi","isk","ism","isn","iso","isr","ist","isu","itb","itc","itd","ite","iti","itk","itl","itm","ito","itr","its","itt","itv","itw","itx","ity","itz","ium","ivb","ivv","iwk","iwm","iwo","iws","ixc","ixl","iya","iyo","iyx","izh","izi","izr","izz","jaa","jab","jac","jad","jae","jaf","jah","jaj","jak","jal","jam","jan","jao","jaq","jar","jas","jat","jau","jax","jay","jaz","jbe","jbi","jbj","jbk","jbn","jbo","jbr","jbt","jbu","jbw","jcs","jct","jda","jdg","jdt","jeb","jee","jeg","jeh","jei","jek","jel","jen","jer","jet","jeu","jgb","jge","jgk","jgo","jhi","jhs","jia","jib","jic","jid","jie","jig","jih","jii","jil","jim","jio","jiq","jit","jiu","jiv","jiy","jje","jjr","jka","jkm","jko","jkp","jkr","jku","jle","jls","jma","jmb","jmc","jmd","jmi","jml","jmn","jmr","jms","jmw","jmx","jna","jnd","jng","jni","jnj","jnl","jns","job","jod","jog","jor","jos","jow","jpa","jpr","jpx","jqr","jra","jrb","jrr","jrt","jru","jsl","jua","jub","juc","jud","juh","jui","juk","jul","jum","jun","juo","jup","jur","jus","jut","juu","juw","juy","jvd","jvn","jwi","jya","jye","jyy","kaa","kab","kac","kad","kae","kaf","kag","kah","kai","kaj","kak","kam","kao","kap","kaq","kar","kav","kaw","kax","kay","kba","kbb","kbc","kbd","kbe","kbf","kbg","kbh","kbi","kbj","kbk","kbl","kbm","kbn","kbo","kbp","kbq","kbr","kbs","kbt","kbu","kbv","kbw","kbx","kby","kbz","kca","kcb","kcc","kcd","kce","kcf","kcg","kch","kci","kcj","kck","kcl","kcm","kcn","kco","kcp","kcq","kcr","kcs","kct","kcu","kcv","kcw","kcx","kcy","kcz","kda","kdc","kdd","kde","kdf","kdg","kdh","kdi","kdj","kdk","kdl","kdm","kdn","kdo","kdp","kdq","kdr","kdt","kdu","kdv","kdw","kdx","kdy","kdz","kea","keb","kec","ked","kee","kef","keg","keh","kei","kej","kek","kel","kem","ken","keo","kep","keq","ker","kes","ket","keu","kev","kew","kex","key","kez","kfa","kfb","kfc","kfd","kfe","kff","kfg","kfh","kfi","kfj","kfk","kfl","kfm","kfn","kfo","kfp","kfq","kfr","kfs","kft","kfu","kfv","kfw","kfx","kfy","kfz","kga","kgb","kgc","kgd","kge","kgf","kgg","kgh","kgi","kgj","kgk","kgl","kgm","kgn","kgo","kgp","kgq","kgr","kgs","kgt","kgu","kgv","kgw","kgx","kgy","kha","khb","khc","khd","khe","khf","khg","khh","khi","khj","khk","khl","khn","kho","khp","khq","khr","khs","kht","khu","khv","khw","khx","khy","khz","kia","kib","kic","kid","kie","kif","kig","kih","kii","kij","kil","kim","kio","kip","kiq","kis","kit","kiu","kiv","kiw","kix","kiy","kiz","kja","kjb","kjc","kjd","kje","kjf","kjg","kjh","kji","kjj","kjk","kjl","kjm","kjn","kjo","kjp","kjq","kjr","kjs","kjt","kju","kjv","kjx","kjy","kjz","kka","kkb","kkc","kkd","kke","kkf","kkg","kkh","kki","kkj","kkk","kkl","kkm","kkn","kko","kkp","kkq","kkr","kks","kkt","kku","kkv","kkw","kkx","kky","kkz","kla","klb","klc","kld","kle","klf","klg","klh","kli","klj","klk","kll","klm","kln","klo","klp","klq","klr","kls","klt","klu","klv","klw","klx","kly","klz","kma","kmb","kmc","kmd","kme","kmf","kmg","kmh","kmi","kmj","kmk","kml","kmm","kmn","kmo","kmp","kmq","kmr","kms","kmt","kmu","kmv","kmw","kmx","kmy","kmz","kna","knb","knc","knd","kne","knf","kng","kni","knj","knk","knl","knm","knn","kno","knp","knq","knr","kns","knt","knu","knv","knw","knx","kny","knz","koa","koc","kod","koe","kof","kog","koh","koi","koj","kok","kol","koo","kop","koq","kos","kot","kou","kov","kow","kox","koy","koz","kpa","kpb","kpc","kpd","kpe","kpf","kpg","kph","kpi","kpj","kpk","kpl","kpm","kpn","kpo","kpp","kpq","kpr","kps","kpt","kpu","kpv","kpw","kpx","kpy","kpz","kqa","kqb","kqc","kqd","kqe","kqf","kqg","kqh","kqi","kqj","kqk","kql","kqm","kqn","kqo","kqp","kqq","kqr","kqs","kqt","kqu","kqv","kqw","kqx","kqy","kqz","kra","krb","krc","krd","kre","krf","krh","kri","krj","krk","krl","krm","krn","kro","krp","krr","krs","krt","kru","krv","krw","krx","kry","krz","ksa","ksb","ksc","ksd","kse","ksf","ksg","ksh","ksi","ksj","ksk","ksl","ksm","ksn","kso","ksp","ksq","ksr","kss","kst","ksu","ksv","ksw","ksx","ksy","ksz","kta","ktb","ktc","ktd","kte","ktf","ktg","kth","kti","ktj","ktk","ktl","ktm","ktn","kto","ktp","ktq","ktr","kts","ktt","ktu","ktv","ktw","ktx","kty","ktz","kub","kuc","kud","kue","kuf","kug","kuh","kui","kuj","kuk","kul","kum","kun","kuo","kup","kuq","kus","kut","kuu","kuv","kuw","kux","kuy","kuz","kva","kvb","kvc","kvd","kve","kvf","kvg","kvh","kvi","kvj","kvk","kvl","kvm","kvn","kvo","kvp","kvq","kvr","kvs","kvt","kvu","kvv","kvw","kvx","kvy","kvz","kwa","kwb","kwc","kwd","kwe","kwf","kwg","kwh","kwi","kwj","kwk","kwl","kwm","kwn","kwo","kwp","kwq","kwr","kws","kwt","kwu","kwv","kww","kwx","kwy","kwz","kxa","kxb","kxc","kxd","kxe","kxf","kxh","kxi","kxj","kxk","kxl","kxm","kxn","kxo","kxp","kxq","kxr","kxs","kxt","kxu","kxv","kxw","kxx","kxy","kxz","kya","kyb","kyc","kyd","kye","kyf","kyg","kyh","kyi","kyj","kyk","kyl","kym","kyn","kyo","kyp","kyq","kyr","kys","kyt","kyu","kyv","kyw","kyx","kyy","kyz","kza","kzb","kzc","kzd","kze","kzf","kzg","kzh","kzi","kzj","kzk","kzl","kzm","kzn","kzo","kzp","kzq","kzr","kzs","kzt","kzu","kzv","kzw","kzx","kzy","kzz","laa","lab","lac","lad","lae","laf","lag","lah","lai","laj","lak","lal","lam","lan","lap","laq","lar","las","lau","law","lax","lay","laz","lba","lbb","lbc","lbe","lbf","lbg","lbi","lbj","lbk","lbl","lbm","lbn","lbo","lbq","lbr","lbs","lbt","lbu","lbv","lbw","lbx","lby","lbz","lcc","lcd","lce","lcf","lch","lcl","lcm","lcp","lcq","lcs","lda","ldb","ldd","ldg","ldh","ldi","ldj","ldk","ldl","ldm","ldn","ldo","ldp","ldq","lea","leb","lec","led","lee","lef","leg","leh","lei","lej","lek","lel","lem","len","leo","lep","leq","ler","les","let","leu","lev","lew","lex","ley","lez","lfa","lfn","lga","lgb","lgg","lgh","lgi","lgk","lgl","lgm","lgn","lgq","lgr","lgt","lgu","lgz","lha","lhh","lhi","lhl","lhm","lhn","lhp","lhs","lht","lhu","lia","lib","lic","lid","lie","lif","lig","lih","lii","lij","lik","lil","lio","lip","liq","lir","lis","liu","liv","liw","lix","liy","liz","lja","lje","lji","ljl","ljp","ljw","ljx","lka","lkb","lkc","lkd","lke","lkh","lki","lkj","lkl","lkm","lkn","lko","lkr","lks","lkt","lku","lky","lla","llb","llc","lld","lle","llf","llg","llh","lli","llj","llk","lll","llm","lln","llo","llp","llq","lls","llu","llx","lma","lmb","lmc","lmd","lme","lmf","lmg","lmh","lmi","lmj","lmk","lml","lmm","lmn","lmo","lmp","lmq","lmr","lmu","lmv","lmw","lmx","lmy","lmz","lna","lnb","lnd","lng","lnh","lni","lnj","lnl","lnm","lnn","lno","lns","lnu","lnw","lnz","loa","lob","loc","loe","lof","log","loh","loi","loj","lok","lol","lom","lon","loo","lop","loq","lor","los","lot","lou","lov","low","lox","loy","loz","lpa","lpe","lpn","lpo","lpx","lra","lrc","lre","lrg","lri","lrk","lrl","lrm","lrn","lro","lrr","lrt","lrv","lrz","lsa","lsd","lse","lsg","lsh","lsi","lsl","lsm","lso","lsp","lsr","lss","lst","lsy","ltc","ltg","lth","lti","ltn","lto","lts","ltu","lua","luc","lud","lue","luf","lui","luj","luk","lul","lum","lun","luo","lup","luq","lur","lus","lut","luu","luv","luw","luy","luz","lva","lvk","lvs","lvu","lwa","lwe","lwg","lwh","lwl","lwm","lwo","lws","lwt","lwu","lww","lya","lyg","lyn","lzh","lzl","lzn","lzz","maa","mab","mad","mae","maf","mag","mai","maj","mak","mam","man","map","maq","mas","mat","mau","mav","maw","max","maz","mba","mbb","mbc","mbd","mbe","mbf","mbh","mbi","mbj","mbk","mbl","mbm","mbn","mbo","mbp","mbq","mbr","mbs","mbt","mbu","mbv","mbw","mbx","mby","mbz","mca","mcb","mcc","mcd","mce","mcf","mcg","mch","mci","mcj","mck","mcl","mcm","mcn","mco","mcp","mcq","mcr","mcs","mct","mcu","mcv","mcw","mcx","mcy","mcz","mda","mdb","mdc","mdd","mde","mdf","mdg","mdh","mdi","mdj","mdk","mdl","mdm","mdn","mdp","mdq","mdr","mds","mdt","mdu","mdv","mdw","mdx","mdy","mdz","mea","meb","mec","med","mee","mef","meg","meh","mei","mej","mek","mel","mem","men","meo","mep","meq","mer","mes","met","meu","mev","mew","mey","mez","mfa","mfb","mfc","mfd","mfe","mff","mfg","mfh","mfi","mfj","mfk","mfl","mfm","mfn","mfo","mfp","mfq","mfr","mfs","mft","mfu","mfv","mfw","mfx","mfy","mfz","mga","mgb","mgc","mgd","mge","mgf","mgg","mgh","mgi","mgj","mgk","mgl","mgm","mgn","mgo","mgp","mgq","mgr","mgs","mgt","mgu","mgv","mgw","mgx","mgy","mgz","mha","mhb","mhc","mhd","mhe","mhf","mhg","mhh","mhi","mhj","mhk","mhl","mhm","mhn","mho","mhp","mhq","mhr","mhs","mht","mhu","mhw","mhx","mhy","mhz","mia","mib","mic","mid","mie","mif","mig","mih","mii","mij","mik","mil","mim","min","mio","mip","miq","mir","mis","mit","miu","miw","mix","miy","miz","mja","mjb","mjc","mjd","mje","mjg","mjh","mji","mjj","mjk","mjl","mjm","mjn","mjo","mjp","mjq","mjr","mjs","mjt","mju","mjv","mjw","mjx","mjy","mjz","mka","mkb","mkc","mke","mkf","mkg","mkh","mki","mkj","mkk","mkl","mkm","mkn","mko","mkp","mkq","mkr","mks","mkt","mku","mkv","mkw","mkx","mky","mkz","mla","mlb","mlc","mld","mle","mlf","mlh","mli","mlj","mlk","mll","mlm","mln","mlo","mlp","mlq","mlr","mls","mlu","mlv","mlw","mlx","mlz","mma","mmb","mmc","mmd","mme","mmf","mmg","mmh","mmi","mmj","mmk","mml","mmm","mmn","mmo","mmp","mmq","mmr","mmt","mmu","mmv","mmw","mmx","mmy","mmz","mna","mnb","mnc","mnd","mne","mnf","mng","mnh","mni","mnj","mnk","mnl","mnm","mnn","mno","mnp","mnq","mnr","mns","mnt","mnu","mnv","mnw","mnx","mny","mnz","moa","moc","mod","moe","mof","mog","moh","moi","moj","mok","mom","moo","mop","moq","mor","mos","mot","mou","mov","mow","mox","moy","moz","mpa","mpb","mpc","mpd","mpe","mpg","mph","mpi","mpj","mpk","mpl","mpm","mpn","mpo","mpp","mpq","mpr","mps","mpt","mpu","mpv","mpw","mpx","mpy","mpz","mqa","mqb","mqc","mqe","mqf","mqg","mqh","mqi","mqj","mqk","mql","mqm","mqn","mqo","mqp","mqq","mqr","mqs","mqt","mqu","mqv","mqw","mqx","mqy","mqz","mra","mrb","mrc","mrd","mre","mrf","mrg","mrh","mrj","mrk","mrl","mrm","mrn","mro","mrp","mrq","mrr","mrs","mrt","mru","mrv","mrw","mrx","mry","mrz","msb","msc","msd","mse","msf","msg","msh","msi","msj","msk","msl","msm","msn","mso","msp","msq","msr","mss","mst","msu","msv","msw","msx","msy","msz","mta","mtb","mtc","mtd","mte","mtf","mtg","mth","mti","mtj","mtk","mtl","mtm","mtn","mto","mtp","mtq","mtr","mts","mtt","mtu","mtv","mtw","mtx","mty","mua","mub","muc","mud","mue","mug","muh","mui","muj","muk","mul","mum","mun","muo","mup","muq","mur","mus","mut","muu","muv","mux","muy","muz","mva","mvb","mvd","mve","mvf","mvg","mvh","mvi","mvk","mvl","mvm","mvn","mvo","mvp","mvq","mvr","mvs","mvt","mvu","mvv","mvw","mvx","mvy","mvz","mwa","mwb","mwc","mwd","mwe","mwf","mwg","mwh","mwi","mwj","mwk","mwl","mwm","mwn","mwo","mwp","mwq","mwr","mws","mwt","mwu","mwv","mww","mwx","mwy","mwz","mxa","mxb","mxc","mxd","mxe","mxf","mxg","mxh","mxi","mxj","mxk","mxl","mxm","mxn","mxo","mxp","mxq","mxr","mxs","mxt","mxu","mxv","mxw","mxx","mxy","mxz","myb","myc","myd","mye","myf","myg","myh","myi","myj","myk","myl","mym","myn","myo","myp","myq","myr","mys","myt","myu","myv","myw","myx","myy","myz","mza","mzb","mzc","mzd","mze","mzg","mzh","mzi","mzj","mzk","mzl","mzm","mzn","mzo","mzp","mzq","mzr","mzs","mzt","mzu","mzv","mzw","mzx","mzy","mzz","naa","nab","nac","nad","nae","naf","nag","nah","nai","naj","nak","nal","nam","nan","nao","nap","naq","nar","nas","nat","naw","nax","nay","naz","nba","nbb","nbc","nbd","nbe","nbf","nbg","nbh","nbi","nbj","nbk","nbm","nbn","nbo","nbp","nbq","nbr","nbs","nbt","nbu","nbv","nbw","nbx","nby","nca","ncb","ncc","ncd","nce","ncf","ncg","nch","nci","ncj","nck","ncl","ncm","ncn","nco","ncp","ncq","ncr","ncs","nct","ncu","ncx","ncz","nda","ndb","ndc","ndd","ndf","ndg","ndh","ndi","ndj","ndk","ndl","ndm","ndn","ndp","ndq","ndr","nds","ndt","ndu","ndv","ndw","ndx","ndy","ndz","nea","neb","nec","ned","nee","nef","neg","neh","nei","nej","nek","nem","nen","neo","neq","ner","nes","net","neu","nev","new","nex","ney","nez","nfa","nfd","nfl","nfr","nfu","nga","ngb","ngc","ngd","nge","ngf","ngg","ngh","ngi","ngj","ngk","ngl","ngm","ngn","ngo","ngp","ngq","ngr","ngs","ngt","ngu","ngv","ngw","ngx","ngy","ngz","nha","nhb","nhc","nhd","nhe","nhf","nhg","nhh","nhi","nhk","nhm","nhn","nho","nhp","nhq","nhr","nht","nhu","nhv","nhw","nhx","nhy","nhz","nia","nib","nic","nid","nie","nif","nig","nih","nii","nij","nik","nil","nim","nin","nio","niq","nir","nis","nit","niu","niv","niw","nix","niy","niz","nja","njb","njd","njh","nji","njj","njl","njm","njn","njo","njr","njs","njt","nju","njx","njy","njz","nka","nkb","nkc","nkd","nke","nkf","nkg","nkh","nki","nkj","nkk","nkm","nkn","nko","nkp","nkq","nkr","nks","nkt","nku","nkv","nkw","nkx","nkz","nla","nlc","nle","nlg","nli","nlj","nlk","nll","nlm","nln","nlo","nlq","nlr","nlu","nlv","nlw","nlx","nly","nlz","nma","nmb","nmc","nmd","nme","nmf","nmg","nmh","nmi","nmj","nmk","nml","nmm","nmn","nmo","nmp","nmq","nmr","nms","nmt","nmu","nmv","nmw","nmx","nmy","nmz","nna","nnb","nnc","nnd","nne","nnf","nng","nnh","nni","nnj","nnk","nnl","nnm","nnn","nnp","nnq","nnr","nns","nnt","nnu","nnv","nnw","nnx","nny","nnz","noa","noc","nod","noe","nof","nog","noh","noi","noj","nok","nol","nom","non","noo","nop","noq","nos","not","nou","nov","now","noy","noz","npa","npb","npg","nph","npi","npl","npn","npo","nps","npu","npx","npy","nqg","nqk","nql","nqm","nqn","nqo","nqq","nqy","nra","nrb","nrc","nre","nrf","nrg","nri","nrk","nrl","nrm","nrn","nrp","nrr","nrt","nru","nrx","nrz","nsa","nsc","nsd","nse","nsf","nsg","nsh","nsi","nsk","nsl","nsm","nsn","nso","nsp","nsq","nsr","nss","nst","nsu","nsv","nsw","nsx","nsy","nsz","ntd","nte","ntg","nti","ntj","ntk","ntm","nto","ntp","ntr","nts","ntu","ntw","ntx","nty","ntz","nua","nub","nuc","nud","nue","nuf","nug","nuh","nui","nuj","nuk","nul","num","nun","nuo","nup","nuq","nur","nus","nut","nuu","nuv","nuw","nux","nuy","nuz","nvh","nvm","nvo","nwa","nwb","nwc","nwe","nwg","nwi","nwm","nwo","nwr","nwx","nwy","nxa","nxd","nxe","nxg","nxi","nxk","nxl","nxm","nxn","nxo","nxq","nxr","nxu","nxx","nyb","nyc","nyd","nye","nyf","nyg","nyh","nyi","nyj","nyk","nyl","nym","nyn","nyo","nyp","nyq","nyr","nys","nyt","nyu","nyv","nyw","nyx","nyy","nza","nzb","nzd","nzi","nzk","nzm","nzs","nzu","nzy","nzz","oaa","oac","oar","oav","obi","obk","obl","obm","obo","obr","obt","obu","oca","och","oco","ocu","oda","odk","odt","odu","ofo","ofs","ofu","ogb","ogc","oge","ogg","ogo","ogu","oht","ohu","oia","oin","ojb","ojc","ojg","ojp","ojs","ojv","ojw","oka","okb","okd","oke","okg","okh","oki","okj","okk","okl","okm","okn","oko","okr","oks","oku","okv","okx","ola","old","ole","olk","olm","olo","olr","olt","olu","oma","omb","omc","ome","omg","omi","omk","oml","omn","omo","omp","omq","omr","omt","omu","omv","omw","omx","ona","onb","one","ong","oni","onj","onk","onn","ono","onp","onr","ons","ont","onu","onw","onx","ood","oog","oon","oor","oos","opa","opk","opm","opo","opt","opy","ora","orc","ore","org","orh","orn","oro","orr","ors","ort","oru","orv","orw","orx","ory","orz","osa","osc","osi","oso","osp","ost","osu","osx","ota","otb","otd","ote","oti","otk","otl","otm","otn","oto","otq","otr","ots","ott","otu","otw","otx","oty","otz","oua","oub","oue","oui","oum","oun","ovd","owi","owl","oyb","oyd","oym","oyy","ozm","paa","pab","pac","pad","pae","paf","pag","pah","pai","pak","pal","pam","pao","pap","paq","par","pas","pat","pau","pav","paw","pax","pay","paz","pbb","pbc","pbe","pbf","pbg","pbh","pbi","pbl","pbm","pbn","pbo","pbp","pbr","pbs","pbt","pbu","pbv","pby","pbz","pca","pcb","pcc","pcd","pce","pcf","pcg","pch","pci","pcj","pck","pcl","pcm","pcn","pcp","pcr","pcw","pda","pdc","pdi","pdn","pdo","pdt","pdu","pea","peb","ped","pee","pef","peg","peh","pei","pej","pek","pel","pem","peo","pep","peq","pes","pev","pex","pey","pez","pfa","pfe","pfl","pga","pgd","pgg","pgi","pgk","pgl","pgn","pgs","pgu","pgy","pgz","pha","phd","phg","phh","phi","phk","phl","phm","phn","pho","phq","phr","pht","phu","phv","phw","pia","pib","pic","pid","pie","pif","pig","pih","pii","pij","pil","pim","pin","pio","pip","pir","pis","pit","piu","piv","piw","pix","piy","piz","pjt","pka","pkb","pkc","pkg","pkh","pkn","pko","pkp","pkr","pks","pkt","pku","pla","plb","plc","pld","ple","plf","plg","plh","plj","plk","pll","pln","plo","plp","plq","plr","pls","plt","plu","plv","plw","ply","plz","pma","pmb","pmc","pmd","pme","pmf","pmh","pmi","pmj","pmk","pml","pmm","pmn","pmo","pmq","pmr","pms","pmt","pmu","pmw","pmx","pmy","pmz","pna","pnb","pnc","pne","png","pnh","pni","pnj","pnk","pnl","pnm","pnn","pno","pnp","pnq","pnr","pns","pnt","pnu","pnv","pnw","pnx","pny","pnz","poc","pod","poe","pof","pog","poh","poi","pok","pom","pon","poo","pop","poq","pos","pot","pov","pow","pox","poy","poz","ppa","ppe","ppi","ppk","ppl","ppm","ppn","ppo","ppp","ppq","ppr","pps","ppt","ppu","pqa","pqe","pqm","pqw","pra","prb","prc","prd","pre","prf","prg","prh","pri","prk","prl","prm","prn","pro","prp","prq","prr","prs","prt","pru","prw","prx","pry","prz","psa","psc","psd","pse","psg","psh","psi","psl","psm","psn","pso","psp","psq","psr","pss","pst","psu","psw","psy","pta","pth","pti","ptn","pto","ptp","ptq","ptr","ptt","ptu","ptv","ptw","pty","pua","pub","puc","pud","pue","puf","pug","pui","puj","puk","pum","puo","pup","puq","pur","put","puu","puw","pux","puy","puz","pwa","pwb","pwg","pwi","pwm","pwn","pwo","pwr","pww","pxm","pye","pym","pyn","pys","pyu","pyx","pyy","pzn","qaa..qtz","qua","qub","quc","qud","quf","qug","quh","qui","quk","qul","qum","qun","qup","quq","qur","qus","quv","quw","qux","quy","quz","qva","qvc","qve","qvh","qvi","qvj","qvl","qvm","qvn","qvo","qvp","qvs","qvw","qvy","qvz","qwa","qwc","qwe","qwh","qwm","qws","qwt","qxa","qxc","qxh","qxl","qxn","qxo","qxp","qxq","qxr","qxs","qxt","qxu","qxw","qya","qyp","raa","rab","rac","rad","raf","rag","rah","rai","raj","rak","ral","ram","ran","rao","rap","raq","rar","ras","rat","rau","rav","raw","rax","ray","raz","rbb","rbk","rbl","rbp","rcf","rdb","rea","reb","ree","reg","rei","rej","rel","rem","ren","rer","res","ret","rey","rga","rge","rgk","rgn","rgr","rgs","rgu","rhg","rhp","ria","rie","rif","ril","rim","rin","rir","rit","riu","rjg","rji","rjs","rka","rkb","rkh","rki","rkm","rkt","rkw","rma","rmb","rmc","rmd","rme","rmf","rmg","rmh","rmi","rmk","rml","rmm","rmn","rmo","rmp","rmq","rmr","rms","rmt","rmu","rmv","rmw","rmx","rmy","rmz","rna","rnd","rng","rnl","rnn","rnp","rnr","rnw","roa","rob","roc","rod","roe","rof","rog","rol","rom","roo","rop","ror","rou","row","rpn","rpt","rri","rro","rrt","rsb","rsi","rsl","rsm","rtc","rth","rtm","rts","rtw","rub","ruc","rue","ruf","rug","ruh","rui","ruk","ruo","rup","ruq","rut","ruu","ruy","ruz","rwa","rwk","rwm","rwo","rwr","rxd","rxw","ryn","rys","ryu","rzh","saa","sab","sac","sad","sae","saf","sah","sai","saj","sak","sal","sam","sao","sap","saq","sar","sas","sat","sau","sav","saw","sax","say","saz","sba","sbb","sbc","sbd","sbe","sbf","sbg","sbh","sbi","sbj","sbk","sbl","sbm","sbn","sbo","sbp","sbq","sbr","sbs","sbt","sbu","sbv","sbw","sbx","sby","sbz","sca","scb","sce","scf","scg","sch","sci","sck","scl","scn","sco","scp","scq","scs","sct","scu","scv","scw","scx","sda","sdb","sdc","sde","sdf","sdg","sdh","sdj","sdk","sdl","sdm","sdn","sdo","sdp","sdr","sds","sdt","sdu","sdv","sdx","sdz","sea","seb","sec","sed","see","sef","seg","seh","sei","sej","sek","sel","sem","sen","seo","sep","seq","ser","ses","set","seu","sev","sew","sey","sez","sfb","sfe","sfm","sfs","sfw","sga","sgb","sgc","sgd","sge","sgg","sgh","sgi","sgj","sgk","sgl","sgm","sgn","sgo","sgp","sgr","sgs","sgt","sgu","sgw","sgx","sgy","sgz","sha","shb","shc","shd","she","shg","shh","shi","shj","shk","shl","shm","shn","sho","shp","shq","shr","shs","sht","shu","shv","shw","shx","shy","shz","sia","sib","sid","sie","sif","sig","sih","sii","sij","sik","sil","sim","sio","sip","siq","sir","sis","sit","siu","siv","siw","six","siy","siz","sja","sjb","sjd","sje","sjg","sjk","sjl","sjm","sjn","sjo","sjp","sjr","sjs","sjt","sju","sjw","ska","skb","skc","skd","ske","skf","skg","skh","ski","skj","skk","skm","skn","sko","skp","skq","skr","sks","skt","sku","skv","skw","skx","sky","skz","sla","slc","sld","sle","slf","slg","slh","sli","slj","sll","slm","sln","slp","slq","slr","sls","slt","slu","slw","slx","sly","slz","sma","smb","smc","smd","smf","smg","smh","smi","smj","smk","sml","smm","smn","smp","smq","smr","sms","smt","smu","smv","smw","smx","smy","smz","snb","snc","sne","snf","sng","snh","sni","snj","snk","snl","snm","snn","sno","snp","snq","snr","sns","snu","snv","snw","snx","sny","snz","soa","sob","soc","sod","soe","sog","soh","soi","soj","sok","sol","son","soo","sop","soq","sor","sos","sou","sov","sow","sox","soy","soz","spb","spc","spd","spe","spg","spi","spk","spl","spm","spn","spo","spp","spq","spr","sps","spt","spu","spv","spx","spy","sqa","sqh","sqj","sqk","sqm","sqn","sqo","sqq","sqr","sqs","sqt","squ","sra","srb","src","sre","srf","srg","srh","sri","srk","srl","srm","srn","sro","srq","srr","srs","srt","sru","srv","srw","srx","sry","srz","ssa","ssb","ssc","ssd","sse","ssf","ssg","ssh","ssi","ssj","ssk","ssl","ssm","ssn","sso","ssp","ssq","ssr","sss","sst","ssu","ssv","ssx","ssy","ssz","sta","stb","std","ste","stf","stg","sth","sti","stj","stk","stl","stm","stn","sto","stp","stq","str","sts","stt","stu","stv","stw","sty","sua","sub","suc","sue","sug","sui","suj","suk","sul","sum","suq","sur","sus","sut","suv","suw","sux","suy","suz","sva","svb","svc","sve","svk","svm","svr","svs","svx","swb","swc","swf","swg","swh","swi","swj","swk","swl","swm","swn","swo","swp","swq","swr","sws","swt","swu","swv","sww","swx","swy","sxb","sxc","sxe","sxg","sxk","sxl","sxm","sxn","sxo","sxr","sxs","sxu","sxw","sya","syb","syc","syd","syi","syk","syl","sym","syn","syo","syr","sys","syw","syx","syy","sza","szb","szc","szd","sze","szg","szl","szn","szp","szs","szv","szw","taa","tab","tac","tad","tae","taf","tag","tai","taj","tak","tal","tan","tao","tap","taq","tar","tas","tau","tav","taw","tax","tay","taz","tba","tbb","tbc","tbd","tbe","tbf","tbg","tbh","tbi","tbj","tbk","tbl","tbm","tbn","tbo","tbp","tbq","tbr","tbs","tbt","tbu","tbv","tbw","tbx","tby","tbz","tca","tcb","tcc","tcd","tce","tcf","tcg","tch","tci","tck","tcl","tcm","tcn","tco","tcp","tcq","tcs","tct","tcu","tcw","tcx","tcy","tcz","tda","tdb","tdc","tdd","tde","tdf","tdg","tdh","tdi","tdj","tdk","tdl","tdm","tdn","tdo","tdq","tdr","tds","tdt","tdu","tdv","tdx","tdy","tea","teb","tec","ted","tee","tef","teg","teh","tei","tek","tem","ten","teo","tep","teq","ter","tes","tet","teu","tev","tew","tex","tey","tez","tfi","tfn","tfo","tfr","tft","tga","tgb","tgc","tgd","tge","tgf","tgg","tgh","tgi","tgj","tgn","tgo","tgp","tgq","tgr","tgs","tgt","tgu","tgv","tgw","tgx","tgy","tgz","thc","thd","the","thf","thh","thi","thk","thl","thm","thn","thp","thq","thr","ths","tht","thu","thv","thw","thx","thy","thz","tia","tic","tid","tie","tif","tig","tih","tii","tij","tik","til","tim","tin","tio","tip","tiq","tis","tit","tiu","tiv","tiw","tix","tiy","tiz","tja","tjg","tji","tjl","tjm","tjn","tjo","tjs","tju","tjw","tka","tkb","tkd","tke","tkf","tkg","tkk","tkl","tkm","tkn","tkp","tkq","tkr","tks","tkt","tku","tkv","tkw","tkx","tkz","tla","tlb","tlc","tld","tlf","tlg","tlh","tli","tlj","tlk","tll","tlm","tln","tlo","tlp","tlq","tlr","tls","tlt","tlu","tlv","tlw","tlx","tly","tma","tmb","tmc","tmd","tme","tmf","tmg","tmh","tmi","tmj","tmk","tml","tmm","tmn","tmo","tmp","tmq","tmr","tms","tmt","tmu","tmv","tmw","tmy","tmz","tna","tnb","tnc","tnd","tne","tnf","tng","tnh","tni","tnk","tnl","tnm","tnn","tno","tnp","tnq","tnr","tns","tnt","tnu","tnv","tnw","tnx","tny","tnz","tob","toc","tod","toe","tof","tog","toh","toi","toj","tol","tom","too","top","toq","tor","tos","tou","tov","tow","tox","toy","toz","tpa","tpc","tpe","tpf","tpg","tpi","tpj","tpk","tpl","tpm","tpn","tpo","tpp","tpq","tpr","tpt","tpu","tpv","tpw","tpx","tpy","tpz","tqb","tql","tqm","tqn","tqo","tqp","tqq","tqr","tqt","tqu","tqw","tra","trb","trc","trd","tre","trf","trg","trh","tri","trj","trk","trl","trm","trn","tro","trp","trq","trr","trs","trt","tru","trv","trw","trx","try","trz","tsa","tsb","tsc","tsd","tse","tsf","tsg","tsh","tsi","tsj","tsk","tsl","tsm","tsp","tsq","tsr","tss","tst","tsu","tsv","tsw","tsx","tsy","tsz","tta","ttb","ttc","ttd","tte","ttf","ttg","tth","tti","ttj","ttk","ttl","ttm","ttn","tto","ttp","ttq","ttr","tts","ttt","ttu","ttv","ttw","tty","ttz","tua","tub","tuc","tud","tue","tuf","tug","tuh","tui","tuj","tul","tum","tun","tuo","tup","tuq","tus","tut","tuu","tuv","tuw","tux","tuy","tuz","tva","tvd","tve","tvk","tvl","tvm","tvn","tvo","tvs","tvt","tvu","tvw","tvy","twa","twb","twc","twd","twe","twf","twg","twh","twl","twm","twn","two","twp","twq","twr","twt","twu","tww","twx","twy","txa","txb","txc","txe","txg","txh","txi","txj","txm","txn","txo","txq","txr","txs","txt","txu","txx","txy","tya","tye","tyh","tyi","tyj","tyl","tyn","typ","tyr","tys","tyt","tyu","tyv","tyx","tyz","tza","tzh","tzj","tzl","tzm","tzn","tzo","tzx","uam","uan","uar","uba","ubi","ubl","ubr","ubu","uby","uda","ude","udg","udi","udj","udl","udm","udu","ues","ufi","uga","ugb","uge","ugn","ugo","ugy","uha","uhn","uis","uiv","uji","uka","ukg","ukh","ukk","ukl","ukp","ukq","uks","uku","ukw","uky","ula","ulb","ulc","ule","ulf","uli","ulk","ull","ulm","uln","ulu","ulw","uma","umb","umc","umd","umg","umi","umm","umn","umo","ump","umr","ums","umu","una","und","une","ung","unk","unm","unn","unp","unr","unu","unx","unz","uok","upi","upv","ura","urb","urc","ure","urf","urg","urh","uri","urj","urk","url","urm","urn","uro","urp","urr","urt","uru","urv","urw","urx","ury","urz","usa","ush","usi","usk","usp","usu","uta","ute","utp","utr","utu","uum","uun","uur","uuu","uve","uvh","uvl","uwa","uya","uzn","uzs","vaa","vae","vaf","vag","vah","vai","vaj","val","vam","van","vao","vap","var","vas","vau","vav","vay","vbb","vbk","vec","ved","vel","vem","veo","vep","ver","vgr","vgt","vic","vid","vif","vig","vil","vin","vis","vit","viv","vka","vki","vkj","vkk","vkl","vkm","vko","vkp","vkt","vku","vlp","vls","vma","vmb","vmc","vmd","vme","vmf","vmg","vmh","vmi","vmj","vmk","vml","vmm","vmp","vmq","vmr","vms","vmu","vmv","vmw","vmx","vmy","vmz","vnk","vnm","vnp","vor","vot","vra","vro","vrs","vrt","vsi","vsl","vsv","vto","vum","vun","vut","vwa","waa","wab","wac","wad","wae","waf","wag","wah","wai","waj","wak","wal","wam","wan","wao","wap","waq","war","was","wat","wau","wav","waw","wax","way","waz","wba","wbb","wbe","wbf","wbh","wbi","wbj","wbk","wbl","wbm","wbp","wbq","wbr","wbs","wbt","wbv","wbw","wca","wci","wdd","wdg","wdj","wdk","wdu","wdy","wea","wec","wed","weg","weh","wei","wem","wen","weo","wep","wer","wes","wet","weu","wew","wfg","wga","wgb","wgg","wgi","wgo","wgu","wgw","wgy","wha","whg","whk","whu","wib","wic","wie","wif","wig","wih","wii","wij","wik","wil","wim","win","wir","wit","wiu","wiv","wiw","wiy","wja","wji","wka","wkb","wkd","wkl","wku","wkw","wky","wla","wlc","wle","wlg","wli","wlk","wll","wlm","wlo","wlr","wls","wlu","wlv","wlw","wlx","wly","wma","wmb","wmc","wmd","wme","wmh","wmi","wmm","wmn","wmo","wms","wmt","wmw","wmx","wnb","wnc","wnd","wne","wng","wni","wnk","wnm","wnn","wno","wnp","wnu","wnw","wny","woa","wob","woc","wod","woe","wof","wog","woi","wok","wom","won","woo","wor","wos","wow","woy","wpc","wra","wrb","wrd","wrg","wrh","wri","wrk","wrl","wrm","wrn","wro","wrp","wrr","wrs","wru","wrv","wrw","wrx","wry","wrz","wsa","wsg","wsi","wsk","wsr","wss","wsu","wsv","wtf","wth","wti","wtk","wtm","wtw","wua","wub","wud","wuh","wul","wum","wun","wur","wut","wuu","wuv","wux","wuy","wwa","wwb","wwo","wwr","www","wxa","wxw","wya","wyb","wyi","wym","wyr","wyy","xaa","xab","xac","xad","xae","xag","xai","xaj","xak","xal","xam","xan","xao","xap","xaq","xar","xas","xat","xau","xav","xaw","xay","xba","xbb","xbc","xbd","xbe","xbg","xbi","xbj","xbm","xbn","xbo","xbp","xbr","xbw","xbx","xby","xcb","xcc","xce","xcg","xch","xcl","xcm","xcn","xco","xcr","xct","xcu","xcv","xcw","xcy","xda","xdc","xdk","xdm","xdo","xdy","xeb","xed","xeg","xel","xem","xep","xer","xes","xet","xeu","xfa","xga","xgb","xgd","xgf","xgg","xgi","xgl","xgm","xgn","xgr","xgu","xgw","xha","xhc","xhd","xhe","xhr","xht","xhu","xhv","xia","xib","xii","xil","xin","xip","xir","xis","xiv","xiy","xjb","xjt","xka","xkb","xkc","xkd","xke","xkf","xkg","xkh","xki","xkj","xkk","xkl","xkn","xko","xkp","xkq","xkr","xks","xkt","xku","xkv","xkw","xkx","xky","xkz","xla","xlb","xlc","xld","xle","xlg","xli","xln","xlo","xlp","xls","xlu","xly","xma","xmb","xmc","xmd","xme","xmf","xmg","xmh","xmj","xmk","xml","xmm","xmn","xmo","xmp","xmq","xmr","xms","xmt","xmu","xmv","xmw","xmx","xmy","xmz","xna","xnb","xnd","xng","xnh","xni","xnk","xnn","xno","xnr","xns","xnt","xnu","xny","xnz","xoc","xod","xog","xoi","xok","xom","xon","xoo","xop","xor","xow","xpa","xpc","xpe","xpg","xpi","xpj","xpk","xpm","xpn","xpo","xpp","xpq","xpr","xps","xpt","xpu","xpy","xqa","xqt","xra","xrb","xrd","xre","xrg","xri","xrm","xrn","xrq","xrr","xrt","xru","xrw","xsa","xsb","xsc","xsd","xse","xsh","xsi","xsj","xsl","xsm","xsn","xso","xsp","xsq","xsr","xss","xsu","xsv","xsy","xta","xtb","xtc","xtd","xte","xtg","xth","xti","xtj","xtl","xtm","xtn","xto","xtp","xtq","xtr","xts","xtt","xtu","xtv","xtw","xty","xtz","xua","xub","xud","xug","xuj","xul","xum","xun","xuo","xup","xur","xut","xuu","xve","xvi","xvn","xvo","xvs","xwa","xwc","xwd","xwe","xwg","xwj","xwk","xwl","xwo","xwr","xwt","xww","xxb","xxk","xxm","xxr","xxt","xya","xyb","xyj","xyk","xyl","xyt","xyy","xzh","xzm","xzp","yaa","yab","yac","yad","yae","yaf","yag","yah","yai","yaj","yak","yal","yam","yan","yao","yap","yaq","yar","yas","yat","yau","yav","yaw","yax","yay","yaz","yba","ybb","ybd","ybe","ybh","ybi","ybj","ybk","ybl","ybm","ybn","ybo","ybx","yby","ych","ycl","ycn","ycp","yda","ydd","yde","ydg","ydk","yds","yea","yec","yee","yei","yej","yel","yen","yer","yes","yet","yeu","yev","yey","yga","ygi","ygl","ygm","ygp","ygr","ygs","ygu","ygw","yha","yhd","yhl","yhs","yia","yif","yig","yih","yii","yij","yik","yil","yim","yin","yip","yiq","yir","yis","yit","yiu","yiv","yix","yiy","yiz","yka","ykg","yki","ykk","ykl","ykm","ykn","yko","ykr","ykt","yku","yky","yla","ylb","yle","ylg","yli","yll","ylm","yln","ylo","ylr","ylu","yly","yma","ymb","ymc","ymd","yme","ymg","ymh","ymi","ymk","yml","ymm","ymn","ymo","ymp","ymq","ymr","yms","ymt","ymx","ymz","yna","ynd","yne","yng","ynh","ynk","ynl","ynn","yno","ynq","yns","ynu","yob","yog","yoi","yok","yol","yom","yon","yos","yot","yox","yoy","ypa","ypb","ypg","yph","ypk","ypm","ypn","ypo","ypp","ypz","yra","yrb","yre","yri","yrk","yrl","yrm","yrn","yro","yrs","yrw","yry","ysc","ysd","ysg","ysl","ysn","yso","ysp","ysr","yss","ysy","yta","ytl","ytp","ytw","yty","yua","yub","yuc","yud","yue","yuf","yug","yui","yuj","yuk","yul","yum","yun","yup","yuq","yur","yut","yuu","yuw","yux","yuy","yuz","yva","yvt","ywa","ywg","ywl","ywn","ywq","ywr","ywt","ywu","yww","yxa","yxg","yxl","yxm","yxu","yxy","yyr","yyu","yyz","yzg","yzk","zaa","zab","zac","zad","zae","zaf","zag","zah","zai","zaj","zak","zal","zam","zao","zap","zaq","zar","zas","zat","zau","zav","zaw","zax","zay","zaz","zbc","zbe","zbl","zbt","zbw","zca","zch","zdj","zea","zeg","zeh","zen","zga","zgb","zgh","zgm","zgn","zgr","zhb","zhd","zhi","zhn","zhw","zhx","zia","zib","zik","zil","zim","zin","zir","ziw","ziz","zka","zkb","zkd","zkg","zkh","zkk","zkn","zko","zkp","zkr","zkt","zku","zkv","zkz","zle","zlj","zlm","zln","zlq","zls","zlw","zma","zmb","zmc","zmd","zme","zmf","zmg","zmh","zmi","zmj","zmk","zml","zmm","zmn","zmo","zmp","zmq","zmr","zms","zmt","zmu","zmv","zmw","zmx","zmy","zmz","zna","znd","zne","zng","znk","zns","zoc","zoh","zom","zoo","zoq","zor","zos","zpa","zpb","zpc","zpd","zpe","zpf","zpg","zph","zpi","zpj","zpk","zpl","zpm","zpn","zpo","zpp","zpq","zpr","zps","zpt","zpu","zpv","zpw","zpx","zpy","zpz","zqe","zra","zrg","zrn","zro","zrp","zrs","zsa","zsk","zsl","zsm","zsr","zsu","zte","ztg","ztl","ztm","ztn","ztp","ztq","zts","ztt","ztu","ztx","zty","zua","zuh","zum","zun","zuy","zwa","zxx","zyb","zyg","zyj","zyn","zyp","zza","zzj"];function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i elements of image maps have alternate text",help:"Active elements must have alternate text"},"aria-allowed-attr":{description:"Ensures ARIA attributes are allowed for an element's role",help:"Elements must only use allowed ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role must be appropriate for the element"},"aria-dpub-role-fallback":{description:"Ensures unsupported DPUB roles are only used on elements with implicit fallback roles",help:"Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles"},"aria-hidden-body":{description:"Ensures aria-hidden='true' is not present on the document body.",help:"aria-hidden='true' must not be present on the document body"},"aria-hidden-focus":{description:"Ensures aria-hidden elements do not contain focusable elements",help:"ARIA hidden element must not contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields have an accessible name"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"Use aria-roledescription on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures