@cfpb/cfpb-design-system
Advanced tools
Comparing version 2.0.1 to 3.0.0
@@ -1,2 +0,2 @@ | ||
(()=>{var S="data-js-hook",F="behavior_",tt="state_";function v(){let t={};function n(i,s){return{}.hasOwnProperty.call(t,i)?t[i].push(s):t[i]=[s],this}function e(i,s){if(!{}.hasOwnProperty.call(t,i))return this;let o=t[i].indexOf(s);return o!==-1&&t[i].splice(o,1),this}function r(i,s){if(!{}.hasOwnProperty.call(t,i))return this;s=s||{};let o=t[i];for(let a=0,u=o.length;a<u;a++)o[a].call(this,s);return this}return this.addEventListener=n,this.removeEventListener=e,this.dispatchEvent=r,this.getRegisteredEvents=()=>t,this}function N(t,n){if(!t)return!1;let e=t.getAttribute(S);return e?(e=e.split(" "),e.indexOf(n)>-1):!1}function _(t,n){if(N(t,n))return n;if(n.indexOf(" ")!==-1){let r=S+" values cannot contain spaces!";throw new Error(r)}let e=t.getAttribute(S);return e!==null&&(n=e+" "+n),t.setAttribute(S,n),n}var dt=tt+"atomic_init";function Rt(t,n){if(!t||!t.classList){let e=t+' is not valid. Check that element is a DOM node with class "'+n+'"';throw new Error(e)}return t}function Ft(t,n){let e=t.classList.contains(n)?t:t.querySelector("."+n);if(!e){let r=n+" not found on or in passed DOM node.";throw new Error(r)}return e}function O(t,n){return Rt(t,n),Ft(t,n)}function T(t){return N(t,dt)?!1:(_(t,dt),!0)}function b(t,n,e,r={}){let s=(e||document).querySelectorAll(t),o=[],a,u;for(let l=0,c=s.length;l<c;l++)u=s[l],N(u,dt)===!1&&(a=new n(u),a.init(r),o.push(a));return o}function gt(t,n){n=n||document;let e=[];try{e=n.querySelectorAll(t)}catch(r){let i=`${t} not found in DOM! ${r}`;throw new Error(i)}return e.length===0&&t.indexOf(F)===-1&&(e=lt(t,n)),e}function St(t,n,e,r){let i=[];t instanceof NodeList?i=t:t instanceof Node?i=[t]:typeof t=="string"&&(i=gt(t,r));for(let s=0,o=i.length;s<o;s++)i[s].addEventListener(n,e,!1);return i}function q(t,n){let e;if(N(t,n))return e=t,e;if(t){let r="["+S+"="+n+"]";e=t.querySelector(r)}if(!e){let r=n+" behavior not found on passed DOM node!";throw new Error(r)}return e}function lt(t,n){return t=S+"*="+F+t,t="["+t+"]",gt(t,n)}function Lt(t,n,e){t.removeEventListener(n,e)}var z=Object.prototype.toString;function ft(t){return typeof t=="undefined"}function At(t){return typeof t!="undefined"}function xt(t){return t!==null&&typeof t=="object"}function ht(t){return z.call(t)==="[object String]"}function Ot(t){return z.call(t)==="[object Number]"}function Tt(t){return z.call(t)==="[object Date]"}var bt=Array.isArray||function(n){return z.call(n)==="[object Array]"};function yt(t){return z.call(t)==="[object Function]"}function wt(t){return ft(t)||t===null||ht(t)&&t.length<=0||/^\s*$/.test(t)}function Mt(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var j=F+"flyout-menu",Pt="["+S+"="+j;function M(t,n=!0){let e=q(t,j),r=P(t),i=q(t,j+"_content"),s=0,o=0,a=1,u=2,l=3,c,E,p,x=ot.bind(this),C=k.bind(this),D,g=!0,y=!1;function P(d){let m=[],A=d.querySelectorAll(`${Pt}_trigger]`),$,R,ct;for(let ut=A.length>>>0;ut--;){for(ct=!1,$=A[ut],R=$.parentElement;R!==d;)R.getAttribute(S)&&R.getAttribute(S).split(" ").indexOf(j)!==-1?(ct=!0,R=d):R=R.parentElement;ct||m.unshift(A[ut])}return m}function X(d=!1){return s=d?l:o,r.forEach(m=>{w("expanded",m,d),m.addEventListener("click",h.bind(this)),m.addEventListener("touchstart",H,{passive:!0}),m.addEventListener("mouseover",st.bind(this)),m.addEventListener("mouseout",rt.bind(this))}),i.setAttribute("data-open",d?"true":"false"),n&&!d&&i.setAttribute("hidden",""),_t(),this}function w(d,m,A){let $=String(A);return m.setAttribute("aria-"+d,$),$}function H(){y=!0}function st(d){g||(y||this.dispatchEvent("triggerover",{target:this,trigger:d.target,type:"triggerover"}),y=!1)}function rt(d){g||this.dispatchEvent("triggerout",{target:this,trigger:d.target,type:"triggerout"})}function h(d){if(!g)switch(this.dispatchEvent("triggerclick",{target:this,trigger:d.target,type:"triggerclick"}),d.preventDefault(),s){case o:case a:this.expand();break;case u:case l:this.collapse();break}}function Q(){if(c==null||c.halt(),s===u||s===l)return this;if(s=u,n&&i.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!E||!p)return C(),this;let d=c==null?void 0:c.isAnimated();return d&&c.addEventListener(f.END_EVENT,C),E(),d||C(),this}function U(){if(c==null||c.halt(),s===a||s===o)return this;for(let m=0,A=r.length;m<A;m++)w("expanded",r[m],!1);if(i.setAttribute("data-open","false"),s=a,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!p||!E)return x(),this;let d=c==null?void 0:c.isAnimated();return d&&c.addEventListener(f.END_EVENT,x),p(),d||x(),this}function k(){s=l,i.setAttribute("data-open","true"),c&&c.removeEventListener(f.END_EVENT,C),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let d=0,m=r.length;d<m;d++)w("expanded",r[d],!0)}function ot(){s=o,n&&i.setAttribute("hidden",""),c&&c.removeEventListener(f.END_EVENT,x),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function Ct(d,m,A){c=d,m&&m!==p&&(p=m),A&&A!==E&&(E=A)}function Dt(){c&&c.remove();let d;c=d,E=d,p=d}function Ht(){return{container:e,content:i,trigger:r}}function _t(){return g&&(g=!1),!g}function Nt(){return g||(g=!0),g}function Bt(d){return D=d,this}let at=new v;return this.addEventListener=at.addEventListener,this.removeEventListener=at.removeEventListener,this.dispatchEvent=at.dispatchEvent,this.init=X,this.expand=Q,this.collapse=U,this.setTransition=Ct,this.clearTransition=Dt,this.getData=()=>D,this.getTransition=()=>c,this.getDom=Ht,this.isAnimating=()=>s===u||s===a,this.isExpanded=()=>s===l,this.resume=_t,this.setData=Bt,this.suspend=Nt,M.BASE_CLASS=j,this}var et={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function Et(t){let n=new v,e=new f(t,et,this);function r(o){return e.init(o),this}function i(){return e.applyClass(et.ALPHA_100),this}function s(){return e.applyClass(et.ALPHA_0),this}return this.addEventListener=n.addEventListener,this.dispatchEvent=n.dispatchEvent,this.removeEventListener=n.removeEventListener,this.animateOff=e.animateOff,this.animateOn=e.animateOn,this.halt=e.halt,this.isAnimated=e.isAnimated,this.remove=e.remove,this.setElement=e.setElement,this.fadeIn=i,this.fadeOut=s,this.init=r,this}Et.CLASSES=et;function f(t,n,e){let r=n,i=t;if(!e)throw new Error("Child transition argument must be defined!");let s=e,o,a,u,l=!1,c=!1,E=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function p(){a&&l?(i.addEventListener(a,u),s.dispatchEvent(f.BEGIN_EVENT,{target:s,type:f.BEGIN_EVENT}),i.classList.add(f.ANIMATING_CLASS),c=!0):(s.dispatchEvent(f.BEGIN_EVENT,{target:s,type:f.BEGIN_EVENT}),u())}function x(){i.removeEventListener(a,u)}function C(h){return h&&h.propertyName!==r.CSS_PROPERTY?!1:(x(),i.classList.remove(f.ANIMATING_CLASS),s.dispatchEvent(f.END_EVENT,{target:s,type:f.END_EVENT}),c=!1,!0)}function D(){let h;for(h in r)({}).hasOwnProperty.call(r,h)&&r[h]!==r.BASE_CLASS&&i.classList.contains(r[h])&&i.classList.remove(r[h])}function g(){c&&(i.style.webkitTransitionDuration="0",i.style.mozTransitionDuration="0",i.style.oTransitionDuration="0",i.style.transitionDuration="0",i.removeEventListener(a,u),u(),i.style.webkitTransitionDuration="",i.style.mozTransitionDuration="",i.style.oTransitionDuration="",i.style.transitionDuration="")}function y(){g(),D(),i.classList.remove(r.BASE_CLASS)}function P(){i.classList.remove(f.NO_ANIMATION_CLASS),l=!0}function X(){i.classList.add(f.NO_ANIMATION_CLASS),l=!1}function w(h){if(!h){let ot="Element does not have TransitionEnd event. It may be null!";throw new Error(ot)}let Q,U={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},k;for(k in U)if({}.hasOwnProperty.call(U,k)&&typeof h.style[k]!="undefined"){Q=U[k];break}return Q}function H(h){y(),P(),i=h,i.classList.add(r.BASE_CLASS),a=w(i)}function st(h){if(l=!i.classList.contains(f.NO_ANIMATION_CLASS),u=C.bind(this),H(i),!h)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return i.classList.add(h),this}function rt(h){return E||(D(),E=!0),i.classList.contains(h)?!1:(x(),i.classList.remove(o),o=h,p(),i.classList.add(o),!0)}return this.animateOff=X,this.animateOn=P,this.applyClass=rt,this.halt=g,this.init=st,this.isAnimated=()=>l,this.remove=y,this.setElement=H,this}f.BEGIN_EVENT="transitionbegin";f.END_EVENT="transitionend";f.NO_ANIMATION_CLASS="u-no-animation";f.ANIMATING_CLASS="u-is-animating";var Y={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 L(t){let n=new v,e=new f(t,Y,this),r=0;function i(){let p=t.scrollHeight+"px";t.style.maxHeight=p}function s(){window.removeEventListener("load",s),i()}function o(E){return e.init(E),window.addEventListener("load",s),window.addEventListener("resize",()=>{i()}),this}function a(){return i(),e.applyClass(Y.MH_DEFAULT),(!r||t.scrollHeight>r)&&(r=t.scrollHeight),this}function u(){return e.applyClass(Y.MH_SUMMARY),r=t.scrollHeight,this}function l(){return e.applyClass(Y.MH_ZERO),r=t.scrollHeight,this}function c(){return t.style.maxHeight="",e.remove()}return this.addEventListener=n.addEventListener,this.dispatchEvent=n.dispatchEvent,this.removeEventListener=n.removeEventListener,this.animateOff=e.animateOff,this.animateOn=e.animateOn,this.halt=e.halt,this.isAnimated=e.isAnimated,this.setElement=e.setElement,this.refresh=i,this.remove=c,this.init=o,this.maxHeightDefault=a,this.maxHeightSummary=u,this.maxHeightZero=l,this}L.CLASSES=Y;var B={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 mt(t){let n=new v,e=new f(t,B,this);function r(u){return e.init(u),this}function i(){return e.applyClass(B.MOVE_TO_ORIGIN),this}function s(u){u=u||1;let l=[B.MOVE_LEFT,B.MOVE_LEFT_2X,B.MOVE_LEFT_3X];return e.applyClass(l[u-1]),this}function o(){return e.applyClass(B.MOVE_RIGHT),this}function a(){return e.applyClass(B.MOVE_UP),this}return this.addEventListener=n.addEventListener,this.dispatchEvent=n.dispatchEvent,this.removeEventListener=n.removeEventListener,this.animateOff=e.animateOff,this.animateOn=e.animateOn,this.halt=e.halt,this.isAnimated=e.isAnimated,this.setElement=e.setElement,this.remove=e.remove,this.init=r,this.moveLeft=()=>s(1),this.moveLeft2=()=>s(2),this.moveLeft3=()=>s(3),this.moveRight=o,this.moveToOrigin=i,this.moveUp=a,this}mt.CLASSES=B;var V="o-expandable";function I(t){let n=O(t,V),e,r,i,s,o;function a(){if(!T(n))return this;e=n.querySelector(`.${V}__header`),r=n.querySelector(`.${V}__content`),i=n.querySelector(`.${V}__label`);let c=n.classList.contains(`${V}--onload-open`);_(n,"behavior_flyout-menu"),_(e,"behavior_flyout-menu_trigger"),_(r,"behavior_flyout-menu_content");let E=c?L.CLASSES.MH_DEFAULT:L.CLASSES.MH_ZERO;return s=new L(r).init(E),o=new M(n),o.setTransition(s,s.maxHeightZero,s.maxHeightDefault),o.init(c),o.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),o.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function u(){return i.textContent.trim()}this.init=a,this.expand=()=>o.expand(),this.collapse=()=>o.collapse(),this.isExpanded=()=>o.isExpanded(),this.refresh=()=>o.getTransition().refresh(),this.getLabelText=u;let l=new v;return this.addEventListener=l.addEventListener,this.removeEventListener=l.removeEventListener,this.dispatchEvent=l.dispatchEvent,this}I.BASE_CLASS=V;I.init=t=>b(`.${I.BASE_CLASS}`,I,t);var nt="o-expandable-group";function K(t){let n=O(t,nt),e=n.classList.contains(`${nt}__accordion`),r,i;function s(a){let u=a.target;i&&i!==u&&i.collapse(),i=u}function o(a){return T(n)?(e&&(r=a,r.forEach(u=>{u.addEventListener("expandbegin",s)})),this):this}return this.init=o,this}K.BASE_CLASS=nt;K.init=t=>{(t||document).querySelectorAll(`.${nt}`).forEach(r=>{let i=b(`.${I.BASE_CLASS}`,I,r);new K(r).init(i)})};var pt={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};function it(){let t=getComputedStyle(document.body).fontSize;return t=t===""?-1:t,parseFloat(t)}function kt(t,n){let e=t.min,r=t.max;it()>0&&it()!==16&&(e=e/16*it(),r=r/16*it());let s=e||0,o=r||Number.POSITIVE_INFINITY;return s<=n&&n<=o}function Vt(t){let n={};t=t||window.innerWidth;let e;for(e in pt)n[e]=kt(pt[e],t);return n}var vt="mobile",Gt="tablet",Xt="desktop";function It(t){let n=!1,e=Vt();return(t===vt&&e.bpXS||t===Gt&&e.bpSM||t===Xt&&(e.bpMED||e.bpLG||e.bpXL))&&(n=!0),n}var G="o-summary";function J(t){let n=O(t,G),e=n.classList.contains(`${G}--mobile`),r=n.querySelector(`.${G}__content`),i=n.querySelector(`.${G}__btn`),s,o,a;function u(){return T(n)?(window.addEventListener("load",l),this):this}function l(){window.removeEventListener("load",l),a=!x(),_(n,"behavior_flyout-menu"),_(r,"behavior_flyout-menu_content"),_(i,"behavior_flyout-menu_trigger"),o=new M(n,!1),s=new L(r),s.init(a?L.CLASSES.MH_SUMMARY:L.CLASSES.MH_DEFAULT),o.setTransition(s,s.maxHeightSummary,s.maxHeightDefault),o.addEventListener("triggerclick",C),o.init(),p(),window.addEventListener("resize",p),"onorientationchange"in window&&window.addEventListener("orientationchange",p),n.addEventListener("focusin",c),r.addEventListener("click",E)}function c(H){!a&&H.target!==i&&(i.click(),n.removeEventListener("focusin",c))}function E(H){H.target.tagName!=="A"&&o.isExpanded()&&s.refresh()}function p(){x()?X():P()}function x(){return e&&!It(vt)||r.scrollHeight<=88}function C(){o.addEventListener("expandend",D)}function D(){y(),window.removeEventListener("resize",p),window.removeEventListener("orientationchange",p),o.removeEventListener("expandend",D),o.suspend(),s.remove()}function g(){i.classList.remove("u-hidden")}function y(){i.classList.add("u-hidden")}function P(){return a&&(o.collapse(),s.animateOn(),g(),a=!1),!a}function X(){return a||(s.animateOff(),o.expand(),y(),a=!0),a}let w=new v;return this.addEventListener=w.addEventListener,this.removeEventListener=w.removeEventListener,this.dispatchEvent=w.dispatchEvent,this.init=u,this}J.BASE_CLASS=G;J.init=t=>b(`.${G}`,J,t);var Z="o-summary-minimal";function W(t){let n=O(t,Z),e=n.querySelector(`.${Z}__content`),r=n.querySelector(`.${Z}__btn`),i,s;function o(){return T(n)?(_(n,"behavior_flyout-menu"),_(e,"behavior_flyout-menu_content"),_(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",a),this):this}function a(){window.removeEventListener("load",a),s=new M(n,!1),i=new L(e),i.init(L.CLASSES.MH_SUMMARY),s.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),s.init(),n.addEventListener("focusin",u),e.addEventListener("click",l),s.collapse(),i.animateOn()}function u(E){E.target!==r&&(r.click(),n.removeEventListener("focusin",u))}function l(E){E.target.tagName!=="A"&&s.isExpanded()&&i.refresh()}let c=new v;return this.addEventListener=c.addEventListener,this.removeEventListener=c.removeEventListener,this.dispatchEvent=c.dispatchEvent,this.init=o,this}W.BASE_CLASS=Z;W.init=t=>b(`.${Z}`,W,t);})(); | ||
(()=>{var bt=Object.defineProperty;var mt=Object.getOwnPropertySymbols;var Tt=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable;var pt=(e,t,a)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,we=(e,t)=>{for(var a in t||(t={}))Tt.call(t,a)&&pt(e,a,t[a]);if(mt)for(var a of mt(t))Ot.call(t,a)&&pt(e,a,t[a]);return e};var u=(e,t)=>{for(var a in t)bt(e,a,{get:t[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={};u(ke,{default:()=>It});var It={};var Se={};u(Se,{default:()=>Bt});var Bt={};var Ee={};u(Ee,{default:()=>Nt});var Nt={};var De={};u(De,{default:()=>qt});var qt={};var Ae={};u(Ae,{default:()=>Ht});var Ht={};var Le={};u(Le,{default:()=>Gt});var Gt={};var Te={};u(Te,{default:()=>Pt});var Pt={};function se(){let e=getComputedStyle(document.body).fontSize;return e=e===""?-1:e,parseFloat(e)}function Ut(e,t){let a=e.min,o=e.max;se()>0&&se()!==16&&(a=a/16*se(),o=o/16*se());let i=a||0,l=o||Number.POSITIVE_INFINITY;return i<=t&&t<=l}function Xt(e){let t={};e=e||window.innerWidth;let a;for(a in le)t[a]=Ut(le[a],e);return t}var de="mobile",Kt="tablet",Yt="desktop";function Oe(e){let t=!1,a=Xt();return(e===de&&a.bpXS||e===Kt&&a.bpSM||e===Yt&&(a.bpMED||a.bpLG||a.bpXL))&&(t=!0),t}var z="data-js-hook",Z="behavior_",je="state_";function A(){let e={};function t(r,i){return{}.hasOwnProperty.call(e,r)?e[r].push(i):e[r]=[i],this}function a(r,i){if(!{}.hasOwnProperty.call(e,r))return this;let l=e[r].indexOf(i);return l!==-1&&e[r].splice(l,1),this}function o(r,i){if(!{}.hasOwnProperty.call(e,r))return this;i=i||{};let l=e[r];for(let d=0,c=l.length;d<c;d++)l[d].call(this,i);return this}return this.addEventListener=t,this.removeEventListener=a,this.dispatchEvent=o,this.getRegisteredEvents=()=>e,this}function W(e,t){if(!e)return!1;let a=e.getAttribute(z);return a?(a=a.split(" "),a.indexOf(t)>-1):!1}function L(e,t){if(W(e,t))return t;if(t.indexOf(" ")!==-1){let o=z+" values cannot contain spaces!";throw new Error(o)}let a=e.getAttribute(z);return a!==null&&(t=a+" "+t),e.setAttribute(z,t),t}var Ie=je+"atomic_init";function Jt(e,t){if(!e||!e.classList){let a=e+' is not valid. Check that element is a DOM node with class "'+t+'"';throw new Error(a)}return e}function Wt(e,t){let a=e.classList.contains(t)?e:e.querySelector("."+t);if(!a){let o=t+" not found on or in passed DOM node.";throw new Error(o)}return a}function q(e,t){return Jt(e,t),Wt(e,t)}function M(e){return W(e,Ie)?!1:(L(e,Ie),!0)}function F(e,t,a,o={}){let i=(a||document).querySelectorAll(e),l=[],d,c;for(let p=0,h=i.length;p<h;p++)c=i[p],W(c,Ie)===!1&&(d=new t(c),d.init(o),l.push(d));return l}function ut(e,t){t=t||document;let a=[];try{a=t.querySelectorAll(e)}catch(o){let r=`${e} not found in DOM! ${o}`;throw new Error(r)}return a.length===0&&e.indexOf(Z)===-1&&(a=gt(e,t)),a}function $t(e,t,a,o){let r=[];e instanceof NodeList?r=e:e instanceof Node?r=[e]:typeof e=="string"&&(r=ut(e,o));for(let i=0,l=r.length;i<l;i++)r[i].addEventListener(t,a,!1);return r}function ce(e,t){let a;if(W(e,t))return a=e,a;if(e){let o="["+z+"="+t+"]";a=e.querySelector(o)}if(!a){let o=t+" behavior not found on passed DOM node!";throw new Error(o)}return a}function gt(e,t){return e=z+"*="+Z+e,e="["+e+"]",ut(e,t)}function Zt(e,t,a){e.removeEventListener(t,a)}var te=Object.prototype.toString;function ft(e){return typeof e=="undefined"}function Qt(e){return typeof e!="undefined"}function ea(e){return e!==null&&typeof e=="object"}function yt(e){return te.call(e)==="[object String]"}function ta(e){return te.call(e)==="[object Number]"}function aa(e){return te.call(e)==="[object Date]"}var ia=Array.isArray||function(t){return te.call(t)==="[object Array]"};function ra(e){return te.call(e)==="[object Function]"}function oa(e){return ft(e)||e===null||yt(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",na="["+z+"="+ae;function X(e,t=!0){let a=ce(e,ae),o=V(e),r=ce(e,ae+"_content"),i=0,l=0,d=1,c=2,p=3,h,f,y,v=$.bind(this),T=P.bind(this),S,E=!0,O=!1;function V(n){let s=[],m=n.querySelectorAll(`${na}_trigger]`),b,k,U;for(let G=m.length>>>0;G--;){for(U=!1,b=m[G],k=b.parentElement;k!==n;)k.getAttribute(z)&&k.getAttribute(z).split(" ").indexOf(ae)!==-1?(U=!0,k=n):k=k.parentElement;U||s.unshift(m[G])}return s}function R(n=!1){return i=n?p:l,o.forEach(s=>{I("expanded",s,n),s.addEventListener("click",x.bind(this)),s.addEventListener("touchstart",g,{passive:!0}),s.addEventListener("mouseover",w.bind(this)),s.addEventListener("mouseout",D.bind(this))}),r.setAttribute("data-open",n?"true":"false"),t&&!n&&r.setAttribute("hidden",""),ne(),this}function I(n,s,m){let b=String(m);return s.setAttribute("aria-"+n,b),b}function g(){O=!0}function w(n){E||(O||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),O=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function x(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),i){case l:case d:this.expand();break;case c:case p:this.collapse();break}}function j(){if(h==null||h.halt(),i===c||i===p)return this;if(i=c,t&&r.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!y)return T(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,T),f(),n||T(),this}function C(){if(h==null||h.halt(),i===d||i===l)return this;for(let s=0,m=o.length;s<m;s++)I("expanded",o[s],!1);if(r.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!f)return v(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,v),y(),n||v(),this}function P(){i=p,r.setAttribute("data-open","true"),h&&h.removeEventListener(_.END_EVENT,T),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,s=o.length;n<s;n++)I("expanded",o[n],!0)}function $(){i=l,t&&r.setAttribute("hidden",""),h&&h.removeEventListener(_.END_EVENT,v),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function oe(n,s,m){h=n,s&&s!==y&&(y=s),m&&m!==f&&(f=m)}function ye(){h&&h.remove();let n;h=n,f=n,y=n}function xe(){return{container:a,content:r,trigger:o}}function ne(){return E&&(E=!1),!E}function ve(){return E||(E=!0),E}function _e(n){return S=n,this}let J=new A;return this.addEventListener=J.addEventListener,this.removeEventListener=J.removeEventListener,this.dispatchEvent=J.dispatchEvent,this.init=R,this.expand=j,this.collapse=C,this.setTransition=oe,this.clearTransition=ye,this.getData=()=>S,this.getTransition=()=>h,this.getDom=xe,this.isAnimating=()=>i===c||i===d,this.isExpanded=()=>i===p,this.resume=ne,this.setData=_e,this.suspend=ve,X.BASE_CLASS=ae,this}var he={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function xt(e){let t=new A,a=new _(e,he,this);function o(l){return a.init(l),this}function r(){return a.applyClass(he.ALPHA_100),this}function i(){return a.applyClass(he.ALPHA_0),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.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=r,this.fadeOut=i,this.init=o,this}xt.CLASSES=he;function _(e,t,a){let o=t,r=e;if(!a)throw new Error("Child transition argument must be defined!");let i=a,l,d,c,p=!1,h=!1,f=!1;if(typeof o.CSS_PROPERTY=="undefined"||typeof o.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(r.addEventListener(d,c),i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),r.classList.add(_.ANIMATING_CLASS),h=!0):(i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),c())}function v(){r.removeEventListener(d,c)}function T(x){return x&&x.propertyName!==o.CSS_PROPERTY?!1:(v(),r.classList.remove(_.ANIMATING_CLASS),i.dispatchEvent(_.END_EVENT,{target:i,type:_.END_EVENT}),h=!1,!0)}function S(){let x;for(x in o)({}).hasOwnProperty.call(o,x)&&o[x]!==o.BASE_CLASS&&r.classList.contains(o[x])&&r.classList.remove(o[x])}function E(){h&&(r.style.webkitTransitionDuration="0",r.style.mozTransitionDuration="0",r.style.oTransitionDuration="0",r.style.transitionDuration="0",r.removeEventListener(d,c),c(),r.style.webkitTransitionDuration="",r.style.mozTransitionDuration="",r.style.oTransitionDuration="",r.style.transitionDuration="")}function O(){E(),S(),r.classList.remove(o.BASE_CLASS)}function V(){r.classList.remove(_.NO_ANIMATION_CLASS),p=!0}function R(){r.classList.add(_.NO_ANIMATION_CLASS),p=!1}function I(x){if(!x){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let j,C={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},P;for(P in C)if({}.hasOwnProperty.call(C,P)&&typeof x.style[P]!="undefined"){j=C[P];break}return j}function g(x){O(),V(),r=x,r.classList.add(o.BASE_CLASS),d=I(r)}function w(x){if(p=!r.classList.contains(_.NO_ANIMATION_CLASS),c=T.bind(this),g(r),!x)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return r.classList.add(x),this}function D(x){return f||(S(),f=!0),r.classList.contains(x)?!1:(v(),r.classList.remove(l),l=x,y(),r.classList.add(l),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=O,this.setElement=g,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var ie={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 t=new A,a=new _(e,ie,this),o=0;function r(){let y=e.scrollHeight+"px";e.style.maxHeight=y}function i(){window.removeEventListener("load",i),r()}function l(f){return a.init(f),window.addEventListener("load",i),window.addEventListener("resize",()=>{r()}),this}function d(){return r(),a.applyClass(ie.MH_DEFAULT),(!o||e.scrollHeight>o)&&(o=e.scrollHeight),this}function c(){return a.applyClass(ie.MH_SUMMARY),o=e.scrollHeight,this}function p(){return a.applyClass(ie.MH_ZERO),o=e.scrollHeight,this}function h(){return e.style.maxHeight="",a.remove()}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.refresh=r,this.remove=h,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}B.CLASSES=ie;var K={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 vt(e){let t=new A,a=new _(e,K,this);function o(c){return a.init(c),this}function r(){return a.applyClass(K.MOVE_TO_ORIGIN),this}function i(c){c=c||1;let p=[K.MOVE_LEFT,K.MOVE_LEFT_2X,K.MOVE_LEFT_3X];return a.applyClass(p[c-1]),this}function l(){return a.applyClass(K.MOVE_RIGHT),this}function d(){return a.applyClass(K.MOVE_UP),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.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=o,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=r,this.moveUp=d,this}vt.CLASSES=K;var Be={};u(Be,{default:()=>da});var da={};var Q="o-expandable";function Y(e){let t=q(e,Q),a,o,r,i,l;function d(){if(!M(t))return this;a=t.querySelector(`.${Q}__header`),o=t.querySelector(`.${Q}__content`),r=t.querySelector(`.${Q}__label`);let h=t.classList.contains(`${Q}--onload-open`);L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_trigger"),L(o,"behavior_flyout-menu_content");let f=h?B.CLASSES.MH_DEFAULT:B.CLASSES.MH_ZERO;return i=new B(o).init(f),l=new X(t),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(h),l.addEventListener("expandbegin",()=>{o.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{o.classList.add("u-hidden")}),this}function c(){return r.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}Y.BASE_CLASS=Q;Y.init=e=>F(`.${Y.BASE_CLASS}`,Y,e);var Me={};u(Me,{default:()=>ha});var ha={};var me="o-expandable-group";function pe(e){let t=q(e,me),a=t.classList.contains(`${me}__accordion`),o,r;function i(d){let c=d.target;r&&r!==c&&r.collapse(),r=c}function l(d){return M(t)?(a&&(o=d,o.forEach(c=>{c.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}pe.BASE_CLASS=me;pe.init=e=>{(e||document).querySelectorAll(`.${me}`).forEach(o=>{let r=F(`.${Y.BASE_CLASS}`,Y,o);new pe(o).init(r)})};var Ne={};u(Ne,{default:()=>pa});var pa={};var ee="o-summary";function be(e){let t=q(e,ee),a=t.classList.contains(`${ee}--mobile`),o=t.querySelector(`.${ee}__content`),r=t.querySelector(`.${ee}__btn`),i,l,d;function c(){return M(t)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!v(),L(t,"behavior_flyout-menu"),L(o,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),l=new X(t,!1),i=new B(o),i.init(d?B.CLASSES.MH_SUMMARY:B.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",T),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),t.addEventListener("focusin",h),o.addEventListener("click",f)}function h(g){!d&&g.target!==r&&(r.click(),t.removeEventListener("focusin",h))}function f(g){g.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){v()?R():V()}function v(){return a&&!Oe(de)||o.scrollHeight<=88}function T(){l.addEventListener("expandend",S)}function S(){O(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",S),l.suspend(),i.remove()}function E(){r.classList.remove("u-hidden")}function O(){r.classList.add("u-hidden")}function V(){return d&&(l.collapse(),i.animateOn(),E(),d=!1),!d}function R(){return d||(i.animateOff(),l.expand(),O(),d=!0),d}let I=new A;return this.addEventListener=I.addEventListener,this.removeEventListener=I.removeEventListener,this.dispatchEvent=I.dispatchEvent,this.init=c,this}be.BASE_CLASS=ee;be.init=e=>F(`.${ee}`,be,e);var re="o-summary-minimal";function ue(e){let t=q(e,re),a=t.querySelector(`.${re}__content`),o=t.querySelector(`.${re}__btn`),r,i;function l(){return M(t)?(L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_content"),L(o,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new X(t,!1),r=new B(a),r.init(B.CLASSES.MH_SUMMARY),i.setTransition(r,r.maxHeightSummary,r.maxHeightDefault),i.init(),t.addEventListener("focusin",c),a.addEventListener("click",p),i.collapse(),r.animateOn()}function c(f){f.target!==o&&(o.click(),t.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&i.isExpanded()&&r.refresh()}let h=new A;return this.addEventListener=h.addEventListener,this.removeEventListener=h.removeEventListener,this.dispatchEvent=h.dispatchEvent,this.init=l,this}ue.BASE_CLASS=re;ue.init=e=>F(`.${re}`,ue,e);var Ce={};u(Ce,{default:()=>ga});var ga={};var qe={};u(qe,{default:()=>ya});var ya={};var Fe={};u(Fe,{default:()=>va});var va={};var He={};u(He,{default:()=>wa});var wa={};var Ve={};u(Ve,{default:()=>Sa});var Sa={};var Ge={};u(Ge,{default:()=>Da});var Da={};var Re={};u(Re,{default:()=>La});var La={};var Pe={};u(Pe,{default:()=>Oa});var Oa={};var ja;function Ia(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function za(e,t){return RegExp(Ia(t.trim()),"i").test(e)}function Ba(e,t,a){let o=e,r=t,i=(a==null?void 0:a.maxSelections)||5,l=[],d=[],c=[],p=[],h=-1;function f(g){return r+"-"+g.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function v(g){let w,D=[],x=!1;for(let j=0,C=g.length;j<C;j++)w=g[j],x=y()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:x}),x&&d.push(j);return D}function T(){return l=v(o),this}function S(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(w){return w!==g}),!1)}function E(g,w,D,x){return za(w.text,x)&&g.push(D),g}function O(g){return Object.prototype.toString.call(g)!=="[object String]"&&(g=""),p=c,l.length>0&&(c=l.reduce(function(w,D,x){return E(w,D,x,g)},[])),h=-1,c}function V(g){return l[g]}function R(g){let w=c.length,D=w===0?l.length:w;g<0?h=-1:g>=D?h=D-1:h=g}function I(){return h}return this.init=T,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=O,this.clearFilter=function(){return c=p=[],ja},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=I,this.setIndex=R,this.resetIndex=function(){return h=-1,h},this.getOption=V,this}var _t=Ba;function H(e,t,a){let o=document.createElement(e);return Object.keys(a).forEach(r=>{let i=a[r];r in o?o[r]=i:o.setAttribute(r,i)}),t&&t.appendChild(o),o}var wt='<svg xmlns="http://www.w3.org/2000/svg" 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 Fa=wt,N="o-multiselect",Ha="a-checkbox",Va="a-text-input",kt="prev",ge="next",Ue="Enter",Ga=" ",St="Escape",Ra="ArrowUp",Et="ArrowDown",Dt="Tab",At={renderTags:!0,maxSelections:5};function fe(e){e.classList.add(N);let t=q(e,N),a=!1,o,r,i,l,d,c,p,h,f,y,v,T=[],S;function E(){v.classList.remove("u-no-results"),v.classList.add("u-filtered");let n=i.getLastFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.remove("u-filter-match");n=i.getFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.add("u-filter-match")}function O(){v.classList.remove("u-filtered","u-no-results");for(let n=0,s=v.children.length;n<s;n++)v.children[n].classList.remove("u-filter-match");i.clearFilter()}function V(){v.classList.add("u-no-results"),v.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function I(n){O(),i.resetIndex();let s=i.filterIndices(n);R(s)}function g(){return c.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===ge?i.setIndex(i.getIndex()+1):n===kt&&i.setIndex(i.getIndex()-1);let s=i.getIndex();if(s>-1){let m=s,b=i.getFilterIndices();b.length>0&&(m=b[s]);let U=i.getOption(m).value,Lt=v.querySelector('[data-option="'+U+'"]').querySelector("input");a=!0,Lt.focus()}else a=!1,f.focus()}function x(){f.value="",O()}function j(n){let s=n.target;s.tagName==="BUTTON"&&(n.preventDefault(),s.removeEventListener("click",j),s.querySelector("label").click())}function C(n){if(n.key===Ga||n.key===Ue){let s=n.target.querySelector("label");v.querySelector("#"+s.getAttribute("for")).click()}}function P(n){return o+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,s){let m=P(s),b=H("li",null,{"data-option":s.value}),k=H("button",b,{type:"button",innerHTML:"<label for="+m+">"+s.text+Fa+"</label>"});n.appendChild(b),k.addEventListener("click",j),k.addEventListener("keydown",C)}function oe(n){let s=i.getOption(n)||i.getOption(i.getIndex());if(s){if(s.checked){v.classList.contains("u-max-selections")&&v.classList.remove("u-max-selections");let m='[data-option="'+s.value+'"]',b=p.querySelector(m);typeof b!="undefined"&&b&&(p==null||p.removeChild(b))}else d!=null&&d.renderTags&&p&&$(p,s);i.toggleOption(n),i.isAtMaxSelections()&&v.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}i.resetIndex(),a=!1,y.getAttribute("aria-hidden")==="false"&&f.focus()}function ye(n){oe(Number(n.target.getAttribute("data-index"))),x()}function xe(){h.addEventListener("mousemove",function(m){let b=m.target;m.offsetX>b.offsetWidth-35?b.style.cursor="pointer":b.style.cursor="auto"}),h.addEventListener("mouseup",function(m){let b=m.target;m.offsetX>b.offsetWidth-35&&y.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){I(this.value)}),f.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&g()}),f.addEventListener("blur",function(){!a&&y.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(m){let b=m.key;y.getAttribute("aria-hidden")==="true"&&b!==Dt&&g(),b===Ue?(m.preventDefault(),D(ge)):b===St?(x(),w()):b===Et?D(ge):b===Dt&&!m.shiftKey&&y.getAttribute("aria-hidden")==="false"&&w()}),v.addEventListener("mousedown",function(){a=!0}),v.addEventListener("keydown",function(m){let b=m.key,k=m.target,U=k.checked;if(b===Ue){m.preventDefault(),k.checked=!U;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else b===St?(f.focus(),w()):b===Ra?D(kt):b===Et&&D(ge)}),y.addEventListener("mousedown",function(m){m.target.tagName==="LABEL"&&(a=!0)});let n=v.querySelectorAll("input");for(let m=0,b=n.length;m<b;m++)n[m].addEventListener("change",ye);let s=p.querySelectorAll("button");for(let m=0,b=s.length;m<b;m++)s[m].addEventListener("click",j),s[m].addEventListener("keydown",C)}function ne(){c=document.createElement("div"),c.className=N,p=H("ul",null,{className:N+"__choices"}),h=H("header",c,{className:N+"__header"}),f=H("input",h,{className:N+"__search "+Va,type:"text",placeholder:r||"Select up to five",id:t.id,autocomplete:"off"}),y=H("fieldset",c,{className:N+"__fieldset u-invisible","aria-hidden":"true"});let n=N+"__options";i.isAtMaxSelections()&&(n+=" u-max-selections"),v=H("ul",y,{className:n});let s,m,b;for(let k=0,U=l.length;k<U;k++){s=l[k],m=P(s),b=i.getOption(k).checked;let G=H("li",v,{"data-option":s.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});H("input",G,{id:m,type:"checkbox",value:s.value,name:o,class:Ha+" "+N+"__checkbox",checked:b,"data-index":k}),H("label",G,{for:m,textContent:s.text,className:N+"__label a-label"}),T.push(G),b&&(d!=null&&d.renderTags)&&$(p,s)}return c.insertBefore(p,h),t.parentNode.insertBefore(c,t),c.appendChild(t),c}function ve(n=At){if(!M(t))return this;if(ze())return this;if(S=this,o=t.name||t.id,r=t.getAttribute("placeholder"),l=t.options||[],d=we(we({},At),n),l.length>0){i=new _t(l,o,d).init();let s=ne();t.parentNode.removeChild(t),t=s,M(t),xe()}return this}function _e(){return i}this.init=ve,this.expand=g,this.collapse=w;let J=new A;return this.addEventListener=J.addEventListener,this.removeEventListener=J.removeEventListener,this.dispatchEvent=J.dispatchEvent,this.getModel=_e,this.updateSelections=oe,this.selectionClickHandler=j,this.selectionKeyDownHandler=C,this}fe.BASE_CLASS=N;fe.init=e=>F(`.${N}`,fe,void 0,e);var Xe={};u(Xe,{default:()=>Ua});var Ua={};var Ke={};u(Ke,{default:()=>Ka});var Ka={};var Ye={};u(Ye,{default:()=>Ja});var Ja={};var Je={};u(Je,{default:()=>$a});var $a={};var We={};u(We,{default:()=>Qa});var Qa={};var $e={};u($e,{default:()=>ti});var ti={};var Ze={};u(Ze,{default:()=>ii});var ii={};var Qe={};u(Qe,{default:()=>oi});var oi={};var et={};u(et,{default:()=>li});var li={};var tt={};u(tt,{default:()=>di});var di={};var at={};u(at,{default:()=>hi});var hi={};var it={};u(it,{default:()=>pi});var pi={};var rt={};u(rt,{default:()=>ui});var ui={};var ot={};u(ot,{default:()=>fi});var fi={};var nt={};u(nt,{default:()=>xi});var xi={};var lt={};u(lt,{default:()=>_i});var _i={};var st={};u(st,{default:()=>ki});var ki={};var dt={};u(dt,{default:()=>Ei});var Ei={};var ct={};u(ct,{default:()=>Ai});var Ai={};var ht={};u(ht,{default:()=>Ti});var Ti={};})(); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@cfpb/cfpb-design-system", | ||
"version": "2.0.1", | ||
"version": "3.0.0", | ||
"description": "CFPB's UI framework", | ||
"main": "src/cfpb-design-system.js", | ||
"main": "src/index.js", | ||
"author": { | ||
@@ -22,18 +22,4 @@ "name": "Consumer Financial Protection Bureau", | ||
}, | ||
"dependencies": { | ||
"@cfpb/cfpb-atomic-component": "^2.0.1", | ||
"@cfpb/cfpb-buttons": "^2.0.0", | ||
"@cfpb/cfpb-core": "^2.0.0", | ||
"@cfpb/cfpb-expandables": "^2.0.1", | ||
"@cfpb/cfpb-forms": "^2.0.0", | ||
"@cfpb/cfpb-grid": "^2.0.0", | ||
"@cfpb/cfpb-icons": "^2.0.0", | ||
"@cfpb/cfpb-layout": "^2.0.0", | ||
"@cfpb/cfpb-notifications": "^2.0.1", | ||
"@cfpb/cfpb-pagination": "^2.0.0", | ||
"@cfpb/cfpb-tables": "^2.0.1", | ||
"@cfpb/cfpb-typography": "^2.0.1" | ||
}, | ||
"gitHead": "89780ce45386174f7a781c9c7b99b89c6b26e10c", | ||
"gitHead": "5810e39c705e77c043124b0cebbb0aa370fe4116", | ||
"type": "module" | ||
} |
@@ -5,38 +5,16 @@ /* ========================================================================== | ||
export { | ||
Expandable, | ||
ExpandableGroup, | ||
Summary, | ||
SummaryMinimal, | ||
} from '@cfpb/cfpb-expandables/src/index.js'; | ||
export * from './abstracts'; | ||
export { | ||
BEHAVIOR_PREFIX, | ||
JS_HOOK, | ||
STATE_PREFIX, | ||
EventObserver, | ||
checkDom, | ||
instantiateAll, | ||
setInitFlag, | ||
attach, | ||
checkBehaviorDom, | ||
find, | ||
remove, | ||
isUndefined, | ||
isDefined, | ||
isObject, | ||
isString, | ||
isNumber, | ||
isDate, | ||
isArray, | ||
isFunction, | ||
isEmpty, | ||
add, | ||
contains, | ||
isMobileUserAgent, | ||
FlyoutMenu, | ||
AlphaTransition, | ||
BaseTransition, | ||
MaxHeightTransition, | ||
MoveTransition, | ||
} from '@cfpb/cfpb-atomic-component/src/index.js'; | ||
export * from './base'; | ||
export * from './components/cfpb-buttons'; | ||
export * from './components/cfpb-expandables'; | ||
export * from './components/cfpb-forms'; | ||
export * from './components/cfpb-icons'; | ||
export * from './components/cfpb-layout'; | ||
export * from './components/cfpb-notifications'; | ||
export * from './components/cfpb-pagination'; | ||
export * from './components/cfpb-tables'; | ||
export * from './components/cfpb-typography'; | ||
export * from './utilities'; |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3667792
0
494
5529
1
- Removed@cfpb/cfpb-atomic-component@^2.0.1
- Removed@cfpb/cfpb-buttons@^2.0.0
- Removed@cfpb/cfpb-core@^2.0.0
- Removed@cfpb/cfpb-expandables@^2.0.1
- Removed@cfpb/cfpb-forms@^2.0.0
- Removed@cfpb/cfpb-grid@^2.0.0
- Removed@cfpb/cfpb-icons@^2.0.0
- Removed@cfpb/cfpb-layout@^2.0.0
- Removed@cfpb/cfpb-notifications@^2.0.1
- Removed@cfpb/cfpb-pagination@^2.0.0
- Removed@cfpb/cfpb-tables@^2.0.1
- Removed@cfpb/cfpb-typography@^2.0.1
- Removed@cfpb/cfpb-atomic-component@2.0.1(transitive)
- Removed@cfpb/cfpb-buttons@2.0.0(transitive)
- Removed@cfpb/cfpb-core@2.0.0(transitive)
- Removed@cfpb/cfpb-expandables@2.0.1(transitive)
- Removed@cfpb/cfpb-forms@2.0.0(transitive)
- Removed@cfpb/cfpb-grid@2.0.0(transitive)
- Removed@cfpb/cfpb-icons@2.0.0(transitive)
- Removed@cfpb/cfpb-layout@2.0.0(transitive)
- Removed@cfpb/cfpb-notifications@2.0.1(transitive)
- Removed@cfpb/cfpb-pagination@2.0.0(transitive)
- Removed@cfpb/cfpb-tables@2.0.1(transitive)
- Removed@cfpb/cfpb-typography@2.0.1(transitive)