@cfpb/cfpb-design-system 3.12.0 → 3.13.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 +29 -1
- package/dist/base/index.css +1 -1
- package/dist/base/index.css.map +2 -2
- package/dist/base/index.js +1 -1
- package/dist/base/index.js.map +1 -1
- 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 -2
- package/dist/components/cfpb-expandables/index.css.map +3 -3
- package/dist/components/cfpb-expandables/index.js +1 -1
- package/dist/components/cfpb-expandables/index.js.map +4 -4
- package/dist/components/cfpb-forms/index.css +1 -2
- package/dist/components/cfpb-forms/index.css.map +3 -3
- package/dist/components/cfpb-forms/index.js +1 -1
- package/dist/components/cfpb-forms/index.js.map +4 -4
- 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 +1 -1
- package/dist/components/cfpb-tables/index.js.map +1 -1
- package/dist/components/cfpb-tooltips/index.css +1 -2
- package/dist/components/cfpb-tooltips/index.css.map +3 -3
- package/dist/components/cfpb-tooltips/index.js +1 -1
- package/dist/components/cfpb-tooltips/index.js.map +4 -4
- 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/cfpb-button/index.js +30 -0
- package/dist/elements/cfpb-button/index.js.map +7 -0
- package/dist/elements/cfpb-file-upload/index.js +39 -0
- package/dist/elements/cfpb-file-upload/index.js.map +7 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +2 -2
- package/dist/index.js +39 -1
- package/dist/index.js.map +4 -4
- package/dist/utilities/index.css +1 -2
- package/dist/utilities/index.css.map +3 -3
- package/dist/utilities/index.js +1 -1
- package/dist/utilities/index.js.map +4 -4
- package/package.json +1 -1
- package/src/components/cfpb-forms/tag.scss +2 -1
- package/src/components/cfpb-tooltips/index.js +1 -1
- package/src/elements/cfpb-button/cfpb-button.component.scss +8 -0
- package/src/elements/cfpb-button/index.js +53 -0
- package/src/elements/cfpb-file-upload/cfpb-file-upload.component.scss +14 -0
- package/src/elements/cfpb-file-upload/index.js +81 -0
- package/src/index.js +3 -0
- package/src/utilities/behavior/behavior.js +2 -1
- package/src/utilities/behavior/flyout-menu.js +4 -7
- package/src/utilities/transition/alpha-transition.js +2 -1
- package/src/utilities/transition/max-height-transition.js +2 -1
- package/src/utilities/transition/move-transition.js +2 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var ga=Object.defineProperty;var ma=Object.getOwnPropertySymbols;var ko=Object.prototype.hasOwnProperty,So=Object.prototype.propertyIsEnumerable;var ba=(e,t,r)=>t in e?ga(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nr=(e,t)=>{for(var r in t||(t={}))ko.call(t,r)&&ba(e,r,t[r]);if(ma)for(var r of ma(t))So.call(t,r)&&ba(e,r,t[r]);return e};var j=(e,t)=>{for(var r in t)ga(e,r,{get:t[r],enumerable:!0})};var $="top",J="bottom",K="right",G="left",Nt="auto",Me=[$,J,K,G],Oe="start",Ve="end",va="clippingParents",zt="viewport",et="popper",ya="reference",lr=Me.reduce(function(e,t){return e.concat([t+"-"+Oe,t+"-"+Ve])},[]),Pt=[].concat(Me,[Nt]).reduce(function(e,t){return e.concat([t,t+"-"+Oe,t+"-"+Ve])},[]),Eo="beforeRead",Do="read",Oo="afterRead",Lo="beforeMain",Ao="main",To="afterMain",jo="beforeWrite",Co="write",Mo="afterWrite",xa=[Eo,Do,Oo,Lo,Ao,To,jo,Co,Mo];function ee(e){return e?(e.nodeName||"").toLowerCase():null}function H(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pe(e){var t=H(e).Element;return e instanceof t||e instanceof Element}function Z(e){var t=H(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tt(e){if(typeof ShadowRoot=="undefined")return!1;var t=H(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Bo(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var a=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!Z(i)||!ee(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){var d=o[l];d===!1?i.removeAttribute(l):i.setAttribute(l,d===!0?"":d)}))})}function Io(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(a){var o=t.elements[a],i=t.attributes[a]||{},l=Object.keys(t.styles.hasOwnProperty(a)?t.styles[a]:r[a]),d=l.reduce(function(s,p){return s[p]="",s},{});!Z(o)||!ee(o)||(Object.assign(o.style,d),Object.keys(i).forEach(function(s){o.removeAttribute(s)}))})}}var ft={name:"applyStyles",enabled:!0,phase:"write",fn:Bo,effect:Io,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var ge=Math.max,qe=Math.min,Le=Math.round;function rt(){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 ht(){return!/^((?!chrome|android).)*safari/i.test(rt())}function fe(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var a=e.getBoundingClientRect(),o=1,i=1;t&&Z(e)&&(o=e.offsetWidth>0&&Le(a.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Le(a.height)/e.offsetHeight||1);var l=pe(e)?H(e):window,d=l.visualViewport,s=!ht()&&r,p=(a.left+(s&&d?d.offsetLeft:0))/o,c=(a.top+(s&&d?d.offsetTop:0))/i,v=a.width/o,y=a.height/i;return{width:v,height:y,top:c,right:p+v,bottom:c+y,left:p,x:p,y:c}}function He(e){var t=fe(e),r=e.offsetWidth,a=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-a)<=1&&(a=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:a}}function mt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&tt(r)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function le(e){return H(e).getComputedStyle(e)}function sr(e){return["table","td","th"].indexOf(ee(e))>=0}function oe(e){return((pe(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ae(e){return ee(e)==="html"?e:e.assignedSlot||e.parentNode||(tt(e)?e.host:null)||oe(e)}function wa(e){return!Z(e)||le(e).position==="fixed"?null:e.offsetParent}function No(e){var t=/firefox/i.test(rt()),r=/Trident/i.test(rt());if(r&&Z(e)){var a=le(e);if(a.position==="fixed")return null}var o=Ae(e);for(tt(o)&&(o=o.host);Z(o)&&["html","body"].indexOf(ee(o))<0;){var i=le(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function ve(e){for(var t=H(e),r=wa(e);r&&sr(r)&&le(r).position==="static";)r=wa(r);return r&&(ee(r)==="html"||ee(r)==="body"&&le(r).position==="static")?t:r||No(e)||t}function $e(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Fe(e,t,r){return ge(e,qe(t,r))}function _a(e,t,r){var a=Fe(e,t,r);return a>r?r:a}function bt(){return{top:0,right:0,bottom:0,left:0}}function gt(e){return Object.assign({},bt(),e)}function vt(e,t){return t.reduce(function(r,a){return r[a]=e,r},{})}var zo=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,gt(typeof t!="number"?t:vt(t,Me))};function Po(e){var t,r=e.state,a=e.name,o=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,d=te(r.placement),s=$e(d),p=[G,K].indexOf(d)>=0,c=p?"height":"width";if(!(!i||!l)){var v=zo(o.padding,r),y=He(i),m=s==="y"?$:G,E=s==="y"?J:K,_=r.rects.reference[c]+r.rects.reference[s]-l[s]-r.rects.popper[c],k=l[s]-r.rects.reference[s],L=ve(i),T=L?s==="y"?L.clientHeight||0:L.clientWidth||0:0,B=_/2-k/2,n=v[m],g=T-y[c]-v[E],h=T/2-y[c]/2+B,A=Fe(n,h,g),S=s;r.modifiersData[a]=(t={},t[S]=A,t.centerOffset=A-h,t)}}function Ro(e){var t=e.state,r=e.options,a=r.element,o=a===void 0?"[data-popper-arrow]":a;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||mt(t.elements.popper,o)&&(t.elements.arrow=o))}var ka={name:"arrow",enabled:!0,phase:"main",fn:Po,effect:Ro,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(e){return e.split("-")[1]}var Vo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qo(e,t){var r=e.x,a=e.y,o=t.devicePixelRatio||1;return{x:Le(r*o)/o||0,y:Le(a*o)/o||0}}function Sa(e){var t,r=e.popper,a=e.popperRect,o=e.placement,i=e.variation,l=e.offsets,d=e.position,s=e.gpuAcceleration,p=e.adaptive,c=e.roundOffsets,v=e.isFixed,y=l.x,m=y===void 0?0:y,E=l.y,_=E===void 0?0:E,k=typeof c=="function"?c({x:m,y:_}):{x:m,y:_};m=k.x,_=k.y;var L=l.hasOwnProperty("x"),T=l.hasOwnProperty("y"),B=G,n=$,g=window;if(p){var h=ve(r),A="clientHeight",S="clientWidth";if(h===H(r)&&(h=oe(r),le(h).position!=="static"&&d==="absolute"&&(A="scrollHeight",S="scrollWidth")),h=h,o===$||(o===G||o===K)&&i===Ve){n=J;var C=v&&h===g&&g.visualViewport?g.visualViewport.height:h[A];_-=C-a.height,_*=s?1:-1}if(o===G||(o===$||o===J)&&i===Ve){B=K;var M=v&&h===g&&g.visualViewport?g.visualViewport.width:h[S];m-=M-a.width,m*=s?1:-1}}var z=Object.assign({position:d},p&&Vo),P=c===!0?qo({x:m,y:_},H(r)):{x:m,y:_};if(m=P.x,_=P.y,s){var V;return Object.assign({},z,(V={},V[n]=T?"0":"",V[B]=L?"0":"",V.transform=(g.devicePixelRatio||1)<=1?"translate("+m+"px, "+_+"px)":"translate3d("+m+"px, "+_+"px, 0)",V))}return Object.assign({},z,(t={},t[n]=T?_+"px":"",t[B]=L?m+"px":"",t.transform="",t))}function Ho(e){var t=e.state,r=e.options,a=r.gpuAcceleration,o=a===void 0?!0:a,i=r.adaptive,l=i===void 0?!0:i,d=r.roundOffsets,s=d===void 0?!0:d,p={placement:te(t.placement),variation:he(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Sa(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Sa(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ea={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ho,data:{}};var Rt={passive:!0};function $o(e){var t=e.state,r=e.instance,a=e.options,o=a.scroll,i=o===void 0?!0:o,l=a.resize,d=l===void 0?!0:l,s=H(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&p.forEach(function(c){c.addEventListener("scroll",r.update,Rt)}),d&&s.addEventListener("resize",r.update,Rt),function(){i&&p.forEach(function(c){c.removeEventListener("scroll",r.update,Rt)}),d&&s.removeEventListener("resize",r.update,Rt)}}var Da={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$o,data:{}};var Fo={left:"right",right:"left",bottom:"top",top:"bottom"};function at(e){return e.replace(/left|right|bottom|top/g,function(t){return Fo[t]})}var Uo={start:"end",end:"start"};function Vt(e){return e.replace(/start|end/g,function(t){return Uo[t]})}function Ue(e){var t=H(e),r=t.pageXOffset,a=t.pageYOffset;return{scrollLeft:r,scrollTop:a}}function We(e){return fe(oe(e)).left+Ue(e).scrollLeft}function dr(e,t){var r=H(e),a=oe(e),o=r.visualViewport,i=a.clientWidth,l=a.clientHeight,d=0,s=0;if(o){i=o.width,l=o.height;var p=ht();(p||!p&&t==="fixed")&&(d=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:d+We(e),y:s}}function cr(e){var t,r=oe(e),a=Ue(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=ge(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=ge(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-a.scrollLeft+We(e),s=-a.scrollTop;return le(o||r).direction==="rtl"&&(d+=ge(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:l,x:d,y:s}}function Ge(e){var t=le(e),r=t.overflow,a=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+a)}function qt(e){return["html","body","#document"].indexOf(ee(e))>=0?e.ownerDocument.body:Z(e)&&Ge(e)?e:qt(Ae(e))}function Be(e,t){var r;t===void 0&&(t=[]);var a=qt(e),o=a===((r=e.ownerDocument)==null?void 0:r.body),i=H(a),l=o?[i].concat(i.visualViewport||[],Ge(a)?a:[]):a,d=t.concat(l);return o?d:d.concat(Be(Ae(l)))}function ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Wo(e,t){var r=fe(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 Oa(e,t,r){return t===zt?ot(dr(e,r)):pe(t)?Wo(t,r):ot(cr(oe(e)))}function Go(e){var t=Be(Ae(e)),r=["absolute","fixed"].indexOf(le(e).position)>=0,a=r&&Z(e)?ve(e):e;return pe(a)?t.filter(function(o){return pe(o)&&mt(o,a)&&ee(o)!=="body"}):[]}function ur(e,t,r,a){var o=t==="clippingParents"?Go(e):[].concat(t),i=[].concat(o,[r]),l=i[0],d=i.reduce(function(s,p){var c=Oa(e,p,a);return s.top=ge(c.top,s.top),s.right=qe(c.right,s.right),s.bottom=qe(c.bottom,s.bottom),s.left=ge(c.left,s.left),s},Oa(e,l,a));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function yt(e){var t=e.reference,r=e.element,a=e.placement,o=a?te(a):null,i=a?he(a):null,l=t.x+t.width/2-r.width/2,d=t.y+t.height/2-r.height/2,s;switch(o){case $:s={x:l,y:t.y-r.height};break;case J:s={x:l,y:t.y+t.height};break;case K:s={x:t.x+t.width,y:d};break;case G:s={x:t.x-r.width,y:d};break;default:s={x:t.x,y:t.y}}var p=o?$e(o):null;if(p!=null){var c=p==="y"?"height":"width";switch(i){case Oe:s[p]=s[p]-(t[c]/2-r[c]/2);break;case Ve:s[p]=s[p]+(t[c]/2-r[c]/2);break;default:}}return s}function ye(e,t){t===void 0&&(t={});var r=t,a=r.placement,o=a===void 0?e.placement:a,i=r.strategy,l=i===void 0?e.strategy:i,d=r.boundary,s=d===void 0?va:d,p=r.rootBoundary,c=p===void 0?zt:p,v=r.elementContext,y=v===void 0?et:v,m=r.altBoundary,E=m===void 0?!1:m,_=r.padding,k=_===void 0?0:_,L=gt(typeof k!="number"?k:vt(k,Me)),T=y===et?ya:et,B=e.rects.popper,n=e.elements[E?T:y],g=ur(pe(n)?n:n.contextElement||oe(e.elements.popper),s,c,l),h=fe(e.elements.reference),A=yt({reference:h,element:B,strategy:"absolute",placement:o}),S=ot(Object.assign({},B,A)),C=y===et?S:h,M={top:g.top-C.top+L.top,bottom:C.bottom-g.bottom+L.bottom,left:g.left-C.left+L.left,right:C.right-g.right+L.right},z=e.modifiersData.offset;if(y===et&&z){var P=z[o];Object.keys(M).forEach(function(V){var re=[K,J].indexOf(V)>=0?1:-1,ae=[$,J].indexOf(V)>=0?"y":"x";M[V]+=P[ae]*re})}return M}function pr(e,t){t===void 0&&(t={});var r=t,a=r.placement,o=r.boundary,i=r.rootBoundary,l=r.padding,d=r.flipVariations,s=r.allowedAutoPlacements,p=s===void 0?Pt:s,c=he(a),v=c?d?lr:lr.filter(function(E){return he(E)===c}):Me,y=v.filter(function(E){return p.indexOf(E)>=0});y.length===0&&(y=v);var m=y.reduce(function(E,_){return E[_]=ye(e,{placement:_,boundary:o,rootBoundary:i,padding:l})[te(_)],E},{});return Object.keys(m).sort(function(E,_){return m[E]-m[_]})}function Xo(e){if(te(e)===Nt)return[];var t=at(e);return[Vt(e),t,Vt(t)]}function Yo(e){var t=e.state,r=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,l=r.altAxis,d=l===void 0?!0:l,s=r.fallbackPlacements,p=r.padding,c=r.boundary,v=r.rootBoundary,y=r.altBoundary,m=r.flipVariations,E=m===void 0?!0:m,_=r.allowedAutoPlacements,k=t.options.placement,L=te(k),T=L===k,B=s||(T||!E?[at(k)]:Xo(k)),n=[k].concat(B).reduce(function(N,W){return N.concat(te(W)===Nt?pr(t,{placement:W,boundary:c,rootBoundary:v,padding:p,flipVariations:E,allowedAutoPlacements:_}):W)},[]),g=t.rects.reference,h=t.rects.popper,A=new Map,S=!0,C=n[0],M=0;M<n.length;M++){var z=n[M],P=te(z),V=he(z)===Oe,re=[$,J].indexOf(P)>=0,ae=re?"width":"height",F=ye(t,{placement:z,boundary:c,rootBoundary:v,altBoundary:y,padding:p}),X=re?V?K:G:V?J:$;g[ae]>h[ae]&&(X=at(X));var U=at(X),Q=[];if(i&&Q.push(F[P]<=0),d&&Q.push(F[X]<=0,F[U]<=0),Q.every(function(N){return N})){C=z,S=!1;break}A.set(z,Q)}if(S)for(var f=E?3:1,b=function(W){var Y=n.find(function(Te){var Ee=A.get(Te);if(Ee)return Ee.slice(0,W).every(function(Ke){return Ke})});if(Y)return C=Y,"break"},x=f;x>0;x--){var D=b(x);if(D==="break")break}t.placement!==C&&(t.modifiersData[a]._skip=!0,t.placement=C,t.reset=!0)}}var La={name:"flip",enabled:!0,phase:"main",fn:Yo,requiresIfExists:["offset"],data:{_skip:!1}};function Aa(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 Ta(e){return[$,K,J,G].some(function(t){return e[t]>=0})}function Ko(e){var t=e.state,r=e.name,a=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,l=ye(t,{elementContext:"reference"}),d=ye(t,{altBoundary:!0}),s=Aa(l,a),p=Aa(d,o,i),c=Ta(s),v=Ta(p);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:p,isReferenceHidden:c,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}var ja={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ko};function Jo(e,t,r){var a=te(e),o=[G,$].indexOf(a)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=i[0],d=i[1];return l=l||0,d=(d||0)*o,[G,K].indexOf(a)>=0?{x:d,y:l}:{x:l,y:d}}function Zo(e){var t=e.state,r=e.options,a=e.name,o=r.offset,i=o===void 0?[0,0]:o,l=Pt.reduce(function(c,v){return c[v]=Jo(v,t.rects,i),c},{}),d=l[t.placement],s=d.x,p=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=p),t.modifiersData[a]=l}var Ca={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Zo};function Qo(e){var t=e.state,r=e.name;t.modifiersData[r]=yt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ma={name:"popperOffsets",enabled:!0,phase:"read",fn:Qo,data:{}};function fr(e){return e==="x"?"y":"x"}function ei(e){var t=e.state,r=e.options,a=e.name,o=r.mainAxis,i=o===void 0?!0:o,l=r.altAxis,d=l===void 0?!1:l,s=r.boundary,p=r.rootBoundary,c=r.altBoundary,v=r.padding,y=r.tether,m=y===void 0?!0:y,E=r.tetherOffset,_=E===void 0?0:E,k=ye(t,{boundary:s,rootBoundary:p,padding:v,altBoundary:c}),L=te(t.placement),T=he(t.placement),B=!T,n=$e(L),g=fr(n),h=t.modifiersData.popperOffsets,A=t.rects.reference,S=t.rects.popper,C=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,M=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(h){if(i){var V,re=n==="y"?$:G,ae=n==="y"?J:K,F=n==="y"?"height":"width",X=h[n],U=X+k[re],Q=X-k[ae],f=m?-S[F]/2:0,b=T===Oe?A[F]:S[F],x=T===Oe?-S[F]:-A[F],D=t.elements.arrow,N=m&&D?He(D):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:bt(),Y=W[re],Te=W[ae],Ee=Fe(0,A[F],N[F]),Ke=B?A[F]/2-f-Ee-Y-M.mainAxis:b-Ee-Y-M.mainAxis,je=B?-A[F]/2+f+Ee+Te+M.mainAxis:x+Ee+Te+M.mainAxis,Je=t.elements.arrow&&ve(t.elements.arrow),Et=Je?n==="y"?Je.clientTop||0:Je.clientLeft||0:0,st=(V=z==null?void 0:z[n])!=null?V:0,Dt=X+Ke-st-Et,Ot=X+je-st,dt=Fe(m?qe(U,Dt):U,X,m?ge(Q,Ot):Q);h[n]=dt,P[n]=dt-X}if(d){var ct,Lt=n==="x"?$:G,At=n==="x"?J:K,De=h[g],Ce=g==="y"?"height":"width",ut=De+k[Lt],Pe=De-k[At],pt=[$,G].indexOf(L)!==-1,Tt=(ct=z==null?void 0:z[g])!=null?ct:0,jt=pt?ut:De-A[Ce]-S[Ce]-Tt+M.altAxis,Ct=pt?De+A[Ce]+S[Ce]-Tt-M.altAxis:Pe,Mt=m&&pt?_a(jt,De,Ct):Fe(m?jt:ut,De,m?Ct:Pe);h[g]=Mt,P[g]=Mt-De}t.modifiersData[a]=P}}var Ba={name:"preventOverflow",enabled:!0,phase:"main",fn:ei,requiresIfExists:["offset"]};function hr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mr(e){return e===H(e)||!Z(e)?Ue(e):hr(e)}function ti(e){var t=e.getBoundingClientRect(),r=Le(t.width)/e.offsetWidth||1,a=Le(t.height)/e.offsetHeight||1;return r!==1||a!==1}function br(e,t,r){r===void 0&&(r=!1);var a=Z(t),o=Z(t)&&ti(t),i=oe(t),l=fe(e,o,r),d={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(a||!a&&!r)&&((ee(t)!=="body"||Ge(i))&&(d=mr(t)),Z(t)?(s=fe(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=We(i))),{x:l.left+d.scrollLeft-s.x,y:l.top+d.scrollTop-s.y,width:l.width,height:l.height}}function ri(e){var t=new Map,r=new Set,a=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var l=[].concat(i.requires||[],i.requiresIfExists||[]);l.forEach(function(d){if(!r.has(d)){var s=t.get(d);s&&o(s)}}),a.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),a}function gr(e){var t=ri(e);return xa.reduce(function(r,a){return r.concat(t.filter(function(o){return o.phase===a}))},[])}function vr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function yr(e){var t=e.reduce(function(r,a){var o=r[a.name];return r[a.name]=o?Object.assign({},o,a,{options:Object.assign({},o.options,a.options),data:Object.assign({},o.data,a.data)}):a,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ia={placement:"bottom",modifiers:[],strategy:"absolute"};function Na(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function za(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,a=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Ia:o;return function(d,s,p){p===void 0&&(p=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ia,i),modifiersData:{},elements:{reference:d,popper:s},attributes:{},styles:{}},v=[],y=!1,m={state:c,setOptions:function(L){var T=typeof L=="function"?L(c.options):L;_(),c.options=Object.assign({},i,c.options,T),c.scrollParents={reference:pe(d)?Be(d):d.contextElement?Be(d.contextElement):[],popper:Be(s)};var B=gr(yr([].concat(a,c.options.modifiers)));return c.orderedModifiers=B.filter(function(n){return n.enabled}),E(),m.update()},forceUpdate:function(){if(!y){var L=c.elements,T=L.reference,B=L.popper;if(Na(T,B)){c.rects={reference:br(T,ve(B),c.options.strategy==="fixed"),popper:He(B)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(M){return c.modifiersData[M.name]=Object.assign({},M.data)});for(var n=0;n<c.orderedModifiers.length;n++){if(c.reset===!0){c.reset=!1,n=-1;continue}var g=c.orderedModifiers[n],h=g.fn,A=g.options,S=A===void 0?{}:A,C=g.name;typeof h=="function"&&(c=h({state:c,options:S,name:C,instance:m})||c)}}}},update:vr(function(){return new Promise(function(k){m.forceUpdate(),k(c)})}),destroy:function(){_(),y=!0}};if(!Na(d,s))return m;m.setOptions(p).then(function(k){!y&&p.onFirstUpdate&&p.onFirstUpdate(k)});function E(){c.orderedModifiers.forEach(function(k){var L=k.name,T=k.options,B=T===void 0?{}:T,n=k.effect;if(typeof n=="function"){var g=n({state:c,name:L,instance:m,options:B}),h=function(){};v.push(g||h)}})}function _(){v.forEach(function(k){return k()}),v=[]}return m}}var ai=[Da,Ma,Ea,ft,Ca,La,Ba,ka,ja],xr=za({defaultModifiers:ai});var oi="tippy-box",Ga="tippy-content",ii="tippy-backdrop",Xa="tippy-arrow",Ya="tippy-svg-arrow",Xe={passive:!0,capture:!0},Ka=function(){return document.body};function wr(e,t,r){if(Array.isArray(e)){var a=e[t];return a==null?Array.isArray(r)?r[t]:r:a}return e}function Or(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function Ja(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Pa(e,t){if(t===0)return e;var r;return function(a){clearTimeout(r),r=setTimeout(function(){e(a)},t)}}function ni(e){return e.split(/\s+/).filter(Boolean)}function it(e){return[].concat(e)}function Ra(e,t){e.indexOf(t)===-1&&e.push(t)}function li(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function si(e){return e.split("-")[0]}function $t(e){return[].slice.call(e)}function Va(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function xt(){return document.createElement("div")}function Ft(e){return["Element","Fragment"].some(function(t){return Or(e,t)})}function di(e){return Or(e,"NodeList")}function ci(e){return Or(e,"MouseEvent")}function ui(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function pi(e){return Ft(e)?[e]:di(e)?$t(e):Array.isArray(e)?e:$t(document.querySelectorAll(e))}function _r(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function qa(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function fi(e){var t,r=it(e),a=r[0];return a!=null&&(t=a.ownerDocument)!=null&&t.body?a.ownerDocument:document}function hi(e,t){var r=t.clientX,a=t.clientY;return e.every(function(o){var i=o.popperRect,l=o.popperState,d=o.props,s=d.interactiveBorder,p=si(l.placement),c=l.modifiersData.offset;if(!c)return!0;var v=p==="bottom"?c.top.y:0,y=p==="top"?c.bottom.y:0,m=p==="right"?c.left.x:0,E=p==="left"?c.right.x:0,_=i.top-a+v>s,k=a-i.bottom-y>s,L=i.left-r+m>s,T=r-i.right-E>s;return _||k||L||T})}function kr(e,t,r){var a=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[a](o,r)})}function Ha(e,t){for(var r=t;r;){var a;if(e.contains(r))return!0;r=r.getRootNode==null||(a=r.getRootNode())==null?void 0:a.host}return!1}var Se={isTouch:!1},$a=0;function mi(){Se.isTouch||(Se.isTouch=!0,window.performance&&document.addEventListener("mousemove",Za))}function Za(){var e=performance.now();e-$a<20&&(Se.isTouch=!1,document.removeEventListener("mousemove",Za)),$a=e}function bi(){var e=document.activeElement;if(ui(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function gi(){document.addEventListener("touchstart",mi,Xe),window.addEventListener("blur",bi)}var vi=typeof window!="undefined"&&typeof document!="undefined",yi=vi?!!window.msCrypto:!1;var xi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},wi={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},xe=Object.assign({appendTo:Ka,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},xi,wi),_i=Object.keys(xe),ki=function(t){var r=Object.keys(t);r.forEach(function(a){xe[a]=t[a]})};function Qa(e){var t=e.plugins||[],r=t.reduce(function(a,o){var i=o.name,l=o.defaultValue;if(i){var d;a[i]=e[i]!==void 0?e[i]:(d=xe[i])!=null?d:l}return a},{});return Object.assign({},e,r)}function Si(e,t){var r=t?Object.keys(Qa(Object.assign({},xe,{plugins:t}))):_i,a=r.reduce(function(o,i){var l=(e.getAttribute("data-tippy-"+i)||"").trim();if(!l)return o;if(i==="content")o[i]=l;else try{o[i]=JSON.parse(l)}catch(d){o[i]=l}return o},{});return a}function Fa(e,t){var r=Object.assign({},t,{content:Ja(t.content,[e])},t.ignoreAttributes?{}:Si(e,t.plugins));return r.aria=Object.assign({},xe.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 Ei=function(){return"innerHTML"};function Er(e,t){e[Ei()]=t}function Ua(e){var t=xt();return e===!0?t.className=Xa:(t.className=Ya,Ft(e)?t.appendChild(e):Er(t,e)),t}function Wa(e,t){Ft(t.content)?(Er(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Er(e,t.content):e.textContent=t.content)}function Dr(e){var t=e.firstElementChild,r=$t(t.children);return{box:t,content:r.find(function(a){return a.classList.contains(Ga)}),arrow:r.find(function(a){return a.classList.contains(Xa)||a.classList.contains(Ya)}),backdrop:r.find(function(a){return a.classList.contains(ii)})}}function eo(e){var t=xt(),r=xt();r.className=oi,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var a=xt();a.className=Ga,a.setAttribute("data-state","hidden"),Wa(a,e.props),t.appendChild(r),r.appendChild(a),o(e.props,e.props);function o(i,l){var d=Dr(t),s=d.box,p=d.content,c=d.arrow;l.theme?s.setAttribute("data-theme",l.theme):s.removeAttribute("data-theme"),typeof l.animation=="string"?s.setAttribute("data-animation",l.animation):s.removeAttribute("data-animation"),l.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth=typeof l.maxWidth=="number"?l.maxWidth+"px":l.maxWidth,l.role?s.setAttribute("role",l.role):s.removeAttribute("role"),(i.content!==l.content||i.allowHTML!==l.allowHTML)&&Wa(p,e.props),l.arrow?c?i.arrow!==l.arrow&&(s.removeChild(c),s.appendChild(Ua(l.arrow))):s.appendChild(Ua(l.arrow)):c&&s.removeChild(c)}return{popper:t,onUpdate:o}}eo.$$tippy=!0;var Di=1,Ht=[],Sr=[];function Oi(e,t){var r=Fa(e,Object.assign({},xe,Qa(Va(t)))),a,o,i,l=!1,d=!1,s=!1,p=!1,c,v,y,m=[],E=Pa(Dt,r.interactiveDebounce),_,k=Di++,L=null,T=li(r.plugins),B={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},n={id:k,reference:e,popper:xt(),popperInstance:L,props:r,state:B,plugins:T,clearDelayTimeouts:jt,setProps:Ct,setContent:Mt,show:go,hide:vo,hideWithInteractivity:yo,enable:pt,disable:Tt,unmount:xo,destroy:wo};if(!r.render)return n;var g=r.render(n),h=g.popper,A=g.onUpdate;h.setAttribute("data-tippy-root",""),h.id="tippy-"+n.id,n.popper=h,e._tippy=n,h._tippy=n;var S=T.map(function(u){return u.fn(n)}),C=e.hasAttribute("aria-expanded");return Je(),f(),X(),U("onCreate",[n]),r.showOnCreate&&ut(),h.addEventListener("mouseenter",function(){n.props.interactive&&n.state.isVisible&&n.clearDelayTimeouts()}),h.addEventListener("mouseleave",function(){n.props.interactive&&n.props.trigger.indexOf("mouseenter")>=0&&re().addEventListener("mousemove",E)}),n;function M(){var u=n.props.touch;return Array.isArray(u)?u:[u,0]}function z(){return M()[0]==="hold"}function P(){var u;return!!((u=n.props.render)!=null&&u.$$tippy)}function V(){return _||e}function re(){var u=V().parentNode;return u?fi(u):document}function ae(){return Dr(h)}function F(u){return n.state.isMounted&&!n.state.isVisible||Se.isTouch||c&&c.type==="focus"?0:wr(n.props.delay,u?0:1,xe.delay)}function X(u){u===void 0&&(u=!1),h.style.pointerEvents=n.props.interactive&&!u?"":"none",h.style.zIndex=""+n.props.zIndex}function U(u,w,O){if(O===void 0&&(O=!0),S.forEach(function(I){I[u]&&I[u].apply(I,w)}),O){var R;(R=n.props)[u].apply(R,w)}}function Q(){var u=n.props.aria;if(u.content){var w="aria-"+u.content,O=h.id,R=it(n.props.triggerTarget||e);R.forEach(function(I){var ne=I.getAttribute(w);if(n.state.isVisible)I.setAttribute(w,ne?ne+" "+O:O);else{var ue=ne&&ne.replace(O,"").trim();ue?I.setAttribute(w,ue):I.removeAttribute(w)}})}}function f(){if(!(C||!n.props.aria.expanded)){var u=it(n.props.triggerTarget||e);u.forEach(function(w){n.props.interactive?w.setAttribute("aria-expanded",n.state.isVisible&&w===V()?"true":"false"):w.removeAttribute("aria-expanded")})}}function b(){re().removeEventListener("mousemove",E),Ht=Ht.filter(function(u){return u!==E})}function x(u){if(!(Se.isTouch&&(s||u.type==="mousedown"))){var w=u.composedPath&&u.composedPath()[0]||u.target;if(!(n.props.interactive&&Ha(h,w))){if(it(n.props.triggerTarget||e).some(function(O){return Ha(O,w)})){if(Se.isTouch||n.state.isVisible&&n.props.trigger.indexOf("click")>=0)return}else U("onClickOutside",[n,u]);n.props.hideOnClick===!0&&(n.clearDelayTimeouts(),n.hide(),d=!0,setTimeout(function(){d=!1}),n.state.isMounted||Y())}}}function D(){s=!0}function N(){s=!1}function W(){var u=re();u.addEventListener("mousedown",x,!0),u.addEventListener("touchend",x,Xe),u.addEventListener("touchstart",N,Xe),u.addEventListener("touchmove",D,Xe)}function Y(){var u=re();u.removeEventListener("mousedown",x,!0),u.removeEventListener("touchend",x,Xe),u.removeEventListener("touchstart",N,Xe),u.removeEventListener("touchmove",D,Xe)}function Te(u,w){Ke(u,function(){!n.state.isVisible&&h.parentNode&&h.parentNode.contains(h)&&w()})}function Ee(u,w){Ke(u,w)}function Ke(u,w){var O=ae().box;function R(I){I.target===O&&(kr(O,"remove",R),w())}if(u===0)return w();kr(O,"remove",v),kr(O,"add",R),v=R}function je(u,w,O){O===void 0&&(O=!1);var R=it(n.props.triggerTarget||e);R.forEach(function(I){I.addEventListener(u,w,O),m.push({node:I,eventType:u,handler:w,options:O})})}function Je(){z()&&(je("touchstart",st,{passive:!0}),je("touchend",Ot,{passive:!0})),ni(n.props.trigger).forEach(function(u){if(u!=="manual")switch(je(u,st),u){case"mouseenter":je("mouseleave",Ot);break;case"focus":je(yi?"focusout":"blur",dt);break;case"focusin":je("focusout",dt);break}})}function Et(){m.forEach(function(u){var w=u.node,O=u.eventType,R=u.handler,I=u.options;w.removeEventListener(O,R,I)}),m=[]}function st(u){var w,O=!1;if(!(!n.state.isEnabled||ct(u)||d)){var R=((w=c)==null?void 0:w.type)==="focus";c=u,_=u.currentTarget,f(),!n.state.isVisible&&ci(u)&&Ht.forEach(function(I){return I(u)}),u.type==="click"&&(n.props.trigger.indexOf("mouseenter")<0||l)&&n.props.hideOnClick!==!1&&n.state.isVisible?O=!0:ut(u),u.type==="click"&&(l=!O),O&&!R&&Pe(u)}}function Dt(u){var w=u.target,O=V().contains(w)||h.contains(w);if(!(u.type==="mousemove"&&O)){var R=Ce().concat(h).map(function(I){var ne,ue=I._tippy,Ze=(ne=ue.popperInstance)==null?void 0:ne.state;return Ze?{popperRect:I.getBoundingClientRect(),popperState:Ze,props:r}:null}).filter(Boolean);hi(R,u)&&(b(),Pe(u))}}function Ot(u){var w=ct(u)||n.props.trigger.indexOf("click")>=0&&l;if(!w){if(n.props.interactive){n.hideWithInteractivity(u);return}Pe(u)}}function dt(u){n.props.trigger.indexOf("focusin")<0&&u.target!==V()||n.props.interactive&&u.relatedTarget&&h.contains(u.relatedTarget)||Pe(u)}function ct(u){return Se.isTouch?z()!==u.type.indexOf("touch")>=0:!1}function Lt(){At();var u=n.props,w=u.popperOptions,O=u.placement,R=u.offset,I=u.getReferenceClientRect,ne=u.moveTransition,ue=P()?Dr(h).arrow:null,Ze=I?{getBoundingClientRect:I,contextElement:I.contextElement||V()}:e,ha={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Bt){var Qe=Bt.state;if(P()){var _o=ae(),ir=_o.box;["placement","reference-hidden","escaped"].forEach(function(It){It==="placement"?ir.setAttribute("data-placement",Qe.placement):Qe.attributes.popper["data-popper-"+It]?ir.setAttribute("data-"+It,""):ir.removeAttribute("data-"+It)}),Qe.attributes.popper={}}}},Re=[{name:"offset",options:{offset:R}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!ne}},ha];P()&&ue&&Re.push({name:"arrow",options:{element:ue,padding:3}}),Re.push.apply(Re,(w==null?void 0:w.modifiers)||[]),n.popperInstance=xr(Ze,h,Object.assign({},w,{placement:O,onFirstUpdate:y,modifiers:Re}))}function At(){n.popperInstance&&(n.popperInstance.destroy(),n.popperInstance=null)}function De(){var u=n.props.appendTo,w,O=V();n.props.interactive&&u===Ka||u==="parent"?w=O.parentNode:w=Ja(u,[O]),w.contains(h)||w.appendChild(h),n.state.isMounted=!0,Lt()}function Ce(){return $t(h.querySelectorAll("[data-tippy-root]"))}function ut(u){n.clearDelayTimeouts(),u&&U("onTrigger",[n,u]),W();var w=F(!0),O=M(),R=O[0],I=O[1];Se.isTouch&&R==="hold"&&I&&(w=I),w?a=setTimeout(function(){n.show()},w):n.show()}function Pe(u){if(n.clearDelayTimeouts(),U("onUntrigger",[n,u]),!n.state.isVisible){Y();return}if(!(n.props.trigger.indexOf("mouseenter")>=0&&n.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(u.type)>=0&&l)){var w=F(!1);w?o=setTimeout(function(){n.state.isVisible&&n.hide()},w):i=requestAnimationFrame(function(){n.hide()})}}function pt(){n.state.isEnabled=!0}function Tt(){n.hide(),n.state.isEnabled=!1}function jt(){clearTimeout(a),clearTimeout(o),cancelAnimationFrame(i)}function Ct(u){if(!n.state.isDestroyed){U("onBeforeUpdate",[n,u]),Et();var w=n.props,O=Fa(e,Object.assign({},w,Va(u),{ignoreAttributes:!0}));n.props=O,Je(),w.interactiveDebounce!==O.interactiveDebounce&&(b(),E=Pa(Dt,O.interactiveDebounce)),w.triggerTarget&&!O.triggerTarget?it(w.triggerTarget).forEach(function(R){R.removeAttribute("aria-expanded")}):O.triggerTarget&&e.removeAttribute("aria-expanded"),f(),X(),A&&A(w,O),n.popperInstance&&(Lt(),Ce().forEach(function(R){requestAnimationFrame(R._tippy.popperInstance.forceUpdate)})),U("onAfterUpdate",[n,u])}}function Mt(u){n.setProps({content:u})}function go(){var u=n.state.isVisible,w=n.state.isDestroyed,O=!n.state.isEnabled,R=Se.isTouch&&!n.props.touch,I=wr(n.props.duration,0,xe.duration);if(!(u||w||O||R)&&!V().hasAttribute("disabled")&&(U("onShow",[n],!1),n.props.onShow(n)!==!1)){if(n.state.isVisible=!0,P()&&(h.style.visibility="visible"),X(),W(),n.state.isMounted||(h.style.transition="none"),P()){var ne=ae(),ue=ne.box,Ze=ne.content;_r([ue,Ze],0)}y=function(){var Re;if(!(!n.state.isVisible||p)){if(p=!0,h.offsetHeight,h.style.transition=n.props.moveTransition,P()&&n.props.animation){var or=ae(),Bt=or.box,Qe=or.content;_r([Bt,Qe],I),qa([Bt,Qe],"visible")}Q(),f(),Ra(Sr,n),(Re=n.popperInstance)==null||Re.forceUpdate(),U("onMount",[n]),n.props.animation&&P()&&Ee(I,function(){n.state.isShown=!0,U("onShown",[n])})}},De()}}function vo(){var u=!n.state.isVisible,w=n.state.isDestroyed,O=!n.state.isEnabled,R=wr(n.props.duration,1,xe.duration);if(!(u||w||O)&&(U("onHide",[n],!1),n.props.onHide(n)!==!1)){if(n.state.isVisible=!1,n.state.isShown=!1,p=!1,l=!1,P()&&(h.style.visibility="hidden"),b(),Y(),X(!0),P()){var I=ae(),ne=I.box,ue=I.content;n.props.animation&&(_r([ne,ue],R),qa([ne,ue],"hidden"))}Q(),f(),n.props.animation?P()&&Te(R,n.unmount):n.unmount()}}function yo(u){re().addEventListener("mousemove",E),Ra(Ht,E),E(u)}function xo(){n.state.isVisible&&n.hide(),n.state.isMounted&&(At(),Ce().forEach(function(u){u._tippy.unmount()}),h.parentNode&&h.parentNode.removeChild(h),Sr=Sr.filter(function(u){return u!==n}),n.state.isMounted=!1,U("onHidden",[n]))}function wo(){n.state.isDestroyed||(n.clearDelayTimeouts(),n.unmount(),Et(),delete e._tippy,n.state.isDestroyed=!0,U("onDestroy",[n]))}}function wt(e,t){t===void 0&&(t={});var r=xe.plugins.concat(t.plugins||[]);gi();var a=Object.assign({},t,{plugins:r}),o=pi(e);if(0)var i,l;var d=o.reduce(function(s,p){var c=p&&Oi(p,a);return c&&s.push(c),s},[]);return Ft(e)?d[0]:d}wt.defaultProps=xe;wt.setDefaultProps=ki;wt.currentInput=Se;var hu=Object.assign({},ft,{effect:function(t){var r=t.state,a={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,a.popper),r.styles=a,r.elements.arrow&&Object.assign(r.elements.arrow.style,a.arrow)}});wt.setDefaultProps({render:eo});var to=wt;var Ut={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};var Lr={};j(Lr,{default:()=>Ai});var Ai={};var Ar={};j(Ar,{default:()=>ji});var ji={};var Tr={};j(Tr,{default:()=>Mi});var Mi={};var jr={};j(jr,{default:()=>Ii});var Ii={};var Cr={};j(Cr,{default:()=>zi});var zi={};var Mr={};j(Mr,{default:()=>Ri});var Ri={};function Wt(){let e=getComputedStyle(document.body).fontSize;return e=e===""?-1:e,parseFloat(e)}function Vi(e,t){let r=e.min,a=e.max;Wt()>0&&Wt()!==16&&(r=r/16*Wt(),a=a/16*Wt());let i=r||0,l=a||Number.POSITIVE_INFINITY;return i<=t&&t<=l}function qi(e){let t={};e=e||window.innerWidth;let r;for(r in Ut)t[r]=Vi(Ut[r],e);return t}var Gt="mobile",Hi="tablet",$i="desktop";function Br(e){let t=!1,r=qi();return(e===Gt&&r.bpXS||e===Hi&&r.bpSM||e===$i&&(r.bpMED||r.bpLG||r.bpXL))&&(t=!0),t}var me="data-js-hook",Xt="behavior_",Ir="state_";function ie(){let e={};function t(o,i){return{}.hasOwnProperty.call(e,o)?e[o].push(i):e[o]=[i],this}function r(o,i){if(!{}.hasOwnProperty.call(e,o))return this;let l=e[o].indexOf(i);return l!==-1&&e[o].splice(l,1),this}function a(o,i){if(!{}.hasOwnProperty.call(e,o))return this;i=i||{};let l=e[o];for(let d=0,s=l.length;d<s;d++)l[d].call(this,i);return this}return this.addEventListener=t,this.removeEventListener=r,this.dispatchEvent=a,this.getRegisteredEvents=()=>e,this}function Ye(e,t){if(!e)return!1;let r=e.getAttribute(me);return r?(r=r.split(" "),r.indexOf(t)>-1):!1}function se(e,t){if(Ye(e,t))return t;if(t.indexOf(" ")!==-1){let a=me+" values cannot contain spaces!";throw new Error(a)}let r=e.getAttribute(me);return r!==null&&(t=r+" "+t),e.setAttribute(me,t),t}var Nr=Ir+"atomic_init";function Fi(e,t){if(!e||!e.classList){let r=e+' is not valid. Check that element is a DOM node with class "'+t+'"';throw new Error(r)}return e}function Ui(e,t){let r=e.classList.contains(t)?e:e.querySelector("."+t);if(!r){let a=t+" not found on or in passed DOM node.";throw new Error(a)}return r}function we(e,t){return Fi(e,t),Ui(e,t)}function be(e){return Ye(e,Nr)?!1:(se(e,Nr),!0)}function de(e,t,r,a={}){let i=(r||document).querySelectorAll(e),l=[],d,s;for(let p=0,c=i.length;p<c;p++)s=i[p],Ye(s,Nr)===!1&&(d=new t(s),d.init(a),l.push(d));return l}function Yt(e,t){let r;if(Ye(e,t))return r=e,r;if(e){let a="["+me+"="+t+"]";r=e.querySelector(a)}if(!r){let a=t+" behavior not found on passed DOM node!";throw new Error(a)}return r}var Wi=Object.prototype.toString;var Gi=Array.isArray||function(t){return Wi.call(t)==="[object Array]"};function zr(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var _t=Xt+"flyout-menu",Xi="["+me+"="+_t;function Ie(e,t=!0){let r=Yt(e,_t),a=T(e),o=Yt(e,_t+"_content"),i=0,l=0,d=1,s=2,p=3,c,v,y,m=P.bind(this),E=z.bind(this),_,k=!0,L=!1;function T(f){let b=[],x=f.querySelectorAll(`${Xi}_trigger]`),D,N,W;for(let Y=x.length>>>0;Y--;){for(W=!1,D=x[Y],N=D.parentElement;N!==f;)N.getAttribute(me)&&N.getAttribute(me).split(" ").indexOf(_t)!==-1?(W=!0,N=f):N=N.parentElement;W||b.unshift(x[Y])}return b}function B(f=!1){return i=f?p:l,a.forEach(b=>{n("expanded",b,f),b.addEventListener("click",S.bind(this)),b.addEventListener("touchstart",g,{passive:!0}),b.addEventListener("mouseover",h.bind(this)),b.addEventListener("mouseout",A.bind(this))}),o.setAttribute("data-open",f?"true":"false"),t&&!f&&o.setAttribute("hidden",""),F(),this}function n(f,b,x){let D=String(x);return b.setAttribute("aria-"+f,D),D}function g(){L=!0}function h(f){k||(L||this.dispatchEvent("triggerover",{target:this,trigger:f.target,type:"triggerover"}),L=!1)}function A(f){k||this.dispatchEvent("triggerout",{target:this,trigger:f.target,type:"triggerout"})}function S(f){if(!k)switch(this.dispatchEvent("triggerclick",{target:this,trigger:f.target,type:"triggerclick"}),f.preventDefault(),i){case l:case d:this.expand();break;case s:case p:this.collapse();break}}function C(){if(c==null||c.halt(),i===s||i===p)return this;if(i=s,t&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!v||!y)return E(),this;let f=c==null?void 0:c.isAnimated();return f&&c.addEventListener(q.END_EVENT,E),v(),f||E(),this}function M(){if(c==null||c.halt(),i===d||i===l)return this;for(let b=0,x=a.length;b<x;b++)n("expanded",a[b],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!v)return m(),this;let f=c==null?void 0:c.isAnimated();return f&&c.addEventListener(q.END_EVENT,m),y(),f||m(),this}function z(){i=p,o.setAttribute("data-open","true"),c&&c.removeEventListener(q.END_EVENT,E),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let f=0,b=a.length;f<b;f++)n("expanded",a[f],!0)}function P(){i=l,t&&o.setAttribute("hidden",""),c&&c.removeEventListener(q.END_EVENT,m),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function V(f,b,x){c=f,b&&b!==y&&(y=b),x&&x!==v&&(v=x)}function re(){c&&c.remove();let f;c=f,v=f,y=f}function ae(){return{container:r,content:o,trigger:a}}function F(){return k&&(k=!1),!k}function X(){return k||(k=!0),k}function U(f){return _=f,this}let Q=new ie;return this.addEventListener=Q.addEventListener,this.removeEventListener=Q.removeEventListener,this.dispatchEvent=Q.dispatchEvent,this.init=B,this.expand=C,this.collapse=M,this.setTransition=V,this.clearTransition=re,this.getData=()=>_,this.getTransition=()=>c,this.getDom=ae,this.isAnimating=()=>i===s||i===d,this.isExpanded=()=>i===p,this.resume=F,this.setData=U,this.suspend=X,Ie.BASE_CLASS=_t,this}var Kt={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function ro(e){let t=new ie,r=new q(e,Kt,this);function a(l){return r.init(l),this}function o(){return r.applyClass(Kt.ALPHA_100),this}function i(){return r.applyClass(Kt.ALPHA_0),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=r.animateOff,this.animateOn=r.animateOn,this.halt=r.halt,this.isAnimated=r.isAnimated,this.remove=r.remove,this.setElement=r.setElement,this.fadeIn=o,this.fadeOut=i,this.init=a,this}ro.CLASSES=Kt;function q(e,t,r){let a=t,o=e;if(!r)throw new Error("Child transition argument must be defined!");let i=r,l,d,s,p=!1,c=!1,v=!1;if(typeof a.CSS_PROPERTY=="undefined"||typeof a.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,s),i.dispatchEvent(q.BEGIN_EVENT,{target:i,type:q.BEGIN_EVENT}),o.classList.add(q.ANIMATING_CLASS),c=!0):(i.dispatchEvent(q.BEGIN_EVENT,{target:i,type:q.BEGIN_EVENT}),s())}function m(){o.removeEventListener(d,s)}function E(S){return S&&S.propertyName!==a.CSS_PROPERTY?!1:(m(),o.classList.remove(q.ANIMATING_CLASS),i.dispatchEvent(q.END_EVENT,{target:i,type:q.END_EVENT}),c=!1,!0)}function _(){let S;for(S in a)({}).hasOwnProperty.call(a,S)&&a[S]!==a.BASE_CLASS&&o.classList.contains(a[S])&&o.classList.remove(a[S])}function k(){c&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,s),s(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function L(){k(),_(),o.classList.remove(a.BASE_CLASS)}function T(){o.classList.remove(q.NO_ANIMATION_CLASS),p=!0}function B(){o.classList.add(q.NO_ANIMATION_CLASS),p=!1}function n(S){if(!S){let P="Element does not have TransitionEnd event. It may be null!";throw new Error(P)}let C,M={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},z;for(z in M)if({}.hasOwnProperty.call(M,z)&&typeof S.style[z]!="undefined"){C=M[z];break}return C}function g(S){L(),T(),o=S,o.classList.add(a.BASE_CLASS),d=n(o)}function h(S){if(p=!o.classList.contains(q.NO_ANIMATION_CLASS),s=E.bind(this),g(o),!S)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(S),this}function A(S){return v||(_(),v=!0),o.classList.contains(S)?!1:(m(),o.classList.remove(l),l=S,y(),o.classList.add(l),!0)}return this.animateOff=B,this.animateOn=T,this.applyClass=A,this.halt=k,this.init=h,this.isAnimated=()=>p,this.remove=L,this.setElement=g,this}q.BEGIN_EVENT="transitionbegin";q.END_EVENT="transitionend";q.NO_ANIMATION_CLASS="u-no-animation";q.ANIMATING_CLASS="u-is-animating";var kt={CSS_PROPERTY:"max-height",BASE_CLASS:"u-max-height-transition",MH_DEFAULT:"u-max-height-default",MH_SUMMARY:"u-max-height-summary",MH_ZERO:"u-max-height-zero"};function ce(e){let t=new ie,r=new q(e,kt,this),a=0;function o(){let y=e.scrollHeight+"px";e.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(v){return r.init(v),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),r.applyClass(kt.MH_DEFAULT),(!a||e.scrollHeight>a)&&(a=e.scrollHeight),this}function s(){return r.applyClass(kt.MH_SUMMARY),a=e.scrollHeight,this}function p(){return r.applyClass(kt.MH_ZERO),a=e.scrollHeight,this}function c(){return e.style.maxHeight="",r.remove()}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=r.animateOff,this.animateOn=r.animateOn,this.halt=r.halt,this.isAnimated=r.isAnimated,this.setElement=r.setElement,this.refresh=o,this.remove=c,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=s,this.maxHeightZero=p,this}ce.CLASSES=kt;var Ne={CSS_PROPERTY:"transform",BASE_CLASS:"u-move-transition",MOVE_TO_ORIGIN:"u-move-to-origin",MOVE_LEFT:"u-move-left",MOVE_LEFT_2X:"u-move-left-2x",MOVE_LEFT_3X:"u-move-left-3x",MOVE_RIGHT:"u-move-right",MOVE_UP:"u-move-up"};function ao(e){let t=new ie,r=new q(e,Ne,this);function a(s){return r.init(s),this}function o(){return r.applyClass(Ne.MOVE_TO_ORIGIN),this}function i(s){s=s||1;let p=[Ne.MOVE_LEFT,Ne.MOVE_LEFT_2X,Ne.MOVE_LEFT_3X];return r.applyClass(p[s-1]),this}function l(){return r.applyClass(Ne.MOVE_RIGHT),this}function d(){return r.applyClass(Ne.MOVE_UP),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=r.animateOff,this.animateOn=r.animateOn,this.halt=r.halt,this.isAnimated=r.isAnimated,this.setElement=r.setElement,this.remove=r.remove,this.init=a,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}ao.CLASSES=Ne;var nt="o-expandable";function ze(e){let t=we(e,nt),r,a,o,i,l;function d(){if(!be(t))return this;r=t.querySelector(`.${nt}__header`),a=t.querySelector(`.${nt}__content`),o=t.querySelector(`.${nt}__label`);let c=t.classList.contains(`${nt}--onload-open`);se(t,"behavior_flyout-menu"),se(r,"behavior_flyout-menu_trigger"),se(a,"behavior_flyout-menu_content");let v=c?ce.CLASSES.MH_DEFAULT:ce.CLASSES.MH_ZERO;return i=new ce(a).init(v),l=new Ie(t),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(c),l.addEventListener("expandbegin",()=>{a.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{a.classList.add("u-hidden")}),this}function s(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=s;let p=new ie;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}ze.BASE_CLASS=nt;ze.init=e=>de(`.${ze.BASE_CLASS}`,ze,e);var Jt="o-expandable-group";function Zt(e){let t=we(e,Jt),r=t.classList.contains(`${Jt}--accordion`),a,o;function i(d){let s=d.target;o&&o!==s&&o.collapse(),o=s}function l(d){return be(t)?(r&&(a=d,a.forEach(s=>{s.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}Zt.BASE_CLASS=Jt;Zt.init=e=>{(e||document).querySelectorAll(`.${Jt}`).forEach(a=>{let o=de(`.${ze.BASE_CLASS}`,ze,a);new Zt(a).init(o)})};var lt="o-summary";function Qt(e){let t=we(e,lt),r=t.classList.contains(`${lt}--mobile`),a=t.querySelector(`.${lt}__content`),o=t.querySelector(`.${lt}__btn`),i,l,d;function s(){return be(t)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!m(),se(t,"behavior_flyout-menu"),se(a,"behavior_flyout-menu_content"),se(o,"behavior_flyout-menu_trigger"),l=new Ie(t,!1),i=new ce(a),i.init(d?ce.CLASSES.MH_SUMMARY:ce.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",E),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),t.addEventListener("focusin",c),a.addEventListener("click",v)}function c(g){!d&&g.target!==o&&(o.click(),t.removeEventListener("focusin",c))}function v(g){g.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){m()?B():T()}function m(){return r&&!Br(Gt)||a.scrollHeight<=88}function E(){l.addEventListener("expandend",_)}function _(){L(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",_),l.suspend(),i.remove()}function k(){o.classList.remove("u-hidden")}function L(){o.classList.add("u-hidden")}function T(){return d&&(l.collapse(),i.animateOn(),k(),d=!1),!d}function B(){return d||(i.animateOff(),l.expand(),L(),d=!0),d}let n=new ie;return this.addEventListener=n.addEventListener,this.removeEventListener=n.removeEventListener,this.dispatchEvent=n.dispatchEvent,this.init=s,this}Qt.BASE_CLASS=lt;Qt.init=e=>de(`.${lt}`,Qt,e);var St="o-summary-minimal";function er(e){let t=we(e,St),r=t.querySelector(`.${St}__content`),a=t.querySelector(`.${St}__btn`),o,i;function l(){return be(t)?(se(t,"behavior_flyout-menu"),se(r,"behavior_flyout-menu_content"),se(a,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new Ie(t,!1),o=new ce(r),o.init(ce.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),t.addEventListener("focusin",s),r.addEventListener("click",p),i.collapse(),o.animateOn()}function s(v){v.target!==a&&(a.click(),t.removeEventListener("focusin",s))}function p(v){v.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let c=new ie;return this.addEventListener=c.addEventListener,this.removeEventListener=c.removeEventListener,this.dispatchEvent=c.dispatchEvent,this.init=l,this}er.BASE_CLASS=St;er.init=e=>de(`.${St}`,er,e);var Pr={};j(Pr,{default:()=>Zi});var Zi={};var Rr={};j(Rr,{default:()=>en});var en={};var Vr={};j(Vr,{default:()=>rn});var rn={};var qr={};j(qr,{default:()=>on});var on={};var Hr={};j(Hr,{default:()=>ln});var ln={};var $r={};j($r,{default:()=>dn});var dn={};var Fr={};j(Fr,{default:()=>un});var un={};var Ur={};j(Ur,{default:()=>fn});var fn={};var Wr={};j(Wr,{default:()=>mn});var mn={};var bn;function gn(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function vn(e,t){return RegExp(gn(t.trim()),"i").test(e)}function yn(e,t,r){let a=e,o=t,i=(r==null?void 0:r.maxSelections)||5,l=[],d=[],s=[],p=[],c=-1;function v(g){return o+"-"+g.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function m(g){let h,A=[],S=!1;for(let C=0,M=g.length;C<M;C++)h=g[C],S=y()?!1:h.defaultSelected,A.push({id:v(h),value:h.value,text:h.text,checked:S}),S&&d.push(C);return A}function E(){return l=m(a),this}function _(g){return l[g].checked=!l[g].checked,d.length<i&&l[g].checked?(d.push(g),d.sort(),!0):(l[g].checked=!1,d=d.filter(function(h){return h!==g}),!1)}function k(g,h,A,S){return vn(h.text,S)&&g.push(A),g}function L(g){return Object.prototype.toString.call(g)!=="[object String]"&&(g=""),p=s,l.length>0&&(s=l.reduce(function(h,A,S){return k(h,A,S,g)},[])),c=-1,s}function T(g){return l[g]}function B(g){let h=s.length,A=h===0?l.length:h;g<0?c=-1:g>=A?c=A-1:c=g}function n(){return c}return this.init=E,this.toggleOption=_,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=L,this.clearFilter=function(){return s=p=[],bn},this.getFilterIndices=function(){return s},this.getLastFilterIndices=function(){return p},this.getIndex=n,this.setIndex=B,this.resetIndex=function(){return c=-1,c},this.getOption=T,this}var lo=yn;function _e(e,t,r){let a=document.createElement(e);return Object.keys(r).forEach(o=>{let i=r[o];o in a?a[o]=i:a.setAttribute(o,i)}),t&&t.appendChild(a),a}var so='<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf-icon-svg cf-icon-svg--error" viewBox="0 0 12 19"><path d="M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z"/></svg>';var Sn=so,ke="o-multiselect",En="a-checkbox",Dn="a-text-input",co="prev",tr="next",Gr="Enter",On=" ",uo="Escape",Ln="ArrowUp",po="ArrowDown",fo="Tab",ho={renderTags:!0,maxSelections:5};function rr(e){e.classList.add(ke);let t=we(e,ke),r=!1,a,o,i,l,d,s,p,c,v,y,m,E=[],_;function k(){m.classList.remove("u-no-results"),m.classList.add("u-filtered");let f=i.getLastFilterIndices();for(let b=0,x=f.length;b<x;b++)E[f[b]].classList.remove("u-filter-match");f=i.getFilterIndices();for(let b=0,x=f.length;b<x;b++)E[f[b]].classList.add("u-filter-match")}function L(){m.classList.remove("u-filtered","u-no-results");for(let f=0,b=m.children.length;f<b;f++)m.children[f].classList.remove("u-filter-match");i.clearFilter()}function T(){m.classList.add("u-no-results"),m.classList.remove("u-filtered")}function B(f){return f.length>0?(k(),!0):(T(),!1)}function n(f){L(),i.resetIndex();let b=i.filterIndices(f);B(b)}function g(){return s.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),_.dispatchEvent("expandbegin",{target:_}),_}function h(){return s.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),_.dispatchEvent("collapsebegin",{target:_}),_}function A(f){f===tr?i.setIndex(i.getIndex()+1):f===co&&i.setIndex(i.getIndex()-1);let b=i.getIndex();if(b>-1){let x=b,D=i.getFilterIndices();D.length>0&&(x=D[b]);let W=i.getOption(x).value,Te=m.querySelector('[data-option="'+W+'"]').querySelector("input");r=!0,Te.focus()}else r=!1,v.focus()}function S(){v.value="",L()}function C(f){let b=f.target;b.tagName==="BUTTON"&&(f.preventDefault(),b.removeEventListener("click",C),b.querySelector("label").click())}function M(f){if(f.key===On||f.key===Gr){let b=f.target.querySelector("label");m.querySelector("#"+b.getAttribute("for")).click()}}function z(f){return a+"-"+f.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function P(f,b){let x=z(b),D=_e("li",null,{"data-option":b.value}),N=_e("button",D,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+x+">"+b.text+Sn+"</label>"});f.appendChild(D),N.addEventListener("click",C),N.addEventListener("keydown",M)}function V(f){let b=i.getOption(f)||i.getOption(i.getIndex());if(b){if(b.checked){m.classList.contains("u-max-selections")&&m.classList.remove("u-max-selections");let x='[data-option="'+b.value+'"]',D=p.querySelector(x);typeof D!="undefined"&&D&&(p==null||p.removeChild(D))}else d!=null&&d.renderTags&&p&&P(p,b);i.toggleOption(f),i.isAtMaxSelections()&&m.classList.add("u-max-selections"),_.dispatchEvent("selectionsupdated",{target:_})}i.resetIndex(),r=!1,y.getAttribute("aria-hidden")==="false"&&v.focus()}function re(f){V(Number(f.target.getAttribute("data-index"))),S()}function ae(){c.addEventListener("mousemove",function(x){let D=x.target;x.offsetX>D.offsetWidth-35?D.style.cursor="pointer":D.style.cursor="auto"}),c.addEventListener("mouseup",function(x){let D=x.target;x.offsetX>D.offsetWidth-35&&y.offsetHeight===140&&v.blur()}),v.addEventListener("input",function(){n(this.value)}),v.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&g()}),v.addEventListener("blur",function(){!r&&y.getAttribute("aria-hidden")==="false"&&h()}),v.addEventListener("keydown",function(x){let D=x.key;y.getAttribute("aria-hidden")==="true"&&D!==fo&&g(),D===Gr?(x.preventDefault(),A(tr)):D===uo?(S(),h()):D===po?A(tr):D===fo&&!x.shiftKey&&y.getAttribute("aria-hidden")==="false"&&h()}),m.addEventListener("mousedown",function(){r=!0}),m.addEventListener("keydown",function(x){let D=x.key,N=x.target,W=N.checked;if(D===Gr){x.preventDefault(),N.checked=!W;let Y=new Event("change",{bubbles:!1,cancelable:!0});N.dispatchEvent(Y)}else D===uo?(v.focus(),h()):D===Ln?A(co):D===po&&A(tr)}),y.addEventListener("mousedown",function(x){x.target.tagName==="LABEL"&&(r=!0)});let f=m.querySelectorAll("input");for(let x=0,D=f.length;x<D;x++)f[x].addEventListener("change",re);let b=p.querySelectorAll("button");for(let x=0,D=b.length;x<D;x++)b[x].addEventListener("click",C),b[x].addEventListener("keydown",M)}function F(){s=document.createElement("div"),s.className=ke,p=_e("ul",null,{className:"m-tag-group"}),c=_e("header",s,{className:ke+"__header"}),v=_e("input",c,{className:ke+"__search "+Dn,type:"text",placeholder:o||"Select up to five",id:t.id,autocomplete:"off"}),y=_e("fieldset",s,{className:ke+"__fieldset u-invisible","aria-hidden":"true"});let f=ke+"__options";i.isAtMaxSelections()&&(f+=" u-max-selections"),m=_e("ul",y,{className:f});let b,x,D;for(let N=0,W=l.length;N<W;N++){b=l[N],x=z(b),D=i.getOption(N).checked;let Y=_e("li",m,{"data-option":b.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});_e("input",Y,{id:x,type:"checkbox",value:b.value,name:a,class:En+" "+ke+"__checkbox",checked:D,"data-index":N}),_e("label",Y,{for:x,textContent:b.text,className:ke+"__label a-label"}),E.push(Y),D&&(d!=null&&d.renderTags)&&P(p,b)}return s.insertBefore(p,c),t.parentNode.insertBefore(s,t),s.appendChild(t),s}function X(f=ho){if(!be(t))return this;if(zr())return this;if(_=this,a=t.name||t.id,o=t.getAttribute("placeholder"),l=t.options||[],d=nr(nr({},ho),f),l.length>0){i=new lo(l,a,d).init();let b=F();t.parentNode.removeChild(t),t=b,be(t),ae()}return this}function U(){return i}this.init=X,this.expand=g,this.collapse=h;let Q=new ie;return this.addEventListener=Q.addEventListener,this.removeEventListener=Q.removeEventListener,this.dispatchEvent=Q.dispatchEvent,this.getModel=U,this.updateSelections=V,this.selectionClickHandler=C,this.selectionKeyDownHandler=M,this}rr.BASE_CLASS=ke;rr.init=e=>de(`.${ke}`,rr,void 0,e);var Xr={};j(Xr,{default:()=>Tn});var Tn={};var Yr={};j(Yr,{default:()=>Cn});var Cn={};var Kr={};j(Kr,{default:()=>Bn});var Bn={};var Jr={};j(Jr,{default:()=>Nn});var Nn={};var Zr={};j(Zr,{default:()=>Pn});var Pn={};var Qr={};j(Qr,{default:()=>Vn});var Vn={};var ea={};j(ea,{default:()=>Hn});var Hn={};var ta={};j(ta,{default:()=>Fn});var Fn={};var ra={};j(ra,{default:()=>Wn});var Wn={};var aa={};j(aa,{default:()=>Xn});var Xn={};var oa={};j(oa,{default:()=>Kn});var Kn={};var ia={};j(ia,{default:()=>Zn});var Zn={};var na={};j(na,{default:()=>el});var el={};var la={};j(la,{default:()=>rl});var rl={};var sa={};j(sa,{default:()=>ol});var ol={};var da={};j(da,{default:()=>nl});var nl={};var ca={};j(ca,{default:()=>sl});var sl={};var ua={};j(ua,{default:()=>cl});var cl={};var pa={};j(pa,{default:()=>pl});var pl={};var fa={};j(fa,{default:()=>hl});var hl={};var mo={};j(mo,{default:()=>bl});var bl={};var bo="data-tooltip";function ar(e){let t=e.getAttribute(bo);function r(){return this.tooltip=to(e,{theme:"cfpb",maxWidth:450,content:function(a){let o=a.parentElement.querySelector(`#${t}`),i=document.createElement("div"),l=document.importNode(o.content,!0);return i.appendChild(l),i},plugins:[{name:"hideOnEsc",defaultValue:!0,fn({hide:a}){function o(i){i.key==="Escape"&&a()}return{onShow(){document.body.addEventListener("keydown",o)},onHide(){document.body.removeEventListener("keydown",o)}}}}]})}return this.init=r,this.tooltip=null,this}ar.BASE_ATTRIBUTE=bo;ar.init=e=>de(`[${ar.BASE_ATTRIBUTE}]`,ar,e);})();
|
|
1
|
+
(()=>{var Yr=Object.defineProperty;var zr=(e,t)=>{for(var r in t)Yr(e,r,{get:t[r],enumerable:!0})};var N="top",I="bottom",j="right",B="left",gt="auto",be=[N,I,j,B],me="start",Ae="end",Kt="clippingParents",ht="viewport",Ie="popper",Jt="reference",Dt=be.reduce(function(e,t){return e.concat([t+"-"+me,t+"-"+Ae])},[]),yt=[].concat(be,[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 u=i[f];u===!1?s.removeAttribute(f):s.setAttribute(f,u===!0?"":u)}))})}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]),u=f.reduce(function(p,l){return p[l]="",p},{});!H(i)||!U(i)||(Object.assign(i.style,u),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,u=f.visualViewport,p=!Je()&&r,l=(o.left+(p&&u?u.offsetLeft:0))/i,c=(o.top+(p&&u?u.offsetTop:0))/s,b=o.width/i,O=o.height/s;return{width:b,height:O,top:c,right:l+b,bottom:c+O,left:l,x:l,y:c}}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,be))};function so(e){var t,r=e.state,o=e.name,i=e.options,s=r.elements.arrow,f=r.modifiersData.popperOffsets,u=F(r.placement),p=De(u),l=[B,j].indexOf(u)>=0,c=l?"height":"width";if(!(!s||!f)){var b=ao(i.padding,r),O=Pe(s),g=p==="y"?N:B,x=p==="y"?I:j,h=r.rects.reference[c]+r.rects.reference[p]-f[p]-r.rects.popper[c],y=f[p]-r.rects.reference[p],T=oe(s),C=T?p==="y"?T.clientHeight||0:T.clientWidth||0:0,S=h/2-y/2,n=b[g],E=C-O[c]-b[x],m=C/2-O[c]/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 uo(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,u=e.position,p=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,b=e.isFixed,O=f.x,g=O===void 0?0:O,x=f.y,h=x===void 0?0:x,y=typeof c=="function"?c({x:g,y:h}):{x:g,y:h};g=y.x,h=y.y;var T=f.hasOwnProperty("x"),C=f.hasOwnProperty("y"),S=B,n=N,E=window;if(l){var m=oe(r),P="clientHeight",W="clientWidth";if(m===D(r)&&(m=_(r),q(m).position!=="static"&&u==="absolute"&&(P="scrollHeight",W="scrollWidth")),m=m,i===N||(i===B||i===j)&&s===Ae){n=I;var k=b&&m===E&&E.visualViewport?E.visualViewport.height:m[P];h-=k-o.height,h*=p?1:-1}if(i===B||(i===N||i===I)&&s===Ae){S=j;var M=b&&m===E&&E.visualViewport?E.visualViewport.width:m[W];g-=M-o.width,g*=p?1:-1}}var V=Object.assign({position:u},l&&fo),R=c===!0?uo({x:g,y:h},D(r)):{x:g,y:h};if(g=R.x,h=R.y,p){var L;return Object.assign({},V,(L={},L[n]=C?"0":"",L[S]=T?"0":"",L.transform=(E.devicePixelRatio||1)<=1?"translate("+g+"px, "+h+"px)":"translate3d("+g+"px, "+h+"px, 0)",L))}return Object.assign({},V,(t={},t[n]=C?h+"px":"",t[S]=T?g+"px":"",t.transform="",t))}function co(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,u=r.roundOffsets,p=u===void 0?!0:u,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:co,data:{}};var bt={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,u=f===void 0?!0:f,p=D(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&l.forEach(function(c){c.addEventListener("scroll",r.update,bt)}),u&&p.addEventListener("resize",r.update,bt),function(){s&&l.forEach(function(c){c.removeEventListener("scroll",r.update,bt)}),u&&p.removeEventListener("resize",r.update,bt)}}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 Le(e){var t=D(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function Me(e){return Z(_(e)).left+Le(e).scrollLeft}function Lt(e,t){var r=D(e),o=_(e),i=r.visualViewport,s=o.clientWidth,f=o.clientHeight,u=0,p=0;if(i){s=i.width,f=i.height;var l=Je();(l||!l&&t==="fixed")&&(u=i.offsetLeft,p=i.offsetTop)}return{width:s,height:f,x:u+Me(e),y:p}}function Mt(e){var t,r=_(e),o=Le(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),u=-o.scrollLeft+Me(e),p=-o.scrollTop;return q(i||r).direction==="rtl"&&(u+=re(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:f,x:u,y:p}}function Re(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)&&Re(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||[],Re(o)?o:[]):o,u=t.concat(f);return i?u:u.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(Lt(e,r)):Q(t)?go(t,r):$e(Mt(_(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 Rt(e,t,r,o){var i=t==="clippingParents"?ho(e):[].concat(t),s=[].concat(i,[r]),f=s[0],u=s.reduce(function(p,l){var c=ir(e,l,o);return p.top=re(c.top,p.top),p.right=Ce(c.right,p.right),p.bottom=Ce(c.bottom,p.bottom),p.left=re(c.left,p.left),p},ir(e,f,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}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,u=t.y+t.height/2-r.height/2,p;switch(i){case N:p={x:f,y:t.y-r.height};break;case I:p={x:f,y:t.y+t.height};break;case j:p={x:t.x+t.width,y:u};break;case B:p={x:t.x-r.width,y:u};break;default:p={x:t.x,y:t.y}}var l=i?De(i):null;if(l!=null){var c=l==="y"?"height":"width";switch(s){case me:p[l]=p[l]-(t[c]/2-r[c]/2);break;case Ae:p[l]=p[l]+(t[c]/2-r[c]/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,u=r.boundary,p=u===void 0?Kt:u,l=r.rootBoundary,c=l===void 0?ht:l,b=r.elementContext,O=b===void 0?Ie:b,g=r.altBoundary,x=g===void 0?!1:g,h=r.padding,y=h===void 0?0:h,T=et(typeof y!="number"?y:tt(y,be)),C=O===Ie?Jt:Ie,S=e.rects.popper,n=e.elements[x?C:O],E=Rt(Q(n)?n:n.contextElement||_(e.elements.popper),p,c,f),m=Z(e.elements.reference),P=rt({reference:m,element:S,strategy:"absolute",placement:i}),W=$e(Object.assign({},S,P)),k=O===Ie?W:m,M={top:E.top-k.top+T.top,bottom:k.bottom-E.bottom+T.bottom,left:E.left-k.left+T.left,right:k.right-E.right+T.right},V=e.modifiersData.offset;if(O===Ie&&V){var R=V[i];Object.keys(M).forEach(function(L){var G=[j,I].indexOf(L)>=0?1:-1,K=[N,I].indexOf(L)>=0?"y":"x";M[L]+=R[K]*G})}return M}function Nt(e,t){t===void 0&&(t={});var r=t,o=r.placement,i=r.boundary,s=r.rootBoundary,f=r.padding,u=r.flipVariations,p=r.allowedAutoPlacements,l=p===void 0?yt:p,c=ee(o),b=c?u?Dt:Dt.filter(function(x){return ee(x)===c}):be,O=b.filter(function(x){return l.indexOf(x)>=0});O.length===0&&(O=b);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 yo(e){if(F(e)===gt)return[];var t=Fe(e);return[xt(e),t,xt(t)]}function bo(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,u=f===void 0?!0:f,p=r.fallbackPlacements,l=r.padding,c=r.boundary,b=r.rootBoundary,O=r.altBoundary,g=r.flipVariations,x=g===void 0?!0:g,h=r.allowedAutoPlacements,y=t.options.placement,T=F(y),C=T===y,S=p||(C||!x?[Fe(y)]:yo(y)),n=[y].concat(S).reduce(function(ue,te){return ue.concat(F(te)===gt?Nt(t,{placement:te,boundary:c,rootBoundary:b,padding:l,flipVariations:x,allowedAutoPlacements:h}):te)},[]),E=t.rects.reference,m=t.rects.popper,P=new Map,W=!0,k=n[0],M=0;M<n.length;M++){var V=n[M],R=F(V),L=ee(V)===me,G=[N,I].indexOf(R)>=0,K=G?"width":"height",X=ne(t,{placement:V,boundary:c,rootBoundary:b,altBoundary:O,padding:l}),Y=G?L?j:B:L?I:N;E[K]>m[K]&&(Y=Fe(Y));var $=Fe(Y),ae=[];if(s&&ae.push(X[R]<=0),u&&ae.push(X[Y]<=0,X[$]<=0),ae.every(function(ue){return ue})){k=V,W=!1;break}P.set(V,ae)}if(W)for(var se=x?3:1,we=function(te){var ce=n.find(function(Be){var le=P.get(Be);if(le)return le.slice(0,te).every(function(ke){return ke})});if(ce)return k=ce,"break"},pe=se;pe>0;pe--){var Oe=we(pe);if(Oe==="break")break}t.placement!==k&&(t.modifiersData[o]._skip=!0,t.placement=k,t.reset=!0)}}var ar={name:"flip",enabled:!0,phase:"main",fn:bo,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[N,j,I,B].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"}),u=ne(t,{altBoundary:!0}),p=sr(f,o),l=sr(u,i,s),c=pr(p),b=pr(l);t.modifiersData[r]={referenceClippingOffsets:p,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":b})}var fr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:xo};function wo(e,t,r){var o=F(e),i=[B,N].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,f=s[0],u=s[1];return f=f||0,u=(u||0)*i,[B,j].indexOf(o)>=0?{x:u,y:f}:{x:f,y:u}}function Oo(e){var t=e.state,r=e.options,o=e.name,i=r.offset,s=i===void 0?[0,0]:i,f=yt.reduce(function(c,b){return c[b]=wo(b,t.rects,s),c},{}),u=f[t.placement],p=u.x,l=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=f}var ur={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 cr={name:"popperOffsets",enabled:!0,phase:"read",fn:Eo,data:{}};function Bt(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,u=f===void 0?!1:f,p=r.boundary,l=r.rootBoundary,c=r.altBoundary,b=r.padding,O=r.tether,g=O===void 0?!0:O,x=r.tetherOffset,h=x===void 0?0:x,y=ne(t,{boundary:p,rootBoundary:l,padding:b,altBoundary:c}),T=F(t.placement),C=ee(t.placement),S=!C,n=De(T),E=Bt(n),m=t.modifiersData.popperOffsets,P=t.rects.reference,W=t.rects.popper,k=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,M=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(m){if(s){var L,G=n==="y"?N:B,K=n==="y"?I:j,X=n==="y"?"height":"width",Y=m[n],$=Y+y[G],ae=Y-y[K],se=g?-W[X]/2:0,we=C===me?P[X]:W[X],pe=C===me?-W[X]:-P[X],Oe=t.elements.arrow,ue=g&&Oe?Pe(Oe):{width:0,height:0},te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ze(),ce=te[G],Be=te[K],le=Se(0,P[X],ue[X]),ke=S?P[X]/2-se-le-ce-M.mainAxis:we-le-ce-M.mainAxis,he=S?-P[X]/2+se+le+Be+M.mainAxis:pe+le+Be+M.mainAxis,je=t.elements.arrow&&oe(t.elements.arrow),it=je?n==="y"?je.clientTop||0:je.clientLeft||0:0,Xe=(L=V==null?void 0:V[n])!=null?L:0,at=Y+ke-Xe-it,st=Y+he-Xe,Ye=Se(g?Ce($,at):$,Y,g?re(ae,st):ae);m[n]=Ye,R[n]=Ye-Y}if(u){var ze,pt=n==="x"?N:B,ft=n==="x"?I:j,de=m[E],ye=E==="y"?"height":"width",qe=de+y[pt],Ee=de-y[ft],Ge=[N,B].indexOf(T)!==-1,ut=(ze=V==null?void 0:V[E])!=null?ze:0,ct=Ge?qe:de-P[ye]-W[ye]-ut+M.altAxis,lt=Ge?de+P[ye]+W[ye]-ut-M.altAxis:Ee,dt=g&&Ge?er(ct,de,lt):Se(g?ct:qe,de,g?lt:Ee);m[E]=dt,R[E]=dt-de}t.modifiersData[o]=R}}var lr={name:"preventOverflow",enabled:!0,phase:"main",fn:To,requiresIfExists:["offset"]};function kt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jt(e){return e===D(e)||!H(e)?Le(e):kt(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),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!r)&&((U(t)!=="body"||Re(s))&&(u=jt(t)),H(t)?(p=Z(t,!0),p.x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=Me(s))),{x:f.left+u.scrollLeft-p.x,y:f.top+u.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(u){if(!r.has(u)){var p=t.get(u);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(u,p,l){l===void 0&&(l=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},dr,s),modifiersData:{},elements:{reference:u,popper:p},attributes:{},styles:{}},b=[],O=!1,g={state:c,setOptions:function(T){var C=typeof T=="function"?T(c.options):T;h(),c.options=Object.assign({},s,c.options,C),c.scrollParents={reference:Q(u)?xe(u):u.contextElement?xe(u.contextElement):[],popper:xe(p)};var S=Vt(Ht([].concat(o,c.options.modifiers)));return c.orderedModifiers=S.filter(function(n){return n.enabled}),x(),g.update()},forceUpdate:function(){if(!O){var T=c.elements,C=T.reference,S=T.popper;if(mr(C,S)){c.rects={reference:Wt(C,oe(S),c.options.strategy==="fixed"),popper:Pe(S)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(M){return c.modifiersData[M.name]=Object.assign({},M.data)});for(var n=0;n<c.orderedModifiers.length;n++){if(c.reset===!0){c.reset=!1,n=-1;continue}var E=c.orderedModifiers[n],m=E.fn,P=E.options,W=P===void 0?{}:P,k=E.name;typeof m=="function"&&(c=m({state:c,options:W,name:k,instance:g})||c)}}}},update:It(function(){return new Promise(function(y){g.forceUpdate(),y(c)})}),destroy:function(){h(),O=!0}};if(!mr(u,p))return g;g.setOptions(l).then(function(y){!O&&l.onFirstUpdate&&l.onFirstUpdate(y)});function x(){c.orderedModifiers.forEach(function(y){var T=y.name,C=y.options,S=C===void 0?{}:C,n=y.effect;if(typeof n=="function"){var E=n({state:c,name:T,instance:g,options:S}),m=function(){};b.push(E||m)}})}function h(){b.forEach(function(y){return y()}),b=[]}return g}}var Po=[nr,cr,or,Ke,ur,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",Ne={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 Lo(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 Mo(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Ro(e){return e.split("-")[0]}function Et(e){return[].slice.call(e)}function yr(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 No(e){return qt(e,"NodeList")}function Bo(e){return qt(e,"MouseEvent")}function ko(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function jo(e){return Tt(e)?[e]:No(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 br(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,u=i.props,p=u.interactiveBorder,l=Ro(f.placement),c=f.modifiersData.offset;if(!c)return!0;var b=l==="bottom"?c.top.y:0,O=l==="top"?c.bottom.y:0,g=l==="right"?c.left.x:0,x=l==="left"?c.right.x:0,h=s.top-o+b>p,y=o-s.bottom-O>p,T=s.left-r+g>p,C=r-s.right-x>p;return h||y||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",Lr))}function Lr(){var e=performance.now();e-wr<20&&(fe.isTouch=!1,document.removeEventListener("mousemove",Lr)),wr=e}function Ho(){var e=document.activeElement;if(ko(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Uo(){document.addEventListener("touchstart",Io,Ne),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},Xo={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,Xo),Yo=Object.keys(ie),zo=function(t){var r=Object.keys(t);r.forEach(function(o){ie[o]=t[o]})};function Mr(e){var t=e.plugins||[],r=t.reduce(function(o,i){var s=i.name,f=i.defaultValue;if(s){var u;o[s]=e[s]!==void 0?e[s]:(u=ie[s])!=null?u:f}return o},{});return Object.assign({},e,r)}function qo(e,t){var r=t?Object.keys(Mr(Object.assign({},ie,{plugins:t}))):Yo,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(u){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 Yt(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):Yt(t,e)),t}function Tr(e,t){Tt(t.content)?(Yt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Yt(e,t.content):e.textContent=t.content)}function zt(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 Rr(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 u=zt(t),p=u.box,l=u.content,c=u.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?c?s.arrow!==f.arrow&&(p.removeChild(c),p.appendChild(Er(f.arrow))):p.appendChild(Er(f.arrow)):c&&p.removeChild(c)}return{popper:t,onUpdate:i}}Rr.$$tippy=!0;var Ko=1,Ot=[],Xt=[];function Jo(e,t){var r=Or(e,Object.assign({},ie,Mr(yr(t)))),o,i,s,f=!1,u=!1,p=!1,l=!1,c,b,O,g=[],x=gr(at,r.interactiveDebounce),h,y=Ko++,T=null,C=Mo(r.plugins),S={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},n={id:y,reference:e,popper:ot(),popperInstance:T,props:r,state:S,plugins:C,clearDelayTimeouts:ct,setProps:lt,setContent:dt,show:Hr,hide:Ur,hideWithInteractivity:Fr,enable:Ge,disable:ut,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)}),k=e.hasAttribute("aria-expanded");return je(),se(),Y(),$("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 M(){var a=n.props.touch;return Array.isArray(a)?a:[a,0]}function V(){return M()[0]==="hold"}function R(){var a;return!!((a=n.props.render)!=null&&a.$$tippy)}function L(){return h||e}function G(){var a=L().parentNode;return a?Wo(a):document}function K(){return zt(m)}function X(a){return n.state.isMounted&&!n.state.isVisible||fe.isTouch||c&&c.type==="focus"?0:Ft(n.props.delay,a?0:1,ie.delay)}function Y(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 z=w.getAttribute(d);if(n.state.isVisible)w.setAttribute(d,z?z+" "+v:v);else{var J=z&&z.replace(v,"").trim();J?w.setAttribute(d,J):w.removeAttribute(d)}})}}function se(){if(!(k||!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===L()?"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(),u=!0,setTimeout(function(){u=!1}),n.state.isMounted||ce())}}}function Oe(){p=!0}function ue(){p=!1}function te(){var a=G();a.addEventListener("mousedown",pe,!0),a.addEventListener("touchend",pe,Ne),a.addEventListener("touchstart",ue,Ne),a.addEventListener("touchmove",Oe,Ne)}function ce(){var a=G();a.removeEventListener("mousedown",pe,!0),a.removeEventListener("touchend",pe,Ne),a.removeEventListener("touchstart",ue,Ne),a.removeEventListener("touchmove",Oe,Ne)}function Be(a,d){ke(a,function(){!n.state.isVisible&&m.parentNode&&m.parentNode.contains(m)&&d()})}function le(a,d){ke(a,d)}function ke(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",b),_t(v,"add",A),b=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 je(){V()&&(he("touchstart",Xe,{passive:!0}),he("touchend",st,{passive:!0})),Lo(n.props.trigger).forEach(function(a){if(a!=="manual")switch(he(a,Xe),a){case"mouseenter":he("mouseleave",st);break;case"focus":he($o?"focusout":"blur",Ye);break;case"focusin":he("focusout",Ye);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 Xe(a){var d,v=!1;if(!(!n.state.isEnabled||ze(a)||u)){var A=((d=c)==null?void 0:d.type)==="focus";c=a,h=a.currentTarget,se(),!n.state.isVisible&&Bo(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=L().contains(d)||m.contains(d);if(!(a.type==="mousemove"&&v)){var A=ye().concat(m).map(function(w){var z,J=w._tippy,We=(z=J.popperInstance)==null?void 0:z.state;return We?{popperRect:w.getBoundingClientRect(),popperState:We,props:r}:null}).filter(Boolean);Vo(A,a)&&(we(),Ee(a))}}function st(a){var d=ze(a)||n.props.trigger.indexOf("click")>=0&&f;if(!d){if(n.props.interactive){n.hideWithInteractivity(a);return}Ee(a)}}function Ye(a){n.props.trigger.indexOf("focusin")<0&&a.target!==L()||n.props.interactive&&a.relatedTarget&&m.contains(a.relatedTarget)||Ee(a)}function ze(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,z=a.moveTransition,J=R()?zt(m).arrow:null,We=w?{getBoundingClientRect:w,contextElement:w.contextElement||L()}:e,Gt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(mt){var Ve=mt.state;if(R()){var Xr=K(),Pt=Xr.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:!z}},Gt];R()&&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=L();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 ye(){return Et(m.querySelectorAll("[data-tippy-root]"))}function qe(a){n.clearDelayTimeouts(),a&&$("onTrigger",[n,a]),te();var d=X(!0),v=M(),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){ce();return}if(!(n.props.trigger.indexOf("mouseenter")>=0&&n.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(a.type)>=0&&f)){var d=X(!1);d?i=setTimeout(function(){n.state.isVisible&&n.hide()},d):s=requestAnimationFrame(function(){n.hide()})}}function Ge(){n.state.isEnabled=!0}function ut(){n.hide(),n.state.isEnabled=!1}function ct(){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,yr(a),{ignoreAttributes:!0}));n.props=v,je(),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(),Y(),P&&P(d,v),n.popperInstance&&(pt(),ye().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)&&!L().hasAttribute("disabled")&&($("onShow",[n],!1),n.props.onShow(n)!==!1)){if(n.state.isVisible=!0,R()&&(m.style.visibility="visible"),Y(),te(),n.state.isMounted||(m.style.transition="none"),R()){var z=K(),J=z.box,We=z.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,R()&&n.props.animation){var Ct=K(),mt=Ct.box,Ve=Ct.content;$t([mt,Ve],w),br([mt,Ve],"visible")}ae(),se(),hr(Xt,n),(Te=n.popperInstance)==null||Te.forceUpdate(),$("onMount",[n]),n.props.animation&&R()&&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,R()&&(m.style.visibility="hidden"),we(),ce(),Y(!0),R()){var w=K(),z=w.box,J=w.content;n.props.animation&&($t([z,J],A),br([z,J],"hidden"))}ae(),se(),n.props.animation?R()&&Be(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(),ye().forEach(function(a){a._tippy.unmount()}),m.parentNode&&m.parentNode.removeChild(m),Xt=Xt.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=jo(e);if(0)var s,f;var u=i.reduce(function(p,l){var c=l&&Jo(l,o);return c&&p.push(c),p},[]);return Tt(e)?u[0]:u}nt.defaultProps=ie;nt.setDefaultProps=zo;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:Rr});var Nr=nt;var Br="data-js-hook";var kr="state_";function jr(e,t){if(!e)return!1;let r=e.getAttribute(Br);return r?(r=r.split(" "),r.indexOf(t)>-1):!1}var Qo=kr+"atomic_init";function Wr(e,t,r,o={}){let s=(r||document).querySelectorAll(e),f=[],u,p;for(let l=0,c=s.length;l<c;l++)p=s[l],jr(p,Qo)===!1&&(u=new t(p),u.init(o),f.push(u));return f}var Vr={};zr(Vr,{default:()=>en});var en={};var Ir="data-tooltip";function At(e){let t=e.getAttribute(Ir);function r(){return this.tooltip=Nr(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
|