@cfpb/cfpb-design-system 4.3.2 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -3
- package/dist/components/cfpb-buttons/index.css +1 -1
- package/dist/components/cfpb-buttons/index.css.map +2 -2
- package/dist/components/cfpb-buttons/index.js +1 -1
- package/dist/components/cfpb-buttons/index.js.map +1 -1
- package/dist/components/cfpb-expandables/index.css +1 -1
- package/dist/components/cfpb-expandables/index.css.map +2 -2
- package/dist/components/cfpb-expandables/index.js +1 -1
- package/dist/components/cfpb-expandables/index.js.map +2 -2
- package/dist/components/cfpb-forms/index.css +1 -1
- package/dist/components/cfpb-forms/index.css.map +2 -2
- package/dist/components/cfpb-forms/index.js +1 -1
- package/dist/components/cfpb-forms/index.js.map +1 -1
- package/dist/components/cfpb-icons/index.css +1 -1
- package/dist/components/cfpb-icons/index.css.map +2 -2
- package/dist/components/cfpb-icons/index.js +1 -1
- package/dist/components/cfpb-icons/index.js.map +1 -1
- package/dist/components/cfpb-layout/index.css +1 -1
- package/dist/components/cfpb-layout/index.css.map +2 -2
- package/dist/components/cfpb-layout/index.js +1 -1
- package/dist/components/cfpb-layout/index.js.map +1 -1
- package/dist/components/cfpb-notifications/index.css +1 -1
- package/dist/components/cfpb-notifications/index.css.map +2 -2
- package/dist/components/cfpb-notifications/index.js +1 -1
- package/dist/components/cfpb-notifications/index.js.map +1 -1
- package/dist/components/cfpb-pagination/index.css +1 -1
- package/dist/components/cfpb-pagination/index.css.map +2 -2
- package/dist/components/cfpb-pagination/index.js +1 -1
- package/dist/components/cfpb-pagination/index.js.map +1 -1
- package/dist/components/cfpb-tables/index.css +1 -1
- package/dist/components/cfpb-tables/index.css.map +2 -2
- package/dist/components/cfpb-tables/index.js.map +1 -1
- package/dist/components/cfpb-tooltips/index.css +1 -1
- package/dist/components/cfpb-tooltips/index.css.map +2 -2
- package/dist/components/cfpb-tooltips/index.js +1 -1
- package/dist/components/cfpb-tooltips/index.js.map +1 -1
- package/dist/components/cfpb-typography/index.css +1 -1
- package/dist/components/cfpb-typography/index.css.map +2 -2
- package/dist/components/cfpb-typography/index.js +1 -1
- package/dist/components/cfpb-typography/index.js.map +1 -1
- package/dist/elements/base/index.css +1 -1
- package/dist/elements/base/index.css.map +2 -2
- package/dist/elements/base/index.js +1 -1
- package/dist/elements/base/index.js.map +1 -1
- package/dist/elements/cfpb-button/index.js +4 -4
- package/dist/elements/cfpb-button/index.js.map +2 -2
- package/dist/elements/cfpb-checkbox-icon/index.js +3 -3
- package/dist/elements/cfpb-checkbox-icon/index.js.map +2 -2
- package/dist/elements/cfpb-expandable/index.css +1 -1
- package/dist/elements/cfpb-expandable/index.css.map +2 -2
- package/dist/elements/cfpb-expandable/index.js +4 -4
- package/dist/elements/cfpb-expandable/index.js.map +2 -2
- package/dist/elements/cfpb-file-upload/index.js +4 -4
- package/dist/elements/cfpb-file-upload/index.js.map +2 -2
- package/dist/elements/cfpb-form-alert/index.js +3 -3
- package/dist/elements/cfpb-form-alert/index.js.map +2 -2
- package/dist/elements/cfpb-form-choice/index.js +3 -3
- package/dist/elements/cfpb-form-choice/index.js.map +2 -2
- package/dist/elements/cfpb-form-search/index.js +2 -2
- package/dist/elements/cfpb-form-search/index.js.map +2 -2
- package/dist/elements/cfpb-form-search-input/index.js +3 -3
- package/dist/elements/cfpb-form-search-input/index.js.map +2 -2
- package/dist/elements/cfpb-icon-text/index.js +2 -2
- package/dist/elements/cfpb-icon-text/index.js.map +2 -2
- package/dist/elements/cfpb-label/index.js +2 -2
- package/dist/elements/cfpb-label/index.js.map +2 -2
- package/dist/elements/cfpb-list/index.js +3 -3
- package/dist/elements/cfpb-list/index.js.map +2 -2
- package/dist/elements/cfpb-list-item/index.js +3 -3
- package/dist/elements/cfpb-list-item/index.js.map +2 -2
- package/dist/elements/cfpb-pagination/index.js +3 -3
- package/dist/elements/cfpb-pagination/index.js.map +2 -2
- package/dist/elements/cfpb-select/index.css +1 -1
- package/dist/elements/cfpb-select/index.css.map +2 -2
- package/dist/elements/cfpb-select/index.js +4 -4
- package/dist/elements/cfpb-select/index.js.map +3 -3
- package/dist/elements/cfpb-tag-filter/index.js +3 -3
- package/dist/elements/cfpb-tag-filter/index.js.map +3 -3
- package/dist/elements/cfpb-tag-group/index.js +3 -3
- package/dist/elements/cfpb-tag-group/index.js.map +3 -3
- package/dist/elements/cfpb-tag-topic/index.js +4 -4
- package/dist/elements/cfpb-tag-topic/index.js.map +3 -3
- package/dist/elements/cfpb-utilities/index.js.map +1 -1
- package/dist/elements/index.css +1 -1
- package/dist/elements/index.css.map +2 -2
- package/dist/elements/index.js +7 -7
- package/dist/elements/index.js.map +3 -3
- package/dist/index.css +1 -1
- package/dist/index.css.map +2 -2
- package/dist/index.js +7 -7
- package/dist/index.js.map +3 -3
- package/dist/utilities/index.css +1 -1
- package/dist/utilities/index.css.map +2 -2
- package/dist/utilities/index.js +1 -1
- package/dist/utilities/index.js.map +2 -2
- package/package.json +1 -1
- package/src/components/cfpb-tables/table.scss +4 -1
- package/src/elements/cfpb-form-search/cfpb-form-search.component.scss +10 -0
- package/src/elements/cfpb-form-search/index.js +1 -3
- package/src/elements/cfpb-form-search-input/cfpb-form-search-input.component.scss +8 -5
- package/src/elements/cfpb-list/index.js +2 -2
- package/src/elements/cfpb-list/index.spec.js +5 -5
- package/src/elements/cfpb-list-item/index.js +2 -2
- package/src/elements/cfpb-select/cfpb-select.component.scss +34 -57
- package/src/elements/cfpb-select/index.js +22 -12
- package/src/elements/cfpb-select/multiple-select-event-proxy.js +23 -17
- package/src/elements/cfpb-select/single-select-event-proxy.js +8 -5
- package/src/elements/cfpb-tag-filter/index.js +7 -0
- package/src/elements/cfpb-tag-group/index.js +9 -0
- package/src/elements/cfpb-tag-topic/index.js +7 -0
- package/src/elements/cfpb-utilities/media-query-service.js +1 -1
- package/src/elements/cfpb-utilities/parse-child-data.js +1 -1
- package/src/tokens/abstracts/custom-props.json +2334 -1639
- package/src/tokens/abstracts/vars.json +1679 -1315
- package/src/tokens/cfpb-button/vars.json +602 -409
- package/src/utilities/transition/max-height-transition.js +1 -1
- package/dist/elements/cfpb-select-list/index.js +0 -39
- package/dist/elements/cfpb-select-list/index.js.map +0 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var Xr=Object.defineProperty;var Yr=(e,t)=>{for(var r in t)Xr(e,r,{get:t[r],enumerable:!0})};var R="top",I="bottom",B="right",j="left",gt="auto",ye=[R,I,B,j],me="start",Ae="end",Kt="clippingParents",ht="viewport",Ie="popper",Jt="reference",Dt=ye.reduce(function(e,t){return e.concat([t+"-"+me,t+"-"+Ae])},[]),bt=[].concat(ye,[gt]).reduce(function(e,t){return e.concat([t,t+"-"+me,t+"-"+Ae])},[]),qr="beforeRead",Gr="read",Kr="afterRead",Jr="beforeMain",Qr="main",Zr="afterMain",eo="beforeWrite",to="write",ro="afterWrite",Qt=[qr,Gr,Kr,Jr,Qr,Zr,eo,to,ro];function U(e){return e?(e.nodeName||"").toLowerCase():null}function D(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Q(e){var t=D(e).Element;return e instanceof t||e instanceof Element}function H(e){var t=D(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function He(e){if(typeof ShadowRoot=="undefined")return!1;var t=D(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function oo(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},i=t.attributes[r]||{},s=t.elements[r];!H(s)||!U(s)||(Object.assign(s.style,o),Object.keys(i).forEach(function(f){var c=i[f];c===!1?s.removeAttribute(f):s.setAttribute(f,c===!0?"":c)}))})}function no(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var i=t.elements[o],s=t.attributes[o]||{},f=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),c=f.reduce(function(p,l){return p[l]="",p},{});!H(i)||!U(i)||(Object.assign(i.style,c),Object.keys(s).forEach(function(p){i.removeAttribute(p)}))})}}var Ke={name:"applyStyles",enabled:!0,phase:"write",fn:oo,effect:no,requires:["computeStyles"]};function F(e){return e.split("-")[0]}var re=Math.max,Ce=Math.min,ve=Math.round;function Ue(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Je(){return!/^((?!chrome|android).)*safari/i.test(Ue())}function Z(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),i=1,s=1;t&&H(e)&&(i=e.offsetWidth>0&&ve(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ve(o.height)/e.offsetHeight||1);var f=Q(e)?D(e):window,c=f.visualViewport,p=!Je()&&r,l=(o.left+(p&&c?c.offsetLeft:0))/i,u=(o.top+(p&&c?c.offsetTop:0))/s,y=o.width/i,O=o.height/s;return{width:y,height:O,top:u,right:l+y,bottom:u+O,left:l,x:l,y:u}}function Pe(e){var t=Z(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function Qe(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&He(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function q(e){return D(e).getComputedStyle(e)}function St(e){return["table","td","th"].indexOf(U(e))>=0}function _(e){return((Q(e)?e.ownerDocument:e.document)||window.document).documentElement}function ge(e){return U(e)==="html"?e:e.assignedSlot||e.parentNode||(He(e)?e.host:null)||_(e)}function Zt(e){return!H(e)||q(e).position==="fixed"?null:e.offsetParent}function io(e){var t=/firefox/i.test(Ue()),r=/Trident/i.test(Ue());if(r&&H(e)){var o=q(e);if(o.position==="fixed")return null}var i=ge(e);for(He(i)&&(i=i.host);H(i)&&["html","body"].indexOf(U(i))<0;){var s=q(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function oe(e){for(var t=D(e),r=Zt(e);r&&St(r)&&q(r).position==="static";)r=Zt(r);return r&&(U(r)==="html"||U(r)==="body"&&q(r).position==="static")?t:r||io(e)||t}function De(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Se(e,t,r){return re(e,Ce(t,r))}function er(e,t,r){var o=Se(e,t,r);return o>r?r:o}function Ze(){return{top:0,right:0,bottom:0,left:0}}function et(e){return Object.assign({},Ze(),e)}function tt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var ao=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,et(typeof t!="number"?t:tt(t,ye))};function so(e){var t,r=e.state,o=e.name,i=e.options,s=r.elements.arrow,f=r.modifiersData.popperOffsets,c=F(r.placement),p=De(c),l=[j,B].indexOf(c)>=0,u=l?"height":"width";if(!(!s||!f)){var y=ao(i.padding,r),O=Pe(s),g=p==="y"?R:j,x=p==="y"?I:B,h=r.rects.reference[u]+r.rects.reference[p]-f[p]-r.rects.popper[u],b=f[p]-r.rects.reference[p],T=oe(s),C=T?p==="y"?T.clientHeight||0:T.clientWidth||0:0,S=h/2-b/2,n=y[g],E=C-O[u]-y[x],m=C/2-O[u]/2+S,P=Se(n,m,E),W=p;r.modifiersData[o]=(t={},t[W]=P,t.centerOffset=P-m,t)}}function po(e){var t=e.state,r=e.options,o=r.element,i=o===void 0?"[data-popper-arrow]":o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Qe(t.elements.popper,i)&&(t.elements.arrow=i))}var tr={name:"arrow",enabled:!0,phase:"main",fn:so,effect:po,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ee(e){return e.split("-")[1]}var fo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function co(e,t){var r=e.x,o=e.y,i=t.devicePixelRatio||1;return{x:ve(r*i)/i||0,y:ve(o*i)/i||0}}function rr(e){var t,r=e.popper,o=e.popperRect,i=e.placement,s=e.variation,f=e.offsets,c=e.position,p=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,y=e.isFixed,O=f.x,g=O===void 0?0:O,x=f.y,h=x===void 0?0:x,b=typeof u=="function"?u({x:g,y:h}):{x:g,y:h};g=b.x,h=b.y;var T=f.hasOwnProperty("x"),C=f.hasOwnProperty("y"),S=j,n=R,E=window;if(l){var m=oe(r),P="clientHeight",W="clientWidth";if(m===D(r)&&(m=_(r),q(m).position!=="static"&&c==="absolute"&&(P="scrollHeight",W="scrollWidth")),m=m,i===R||(i===j||i===B)&&s===Ae){n=I;var N=y&&m===E&&E.visualViewport?E.visualViewport.height:m[P];h-=N-o.height,h*=p?1:-1}if(i===j||(i===R||i===I)&&s===Ae){S=B;var L=y&&m===E&&E.visualViewport?E.visualViewport.width:m[W];g-=L-o.width,g*=p?1:-1}}var V=Object.assign({position:c},l&&fo),M=u===!0?co({x:g,y:h},D(r)):{x:g,y:h};if(g=M.x,h=M.y,p){var k;return Object.assign({},V,(k={},k[n]=C?"0":"",k[S]=T?"0":"",k.transform=(E.devicePixelRatio||1)<=1?"translate("+g+"px, "+h+"px)":"translate3d("+g+"px, "+h+"px, 0)",k))}return Object.assign({},V,(t={},t[n]=C?h+"px":"",t[S]=T?g+"px":"",t.transform="",t))}function uo(e){var t=e.state,r=e.options,o=r.gpuAcceleration,i=o===void 0?!0:o,s=r.adaptive,f=s===void 0?!0:s,c=r.roundOffsets,p=c===void 0?!0:c,l={placement:F(t.placement),variation:ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,rr(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:f,roundOffsets:p})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,rr(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var or={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:uo,data:{}};var yt={passive:!0};function lo(e){var t=e.state,r=e.instance,o=e.options,i=o.scroll,s=i===void 0?!0:i,f=o.resize,c=f===void 0?!0:f,p=D(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&l.forEach(function(u){u.addEventListener("scroll",r.update,yt)}),c&&p.addEventListener("resize",r.update,yt),function(){s&&l.forEach(function(u){u.removeEventListener("scroll",r.update,yt)}),c&&p.removeEventListener("resize",r.update,yt)}}var nr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lo,data:{}};var mo={left:"right",right:"left",bottom:"top",top:"bottom"};function Fe(e){return e.replace(/left|right|bottom|top/g,function(t){return mo[t]})}var vo={start:"end",end:"start"};function xt(e){return e.replace(/start|end/g,function(t){return vo[t]})}function ke(e){var t=D(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function Le(e){return Z(_(e)).left+ke(e).scrollLeft}function kt(e,t){var r=D(e),o=_(e),i=r.visualViewport,s=o.clientWidth,f=o.clientHeight,c=0,p=0;if(i){s=i.width,f=i.height;var l=Je();(l||!l&&t==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:s,height:f,x:c+Le(e),y:p}}function Lt(e){var t,r=_(e),o=ke(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=re(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),f=re(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-o.scrollLeft+Le(e),p=-o.scrollTop;return q(i||r).direction==="rtl"&&(c+=re(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:f,x:c,y:p}}function Me(e){var t=q(e),r=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+o)}function wt(e){return["html","body","#document"].indexOf(U(e))>=0?e.ownerDocument.body:H(e)&&Me(e)?e:wt(ge(e))}function xe(e,t){var r;t===void 0&&(t=[]);var o=wt(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=D(o),f=i?[s].concat(s.visualViewport||[],Me(o)?o:[]):o,c=t.concat(f);return i?c:c.concat(xe(ge(f)))}function $e(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function go(e,t){var r=Z(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function ir(e,t,r){return t===ht?$e(kt(e,r)):Q(t)?go(t,r):$e(Lt(_(e)))}function ho(e){var t=xe(ge(e)),r=["absolute","fixed"].indexOf(q(e).position)>=0,o=r&&H(e)?oe(e):e;return Q(o)?t.filter(function(i){return Q(i)&&Qe(i,o)&&U(i)!=="body"}):[]}function Mt(e,t,r,o){var i=t==="clippingParents"?ho(e):[].concat(t),s=[].concat(i,[r]),f=s[0],c=s.reduce(function(p,l){var u=ir(e,l,o);return p.top=re(u.top,p.top),p.right=Ce(u.right,p.right),p.bottom=Ce(u.bottom,p.bottom),p.left=re(u.left,p.left),p},ir(e,f,o));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function rt(e){var t=e.reference,r=e.element,o=e.placement,i=o?F(o):null,s=o?ee(o):null,f=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,p;switch(i){case R:p={x:f,y:t.y-r.height};break;case I:p={x:f,y:t.y+t.height};break;case B:p={x:t.x+t.width,y:c};break;case j:p={x:t.x-r.width,y:c};break;default:p={x:t.x,y:t.y}}var l=i?De(i):null;if(l!=null){var u=l==="y"?"height":"width";switch(s){case me:p[l]=p[l]-(t[u]/2-r[u]/2);break;case Ae:p[l]=p[l]+(t[u]/2-r[u]/2);break;default:}}return p}function ne(e,t){t===void 0&&(t={});var r=t,o=r.placement,i=o===void 0?e.placement:o,s=r.strategy,f=s===void 0?e.strategy:s,c=r.boundary,p=c===void 0?Kt:c,l=r.rootBoundary,u=l===void 0?ht:l,y=r.elementContext,O=y===void 0?Ie:y,g=r.altBoundary,x=g===void 0?!1:g,h=r.padding,b=h===void 0?0:h,T=et(typeof b!="number"?b:tt(b,ye)),C=O===Ie?Jt:Ie,S=e.rects.popper,n=e.elements[x?C:O],E=Mt(Q(n)?n:n.contextElement||_(e.elements.popper),p,u,f),m=Z(e.elements.reference),P=rt({reference:m,element:S,strategy:"absolute",placement:i}),W=$e(Object.assign({},S,P)),N=O===Ie?W:m,L={top:E.top-N.top+T.top,bottom:N.bottom-E.bottom+T.bottom,left:E.left-N.left+T.left,right:N.right-E.right+T.right},V=e.modifiersData.offset;if(O===Ie&&V){var M=V[i];Object.keys(L).forEach(function(k){var G=[B,I].indexOf(k)>=0?1:-1,K=[R,I].indexOf(k)>=0?"y":"x";L[k]+=M[K]*G})}return L}function Rt(e,t){t===void 0&&(t={});var r=t,o=r.placement,i=r.boundary,s=r.rootBoundary,f=r.padding,c=r.flipVariations,p=r.allowedAutoPlacements,l=p===void 0?bt:p,u=ee(o),y=u?c?Dt:Dt.filter(function(x){return ee(x)===u}):ye,O=y.filter(function(x){return l.indexOf(x)>=0});O.length===0&&(O=y);var g=O.reduce(function(x,h){return x[h]=ne(e,{placement:h,boundary:i,rootBoundary:s,padding:f})[F(h)],x},{});return Object.keys(g).sort(function(x,h){return g[x]-g[h]})}function bo(e){if(F(e)===gt)return[];var t=Fe(e);return[xt(e),t,xt(t)]}function yo(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=r.mainAxis,s=i===void 0?!0:i,f=r.altAxis,c=f===void 0?!0:f,p=r.fallbackPlacements,l=r.padding,u=r.boundary,y=r.rootBoundary,O=r.altBoundary,g=r.flipVariations,x=g===void 0?!0:g,h=r.allowedAutoPlacements,b=t.options.placement,T=F(b),C=T===b,S=p||(C||!x?[Fe(b)]:bo(b)),n=[b].concat(S).reduce(function(ce,te){return ce.concat(F(te)===gt?Rt(t,{placement:te,boundary:u,rootBoundary:y,padding:l,flipVariations:x,allowedAutoPlacements:h}):te)},[]),E=t.rects.reference,m=t.rects.popper,P=new Map,W=!0,N=n[0],L=0;L<n.length;L++){var V=n[L],M=F(V),k=ee(V)===me,G=[R,I].indexOf(M)>=0,K=G?"width":"height",z=ne(t,{placement:V,boundary:u,rootBoundary:y,altBoundary:O,padding:l}),X=G?k?B:j:k?I:R;E[K]>m[K]&&(X=Fe(X));var $=Fe(X),ae=[];if(s&&ae.push(z[M]<=0),c&&ae.push(z[X]<=0,z[$]<=0),ae.every(function(ce){return ce})){N=V,W=!1;break}P.set(V,ae)}if(W)for(var se=x?3:1,we=function(te){var ue=n.find(function(je){var le=P.get(je);if(le)return le.slice(0,te).every(function(Ne){return Ne})});if(ue)return N=ue,"break"},pe=se;pe>0;pe--){var Oe=we(pe);if(Oe==="break")break}t.placement!==N&&(t.modifiersData[o]._skip=!0,t.placement=N,t.reset=!0)}}var ar={name:"flip",enabled:!0,phase:"main",fn:yo,requiresIfExists:["offset"],data:{_skip:!1}};function sr(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function pr(e){return[R,B,I,j].some(function(t){return e[t]>=0})}function xo(e){var t=e.state,r=e.name,o=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,f=ne(t,{elementContext:"reference"}),c=ne(t,{altBoundary:!0}),p=sr(f,o),l=sr(c,i,s),u=pr(p),y=pr(l);t.modifiersData[r]={referenceClippingOffsets:p,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:y},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":y})}var fr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:xo};function wo(e,t,r){var o=F(e),i=[j,R].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,f=s[0],c=s[1];return f=f||0,c=(c||0)*i,[j,B].indexOf(o)>=0?{x:c,y:f}:{x:f,y:c}}function Oo(e){var t=e.state,r=e.options,o=e.name,i=r.offset,s=i===void 0?[0,0]:i,f=bt.reduce(function(u,y){return u[y]=wo(y,t.rects,s),u},{}),c=f[t.placement],p=c.x,l=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=f}var cr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Oo};function Eo(e){var t=e.state,r=e.name;t.modifiersData[r]=rt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ur={name:"popperOffsets",enabled:!0,phase:"read",fn:Eo,data:{}};function jt(e){return e==="x"?"y":"x"}function To(e){var t=e.state,r=e.options,o=e.name,i=r.mainAxis,s=i===void 0?!0:i,f=r.altAxis,c=f===void 0?!1:f,p=r.boundary,l=r.rootBoundary,u=r.altBoundary,y=r.padding,O=r.tether,g=O===void 0?!0:O,x=r.tetherOffset,h=x===void 0?0:x,b=ne(t,{boundary:p,rootBoundary:l,padding:y,altBoundary:u}),T=F(t.placement),C=ee(t.placement),S=!C,n=De(T),E=jt(n),m=t.modifiersData.popperOffsets,P=t.rects.reference,W=t.rects.popper,N=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,L=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(m){if(s){var k,G=n==="y"?R:j,K=n==="y"?I:B,z=n==="y"?"height":"width",X=m[n],$=X+b[G],ae=X-b[K],se=g?-W[z]/2:0,we=C===me?P[z]:W[z],pe=C===me?-W[z]:-P[z],Oe=t.elements.arrow,ce=g&&Oe?Pe(Oe):{width:0,height:0},te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ze(),ue=te[G],je=te[K],le=Se(0,P[z],ce[z]),Ne=S?P[z]/2-se-le-ue-L.mainAxis:we-le-ue-L.mainAxis,he=S?-P[z]/2+se+le+je+L.mainAxis:pe+le+je+L.mainAxis,Be=t.elements.arrow&&oe(t.elements.arrow),it=Be?n==="y"?Be.clientTop||0:Be.clientLeft||0:0,ze=(k=V==null?void 0:V[n])!=null?k:0,at=X+Ne-ze-it,st=X+he-ze,Xe=Se(g?Ce($,at):$,X,g?re(ae,st):ae);m[n]=Xe,M[n]=Xe-X}if(c){var Ye,pt=n==="x"?R:j,ft=n==="x"?I:B,de=m[E],be=E==="y"?"height":"width",qe=de+b[pt],Ee=de-b[ft],Ge=[R,j].indexOf(T)!==-1,ct=(Ye=V==null?void 0:V[E])!=null?Ye:0,ut=Ge?qe:de-P[be]-W[be]-ct+L.altAxis,lt=Ge?de+P[be]+W[be]-ct-L.altAxis:Ee,dt=g&&Ge?er(ut,de,lt):Se(g?ut:qe,de,g?lt:Ee);m[E]=dt,M[E]=dt-de}t.modifiersData[o]=M}}var lr={name:"preventOverflow",enabled:!0,phase:"main",fn:To,requiresIfExists:["offset"]};function Nt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Bt(e){return e===D(e)||!H(e)?ke(e):Nt(e)}function Ao(e){var t=e.getBoundingClientRect(),r=ve(t.width)/e.offsetWidth||1,o=ve(t.height)/e.offsetHeight||1;return r!==1||o!==1}function Wt(e,t,r){r===void 0&&(r=!1);var o=H(t),i=H(t)&&Ao(t),s=_(t),f=Z(e,i,r),c={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!r)&&((U(t)!=="body"||Me(s))&&(c=Bt(t)),H(t)?(p=Z(t,!0),p.x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=Le(s))),{x:f.left+c.scrollLeft-p.x,y:f.top+c.scrollTop-p.y,width:f.width,height:f.height}}function Co(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function i(s){r.add(s.name);var f=[].concat(s.requires||[],s.requiresIfExists||[]);f.forEach(function(c){if(!r.has(c)){var p=t.get(c);p&&i(p)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||i(s)}),o}function Vt(e){var t=Co(e);return Qt.reduce(function(r,o){return r.concat(t.filter(function(i){return i.phase===o}))},[])}function It(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Ht(e){var t=e.reduce(function(r,o){var i=r[o.name];return r[o.name]=i?Object.assign({},i,o,{options:Object.assign({},i.options,o.options),data:Object.assign({},i.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var dr={placement:"bottom",modifiers:[],strategy:"absolute"};function mr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function vr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,i=t.defaultOptions,s=i===void 0?dr:i;return function(c,p,l){l===void 0&&(l=s);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},dr,s),modifiersData:{},elements:{reference:c,popper:p},attributes:{},styles:{}},y=[],O=!1,g={state:u,setOptions:function(T){var C=typeof T=="function"?T(u.options):T;h(),u.options=Object.assign({},s,u.options,C),u.scrollParents={reference:Q(c)?xe(c):c.contextElement?xe(c.contextElement):[],popper:xe(p)};var S=Vt(Ht([].concat(o,u.options.modifiers)));return u.orderedModifiers=S.filter(function(n){return n.enabled}),x(),g.update()},forceUpdate:function(){if(!O){var T=u.elements,C=T.reference,S=T.popper;if(mr(C,S)){u.rects={reference:Wt(C,oe(S),u.options.strategy==="fixed"),popper:Pe(S)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(L){return u.modifiersData[L.name]=Object.assign({},L.data)});for(var n=0;n<u.orderedModifiers.length;n++){if(u.reset===!0){u.reset=!1,n=-1;continue}var E=u.orderedModifiers[n],m=E.fn,P=E.options,W=P===void 0?{}:P,N=E.name;typeof m=="function"&&(u=m({state:u,options:W,name:N,instance:g})||u)}}}},update:It(function(){return new Promise(function(b){g.forceUpdate(),b(u)})}),destroy:function(){h(),O=!0}};if(!mr(c,p))return g;g.setOptions(l).then(function(b){!O&&l.onFirstUpdate&&l.onFirstUpdate(b)});function x(){u.orderedModifiers.forEach(function(b){var T=b.name,C=b.options,S=C===void 0?{}:C,n=b.effect;if(typeof n=="function"){var E=n({state:u,name:T,instance:g,options:S}),m=function(){};y.push(E||m)}})}function h(){y.forEach(function(b){return b()}),y=[]}return g}}var Po=[nr,ur,or,Ke,cr,ar,lr,tr,fr],Ut=vr({defaultModifiers:Po});var Do="tippy-box",Ar="tippy-content",So="tippy-backdrop",Cr="tippy-arrow",Pr="tippy-svg-arrow",Re={passive:!0,capture:!0},Dr=function(){return document.body};function Ft(e,t,r){if(Array.isArray(e)){var o=e[t];return o==null?Array.isArray(r)?r[t]:r:o}return e}function qt(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function Sr(e,t){return typeof e=="function"?e.apply(void 0,t):e}function gr(e,t){if(t===0)return e;var r;return function(o){clearTimeout(r),r=setTimeout(function(){e(o)},t)}}function ko(e){return e.split(/\s+/).filter(Boolean)}function _e(e){return[].concat(e)}function hr(e,t){e.indexOf(t)===-1&&e.push(t)}function Lo(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Mo(e){return e.split("-")[0]}function Et(e){return[].slice.call(e)}function br(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function ot(){return document.createElement("div")}function Tt(e){return["Element","Fragment"].some(function(t){return qt(e,t)})}function Ro(e){return qt(e,"NodeList")}function jo(e){return qt(e,"MouseEvent")}function No(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Bo(e){return Tt(e)?[e]:Ro(e)?Et(e):Array.isArray(e)?e:Et(document.querySelectorAll(e))}function $t(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function yr(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Wo(e){var t,r=_e(e),o=r[0];return o!=null&&(t=o.ownerDocument)!=null&&t.body?o.ownerDocument:document}function Vo(e,t){var r=t.clientX,o=t.clientY;return e.every(function(i){var s=i.popperRect,f=i.popperState,c=i.props,p=c.interactiveBorder,l=Mo(f.placement),u=f.modifiersData.offset;if(!u)return!0;var y=l==="bottom"?u.top.y:0,O=l==="top"?u.bottom.y:0,g=l==="right"?u.left.x:0,x=l==="left"?u.right.x:0,h=s.top-o+y>p,b=o-s.bottom-O>p,T=s.left-r+g>p,C=r-s.right-x>p;return h||b||T||C})}function _t(e,t,r){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[o](i,r)})}function xr(e,t){for(var r=t;r;){var o;if(e.contains(r))return!0;r=r.getRootNode==null||(o=r.getRootNode())==null?void 0:o.host}return!1}var fe={isTouch:!1},wr=0;function Io(){fe.isTouch||(fe.isTouch=!0,window.performance&&document.addEventListener("mousemove",kr))}function kr(){var e=performance.now();e-wr<20&&(fe.isTouch=!1,document.removeEventListener("mousemove",kr)),wr=e}function Ho(){var e=document.activeElement;if(No(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Uo(){document.addEventListener("touchstart",Io,Re),window.addEventListener("blur",Ho)}var Fo=typeof window!="undefined"&&typeof document!="undefined",$o=Fo?!!window.msCrypto:!1;var _o={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},zo={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},ie=Object.assign({appendTo:Dr,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},_o,zo),Xo=Object.keys(ie),Yo=function(t){var r=Object.keys(t);r.forEach(function(o){ie[o]=t[o]})};function Lr(e){var t=e.plugins||[],r=t.reduce(function(o,i){var s=i.name,f=i.defaultValue;if(s){var c;o[s]=e[s]!==void 0?e[s]:(c=ie[s])!=null?c:f}return o},{});return Object.assign({},e,r)}function qo(e,t){var r=t?Object.keys(Lr(Object.assign({},ie,{plugins:t}))):Xo,o=r.reduce(function(i,s){var f=(e.getAttribute("data-tippy-"+s)||"").trim();if(!f)return i;if(s==="content")i[s]=f;else try{i[s]=JSON.parse(f)}catch(c){i[s]=f}return i},{});return o}function Or(e,t){var r=Object.assign({},t,{content:Sr(t.content,[e])},t.ignoreAttributes?{}:qo(e,t.plugins));return r.aria=Object.assign({},ie.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var Go=function(){return"innerHTML"};function Xt(e,t){e[Go()]=t}function Er(e){var t=ot();return e===!0?t.className=Cr:(t.className=Pr,Tt(e)?t.appendChild(e):Xt(t,e)),t}function Tr(e,t){Tt(t.content)?(Xt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Xt(e,t.content):e.textContent=t.content)}function Yt(e){var t=e.firstElementChild,r=Et(t.children);return{box:t,content:r.find(function(o){return o.classList.contains(Ar)}),arrow:r.find(function(o){return o.classList.contains(Cr)||o.classList.contains(Pr)}),backdrop:r.find(function(o){return o.classList.contains(So)})}}function Mr(e){var t=ot(),r=ot();r.className=Do,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var o=ot();o.className=Ar,o.setAttribute("data-state","hidden"),Tr(o,e.props),t.appendChild(r),r.appendChild(o),i(e.props,e.props);function i(s,f){var c=Yt(t),p=c.box,l=c.content,u=c.arrow;f.theme?p.setAttribute("data-theme",f.theme):p.removeAttribute("data-theme"),typeof f.animation=="string"?p.setAttribute("data-animation",f.animation):p.removeAttribute("data-animation"),f.inertia?p.setAttribute("data-inertia",""):p.removeAttribute("data-inertia"),p.style.maxWidth=typeof f.maxWidth=="number"?f.maxWidth+"px":f.maxWidth,f.role?p.setAttribute("role",f.role):p.removeAttribute("role"),(s.content!==f.content||s.allowHTML!==f.allowHTML)&&Tr(l,e.props),f.arrow?u?s.arrow!==f.arrow&&(p.removeChild(u),p.appendChild(Er(f.arrow))):p.appendChild(Er(f.arrow)):u&&p.removeChild(u)}return{popper:t,onUpdate:i}}Mr.$$tippy=!0;var Ko=1,Ot=[],zt=[];function Jo(e,t){var r=Or(e,Object.assign({},ie,Lr(br(t)))),o,i,s,f=!1,c=!1,p=!1,l=!1,u,y,O,g=[],x=gr(at,r.interactiveDebounce),h,b=Ko++,T=null,C=Lo(r.plugins),S={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},n={id:b,reference:e,popper:ot(),popperInstance:T,props:r,state:S,plugins:C,clearDelayTimeouts:ut,setProps:lt,setContent:dt,show:Hr,hide:Ur,hideWithInteractivity:Fr,enable:Ge,disable:ct,unmount:$r,destroy:_r};if(!r.render)return n;var E=r.render(n),m=E.popper,P=E.onUpdate;m.setAttribute("data-tippy-root",""),m.id="tippy-"+n.id,n.popper=m,e._tippy=n,m._tippy=n;var W=C.map(function(a){return a.fn(n)}),N=e.hasAttribute("aria-expanded");return Be(),se(),X(),$("onCreate",[n]),r.showOnCreate&&qe(),m.addEventListener("mouseenter",function(){n.props.interactive&&n.state.isVisible&&n.clearDelayTimeouts()}),m.addEventListener("mouseleave",function(){n.props.interactive&&n.props.trigger.indexOf("mouseenter")>=0&&G().addEventListener("mousemove",x)}),n;function L(){var a=n.props.touch;return Array.isArray(a)?a:[a,0]}function V(){return L()[0]==="hold"}function M(){var a;return!!((a=n.props.render)!=null&&a.$$tippy)}function k(){return h||e}function G(){var a=k().parentNode;return a?Wo(a):document}function K(){return Yt(m)}function z(a){return n.state.isMounted&&!n.state.isVisible||fe.isTouch||u&&u.type==="focus"?0:Ft(n.props.delay,a?0:1,ie.delay)}function X(a){a===void 0&&(a=!1),m.style.pointerEvents=n.props.interactive&&!a?"":"none",m.style.zIndex=""+n.props.zIndex}function $(a,d,v){if(v===void 0&&(v=!0),W.forEach(function(w){w[a]&&w[a].apply(w,d)}),v){var A;(A=n.props)[a].apply(A,d)}}function ae(){var a=n.props.aria;if(a.content){var d="aria-"+a.content,v=m.id,A=_e(n.props.triggerTarget||e);A.forEach(function(w){var Y=w.getAttribute(d);if(n.state.isVisible)w.setAttribute(d,Y?Y+" "+v:v);else{var J=Y&&Y.replace(v,"").trim();J?w.setAttribute(d,J):w.removeAttribute(d)}})}}function se(){if(!(N||!n.props.aria.expanded)){var a=_e(n.props.triggerTarget||e);a.forEach(function(d){n.props.interactive?d.setAttribute("aria-expanded",n.state.isVisible&&d===k()?"true":"false"):d.removeAttribute("aria-expanded")})}}function we(){G().removeEventListener("mousemove",x),Ot=Ot.filter(function(a){return a!==x})}function pe(a){if(!(fe.isTouch&&(p||a.type==="mousedown"))){var d=a.composedPath&&a.composedPath()[0]||a.target;if(!(n.props.interactive&&xr(m,d))){if(_e(n.props.triggerTarget||e).some(function(v){return xr(v,d)})){if(fe.isTouch||n.state.isVisible&&n.props.trigger.indexOf("click")>=0)return}else $("onClickOutside",[n,a]);n.props.hideOnClick===!0&&(n.clearDelayTimeouts(),n.hide(),c=!0,setTimeout(function(){c=!1}),n.state.isMounted||ue())}}}function Oe(){p=!0}function ce(){p=!1}function te(){var a=G();a.addEventListener("mousedown",pe,!0),a.addEventListener("touchend",pe,Re),a.addEventListener("touchstart",ce,Re),a.addEventListener("touchmove",Oe,Re)}function ue(){var a=G();a.removeEventListener("mousedown",pe,!0),a.removeEventListener("touchend",pe,Re),a.removeEventListener("touchstart",ce,Re),a.removeEventListener("touchmove",Oe,Re)}function je(a,d){Ne(a,function(){!n.state.isVisible&&m.parentNode&&m.parentNode.contains(m)&&d()})}function le(a,d){Ne(a,d)}function Ne(a,d){var v=K().box;function A(w){w.target===v&&(_t(v,"remove",A),d())}if(a===0)return d();_t(v,"remove",y),_t(v,"add",A),y=A}function he(a,d,v){v===void 0&&(v=!1);var A=_e(n.props.triggerTarget||e);A.forEach(function(w){w.addEventListener(a,d,v),g.push({node:w,eventType:a,handler:d,options:v})})}function Be(){V()&&(he("touchstart",ze,{passive:!0}),he("touchend",st,{passive:!0})),ko(n.props.trigger).forEach(function(a){if(a!=="manual")switch(he(a,ze),a){case"mouseenter":he("mouseleave",st);break;case"focus":he($o?"focusout":"blur",Xe);break;case"focusin":he("focusout",Xe);break}})}function it(){g.forEach(function(a){var d=a.node,v=a.eventType,A=a.handler,w=a.options;d.removeEventListener(v,A,w)}),g=[]}function ze(a){var d,v=!1;if(!(!n.state.isEnabled||Ye(a)||c)){var A=((d=u)==null?void 0:d.type)==="focus";u=a,h=a.currentTarget,se(),!n.state.isVisible&&jo(a)&&Ot.forEach(function(w){return w(a)}),a.type==="click"&&(n.props.trigger.indexOf("mouseenter")<0||f)&&n.props.hideOnClick!==!1&&n.state.isVisible?v=!0:qe(a),a.type==="click"&&(f=!v),v&&!A&&Ee(a)}}function at(a){var d=a.target,v=k().contains(d)||m.contains(d);if(!(a.type==="mousemove"&&v)){var A=be().concat(m).map(function(w){var Y,J=w._tippy,We=(Y=J.popperInstance)==null?void 0:Y.state;return We?{popperRect:w.getBoundingClientRect(),popperState:We,props:r}:null}).filter(Boolean);Vo(A,a)&&(we(),Ee(a))}}function st(a){var d=Ye(a)||n.props.trigger.indexOf("click")>=0&&f;if(!d){if(n.props.interactive){n.hideWithInteractivity(a);return}Ee(a)}}function Xe(a){n.props.trigger.indexOf("focusin")<0&&a.target!==k()||n.props.interactive&&a.relatedTarget&&m.contains(a.relatedTarget)||Ee(a)}function Ye(a){return fe.isTouch?V()!==a.type.indexOf("touch")>=0:!1}function pt(){ft();var a=n.props,d=a.popperOptions,v=a.placement,A=a.offset,w=a.getReferenceClientRect,Y=a.moveTransition,J=M()?Yt(m).arrow:null,We=w?{getBoundingClientRect:w,contextElement:w.contextElement||k()}:e,Gt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(mt){var Ve=mt.state;if(M()){var zr=K(),Pt=zr.box;["placement","reference-hidden","escaped"].forEach(function(vt){vt==="placement"?Pt.setAttribute("data-placement",Ve.placement):Ve.attributes.popper["data-popper-"+vt]?Pt.setAttribute("data-"+vt,""):Pt.removeAttribute("data-"+vt)}),Ve.attributes.popper={}}}},Te=[{name:"offset",options:{offset:A}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Y}},Gt];M()&&J&&Te.push({name:"arrow",options:{element:J,padding:3}}),Te.push.apply(Te,(d==null?void 0:d.modifiers)||[]),n.popperInstance=Ut(We,m,Object.assign({},d,{placement:v,onFirstUpdate:O,modifiers:Te}))}function ft(){n.popperInstance&&(n.popperInstance.destroy(),n.popperInstance=null)}function de(){var a=n.props.appendTo,d,v=k();n.props.interactive&&a===Dr||a==="parent"?d=v.parentNode:d=Sr(a,[v]),d.contains(m)||d.appendChild(m),n.state.isMounted=!0,pt()}function be(){return Et(m.querySelectorAll("[data-tippy-root]"))}function qe(a){n.clearDelayTimeouts(),a&&$("onTrigger",[n,a]),te();var d=z(!0),v=L(),A=v[0],w=v[1];fe.isTouch&&A==="hold"&&w&&(d=w),d?o=setTimeout(function(){n.show()},d):n.show()}function Ee(a){if(n.clearDelayTimeouts(),$("onUntrigger",[n,a]),!n.state.isVisible){ue();return}if(!(n.props.trigger.indexOf("mouseenter")>=0&&n.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(a.type)>=0&&f)){var d=z(!1);d?i=setTimeout(function(){n.state.isVisible&&n.hide()},d):s=requestAnimationFrame(function(){n.hide()})}}function Ge(){n.state.isEnabled=!0}function ct(){n.hide(),n.state.isEnabled=!1}function ut(){clearTimeout(o),clearTimeout(i),cancelAnimationFrame(s)}function lt(a){if(!n.state.isDestroyed){$("onBeforeUpdate",[n,a]),it();var d=n.props,v=Or(e,Object.assign({},d,br(a),{ignoreAttributes:!0}));n.props=v,Be(),d.interactiveDebounce!==v.interactiveDebounce&&(we(),x=gr(at,v.interactiveDebounce)),d.triggerTarget&&!v.triggerTarget?_e(d.triggerTarget).forEach(function(A){A.removeAttribute("aria-expanded")}):v.triggerTarget&&e.removeAttribute("aria-expanded"),se(),X(),P&&P(d,v),n.popperInstance&&(pt(),be().forEach(function(A){requestAnimationFrame(A._tippy.popperInstance.forceUpdate)})),$("onAfterUpdate",[n,a])}}function dt(a){n.setProps({content:a})}function Hr(){var a=n.state.isVisible,d=n.state.isDestroyed,v=!n.state.isEnabled,A=fe.isTouch&&!n.props.touch,w=Ft(n.props.duration,0,ie.duration);if(!(a||d||v||A)&&!k().hasAttribute("disabled")&&($("onShow",[n],!1),n.props.onShow(n)!==!1)){if(n.state.isVisible=!0,M()&&(m.style.visibility="visible"),X(),te(),n.state.isMounted||(m.style.transition="none"),M()){var Y=K(),J=Y.box,We=Y.content;$t([J,We],0)}O=function(){var Te;if(!(!n.state.isVisible||l)){if(l=!0,m.offsetHeight,m.style.transition=n.props.moveTransition,M()&&n.props.animation){var Ct=K(),mt=Ct.box,Ve=Ct.content;$t([mt,Ve],w),yr([mt,Ve],"visible")}ae(),se(),hr(zt,n),(Te=n.popperInstance)==null||Te.forceUpdate(),$("onMount",[n]),n.props.animation&&M()&&le(w,function(){n.state.isShown=!0,$("onShown",[n])})}},de()}}function Ur(){var a=!n.state.isVisible,d=n.state.isDestroyed,v=!n.state.isEnabled,A=Ft(n.props.duration,1,ie.duration);if(!(a||d||v)&&($("onHide",[n],!1),n.props.onHide(n)!==!1)){if(n.state.isVisible=!1,n.state.isShown=!1,l=!1,f=!1,M()&&(m.style.visibility="hidden"),we(),ue(),X(!0),M()){var w=K(),Y=w.box,J=w.content;n.props.animation&&($t([Y,J],A),yr([Y,J],"hidden"))}ae(),se(),n.props.animation?M()&&je(A,n.unmount):n.unmount()}}function Fr(a){G().addEventListener("mousemove",x),hr(Ot,x),x(a)}function $r(){n.state.isVisible&&n.hide(),n.state.isMounted&&(ft(),be().forEach(function(a){a._tippy.unmount()}),m.parentNode&&m.parentNode.removeChild(m),zt=zt.filter(function(a){return a!==n}),n.state.isMounted=!1,$("onHidden",[n]))}function _r(){n.state.isDestroyed||(n.clearDelayTimeouts(),n.unmount(),it(),delete e._tippy,n.state.isDestroyed=!0,$("onDestroy",[n]))}}function nt(e,t){t===void 0&&(t={});var r=ie.plugins.concat(t.plugins||[]);Uo();var o=Object.assign({},t,{plugins:r}),i=Bo(e);if(0)var s,f;var c=i.reduce(function(p,l){var u=l&&Jo(l,o);return u&&p.push(u),p},[]);return Tt(e)?c[0]:c}nt.defaultProps=ie;nt.setDefaultProps=Yo;nt.currentInput=fe;var Zs=Object.assign({},Ke,{effect:function(t){var r=t.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow)}});nt.setDefaultProps({render:Mr});var Rr=nt;var jr="data-js-hook";var Nr="state_";function Br(e,t){if(!e)return!1;let r=e.getAttribute(jr);return r?(r=r.split(" "),r.indexOf(t)>-1):!1}var Qo=Nr+"atomic_init";function Wr(e,t,r,o={}){let s=(r||document).querySelectorAll(e),f=[],c,p;for(let l=0,u=s.length;l<u;l++)p=s[l],Br(p,Qo)===!1&&(c=new t(p),c.init(o),f.push(c));return f}var Vr={};Yr(Vr,{default:()=>en});var en={};var Ir="data-tooltip";function At(e){let t=e.getAttribute(Ir);function r(){return this.tooltip=Rr(e,{theme:"cfpb",maxWidth:450,content:function(o){let i=o.parentElement.querySelector(`#${t}`),s=document.createElement("div"),f=document.importNode(i.content,!0);return s.appendChild(f),s},plugins:[{name:"hideOnEsc",defaultValue:!0,fn({hide:o}){function i(s){s.key==="Escape"&&o()}return{onShow(){document.body.addEventListener("keydown",i)},onHide(){document.body.removeEventListener("keydown",i)}}}}]})}return this.init=r,this.tooltip=null,this}At.BASE_ATTRIBUTE=Ir;At.init=e=>Wr(`[${At.BASE_ATTRIBUTE}]`,At,e);})();
|
|
1
|
+
(()=>{var Xr=Object.defineProperty;var Yr=(e,t)=>{for(var r in t)Xr(e,r,{get:t[r],enumerable:!0})};var M="top",I="bottom",B="right",R="left",gt="auto",ye=[M,I,B,R],me="start",Ae="end",Kt="clippingParents",ht="viewport",Ie="popper",Jt="reference",Dt=ye.reduce(function(e,t){return e.concat([t+"-"+me,t+"-"+Ae])},[]),bt=[].concat(ye,[gt]).reduce(function(e,t){return e.concat([t,t+"-"+me,t+"-"+Ae])},[]),qr="beforeRead",Gr="read",Kr="afterRead",Jr="beforeMain",Qr="main",Zr="afterMain",eo="beforeWrite",to="write",ro="afterWrite",Qt=[qr,Gr,Kr,Jr,Qr,Zr,eo,to,ro];function z(e){return e?(e.nodeName||"").toLowerCase():null}function D(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Q(e){var t=D(e).Element;return e instanceof t||e instanceof Element}function H(e){var t=D(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function He(e){if(typeof ShadowRoot=="undefined")return!1;var t=D(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function oo(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},i=t.attributes[r]||{},s=t.elements[r];!H(s)||!z(s)||(Object.assign(s.style,o),Object.keys(i).forEach(function(f){var c=i[f];c===!1?s.removeAttribute(f):s.setAttribute(f,c===!0?"":c)}))})}function no(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var i=t.elements[o],s=t.attributes[o]||{},f=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),c=f.reduce(function(p,l){return p[l]="",p},{});!H(i)||!z(i)||(Object.assign(i.style,c),Object.keys(s).forEach(function(p){i.removeAttribute(p)}))})}}var Ke={name:"applyStyles",enabled:!0,phase:"write",fn:oo,effect:no,requires:["computeStyles"]};function U(e){return e.split("-")[0]}var re=Math.max,Ce=Math.min,ve=Math.round;function ze(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Je(){return!/^((?!chrome|android).)*safari/i.test(ze())}function Z(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),i=1,s=1;t&&H(e)&&(i=e.offsetWidth>0&&ve(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ve(o.height)/e.offsetHeight||1);var f=Q(e)?D(e):window,c=f.visualViewport,p=!Je()&&r,l=(o.left+(p&&c?c.offsetLeft:0))/i,u=(o.top+(p&&c?c.offsetTop:0))/s,y=o.width/i,O=o.height/s;return{width:y,height:O,top:u,right:l+y,bottom:u+O,left:l,x:l,y:u}}function Pe(e){var t=Z(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function Qe(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&He(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function q(e){return D(e).getComputedStyle(e)}function St(e){return["table","td","th"].indexOf(z(e))>=0}function $(e){return((Q(e)?e.ownerDocument:e.document)||window.document).documentElement}function ge(e){return z(e)==="html"?e:e.assignedSlot||e.parentNode||(He(e)?e.host:null)||$(e)}function Zt(e){return!H(e)||q(e).position==="fixed"?null:e.offsetParent}function io(e){var t=/firefox/i.test(ze()),r=/Trident/i.test(ze());if(r&&H(e)){var o=q(e);if(o.position==="fixed")return null}var i=ge(e);for(He(i)&&(i=i.host);H(i)&&["html","body"].indexOf(z(i))<0;){var s=q(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function oe(e){for(var t=D(e),r=Zt(e);r&&St(r)&&q(r).position==="static";)r=Zt(r);return r&&(z(r)==="html"||z(r)==="body"&&q(r).position==="static")?t:r||io(e)||t}function De(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Se(e,t,r){return re(e,Ce(t,r))}function er(e,t,r){var o=Se(e,t,r);return o>r?r:o}function Ze(){return{top:0,right:0,bottom:0,left:0}}function et(e){return Object.assign({},Ze(),e)}function tt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var ao=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,et(typeof t!="number"?t:tt(t,ye))};function so(e){var t,r=e.state,o=e.name,i=e.options,s=r.elements.arrow,f=r.modifiersData.popperOffsets,c=U(r.placement),p=De(c),l=[R,B].indexOf(c)>=0,u=l?"height":"width";if(!(!s||!f)){var y=ao(i.padding,r),O=Pe(s),g=p==="y"?M:R,x=p==="y"?I:B,h=r.rects.reference[u]+r.rects.reference[p]-f[p]-r.rects.popper[u],b=f[p]-r.rects.reference[p],T=oe(s),C=T?p==="y"?T.clientHeight||0:T.clientWidth||0:0,S=h/2-b/2,n=y[g],E=C-O[u]-y[x],m=C/2-O[u]/2+S,P=Se(n,m,E),W=p;r.modifiersData[o]=(t={},t[W]=P,t.centerOffset=P-m,t)}}function po(e){var t=e.state,r=e.options,o=r.element,i=o===void 0?"[data-popper-arrow]":o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Qe(t.elements.popper,i)&&(t.elements.arrow=i))}var tr={name:"arrow",enabled:!0,phase:"main",fn:so,effect:po,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ee(e){return e.split("-")[1]}var fo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function co(e,t){var r=e.x,o=e.y,i=t.devicePixelRatio||1;return{x:ve(r*i)/i||0,y:ve(o*i)/i||0}}function rr(e){var t,r=e.popper,o=e.popperRect,i=e.placement,s=e.variation,f=e.offsets,c=e.position,p=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,y=e.isFixed,O=f.x,g=O===void 0?0:O,x=f.y,h=x===void 0?0:x,b=typeof u=="function"?u({x:g,y:h}):{x:g,y:h};g=b.x,h=b.y;var T=f.hasOwnProperty("x"),C=f.hasOwnProperty("y"),S=R,n=M,E=window;if(l){var m=oe(r),P="clientHeight",W="clientWidth";if(m===D(r)&&(m=$(r),q(m).position!=="static"&&c==="absolute"&&(P="scrollHeight",W="scrollWidth")),m=m,i===M||(i===R||i===B)&&s===Ae){n=I;var N=y&&m===E&&E.visualViewport?E.visualViewport.height:m[P];h-=N-o.height,h*=p?1:-1}if(i===R||(i===M||i===I)&&s===Ae){S=B;var j=y&&m===E&&E.visualViewport?E.visualViewport.width:m[W];g-=j-o.width,g*=p?1:-1}}var V=Object.assign({position:c},l&&fo),L=u===!0?co({x:g,y:h},D(r)):{x:g,y:h};if(g=L.x,h=L.y,p){var k;return Object.assign({},V,(k={},k[n]=C?"0":"",k[S]=T?"0":"",k.transform=(E.devicePixelRatio||1)<=1?"translate("+g+"px, "+h+"px)":"translate3d("+g+"px, "+h+"px, 0)",k))}return Object.assign({},V,(t={},t[n]=C?h+"px":"",t[S]=T?g+"px":"",t.transform="",t))}function uo(e){var t=e.state,r=e.options,o=r.gpuAcceleration,i=o===void 0?!0:o,s=r.adaptive,f=s===void 0?!0:s,c=r.roundOffsets,p=c===void 0?!0:c,l={placement:U(t.placement),variation:ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,rr(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:f,roundOffsets:p})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,rr(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var or={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:uo,data:{}};var yt={passive:!0};function lo(e){var t=e.state,r=e.instance,o=e.options,i=o.scroll,s=i===void 0?!0:i,f=o.resize,c=f===void 0?!0:f,p=D(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&l.forEach(function(u){u.addEventListener("scroll",r.update,yt)}),c&&p.addEventListener("resize",r.update,yt),function(){s&&l.forEach(function(u){u.removeEventListener("scroll",r.update,yt)}),c&&p.removeEventListener("resize",r.update,yt)}}var nr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lo,data:{}};var mo={left:"right",right:"left",bottom:"top",top:"bottom"};function Ue(e){return e.replace(/left|right|bottom|top/g,function(t){return mo[t]})}var vo={start:"end",end:"start"};function xt(e){return e.replace(/start|end/g,function(t){return vo[t]})}function ke(e){var t=D(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function je(e){return Z($(e)).left+ke(e).scrollLeft}function kt(e,t){var r=D(e),o=$(e),i=r.visualViewport,s=o.clientWidth,f=o.clientHeight,c=0,p=0;if(i){s=i.width,f=i.height;var l=Je();(l||!l&&t==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:s,height:f,x:c+je(e),y:p}}function jt(e){var t,r=$(e),o=ke(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=re(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),f=re(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-o.scrollLeft+je(e),p=-o.scrollTop;return q(i||r).direction==="rtl"&&(c+=re(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:f,x:c,y:p}}function Le(e){var t=q(e),r=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+o)}function wt(e){return["html","body","#document"].indexOf(z(e))>=0?e.ownerDocument.body:H(e)&&Le(e)?e:wt(ge(e))}function xe(e,t){var r;t===void 0&&(t=[]);var o=wt(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=D(o),f=i?[s].concat(s.visualViewport||[],Le(o)?o:[]):o,c=t.concat(f);return i?c:c.concat(xe(ge(f)))}function Fe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function go(e,t){var r=Z(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function ir(e,t,r){return t===ht?Fe(kt(e,r)):Q(t)?go(t,r):Fe(jt($(e)))}function ho(e){var t=xe(ge(e)),r=["absolute","fixed"].indexOf(q(e).position)>=0,o=r&&H(e)?oe(e):e;return Q(o)?t.filter(function(i){return Q(i)&&Qe(i,o)&&z(i)!=="body"}):[]}function Lt(e,t,r,o){var i=t==="clippingParents"?ho(e):[].concat(t),s=[].concat(i,[r]),f=s[0],c=s.reduce(function(p,l){var u=ir(e,l,o);return p.top=re(u.top,p.top),p.right=Ce(u.right,p.right),p.bottom=Ce(u.bottom,p.bottom),p.left=re(u.left,p.left),p},ir(e,f,o));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function rt(e){var t=e.reference,r=e.element,o=e.placement,i=o?U(o):null,s=o?ee(o):null,f=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,p;switch(i){case M:p={x:f,y:t.y-r.height};break;case I:p={x:f,y:t.y+t.height};break;case B:p={x:t.x+t.width,y:c};break;case R:p={x:t.x-r.width,y:c};break;default:p={x:t.x,y:t.y}}var l=i?De(i):null;if(l!=null){var u=l==="y"?"height":"width";switch(s){case me:p[l]=p[l]-(t[u]/2-r[u]/2);break;case Ae:p[l]=p[l]+(t[u]/2-r[u]/2);break;default:}}return p}function ne(e,t){t===void 0&&(t={});var r=t,o=r.placement,i=o===void 0?e.placement:o,s=r.strategy,f=s===void 0?e.strategy:s,c=r.boundary,p=c===void 0?Kt:c,l=r.rootBoundary,u=l===void 0?ht:l,y=r.elementContext,O=y===void 0?Ie:y,g=r.altBoundary,x=g===void 0?!1:g,h=r.padding,b=h===void 0?0:h,T=et(typeof b!="number"?b:tt(b,ye)),C=O===Ie?Jt:Ie,S=e.rects.popper,n=e.elements[x?C:O],E=Lt(Q(n)?n:n.contextElement||$(e.elements.popper),p,u,f),m=Z(e.elements.reference),P=rt({reference:m,element:S,strategy:"absolute",placement:i}),W=Fe(Object.assign({},S,P)),N=O===Ie?W:m,j={top:E.top-N.top+T.top,bottom:N.bottom-E.bottom+T.bottom,left:E.left-N.left+T.left,right:N.right-E.right+T.right},V=e.modifiersData.offset;if(O===Ie&&V){var L=V[i];Object.keys(j).forEach(function(k){var G=[B,I].indexOf(k)>=0?1:-1,K=[M,I].indexOf(k)>=0?"y":"x";j[k]+=L[K]*G})}return j}function Mt(e,t){t===void 0&&(t={});var r=t,o=r.placement,i=r.boundary,s=r.rootBoundary,f=r.padding,c=r.flipVariations,p=r.allowedAutoPlacements,l=p===void 0?bt:p,u=ee(o),y=u?c?Dt:Dt.filter(function(x){return ee(x)===u}):ye,O=y.filter(function(x){return l.indexOf(x)>=0});O.length===0&&(O=y);var g=O.reduce(function(x,h){return x[h]=ne(e,{placement:h,boundary:i,rootBoundary:s,padding:f})[U(h)],x},{});return Object.keys(g).sort(function(x,h){return g[x]-g[h]})}function bo(e){if(U(e)===gt)return[];var t=Ue(e);return[xt(e),t,xt(t)]}function yo(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=r.mainAxis,s=i===void 0?!0:i,f=r.altAxis,c=f===void 0?!0:f,p=r.fallbackPlacements,l=r.padding,u=r.boundary,y=r.rootBoundary,O=r.altBoundary,g=r.flipVariations,x=g===void 0?!0:g,h=r.allowedAutoPlacements,b=t.options.placement,T=U(b),C=T===b,S=p||(C||!x?[Ue(b)]:bo(b)),n=[b].concat(S).reduce(function(ce,te){return ce.concat(U(te)===gt?Mt(t,{placement:te,boundary:u,rootBoundary:y,padding:l,flipVariations:x,allowedAutoPlacements:h}):te)},[]),E=t.rects.reference,m=t.rects.popper,P=new Map,W=!0,N=n[0],j=0;j<n.length;j++){var V=n[j],L=U(V),k=ee(V)===me,G=[M,I].indexOf(L)>=0,K=G?"width":"height",_=ne(t,{placement:V,boundary:u,rootBoundary:y,altBoundary:O,padding:l}),X=G?k?B:R:k?I:M;E[K]>m[K]&&(X=Ue(X));var F=Ue(X),ae=[];if(s&&ae.push(_[L]<=0),c&&ae.push(_[X]<=0,_[F]<=0),ae.every(function(ce){return ce})){N=V,W=!1;break}P.set(V,ae)}if(W)for(var se=x?3:1,we=function(te){var ue=n.find(function(Re){var le=P.get(Re);if(le)return le.slice(0,te).every(function(Ne){return Ne})});if(ue)return N=ue,"break"},pe=se;pe>0;pe--){var Oe=we(pe);if(Oe==="break")break}t.placement!==N&&(t.modifiersData[o]._skip=!0,t.placement=N,t.reset=!0)}}var ar={name:"flip",enabled:!0,phase:"main",fn:yo,requiresIfExists:["offset"],data:{_skip:!1}};function sr(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function pr(e){return[M,B,I,R].some(function(t){return e[t]>=0})}function xo(e){var t=e.state,r=e.name,o=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,f=ne(t,{elementContext:"reference"}),c=ne(t,{altBoundary:!0}),p=sr(f,o),l=sr(c,i,s),u=pr(p),y=pr(l);t.modifiersData[r]={referenceClippingOffsets:p,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:y},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":y})}var fr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:xo};function wo(e,t,r){var o=U(e),i=[R,M].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,f=s[0],c=s[1];return f=f||0,c=(c||0)*i,[R,B].indexOf(o)>=0?{x:c,y:f}:{x:f,y:c}}function Oo(e){var t=e.state,r=e.options,o=e.name,i=r.offset,s=i===void 0?[0,0]:i,f=bt.reduce(function(u,y){return u[y]=wo(y,t.rects,s),u},{}),c=f[t.placement],p=c.x,l=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=f}var cr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Oo};function Eo(e){var t=e.state,r=e.name;t.modifiersData[r]=rt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ur={name:"popperOffsets",enabled:!0,phase:"read",fn:Eo,data:{}};function Rt(e){return e==="x"?"y":"x"}function To(e){var t=e.state,r=e.options,o=e.name,i=r.mainAxis,s=i===void 0?!0:i,f=r.altAxis,c=f===void 0?!1:f,p=r.boundary,l=r.rootBoundary,u=r.altBoundary,y=r.padding,O=r.tether,g=O===void 0?!0:O,x=r.tetherOffset,h=x===void 0?0:x,b=ne(t,{boundary:p,rootBoundary:l,padding:y,altBoundary:u}),T=U(t.placement),C=ee(t.placement),S=!C,n=De(T),E=Rt(n),m=t.modifiersData.popperOffsets,P=t.rects.reference,W=t.rects.popper,N=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,j=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(m){if(s){var k,G=n==="y"?M:R,K=n==="y"?I:B,_=n==="y"?"height":"width",X=m[n],F=X+b[G],ae=X-b[K],se=g?-W[_]/2:0,we=C===me?P[_]:W[_],pe=C===me?-W[_]:-P[_],Oe=t.elements.arrow,ce=g&&Oe?Pe(Oe):{width:0,height:0},te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ze(),ue=te[G],Re=te[K],le=Se(0,P[_],ce[_]),Ne=S?P[_]/2-se-le-ue-j.mainAxis:we-le-ue-j.mainAxis,he=S?-P[_]/2+se+le+Re+j.mainAxis:pe+le+Re+j.mainAxis,Be=t.elements.arrow&&oe(t.elements.arrow),it=Be?n==="y"?Be.clientTop||0:Be.clientLeft||0:0,_e=(k=V==null?void 0:V[n])!=null?k:0,at=X+Ne-_e-it,st=X+he-_e,Xe=Se(g?Ce(F,at):F,X,g?re(ae,st):ae);m[n]=Xe,L[n]=Xe-X}if(c){var Ye,pt=n==="x"?M:R,ft=n==="x"?I:B,de=m[E],be=E==="y"?"height":"width",qe=de+b[pt],Ee=de-b[ft],Ge=[M,R].indexOf(T)!==-1,ct=(Ye=V==null?void 0:V[E])!=null?Ye:0,ut=Ge?qe:de-P[be]-W[be]-ct+j.altAxis,lt=Ge?de+P[be]+W[be]-ct-j.altAxis:Ee,dt=g&&Ge?er(ut,de,lt):Se(g?ut:qe,de,g?lt:Ee);m[E]=dt,L[E]=dt-de}t.modifiersData[o]=L}}var lr={name:"preventOverflow",enabled:!0,phase:"main",fn:To,requiresIfExists:["offset"]};function Nt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Bt(e){return e===D(e)||!H(e)?ke(e):Nt(e)}function Ao(e){var t=e.getBoundingClientRect(),r=ve(t.width)/e.offsetWidth||1,o=ve(t.height)/e.offsetHeight||1;return r!==1||o!==1}function Wt(e,t,r){r===void 0&&(r=!1);var o=H(t),i=H(t)&&Ao(t),s=$(t),f=Z(e,i,r),c={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!r)&&((z(t)!=="body"||Le(s))&&(c=Bt(t)),H(t)?(p=Z(t,!0),p.x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=je(s))),{x:f.left+c.scrollLeft-p.x,y:f.top+c.scrollTop-p.y,width:f.width,height:f.height}}function Co(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function i(s){r.add(s.name);var f=[].concat(s.requires||[],s.requiresIfExists||[]);f.forEach(function(c){if(!r.has(c)){var p=t.get(c);p&&i(p)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||i(s)}),o}function Vt(e){var t=Co(e);return Qt.reduce(function(r,o){return r.concat(t.filter(function(i){return i.phase===o}))},[])}function It(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Ht(e){var t=e.reduce(function(r,o){var i=r[o.name];return r[o.name]=i?Object.assign({},i,o,{options:Object.assign({},i.options,o.options),data:Object.assign({},i.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var dr={placement:"bottom",modifiers:[],strategy:"absolute"};function mr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function vr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,i=t.defaultOptions,s=i===void 0?dr:i;return function(c,p,l){l===void 0&&(l=s);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},dr,s),modifiersData:{},elements:{reference:c,popper:p},attributes:{},styles:{}},y=[],O=!1,g={state:u,setOptions:function(T){var C=typeof T=="function"?T(u.options):T;h(),u.options=Object.assign({},s,u.options,C),u.scrollParents={reference:Q(c)?xe(c):c.contextElement?xe(c.contextElement):[],popper:xe(p)};var S=Vt(Ht([].concat(o,u.options.modifiers)));return u.orderedModifiers=S.filter(function(n){return n.enabled}),x(),g.update()},forceUpdate:function(){if(!O){var T=u.elements,C=T.reference,S=T.popper;if(mr(C,S)){u.rects={reference:Wt(C,oe(S),u.options.strategy==="fixed"),popper:Pe(S)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(j){return u.modifiersData[j.name]=Object.assign({},j.data)});for(var n=0;n<u.orderedModifiers.length;n++){if(u.reset===!0){u.reset=!1,n=-1;continue}var E=u.orderedModifiers[n],m=E.fn,P=E.options,W=P===void 0?{}:P,N=E.name;typeof m=="function"&&(u=m({state:u,options:W,name:N,instance:g})||u)}}}},update:It(function(){return new Promise(function(b){g.forceUpdate(),b(u)})}),destroy:function(){h(),O=!0}};if(!mr(c,p))return g;g.setOptions(l).then(function(b){!O&&l.onFirstUpdate&&l.onFirstUpdate(b)});function x(){u.orderedModifiers.forEach(function(b){var T=b.name,C=b.options,S=C===void 0?{}:C,n=b.effect;if(typeof n=="function"){var E=n({state:u,name:T,instance:g,options:S}),m=function(){};y.push(E||m)}})}function h(){y.forEach(function(b){return b()}),y=[]}return g}}var Po=[nr,ur,or,Ke,cr,ar,lr,tr,fr],zt=vr({defaultModifiers:Po});var Do="tippy-box",Ar="tippy-content",So="tippy-backdrop",Cr="tippy-arrow",Pr="tippy-svg-arrow",Me={passive:!0,capture:!0},Dr=function(){return document.body};function Ut(e,t,r){if(Array.isArray(e)){var o=e[t];return o==null?Array.isArray(r)?r[t]:r:o}return e}function qt(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function Sr(e,t){return typeof e=="function"?e.apply(void 0,t):e}function gr(e,t){if(t===0)return e;var r;return function(o){clearTimeout(r),r=setTimeout(function(){e(o)},t)}}function ko(e){return e.split(/\s+/).filter(Boolean)}function $e(e){return[].concat(e)}function hr(e,t){e.indexOf(t)===-1&&e.push(t)}function jo(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Lo(e){return e.split("-")[0]}function Et(e){return[].slice.call(e)}function br(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function ot(){return document.createElement("div")}function Tt(e){return["Element","Fragment"].some(function(t){return qt(e,t)})}function Mo(e){return qt(e,"NodeList")}function Ro(e){return qt(e,"MouseEvent")}function No(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Bo(e){return Tt(e)?[e]:Mo(e)?Et(e):Array.isArray(e)?e:Et(document.querySelectorAll(e))}function Ft(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function yr(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Wo(e){var t,r=$e(e),o=r[0];return o!=null&&(t=o.ownerDocument)!=null&&t.body?o.ownerDocument:document}function Vo(e,t){var r=t.clientX,o=t.clientY;return e.every(function(i){var s=i.popperRect,f=i.popperState,c=i.props,p=c.interactiveBorder,l=Lo(f.placement),u=f.modifiersData.offset;if(!u)return!0;var y=l==="bottom"?u.top.y:0,O=l==="top"?u.bottom.y:0,g=l==="right"?u.left.x:0,x=l==="left"?u.right.x:0,h=s.top-o+y>p,b=o-s.bottom-O>p,T=s.left-r+g>p,C=r-s.right-x>p;return h||b||T||C})}function $t(e,t,r){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[o](i,r)})}function xr(e,t){for(var r=t;r;){var o;if(e.contains(r))return!0;r=r.getRootNode==null||(o=r.getRootNode())==null?void 0:o.host}return!1}var fe={isTouch:!1},wr=0;function Io(){fe.isTouch||(fe.isTouch=!0,window.performance&&document.addEventListener("mousemove",kr))}function kr(){var e=performance.now();e-wr<20&&(fe.isTouch=!1,document.removeEventListener("mousemove",kr)),wr=e}function Ho(){var e=document.activeElement;if(No(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function zo(){document.addEventListener("touchstart",Io,Me),window.addEventListener("blur",Ho)}var Uo=typeof window!="undefined"&&typeof document!="undefined",Fo=Uo?!!window.msCrypto:!1;var $o={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},_o={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},ie=Object.assign({appendTo:Dr,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},$o,_o),Xo=Object.keys(ie),Yo=function(t){var r=Object.keys(t);r.forEach(function(o){ie[o]=t[o]})};function jr(e){var t=e.plugins||[],r=t.reduce(function(o,i){var s=i.name,f=i.defaultValue;if(s){var c;o[s]=e[s]!==void 0?e[s]:(c=ie[s])!=null?c:f}return o},{});return Object.assign({},e,r)}function qo(e,t){var r=t?Object.keys(jr(Object.assign({},ie,{plugins:t}))):Xo,o=r.reduce(function(i,s){var f=(e.getAttribute("data-tippy-"+s)||"").trim();if(!f)return i;if(s==="content")i[s]=f;else try{i[s]=JSON.parse(f)}catch(c){i[s]=f}return i},{});return o}function Or(e,t){var r=Object.assign({},t,{content:Sr(t.content,[e])},t.ignoreAttributes?{}:qo(e,t.plugins));return r.aria=Object.assign({},ie.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var Go=function(){return"innerHTML"};function Xt(e,t){e[Go()]=t}function Er(e){var t=ot();return e===!0?t.className=Cr:(t.className=Pr,Tt(e)?t.appendChild(e):Xt(t,e)),t}function Tr(e,t){Tt(t.content)?(Xt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Xt(e,t.content):e.textContent=t.content)}function Yt(e){var t=e.firstElementChild,r=Et(t.children);return{box:t,content:r.find(function(o){return o.classList.contains(Ar)}),arrow:r.find(function(o){return o.classList.contains(Cr)||o.classList.contains(Pr)}),backdrop:r.find(function(o){return o.classList.contains(So)})}}function Lr(e){var t=ot(),r=ot();r.className=Do,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var o=ot();o.className=Ar,o.setAttribute("data-state","hidden"),Tr(o,e.props),t.appendChild(r),r.appendChild(o),i(e.props,e.props);function i(s,f){var c=Yt(t),p=c.box,l=c.content,u=c.arrow;f.theme?p.setAttribute("data-theme",f.theme):p.removeAttribute("data-theme"),typeof f.animation=="string"?p.setAttribute("data-animation",f.animation):p.removeAttribute("data-animation"),f.inertia?p.setAttribute("data-inertia",""):p.removeAttribute("data-inertia"),p.style.maxWidth=typeof f.maxWidth=="number"?f.maxWidth+"px":f.maxWidth,f.role?p.setAttribute("role",f.role):p.removeAttribute("role"),(s.content!==f.content||s.allowHTML!==f.allowHTML)&&Tr(l,e.props),f.arrow?u?s.arrow!==f.arrow&&(p.removeChild(u),p.appendChild(Er(f.arrow))):p.appendChild(Er(f.arrow)):u&&p.removeChild(u)}return{popper:t,onUpdate:i}}Lr.$$tippy=!0;var Ko=1,Ot=[],_t=[];function Jo(e,t){var r=Or(e,Object.assign({},ie,jr(br(t)))),o,i,s,f=!1,c=!1,p=!1,l=!1,u,y,O,g=[],x=gr(at,r.interactiveDebounce),h,b=Ko++,T=null,C=jo(r.plugins),S={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},n={id:b,reference:e,popper:ot(),popperInstance:T,props:r,state:S,plugins:C,clearDelayTimeouts:ut,setProps:lt,setContent:dt,show:Hr,hide:zr,hideWithInteractivity:Ur,enable:Ge,disable:ct,unmount:Fr,destroy:$r};if(!r.render)return n;var E=r.render(n),m=E.popper,P=E.onUpdate;m.setAttribute("data-tippy-root",""),m.id="tippy-"+n.id,n.popper=m,e._tippy=n,m._tippy=n;var W=C.map(function(a){return a.fn(n)}),N=e.hasAttribute("aria-expanded");return Be(),se(),X(),F("onCreate",[n]),r.showOnCreate&&qe(),m.addEventListener("mouseenter",function(){n.props.interactive&&n.state.isVisible&&n.clearDelayTimeouts()}),m.addEventListener("mouseleave",function(){n.props.interactive&&n.props.trigger.indexOf("mouseenter")>=0&&G().addEventListener("mousemove",x)}),n;function j(){var a=n.props.touch;return Array.isArray(a)?a:[a,0]}function V(){return j()[0]==="hold"}function L(){var a;return!!((a=n.props.render)!=null&&a.$$tippy)}function k(){return h||e}function G(){var a=k().parentNode;return a?Wo(a):document}function K(){return Yt(m)}function _(a){return n.state.isMounted&&!n.state.isVisible||fe.isTouch||u&&u.type==="focus"?0:Ut(n.props.delay,a?0:1,ie.delay)}function X(a){a===void 0&&(a=!1),m.style.pointerEvents=n.props.interactive&&!a?"":"none",m.style.zIndex=""+n.props.zIndex}function F(a,d,v){if(v===void 0&&(v=!0),W.forEach(function(w){w[a]&&w[a].apply(w,d)}),v){var A;(A=n.props)[a].apply(A,d)}}function ae(){var a=n.props.aria;if(a.content){var d="aria-"+a.content,v=m.id,A=$e(n.props.triggerTarget||e);A.forEach(function(w){var Y=w.getAttribute(d);if(n.state.isVisible)w.setAttribute(d,Y?Y+" "+v:v);else{var J=Y&&Y.replace(v,"").trim();J?w.setAttribute(d,J):w.removeAttribute(d)}})}}function se(){if(!(N||!n.props.aria.expanded)){var a=$e(n.props.triggerTarget||e);a.forEach(function(d){n.props.interactive?d.setAttribute("aria-expanded",n.state.isVisible&&d===k()?"true":"false"):d.removeAttribute("aria-expanded")})}}function we(){G().removeEventListener("mousemove",x),Ot=Ot.filter(function(a){return a!==x})}function pe(a){if(!(fe.isTouch&&(p||a.type==="mousedown"))){var d=a.composedPath&&a.composedPath()[0]||a.target;if(!(n.props.interactive&&xr(m,d))){if($e(n.props.triggerTarget||e).some(function(v){return xr(v,d)})){if(fe.isTouch||n.state.isVisible&&n.props.trigger.indexOf("click")>=0)return}else F("onClickOutside",[n,a]);n.props.hideOnClick===!0&&(n.clearDelayTimeouts(),n.hide(),c=!0,setTimeout(function(){c=!1}),n.state.isMounted||ue())}}}function Oe(){p=!0}function ce(){p=!1}function te(){var a=G();a.addEventListener("mousedown",pe,!0),a.addEventListener("touchend",pe,Me),a.addEventListener("touchstart",ce,Me),a.addEventListener("touchmove",Oe,Me)}function ue(){var a=G();a.removeEventListener("mousedown",pe,!0),a.removeEventListener("touchend",pe,Me),a.removeEventListener("touchstart",ce,Me),a.removeEventListener("touchmove",Oe,Me)}function Re(a,d){Ne(a,function(){!n.state.isVisible&&m.parentNode&&m.parentNode.contains(m)&&d()})}function le(a,d){Ne(a,d)}function Ne(a,d){var v=K().box;function A(w){w.target===v&&($t(v,"remove",A),d())}if(a===0)return d();$t(v,"remove",y),$t(v,"add",A),y=A}function he(a,d,v){v===void 0&&(v=!1);var A=$e(n.props.triggerTarget||e);A.forEach(function(w){w.addEventListener(a,d,v),g.push({node:w,eventType:a,handler:d,options:v})})}function Be(){V()&&(he("touchstart",_e,{passive:!0}),he("touchend",st,{passive:!0})),ko(n.props.trigger).forEach(function(a){if(a!=="manual")switch(he(a,_e),a){case"mouseenter":he("mouseleave",st);break;case"focus":he(Fo?"focusout":"blur",Xe);break;case"focusin":he("focusout",Xe);break}})}function it(){g.forEach(function(a){var d=a.node,v=a.eventType,A=a.handler,w=a.options;d.removeEventListener(v,A,w)}),g=[]}function _e(a){var d,v=!1;if(!(!n.state.isEnabled||Ye(a)||c)){var A=((d=u)==null?void 0:d.type)==="focus";u=a,h=a.currentTarget,se(),!n.state.isVisible&&Ro(a)&&Ot.forEach(function(w){return w(a)}),a.type==="click"&&(n.props.trigger.indexOf("mouseenter")<0||f)&&n.props.hideOnClick!==!1&&n.state.isVisible?v=!0:qe(a),a.type==="click"&&(f=!v),v&&!A&&Ee(a)}}function at(a){var d=a.target,v=k().contains(d)||m.contains(d);if(!(a.type==="mousemove"&&v)){var A=be().concat(m).map(function(w){var Y,J=w._tippy,We=(Y=J.popperInstance)==null?void 0:Y.state;return We?{popperRect:w.getBoundingClientRect(),popperState:We,props:r}:null}).filter(Boolean);Vo(A,a)&&(we(),Ee(a))}}function st(a){var d=Ye(a)||n.props.trigger.indexOf("click")>=0&&f;if(!d){if(n.props.interactive){n.hideWithInteractivity(a);return}Ee(a)}}function Xe(a){n.props.trigger.indexOf("focusin")<0&&a.target!==k()||n.props.interactive&&a.relatedTarget&&m.contains(a.relatedTarget)||Ee(a)}function Ye(a){return fe.isTouch?V()!==a.type.indexOf("touch")>=0:!1}function pt(){ft();var a=n.props,d=a.popperOptions,v=a.placement,A=a.offset,w=a.getReferenceClientRect,Y=a.moveTransition,J=L()?Yt(m).arrow:null,We=w?{getBoundingClientRect:w,contextElement:w.contextElement||k()}:e,Gt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(mt){var Ve=mt.state;if(L()){var _r=K(),Pt=_r.box;["placement","reference-hidden","escaped"].forEach(function(vt){vt==="placement"?Pt.setAttribute("data-placement",Ve.placement):Ve.attributes.popper["data-popper-"+vt]?Pt.setAttribute("data-"+vt,""):Pt.removeAttribute("data-"+vt)}),Ve.attributes.popper={}}}},Te=[{name:"offset",options:{offset:A}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Y}},Gt];L()&&J&&Te.push({name:"arrow",options:{element:J,padding:3}}),Te.push.apply(Te,(d==null?void 0:d.modifiers)||[]),n.popperInstance=zt(We,m,Object.assign({},d,{placement:v,onFirstUpdate:O,modifiers:Te}))}function ft(){n.popperInstance&&(n.popperInstance.destroy(),n.popperInstance=null)}function de(){var a=n.props.appendTo,d,v=k();n.props.interactive&&a===Dr||a==="parent"?d=v.parentNode:d=Sr(a,[v]),d.contains(m)||d.appendChild(m),n.state.isMounted=!0,pt()}function be(){return Et(m.querySelectorAll("[data-tippy-root]"))}function qe(a){n.clearDelayTimeouts(),a&&F("onTrigger",[n,a]),te();var d=_(!0),v=j(),A=v[0],w=v[1];fe.isTouch&&A==="hold"&&w&&(d=w),d?o=setTimeout(function(){n.show()},d):n.show()}function Ee(a){if(n.clearDelayTimeouts(),F("onUntrigger",[n,a]),!n.state.isVisible){ue();return}if(!(n.props.trigger.indexOf("mouseenter")>=0&&n.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(a.type)>=0&&f)){var d=_(!1);d?i=setTimeout(function(){n.state.isVisible&&n.hide()},d):s=requestAnimationFrame(function(){n.hide()})}}function Ge(){n.state.isEnabled=!0}function ct(){n.hide(),n.state.isEnabled=!1}function ut(){clearTimeout(o),clearTimeout(i),cancelAnimationFrame(s)}function lt(a){if(!n.state.isDestroyed){F("onBeforeUpdate",[n,a]),it();var d=n.props,v=Or(e,Object.assign({},d,br(a),{ignoreAttributes:!0}));n.props=v,Be(),d.interactiveDebounce!==v.interactiveDebounce&&(we(),x=gr(at,v.interactiveDebounce)),d.triggerTarget&&!v.triggerTarget?$e(d.triggerTarget).forEach(function(A){A.removeAttribute("aria-expanded")}):v.triggerTarget&&e.removeAttribute("aria-expanded"),se(),X(),P&&P(d,v),n.popperInstance&&(pt(),be().forEach(function(A){requestAnimationFrame(A._tippy.popperInstance.forceUpdate)})),F("onAfterUpdate",[n,a])}}function dt(a){n.setProps({content:a})}function Hr(){var a=n.state.isVisible,d=n.state.isDestroyed,v=!n.state.isEnabled,A=fe.isTouch&&!n.props.touch,w=Ut(n.props.duration,0,ie.duration);if(!(a||d||v||A)&&!k().hasAttribute("disabled")&&(F("onShow",[n],!1),n.props.onShow(n)!==!1)){if(n.state.isVisible=!0,L()&&(m.style.visibility="visible"),X(),te(),n.state.isMounted||(m.style.transition="none"),L()){var Y=K(),J=Y.box,We=Y.content;Ft([J,We],0)}O=function(){var Te;if(!(!n.state.isVisible||l)){if(l=!0,m.offsetHeight,m.style.transition=n.props.moveTransition,L()&&n.props.animation){var Ct=K(),mt=Ct.box,Ve=Ct.content;Ft([mt,Ve],w),yr([mt,Ve],"visible")}ae(),se(),hr(_t,n),(Te=n.popperInstance)==null||Te.forceUpdate(),F("onMount",[n]),n.props.animation&&L()&&le(w,function(){n.state.isShown=!0,F("onShown",[n])})}},de()}}function zr(){var a=!n.state.isVisible,d=n.state.isDestroyed,v=!n.state.isEnabled,A=Ut(n.props.duration,1,ie.duration);if(!(a||d||v)&&(F("onHide",[n],!1),n.props.onHide(n)!==!1)){if(n.state.isVisible=!1,n.state.isShown=!1,l=!1,f=!1,L()&&(m.style.visibility="hidden"),we(),ue(),X(!0),L()){var w=K(),Y=w.box,J=w.content;n.props.animation&&(Ft([Y,J],A),yr([Y,J],"hidden"))}ae(),se(),n.props.animation?L()&&Re(A,n.unmount):n.unmount()}}function Ur(a){G().addEventListener("mousemove",x),hr(Ot,x),x(a)}function Fr(){n.state.isVisible&&n.hide(),n.state.isMounted&&(ft(),be().forEach(function(a){a._tippy.unmount()}),m.parentNode&&m.parentNode.removeChild(m),_t=_t.filter(function(a){return a!==n}),n.state.isMounted=!1,F("onHidden",[n]))}function $r(){n.state.isDestroyed||(n.clearDelayTimeouts(),n.unmount(),it(),delete e._tippy,n.state.isDestroyed=!0,F("onDestroy",[n]))}}function nt(e,t){t===void 0&&(t={});var r=ie.plugins.concat(t.plugins||[]);zo();var o=Object.assign({},t,{plugins:r}),i=Bo(e);if(0)var s,f;var c=i.reduce(function(p,l){var u=l&&Jo(l,o);return u&&p.push(u),p},[]);return Tt(e)?c[0]:c}nt.defaultProps=ie;nt.setDefaultProps=Yo;nt.currentInput=fe;var Zs=Object.assign({},Ke,{effect:function(t){var r=t.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow)}});nt.setDefaultProps({render:Lr});var Mr=nt;var Rr="data-js-hook";var Nr="state_";function Br(e,t){if(!e)return!1;let r=e.getAttribute(Rr);return r?(r=r.split(" "),r.indexOf(t)>-1):!1}var Qo=Nr+"atomic_init";function Wr(e,t,r,o={}){let s=(r||document).querySelectorAll(e),f=[],c,p;for(let l=0,u=s.length;l<u;l++)p=s[l],Br(p,Qo)===!1&&(c=new t(p),c.init(o),f.push(c));return f}var Vr={};Yr(Vr,{default:()=>en});var en={};var Ir="data-tooltip";function At(e){let t=e.getAttribute(Ir);function r(){return this.tooltip=Mr(e,{theme:"cfpb",maxWidth:450,content:function(o){let i=o.parentElement.querySelector(`#${t}`),s=document.createElement("div"),f=document.importNode(i.content,!0);return s.appendChild(f),s},plugins:[{name:"hideOnEsc",defaultValue:!0,fn({hide:o}){function i(s){s.key==="Escape"&&o()}return{onShow(){document.body.addEventListener("keydown",i)},onHide(){document.body.removeEventListener("keydown",i)}}}}]})}return this.init=r,this.tooltip=null,this}At.BASE_ATTRIBUTE=Ir;At.init=e=>Wr(`[${At.BASE_ATTRIBUTE}]`,At,e);})();
|
|
2
2
|
//# sourceMappingURL=index.js.map
|