@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.
Files changed (70) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/dist/base/index.css +1 -1
  3. package/dist/base/index.css.map +2 -2
  4. package/dist/base/index.js +1 -1
  5. package/dist/base/index.js.map +1 -1
  6. package/dist/components/cfpb-buttons/index.css +1 -1
  7. package/dist/components/cfpb-buttons/index.css.map +2 -2
  8. package/dist/components/cfpb-buttons/index.js +1 -1
  9. package/dist/components/cfpb-buttons/index.js.map +1 -1
  10. package/dist/components/cfpb-expandables/index.css +1 -2
  11. package/dist/components/cfpb-expandables/index.css.map +3 -3
  12. package/dist/components/cfpb-expandables/index.js +1 -1
  13. package/dist/components/cfpb-expandables/index.js.map +4 -4
  14. package/dist/components/cfpb-forms/index.css +1 -2
  15. package/dist/components/cfpb-forms/index.css.map +3 -3
  16. package/dist/components/cfpb-forms/index.js +1 -1
  17. package/dist/components/cfpb-forms/index.js.map +4 -4
  18. package/dist/components/cfpb-icons/index.css +1 -1
  19. package/dist/components/cfpb-icons/index.css.map +2 -2
  20. package/dist/components/cfpb-icons/index.js +1 -1
  21. package/dist/components/cfpb-icons/index.js.map +1 -1
  22. package/dist/components/cfpb-layout/index.css +1 -1
  23. package/dist/components/cfpb-layout/index.css.map +2 -2
  24. package/dist/components/cfpb-layout/index.js +1 -1
  25. package/dist/components/cfpb-layout/index.js.map +1 -1
  26. package/dist/components/cfpb-notifications/index.css +1 -1
  27. package/dist/components/cfpb-notifications/index.css.map +2 -2
  28. package/dist/components/cfpb-notifications/index.js +1 -1
  29. package/dist/components/cfpb-notifications/index.js.map +1 -1
  30. package/dist/components/cfpb-pagination/index.css +1 -1
  31. package/dist/components/cfpb-pagination/index.css.map +2 -2
  32. package/dist/components/cfpb-pagination/index.js +1 -1
  33. package/dist/components/cfpb-pagination/index.js.map +1 -1
  34. package/dist/components/cfpb-tables/index.css +1 -1
  35. package/dist/components/cfpb-tables/index.css.map +2 -2
  36. package/dist/components/cfpb-tables/index.js +1 -1
  37. package/dist/components/cfpb-tables/index.js.map +1 -1
  38. package/dist/components/cfpb-tooltips/index.css +1 -2
  39. package/dist/components/cfpb-tooltips/index.css.map +3 -3
  40. package/dist/components/cfpb-tooltips/index.js +1 -1
  41. package/dist/components/cfpb-tooltips/index.js.map +4 -4
  42. package/dist/components/cfpb-typography/index.css +1 -1
  43. package/dist/components/cfpb-typography/index.css.map +2 -2
  44. package/dist/components/cfpb-typography/index.js +1 -1
  45. package/dist/components/cfpb-typography/index.js.map +1 -1
  46. package/dist/elements/cfpb-button/index.js +30 -0
  47. package/dist/elements/cfpb-button/index.js.map +7 -0
  48. package/dist/elements/cfpb-file-upload/index.js +39 -0
  49. package/dist/elements/cfpb-file-upload/index.js.map +7 -0
  50. package/dist/index.css +1 -1
  51. package/dist/index.css.map +2 -2
  52. package/dist/index.js +39 -1
  53. package/dist/index.js.map +4 -4
  54. package/dist/utilities/index.css +1 -2
  55. package/dist/utilities/index.css.map +3 -3
  56. package/dist/utilities/index.js +1 -1
  57. package/dist/utilities/index.js.map +4 -4
  58. package/package.json +1 -1
  59. package/src/components/cfpb-forms/tag.scss +2 -1
  60. package/src/components/cfpb-tooltips/index.js +1 -1
  61. package/src/elements/cfpb-button/cfpb-button.component.scss +8 -0
  62. package/src/elements/cfpb-button/index.js +53 -0
  63. package/src/elements/cfpb-file-upload/cfpb-file-upload.component.scss +14 -0
  64. package/src/elements/cfpb-file-upload/index.js +81 -0
  65. package/src/index.js +3 -0
  66. package/src/utilities/behavior/behavior.js +2 -1
  67. package/src/utilities/behavior/flyout-menu.js +4 -7
  68. package/src/utilities/transition/alpha-transition.js +2 -1
  69. package/src/utilities/transition/max-height-transition.js +2 -1
  70. package/src/utilities/transition/move-transition.js +2 -1
package/dist/index.js CHANGED
@@ -1,2 +1,40 @@
1
- (()=>{var pr=Object.defineProperty;var hr=Object.getOwnPropertySymbols;var jr=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable;var br=(e,r,a)=>r in e?pr(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,we=(e,r)=>{for(var a in r||(r={}))jr.call(r,a)&&br(e,a,r[a]);if(hr)for(var a of hr(r))Tr.call(r,a)&&br(e,a,r[a]);return e};var m=(e,r)=>{for(var a in r)pr(e,a,{get:r[a],enumerable:!0})};var le={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};var ke={};m(ke,{default:()=>zr});var zr={};var Se={};m(Se,{default:()=>Br});var Br={};var Ee={};m(Ee,{default:()=>Nr});var Nr={};var Le={};m(Le,{default:()=>Cr});var Cr={};var De={};m(De,{default:()=>Fr});var Fr={};var Ae={};m(Ae,{default:()=>Vr});var Vr={};function de(){let e=getComputedStyle(document.body).fontSize;return e=e===""?-1:e,parseFloat(e)}function Gr(e,r){let a=e.min,i=e.max;de()>0&&de()!==16&&(a=a/16*de(),i=i/16*de());let t=a||0,l=i||Number.POSITIVE_INFINITY;return t<=r&&r<=l}function Rr(e){let r={};e=e||window.innerWidth;let a;for(a in le)r[a]=Gr(le[a],e);return r}var ce="mobile",Ur="tablet",Pr="desktop";function je(e){let r=!1,a=Rr();return(e===ce&&a.bpXS||e===Ur&&a.bpSM||e===Pr&&(a.bpMED||a.bpLG||a.bpXL))&&(r=!0),r}var I="data-js-hook",Z="behavior_",Te="state_";function D(){let e={};function r(o,t){return{}.hasOwnProperty.call(e,o)?e[o].push(t):e[o]=[t],this}function a(o,t){if(!{}.hasOwnProperty.call(e,o))return this;let l=e[o].indexOf(t);return l!==-1&&e[o].splice(l,1),this}function i(o,t){if(!{}.hasOwnProperty.call(e,o))return this;t=t||{};let l=e[o];for(let c=0,s=l.length;c<s;c++)l[c].call(this,t);return this}return this.addEventListener=r,this.removeEventListener=a,this.dispatchEvent=i,this.getRegisteredEvents=()=>e,this}function Y(e,r){if(!e)return!1;let a=e.getAttribute(I);return a?(a=a.split(" "),a.indexOf(r)>-1):!1}function A(e,r){if(Y(e,r))return r;if(r.indexOf(" ")!==-1){let i=I+" values cannot contain spaces!";throw new Error(i)}let a=e.getAttribute(I);return a!==null&&(r=a+" "+r),e.setAttribute(I,r),r}var Oe=Te+"atomic_init";function Xr(e,r){if(!e||!e.classList){let a=e+' is not valid. Check that element is a DOM node with class "'+r+'"';throw new Error(a)}return e}function Kr(e,r){let a=e.classList.contains(r)?e:e.querySelector("."+r);if(!a){let i=r+" not found on or in passed DOM node.";throw new Error(i)}return a}function q(e,r){return Xr(e,r),Kr(e,r)}function M(e){return Y(e,Oe)?!1:(A(e,Oe),!0)}function C(e,r,a,i={}){let t=(a||document).querySelectorAll(e),l=[],c,s;for(let b=0,u=t.length;b<u;b++)s=t[b],Y(s,Oe)===!1&&(c=new r(s),c.init(i),l.push(c));return l}function mr(e,r){r=r||document;let a=[];try{a=r.querySelectorAll(e)}catch(i){let o=`${e} not found in DOM! ${i}`;throw new Error(o)}return a.length===0&&e.indexOf(Z)===-1&&(a=fr(e,r)),a}function Jr(e,r,a,i){let o=[];e instanceof NodeList?o=e:e instanceof Node?o=[e]:typeof e=="string"&&(o=mr(e,i));for(let t=0,l=o.length;t<l;t++)o[t].addEventListener(r,a,!1);return o}function se(e,r){let a;if(Y(e,r))return a=e,a;if(e){let i="["+I+"="+r+"]";a=e.querySelector(i)}if(!a){let i=r+" behavior not found on passed DOM node!";throw new Error(i)}return a}function fr(e,r){return e=I+"*="+Z+e,e="["+e+"]",mr(e,r)}var re=Object.prototype.toString;function gr(e){return typeof e=="undefined"}function Yr(e){return typeof e!="undefined"}function Wr(e){return e!==null&&typeof e=="object"}function vr(e){return re.call(e)==="[object String]"}function Zr(e){return re.call(e)==="[object Number]"}function Qr(e){return re.call(e)==="[object Date]"}var ea=Array.isArray||function(r){return re.call(r)==="[object Array]"};function ra(e){return re.call(e)==="[object Function]"}function aa(e){return gr(e)||e===null||vr(e)&&e.length<=0||/^\s*$/.test(e)}function ze(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var ae=Z+"flyout-menu",ta="["+I+"="+ae;function P(e,r=!0){let a=se(e,ae),i=H(e),o=se(e,ae+"_content"),t=0,l=0,c=1,s=2,b=3,u,g,v,x=W.bind(this),j=R.bind(this),S,E=!0,T=!1;function H(n){let d=[],h=n.querySelectorAll(`${ta}_trigger]`),p,k,U;for(let V=h.length>>>0;V--;){for(U=!1,p=h[V],k=p.parentElement;k!==n;)k.getAttribute(I)&&k.getAttribute(I).split(" ").indexOf(ae)!==-1?(U=!0,k=n):k=k.parentElement;U||d.unshift(h[V])}return d}function G(n=!1){return t=n?b:l,i.forEach(d=>{z("expanded",d,n),d.addEventListener("click",y.bind(this)),d.addEventListener("touchstart",f,{passive:!0}),d.addEventListener("mouseover",w.bind(this)),d.addEventListener("mouseout",L.bind(this))}),o.setAttribute("data-open",n?"true":"false"),r&&!n&&o.setAttribute("hidden",""),ne(),this}function z(n,d,h){let p=String(h);return d.setAttribute("aria-"+n,p),p}function f(){T=!0}function w(n){E||(T||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),T=!1)}function L(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function y(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),t){case l:case c:this.expand();break;case s:case b:this.collapse();break}}function O(){if(u==null||u.halt(),t===s||t===b)return this;if(t=s,r&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!g||!v)return j(),this;let n=u==null?void 0:u.isAnimated();return n&&u.addEventListener(_.END_EVENT,j),g(),n||j(),this}function N(){if(u==null||u.halt(),t===c||t===l)return this;for(let d=0,h=i.length;d<h;d++)z("expanded",i[d],!1);if(o.setAttribute("data-open","false"),t=c,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!v||!g)return x(),this;let n=u==null?void 0:u.isAnimated();return n&&u.addEventListener(_.END_EVENT,x),v(),n||x(),this}function R(){t=b,o.setAttribute("data-open","true"),u&&u.removeEventListener(_.END_EVENT,j),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,d=i.length;n<d;n++)z("expanded",i[n],!0)}function W(){t=l,r&&o.setAttribute("hidden",""),u&&u.removeEventListener(_.END_EVENT,x),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function ie(n,d,h){u=n,d&&d!==v&&(v=d),h&&h!==g&&(g=h)}function ve(){u&&u.remove();let n;u=n,g=n,v=n}function ye(){return{container:a,content:o,trigger:i}}function ne(){return E&&(E=!1),!E}function xe(){return E||(E=!0),E}function _e(n){return S=n,this}let J=new D;return this.addEventListener=J.addEventListener,this.removeEventListener=J.removeEventListener,this.dispatchEvent=J.dispatchEvent,this.init=G,this.expand=O,this.collapse=N,this.setTransition=ie,this.clearTransition=ve,this.getData=()=>S,this.getTransition=()=>u,this.getDom=ye,this.isAnimating=()=>t===s||t===c,this.isExpanded=()=>t===b,this.resume=ne,this.setData=_e,this.suspend=xe,P.BASE_CLASS=ae,this}var ue={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function yr(e){let r=new D,a=new _(e,ue,this);function i(l){return a.init(l),this}function o(){return a.applyClass(ue.ALPHA_100),this}function t(){return a.applyClass(ue.ALPHA_0),this}return this.addEventListener=r.addEventListener,this.dispatchEvent=r.dispatchEvent,this.removeEventListener=r.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.remove=a.remove,this.setElement=a.setElement,this.fadeIn=o,this.fadeOut=t,this.init=i,this}yr.CLASSES=ue;function _(e,r,a){let i=r,o=e;if(!a)throw new Error("Child transition argument must be defined!");let t=a,l,c,s,b=!1,u=!1,g=!1;if(typeof i.CSS_PROPERTY=="undefined"||typeof i.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function v(){c&&b?(o.addEventListener(c,s),t.dispatchEvent(_.BEGIN_EVENT,{target:t,type:_.BEGIN_EVENT}),o.classList.add(_.ANIMATING_CLASS),u=!0):(t.dispatchEvent(_.BEGIN_EVENT,{target:t,type:_.BEGIN_EVENT}),s())}function x(){o.removeEventListener(c,s)}function j(y){return y&&y.propertyName!==i.CSS_PROPERTY?!1:(x(),o.classList.remove(_.ANIMATING_CLASS),t.dispatchEvent(_.END_EVENT,{target:t,type:_.END_EVENT}),u=!1,!0)}function S(){let y;for(y in i)({}).hasOwnProperty.call(i,y)&&i[y]!==i.BASE_CLASS&&o.classList.contains(i[y])&&o.classList.remove(i[y])}function E(){u&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(c,s),s(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function T(){E(),S(),o.classList.remove(i.BASE_CLASS)}function H(){o.classList.remove(_.NO_ANIMATION_CLASS),b=!0}function G(){o.classList.add(_.NO_ANIMATION_CLASS),b=!1}function z(y){if(!y){let W="Element does not have TransitionEnd event. It may be null!";throw new Error(W)}let O,N={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},R;for(R in N)if({}.hasOwnProperty.call(N,R)&&typeof y.style[R]!="undefined"){O=N[R];break}return O}function f(y){T(),H(),o=y,o.classList.add(i.BASE_CLASS),c=z(o)}function w(y){if(b=!o.classList.contains(_.NO_ANIMATION_CLASS),s=j.bind(this),f(o),!y)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(y),this}function L(y){return g||(S(),g=!0),o.classList.contains(y)?!1:(x(),o.classList.remove(l),l=y,v(),o.classList.add(l),!0)}return this.animateOff=G,this.animateOn=H,this.applyClass=L,this.halt=E,this.init=w,this.isAnimated=()=>b,this.remove=T,this.setElement=f,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var te={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 B(e){let r=new D,a=new _(e,te,this),i=0;function o(){let v=e.scrollHeight+"px";e.style.maxHeight=v}function t(){window.removeEventListener("load",t),o()}function l(g){return a.init(g),window.addEventListener("load",t),window.addEventListener("resize",()=>{o()}),this}function c(){return o(),a.applyClass(te.MH_DEFAULT),(!i||e.scrollHeight>i)&&(i=e.scrollHeight),this}function s(){return a.applyClass(te.MH_SUMMARY),i=e.scrollHeight,this}function b(){return a.applyClass(te.MH_ZERO),i=e.scrollHeight,this}function u(){return e.style.maxHeight="",a.remove()}return this.addEventListener=r.addEventListener,this.dispatchEvent=r.dispatchEvent,this.removeEventListener=r.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.refresh=o,this.remove=u,this.init=l,this.maxHeightDefault=c,this.maxHeightSummary=s,this.maxHeightZero=b,this}B.CLASSES=te;var X={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 xr(e){let r=new D,a=new _(e,X,this);function i(s){return a.init(s),this}function o(){return a.applyClass(X.MOVE_TO_ORIGIN),this}function t(s){s=s||1;let b=[X.MOVE_LEFT,X.MOVE_LEFT_2X,X.MOVE_LEFT_3X];return a.applyClass(b[s-1]),this}function l(){return a.applyClass(X.MOVE_RIGHT),this}function c(){return a.applyClass(X.MOVE_UP),this}return this.addEventListener=r.addEventListener,this.dispatchEvent=r.dispatchEvent,this.removeEventListener=r.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.remove=a.remove,this.init=i,this.moveLeft=()=>t(1),this.moveLeft2=()=>t(2),this.moveLeft3=()=>t(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=c,this}xr.CLASSES=X;var Ie={};m(Ie,{default:()=>na});var na={};var Q="o-expandable";function K(e){let r=q(e,Q),a,i,o,t,l;function c(){if(!M(r))return this;a=r.querySelector(`.${Q}__header`),i=r.querySelector(`.${Q}__content`),o=r.querySelector(`.${Q}__label`);let u=r.classList.contains(`${Q}--onload-open`);A(r,"behavior_flyout-menu"),A(a,"behavior_flyout-menu_trigger"),A(i,"behavior_flyout-menu_content");let g=u?B.CLASSES.MH_DEFAULT:B.CLASSES.MH_ZERO;return t=new B(i).init(g),l=new P(r),l.setTransition(t,t.maxHeightZero,t.maxHeightDefault),l.init(u),l.addEventListener("expandbegin",()=>{i.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{i.classList.add("u-hidden")}),this}function s(){return o.textContent.trim()}this.init=c,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=s;let b=new D;return this.addEventListener=b.addEventListener,this.removeEventListener=b.removeEventListener,this.dispatchEvent=b.dispatchEvent,this}K.BASE_CLASS=Q;K.init=e=>C(`.${K.BASE_CLASS}`,K,e);var Be={};m(Be,{default:()=>da});var da={};var he="o-expandable-group";function be(e){let r=q(e,he),a=r.classList.contains(`${he}--accordion`),i,o;function t(c){let s=c.target;o&&o!==s&&o.collapse(),o=s}function l(c){return M(r)?(a&&(i=c,i.forEach(s=>{s.addEventListener("expandbegin",t)})),this):this}return this.init=l,this}be.BASE_CLASS=he;be.init=e=>{(e||document).querySelectorAll(`.${he}`).forEach(i=>{let o=C(`.${K.BASE_CLASS}`,K,i);new be(i).init(o)})};var Me={};m(Me,{default:()=>sa});var sa={};var ee="o-summary";function pe(e){let r=q(e,ee),a=r.classList.contains(`${ee}--mobile`),i=r.querySelector(`.${ee}__content`),o=r.querySelector(`.${ee}__btn`),t,l,c;function s(){return M(r)?(window.addEventListener("load",b),this):this}function b(){window.removeEventListener("load",b),c=!x(),A(r,"behavior_flyout-menu"),A(i,"behavior_flyout-menu_content"),A(o,"behavior_flyout-menu_trigger"),l=new P(r,!1),t=new B(i),t.init(c?B.CLASSES.MH_SUMMARY:B.CLASSES.MH_DEFAULT),l.setTransition(t,t.maxHeightSummary,t.maxHeightDefault),l.addEventListener("triggerclick",j),l.init(),v(),window.addEventListener("resize",v),"onorientationchange"in window&&window.addEventListener("orientationchange",v),r.addEventListener("focusin",u),i.addEventListener("click",g)}function u(f){!c&&f.target!==o&&(o.click(),r.removeEventListener("focusin",u))}function g(f){f.target.tagName!=="A"&&l.isExpanded()&&t.refresh()}function v(){x()?G():H()}function x(){return a&&!je(ce)||i.scrollHeight<=88}function j(){l.addEventListener("expandend",S)}function S(){T(),window.removeEventListener("resize",v),window.removeEventListener("orientationchange",v),l.removeEventListener("expandend",S),l.suspend(),t.remove()}function E(){o.classList.remove("u-hidden")}function T(){o.classList.add("u-hidden")}function H(){return c&&(l.collapse(),t.animateOn(),E(),c=!1),!c}function G(){return c||(t.animateOff(),l.expand(),T(),c=!0),c}let z=new D;return this.addEventListener=z.addEventListener,this.removeEventListener=z.removeEventListener,this.dispatchEvent=z.dispatchEvent,this.init=s,this}pe.BASE_CLASS=ee;pe.init=e=>C(`.${ee}`,pe,e);var oe="o-summary-minimal";function me(e){let r=q(e,oe),a=r.querySelector(`.${oe}__content`),i=r.querySelector(`.${oe}__btn`),o,t;function l(){return M(r)?(A(r,"behavior_flyout-menu"),A(a,"behavior_flyout-menu_content"),A(i,"behavior_flyout-menu_trigger"),window.addEventListener("load",c),this):this}function c(){window.removeEventListener("load",c),t=new P(r,!1),o=new B(a),o.init(B.CLASSES.MH_SUMMARY),t.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),t.init(),r.addEventListener("focusin",s),a.addEventListener("click",b),t.collapse(),o.animateOn()}function s(g){g.target!==i&&(i.click(),r.removeEventListener("focusin",s))}function b(g){g.target.tagName!=="A"&&t.isExpanded()&&o.refresh()}let u=new D;return this.addEventListener=u.addEventListener,this.removeEventListener=u.removeEventListener,this.dispatchEvent=u.dispatchEvent,this.init=l,this}me.BASE_CLASS=oe;me.init=e=>C(`.${oe}`,me,e);var Ne={};m(Ne,{default:()=>ba});var ba={};var qe={};m(qe,{default:()=>ma});var ma={};var Ce={};m(Ce,{default:()=>ga});var ga={};var $e={};m($e,{default:()=>ya});var ya={};var Fe={};m(Fe,{default:()=>_a});var _a={};var He={};m(He,{default:()=>ka});var ka={};var Ve={};m(Ve,{default:()=>Ea});var Ea={};var Ge={};m(Ge,{default:()=>Da});var Da={};var Re={};m(Re,{default:()=>ja});var ja={};var Ta;function Oa(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function za(e,r){return RegExp(Oa(r.trim()),"i").test(e)}function Ia(e,r,a){let i=e,o=r,t=(a==null?void 0:a.maxSelections)||5,l=[],c=[],s=[],b=[],u=-1;function g(f){return o+"-"+f.value.trim().replace(/\s+/g,"-").toLowerCase()}function v(){return c.length>=t}function x(f){let w,L=[],y=!1;for(let O=0,N=f.length;O<N;O++)w=f[O],y=v()?!1:w.defaultSelected,L.push({id:g(w),value:w.value,text:w.text,checked:y}),y&&c.push(O);return L}function j(){return l=x(i),this}function S(f){return l[f].checked=!l[f].checked,c.length<t&&l[f].checked?(c.push(f),c.sort(),!0):(l[f].checked=!1,c=c.filter(function(w){return w!==f}),!1)}function E(f,w,L,y){return za(w.text,y)&&f.push(L),f}function T(f){return Object.prototype.toString.call(f)!=="[object String]"&&(f=""),b=s,l.length>0&&(s=l.reduce(function(w,L,y){return E(w,L,y,f)},[])),u=-1,s}function H(f){return l[f]}function G(f){let w=s.length,L=w===0?l.length:w;f<0?u=-1:f>=L?u=L-1:u=f}function z(){return u}return this.init=j,this.toggleOption=S,this.getSelectedIndices=function(){return c},this.isAtMaxSelections=v,this.filterIndices=T,this.clearFilter=function(){return s=b=[],Ta},this.getFilterIndices=function(){return s},this.getLastFilterIndices=function(){return b},this.getIndex=z,this.setIndex=G,this.resetIndex=function(){return u=-1,u},this.getOption=H,this}var _r=Ia;function $(e,r,a){let i=document.createElement(e);return Object.keys(a).forEach(o=>{let t=a[o];o in i?i[o]=t:i.setAttribute(o,t)}),r&&r.appendChild(i),i}var wr='<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 Ca=wr,F="o-multiselect",$a="a-checkbox",Fa="a-text-input",kr="prev",fe="next",Ue="Enter",Ha=" ",Sr="Escape",Va="ArrowUp",Er="ArrowDown",Lr="Tab",Dr={renderTags:!0,maxSelections:5};function ge(e){e.classList.add(F);let r=q(e,F),a=!1,i,o,t,l,c,s,b,u,g,v,x,j=[],S;function E(){x.classList.remove("u-no-results"),x.classList.add("u-filtered");let n=t.getLastFilterIndices();for(let d=0,h=n.length;d<h;d++)j[n[d]].classList.remove("u-filter-match");n=t.getFilterIndices();for(let d=0,h=n.length;d<h;d++)j[n[d]].classList.add("u-filter-match")}function T(){x.classList.remove("u-filtered","u-no-results");for(let n=0,d=x.children.length;n<d;n++)x.children[n].classList.remove("u-filter-match");t.clearFilter()}function H(){x.classList.add("u-no-results"),x.classList.remove("u-filtered")}function G(n){return n.length>0?(E(),!0):(H(),!1)}function z(n){T(),t.resetIndex();let d=t.filterIndices(n);G(d)}function f(){return s.classList.add("u-active"),v.classList.remove("u-invisible"),v.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return s.classList.remove("u-active"),v.classList.add("u-invisible"),v.setAttribute("aria-hidden",!0),t.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function L(n){n===fe?t.setIndex(t.getIndex()+1):n===kr&&t.setIndex(t.getIndex()-1);let d=t.getIndex();if(d>-1){let h=d,p=t.getFilterIndices();p.length>0&&(h=p[d]);let U=t.getOption(h).value,Ar=x.querySelector('[data-option="'+U+'"]').querySelector("input");a=!0,Ar.focus()}else a=!1,g.focus()}function y(){g.value="",T()}function O(n){let d=n.target;d.tagName==="BUTTON"&&(n.preventDefault(),d.removeEventListener("click",O),d.querySelector("label").click())}function N(n){if(n.key===Ha||n.key===Ue){let d=n.target.querySelector("label");x.querySelector("#"+d.getAttribute("for")).click()}}function R(n){return i+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function W(n,d){let h=R(d),p=$("li",null,{"data-option":d.value}),k=$("button",p,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+h+">"+d.text+Ca+"</label>"});n.appendChild(p),k.addEventListener("click",O),k.addEventListener("keydown",N)}function ie(n){let d=t.getOption(n)||t.getOption(t.getIndex());if(d){if(d.checked){x.classList.contains("u-max-selections")&&x.classList.remove("u-max-selections");let h='[data-option="'+d.value+'"]',p=b.querySelector(h);typeof p!="undefined"&&p&&(b==null||b.removeChild(p))}else c!=null&&c.renderTags&&b&&W(b,d);t.toggleOption(n),t.isAtMaxSelections()&&x.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}t.resetIndex(),a=!1,v.getAttribute("aria-hidden")==="false"&&g.focus()}function ve(n){ie(Number(n.target.getAttribute("data-index"))),y()}function ye(){u.addEventListener("mousemove",function(h){let p=h.target;h.offsetX>p.offsetWidth-35?p.style.cursor="pointer":p.style.cursor="auto"}),u.addEventListener("mouseup",function(h){let p=h.target;h.offsetX>p.offsetWidth-35&&v.offsetHeight===140&&g.blur()}),g.addEventListener("input",function(){z(this.value)}),g.addEventListener("focus",function(){v.getAttribute("aria-hidden")==="true"&&f()}),g.addEventListener("blur",function(){!a&&v.getAttribute("aria-hidden")==="false"&&w()}),g.addEventListener("keydown",function(h){let p=h.key;v.getAttribute("aria-hidden")==="true"&&p!==Lr&&f(),p===Ue?(h.preventDefault(),L(fe)):p===Sr?(y(),w()):p===Er?L(fe):p===Lr&&!h.shiftKey&&v.getAttribute("aria-hidden")==="false"&&w()}),x.addEventListener("mousedown",function(){a=!0}),x.addEventListener("keydown",function(h){let p=h.key,k=h.target,U=k.checked;if(p===Ue){h.preventDefault(),k.checked=!U;let V=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(V)}else p===Sr?(g.focus(),w()):p===Va?L(kr):p===Er&&L(fe)}),v.addEventListener("mousedown",function(h){h.target.tagName==="LABEL"&&(a=!0)});let n=x.querySelectorAll("input");for(let h=0,p=n.length;h<p;h++)n[h].addEventListener("change",ve);let d=b.querySelectorAll("button");for(let h=0,p=d.length;h<p;h++)d[h].addEventListener("click",O),d[h].addEventListener("keydown",N)}function ne(){s=document.createElement("div"),s.className=F,b=$("ul",null,{className:"m-tag-group"}),u=$("header",s,{className:F+"__header"}),g=$("input",u,{className:F+"__search "+Fa,type:"text",placeholder:o||"Select up to five",id:r.id,autocomplete:"off"}),v=$("fieldset",s,{className:F+"__fieldset u-invisible","aria-hidden":"true"});let n=F+"__options";t.isAtMaxSelections()&&(n+=" u-max-selections"),x=$("ul",v,{className:n});let d,h,p;for(let k=0,U=l.length;k<U;k++){d=l[k],h=R(d),p=t.getOption(k).checked;let V=$("li",x,{"data-option":d.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});$("input",V,{id:h,type:"checkbox",value:d.value,name:i,class:$a+" "+F+"__checkbox",checked:p,"data-index":k}),$("label",V,{for:h,textContent:d.text,className:F+"__label a-label"}),j.push(V),p&&(c!=null&&c.renderTags)&&W(b,d)}return s.insertBefore(b,u),r.parentNode.insertBefore(s,r),s.appendChild(r),s}function xe(n=Dr){if(!M(r))return this;if(ze())return this;if(S=this,i=r.name||r.id,o=r.getAttribute("placeholder"),l=r.options||[],c=we(we({},Dr),n),l.length>0){t=new _r(l,i,c).init();let d=ne();r.parentNode.removeChild(r),r=d,M(r),ye()}return this}function _e(){return t}this.init=xe,this.expand=f,this.collapse=w;let J=new D;return this.addEventListener=J.addEventListener,this.removeEventListener=J.removeEventListener,this.dispatchEvent=J.dispatchEvent,this.getModel=_e,this.updateSelections=ie,this.selectionClickHandler=O,this.selectionKeyDownHandler=N,this}ge.BASE_CLASS=F;ge.init=e=>C(`.${F}`,ge,void 0,e);var Pe={};m(Pe,{default:()=>Ra});var Ra={};var Xe={};m(Xe,{default:()=>Pa});var Pa={};var Ke={};m(Ke,{default:()=>Ka});var Ka={};var Je={};m(Je,{default:()=>Ya});var Ya={};var Ye={};m(Ye,{default:()=>Za});var Za={};var We={};m(We,{default:()=>et});var et={};var Ze={};m(Ze,{default:()=>at});var at={};var Qe={};m(Qe,{default:()=>ot});var ot={};var er={};m(er,{default:()=>nt});var nt={};var rr={};m(rr,{default:()=>dt});var dt={};var ar={};m(ar,{default:()=>st});var st={};var tr={};m(tr,{default:()=>ht});var ht={};var or={};m(or,{default:()=>pt});var pt={};var ir={};m(ir,{default:()=>ft});var ft={};var nr={};m(nr,{default:()=>vt});var vt={};var lr={};m(lr,{default:()=>xt});var xt={};var dr={};m(dr,{default:()=>wt});var wt={};var cr={};m(cr,{default:()=>St});var St={};var sr={};m(sr,{default:()=>Lt});var Lt={};var ur={};m(ur,{default:()=>At});var At={};})();
1
+ (()=>{var mt=Object.defineProperty;var bt=Object.getOwnPropertySymbols;var sa=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable;var gt=t=>{throw TypeError(t)};var dr=(t,e,r)=>e in t?mt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,cr=(t,e)=>{for(var r in e||(e={}))sa.call(e,r)&&dr(t,r,e[r]);if(bt)for(var r of bt(e))ha.call(e,r)&&dr(t,r,e[r]);return t};var v=(t,e)=>{for(var r in e)mt(t,r,{get:e[r],enumerable:!0})};var se=(t,e,r)=>dr(t,typeof e!="symbol"?e+"":e,r),ua=(t,e,r)=>e.has(t)||gt("Cannot "+r);var vt=(t,e,r)=>e.has(t)?gt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var lr=(t,e,r)=>(ua(t,e,"access private method"),r);var _t=(t,e,r)=>new Promise((a,o)=>{var i=d=>{try{c(r.next(d))}catch(s){o(s)}},n=d=>{try{c(r.throw(d))}catch(s){o(s)}},c=d=>d.done?a(d.value):Promise.resolve(d.value).then(i,n);c((r=r.apply(t,e)).next())});var Oe={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};var sr={};v(sr,{default:()=>fa});var fa={};var hr={};v(hr,{default:()=>ma});var ma={};var ur={};v(ur,{default:()=>va});var va={};var pr={};v(pr,{default:()=>ya});var ya={};var fr={};v(fr,{default:()=>wa});var wa={};var br={};v(br,{default:()=>Ea});var Ea={};function Me(){let t=getComputedStyle(document.body).fontSize;return t=t===""?-1:t,parseFloat(t)}function Aa(t,e){let r=t.min,a=t.max;Me()>0&&Me()!==16&&(r=r/16*Me(),a=a/16*Me());let i=r||0,n=a||Number.POSITIVE_INFINITY;return i<=e&&e<=n}function Sa(t){let e={};t=t||window.innerWidth;let r;for(r in Oe)e[r]=Aa(Oe[r],t);return e}var Ie="mobile",$a="tablet",La="desktop";function mr(t){let e=!1,r=Sa();return(t===Ie&&r.bpXS||t===$a&&r.bpSM||t===La&&(r.bpMED||r.bpLG||r.bpXL))&&(e=!0),e}var I="data-js-hook",he="behavior_",gr="state_";function z(){let t={};function e(o,i){return{}.hasOwnProperty.call(t,o)?t[o].push(i):t[o]=[i],this}function r(o,i){if(!{}.hasOwnProperty.call(t,o))return this;let n=t[o].indexOf(i);return n!==-1&&t[o].splice(n,1),this}function a(o,i){if(!{}.hasOwnProperty.call(t,o))return this;i=i||{};let n=t[o];for(let c=0,d=n.length;c<d;c++)n[c].call(this,i);return this}return this.addEventListener=e,this.removeEventListener=r,this.dispatchEvent=a,this.getRegisteredEvents=()=>t,this}function re(t,e){if(!t)return!1;let r=t.getAttribute(I);return r?(r=r.split(" "),r.indexOf(e)>-1):!1}function T(t,e){if(re(t,e))return e;if(e.indexOf(" ")!==-1){let a=I+" values cannot contain spaces!";throw new Error(a)}let r=t.getAttribute(I);return r!==null&&(e=r+" "+e),t.setAttribute(I,e),e}var vr=gr+"atomic_init";function za(t,e){if(!t||!t.classList){let r=t+' is not valid. Check that element is a DOM node with class "'+e+'"';throw new Error(r)}return t}function Ta(t,e){let r=t.classList.contains(e)?t:t.querySelector("."+e);if(!r){let a=e+" not found on or in passed DOM node.";throw new Error(a)}return r}function q(t,e){return za(t,e),Ta(t,e)}function j(t){return re(t,vr)?!1:(T(t,vr),!0)}function H(t,e,r,a={}){let i=(r||document).querySelectorAll(t),n=[],c,d;for(let s=0,l=i.length;s<l;s++)d=i[s],re(d,vr)===!1&&(c=new e(d),c.init(a),n.push(c));return n}function yt(t,e){e=e||document;let r=[];try{r=e.querySelectorAll(t)}catch(a){let o=`${t} not found in DOM! ${a}`;throw new Error(o)}return r.length===0&&t.indexOf(he)===-1&&(r=xt(t,e)),r}function Ca(t,e,r,a){let o=[];t instanceof NodeList?o=t:t instanceof Node?o=[t]:typeof t=="string"&&(o=yt(t,a));for(let i=0,n=o.length;i<n;i++)o[i].addEventListener(e,r,!1);return o}function Ne(t,e){let r;if(re(t,e))return r=t,r;if(t){let a="["+I+"="+e+"]";r=t.querySelector(a)}if(!r){let a=e+" behavior not found on passed DOM node!";throw new Error(a)}return r}function xt(t,e){return t=I+"*="+he+t,t="["+t+"]",yt(t,e)}var ge=Object.prototype.toString;function wt(t){return typeof t=="undefined"}function Oa(t){return typeof t!="undefined"}function Ma(t){return t!==null&&typeof t=="object"}function kt(t){return ge.call(t)==="[object String]"}function Ia(t){return ge.call(t)==="[object Number]"}function Na(t){return ge.call(t)==="[object Date]"}var ja=Array.isArray||function(e){return ge.call(e)==="[object Array]"};function Da(t){return ge.call(t)==="[object Function]"}function qa(t){return wt(t)||t===null||kt(t)&&t.length<=0||/^\s*$/.test(t)}function _r(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}function x(t,e,r){let a=e,o=t;if(!r)throw new Error("Child transition argument must be defined!");let i=r,n,c,d,s=!1,l=!1,p=!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 b(){c&&s?(o.addEventListener(c,d),i.dispatchEvent(x.BEGIN_EVENT,{target:i,type:x.BEGIN_EVENT}),o.classList.add(x.ANIMATING_CLASS),l=!0):(i.dispatchEvent(x.BEGIN_EVENT,{target:i,type:x.BEGIN_EVENT}),d())}function g(){o.removeEventListener(c,d)}function S(y){return y&&y.propertyName!==a.CSS_PROPERTY?!1:(g(),o.classList.remove(x.ANIMATING_CLASS),i.dispatchEvent(x.END_EVENT,{target:i,type:x.END_EVENT}),l=!1,!0)}function A(){let y;for(y in a)({}).hasOwnProperty.call(a,y)&&a[y]!==a.BASE_CLASS&&o.classList.contains(a[y])&&o.classList.remove(a[y])}function $(){l&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(c,d),d(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function C(){$(),A(),o.classList.remove(a.BASE_CLASS)}function R(){o.classList.remove(x.NO_ANIMATION_CLASS),s=!0}function V(){o.classList.add(x.NO_ANIMATION_CLASS),s=!1}function M(y){if(!y){let le="Element does not have TransitionEnd event. It may be null!";throw new Error(le)}let O,D={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},G;for(G in D)if({}.hasOwnProperty.call(D,G)&&typeof y.style[G]!="undefined"){O=D[G];break}return O}function _(y){C(),R(),o=y,o.classList.add(a.BASE_CLASS),c=M(o)}function w(y){if(s=!o.classList.contains(x.NO_ANIMATION_CLASS),d=S.bind(this),_(o),!y)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(y),this}function L(y){return p||(A(),p=!0),o.classList.contains(y)?!1:(g(),o.classList.remove(n),n=y,b(),o.classList.add(n),!0)}return this.animateOff=V,this.animateOn=R,this.applyClass=L,this.halt=$,this.init=w,this.isAnimated=()=>s,this.remove=C,this.setElement=_,this}x.BEGIN_EVENT="transitionbegin";x.END_EVENT="transitionend";x.NO_ANIMATION_CLASS="u-no-animation";x.ANIMATING_CLASS="u-is-animating";var ve=he+"flyout-menu",Pa="["+I+"="+ve;function Z(t,e=!0){let r=Ne(t,ve),a=R(t),o=Ne(t,ve+"_content"),i=0,n=0,c=1,d=2,s=3,l,p,b,g=le.bind(this),S=G.bind(this),A,$=!0,C=!1;function R(h){let u=[],f=h.querySelectorAll(`${Pa}_trigger]`),m,k,X;for(let U=f.length>>>0;U--;){for(X=!1,m=f[U],k=m.parentElement;k!==h;)k.getAttribute(I)&&k.getAttribute(I).split(" ").indexOf(ve)!==-1?(X=!0,k=h):k=k.parentElement;X||u.unshift(f[U])}return u}function V(h=!1){return i=h?s:n,a.forEach(u=>{M("expanded",u,h),u.addEventListener("click",y.bind(this)),u.addEventListener("touchstart",_,{passive:!0}),u.addEventListener("mouseover",w.bind(this)),u.addEventListener("mouseout",L.bind(this))}),o.setAttribute("data-open",h?"true":"false"),e&&!h&&o.setAttribute("hidden",""),Ce(),this}function M(h,u,f){let m=String(f);return u.setAttribute("aria-"+h,m),m}function _(){C=!0}function w(h){$||(C||this.dispatchEvent("triggerover",{target:this,trigger:h.target,type:"triggerover"}),C=!1)}function L(h){$||this.dispatchEvent("triggerout",{target:this,trigger:h.target,type:"triggerout"})}function y(h){if(!$)switch(this.dispatchEvent("triggerclick",{target:this,trigger:h.target,type:"triggerclick"}),h.preventDefault(),i){case n:case c:this.expand();break;case d:case s:this.collapse();break}}function O(){if(l==null||l.halt(),i===d||i===s)return this;if(i=d,e&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!p||!b)return S(),this;let h=l==null?void 0:l.isAnimated();return h&&l.addEventListener(x.END_EVENT,S),p(),h||S(),this}function D(){if(l==null||l.halt(),i===c||i===n)return this;for(let u=0,f=a.length;u<f;u++)M("expanded",a[u],!1);if(o.setAttribute("data-open","false"),i=c,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!b||!p)return g(),this;let h=l==null?void 0:l.isAnimated();return h&&l.addEventListener(x.END_EVENT,g),b(),h||g(),this}function G(){i=s,o.setAttribute("data-open","true"),l&&l.removeEventListener(x.END_EVENT,S),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let h=0,u=a.length;h<u;h++)M("expanded",a[h],!0)}function le(){i=n,e&&o.setAttribute("hidden",""),l&&l.removeEventListener(x.END_EVENT,g),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function Te(h,u,f){l=h,u&&u!==b&&(b=u),f&&f!==p&&(p=f)}function ar(){l&&l.remove();let h;l=h,p=h,b=h}function or(){return{container:r,content:o,trigger:a}}function Ce(){return $&&($=!1),!$}function ir(){return $||($=!0),$}function nr(h){return A=h,this}let ee=new z;return this.addEventListener=ee.addEventListener,this.removeEventListener=ee.removeEventListener,this.dispatchEvent=ee.dispatchEvent,this.init=V,this.expand=O,this.collapse=D,this.setTransition=Te,this.clearTransition=ar,this.getData=()=>A,this.getTransition=()=>l,this.getDom=or,this.isAnimating=()=>i===d||i===c,this.isExpanded=()=>i===s,this.resume=Ce,this.setData=nr,this.suspend=ir,Z.BASE_CLASS=ve,this}var je={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function Et(t){let e=new z,r=new x(t,je,this);function a(n){return r.init(n),this}function o(){return r.applyClass(je.ALPHA_100),this}function i(){return r.applyClass(je.ALPHA_0),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.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}Et.CLASSES=je;var _e={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 N(t){let e=new z,r=new x(t,_e,this),a=0;function o(){let b=t.scrollHeight+"px";t.style.maxHeight=b}function i(){window.removeEventListener("load",i),o()}function n(p){return r.init(p),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function c(){return o(),r.applyClass(_e.MH_DEFAULT),(!a||t.scrollHeight>a)&&(a=t.scrollHeight),this}function d(){return r.applyClass(_e.MH_SUMMARY),a=t.scrollHeight,this}function s(){return r.applyClass(_e.MH_ZERO),a=t.scrollHeight,this}function l(){return t.style.maxHeight="",r.remove()}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.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=l,this.init=n,this.maxHeightDefault=c,this.maxHeightSummary=d,this.maxHeightZero=s,this}N.CLASSES=_e;var Y={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 At(t){let e=new z,r=new x(t,Y,this);function a(d){return r.init(d),this}function o(){return r.applyClass(Y.MOVE_TO_ORIGIN),this}function i(d){d=d||1;let s=[Y.MOVE_LEFT,Y.MOVE_LEFT_2X,Y.MOVE_LEFT_3X];return r.applyClass(s[d-1]),this}function n(){return r.applyClass(Y.MOVE_RIGHT),this}function c(){return r.applyClass(Y.MOVE_UP),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.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=n,this.moveToOrigin=o,this.moveUp=c,this}At.CLASSES=Y;var yr={};v(yr,{default:()=>Ra});var Ra={};var ue="o-expandable";function J(t){let e=q(t,ue),r,a,o,i,n;function c(){if(!j(e))return this;r=e.querySelector(`.${ue}__header`),a=e.querySelector(`.${ue}__content`),o=e.querySelector(`.${ue}__label`);let l=e.classList.contains(`${ue}--onload-open`);T(e,"behavior_flyout-menu"),T(r,"behavior_flyout-menu_trigger"),T(a,"behavior_flyout-menu_content");let p=l?N.CLASSES.MH_DEFAULT:N.CLASSES.MH_ZERO;return i=new N(a).init(p),n=new Z(e),n.setTransition(i,i.maxHeightZero,i.maxHeightDefault),n.init(l),n.addEventListener("expandbegin",()=>{a.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),n.addEventListener("collapseend",()=>{a.classList.add("u-hidden")}),this}function d(){return o.textContent.trim()}this.init=c,this.expand=()=>n.expand(),this.collapse=()=>n.collapse(),this.isExpanded=()=>n.isExpanded(),this.refresh=()=>n.getTransition().refresh(),this.getLabelText=d;let s=new z;return this.addEventListener=s.addEventListener,this.removeEventListener=s.removeEventListener,this.dispatchEvent=s.dispatchEvent,this}J.BASE_CLASS=ue;J.init=t=>H(`.${J.BASE_CLASS}`,J,t);var xr={};v(xr,{default:()=>Fa});var Fa={};var De="o-expandable-group";function qe(t){let e=q(t,De),r=e.classList.contains(`${De}--accordion`),a,o;function i(c){let d=c.target;o&&o!==d&&o.collapse(),o=d}function n(c){return j(e)?(r&&(a=c,a.forEach(d=>{d.addEventListener("expandbegin",i)})),this):this}return this.init=n,this}qe.BASE_CLASS=De;qe.init=t=>{(t||document).querySelectorAll(`.${De}`).forEach(a=>{let o=H(`.${J.BASE_CLASS}`,J,a);new qe(a).init(o)})};var wr={};v(wr,{default:()=>Ga});var Ga={};var pe="o-summary";function He(t){let e=q(t,pe),r=e.classList.contains(`${pe}--mobile`),a=e.querySelector(`.${pe}__content`),o=e.querySelector(`.${pe}__btn`),i,n,c;function d(){return j(e)?(window.addEventListener("load",s),this):this}function s(){window.removeEventListener("load",s),c=!g(),T(e,"behavior_flyout-menu"),T(a,"behavior_flyout-menu_content"),T(o,"behavior_flyout-menu_trigger"),n=new Z(e,!1),i=new N(a),i.init(c?N.CLASSES.MH_SUMMARY:N.CLASSES.MH_DEFAULT),n.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),n.addEventListener("triggerclick",S),n.init(),b(),window.addEventListener("resize",b),"onorientationchange"in window&&window.addEventListener("orientationchange",b),e.addEventListener("focusin",l),a.addEventListener("click",p)}function l(_){!c&&_.target!==o&&(o.click(),e.removeEventListener("focusin",l))}function p(_){_.target.tagName!=="A"&&n.isExpanded()&&i.refresh()}function b(){g()?V():R()}function g(){return r&&!mr(Ie)||a.scrollHeight<=88}function S(){n.addEventListener("expandend",A)}function A(){C(),window.removeEventListener("resize",b),window.removeEventListener("orientationchange",b),n.removeEventListener("expandend",A),n.suspend(),i.remove()}function $(){o.classList.remove("u-hidden")}function C(){o.classList.add("u-hidden")}function R(){return c&&(n.collapse(),i.animateOn(),$(),c=!1),!c}function V(){return c||(i.animateOff(),n.expand(),C(),c=!0),c}let M=new z;return this.addEventListener=M.addEventListener,this.removeEventListener=M.removeEventListener,this.dispatchEvent=M.dispatchEvent,this.init=d,this}He.BASE_CLASS=pe;He.init=t=>H(`.${pe}`,He,t);var ye="o-summary-minimal";function Pe(t){let e=q(t,ye),r=e.querySelector(`.${ye}__content`),a=e.querySelector(`.${ye}__btn`),o,i;function n(){return j(e)?(T(e,"behavior_flyout-menu"),T(r,"behavior_flyout-menu_content"),T(a,"behavior_flyout-menu_trigger"),window.addEventListener("load",c),this):this}function c(){window.removeEventListener("load",c),i=new Z(e,!1),o=new N(r),o.init(N.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),e.addEventListener("focusin",d),r.addEventListener("click",s),i.collapse(),o.animateOn()}function d(p){p.target!==a&&(a.click(),e.removeEventListener("focusin",d))}function s(p){p.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let l=new z;return this.addEventListener=l.addEventListener,this.removeEventListener=l.removeEventListener,this.dispatchEvent=l.dispatchEvent,this.init=n,this}Pe.BASE_CLASS=ye;Pe.init=t=>H(`.${ye}`,Pe,t);var kr={};v(kr,{default:()=>Wa});var Wa={};var Er={};v(Er,{default:()=>Ya});var Ya={};var Ar={};v(Ar,{default:()=>Qa});var Qa={};var Sr={};v(Sr,{default:()=>ro});var ro={};var $r={};v($r,{default:()=>ao});var ao={};var Lr={};v(Lr,{default:()=>io});var io={};var zr={};v(zr,{default:()=>co});var co={};var Tr={};v(Tr,{default:()=>so});var so={};var Cr={};v(Cr,{default:()=>uo});var uo={};var po;function fo(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function bo(t,e){return RegExp(fo(e.trim()),"i").test(t)}function mo(t,e,r){let a=t,o=e,i=(r==null?void 0:r.maxSelections)||5,n=[],c=[],d=[],s=[],l=-1;function p(_){return o+"-"+_.value.trim().replace(/\s+/g,"-").toLowerCase()}function b(){return c.length>=i}function g(_){let w,L=[],y=!1;for(let O=0,D=_.length;O<D;O++)w=_[O],y=b()?!1:w.defaultSelected,L.push({id:p(w),value:w.value,text:w.text,checked:y}),y&&c.push(O);return L}function S(){return n=g(a),this}function A(_){return n[_].checked=!n[_].checked,c.length<i&&n[_].checked?(c.push(_),c.sort(),!0):(n[_].checked=!1,c=c.filter(function(w){return w!==_}),!1)}function $(_,w,L,y){return bo(w.text,y)&&_.push(L),_}function C(_){return Object.prototype.toString.call(_)!=="[object String]"&&(_=""),s=d,n.length>0&&(d=n.reduce(function(w,L,y){return $(w,L,y,_)},[])),l=-1,d}function R(_){return n[_]}function V(_){let w=d.length,L=w===0?n.length:w;_<0?l=-1:_>=L?l=L-1:l=_}function M(){return l}return this.init=S,this.toggleOption=A,this.getSelectedIndices=function(){return c},this.isAtMaxSelections=b,this.filterIndices=C,this.clearFilter=function(){return d=s=[],po},this.getFilterIndices=function(){return d},this.getLastFilterIndices=function(){return s},this.getIndex=M,this.setIndex=V,this.resetIndex=function(){return l=-1,l},this.getOption=R,this}var St=mo;function P(t,e,r){let a=document.createElement(t);return Object.keys(r).forEach(o=>{let i=r[o];o in a?a[o]=i:a.setAttribute(o,i)}),e&&e.appendChild(a),a}var $t='<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 xo=$t,B="o-multiselect",wo="a-checkbox",ko="a-text-input",Lt="prev",Be="next",Or="Enter",Eo=" ",zt="Escape",Ao="ArrowUp",Tt="ArrowDown",Ct="Tab",Ot={renderTags:!0,maxSelections:5};function Re(t){t.classList.add(B);let e=q(t,B),r=!1,a,o,i,n,c,d,s,l,p,b,g,S=[],A;function $(){g.classList.remove("u-no-results"),g.classList.add("u-filtered");let h=i.getLastFilterIndices();for(let u=0,f=h.length;u<f;u++)S[h[u]].classList.remove("u-filter-match");h=i.getFilterIndices();for(let u=0,f=h.length;u<f;u++)S[h[u]].classList.add("u-filter-match")}function C(){g.classList.remove("u-filtered","u-no-results");for(let h=0,u=g.children.length;h<u;h++)g.children[h].classList.remove("u-filter-match");i.clearFilter()}function R(){g.classList.add("u-no-results"),g.classList.remove("u-filtered")}function V(h){return h.length>0?($(),!0):(R(),!1)}function M(h){C(),i.resetIndex();let u=i.filterIndices(h);V(u)}function _(){return d.classList.add("u-active"),b.classList.remove("u-invisible"),b.setAttribute("aria-hidden",!1),A.dispatchEvent("expandbegin",{target:A}),A}function w(){return d.classList.remove("u-active"),b.classList.add("u-invisible"),b.setAttribute("aria-hidden",!0),i.resetIndex(),A.dispatchEvent("collapsebegin",{target:A}),A}function L(h){h===Be?i.setIndex(i.getIndex()+1):h===Lt&&i.setIndex(i.getIndex()-1);let u=i.getIndex();if(u>-1){let f=u,m=i.getFilterIndices();m.length>0&&(f=m[u]);let X=i.getOption(f).value,la=g.querySelector('[data-option="'+X+'"]').querySelector("input");r=!0,la.focus()}else r=!1,p.focus()}function y(){p.value="",C()}function O(h){let u=h.target;u.tagName==="BUTTON"&&(h.preventDefault(),u.removeEventListener("click",O),u.querySelector("label").click())}function D(h){if(h.key===Eo||h.key===Or){let u=h.target.querySelector("label");g.querySelector("#"+u.getAttribute("for")).click()}}function G(h){return a+"-"+h.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function le(h,u){let f=G(u),m=P("li",null,{"data-option":u.value}),k=P("button",m,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+f+">"+u.text+xo+"</label>"});h.appendChild(m),k.addEventListener("click",O),k.addEventListener("keydown",D)}function Te(h){let u=i.getOption(h)||i.getOption(i.getIndex());if(u){if(u.checked){g.classList.contains("u-max-selections")&&g.classList.remove("u-max-selections");let f='[data-option="'+u.value+'"]',m=s.querySelector(f);typeof m!="undefined"&&m&&(s==null||s.removeChild(m))}else c!=null&&c.renderTags&&s&&le(s,u);i.toggleOption(h),i.isAtMaxSelections()&&g.classList.add("u-max-selections"),A.dispatchEvent("selectionsupdated",{target:A})}i.resetIndex(),r=!1,b.getAttribute("aria-hidden")==="false"&&p.focus()}function ar(h){Te(Number(h.target.getAttribute("data-index"))),y()}function or(){l.addEventListener("mousemove",function(f){let m=f.target;f.offsetX>m.offsetWidth-35?m.style.cursor="pointer":m.style.cursor="auto"}),l.addEventListener("mouseup",function(f){let m=f.target;f.offsetX>m.offsetWidth-35&&b.offsetHeight===140&&p.blur()}),p.addEventListener("input",function(){M(this.value)}),p.addEventListener("focus",function(){b.getAttribute("aria-hidden")==="true"&&_()}),p.addEventListener("blur",function(){!r&&b.getAttribute("aria-hidden")==="false"&&w()}),p.addEventListener("keydown",function(f){let m=f.key;b.getAttribute("aria-hidden")==="true"&&m!==Ct&&_(),m===Or?(f.preventDefault(),L(Be)):m===zt?(y(),w()):m===Tt?L(Be):m===Ct&&!f.shiftKey&&b.getAttribute("aria-hidden")==="false"&&w()}),g.addEventListener("mousedown",function(){r=!0}),g.addEventListener("keydown",function(f){let m=f.key,k=f.target,X=k.checked;if(m===Or){f.preventDefault(),k.checked=!X;let U=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(U)}else m===zt?(p.focus(),w()):m===Ao?L(Lt):m===Tt&&L(Be)}),b.addEventListener("mousedown",function(f){f.target.tagName==="LABEL"&&(r=!0)});let h=g.querySelectorAll("input");for(let f=0,m=h.length;f<m;f++)h[f].addEventListener("change",ar);let u=s.querySelectorAll("button");for(let f=0,m=u.length;f<m;f++)u[f].addEventListener("click",O),u[f].addEventListener("keydown",D)}function Ce(){d=document.createElement("div"),d.className=B,s=P("ul",null,{className:"m-tag-group"}),l=P("header",d,{className:B+"__header"}),p=P("input",l,{className:B+"__search "+ko,type:"text",placeholder:o||"Select up to five",id:e.id,autocomplete:"off"}),b=P("fieldset",d,{className:B+"__fieldset u-invisible","aria-hidden":"true"});let h=B+"__options";i.isAtMaxSelections()&&(h+=" u-max-selections"),g=P("ul",b,{className:h});let u,f,m;for(let k=0,X=n.length;k<X;k++){u=n[k],f=G(u),m=i.getOption(k).checked;let U=P("li",g,{"data-option":u.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});P("input",U,{id:f,type:"checkbox",value:u.value,name:a,class:wo+" "+B+"__checkbox",checked:m,"data-index":k}),P("label",U,{for:f,textContent:u.text,className:B+"__label a-label"}),S.push(U),m&&(c!=null&&c.renderTags)&&le(s,u)}return d.insertBefore(s,l),e.parentNode.insertBefore(d,e),d.appendChild(e),d}function ir(h=Ot){if(!j(e))return this;if(_r())return this;if(A=this,a=e.name||e.id,o=e.getAttribute("placeholder"),n=e.options||[],c=cr(cr({},Ot),h),n.length>0){i=new St(n,a,c).init();let u=Ce();e.parentNode.removeChild(e),e=u,j(e),or()}return this}function nr(){return i}this.init=ir,this.expand=_,this.collapse=w;let ee=new z;return this.addEventListener=ee.addEventListener,this.removeEventListener=ee.removeEventListener,this.dispatchEvent=ee.dispatchEvent,this.getModel=nr,this.updateSelections=Te,this.selectionClickHandler=O,this.selectionKeyDownHandler=D,this}Re.BASE_CLASS=B;Re.init=t=>H(`.${B}`,Re,void 0,t);var Mr={};v(Mr,{default:()=>$o});var $o={};var Ir={};v(Ir,{default:()=>zo});var zo={};var Nr={};v(Nr,{default:()=>Co});var Co={};var jr={};v(jr,{default:()=>Mo});var Mo={};var Dr={};v(Dr,{default:()=>No});var No={};var qr={};v(qr,{default:()=>Do});var Do={};var Hr={};v(Hr,{default:()=>Ho});var Ho={};var Pr={};v(Pr,{default:()=>Bo});var Bo={};var Br={};v(Br,{default:()=>Uo});var Uo={};var Rr={};v(Rr,{default:()=>Vo});var Vo={};var Ur={};v(Ur,{default:()=>Xo});var Xo={};var Fr={};v(Fr,{default:()=>Wo});var Wo={};var Vr={};v(Vr,{default:()=>Yo});var Yo={};var Gr={};v(Gr,{default:()=>Qo});var Qo={};var Xr={};v(Xr,{default:()=>ri});var ri={};var Kr={};v(Kr,{default:()=>ai});var ai={};var Wr={};v(Wr,{default:()=>ii});var ii={};var Zr={};v(Zr,{default:()=>di});var di={};var Yr={};v(Yr,{default:()=>li});var li={};var Jr={};v(Jr,{default:()=>hi});var hi={};var Ue=globalThis,Fe=Ue.ShadowRoot&&(Ue.ShadyCSS===void 0||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qr=Symbol(),Mt=new WeakMap,xe=class{constructor(e,r,a){if(this._$cssResult$=!0,a!==Qr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Fe&&e===void 0){let a=r!==void 0&&r.length===1;a&&(e=Mt.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&Mt.set(r,e))}return e}toString(){return this.cssText}},fe=t=>new xe(typeof t=="string"?t:t+"",void 0,Qr),we=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((a,o,i)=>a+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1],t[0]);return new xe(r,t,Qr)},It=(t,e)=>{if(Fe)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let a=document.createElement("style"),o=Ue.litNonce;o!==void 0&&a.setAttribute("nonce",o),a.textContent=r.cssText,t.appendChild(a)}},et=Fe?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let a of e.cssRules)r+=a.cssText;return fe(r)})(t):t;var{is:ui,defineProperty:pi,getOwnPropertyDescriptor:fi,getOwnPropertyNames:bi,getOwnPropertySymbols:mi,getPrototypeOf:gi}=Object,Q=globalThis,Nt=Q.trustedTypes,vi=Nt?Nt.emptyScript:"",rt=Q.reactiveElementPolyfillSupport,ke=(t,e)=>t,tt={toAttribute(t,e){switch(e){case Boolean:t=t?vi:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(a){r=null}}return r}},Pt=(t,e)=>!ui(t,e),jt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:Pt},Dt,qt;(Dt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(qt=Q.litPropertyMetadata)!=null||(Q.litPropertyMetadata=new WeakMap);var K=class extends HTMLElement{static addInitializer(e){var r;this._$Ei(),((r=this.l)!=null?r:this.l=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=jt){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let a=Symbol(),o=this.getPropertyDescriptor(e,a,r);o!==void 0&&pi(this.prototype,e,o)}}static getPropertyDescriptor(e,r,a){var n;let{get:o,set:i}=(n=fi(this.prototype,e))!=null?n:{get(){return this[r]},set(c){this[r]=c}};return{get:o,set(c){let d=o==null?void 0:o.call(this);i==null||i.call(this,c),this.requestUpdate(e,d,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){var r;return(r=this.elementProperties.get(e))!=null?r:jt}static _$Ei(){if(this.hasOwnProperty(ke("elementProperties")))return;let e=gi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ke("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ke("properties"))){let r=this.properties,a=[...bi(r),...mi(r)];for(let o of a)this.createProperty(o,r[o])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[a,o]of r)this.elementProperties.set(a,o)}this._$Eh=new Map;for(let[r,a]of this.elementProperties){let o=this._$Eu(r,a);o!==void 0&&this._$Eh.set(o,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let a=new Set(e.flat(1/0).reverse());for(let o of a)r.unshift(et(o))}else e!==void 0&&r.push(et(e));return r}static _$Eu(e,r){let a=r.attribute;return a===!1?void 0:typeof a=="string"?a:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(r=>r(this))}addController(e){var r,a;((r=this._$EO)!=null?r:this._$EO=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&((a=e.hostConnected)==null||a.call(e))}removeController(e){var r;(r=this._$EO)==null||r.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let a of r.keys())this.hasOwnProperty(a)&&(e.set(a,this[a]),delete this[a]);e.size>0&&(this._$Ep=e)}createRenderRoot(){var r;let e=(r=this.shadowRoot)!=null?r:this.attachShadow(this.constructor.shadowRootOptions);return It(e,this.constructor.elementStyles),e}connectedCallback(){var e,r;(e=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(r=this._$EO)==null||r.forEach(a=>{var o;return(o=a.hostConnected)==null?void 0:o.call(a)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(r=>{var a;return(a=r.hostDisconnected)==null?void 0:a.call(r)})}attributeChangedCallback(e,r,a){this._$AK(e,a)}_$ET(e,r){var i;let a=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,a);if(o!==void 0&&a.reflect===!0){let n=(((i=a.converter)==null?void 0:i.toAttribute)!==void 0?a.converter:tt).toAttribute(r,a.type);this._$Em=e,n==null?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(e,r){var i,n,c,d;let a=this.constructor,o=a._$Eh.get(e);if(o!==void 0&&this._$Em!==o){let s=a.getPropertyOptions(o),l=typeof s.converter=="function"?{fromAttribute:s.converter}:((i=s.converter)==null?void 0:i.fromAttribute)!==void 0?s.converter:tt;this._$Em=o,this[o]=(d=(c=l.fromAttribute(r,s.type))!=null?c:(n=this._$Ej)==null?void 0:n.get(o))!=null?d:null,this._$Em=null}}requestUpdate(e,r,a){var o,i;if(e!==void 0){let n=this.constructor,c=this[e];if(a!=null||(a=n.getPropertyOptions(e)),!(((o=a.hasChanged)!=null?o:Pt)(c,r)||a.useDefault&&a.reflect&&c===((i=this._$Ej)==null?void 0:i.get(e))&&!this.hasAttribute(n._$Eu(e,a))))return;this.C(e,r,a)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:a,reflect:o,wrapped:i},n){var c,d,s;a&&!((c=this._$Ej)!=null?c:this._$Ej=new Map).has(e)&&(this._$Ej.set(e,(d=n!=null?n:r)!=null?d:this[e]),i!==!0||n!==void 0)||(this._$AL.has(e)||(this.hasUpdated||a||(r=void 0),this._$AL.set(e,r)),o===!0&&this._$Em!==e&&((s=this._$Eq)!=null?s:this._$Eq=new Set).add(e))}_$EP(){return _t(this,null,function*(){this.isUpdatePending=!0;try{yield this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&(yield e),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var a,o;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((a=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[n,c]of this._$Ep)this[n]=c;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,c]of i){let{wrapped:d}=c,s=this[n];d!==!0||this._$AL.has(n)||s===void 0||this.C(n,void 0,c,s)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),(o=this._$EO)==null||o.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){var r;(r=this._$EO)==null||r.forEach(a=>{var o;return(o=a.hostUpdated)==null?void 0:o.call(a)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&(this._$Eq=this._$Eq.forEach(r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}},Ht;K.elementStyles=[],K.shadowRootOptions={mode:"open"},K[ke("elementProperties")]=new Map,K[ke("finalized")]=new Map,rt==null||rt({ReactiveElement:K}),((Ht=Q.reactiveElementVersions)!=null?Ht:Q.reactiveElementVersions=[]).push("2.1.0");var Ae=globalThis,Ve=Ae.trustedTypes,Bt=Ve?Ve.createPolicy("lit-html",{createHTML:t=>t}):void 0,it="$lit$",W=`lit$${Math.random().toFixed(9).slice(2)}$`,nt="?"+W,_i=`<${nt}>`,oe=document,Se=()=>oe.createComment(""),$e=t=>t===null||typeof t!="object"&&typeof t!="function",dt=Array.isArray,Kt=t=>dt(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",at=`[
2
+ \f\r]`,Ee=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Rt=/-->/g,Ut=/>/g,te=RegExp(`>|${at}(?:([^\\s"'>=/]+)(${at}*=${at}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ft=/'/g,Vt=/"/g,Wt=/^(?:script|style|textarea|title)$/i,ct=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Ye=ct(1),od=ct(2),id=ct(3),ie=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),Gt=new WeakMap,ae=oe.createTreeWalker(oe,129);function Zt(t,e){if(!dt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Bt!==void 0?Bt.createHTML(e):e}var Yt=(t,e)=>{let r=t.length-1,a=[],o,i=e===2?"<svg>":e===3?"<math>":"",n=Ee;for(let c=0;c<r;c++){let d=t[c],s,l,p=-1,b=0;for(;b<d.length&&(n.lastIndex=b,l=n.exec(d),l!==null);)b=n.lastIndex,n===Ee?l[1]==="!--"?n=Rt:l[1]!==void 0?n=Ut:l[2]!==void 0?(Wt.test(l[2])&&(o=RegExp("</"+l[2],"g")),n=te):l[3]!==void 0&&(n=te):n===te?l[0]===">"?(n=o!=null?o:Ee,p=-1):l[1]===void 0?p=-2:(p=n.lastIndex-l[2].length,s=l[1],n=l[3]===void 0?te:l[3]==='"'?Vt:Ft):n===Vt||n===Ft?n=te:n===Rt||n===Ut?n=Ee:(n=te,o=void 0);let g=n===te&&t[c+1].startsWith("/>")?" ":"";i+=n===Ee?d+_i:p>=0?(a.push(s),d.slice(0,p)+it+d.slice(p)+W+g):d+W+(p===-2?c:g)}return[Zt(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),a]},Le=class t{constructor({strings:e,_$litType$:r},a){let o;this.parts=[];let i=0,n=0,c=e.length-1,d=this.parts,[s,l]=Yt(e,r);if(this.el=t.createElement(s,a),ae.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(o=ae.nextNode())!==null&&d.length<c;){if(o.nodeType===1){if(o.hasAttributes())for(let p of o.getAttributeNames())if(p.endsWith(it)){let b=l[n++],g=o.getAttribute(p).split(W),S=/([.?@])?(.*)/.exec(b);d.push({type:1,index:i,name:S[2],strings:g,ctor:S[1]==="."?Xe:S[1]==="?"?Ke:S[1]==="@"?We:de}),o.removeAttribute(p)}else p.startsWith(W)&&(d.push({type:6,index:i}),o.removeAttribute(p));if(Wt.test(o.tagName)){let p=o.textContent.split(W),b=p.length-1;if(b>0){o.textContent=Ve?Ve.emptyScript:"";for(let g=0;g<b;g++)o.append(p[g],Se()),ae.nextNode(),d.push({type:2,index:++i});o.append(p[b],Se())}}}else if(o.nodeType===8)if(o.data===nt)d.push({type:2,index:i});else{let p=-1;for(;(p=o.data.indexOf(W,p+1))!==-1;)d.push({type:7,index:i}),p+=W.length-1}i++}}static createElement(e,r){let a=oe.createElement("template");return a.innerHTML=e,a}};function ne(t,e,r=t,a){var n,c,d;if(e===ie)return e;let o=a!==void 0?(n=r._$Co)==null?void 0:n[a]:r._$Cl,i=$e(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==i&&((c=o==null?void 0:o._$AO)==null||c.call(o,!1),i===void 0?o=void 0:(o=new i(t),o._$AT(t,r,a)),a!==void 0?((d=r._$Co)!=null?d:r._$Co=[])[a]=o:r._$Cl=o),o!==void 0&&(e=ne(t,o._$AS(t,e.values),o,a)),e}var Ge=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var s;let{el:{content:r},parts:a}=this._$AD,o=((s=e==null?void 0:e.creationScope)!=null?s:oe).importNode(r,!0);ae.currentNode=o;let i=ae.nextNode(),n=0,c=0,d=a[0];for(;d!==void 0;){if(n===d.index){let l;d.type===2?l=new be(i,i.nextSibling,this,e):d.type===1?l=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(l=new Ze(i,this,e)),this._$AV.push(l),d=a[++c]}n!==(d==null?void 0:d.index)&&(i=ae.nextNode(),n++)}return ae.currentNode=oe,o}p(e){let r=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(e,a,r),r+=a.strings.length-2):a._$AI(e[r])),r++}},be=class t{get _$AU(){var e,r;return(r=(e=this._$AM)==null?void 0:e._$AU)!=null?r:this._$Cv}constructor(e,r,a,o){var i;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=a,this.options=o,this._$Cv=(i=o==null?void 0:o.isConnected)!=null?i:!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ne(this,e,r),$e(e)?e===E||e==null||e===""?(this._$AH!==E&&this._$AR(),this._$AH=E):e!==this._$AH&&e!==ie&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Kt(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==E&&$e(this._$AH)?this._$AA.nextSibling.data=e:this.T(oe.createTextNode(e)),this._$AH=e}$(e){var i;let{values:r,_$litType$:a}=e,o=typeof a=="number"?this._$AC(e):(a.el===void 0&&(a.el=Le.createElement(Zt(a.h,a.h[0]),this.options)),a);if(((i=this._$AH)==null?void 0:i._$AD)===o)this._$AH.p(r);else{let n=new Ge(o,this),c=n.u(this.options);n.p(r),this.T(c),this._$AH=n}}_$AC(e){let r=Gt.get(e.strings);return r===void 0&&Gt.set(e.strings,r=new Le(e)),r}k(e){dt(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,a,o=0;for(let i of e)o===r.length?r.push(a=new t(this.O(Se()),this.O(Se()),this,this.options)):a=r[o],a._$AI(i),o++;o<r.length&&(this._$AR(a&&a._$AB.nextSibling,o),r.length=o)}_$AR(e=this._$AA.nextSibling,r){var a;for((a=this._$AP)==null?void 0:a.call(this,!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){var r;this._$AM===void 0&&(this._$Cv=e,(r=this._$AP)==null||r.call(this,e))}},de=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,a,o,i){this.type=1,this._$AH=E,this._$AN=void 0,this.element=e,this.name=r,this._$AM=o,this.options=i,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=E}_$AI(e,r=this,a,o){let i=this.strings,n=!1;if(i===void 0)e=ne(this,e,r,0),n=!$e(e)||e!==this._$AH&&e!==ie,n&&(this._$AH=e);else{let c=e,d,s;for(e=i[0],d=0;d<i.length-1;d++)s=ne(this,c[a+d],r,d),s===ie&&(s=this._$AH[d]),n||(n=!$e(s)||s!==this._$AH[d]),s===E?e=E:e!==E&&(e+=(s!=null?s:"")+i[d+1]),this._$AH[d]=s}n&&!o&&this.j(e)}j(e){e===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}},Xe=class extends de{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===E?void 0:e}},Ke=class extends de{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==E)}},We=class extends de{constructor(e,r,a,o,i){super(e,r,a,o,i),this.type=5}_$AI(e,r=this){var n;if((e=(n=ne(this,e,r,0))!=null?n:E)===ie)return;let a=this._$AH,o=e===E&&a!==E||e.capture!==a.capture||e.once!==a.once||e.passive!==a.passive,i=e!==E&&(a===E||o);o&&this.element.removeEventListener(this.name,this,a),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r,a;typeof this._$AH=="function"?this._$AH.call((a=(r=this.options)==null?void 0:r.host)!=null?a:this.element,e):this._$AH.handleEvent(e)}},Ze=class{constructor(e,r,a){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(e){ne(this,e)}},Jt={M:it,P:W,A:nt,C:1,L:Yt,R:Ge,D:Kt,V:ne,I:be,H:de,N:Ke,U:We,B:Xe,F:Ze},ot=Ae.litHtmlPolyfillSupport,Xt;ot==null||ot(Le,be),((Xt=Ae.litHtmlVersions)!=null?Xt:Ae.litHtmlVersions=[]).push("3.3.0");var Qt=(t,e,r)=>{var i,n;let a=(i=r==null?void 0:r.renderBefore)!=null?i:e,o=a._$litPart$;if(o===void 0){let c=(n=r==null?void 0:r.renderBefore)!=null?n:null;a._$litPart$=o=new be(e.insertBefore(Se(),c),c,void 0,r!=null?r:{})}return o._$AI(t),o};var ce=globalThis,F=class extends K{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var r,a;let e=super.createRenderRoot();return(a=(r=this.renderOptions).renderBefore)!=null||(r.renderBefore=e.firstChild),e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Qt(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return ie}},ea;F._$litElement$=!0,F.finalized=!0,(ea=ce.litElementHydrateSupport)==null||ea.call(ce,{LitElement:F});var lt=ce.litElementPolyfillSupport;lt==null||lt({LitElement:F});var ra;((ra=ce.litElementVersions)!=null?ra:ce.litElementVersions=[]).push("4.2.0");var ta=`@charset "UTF-8";
4
+ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}q{quotes:"\u201C" "\u201D" "\u2018" "\u2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}:root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-size:100%;line-height:1.375;-webkit-font-smoothing:antialiased}body,button,input,select,textarea{font-family:var(--font-stack)}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}button.a-btn::-moz-focus-inner,input.a-btn::-moz-focus-inner{border:0}.a-btn{appearance:none;border:0;border-radius:.25em;box-sizing:border-box;cursor:pointer;display:flex;font-size:1em;font-weight:500;gap:.625rem;height:fit-content;justify-content:center;line-height:normal;margin:0;padding:.5em .875em;text-align:center;text-decoration:none;transition:background-color .1s;width:fit-content}.a-btn,.a-btn:link,.a-btn:visited{background-color:var(--pacific);color:var(--white)}.a-btn.focus,.a-btn.hover,.a-btn:focus,.a-btn:hover{background-color:var(--pacific-dark);color:var(--white)}.a-btn.focus,.a-btn:focus{outline:1px dotted var(--pacific);outline-offset:1px}.a-btn.active,.a-btn:active{background-color:var(--navy)}.a-btn--secondary,.a-btn--secondary:link,.a-btn--secondary:visited{background-color:var(--white);box-shadow:0 0 0 1px var(--pacific) inset;color:var(--pacific)}.a-btn--secondary.focus,.a-btn--secondary.hover,.a-btn--secondary:focus,.a-btn--secondary:hover{background-color:var(--pacific-10);box-shadow:0 0 0 1px var(--pacific-dark) inset;color:var(--pacific-dark)}.a-btn--secondary.focus,.a-btn--secondary:focus{outline-color:var(--pacific)}.a-btn--secondary.active,.a-btn--secondary:active{background-color:var(--pacific-20);box-shadow:0 0 0 1px var(--navy) inset;color:var(--navy)}.a-btn--warning,.a-btn--warning:link,.a-btn--warning:visited{background-color:var(--red-mid-dark);color:var(--white)}.a-btn--warning.focus,.a-btn--warning.hover,.a-btn--warning:focus,.a-btn--warning:hover{background-color:var(--red-dark)}.a-btn--warning.focus,.a-btn--warning:focus{outline-color:var(--red-mid-dark)}.a-btn--warning.active,.a-btn--warning:active{background-color:var(--gray-dark)}.a-btn--disabled,.a-btn--disabled.active,.a-btn--disabled.focus,.a-btn--disabled.hover,.a-btn--disabled:active,.a-btn--disabled:focus,.a-btn--disabled:hover,.a-btn--disabled:link,.a-btn--disabled:visited,.a-btn[disabled],.a-btn[disabled].active,.a-btn[disabled].focus,.a-btn[disabled].hover,.a-btn[disabled]:active,.a-btn[disabled]:focus,.a-btn[disabled]:hover,.a-btn[disabled]:link,.a-btn[disabled]:visited{background-color:var(--gray-20);color:var(--gray-dark);cursor:default;cursor:not-allowed}.a-btn--disabled.focus,.a-btn--disabled:focus,.a-btn[disabled].focus,.a-btn[disabled]:focus{outline-color:var(--gray-20)}@media only screen and (max-width:37.5em){.a-btn--full-on-xs{width:100%}}.a-btn:has(svg+span) span{order:3}.a-btn:has(span+svg) svg{flex:none;order:3}.a-btn:not(.a-btn--hide-icon):has(span+svg):before,.a-btn:not(.a-btn--hide-icon):has(svg+span):before{border-left:1px solid var(--pacific-60);content:"";order:2;place-self:normal}.a-btn--secondary:has(svg):before{border-color:var(--pacific-60)!important}.a-btn--warning:has(svg):before{border-color:var(--red-60)!important}.a-btn--disabled:has(svg):before,.a-btn[disabled]:has(svg):before{border-color:var(--gray-60)!important}.a-btn--hide-icon svg{display:none}:host{display:flex;width:fit-content}`;var Je=class extends F{static get properties(){return{isDisabled:{type:Boolean},type:{type:String}}}constructor(){super(),this.isDisabled=!1,this.type=""}get _btnClass(){let e="a-btn";switch(this.type){case"secondary":e+=" a-btn--secondary";break;case"warning":e+=" a-btn--warning";break;case"disabled":e+=" a-btn--disabled";break}return e}render(){return Ye`<button class="${this._btnClass}" ?disabled="${this.isDisabled}"><slot></slot></button>`}};se(Je,"styles",we`${fe(ta)}`);window.customElements.define("cfpb-button",Je);var{I:Ed}=Jt;var aa=t=>t.strings===void 0;var oa={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},st=t=>(...e)=>({_$litDirective$:t,values:e}),Qe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,a){this._$Ct=e,this._$AM=r,this._$Ci=a}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var ze=(t,e)=>{var a;let r=t._$AN;if(r===void 0)return!1;for(let o of r)(a=o._$AO)==null||a.call(o,e,!1),ze(o,e);return!0},er=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while((r==null?void 0:r.size)===0)},ia=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),ki(e)}};function xi(t){this._$AN!==void 0?(er(this),this._$AM=t,ia(this)):this._$AM=t}function wi(t,e=!1,r=0){let a=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(e)if(Array.isArray(a))for(let i=r;i<a.length;i++)ze(a[i],!1),er(a[i]);else a!=null&&(ze(a,!1),er(a));else ze(this,t)}var ki=t=>{var e,r;t.type==oa.CHILD&&((e=t._$AP)!=null||(t._$AP=wi),(r=t._$AQ)!=null||(t._$AQ=xi))},rr=class extends Qe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,a){super._$AT(e,r,a),ia(this),this.isConnected=e._$AU}_$AO(e,r=!0){var a,o;e!==this.isConnected&&(this.isConnected=e,e?(a=this.reconnected)==null||a.call(this):(o=this.disconnected)==null||o.call(this)),r&&(ze(this,e),er(this))}setValue(e){if(aa(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var pt=()=>new ut,ut=class{},ht=new WeakMap,ft=st(class extends rr{render(t){return E}update(t,[e]){var a;let r=e!==this.G;return r&&this.G!==void 0&&this.rt(void 0),(r||this.lt!==this.ct)&&(this.G=e,this.ht=(a=t.options)==null?void 0:a.host,this.rt(this.ct=t.element)),E}rt(t){var e;if(this.isConnected||(t=void 0),typeof this.G=="function"){let r=(e=this.ht)!=null?e:globalThis,a=ht.get(r);a===void 0&&(a=new WeakMap,ht.set(r,a)),a.get(this.G)!==void 0&&this.G.call(this.ht,void 0),a.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){var t,e,r;return typeof this.G=="function"?(e=ht.get((t=this.ht)!=null?t:globalThis))==null?void 0:e.get(this.G):(r=this.G)==null?void 0:r.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var na=":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host{display:flex;flex-direction:column;width:fit-content}:host::part(upload-details)[hidden=true]{display:none}";var me,da,ca,tr=class extends F{constructor(){super();vt(this,me);se(this,"fileInput",pt());se(this,"fileDetails",pt());this.isDetailHidden=!0,this.fileName=""}static get properties(){return{isDetailHidden:{type:Boolean},fileName:{type:String}}}render(){return Ye`<cfpb-button type="secondary" @click="${()=>{this.fileInput.value.click()}}"><slot></slot></cfpb-button><input id="file-upload" class="a-btn a-btn--secondary" type="file" hidden @input="${()=>lr(this,me,ca).call(this)}" ${ft(this.fileInput)}><div part="upload-details" ?hidden="${this.isDetailHidden}" ${ft(this.fileDetails)}><h4>File added</h4><ul><li>${this.fileName} ${this.isDetailHidden}</li></ul><p>To remove or replace your file, select a new file and upload again.</p></div>`}};me=new WeakSet,da=function(r){let a=r;if(a.indexOf("\\")>-1){let o=a.split("\\");a=o[o.length-1]}return a},ca=function(){this.fileName=lr(this,me,da).call(this,this.fileInput.value.value),this.isDetailHidden=!1},se(tr,"styles",we`${fe(na)}`);window.customElements.define("cfpb-file-upload",tr);})();
5
+ /*! Bundled license information:
6
+
7
+ @lit/reactive-element/css-tag.js:
8
+ (**
9
+ * @license
10
+ * Copyright 2019 Google LLC
11
+ * SPDX-License-Identifier: BSD-3-Clause
12
+ *)
13
+
14
+ @lit/reactive-element/reactive-element.js:
15
+ lit-html/lit-html.js:
16
+ lit-element/lit-element.js:
17
+ lit-html/directive.js:
18
+ lit-html/async-directive.js:
19
+ (**
20
+ * @license
21
+ * Copyright 2017 Google LLC
22
+ * SPDX-License-Identifier: BSD-3-Clause
23
+ *)
24
+
25
+ lit-html/is-server.js:
26
+ (**
27
+ * @license
28
+ * Copyright 2022 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ *)
31
+
32
+ lit-html/directive-helpers.js:
33
+ lit-html/directives/ref.js:
34
+ (**
35
+ * @license
36
+ * Copyright 2020 Google LLC
37
+ * SPDX-License-Identifier: BSD-3-Clause
38
+ *)
39
+ */
2
40
  //# sourceMappingURL=index.js.map