@progressiveui/react 2.1.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Modal/Modal.d.ts +6 -0
- package/dist/components/NumberInput/NumberInput.d.ts +5 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
- package/dist/index.cjs.js +12 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +871 -868
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +14 -14
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var zr;function Qs(){return zr||(zr=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===
|
|
17
|
+
*/var zr;function Qs(){return zr||(zr=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===U?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case y:return"Fragment";case j:return"Profiler";case x:return"StrictMode";case _:return"Suspense";case N:return"SuspenseList";case W:return"Activity"}if(typeof u=="object")switch(typeof u.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),u.$$typeof){case w:return"Portal";case S:return(u.displayName||"Context")+".Provider";case O:return(u._context.displayName||"Context")+".Consumer";case E:var g=u.render;return u=u.displayName,u||(u=g.displayName||g.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case k:return g=u.displayName||null,g!==null?g:e(u.type)||"Memo";case D:g=u._payload,u=u._init;try{return e(u(g))}catch{}}return null}function t(u){return""+u}function r(u){try{t(u);var g=!1}catch{g=!0}if(g){g=console;var $=g.error,T=typeof Symbol=="function"&&Symbol.toStringTag&&u[Symbol.toStringTag]||u.constructor.name||"Object";return $.call(g,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",T),t(u)}}function n(u){if(u===y)return"<>";if(typeof u=="object"&&u!==null&&u.$$typeof===D)return"<...>";try{var g=e(u);return g?"<"+g+">":"<...>"}catch{return"<...>"}}function o(){var u=M.A;return u===null?null:u.getOwner()}function s(){return Error("react-stack-top-frame")}function c(u){if(L.call(u,"key")){var g=Object.getOwnPropertyDescriptor(u,"key").get;if(g&&g.isReactWarning)return!1}return u.key!==void 0}function d(u,g){function $(){G||(G=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",g))}$.isReactWarning=!0,Object.defineProperty(u,"key",{get:$,configurable:!0})}function l(){var u=e(this.type);return V[u]||(V[u]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),u=this.props.ref,u!==void 0?u:null}function i(u,g,$,T,P,H,I,K){return $=H.ref,u={$$typeof:v,type:u,key:g,props:H,_owner:P},($!==void 0?$:null)!==null?Object.defineProperty(u,"ref",{enumerable:!1,get:l}):Object.defineProperty(u,"ref",{enumerable:!1,value:null}),u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(u,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(u,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:I}),Object.defineProperty(u,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:K}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}function h(u,g,$,T,P,H,I,K){var B=g.children;if(B!==void 0)if(T)if(J(B)){for(T=0;T<B.length;T++)m(B[T]);Object.freeze&&Object.freeze(B)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else m(B);if(L.call(g,"key")){B=e(u);var te=Object.keys(g).filter(function(me){return me!=="key"});T=0<te.length?"{key: someKey, "+te.join(": ..., ")+": ...}":"{key: someKey}",ce[B+T]||(te=0<te.length?"{"+te.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,T,
|
|
22
|
+
<%s key={someKey} {...props} />`,T,B,te,B),ce[B+T]=!0)}if(B=null,$!==void 0&&(r($),B=""+$),c(g)&&(r(g.key),B=""+g.key),"key"in g){$={};for(var ne in g)ne!=="key"&&($[ne]=g[ne])}else $=g;return B&&d($,typeof u=="function"?u.displayName||u.name||"Unknown":u),i(u,B,H,P,o(),$,I,K)}function m(u){typeof u=="object"&&u!==null&&u.$$typeof===v&&u._store&&(u._store.validated=1)}var f=z,v=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),S=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),U=Symbol.for("react.client.reference"),M=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=Object.prototype.hasOwnProperty,J=Array.isArray,X=console.createTask?console.createTask:function(){return null};f={"react-stack-bottom-frame":function(u){return u()}};var G,V={},ee=f["react-stack-bottom-frame"].bind(f,s)(),le=X(n(s)),ce={};ot.Fragment=y,ot.jsx=function(u,g,$,T,P){var H=1e4>M.recentlyCreatedOwnerStacks++;return h(u,g,$,!1,T,P,H?Error("react-stack-top-frame"):ee,H?X(n(u)):le)},ot.jsxs=function(u,g,$,T,P){var H=1e4>M.recentlyCreatedOwnerStacks++;return h(u,g,$,!0,T,P,H?Error("react-stack-top-frame"):ee,H?X(n(u)):le)}}()),ot}var Ur;function Zs(){return Ur||(Ur=1,process.env.NODE_ENV==="production"?wt.exports=Xs():wt.exports=Qs()),wt.exports}var a=Zs();const sr=0,or=1,St=2,Ot=3,Rt=4,Js=5,Rn=6,eo=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],to=e=>({_s:e,status:eo[e],isEnter:e<Ot,isMounted:e!==Rn,isResolved:e===St||e>Rt}),ar=e=>e?Rn:Js,ro=(e,t)=>{switch(e){case or:case sr:return St;case Rt:case Ot:return ar(t)}},no=e=>typeof e=="object"?[e.enter,e.exit]:[e,e],so=(e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0),Yt=(e,t,r,n,o,s)=>{clearTimeout(o);const c=to(t),d=new Map(n.current);d.set(e,c),r(d),n.current=d,s&&s({key:e,current:c})},oo=({allowMultiple:e,enter:t=!0,exit:r=!0,preEnter:n,preExit:o,timeout:s,initialEntered:c,mountOnEnter:d,unmountOnExit:l,onStateChange:i}={})=>{const[h,m]=z.useState(new Map),f=z.useRef(h),v=z.useRef(new Map),[w,y]=no(s),x=z.useCallback((_,N)=>{const{initialEntered:k=c}=N||{},D=k?St:ar(d);Yt(_,D,m,f),v.current.set(_,{})},[c,d]),j=z.useCallback(_=>{const N=new Map(f.current);return N.delete(_)?(m(N),f.current=N,v.current.delete(_),!0):!1},[]),O=z.useCallback(_=>{const N=f.current.get(_);if(!N){process.env.NODE_ENV!=="production"&&console.error(`[React-Transition-State] invalid key: ${_}`);return}const{timeoutId:k}=v.current.get(_),D=ro(N._s,l);D&&Yt(_,D,m,f,k,i)},[i,l]),S=z.useCallback((_,N)=>{const k=f.current.get(_);if(!k){process.env.NODE_ENV!=="production"&&console.error(`[React-Transition-State] invalid key: ${_}`);return}const D=v.current.get(_),W=M=>{switch(Yt(_,M,m,f,D.timeoutId,i),M){case or:w>=0&&(D.timeoutId=setTimeout(()=>O(_),w));break;case Rt:y>=0&&(D.timeoutId=setTimeout(()=>O(_),y));break;case sr:case Ot:D.timeoutId=so(W,M);break}},U=k.isEnter;typeof N!="boolean"&&(N=!U),N?U||(W(t?n?sr:or:St),!e&&f.current.forEach((M,L)=>L!==_&&S(L,!1))):U&&W(r?o?Ot:Rt:ar(l))},[i,O,e,t,r,n,o,w,y,l]),E=z.useCallback(_=>{if(!(!e&&_!==!1))for(const N of f.current.keys())S(N,_)},[e,S]);return{stateMap:h,toggle:S,toggleAll:E,endTransition:O,setItem:x,deleteItem:j}},$t=(e,t)=>e===!0||!!(e&&e[t]),ao=({transition:e,transitionTimeout:t,...r}={})=>{const n=oo({timeout:t,enter:$t(e,"enter"),exit:$t(e,"exit"),preEnter:$t(e,"preEnter"),preExit:$t(e,"preExit"),...r});return{mountOnEnter:!!r.mountOnEnter,initialEntered:!!r.initialEntered,...n}},Ge="szh-accordion",pr="szh-adn",io=`data-${pr}`,ir=`data-${pr}-btn`,kn=z.createContext({}),Ke=(e,t,r)=>(n,o)=>{const s=t?`${e}__${t}`:e;let c=s;r&&Object.keys(r).forEach(l=>{const i=r[l];i&&(c+=` ${s}--${i===!0?l:`${l}-${i}`}`)});let d=typeof n=="function"?n(o):n;return typeof d=="string"&&(d=d.trim(),d&&(c+=` ${d}`)),c},cr=(e,t)=>{if(!t)return e;const r={...e};return Object.keys(t).forEach(n=>{const o=e[n],s=t[n];typeof s=="function"&&o?r[n]=(...c)=>{o(...c),s(...c)}:r[n]=s}),r},co=e=>a.jsx(kn.Provider,{...e}),Vt=e=>{do e=e.parentElement;while(e&&!e.hasAttribute(io));return e},Yr=(e,t,r)=>e?t>0?t-1:r-1:(t+1)%r,Vr=(e,t)=>{const{activeElement:r}=document;if(!r||!r.hasAttribute(ir)||Vt(r)!==t.currentTarget)return;const n=t.currentTarget.querySelectorAll(`[${ir}]`),{length:o}=n;for(let s=0;s<o;s++)if(n[s]===r){let c=Yr(e,s,o);for(;Vt(n[s])!==Vt(n[c]);)c=Yr(e,c,o);s!==c&&(t.preventDefault(),n[c].focus());break}},lo=()=>({accordionProps:{"data-accordion":"",onKeyDown:t=>t.key==="ArrowUp"?Vr(!0,t):t.key==="ArrowDown"&&Vr(!1,t)}}),Pn=F.forwardRef(({providerValue:e,className:t,...r},n)=>{const{accordionProps:o}=lo();return a.jsx(co,{value:e,children:a.jsx("div",{...cr(o,r),ref:n,className:Ke(Ge)(t)})})});Pn.displayName="ControlledAccordion";const mr=F.forwardRef(({allowMultiple:e,initialEntered:t,mountOnEnter:r,unmountOnExit:n,transition:o,transitionTimeout:s,onStateChange:c,...d},l)=>{const i=ao({allowMultiple:e,initialEntered:t,mountOnEnter:r,unmountOnExit:n,transition:o,transitionTimeout:s,onStateChange:c});return a.jsx(Pn,{...d,ref:l,providerValue:i})});mr.displayName="Accordion";const Mt={prefix:"wfp",initialized:!1,selectorTabbable:`
|
|
23
23
|
a[href], area[href], input:not([disabled]):not([tabindex='-1']),
|
|
24
24
|
button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),
|
|
25
25
|
textarea:not([disabled]):not([tabindex='-1']),
|
|
@@ -29,7 +29,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
29
29
|
button:not([disabled]),select:not([disabled]),
|
|
30
30
|
textarea:not([disabled]),
|
|
31
31
|
iframe, object, embed, *[tabindex], *[contenteditable=true]
|
|
32
|
-
`,theme:"light",actualTheme:"light",setTheme:e=>{console.warn("setTheme not initialized")}},It=z.createContext(Mt),Gt=()=>typeof window<"u"?window.matchMedia("(prefers-color-scheme: dark)").matches:!1,uo=({children:e,wrapperElement:t,prefix:r="wfp",initialTheme:n="light",...o})=>{const s=y=>{const x=`${r}--theme--`;y==="auto"&&Gt();const j=y==="auto"&&Gt()?"dark":y==="auto"?"light":y;if(t){const O=t.className.split(" ").filter(S=>!S.startsWith(x));t.className=O.join(" ").trim(),t.classList.add(`${r}--theme--${j}`)}return j},c=()=>{const y=d();return y==="auto"?Gt()?"dark":"light":y},d=()=>{const x=(typeof window<"u"?window.localStorage.getItem("theme"):!1)||n;return s(x),x},[l,i]=z.useState(d()),[h,m]=z.useState(c());z.useEffect(()=>{const y=window.matchMedia("(prefers-color-scheme: dark)");return y.addListener(f),()=>y.removeListener(f)},[]);const f=()=>{if(l==="auto"){const y=s("auto");m(y)}},w={...Mt,...o,prefix:r,theme:l,actualTheme:h,initialized:!0,setTheme:y=>{const x=s(y);m(x),typeof window<"u"&&window.localStorage.setItem("theme",y),i(y)}};return a.jsx(It.Provider,{value:w,children:e})};function R(){const e=z.useContext(It);return e===void 0?Mt:e}let fo=0;const po=()=>{const[e,t]=z.useState();return z.useEffect(()=>t(++fo),[]),e&&`${pr}-${e}`},An=z.useId||po,mo=({state:e,toggle:t,disabled:r})=>{const n=An(),o=n&&n+"-",s={id:n,"aria-controls":o,"aria-expanded":e.isEnter,onClick:t};return r?s.disabled=!0:s[ir]="",{buttonProps:s,panelProps:{id:o,"aria-labelledby":n,role:"region"}}},ho=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?z.useLayoutEffect:z.useEffect,vo=({status:e,isResolved:t})=>{const[r,n]=z.useState(),o=z.useRef(null);return ho(()=>{(e==="preEnter"||e==="preExit")&&n(o.current.getBoundingClientRect().height)},[e]),[{height:e==="preEnter"||e==="exiting"?0:e==="entering"||e==="preExit"?r:void 0,overflow:t?void 0:"hidden"},o]};function Gr(e,t){typeof e=="function"?e(t):e.current=t}function Kr(e,t){return z.useMemo(()=>e?t?r=>{Gr(e,r),Gr(t,r)}:e:t,[e,t])}function
|
|
32
|
+
`,theme:"light",actualTheme:"light",setTheme:e=>{console.warn("setTheme not initialized")}},It=z.createContext(Mt),Gt=()=>typeof window<"u"?window.matchMedia("(prefers-color-scheme: dark)").matches:!1,uo=({children:e,wrapperElement:t,prefix:r="wfp",initialTheme:n="light",...o})=>{const s=y=>{const x=`${r}--theme--`;y==="auto"&&Gt();const j=y==="auto"&&Gt()?"dark":y==="auto"?"light":y;if(t){const O=t.className.split(" ").filter(S=>!S.startsWith(x));t.className=O.join(" ").trim(),t.classList.add(`${r}--theme--${j}`)}return j},c=()=>{const y=d();return y==="auto"?Gt()?"dark":"light":y},d=()=>{const x=(typeof window<"u"?window.localStorage.getItem("theme"):!1)||n;return s(x),x},[l,i]=z.useState(d()),[h,m]=z.useState(c());z.useEffect(()=>{const y=window.matchMedia("(prefers-color-scheme: dark)");return y.addListener(f),()=>y.removeListener(f)},[]);const f=()=>{if(l==="auto"){const y=s("auto");m(y)}},w={...Mt,...o,prefix:r,theme:l,actualTheme:h,initialized:!0,setTheme:y=>{const x=s(y);m(x),typeof window<"u"&&window.localStorage.setItem("theme",y),i(y)}};return a.jsx(It.Provider,{value:w,children:e})};function R(){const e=z.useContext(It);return e===void 0?Mt:e}let fo=0;const po=()=>{const[e,t]=z.useState();return z.useEffect(()=>t(++fo),[]),e&&`${pr}-${e}`},An=z.useId||po,mo=({state:e,toggle:t,disabled:r})=>{const n=An(),o=n&&n+"-",s={id:n,"aria-controls":o,"aria-expanded":e.isEnter,onClick:t};return r?s.disabled=!0:s[ir]="",{buttonProps:s,panelProps:{id:o,"aria-labelledby":n,role:"region"}}},ho=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?z.useLayoutEffect:z.useEffect,vo=({status:e,isResolved:t})=>{const[r,n]=z.useState(),o=z.useRef(null);return ho(()=>{(e==="preEnter"||e==="preExit")&&n(o.current.getBoundingClientRect().height)},[e]),[{height:e==="preEnter"||e==="exiting"?0:e==="entering"||e==="preExit"?r:void 0,overflow:t?void 0:"hidden"},o]};function Gr(e,t){typeof e=="function"?e(t):e.current=t}function Kr(e,t){return z.useMemo(()=>e?t?r=>{Gr(e,r),Gr(t,r)}:e:t,[e,t])}function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pe.apply(this,arguments)}var lr={exports:{}},se={};/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react.production.js
|
|
35
35
|
*
|
|
@@ -37,7 +37,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
37
37
|
*
|
|
38
38
|
* This source code is licensed under the MIT license found in the
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
|
-
*/var Xr;function go(){if(Xr)return se;Xr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),i=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator;function f(u){return u===null||typeof u!="object"?null:(u=m&&u[m]||u["@@iterator"],typeof u=="function"?u:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,y={};function x(u,g,$){this.props=u,this.context=g,this.refs=y,this.updater=$||v}x.prototype.isReactComponent={},x.prototype.setState=function(u,g){if(typeof u!="object"&&typeof u!="function"&&u!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,u,g,"setState")},x.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function j(){}j.prototype=x.prototype;function O(u,g,$){this.props=u,this.context=g,this.refs=y,this.updater=$||v}var S=O.prototype=new j;S.constructor=O,w(S,x.prototype),S.isPureReactComponent=!0;var E=Array.isArray,_={H:null,A:null,T:null,S:null,V:null},N=Object.prototype.hasOwnProperty;function k(u,g,$,T,
|
|
40
|
+
*/var Xr;function go(){if(Xr)return se;Xr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),i=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator;function f(u){return u===null||typeof u!="object"?null:(u=m&&u[m]||u["@@iterator"],typeof u=="function"?u:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,y={};function x(u,g,$){this.props=u,this.context=g,this.refs=y,this.updater=$||v}x.prototype.isReactComponent={},x.prototype.setState=function(u,g){if(typeof u!="object"&&typeof u!="function"&&u!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,u,g,"setState")},x.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function j(){}j.prototype=x.prototype;function O(u,g,$){this.props=u,this.context=g,this.refs=y,this.updater=$||v}var S=O.prototype=new j;S.constructor=O,w(S,x.prototype),S.isPureReactComponent=!0;var E=Array.isArray,_={H:null,A:null,T:null,S:null,V:null},N=Object.prototype.hasOwnProperty;function k(u,g,$,T,P,H){return $=H.ref,{$$typeof:e,type:u,key:g,ref:$!==void 0?$:null,props:H}}function D(u,g){return k(u.type,g,void 0,void 0,void 0,u.props)}function W(u){return typeof u=="object"&&u!==null&&u.$$typeof===e}function U(u){var g={"=":"=0",":":"=2"};return"$"+u.replace(/[=:]/g,function($){return g[$]})}var M=/\/+/g;function L(u,g){return typeof u=="object"&&u!==null&&u.key!=null?U(""+u.key):g.toString(36)}function J(){}function X(u){switch(u.status){case"fulfilled":return u.value;case"rejected":throw u.reason;default:switch(typeof u.status=="string"?u.then(J,J):(u.status="pending",u.then(function(g){u.status==="pending"&&(u.status="fulfilled",u.value=g)},function(g){u.status==="pending"&&(u.status="rejected",u.reason=g)})),u.status){case"fulfilled":return u.value;case"rejected":throw u.reason}}throw u}function G(u,g,$,T,P){var H=typeof u;(H==="undefined"||H==="boolean")&&(u=null);var I=!1;if(u===null)I=!0;else switch(H){case"bigint":case"string":case"number":I=!0;break;case"object":switch(u.$$typeof){case e:case t:I=!0;break;case h:return I=u._init,G(I(u._payload),g,$,T,P)}}if(I)return P=P(u),I=T===""?"."+L(u,0):T,E(P)?($="",I!=null&&($=I.replace(M,"$&/")+"/"),G(P,g,$,"",function(te){return te})):P!=null&&(W(P)&&(P=D(P,$+(P.key==null||u&&u.key===P.key?"":(""+P.key).replace(M,"$&/")+"/")+I)),g.push(P)),1;I=0;var K=T===""?".":T+":";if(E(u))for(var B=0;B<u.length;B++)T=u[B],H=K+L(T,B),I+=G(T,g,$,H,P);else if(B=f(u),typeof B=="function")for(u=B.call(u),B=0;!(T=u.next()).done;)T=T.value,H=K+L(T,B++),I+=G(T,g,$,H,P);else if(H==="object"){if(typeof u.then=="function")return G(X(u),g,$,T,P);throw g=String(u),Error("Objects are not valid as a React child (found: "+(g==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":g)+"). If you meant to render a collection of children, use an array instead.")}return I}function V(u,g,$){if(u==null)return u;var T=[],P=0;return G(u,T,"","",function(H){return g.call($,H,P++)}),T}function ee(u){if(u._status===-1){var g=u._result;g=g(),g.then(function($){(u._status===0||u._status===-1)&&(u._status=1,u._result=$)},function($){(u._status===0||u._status===-1)&&(u._status=2,u._result=$)}),u._status===-1&&(u._status=0,u._result=g)}if(u._status===1)return u._result.default;throw u._result}var le=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var g=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(g))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)};function ce(){}return se.Children={map:V,forEach:function(u,g,$){V(u,function(){g.apply(this,arguments)},$)},count:function(u){var g=0;return V(u,function(){g++}),g},toArray:function(u){return V(u,function(g){return g})||[]},only:function(u){if(!W(u))throw Error("React.Children.only expected to receive a single React element child.");return u}},se.Component=x,se.Fragment=r,se.Profiler=o,se.PureComponent=O,se.StrictMode=n,se.Suspense=l,se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,se.__COMPILER_RUNTIME={__proto__:null,c:function(u){return _.H.useMemoCache(u)}},se.cache=function(u){return function(){return u.apply(null,arguments)}},se.cloneElement=function(u,g,$){if(u==null)throw Error("The argument must be a React element, but you passed "+u+".");var T=w({},u.props),P=u.key,H=void 0;if(g!=null)for(I in g.ref!==void 0&&(H=void 0),g.key!==void 0&&(P=""+g.key),g)!N.call(g,I)||I==="key"||I==="__self"||I==="__source"||I==="ref"&&g.ref===void 0||(T[I]=g[I]);var I=arguments.length-2;if(I===1)T.children=$;else if(1<I){for(var K=Array(I),B=0;B<I;B++)K[B]=arguments[B+2];T.children=K}return k(u.type,P,void 0,void 0,H,T)},se.createContext=function(u){return u={$$typeof:c,_currentValue:u,_currentValue2:u,_threadCount:0,Provider:null,Consumer:null},u.Provider=u,u.Consumer={$$typeof:s,_context:u},u},se.createElement=function(u,g,$){var T,P={},H=null;if(g!=null)for(T in g.key!==void 0&&(H=""+g.key),g)N.call(g,T)&&T!=="key"&&T!=="__self"&&T!=="__source"&&(P[T]=g[T]);var I=arguments.length-2;if(I===1)P.children=$;else if(1<I){for(var K=Array(I),B=0;B<I;B++)K[B]=arguments[B+2];P.children=K}if(u&&u.defaultProps)for(T in I=u.defaultProps,I)P[T]===void 0&&(P[T]=I[T]);return k(u,H,void 0,void 0,null,P)},se.createRef=function(){return{current:null}},se.forwardRef=function(u){return{$$typeof:d,render:u}},se.isValidElement=W,se.lazy=function(u){return{$$typeof:h,_payload:{_status:-1,_result:u},_init:ee}},se.memo=function(u,g){return{$$typeof:i,type:u,compare:g===void 0?null:g}},se.startTransition=function(u){var g=_.T,$={};_.T=$;try{var T=u(),P=_.S;P!==null&&P($,T),typeof T=="object"&&T!==null&&typeof T.then=="function"&&T.then(ce,le)}catch(H){le(H)}finally{_.T=g}},se.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},se.use=function(u){return _.H.use(u)},se.useActionState=function(u,g,$){return _.H.useActionState(u,g,$)},se.useCallback=function(u,g){return _.H.useCallback(u,g)},se.useContext=function(u){return _.H.useContext(u)},se.useDebugValue=function(){},se.useDeferredValue=function(u,g){return _.H.useDeferredValue(u,g)},se.useEffect=function(u,g,$){var T=_.H;if(typeof $=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return T.useEffect(u,g)},se.useId=function(){return _.H.useId()},se.useImperativeHandle=function(u,g,$){return _.H.useImperativeHandle(u,g,$)},se.useInsertionEffect=function(u,g){return _.H.useInsertionEffect(u,g)},se.useLayoutEffect=function(u,g){return _.H.useLayoutEffect(u,g)},se.useMemo=function(u,g){return _.H.useMemo(u,g)},se.useOptimistic=function(u,g){return _.H.useOptimistic(u,g)},se.useReducer=function(u,g,$){return _.H.useReducer(u,g,$)},se.useRef=function(u){return _.H.useRef(u)},se.useState=function(u){return _.H.useState(u)},se.useSyncExternalStore=function(u,g,$){return _.H.useSyncExternalStore(u,g,$)},se.useTransition=function(){return _.H.useTransition()},se.version="19.1.0",se}var it={exports:{}};/**
|
|
41
41
|
* @license React
|
|
42
42
|
* react.development.js
|
|
43
43
|
*
|
|
@@ -45,7 +45,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
45
45
|
*
|
|
46
46
|
* This source code is licensed under the MIT license found in the
|
|
47
47
|
* LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/it.exports;var Qr;function yo(){return Qr||(Qr=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){function r(p,b){Object.defineProperty(s.prototype,p,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",b[0],b[1])}})}function n(p){return p===null||typeof p!="object"?null:(p=
|
|
48
|
+
*/it.exports;var Qr;function yo(){return Qr||(Qr=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){function r(p,b){Object.defineProperty(s.prototype,p,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",b[0],b[1])}})}function n(p){return p===null||typeof p!="object"?null:(p=me&&p[me]||p["@@iterator"],typeof p=="function"?p:null)}function o(p,b){p=(p=p.constructor)&&(p.displayName||p.name)||"ReactClass";var q=p+"."+b;A[q]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",b,p),A[q]=!0)}function s(p,b,q){this.props=p,this.context=b,this.refs=Ie,this.updater=q||he}function c(){}function d(p,b,q){this.props=p,this.context=b,this.refs=Ie,this.updater=q||he}function l(p){return""+p}function i(p){try{l(p);var b=!1}catch{b=!0}if(b){b=console;var q=b.error,Y=typeof Symbol=="function"&&Symbol.toStringTag&&p[Symbol.toStringTag]||p.constructor.name||"Object";return q.call(b,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Y),l(p)}}function h(p){if(p==null)return null;if(typeof p=="function")return p.$$typeof===zt?null:p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case u:return"Fragment";case $:return"Profiler";case g:return"StrictMode";case I:return"Suspense";case K:return"SuspenseList";case ne:return"Activity"}if(typeof p=="object")switch(typeof p.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),p.$$typeof){case ce:return"Portal";case P:return(p.displayName||"Context")+".Provider";case T:return(p._context.displayName||"Context")+".Consumer";case H:var b=p.render;return p=p.displayName,p||(p=b.displayName||b.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case B:return b=p.displayName||null,b!==null?b:h(p.type)||"Memo";case te:b=p._payload,p=p._init;try{return h(p(b))}catch{}}return null}function m(p){if(p===u)return"<>";if(typeof p=="object"&&p!==null&&p.$$typeof===te)return"<...>";try{var b=h(p);return b?"<"+b+">":"<...>"}catch{return"<...>"}}function f(){var p=re.A;return p===null?null:p.getOwner()}function v(){return Error("react-stack-top-frame")}function w(p){if(Ae.call(p,"key")){var b=Object.getOwnPropertyDescriptor(p,"key").get;if(b&&b.isReactWarning)return!1}return p.key!==void 0}function y(p,b){function q(){tt||(tt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",b))}q.isReactWarning=!0,Object.defineProperty(p,"key",{get:q,configurable:!0})}function x(){var p=h(this.type);return rt[p]||(rt[p]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),p=this.props.ref,p!==void 0?p:null}function j(p,b,q,Y,Z,ie,oe,fe){return q=ie.ref,p={$$typeof:le,type:p,key:b,props:ie,_owner:Z},(q!==void 0?q:null)!==null?Object.defineProperty(p,"ref",{enumerable:!1,get:x}):Object.defineProperty(p,"ref",{enumerable:!1,value:null}),p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(p,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(p,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:oe}),Object.defineProperty(p,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:fe}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p}function O(p,b){return b=j(p.type,b,void 0,void 0,p._owner,p.props,p._debugStack,p._debugTask),p._store&&(b._store.validated=p._store.validated),b}function S(p){return typeof p=="object"&&p!==null&&p.$$typeof===le}function E(p){var b={"=":"=0",":":"=2"};return"$"+p.replace(/[=:]/g,function(q){return b[q]})}function _(p,b){return typeof p=="object"&&p!==null&&p.key!=null?(i(p.key),E(""+p.key)):b.toString(36)}function N(){}function k(p){switch(p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(N,N):(p.status="pending",p.then(function(b){p.status==="pending"&&(p.status="fulfilled",p.value=b)},function(b){p.status==="pending"&&(p.status="rejected",p.reason=b)})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}}throw p}function D(p,b,q,Y,Z){var ie=typeof p;(ie==="undefined"||ie==="boolean")&&(p=null);var oe=!1;if(p===null)oe=!0;else switch(ie){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(p.$$typeof){case le:case ce:oe=!0;break;case te:return oe=p._init,D(oe(p._payload),b,q,Y,Z)}}if(oe){oe=p,Z=Z(oe);var fe=Y===""?"."+_(oe,0):Y;return vt(Z)?(q="",fe!=null&&(q=fe.replace(Br,"$&/")+"/"),D(Z,b,q,"",function(Le){return Le})):Z!=null&&(S(Z)&&(Z.key!=null&&(oe&&oe.key===Z.key||i(Z.key)),q=O(Z,q+(Z.key==null||oe&&oe.key===Z.key?"":(""+Z.key).replace(Br,"$&/")+"/")+fe),Y!==""&&oe!=null&&S(oe)&&oe.key==null&&oe._store&&!oe._store.validated&&(q._store.validated=2),Z=q),b.push(Z)),1}if(oe=0,fe=Y===""?".":Y+":",vt(p))for(var ae=0;ae<p.length;ae++)Y=p[ae],ie=fe+_(Y,ae),oe+=D(Y,b,q,ie,Z);else if(ae=n(p),typeof ae=="function")for(ae===p.entries&&(nt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),nt=!0),p=ae.call(p),ae=0;!(Y=p.next()).done;)Y=Y.value,ie=fe+_(Y,ae++),oe+=D(Y,b,q,ie,Z);else if(ie==="object"){if(typeof p.then=="function")return D(k(p),b,q,Y,Z);throw b=String(p),Error("Objects are not valid as a React child (found: "+(b==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.")}return oe}function W(p,b,q){if(p==null)return p;var Y=[],Z=0;return D(p,Y,"","",function(ie){return b.call(q,ie,Z++)}),Y}function U(p){if(p._status===-1){var b=p._result;b=b(),b.then(function(q){(p._status===0||p._status===-1)&&(p._status=1,p._result=q)},function(q){(p._status===0||p._status===-1)&&(p._status=2,p._result=q)}),p._status===-1&&(p._status=0,p._result=b)}if(p._status===1)return b=p._result,b===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
49
49
|
|
|
50
50
|
Your code should look like:
|
|
51
51
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -53,15 +53,15 @@ Your code should look like:
|
|
|
53
53
|
Did you accidentally put curly braces around the import?`,b),"default"in b||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
54
54
|
|
|
55
55
|
Your code should look like:
|
|
56
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,b),b.default;throw p._result}function
|
|
56
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,b),b.default;throw p._result}function M(){var p=re.H;return p===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
57
57
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
58
58
|
2. You might be breaking the Rules of Hooks
|
|
59
59
|
3. You might have more than one copy of React in the same app
|
|
60
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),p}function V(){}function ee(p){if(_t===null)try{var b=("require"+Math.random()).slice(0,7);_t=(e&&e[b]).call(e,"timers").setImmediate}catch{_t=function(U){Fr===!1&&(Fr=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Z=new MessageChannel;Z.port1.onmessage=U,Z.port2.postMessage(void 0)}}return _t(p)}function J(p){return 1<p.length&&typeof AggregateError=="function"?new AggregateError(p):p[0]}function X(p,b){b!==xt-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),xt=b}function Y(p,b,B){var U=ne.actQueue;if(U!==null)if(U.length!==0)try{te(U),ee(function(){return Y(p,b,B)});return}catch(Z){ne.thrownErrors.push(Z)}else ne.actQueue=null;0<ne.thrownErrors.length?(U=J(ne.thrownErrors),ne.thrownErrors.length=0,B(U)):b(p)}function te(p){if(!Ut){Ut=!0;var b=0;try{for(;b<p.length;b++){var B=p[b];do{ne.didUsePromise=!1;var U=B(!1);if(U!==null){if(ne.didUsePromise){p[b]=B,p.splice(0,b);return}B=U}else break}while(!0)}p.length=0}catch(Z){p.splice(0,b+1),ne.thrownErrors.push(Z)}finally{Ut=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ce=Symbol.for("react.transitional.element"),le=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),A=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),re=Symbol.for("react.activity"),pe=Symbol.iterator,W={},ve={isMounted:function(){return!1},enqueueForceUpdate:function(p){o(p,"forceUpdate")},enqueueReplaceState:function(p){o(p,"replaceState")},enqueueSetState:function(p){o(p,"setState")}},Pe=Object.assign,Ie={};Object.freeze(Ie),s.prototype.isReactComponent={},s.prototype.setState=function(p,b){if(typeof p!="object"&&typeof p!="function"&&p!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,p,b,"setState")},s.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};var _e={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},He;for(He in _e)_e.hasOwnProperty(He)&&r(He,_e[He]);c.prototype=s.prototype,_e=d.prototype=new c,_e.constructor=d,Pe(_e,s.prototype),_e.isPureReactComponent=!0;var vt=Array.isArray,zt=Symbol.for("react.client.reference"),ne={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ae=Object.prototype.hasOwnProperty,et=console.createTask?console.createTask:function(){return null};_e={"react-stack-bottom-frame":function(p){return p()}};var tt,Ye,rt={},gt=_e["react-stack-bottom-frame"].bind(_e,v)(),yt=et(m(v)),nt=!1,Br=/\/+/g,qr=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var b=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p),error:p});if(!window.dispatchEvent(b))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)},Fr=!1,_t=null,xt=0,bt=!1,Ut=!1,Hr=typeof queueMicrotask=="function"?function(p){queueMicrotask(function(){return queueMicrotask(p)})}:ee;_e=Object.freeze({__proto__:null,c:function(p){return P().useMemoCache(p)}}),t.Children={map:M,forEach:function(p,b,B){M(p,function(){b.apply(this,arguments)},B)},count:function(p){var b=0;return M(p,function(){b++}),b},toArray:function(p){return M(p,function(b){return b})||[]},only:function(p){if(!S(p))throw Error("React.Children.only expected to receive a single React element child.");return p}},t.Component=s,t.Fragment=u,t.Profiler=$,t.PureComponent=d,t.StrictMode=g,t.Suspense=I,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ne,t.__COMPILER_RUNTIME=_e,t.act=function(p){var b=ne.actQueue,B=xt;xt++;var U=ne.actQueue=b!==null?b:[],Z=!1;try{var ie=p()}catch(ae){ne.thrownErrors.push(ae)}if(0<ne.thrownErrors.length)throw X(b,B),p=J(ne.thrownErrors),ne.thrownErrors.length=0,p;if(ie!==null&&typeof ie=="object"&&typeof ie.then=="function"){var oe=ie;return Hr(function(){Z||bt||(bt=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(ae,Le){Z=!0,oe.then(function(Ve){if(X(b,B),B===0){try{te(U),ee(function(){return Y(Ve,ae,Le)})}catch(Gs){ne.thrownErrors.push(Gs)}if(0<ne.thrownErrors.length){var Vs=J(ne.thrownErrors);ne.thrownErrors.length=0,Le(Vs)}}else ae(Ve)},function(Ve){X(b,B),0<ne.thrownErrors.length&&(Ve=J(ne.thrownErrors),ne.thrownErrors.length=0),Le(Ve)})}}}var fe=ie;if(X(b,B),B===0&&(te(U),U.length!==0&&Hr(function(){Z||bt||(bt=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),ne.actQueue=null),0<ne.thrownErrors.length)throw p=J(ne.thrownErrors),ne.thrownErrors.length=0,p;return{then:function(ae,Le){Z=!0,B===0?(ne.actQueue=U,ee(function(){return Y(fe,ae,Le)})):ae(fe)}}},t.cache=function(p){return function(){return p.apply(null,arguments)}},t.captureOwnerStack=function(){var p=ne.getCurrentStack;return p===null?null:p()},t.cloneElement=function(p,b,B){if(p==null)throw Error("The argument must be a React element, but you passed "+p+".");var U=Pe({},p.props),Z=p.key,ie=p._owner;if(b!=null){var oe;e:{if(Ae.call(b,"ref")&&(oe=Object.getOwnPropertyDescriptor(b,"ref").get)&&oe.isReactWarning){oe=!1;break e}oe=b.ref!==void 0}oe&&(ie=f()),w(b)&&(i(b.key),Z=""+b.key);for(fe in b)!Ae.call(b,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&b.ref===void 0||(U[fe]=b[fe])}var fe=arguments.length-2;if(fe===1)U.children=B;else if(1<fe){oe=Array(fe);for(var ae=0;ae<fe;ae++)oe[ae]=arguments[ae+2];U.children=oe}for(U=j(p.type,Z,void 0,void 0,ie,U,p._debugStack,p._debugTask),Z=2;Z<arguments.length;Z++)ie=arguments[Z],S(ie)&&ie._store&&(ie._store.validated=1);return U},t.createContext=function(p){return p={$$typeof:A,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null},p.Provider=p,p.Consumer={$$typeof:T,_context:p},p._currentRenderer=null,p._currentRenderer2=null,p},t.createElement=function(p,b,B){for(var U=2;U<arguments.length;U++){var Z=arguments[U];S(Z)&&Z._store&&(Z._store.validated=1)}if(U={},Z=null,b!=null)for(ae in Ye||!("__self"in b)||"key"in b||(Ye=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),w(b)&&(i(b.key),Z=""+b.key),b)Ae.call(b,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(U[ae]=b[ae]);var ie=arguments.length-2;if(ie===1)U.children=B;else if(1<ie){for(var oe=Array(ie),fe=0;fe<ie;fe++)oe[fe]=arguments[fe+2];Object.freeze&&Object.freeze(oe),U.children=oe}if(p&&p.defaultProps)for(ae in ie=p.defaultProps,ie)U[ae]===void 0&&(U[ae]=ie[ae]);Z&&y(U,typeof p=="function"?p.displayName||p.name||"Unknown":p);var ae=1e4>ne.recentlyCreatedOwnerStacks++;return j(p,Z,void 0,void 0,f(),U,ae?Error("react-stack-top-frame"):gt,ae?et(m(p)):yt)},t.createRef=function(){var p={current:null};return Object.seal(p),p},t.forwardRef=function(p){p!=null&&p.$$typeof===L?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof p!="function"?console.error("forwardRef requires a render function but was given %s.",p===null?"null":typeof p):p.length!==0&&p.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",p.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),p!=null&&p.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var b={$$typeof:q,render:p},B;return Object.defineProperty(b,"displayName",{enumerable:!1,configurable:!0,get:function(){return B},set:function(U){B=U,p.name||p.displayName||(Object.defineProperty(p,"name",{value:U}),p.displayName=U)}}),b},t.isValidElement=S,t.lazy=function(p){return{$$typeof:G,_payload:{_status:-1,_result:p},_init:H}},t.memo=function(p,b){p==null&&console.error("memo: The first argument must be a component. Instead received: %s",p===null?"null":typeof p),b={$$typeof:L,type:p,compare:b===void 0?null:b};var B;return Object.defineProperty(b,"displayName",{enumerable:!1,configurable:!0,get:function(){return B},set:function(U){B=U,p.name||p.displayName||(Object.defineProperty(p,"name",{value:U}),p.displayName=U)}}),b},t.startTransition=function(p){var b=ne.T,B={};ne.T=B,B._updatedFibers=new Set;try{var U=p(),Z=ne.S;Z!==null&&Z(B,U),typeof U=="object"&&U!==null&&typeof U.then=="function"&&U.then(V,qr)}catch(ie){qr(ie)}finally{b===null&&B._updatedFibers&&(p=B._updatedFibers.size,B._updatedFibers.clear(),10<p&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),ne.T=b}},t.unstable_useCacheRefresh=function(){return P().useCacheRefresh()},t.use=function(p){return P().use(p)},t.useActionState=function(p,b,B){return P().useActionState(p,b,B)},t.useCallback=function(p,b){return P().useCallback(p,b)},t.useContext=function(p){var b=P();return p.$$typeof===T&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),b.useContext(p)},t.useDebugValue=function(p,b){return P().useDebugValue(p,b)},t.useDeferredValue=function(p,b){return P().useDeferredValue(p,b)},t.useEffect=function(p,b,B){p==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var U=P();if(typeof B=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return U.useEffect(p,b)},t.useId=function(){return P().useId()},t.useImperativeHandle=function(p,b,B){return P().useImperativeHandle(p,b,B)},t.useInsertionEffect=function(p,b){return p==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),P().useInsertionEffect(p,b)},t.useLayoutEffect=function(p,b){return p==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),P().useLayoutEffect(p,b)},t.useMemo=function(p,b){return P().useMemo(p,b)},t.useOptimistic=function(p,b){return P().useOptimistic(p,b)},t.useReducer=function(p,b,B){return P().useReducer(p,b,B)},t.useRef=function(p){return P().useRef(p)},t.useState=function(p){return P().useState(p)},t.useSyncExternalStore=function(p,b,B){return P().useSyncExternalStore(p,b,B)},t.useTransition=function(){return P().useTransition()},t.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(it,it.exports)),it.exports}process.env.NODE_ENV==="production"?lr.exports=go():lr.exports=yo();var Q=lr.exports;const _o=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 14"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M11.95 5.997 7.86 2.092 9.233.639l6.763 6.356-6.763 6.366L7.86 11.91l4.092-3.912H-.003v-2z"}));var xo=_o;const bo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",className:"svg-inline--fa fa-calendar-alt fa-w-14",viewBox:"0 0 448 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12m108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48m-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6"}));var ur=bo;const wo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",d:"M320 240 160 384 0 240v-48h320z"}));var $o=wo;const Eo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 10 5"},e),Q.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M0 5 5 .002 10 5z"}));var jo=Eo;const No=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"m447.9 142.5-23.2 22L181 395.3l-22 20.8-22-20.8L23.2 287.6 0 265.6l44-46.5 23.2 22L159 328l221.7-210 23.2-22z"}));var Co=No;const To=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 10 8"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M8.498 0 10 1.502 3.672 7.83 0 4.158l1.502-1.502 2.17 2.17z"}));var So=To;const Oo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8M6.7 11.5 3.4 8.1l1.4-1.4 1.9 1.9 4.1-4.1 1.4 1.4z"}));var Ro=Oo;const ko=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",d:"m256 429.3 22.6-22.6 192-192 22.7-22.7-45.3-45.3-22.6 22.6L256 338.7 86.6 169.4 64 146.7 18.7 192l22.6 22.6 192 192z"}));var hr=ko;const Po=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 7 12"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M1.45 6.002 7 11.27l-.685.726L0 6.003 6.315 0 7 .726z"}));var Dn=Po;const Ao=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 7 12"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M5.569 5.994 0 .726.687 0l6.336 5.994-6.335 6.002L0 11.27z"}));var Mn=Ao;const Do=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 12 7"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M5.994 1.45.726 7 0 6.315 5.994 0l6.002 6.315L11.27 7z"}));var Mo=Do;const Io=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",d:"m326.6 166.6 22.7-22.6L304 98.7l-22.6 22.6-89.4 89.4-89.4-89.4L80 98.7 34.7 144l22.6 22.6 89.4 89.4-89.3 89.4L34.7 368 80 413.3l22.6-22.6 89.4-89.4 89.4 89.4 22.6 22.6 45.3-45.3-22.6-22.6-89.4-89.4 89.4-89.4z"}));var Lt=Io;const Lo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"m326.6 166.6 22.7-22.6L304 98.7l-22.6 22.6-89.4 89.4-89.4-89.4L80 98.7 34.7 144l22.6 22.6 89.4 89.4-89.3 89.4L34.7 368 80 413.3l22.6-22.6 89.4-89.4 89.4 89.4 22.6 22.6 45.3-45.3-22.6-22.6-89.4-89.4 89.4-89.4z"}));var Bo=Lo;const qo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{d:"M9.5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-13 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"}));var Fo=qo;const Ho=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16M4 4.65 11.35 12l.65-.65L4.65 4z"}));var In=Ho;const Wo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 576 512"},e),Q.createElement("path",{fill:"currentColor",d:"M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40h-16c-1.1 0-2.2 0-3.3-.1-1.4.1-2.8.1-4.2.1H392c-22.1 0-40-17.9-40-40v-88c0-17.7-14.3-32-32-32h-64c-17.7 0-32 14.3-32 32v88c0 22.1-17.9 40-40 40h-55.9c-1.5 0-3-.1-4.5-.2-1.2.1-2.4.2-3.6.2h-16c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9.1-2.8v-69.6H32c-18 0-32-14-32-32.1 0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7l255.4 224.5c8 7 12 15 11 24"}));var zo=Wo;const Uo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 4c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1m2 8H6v-1h1V8H6V7h3v4h1z"}));var Yo=Uo;const Vo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16m1-3V7H7v6zM8 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2"}));var Go=Vo;const Ko=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M4.5 7V3.5a3.5 3.5 0 0 1 7 0V7h1A1.5 1.5 0 0 1 14 8.5v6a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 14.5v-6A1.5 1.5 0 0 1 3.5 7zm1 0h5V3.5a2.5 2.5 0 0 0-5 0zm-2 1a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5z"}));var Xo=Ko;const Qo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 14"},e),Q.createElement("path",{fill:"currentColor",d:"M0 0h20v2H0zM0 6h20v2H0zM0 12h20v2H0z"}));var Zo=Qo;const Jo=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 3 15"},e),Q.createElement("g",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1},Q.createElement("circle",{cx:1.5,cy:1.5,r:1.5}),Q.createElement("circle",{cx:1.5,cy:7.5,r:1.5}),Q.createElement("circle",{cx:1.5,cy:13.5,r:1.5})));var ea=Jo;const ta=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M11.435 10.063h-.728l-.251-.252a5.9 5.9 0 0 0 1.437-3.865 5.946 5.946 0 1 0-5.947 5.947 5.9 5.9 0 0 0 3.865-1.432l.252.251v.723L14.637 16 16 14.637zm-5.489 0a4.117 4.117 0 1 1 0-8.234 4.117 4.117 0 0 1 0 8.234"}));var ra=ta;const na=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 448 512"},e),Q.createElement("path",{fill:"currentColor",d:"M224 256a128 128 0 1 0 0-256 128 128 0 1 0 0 256m-45.7 48C79.8 304 0 383.8 0 482.3 0 498.7 13.3 512 29.7 512h388.6c16.4 0 29.7-13.3 29.7-29.7 0-98.5-79.8-178.3-178.3-178.3z",opacity:1}));var sa=na;const oa=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("g",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1},Q.createElement("path",{d:"M7.25 6h1.5v5h-1.5z"}),Q.createElement("circle",{cx:8,cy:12.75,r:1}),Q.createElement("path",{fillRule:"nonzero",d:"M.75 16a.75.75 0 0 1-.67-1.085L7.33.415a.75.75 0 0 1 1.34 0l7.25 14.5A.75.75 0 0 1 15.25 16zm1.214-1.5h12.072L8 2.427z"})));var aa=oa;const ia=e=>Q.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M.75 16a.75.75 0 0 1-.67-1.085L7.33.415a.75.75 0 0 1 1.34 0l7.25 14.5A.75.75 0 0 1 15.25 16zm6.5-10v5h1.5V6zM8 13.5A.75.75 0 1 0 8 12a.75.75 0 0 0 0 1.5"}));var Ln=ia;const ca=(e,t,r)=>{const{stateMap:n,mountOnEnter:o,initialEntered:s}=e,c=r??s;return n.get(t)||{status:c?"entered":o?"unmounted":"exited",isMounted:!o,isEnter:c,isResolved:!0}},la=()=>{const e=z.useContext(kn);if(process.env.NODE_ENV!=="production"&&!e.stateMap)throw new Error("[React-Accordion] Cannot find a <AccordionProvider/> above this AccordionItem.");return e},ua=({itemKey:e,initialEntered:t,disabled:r}={})=>{const n=z.useRef(null),o=la(),s=e??n.current,c=ca(o,s,t),{setItem:d,deleteItem:l,toggle:i}=o;return z.useEffect(()=>{if(r)return;const h=e??n.current;return d(h,{initialEntered:t}),()=>void l(h)},[d,l,e,t,r]),{itemRef:n,state:c,toggle:z.useCallback(h=>i(s,h),[i,s])}},Bn=e=>{const t=F.forwardRef(({itemKey:r,initialEntered:n,...o},s)=>a.jsx(e,{forwardedRef:s,...o,...ua({itemKey:r,initialEntered:n,disabled:o.disabled})}));return t.displayName="withAccordionItem",t};Bn.displayName="withAccordionItem";var Kt={exports:{}};/*!
|
|
60
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),p}function L(){}function J(p){if(_t===null)try{var b=("require"+Math.random()).slice(0,7);_t=(e&&e[b]).call(e,"timers").setImmediate}catch{_t=function(Y){Fr===!1&&(Fr=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Z=new MessageChannel;Z.port1.onmessage=Y,Z.port2.postMessage(void 0)}}return _t(p)}function X(p){return 1<p.length&&typeof AggregateError=="function"?new AggregateError(p):p[0]}function G(p,b){b!==xt-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),xt=b}function V(p,b,q){var Y=re.actQueue;if(Y!==null)if(Y.length!==0)try{ee(Y),J(function(){return V(p,b,q)});return}catch(Z){re.thrownErrors.push(Z)}else re.actQueue=null;0<re.thrownErrors.length?(Y=X(re.thrownErrors),re.thrownErrors.length=0,q(Y)):b(p)}function ee(p){if(!Ut){Ut=!0;var b=0;try{for(;b<p.length;b++){var q=p[b];do{re.didUsePromise=!1;var Y=q(!1);if(Y!==null){if(re.didUsePromise){p[b]=q,p.splice(0,b);return}q=Y}else break}while(!0)}p.length=0}catch(Z){p.splice(0,b+1),re.thrownErrors.push(Z)}finally{Ut=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var le=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),P=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),ne=Symbol.for("react.activity"),me=Symbol.iterator,A={},he={isMounted:function(){return!1},enqueueForceUpdate:function(p){o(p,"forceUpdate")},enqueueReplaceState:function(p){o(p,"replaceState")},enqueueSetState:function(p){o(p,"setState")}},we=Object.assign,Ie={};Object.freeze(Ie),s.prototype.isReactComponent={},s.prototype.setState=function(p,b){if(typeof p!="object"&&typeof p!="function"&&p!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,p,b,"setState")},s.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};var _e={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},He;for(He in _e)_e.hasOwnProperty(He)&&r(He,_e[He]);c.prototype=s.prototype,_e=d.prototype=new c,_e.constructor=d,we(_e,s.prototype),_e.isPureReactComponent=!0;var vt=Array.isArray,zt=Symbol.for("react.client.reference"),re={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ae=Object.prototype.hasOwnProperty,et=console.createTask?console.createTask:function(){return null};_e={"react-stack-bottom-frame":function(p){return p()}};var tt,Ye,rt={},gt=_e["react-stack-bottom-frame"].bind(_e,v)(),yt=et(m(v)),nt=!1,Br=/\/+/g,qr=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var b=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p),error:p});if(!window.dispatchEvent(b))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)},Fr=!1,_t=null,xt=0,bt=!1,Ut=!1,Hr=typeof queueMicrotask=="function"?function(p){queueMicrotask(function(){return queueMicrotask(p)})}:J;_e=Object.freeze({__proto__:null,c:function(p){return M().useMemoCache(p)}}),t.Children={map:W,forEach:function(p,b,q){W(p,function(){b.apply(this,arguments)},q)},count:function(p){var b=0;return W(p,function(){b++}),b},toArray:function(p){return W(p,function(b){return b})||[]},only:function(p){if(!S(p))throw Error("React.Children.only expected to receive a single React element child.");return p}},t.Component=s,t.Fragment=u,t.Profiler=$,t.PureComponent=d,t.StrictMode=g,t.Suspense=I,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=re,t.__COMPILER_RUNTIME=_e,t.act=function(p){var b=re.actQueue,q=xt;xt++;var Y=re.actQueue=b!==null?b:[],Z=!1;try{var ie=p()}catch(ae){re.thrownErrors.push(ae)}if(0<re.thrownErrors.length)throw G(b,q),p=X(re.thrownErrors),re.thrownErrors.length=0,p;if(ie!==null&&typeof ie=="object"&&typeof ie.then=="function"){var oe=ie;return Hr(function(){Z||bt||(bt=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(ae,Le){Z=!0,oe.then(function(Ve){if(G(b,q),q===0){try{ee(Y),J(function(){return V(Ve,ae,Le)})}catch(Gs){re.thrownErrors.push(Gs)}if(0<re.thrownErrors.length){var Vs=X(re.thrownErrors);re.thrownErrors.length=0,Le(Vs)}}else ae(Ve)},function(Ve){G(b,q),0<re.thrownErrors.length&&(Ve=X(re.thrownErrors),re.thrownErrors.length=0),Le(Ve)})}}}var fe=ie;if(G(b,q),q===0&&(ee(Y),Y.length!==0&&Hr(function(){Z||bt||(bt=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),re.actQueue=null),0<re.thrownErrors.length)throw p=X(re.thrownErrors),re.thrownErrors.length=0,p;return{then:function(ae,Le){Z=!0,q===0?(re.actQueue=Y,J(function(){return V(fe,ae,Le)})):ae(fe)}}},t.cache=function(p){return function(){return p.apply(null,arguments)}},t.captureOwnerStack=function(){var p=re.getCurrentStack;return p===null?null:p()},t.cloneElement=function(p,b,q){if(p==null)throw Error("The argument must be a React element, but you passed "+p+".");var Y=we({},p.props),Z=p.key,ie=p._owner;if(b!=null){var oe;e:{if(Ae.call(b,"ref")&&(oe=Object.getOwnPropertyDescriptor(b,"ref").get)&&oe.isReactWarning){oe=!1;break e}oe=b.ref!==void 0}oe&&(ie=f()),w(b)&&(i(b.key),Z=""+b.key);for(fe in b)!Ae.call(b,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&b.ref===void 0||(Y[fe]=b[fe])}var fe=arguments.length-2;if(fe===1)Y.children=q;else if(1<fe){oe=Array(fe);for(var ae=0;ae<fe;ae++)oe[ae]=arguments[ae+2];Y.children=oe}for(Y=j(p.type,Z,void 0,void 0,ie,Y,p._debugStack,p._debugTask),Z=2;Z<arguments.length;Z++)ie=arguments[Z],S(ie)&&ie._store&&(ie._store.validated=1);return Y},t.createContext=function(p){return p={$$typeof:P,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null},p.Provider=p,p.Consumer={$$typeof:T,_context:p},p._currentRenderer=null,p._currentRenderer2=null,p},t.createElement=function(p,b,q){for(var Y=2;Y<arguments.length;Y++){var Z=arguments[Y];S(Z)&&Z._store&&(Z._store.validated=1)}if(Y={},Z=null,b!=null)for(ae in Ye||!("__self"in b)||"key"in b||(Ye=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),w(b)&&(i(b.key),Z=""+b.key),b)Ae.call(b,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(Y[ae]=b[ae]);var ie=arguments.length-2;if(ie===1)Y.children=q;else if(1<ie){for(var oe=Array(ie),fe=0;fe<ie;fe++)oe[fe]=arguments[fe+2];Object.freeze&&Object.freeze(oe),Y.children=oe}if(p&&p.defaultProps)for(ae in ie=p.defaultProps,ie)Y[ae]===void 0&&(Y[ae]=ie[ae]);Z&&y(Y,typeof p=="function"?p.displayName||p.name||"Unknown":p);var ae=1e4>re.recentlyCreatedOwnerStacks++;return j(p,Z,void 0,void 0,f(),Y,ae?Error("react-stack-top-frame"):gt,ae?et(m(p)):yt)},t.createRef=function(){var p={current:null};return Object.seal(p),p},t.forwardRef=function(p){p!=null&&p.$$typeof===B?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof p!="function"?console.error("forwardRef requires a render function but was given %s.",p===null?"null":typeof p):p.length!==0&&p.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",p.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),p!=null&&p.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var b={$$typeof:H,render:p},q;return Object.defineProperty(b,"displayName",{enumerable:!1,configurable:!0,get:function(){return q},set:function(Y){q=Y,p.name||p.displayName||(Object.defineProperty(p,"name",{value:Y}),p.displayName=Y)}}),b},t.isValidElement=S,t.lazy=function(p){return{$$typeof:te,_payload:{_status:-1,_result:p},_init:U}},t.memo=function(p,b){p==null&&console.error("memo: The first argument must be a component. Instead received: %s",p===null?"null":typeof p),b={$$typeof:B,type:p,compare:b===void 0?null:b};var q;return Object.defineProperty(b,"displayName",{enumerable:!1,configurable:!0,get:function(){return q},set:function(Y){q=Y,p.name||p.displayName||(Object.defineProperty(p,"name",{value:Y}),p.displayName=Y)}}),b},t.startTransition=function(p){var b=re.T,q={};re.T=q,q._updatedFibers=new Set;try{var Y=p(),Z=re.S;Z!==null&&Z(q,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(L,qr)}catch(ie){qr(ie)}finally{b===null&&q._updatedFibers&&(p=q._updatedFibers.size,q._updatedFibers.clear(),10<p&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),re.T=b}},t.unstable_useCacheRefresh=function(){return M().useCacheRefresh()},t.use=function(p){return M().use(p)},t.useActionState=function(p,b,q){return M().useActionState(p,b,q)},t.useCallback=function(p,b){return M().useCallback(p,b)},t.useContext=function(p){var b=M();return p.$$typeof===T&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),b.useContext(p)},t.useDebugValue=function(p,b){return M().useDebugValue(p,b)},t.useDeferredValue=function(p,b){return M().useDeferredValue(p,b)},t.useEffect=function(p,b,q){p==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var Y=M();if(typeof q=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Y.useEffect(p,b)},t.useId=function(){return M().useId()},t.useImperativeHandle=function(p,b,q){return M().useImperativeHandle(p,b,q)},t.useInsertionEffect=function(p,b){return p==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),M().useInsertionEffect(p,b)},t.useLayoutEffect=function(p,b){return p==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),M().useLayoutEffect(p,b)},t.useMemo=function(p,b){return M().useMemo(p,b)},t.useOptimistic=function(p,b){return M().useOptimistic(p,b)},t.useReducer=function(p,b,q){return M().useReducer(p,b,q)},t.useRef=function(p){return M().useRef(p)},t.useState=function(p){return M().useState(p)},t.useSyncExternalStore=function(p,b,q){return M().useSyncExternalStore(p,b,q)},t.useTransition=function(){return M().useTransition()},t.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(it,it.exports)),it.exports}process.env.NODE_ENV==="production"?lr.exports=go():lr.exports=yo();var Q=lr.exports;const _o=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 14"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M11.95 5.997 7.86 2.092 9.233.639l6.763 6.356-6.763 6.366L7.86 11.91l4.092-3.912H-.003v-2z"}));var xo=_o;const bo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",className:"svg-inline--fa fa-calendar-alt fa-w-14",viewBox:"0 0 448 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12m108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12m96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48m-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6"}));var ur=bo;const wo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",d:"M320 240 160 384 0 240v-48h320z"}));var $o=wo;const Eo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 10 5"},e),Q.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M0 5 5 .002 10 5z"}));var jo=Eo;const No=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"m447.9 142.5-23.2 22L181 395.3l-22 20.8-22-20.8L23.2 287.6 0 265.6l44-46.5 23.2 22L159 328l221.7-210 23.2-22z"}));var Co=No;const To=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 10 8"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M8.498 0 10 1.502 3.672 7.83 0 4.158l1.502-1.502 2.17 2.17z"}));var So=To;const Oo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8M6.7 11.5 3.4 8.1l1.4-1.4 1.9 1.9 4.1-4.1 1.4 1.4z"}));var Ro=Oo;const ko=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",d:"m256 429.3 22.6-22.6 192-192 22.7-22.7-45.3-45.3-22.6 22.6L256 338.7 86.6 169.4 64 146.7 18.7 192l22.6 22.6 192 192z"}));var hr=ko;const Po=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 7 12"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M1.45 6.002 7 11.27l-.685.726L0 6.003 6.315 0 7 .726z"}));var Dn=Po;const Ao=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 7 12"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M5.569 5.994 0 .726.687 0l6.336 5.994-6.335 6.002L0 11.27z"}));var Mn=Ao;const Do=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 12 7"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M5.994 1.45.726 7 0 6.315 5.994 0l6.002 6.315L11.27 7z"}));var Mo=Do;const Io=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",d:"m326.6 166.6 22.7-22.6L304 98.7l-22.6 22.6-89.4 89.4-89.4-89.4L80 98.7 34.7 144l22.6 22.6 89.4 89.4-89.3 89.4L34.7 368 80 413.3l22.6-22.6 89.4-89.4 89.4 89.4 22.6 22.6 45.3-45.3-22.6-22.6-89.4-89.4 89.4-89.4z"}));var Lt=Io;const Lo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:"1em",height:"1em"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"m326.6 166.6 22.7-22.6L304 98.7l-22.6 22.6-89.4 89.4-89.4-89.4L80 98.7 34.7 144l22.6 22.6 89.4 89.4-89.3 89.4L34.7 368 80 413.3l22.6-22.6 89.4-89.4 89.4 89.4 22.6 22.6 45.3-45.3-22.6-22.6-89.4-89.4 89.4-89.4z"}));var Bo=Lo;const qo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{d:"M9.5 8.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m5-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-13 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"}));var Fo=qo;const Ho=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16M4 4.65 11.35 12l.65-.65L4.65 4z"}));var In=Ho;const Wo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 576 512"},e),Q.createElement("path",{fill:"currentColor",d:"M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40h-16c-1.1 0-2.2 0-3.3-.1-1.4.1-2.8.1-4.2.1H392c-22.1 0-40-17.9-40-40v-88c0-17.7-14.3-32-32-32h-64c-17.7 0-32 14.3-32 32v88c0 22.1-17.9 40-40 40h-55.9c-1.5 0-3-.1-4.5-.2-1.2.1-2.4.2-3.6.2h-16c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9.1-2.8v-69.6H32c-18 0-32-14-32-32.1 0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7l255.4 224.5c8 7 12 15 11 24"}));var zo=Wo;const Uo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8m0 4c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1m2 8H6v-1h1V8H6V7h3v4h1z"}));var Yo=Uo;const Vo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16m1-3V7H7v6zM8 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2"}));var Go=Vo;const Ko=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M4.5 7V3.5a3.5 3.5 0 0 1 7 0V7h1A1.5 1.5 0 0 1 14 8.5v6a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 14.5v-6A1.5 1.5 0 0 1 3.5 7zm1 0h5V3.5a2.5 2.5 0 0 0-5 0zm-2 1a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5z"}));var Xo=Ko;const Qo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 14"},e),Q.createElement("path",{fill:"currentColor",d:"M0 0h20v2H0zM0 6h20v2H0zM0 12h20v2H0z"}));var Zo=Qo;const Jo=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 3 15"},e),Q.createElement("g",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1},Q.createElement("circle",{cx:1.5,cy:1.5,r:1.5}),Q.createElement("circle",{cx:1.5,cy:7.5,r:1.5}),Q.createElement("circle",{cx:1.5,cy:13.5,r:1.5})));var ea=Jo;const ta=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M11.435 10.063h-.728l-.251-.252a5.9 5.9 0 0 0 1.437-3.865 5.946 5.946 0 1 0-5.947 5.947 5.9 5.9 0 0 0 3.865-1.432l.252.251v.723L14.637 16 16 14.637zm-5.489 0a4.117 4.117 0 1 1 0-8.234 4.117 4.117 0 0 1 0 8.234"}));var ra=ta;const na=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 448 512"},e),Q.createElement("path",{fill:"currentColor",d:"M224 256a128 128 0 1 0 0-256 128 128 0 1 0 0 256m-45.7 48C79.8 304 0 383.8 0 482.3 0 498.7 13.3 512 29.7 512h388.6c16.4 0 29.7-13.3 29.7-29.7 0-98.5-79.8-178.3-178.3-178.3z",opacity:1}));var sa=na;const oa=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("g",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1},Q.createElement("path",{d:"M7.25 6h1.5v5h-1.5z"}),Q.createElement("circle",{cx:8,cy:12.75,r:1}),Q.createElement("path",{fillRule:"nonzero",d:"M.75 16a.75.75 0 0 1-.67-1.085L7.33.415a.75.75 0 0 1 1.34 0l7.25 14.5A.75.75 0 0 1 15.25 16zm1.214-1.5h12.072L8 2.427z"})));var aa=oa;const ia=e=>Q.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Q.createElement("path",{fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1,d:"M.75 16a.75.75 0 0 1-.67-1.085L7.33.415a.75.75 0 0 1 1.34 0l7.25 14.5A.75.75 0 0 1 15.25 16zm6.5-10v5h1.5V6zM8 13.5A.75.75 0 1 0 8 12a.75.75 0 0 0 0 1.5"}));var Ln=ia;const ca=(e,t,r)=>{const{stateMap:n,mountOnEnter:o,initialEntered:s}=e,c=r??s;return n.get(t)||{status:c?"entered":o?"unmounted":"exited",isMounted:!o,isEnter:c,isResolved:!0}},la=()=>{const e=z.useContext(kn);if(process.env.NODE_ENV!=="production"&&!e.stateMap)throw new Error("[React-Accordion] Cannot find a <AccordionProvider/> above this AccordionItem.");return e},ua=({itemKey:e,initialEntered:t,disabled:r}={})=>{const n=z.useRef(null),o=la(),s=e??n.current,c=ca(o,s,t),{setItem:d,deleteItem:l,toggle:i}=o;return z.useEffect(()=>{if(r)return;const h=e??n.current;return d(h,{initialEntered:t}),()=>void l(h)},[d,l,e,t,r]),{itemRef:n,state:c,toggle:z.useCallback(h=>i(s,h),[i,s])}},Bn=e=>{const t=F.forwardRef(({itemKey:r,initialEntered:n,...o},s)=>a.jsx(e,{forwardedRef:s,...o,...ua({itemKey:r,initialEntered:n,disabled:o.disabled})}));return t.displayName="withAccordionItem",t};Bn.displayName="withAccordionItem";var Kt={exports:{}};/*!
|
|
61
61
|
Copyright (c) 2018 Jed Watson.
|
|
62
62
|
Licensed under the MIT License (MIT), see
|
|
63
63
|
http://jedwatson.github.io/classnames
|
|
64
|
-
*/var Zr;function da(){return Zr||(Zr=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",c=0;c<arguments.length;c++){var d=arguments[c];d&&(s=o(s,n(d)))}return s}function n(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var c="";for(var d in s)t.call(s,d)&&s[d]&&(c=o(c,d));return c}function o(s,c){return c?s?s+" "+c:s+c:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Kt)),Kt.exports}var fa=da();const C=Dt(fa),Jr=(e,t)=>typeof e=="function"?e(t):e,qn=F.memo(({forwardedRef:e,itemRef:t,state:r,toggle:n,className:o,disabled:s,header:c,headingTag:d="h3",headingProps:l,buttonProps:i,contentProps:h,panelProps:m,children:f,...v})=>{const w={state:r,toggle:n,disabled:s},{buttonProps:y,panelProps:x}=mo(w),[j,O]=vo(r),S=Kr(m&&m.ref,O),{status:E,isMounted:_,isEnter:N}=r,{prefix:k}=R(),D=C(`${k}--accordion--button`,{[`${k}--accordion--button__expanded`]:N});return a.jsxs("div",{...v,ref:Kr(e,t),className:Ke(Ge,"item",{status:E,expanded:N})(o,r),children:[a.jsx(d,{...l,style:{margin:0,...l&&l.style},className:Ke(Ge,"item-heading")(l&&l.className,r),children:a.jsxs("button",{...cr(y,i),type:"button",className:Ke(Ge,"item-btn")(i&&i.className,r),children:[a.jsx(hr,{description:"open",className:D}),Jr(c,w)]})}),_&&a.jsx("div",{...h,style:{display:E==="exited"?"none":void 0,...j,...h&&h.style},className:Ke(Ge,"item-content")(h&&h.className,r),children:a.jsx("div",{...cr(x,m),ref:S,className:Ke(Ge,"item-panel")(m&&m.className,r),children:Jr(f,w)})})]})});qn.displayName="AccordionItem";const vr=Bn(qn);vr.displayName="AccordionItem";const pa=({image:e,backgroundContent:t,children:r,className:n,...o})=>{const{prefix:s}=R(),c=e?{backgroundImage:`url(${e})`}:{},d=C(`${s}--auth-background-wrapper`,{[`${s}--auth-background-image`]:e,[`${n}`]:n});return a.jsxs("div",{className:`${s}--auth-wrapper`,...o,children:[a.jsx("div",{className:d,style:c,children:t}),a.jsx("div",{className:`${s}--auth-content-wrapper`,children:r})]})},ma=({children:e,...t})=>{const{prefix:r}=R();return a.jsx("div",{...t,className:`${r}--auth-background-content`,children:e})},ha=["sm","md","lg","full"],Be=e=>{const{prefix:t}=R(),{background:r,backgroundClassName:n,backgroundStyle:o,children:s,className:c,pageWidth:d,mobilePageWidth:l,spacing:i,...h}=e,m=C({[`${t}--wrapper`]:!0,[`${t}--wrapper--width-lg`]:d==="narrow",[`${t}--wrapper--width-md`]:d==="narrower",[`${t}--wrapper--width-sm`]:d==="narrowest",[`${t}--wrapper--width-xs`]:d==="narrowest",[`${t}--wrapper--width-${d}`]:d,[`${t}--wrapper--width-mobile-full`]:l==="full",[`${t}--wrapper--spacing-md`]:i==="md",[`${t}--wrapper--spacing-xl`]:i==="xl",[`${c}`]:c});if(r||o||n){const f=C(n,{[`${t}--wrapper--background-${r}`]:r});return a.jsx("div",{className:f,style:o,children:a.jsx("div",{className:m,...h,children:s})})}return a.jsx("div",{className:m,...h,children:s})},$e=({className:e,children:t})=>{const{prefix:r}=R(),n=C(`${r}--banner-navigation__item`,e);return a.jsx("li",{className:n,children:t})},Fn=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--banner-navigation`,t);return a.jsx("div",{className:o,children:a.jsx(Be,{...r,children:a.jsx("ul",{className:`${n}--banner-navigation__list`,children:e})})})},Hn=({className:e,children:t,invalid:r,inline:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--form-item`,{[`${s}--form-item--inline`]:n,[`${s}--form-item--invalid`]:r},e);return a.jsx("div",{className:c,...o,children:t})};function Wn({addonBefore:e,prefix:t}){return e?a.jsx("div",{className:`${t}--input-addon-before`,children:e}):null}function zn({addonAfter:e,prefix:t}){return e?a.jsx("div",{className:`${t}--input-addon-after`,children:e}):null}function gr({errorId:e,errorClasses:t,invalid:r,invalidText:n}){if(r){const o=a.jsx(Ln,{fill:"#c5192d"});return a.jsxs("div",{className:t,id:e,children:[o," ",a.jsx("span",{children:typeof r=="object"&&r.message?r.message:typeof r=="string"?r:n||"required"})]})}return null}function Un({labelClasses:e,calculatedId:t,labelText:r,required:n,hideLabel:o}){return o?null:a.jsxs("label",{htmlFor:t,className:e,children:[r&&r,n&&"*"]})}function Yn({helperTextClasses:e,helperText:t}){return t?a.jsx("div",{className:e,children:t}):null}const Ce=({additional:e,addonBefore:t,addonAfter:r,labelText:n,children:o,components:s={},id:c,className:d,inputWrapperClassName:l,hideLabel:i,name:h,invalid:m,invalidText:f,helperText:v,required:w,...y})=>{const{prefix:x}=R(),j=c||h,O=j+"-error-msg",S=C(`${x}--label`,{[`${x}--visually-hidden`]:i||!n,[`${x}--label--disabled`]:y.disabled}),E=C(`${x}--input-wrapper`,{[`${x}--form-item--invalid`]:m},l),_=C(`${x}--form__helper-text`,{[`${x}--form__helper-text--disabled`]:y.disabled}),N=`${x}--form-requirement`,k={AddonAfter:zn,AddonBefore:Wn,Label:Un,Helper:Yn,InlineErrorMessage:gr,...s},D=k.AddonAfter,M=k.AddonBefore,H=k.Label,P=k.Helper,V=k.InlineErrorMessage,ee={labelText:n,labelClasses:S,calculatedId:j,required:w,helperTextClasses:_,helperText:v,errorClasses:N,errorId:O,invalid:m,invalidText:f,addonAfter:r,addonBefore:t,hideLabel:i,prefix:x};return a.jsxs(Hn,{className:d,inline:y.inline,children:[a.jsx(H,{...ee}),a.jsx(P,{...ee}),e,a.jsxs("div",{className:E,children:[a.jsx(M,{...ee}),o,a.jsx(D,{...ee})]}),a.jsx(V,{...ee})]})};Ce.displayName="Input";const Te=({addonAfter:e,className:t,inputClassName:r="wfp--input",id:n,placeholder:o,type:s="text",onChange:c=()=>{},onClick:d=()=>{},hideLabel:l,name:i,invalid:h,invalidText:m,labelText:f,helperText:v,light:w,value:y=void 0,...x})=>{const{prefix:j}=R(),O=n||i,S=C(`${j}--input`,r,{[`${j}--input--light`]:w,[`${j}--input--invalid`]:h}),E={id:O,name:i,className:S,...x,onChange:k=>{!x.disabled&&!x.readOnly&&c(k)},onClick:k=>{!x.disabled&&!x.readOnly&&d(k)},placeholder:o,value:y,type:s},_={calculatedId:O,id:n,name:i,className:t,addonAfter:e,labelText:f,helperText:v,hideLabel:l,invalid:h,invalidText:m},N=O+"-error-msg";return h&&(E["data-invalid"]=!0,E["aria-invalid"]=!0,E["aria-describedby"]=N),{inputProps:E,wrapperProps:_}},yr=F.forwardRef((e,t)=>{const{prefix:r}=R(),{className:n,closeButtonLabelText:o,disabled:s,hideLabel:c,hideControls:d,labelText:l,kind:i="large",onChange:h=()=>{},onSearchIconClick:m=()=>{},helperText:f,light:v,rounded:w}=e,y=e.value,[x,j]=F.useState(y);F.useEffect(()=>{j(e.value)},[e.value]);const O=F.useRef(null),S=t||O,E=V=>{s||(V.persist(),V.imaginaryTarget=S,j(V.target.value),h(V,V.target.value))},_=V=>{j(""),h(V,"")},N=C(`${r}--number`,n,{[`${r}--number--light`]:v,[`${r}--number--helpertext`]:f,[`${r}--number--nolabel`]:c,[`${r}--number--nocontrols`]:d,"wfp--search":!0,"wfp--search--lg":i==="large","wfp--search--sm":i==="small","wfp--search--main":i==="main","wfp--search--banner":i==="banner","wfp--search--light":i==="light"}),k=C({"wfp--search-close":!0,"wfp--search-close--hidden":!x}),D=C(`${r}--search-input`,n,{[`${r}--search-input--rounded`]:w}),M=e,{wrapperProps:H,inputProps:P}=Te({...M,onChange:E,className:`${r}--search-input__wrapper`,inputClassName:D});return a.jsxs(Ce,{...H,inputWrapperClassName:N,children:[a.jsx(ra,{description:l,className:`${r}--search-magnifier-icon`,onClick:m}),a.jsx("input",{...P,ref:S,value:x}),a.jsx("button",{className:k,onClick:_,type:"button","aria-label":o,children:a.jsx(Lt,{description:o})})]})});yr.displayName="Search";const he=F.forwardRef(function(t,r){const{children:n,className:o,href:s,disabled:c,inline:d,visited:l,icon:i,size:h,linkSolid:m,...f}=t,{prefix:v}=R(),w=C(`${v}--link`,o,{[`${v}--link--disabled`]:c,[`${v}--link--inline`]:d,[`${v}--link--visited`]:l,[`${v}--link--${h}`]:h,[`${v}--link--icon`]:i,[`${v}--link--solid`]:m}),y=f.target==="_blank"?"noopener":void 0,x=i;return a.jsxs("a",{href:c?void 0:s,className:w,rel:y,ref:r,"aria-disabled":c,...f,children:[n,i&&F.isValidElement(i)?a.jsx("span",{className:`${v}--link__icon`,children:i}):i?a.jsx(x,{}):null]})});he.displayName="Link";const va=({searchOnChange:e,search:t,...r})=>a.jsxs(Fn,{...r,children:[a.jsx($e,{children:a.jsx(he,{href:"http://communities.wfp.org",target:"_blank",children:"Communities"})}),a.jsx($e,{children:a.jsx(he,{href:"http://manuals.wfp.org",target:"_blank",children:"Manuals"})}),a.jsx($e,{children:a.jsx(he,{href:"https://newgo.docs.wfp.org",target:"_blank",children:"GoDocs"})}),a.jsx($e,{children:a.jsx(he,{href:"https://welearn.wfp.org",target:"_blank",children:"WeLearn"})}),a.jsx($e,{children:a.jsx(he,{href:"https://dashboard.wfp.org",target:"_blank",children:"Dashboard"})}),a.jsx($e,{children:a.jsx(he,{href:"http://opweb.wfp.org",target:"_blank",children:"OPweb"})}),a.jsx($e,{children:a.jsx(he,{href:"https://selfservice.go.wfp.org",target:"_blank",children:"Self-Service"})}),a.jsx($e,{children:a.jsx(he,{href:"https://erpapps.wfp.org/fiori",target:"_blank",children:"WeTravel"})}),a.jsx($e,{children:a.jsx(he,{href:"https://unbooking.org/",target:"_blank",children:"UN Booking Hub"})}),a.jsx($e,{children:a.jsx(he,{href:"https://wfp.org",target:"_blank",children:"WFP.org"})}),t&&a.jsx($e,{children:a.jsx("form",{action:"http://gtd.wfp.org",method:"GET",acceptCharset:"UTF-8",target:"_blank",children:a.jsx(yr,{kind:"banner",id:"search-2",labelText:"Find People",name:"q",placeholder:"Find People",onChange:e})})})]});function _r({alt:e,className:t,image:r,missingImage:n="avatar",name:o,userIconProps:s,...c}){const{prefix:d}=R();if(!r&&n==="avatar"){const l=C(`${d}--avatar`,`${d}--avatar--empty`,`${d}--avatar--missing`,t);return a.jsx(sa,{fill:"#ffffff",description:e,className:l,...s,...c})}else if(r===void 0&&n==="letter"){const l=C(`${d}--avatar`,`${d}--avatar--empty`,`${d}--avatar--letter`,t);return a.jsx("svg",{id:"avatar-layer",className:l,x:"0px",y:"0px",viewBox:"0 0 25 25",height:"25px",width:"25px",children:a.jsx("text",{x:"50%",y:"57%",dominantBaseline:"middle",textAnchor:"middle",children:o&&o.toUpperCase()[0]})})}else{const l=C(`${d}--avatar`,t);return a.jsx("div",{...c,className:l,children:a.jsx("img",{alt:e,src:r})})}}_r.displayName="Avatar";const ga=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(t,{[`${n}--breadcrumb`]:!0,[`${n}--breadcrumb--no-trailing-slash`]:!0});return a.jsx("div",{className:o,...r,children:e})},ya=(e,t,r)=>{const{prefix:n}=R();return t===!0?a.jsx("span",{children:e}):typeof e=="string"&&r!==void 0?a.jsx(he,{href:r,children:e}):z.cloneElement(z.Children.only(e),{className:`${n}--link`})},_a=({children:e,className:t,disableLink:r,href:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--breadcrumb-item`,t);return a.jsx("div",{className:c,...o,children:ya(e,r,n)})},xa=({className:e,hometext:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--breadcrumb-home`,e);return a.jsx(zo,{fill:"#0b77c2",width:"14",height:"14",description:t,className:o,...r})},qe=F.forwardRef((e,t)=>{const{children:r,className:n,disabled:o,small:s,large:c,btnSolid:d,kind:l="primary",iconReverse:i,tabIndex:h,useFlexbox:m,type:f="button",icon:v,iconDescription:w,onClick:y,id:x,...j}=e,{prefix:O}=R(),[S,E]=z.useState(!1);z.useEffect(()=>{const P=setTimeout(()=>D(),500);return()=>{clearTimeout(P)}},[S]);const _=C(n,{[`${O}--btn`]:!0,[`${O}--btn--sm`]:s,[`${O}--btn--lg`]:c,[`${O}--btn--icon-reverse`]:i,[`${O}--btn--flexbox`]:m,[`${O}--btn--icon-only`]:v&&r===void 0,[`${O}--btn--${l}`]:l,[`${O}--btn--${l}-solid`]:d,[`${O}--btn--animating`]:S}),N={tabIndex:h,className:_};let k=null;if(v&&F.isValidElement(v))k=a.jsx("span",{className:`${O}--btn__icon`,children:v});else if(v){const P=v;k=a.jsx(P,{description:w,className:`${O}--btn__icon`})}const D=()=>{E(!1)},M=P=>{y&&y(P),E(!0)};if(j.href){const P={...j,href:j.href};return a.jsxs("a",{...P,...N,role:"button",onClick:M,ref:t,id:x,children:[i&&k,r,!i&&k]})}const H={...j,disabled:o};return a.jsxs("button",{...H,...N,disabled:o,type:f,onClick:M,ref:t,id:x,children:[i&&k,r,!i&&k]})});qe.displayName="Button";var Et={exports:{}},jt={exports:{}},ue={};/** @license React v16.13.1
|
|
64
|
+
*/var Zr;function da(){return Zr||(Zr=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",c=0;c<arguments.length;c++){var d=arguments[c];d&&(s=o(s,n(d)))}return s}function n(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var c="";for(var d in s)t.call(s,d)&&s[d]&&(c=o(c,d));return c}function o(s,c){return c?s?s+" "+c:s+c:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Kt)),Kt.exports}var fa=da();const C=Dt(fa),Jr=(e,t)=>typeof e=="function"?e(t):e,qn=F.memo(({forwardedRef:e,itemRef:t,state:r,toggle:n,className:o,disabled:s,header:c,headingTag:d="h3",headingProps:l,buttonProps:i,contentProps:h,panelProps:m,children:f,...v})=>{const w={state:r,toggle:n,disabled:s},{buttonProps:y,panelProps:x}=mo(w),[j,O]=vo(r),S=Kr(m&&m.ref,O),{status:E,isMounted:_,isEnter:N}=r,{prefix:k}=R(),D=C(`${k}--accordion--button`,{[`${k}--accordion--button__expanded`]:N});return a.jsxs("div",{...v,ref:Kr(e,t),className:Ke(Ge,"item",{status:E,expanded:N})(o,r),children:[a.jsx(d,{...l,style:{margin:0,...l&&l.style},className:Ke(Ge,"item-heading")(l&&l.className,r),children:a.jsxs("button",{...cr(y,i),type:"button",className:Ke(Ge,"item-btn")(i&&i.className,r),children:[a.jsx(hr,{description:"open",className:D}),Jr(c,w)]})}),_&&a.jsx("div",{...h,style:{display:E==="exited"?"none":void 0,...j,...h&&h.style},className:Ke(Ge,"item-content")(h&&h.className,r),children:a.jsx("div",{...cr(x,m),ref:S,className:Ke(Ge,"item-panel")(m&&m.className,r),children:Jr(f,w)})})]})});qn.displayName="AccordionItem";const vr=Bn(qn);vr.displayName="AccordionItem";const pa=({image:e,backgroundContent:t,children:r,className:n,...o})=>{const{prefix:s}=R(),c=e?{backgroundImage:`url(${e})`}:{},d=C(`${s}--auth-background-wrapper`,{[`${s}--auth-background-image`]:e,[`${n}`]:n});return a.jsxs("div",{className:`${s}--auth-wrapper`,...o,children:[a.jsx("div",{className:d,style:c,children:t}),a.jsx("div",{className:`${s}--auth-content-wrapper`,children:r})]})},ma=({children:e,...t})=>{const{prefix:r}=R();return a.jsx("div",{...t,className:`${r}--auth-background-content`,children:e})},ha=["sm","md","lg","full"],Be=e=>{const{prefix:t}=R(),{background:r,backgroundClassName:n,backgroundStyle:o,children:s,className:c,pageWidth:d,mobilePageWidth:l,spacing:i,...h}=e,m=C({[`${t}--wrapper`]:!0,[`${t}--wrapper--width-lg`]:d==="narrow",[`${t}--wrapper--width-md`]:d==="narrower",[`${t}--wrapper--width-sm`]:d==="narrowest",[`${t}--wrapper--width-xs`]:d==="narrowest",[`${t}--wrapper--width-${d}`]:d,[`${t}--wrapper--width-mobile-full`]:l==="full",[`${t}--wrapper--spacing-md`]:i==="md",[`${t}--wrapper--spacing-xl`]:i==="xl",[`${c}`]:c});if(r||o||n){const f=C(n,{[`${t}--wrapper--background-${r}`]:r});return a.jsx("div",{className:f,style:o,children:a.jsx("div",{className:m,...h,children:s})})}return a.jsx("div",{className:m,...h,children:s})},Ee=({className:e,children:t})=>{const{prefix:r}=R(),n=C(`${r}--banner-navigation__item`,e);return a.jsx("li",{className:n,children:t})},Fn=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--banner-navigation`,t);return a.jsx("div",{className:o,children:a.jsx(Be,{...r,children:a.jsx("ul",{className:`${n}--banner-navigation__list`,children:e})})})},Hn=({className:e,children:t,invalid:r,inline:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--form-item`,{[`${s}--form-item--inline`]:n,[`${s}--form-item--invalid`]:r},e);return a.jsx("div",{className:c,...o,children:t})};function Wn({addonBefore:e,prefix:t}){return e?a.jsx("div",{className:`${t}--input-addon-before`,children:e}):null}function zn({addonAfter:e,prefix:t}){return e?a.jsx("div",{className:`${t}--input-addon-after`,children:e}):null}function gr({errorId:e,errorClasses:t,invalid:r,invalidText:n}){if(r){const o=a.jsx(Ln,{fill:"#c5192d"});return a.jsxs("div",{className:t,id:e,children:[o," ",a.jsx("span",{children:typeof r=="object"&&r.message?r.message:typeof r=="string"?r:n||"required"})]})}return null}function Un({labelClasses:e,calculatedId:t,labelText:r,required:n,hideLabel:o}){return o?null:a.jsxs("label",{htmlFor:t,className:e,children:[r&&r,n&&"*"]})}function Yn({helperTextClasses:e,helperText:t}){return t?a.jsx("div",{className:e,children:t}):null}const Te=({additional:e,addonBefore:t,addonAfter:r,labelText:n,children:o,components:s={},id:c,className:d,inputWrapperClassName:l,hideLabel:i,name:h,invalid:m,invalidText:f,helperText:v,required:w,...y})=>{const{prefix:x}=R(),j=c||h,O=j+"-error-msg",S=C(`${x}--label`,{[`${x}--visually-hidden`]:i||!n,[`${x}--label--disabled`]:y.disabled}),E=C(`${x}--input-wrapper`,{[`${x}--form-item--invalid`]:m},l),_=C(`${x}--form__helper-text`,{[`${x}--form__helper-text--disabled`]:y.disabled}),N=`${x}--form-requirement`,k={AddonAfter:zn,AddonBefore:Wn,Label:Un,Helper:Yn,InlineErrorMessage:gr,...s},D=k.AddonAfter,W=k.AddonBefore,U=k.Label,M=k.Helper,L=k.InlineErrorMessage,J={labelText:n,labelClasses:S,calculatedId:j,required:w,helperTextClasses:_,helperText:v,errorClasses:N,errorId:O,invalid:m,invalidText:f,addonAfter:r,addonBefore:t,hideLabel:i,prefix:x};return a.jsxs(Hn,{className:d,inline:y.inline,children:[a.jsx(U,{...J}),a.jsx(M,{...J}),e,a.jsxs("div",{className:E,children:[a.jsx(W,{...J}),o,a.jsx(D,{...J})]}),a.jsx(L,{...J})]})};Te.displayName="Input";const Se=({addonAfter:e,className:t,inputClassName:r="wfp--input",id:n,placeholder:o,type:s="text",onChange:c=()=>{},onClick:d=()=>{},hideLabel:l,name:i,invalid:h,invalidText:m,labelText:f,helperText:v,light:w,value:y=void 0,...x})=>{const{prefix:j}=R(),O=n||i,S=C(`${j}--input`,r,{[`${j}--input--light`]:w,[`${j}--input--invalid`]:h}),E={id:O,name:i,className:S,...x,onChange:k=>{!x.disabled&&!x.readOnly&&c(k)},onClick:k=>{!x.disabled&&!x.readOnly&&d(k)},placeholder:o,value:y,type:s},_={calculatedId:O,id:n,name:i,className:t,addonAfter:e,labelText:f,helperText:v,hideLabel:l,invalid:h,invalidText:m},N=O+"-error-msg";return h&&(E["data-invalid"]=!0,E["aria-invalid"]=!0,E["aria-describedby"]=N),{inputProps:E,wrapperProps:_}},yr=F.forwardRef((e,t)=>{const{prefix:r}=R(),{className:n,closeButtonLabelText:o,disabled:s,hideLabel:c,hideControls:d,labelText:l,kind:i="large",onChange:h=()=>{},onSearchIconClick:m=()=>{},helperText:f,light:v,rounded:w}=e,y=e.value,[x,j]=F.useState(y);F.useEffect(()=>{j(e.value)},[e.value]);const O=F.useRef(null),S=t||O,E=L=>{s||(L.persist(),L.imaginaryTarget=S,j(L.target.value),h(L,L.target.value))},_=L=>{j(""),h(L,"")},N=C(`${r}--number`,n,{[`${r}--number--light`]:v,[`${r}--number--helpertext`]:f,[`${r}--number--nolabel`]:c,[`${r}--number--nocontrols`]:d,"wfp--search":!0,"wfp--search--lg":i==="large","wfp--search--sm":i==="small","wfp--search--main":i==="main","wfp--search--banner":i==="banner","wfp--search--light":i==="light"}),k=C({"wfp--search-close":!0,"wfp--search-close--hidden":!x}),D=C(`${r}--search-input`,n,{[`${r}--search-input--rounded`]:w}),W=e,{wrapperProps:U,inputProps:M}=Se({...W,onChange:E,className:`${r}--search-input__wrapper`,inputClassName:D});return a.jsxs(Te,{...U,inputWrapperClassName:N,children:[a.jsx(ra,{description:l,className:`${r}--search-magnifier-icon`,onClick:m}),a.jsx("input",{...M,ref:S,value:x}),a.jsx("button",{className:k,onClick:_,type:"button","aria-label":o,children:a.jsx(Lt,{description:o})})]})});yr.displayName="Search";const ve=F.forwardRef(function(t,r){const{children:n,className:o,href:s,disabled:c,inline:d,visited:l,icon:i,size:h,linkSolid:m,...f}=t,{prefix:v}=R(),w=C(`${v}--link`,o,{[`${v}--link--disabled`]:c,[`${v}--link--inline`]:d,[`${v}--link--visited`]:l,[`${v}--link--${h}`]:h,[`${v}--link--icon`]:i,[`${v}--link--solid`]:m}),y=f.target==="_blank"?"noopener":void 0,x=i;return a.jsxs("a",{href:c?void 0:s,className:w,rel:y,ref:r,"aria-disabled":c,...f,children:[n,i&&F.isValidElement(i)?a.jsx("span",{className:`${v}--link__icon`,children:i}):i?a.jsx(x,{}):null]})});ve.displayName="Link";const va=({searchOnChange:e,search:t,...r})=>a.jsxs(Fn,{...r,children:[a.jsx(Ee,{children:a.jsx(ve,{href:"http://communities.wfp.org",target:"_blank",children:"Communities"})}),a.jsx(Ee,{children:a.jsx(ve,{href:"http://manuals.wfp.org",target:"_blank",children:"Manuals"})}),a.jsx(Ee,{children:a.jsx(ve,{href:"https://newgo.docs.wfp.org",target:"_blank",children:"GoDocs"})}),a.jsx(Ee,{children:a.jsx(ve,{href:"https://welearn.wfp.org",target:"_blank",children:"WeLearn"})}),a.jsx(Ee,{children:a.jsx(ve,{href:"https://dashboard.wfp.org",target:"_blank",children:"Dashboard"})}),a.jsx(Ee,{children:a.jsx(ve,{href:"http://opweb.wfp.org",target:"_blank",children:"OPweb"})}),a.jsx(Ee,{children:a.jsx(ve,{href:"https://selfservice.go.wfp.org",target:"_blank",children:"Self-Service"})}),a.jsx(Ee,{children:a.jsx(ve,{href:"https://erpapps.wfp.org/fiori",target:"_blank",children:"WeTravel"})}),a.jsx(Ee,{children:a.jsx(ve,{href:"https://unbooking.org/",target:"_blank",children:"UN Booking Hub"})}),a.jsx(Ee,{children:a.jsx(ve,{href:"https://wfp.org",target:"_blank",children:"WFP.org"})}),t&&a.jsx(Ee,{children:a.jsx("form",{action:"http://gtd.wfp.org",method:"GET",acceptCharset:"UTF-8",target:"_blank",children:a.jsx(yr,{kind:"banner",id:"search-2",labelText:"Find People",name:"q",placeholder:"Find People",onChange:e})})})]});function _r({alt:e,className:t,image:r,missingImage:n="avatar",name:o,userIconProps:s,...c}){const{prefix:d}=R();if(!r&&n==="avatar"){const l=C(`${d}--avatar`,`${d}--avatar--empty`,`${d}--avatar--missing`,t);return a.jsx(sa,{fill:"#ffffff",description:e,className:l,...s,...c})}else if(r===void 0&&n==="letter"){const l=C(`${d}--avatar`,`${d}--avatar--empty`,`${d}--avatar--letter`,t);return a.jsx("svg",{id:"avatar-layer",className:l,x:"0px",y:"0px",viewBox:"0 0 25 25",height:"25px",width:"25px",children:a.jsx("text",{x:"50%",y:"57%",dominantBaseline:"middle",textAnchor:"middle",children:o&&o.toUpperCase()[0]})})}else{const l=C(`${d}--avatar`,t);return a.jsx("div",{...c,className:l,children:a.jsx("img",{alt:e,src:r})})}}_r.displayName="Avatar";const ga=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(t,{[`${n}--breadcrumb`]:!0,[`${n}--breadcrumb--no-trailing-slash`]:!0});return a.jsx("div",{className:o,...r,children:e})},ya=(e,t,r)=>{const{prefix:n}=R();return t===!0?a.jsx("span",{children:e}):typeof e=="string"&&r!==void 0?a.jsx(ve,{href:r,children:e}):z.cloneElement(z.Children.only(e),{className:`${n}--link`})},_a=({children:e,className:t,disableLink:r,href:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--breadcrumb-item`,t);return a.jsx("div",{className:c,...o,children:ya(e,r,n)})},xa=({className:e,hometext:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--breadcrumb-home`,e);return a.jsx(zo,{fill:"#0b77c2",width:"14",height:"14",description:t,className:o,...r})},qe=F.forwardRef((e,t)=>{const{children:r,className:n,disabled:o,small:s,large:c,btnSolid:d,kind:l="primary",iconReverse:i,tabIndex:h,useFlexbox:m,type:f="button",icon:v,iconDescription:w,onClick:y,id:x,...j}=e,{prefix:O}=R(),[S,E]=z.useState(!1);z.useEffect(()=>{const M=setTimeout(()=>D(),500);return()=>{clearTimeout(M)}},[S]);const _=C(n,{[`${O}--btn`]:!0,[`${O}--btn--sm`]:s,[`${O}--btn--lg`]:c,[`${O}--btn--icon-reverse`]:i,[`${O}--btn--flexbox`]:m,[`${O}--btn--icon-only`]:v&&r===void 0,[`${O}--btn--${l}`]:l,[`${O}--btn--${l}-solid`]:d,[`${O}--btn--animating`]:S}),N={tabIndex:h,className:_};let k=null;if(v&&F.isValidElement(v))k=a.jsx("span",{className:`${O}--btn__icon`,children:v});else if(v){const M=v;k=a.jsx(M,{description:w,className:`${O}--btn__icon`})}const D=()=>{E(!1)},W=M=>{y&&y(M),E(!0)};if(j.href){const M={...j,href:j.href};return a.jsxs("a",{...M,...N,role:"button",onClick:W,ref:t,id:x,children:[i&&k,r,!i&&k]})}const U={...j,disabled:o};return a.jsxs("button",{...U,...N,disabled:o,type:f,onClick:W,ref:t,id:x,children:[i&&k,r,!i&&k]})});qe.displayName="Button";var Et={exports:{}},jt={exports:{}},ue={};/** @license React v16.13.1
|
|
65
65
|
* react-is.production.min.js
|
|
66
66
|
*
|
|
67
67
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -75,12 +75,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75
75
|
*
|
|
76
76
|
* This source code is licensed under the MIT license found in the
|
|
77
77
|
* LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/var tn;function wa(){return tn||(tn=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,i=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,w=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,j=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function S(
|
|
78
|
+
*/var tn;function wa(){return tn||(tn=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,i=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,w=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,j=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function S(A){return typeof A=="string"||typeof A=="function"||A===n||A===i||A===s||A===o||A===m||A===f||typeof A=="object"&&A!==null&&(A.$$typeof===w||A.$$typeof===v||A.$$typeof===c||A.$$typeof===d||A.$$typeof===h||A.$$typeof===x||A.$$typeof===j||A.$$typeof===O||A.$$typeof===y)}function E(A){if(typeof A=="object"&&A!==null){var he=A.$$typeof;switch(he){case t:var we=A.type;switch(we){case l:case i:case n:case s:case o:case m:return we;default:var Ie=we&&we.$$typeof;switch(Ie){case d:case h:case w:case v:case c:return Ie;default:return he}}case r:return he}}}var _=l,N=i,k=d,D=c,W=t,U=h,M=n,L=w,J=v,X=r,G=s,V=o,ee=m,le=!1;function ce(A){return le||(le=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),u(A)||E(A)===l}function u(A){return E(A)===i}function g(A){return E(A)===d}function $(A){return E(A)===c}function T(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function P(A){return E(A)===h}function H(A){return E(A)===n}function I(A){return E(A)===w}function K(A){return E(A)===v}function B(A){return E(A)===r}function te(A){return E(A)===s}function ne(A){return E(A)===o}function me(A){return E(A)===m}de.AsyncMode=_,de.ConcurrentMode=N,de.ContextConsumer=k,de.ContextProvider=D,de.Element=W,de.ForwardRef=U,de.Fragment=M,de.Lazy=L,de.Memo=J,de.Portal=X,de.Profiler=G,de.StrictMode=V,de.Suspense=ee,de.isAsyncMode=ce,de.isConcurrentMode=u,de.isContextConsumer=g,de.isContextProvider=$,de.isElement=T,de.isForwardRef=P,de.isFragment=H,de.isLazy=I,de.isMemo=K,de.isPortal=B,de.isProfiler=te,de.isStrictMode=ne,de.isSuspense=me,de.isValidElementType=S,de.typeOf=E}()),de}var rn;function Vn(){return rn||(rn=1,process.env.NODE_ENV==="production"?jt.exports=ba():jt.exports=wa()),jt.exports}/*
|
|
79
79
|
object-assign
|
|
80
80
|
(c) Sindre Sorhus
|
|
81
81
|
@license MIT
|
|
82
|
-
*/var Xt,nn;function $a(){if(nn)return Xt;nn=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var c={},d=0;d<10;d++)c["_"+String.fromCharCode(d)]=d;var l=Object.getOwnPropertyNames(c).map(function(h){return c[h]});if(l.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(h){i[h]=h}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Xt=o()?Object.assign:function(s,c){for(var d,l=n(s),i,h=1;h<arguments.length;h++){d=Object(arguments[h]);for(var m in d)t.call(d,m)&&(l[m]=d[m]);if(e){i=e(d);for(var f=0;f<i.length;f++)r.call(d,i[f])&&(l[i[f]]=d[i[f]])}}return l},Xt}var Qt,sn;function xr(){if(sn)return Qt;sn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Qt=e,Qt}var Zt,on;function Gn(){return on||(on=1,Zt=Function.call.bind(Object.prototype.hasOwnProperty)),Zt}var Jt,an;function Ea(){if(an)return Jt;an=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xr(),r={},n=Gn();e=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function o(s,c,d,l,i){if(process.env.NODE_ENV!=="production"){for(var h in s)if(n(s,h)){var m;try{if(typeof s[h]!="function"){var f=Error((l||"React class")+": "+d+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}m=s[h](c,h,l,d,null,t)}catch(w){m=w}if(m&&!(m instanceof Error)&&e((l||"React class")+": type specification of "+d+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in r)){r[m.message]=!0;var v=i?i():"";e("Failed "+d+" type: "+m.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Jt=o,Jt}var er,cn;function ja(){if(cn)return er;cn=1;var e=Vn(),t=$a(),r=xr(),n=Gn(),o=Ea(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(d){var l="Warning: "+d;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function c(){return null}return er=function(d,l){var i=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function m(u){var g=u&&(i&&u[i]||u[h]);if(typeof g=="function")return g}var f="<<anonymous>>",v={array:j("array"),bigint:j("bigint"),bool:j("boolean"),func:j("function"),number:j("number"),object:j("object"),string:j("string"),symbol:j("symbol"),any:O(),arrayOf:S,element:E(),elementType:_(),instanceOf:N,node:
|
|
83
|
-
Valid keys: `+JSON.stringify(Object.keys(u),null," "));var W=pe(K,re,A,q,I+"."+re,r);if(W)return W}return null}return x(g)}function J(u){switch(typeof u){case"number":case"string":case"undefined":return!0;case"boolean":return!u;case"object":if(Array.isArray(u))return u.every(J);if(u===null||d(u))return!0;var g=m(u);if(g){var $=g.call(u),T;if(g!==u.entries){for(;!(T=$.next()).done;)if(!J(T.value))return!1}else for(;!(T=$.next()).done;){var A=T.value;if(A&&!J(A[1]))return!1}}else return!1;return!0;default:return!1}}function X(u,g){return u==="symbol"?!0:g?g["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&g instanceof Symbol:!1}function Y(u){var g=typeof u;return Array.isArray(u)?"array":u instanceof RegExp?"object":X(g,u)?"symbol":g}function te(u){if(typeof u>"u"||u===null)return""+u;var g=Y(u);if(g==="object"){if(u instanceof Date)return"date";if(u instanceof RegExp)return"regexp"}return g}function ce(u){var g=te(u);switch(g){case"array":case"object":return"an "+g;case"boolean":case"date":case"regexp":return"a "+g;default:return g}}function le(u){return!u.constructor||!u.constructor.name?f:u.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},er}var tr,ln;function Na(){if(ln)return tr;ln=1;var e=xr();function t(){}function r(){}return r.resetWarningCache=t,tr=function(){function n(c,d,l,i,h,m){if(m!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}n.isRequired=n;function o(){return n}var s={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return s.PropTypes=s,s},tr}var un;function Ca(){if(un)return Et.exports;if(un=1,process.env.NODE_ENV!=="production"){var e=Vn(),t=!0;Et.exports=ja()(e.isElement,t)}else Et.exports=Na()();return Et.exports}var Kn=Ca();const Se=Dt(Kn);Kn.oneOf(["primary","secondary","accent","danger","ghost","inverse--primary","inverse","danger--primary","tertiary","navigation"]);const Ta=["primary","secondary","tertiary","accent","danger--primary","danger","ghost","inverse--primary","inverse","navigation"],Sa=["info","success","warning","error"],Oa=({icon:e})=>{const{prefix:t}=R();return e?a.jsx("div",{className:`${t}--empty__icon`,children:e}):null},Ra=({title:e,children:t})=>{const{prefix:r}=R();return a.jsxs("div",{className:`${r}--empty__text`,children:[e&&a.jsx("h2",{children:e}),a.jsx("div",{children:t})]})},Xn=({button:e,children:t,className:r,components:n,icon:o,title:s,kind:c="large",...d})=>{const{prefix:l}=R(),i=C({[`${l}--empty`]:!0,[`${l}--empty--${c}`]:c},r),m={...{Icon:Oa,Text:Ra},...n},f=m.Icon,v=m.Text;return a.jsxs("div",{className:i,...d,children:[a.jsx(f,{icon:o}),a.jsx(v,{title:s,children:t}),a.jsx("div",{className:`${l}--empty__button`,children:e})]})};Xn.displayName="Empty";const Qn=({children:e,className:t,image:r,isExternal:n,isLink:o,metadata:s,more:c,subTitle:d,title:l,kind:i,url:h,...m})=>{const{prefix:f}=R(),v=i!=="related"?{backgroundImage:`url(${r})`}:{},w=C(`${f}--photo-card`,{[`${f}--photo-card--${i}`]:i,[`${f}--photo-card--no-background`]:!r,[`${f}--photo-card--link`]:o,[`${t}`]:t}),y=a.jsxs(F.Fragment,{children:[a.jsx("div",{className:`${f}--photo-card__background`,style:v}),r&&i==="related"&&a.jsx("img",{src:r}),a.jsxs("div",{className:`${f}--photo-card__info`,children:[a.jsxs("div",{children:[(i==="landscape"||i==="hero")&&a.jsx("div",{className:`${f}--photo-card__info__background`,style:v}),s&&a.jsx("p",{className:`${f}--photo-card__info__metadata`,children:s}),l&&(i==="hero"||i==="splash-compact")&&a.jsx("h2",{className:`${f}--photo-card__info__title`,children:l}),l&&i!=="hero"&&i!=="splash-compact"&&a.jsx("h3",{className:`${f}--photo-card__info__title`,children:l}),d&&a.jsx("p",{className:`${f}--photo-card__info__subtitle`,children:d})]}),i==="hero"||i==="splash-image"||i==="splash-compact"&&a.jsx("div",{className:`${f}--photo-card__info__more`,children:c})]}),e]});return o?a.jsx("a",{href:h,target:n?"_blank":"",className:w,...m,children:y}):a.jsx("div",{className:w,...m,children:y})};Qn.displayName="Hero";const ka=({title:e,subTitle:t,image:r,children:n,className:o})=>{const{prefix:s}=R(),c=C(`${s}--hero-ext`,{[`${o}`]:o});return a.jsx("div",{className:c,style:{backgroundImage:`linear-gradient(rgba(26, 66, 98, 0.8), rgba(26, 66, 98, 0.8)), url(${r})`,backgroundPosition:"center right"},children:a.jsxs(Be,{pageWidth:"md",children:[a.jsxs("div",{className:`${s}--hero-ext__content`,children:[e&&a.jsx("h1",{className:`${s}--hero-ext__heading`,children:e}),t&&a.jsx("p",{className:`${s}--hero-ext__body-copy`,children:t})]}),n]})})},Zn=({children:e,className:t,image:r,isExternal:n,isLink:o,metadata:s,subTitle:c,title:d,alt:l,kind:i,url:h,cardWidth:m,cardHeight:f,...v})=>{const{prefix:w}=R(),y=i=="overlay"?{backgroundImage:`url(${r})`}:{},x=m||"300px",j=f||"260px",O=C([`${w}--card-box`],{[`${w}--photo-cardnew--${i}`]:i,[`${w}--photo-cardnew--link`]:o,[`${t}`]:t}),S=a.jsxs(a.Fragment,{children:[i==="overlay"?a.jsx("div",{className:`${w}--photo-cardnew__background`,style:y}):null,r&&i==="simple-card"?a.jsx("img",{src:r,alt:l,className:`${w}--header-photo`}):null,a.jsx("div",{className:`${w}--photo-cardnew__info`,children:a.jsxs("div",{children:[i==="overlay"&&a.jsx("div",{className:`${w}--photo-cardnew__info__background`,style:y}),s&&a.jsx("p",{className:`${w}--photo-cardnew__info__metadata`,children:s}),d&&a.jsx("h3",{className:`${w}--photo-cardnew__info__title`,children:d}),c&&a.jsx("p",{className:`${w}--photo-cardnew__info__subtitle`,children:c})]})}),e]});return o?a.jsx("div",{className:O,style:{width:x,minHeight:j},children:a.jsx("a",{href:h,target:n?"_blank":"",style:{width:x,minHeight:j},...v,children:S})}):a.jsx("div",{className:O,...v,style:{width:x,minHeight:j},children:S})};Zn.displayName="Card";const Pa={info:"Info",error:"error",success:"Success",warning:"Warning",custom:"Custom"},br=({children:e,className:t,type:r="info",...n})=>{const{prefix:o}=R(),s=`${o}--tag--${r}`,c=C(`${o}--tag`,s,t);return a.jsx("span",{className:c,...n,children:e||Pa[r]})};br.displayName="Tag";const Jn=({label:e,labelStatus:t,interactive:r,image:n,heading:o,subHeading:s,caption:c,tag:d,children:l,className:i,...h})=>{const{prefix:m}=R(),f=z.useRef(null),v=14,w=1.5,[y,x]=z.useState(v*w*3),j=t?"success":"neutral",O=C(`${m}--card-ext`,{[`${m}--card-ext--interactive`]:r,[`${i}`]:i});return z.useEffect(()=>{f.current&&x(f.current.offsetHeight)},[f]),a.jsxs("div",{className:O,children:[e&&a.jsx("div",{className:`${m}--card-ext__label ${m}--card-ext__label--${j}`,children:e}),a.jsx("figure",{className:`${m}--card-ext__media`,children:a.jsx("img",{className:`${m}--card-ext__image`,src:n,alt:"Card picture"})}),a.jsxs("div",{className:`${m}--card-ext__info-wrapper ${m}--card-ext__info-wrapper--with-divider`,children:[a.jsxs("div",{className:`${m}--card-ext__primary-title`,children:[s&&a.jsx("p",{className:`${m}--card-ext__subheading`,children:s}),o&&a.jsx("p",{className:`${m}--card-ext__heading`,children:o})]}),a.jsx("div",{className:h.truncated?`${m}--card-ext__supportive-text ${m}--card-ext__supportive-text--truncated`:`${m}--card-ext__supportive-text`,ref:f,children:a.jsx("p",{style:{WebkitLineClamp:Math.floor(y/w/v)},children:c})}),d&&a.jsx("div",{className:`${m}--card-ext__tags`,children:a.jsx(br,{className:`${m}--card-ext__tag`,type:"custom",children:d})})]}),l]})};Jn.propTypes={label:Se.string,labelStatus:Se.bool,image:Se.string,heading:Se.string,subHeading:Se.string,caption:Se.string,tag:Se.string,children:Se.node,interactive:Se.bool,className:Se.string};const wr=F.forwardRef(({startDate:e,endDate:t,setStartDate:r,datePicker:n,datePickerProps:o={}},s)=>{const{prefix:c}=R(),d=n;return d?a.jsx("div",{className:`${c}--date-picker`,children:a.jsxs("div",{className:`${c}--date-picker__input`,children:[a.jsx(d,{selected:e,className:`${c}--input ${c}--date__input__start-date`,onChange:r,selectsStart:!0,startDate:e,endDate:t,wrapperClassName:`${c}--date-picker__wrapper`,...o,ref:s}),a.jsx(ur,{className:`${c}--date-picker__icon`})]})}):a.jsx("div",{children:"Add a datepicker component"})});wr.displayName="DatePickerInput";const es=F.forwardRef((e,t)=>{const{datePickerProps:r,hideLabel:n,helperText:o,required:s}=e,{prefix:c}=R(),d=C(`${c}--input`,`${c}--date-picker`,{[`${c}--date-picker--helpertext`]:o,[`${c}--date-picker--nolabel`]:n,[`${c}--date-picker--required`]:s}),l=e,{inputProps:i,wrapperProps:h}=Te({...l,inputClassName:d});return a.jsx(Ce,{...h,children:a.jsx(wr,{...i,ref:t,datePickerProps:r})})});es.displayName="DatePicker";const $r=F.forwardRef(({startDate:e,endDate:t,setStartDate:r,setEndDate:n,datePicker:o,fromProps:s={},toProps:c={}},d)=>{const{prefix:l}=R(),i=o;return i?a.jsxs("div",{className:`${l}--date-ranger-picker`,children:[a.jsxs("div",{className:`${l}--date-ranger-picker__input`,children:[a.jsx(i,{selected:e,className:`${l}--input ${l}--date-ranger__input__start-date`,onChange:r,selectsStart:!0,startDate:e,endDate:t,wrapperClassName:`${l}--date-picker__wrapper`,...s,ref:d}),a.jsx(ur,{className:`${l}--date-ranger-picker__icon`})]}),a.jsx(xo,{className:`${l}--date-ranger-picker__arrow`}),a.jsxs("div",{className:`${l}--date-ranger-picker__input`,children:[a.jsx(i,{selected:t,className:`${l}--input ${l}--date-ranger__input__start-date`,onChange:n,selectsEnd:!0,startDate:e,endDate:t,minDate:e,wrapperClassName:`${l}--date-picker__wrapper`,...c}),a.jsx(ur,{className:`${l}--date-ranger-picker__icon`})]})]}):a.jsx("div",{children:"Add a datepicker component"})});$r.displayName="DateRangePickerInput";const ts=F.forwardRef((e,t)=>{const{fromProps:r,toProps:n,hideLabel:o,helperText:s,required:c}=e,{prefix:d}=R(),l=C(`${d}--input`,`${d}--date-range-picker`,{[`${d}--date-range-picker--helpertext`]:s,[`${d}--date-range-picker--nolabel`]:o,[`${d}--date-range-picker--required`]:c}),i=e,{inputProps:h,wrapperProps:m}=Te({...i,inputClassName:l});return a.jsx(Ce,{...m,children:a.jsx($r,{...h,ref:t,fromProps:r,toProps:n})})});ts.displayName="DateRangePicker";const rs=F.forwardRef(({className:e,id:t,labelText:r,onChange:n=()=>{},indeterminate:o,invalid:s,invalidText:c,hideLabel:d,wrapperClassName:l,title:i="",...h},m)=>{const{prefix:f}=R(),v=C(`${f}--checkbox-label`,e),w=C(`${f}--checkbox-label-text`,{[`${f}--visually-hidden`]:d}),y=C(`${f}--form-item`,`${f}--checkbox-wrapper`,{[`${f}--checkbox-wrapper--invalid`]:s},l);return a.jsxs("div",{className:y,children:[a.jsx("input",{...h,"aria-invalid":s,"data-invalid":s,type:"checkbox",onChange:x=>{n(x,x.target.checked,t)},className:`${f}--checkbox`,id:t||h.name,ref:x=>{x&&o&&(x.indeterminate=o),typeof m=="function"?m(x):Object(m)===m&&m&&(m.current=x)}}),a.jsx("label",{htmlFor:t||h.name,className:v,title:i||void 0,children:a.jsx("span",{className:w,children:r})}),a.jsx(gr,{errorClasses:`${f}--form-requirement`,invalid:s,invalidText:c})]})});rs.displayName="Checkbox";const ns=({children:e,className:t,info:r,...n})=>{const{prefix:o}=R(),s=C(`${o}--credits`,t);return a.jsxs("div",{className:s,...n,children:[a.jsx("div",{className:`${o}--credits__info`,children:r}),e]})};ns.displayName="Credits";const Aa=({children:e,className:t,selectedIndex:r,small:n,onChange:o,...s})=>{const{prefix:c}=R(),[d,l]=z.useState(r),i=f=>z.Children.map(f,(v,w)=>z.cloneElement(v,{index:w,onClick:h,onKeyDown:h,selected:w===d})),h=f=>{const{index:v}=f;d!==v&&(l(v),o(f))},m=C(`${c}--content-switcher`,t,{[`${c}--content-switcher--sm`]:n});return a.jsx("div",{...s,className:m,children:i(e)})};var Nt={exports:{}},ge={};/**
|
|
82
|
+
*/var Xt,nn;function $a(){if(nn)return Xt;nn=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var c={},d=0;d<10;d++)c["_"+String.fromCharCode(d)]=d;var l=Object.getOwnPropertyNames(c).map(function(h){return c[h]});if(l.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(h){i[h]=h}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Xt=o()?Object.assign:function(s,c){for(var d,l=n(s),i,h=1;h<arguments.length;h++){d=Object(arguments[h]);for(var m in d)t.call(d,m)&&(l[m]=d[m]);if(e){i=e(d);for(var f=0;f<i.length;f++)r.call(d,i[f])&&(l[i[f]]=d[i[f]])}}return l},Xt}var Qt,sn;function xr(){if(sn)return Qt;sn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Qt=e,Qt}var Zt,on;function Gn(){return on||(on=1,Zt=Function.call.bind(Object.prototype.hasOwnProperty)),Zt}var Jt,an;function Ea(){if(an)return Jt;an=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xr(),r={},n=Gn();e=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function o(s,c,d,l,i){if(process.env.NODE_ENV!=="production"){for(var h in s)if(n(s,h)){var m;try{if(typeof s[h]!="function"){var f=Error((l||"React class")+": "+d+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}m=s[h](c,h,l,d,null,t)}catch(w){m=w}if(m&&!(m instanceof Error)&&e((l||"React class")+": type specification of "+d+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in r)){r[m.message]=!0;var v=i?i():"";e("Failed "+d+" type: "+m.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Jt=o,Jt}var er,cn;function ja(){if(cn)return er;cn=1;var e=Vn(),t=$a(),r=xr(),n=Gn(),o=Ea(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(d){var l="Warning: "+d;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function c(){return null}return er=function(d,l){var i=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function m(u){var g=u&&(i&&u[i]||u[h]);if(typeof g=="function")return g}var f="<<anonymous>>",v={array:j("array"),bigint:j("bigint"),bool:j("boolean"),func:j("function"),number:j("number"),object:j("object"),string:j("string"),symbol:j("symbol"),any:O(),arrayOf:S,element:E(),elementType:_(),instanceOf:N,node:U(),objectOf:D,oneOf:k,oneOfType:W,shape:L,exact:J};function w(u,g){return u===g?u!==0||1/u===1/g:u!==u&&g!==g}function y(u,g){this.message=u,this.data=g&&typeof g=="object"?g:{},this.stack=""}y.prototype=Error.prototype;function x(u){if(process.env.NODE_ENV!=="production")var g={},$=0;function T(H,I,K,B,te,ne,me){if(B=B||f,ne=ne||K,me!==r){if(l){var A=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw A.name="Invariant Violation",A}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var he=B+":"+K;!g[he]&&$<3&&(s("You are manually calling a React.PropTypes validation function for the `"+ne+"` prop on `"+B+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),g[he]=!0,$++)}}return I[K]==null?H?I[K]===null?new y("The "+te+" `"+ne+"` is marked as required "+("in `"+B+"`, but its value is `null`.")):new y("The "+te+" `"+ne+"` is marked as required in "+("`"+B+"`, but its value is `undefined`.")):null:u(I,K,B,te,ne)}var P=T.bind(null,!1);return P.isRequired=T.bind(null,!0),P}function j(u){function g($,T,P,H,I,K){var B=$[T],te=V(B);if(te!==u){var ne=ee(B);return new y("Invalid "+H+" `"+I+"` of type "+("`"+ne+"` supplied to `"+P+"`, expected ")+("`"+u+"`."),{expectedType:u})}return null}return x(g)}function O(){return x(c)}function S(u){function g($,T,P,H,I){if(typeof u!="function")return new y("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside arrayOf.");var K=$[T];if(!Array.isArray(K)){var B=V(K);return new y("Invalid "+H+" `"+I+"` of type "+("`"+B+"` supplied to `"+P+"`, expected an array."))}for(var te=0;te<K.length;te++){var ne=u(K,te,P,H,I+"["+te+"]",r);if(ne instanceof Error)return ne}return null}return x(g)}function E(){function u(g,$,T,P,H){var I=g[$];if(!d(I)){var K=V(I);return new y("Invalid "+P+" `"+H+"` of type "+("`"+K+"` supplied to `"+T+"`, expected a single ReactElement."))}return null}return x(u)}function _(){function u(g,$,T,P,H){var I=g[$];if(!e.isValidElementType(I)){var K=V(I);return new y("Invalid "+P+" `"+H+"` of type "+("`"+K+"` supplied to `"+T+"`, expected a single ReactElement type."))}return null}return x(u)}function N(u){function g($,T,P,H,I){if(!($[T]instanceof u)){var K=u.name||f,B=ce($[T]);return new y("Invalid "+H+" `"+I+"` of type "+("`"+B+"` supplied to `"+P+"`, expected ")+("instance of `"+K+"`."))}return null}return x(g)}function k(u){if(!Array.isArray(u))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),c;function g($,T,P,H,I){for(var K=$[T],B=0;B<u.length;B++)if(w(K,u[B]))return null;var te=JSON.stringify(u,function(me,A){var he=ee(A);return he==="symbol"?String(A):A});return new y("Invalid "+H+" `"+I+"` of value `"+String(K)+"` "+("supplied to `"+P+"`, expected one of "+te+"."))}return x(g)}function D(u){function g($,T,P,H,I){if(typeof u!="function")return new y("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside objectOf.");var K=$[T],B=V(K);if(B!=="object")return new y("Invalid "+H+" `"+I+"` of type "+("`"+B+"` supplied to `"+P+"`, expected an object."));for(var te in K)if(n(K,te)){var ne=u(K,te,P,H,I+"."+te,r);if(ne instanceof Error)return ne}return null}return x(g)}function W(u){if(!Array.isArray(u))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var g=0;g<u.length;g++){var $=u[g];if(typeof $!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+le($)+" at index "+g+"."),c}function T(P,H,I,K,B){for(var te=[],ne=0;ne<u.length;ne++){var me=u[ne],A=me(P,H,I,K,B,r);if(A==null)return null;A.data&&n(A.data,"expectedType")&&te.push(A.data.expectedType)}var he=te.length>0?", expected one of type ["+te.join(", ")+"]":"";return new y("Invalid "+K+" `"+B+"` supplied to "+("`"+I+"`"+he+"."))}return x(T)}function U(){function u(g,$,T,P,H){return X(g[$])?null:new y("Invalid "+P+" `"+H+"` supplied to "+("`"+T+"`, expected a ReactNode."))}return x(u)}function M(u,g,$,T,P){return new y((u||"React class")+": "+g+" type `"+$+"."+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+P+"`.")}function L(u){function g($,T,P,H,I){var K=$[T],B=V(K);if(B!=="object")return new y("Invalid "+H+" `"+I+"` of type `"+B+"` "+("supplied to `"+P+"`, expected `object`."));for(var te in u){var ne=u[te];if(typeof ne!="function")return M(P,H,I,te,ee(ne));var me=ne(K,te,P,H,I+"."+te,r);if(me)return me}return null}return x(g)}function J(u){function g($,T,P,H,I){var K=$[T],B=V(K);if(B!=="object")return new y("Invalid "+H+" `"+I+"` of type `"+B+"` "+("supplied to `"+P+"`, expected `object`."));var te=t({},$[T],u);for(var ne in te){var me=u[ne];if(n(u,ne)&&typeof me!="function")return M(P,H,I,ne,ee(me));if(!me)return new y("Invalid "+H+" `"+I+"` key `"+ne+"` supplied to `"+P+"`.\nBad object: "+JSON.stringify($[T],null," ")+`
|
|
83
|
+
Valid keys: `+JSON.stringify(Object.keys(u),null," "));var A=me(K,ne,P,H,I+"."+ne,r);if(A)return A}return null}return x(g)}function X(u){switch(typeof u){case"number":case"string":case"undefined":return!0;case"boolean":return!u;case"object":if(Array.isArray(u))return u.every(X);if(u===null||d(u))return!0;var g=m(u);if(g){var $=g.call(u),T;if(g!==u.entries){for(;!(T=$.next()).done;)if(!X(T.value))return!1}else for(;!(T=$.next()).done;){var P=T.value;if(P&&!X(P[1]))return!1}}else return!1;return!0;default:return!1}}function G(u,g){return u==="symbol"?!0:g?g["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&g instanceof Symbol:!1}function V(u){var g=typeof u;return Array.isArray(u)?"array":u instanceof RegExp?"object":G(g,u)?"symbol":g}function ee(u){if(typeof u>"u"||u===null)return""+u;var g=V(u);if(g==="object"){if(u instanceof Date)return"date";if(u instanceof RegExp)return"regexp"}return g}function le(u){var g=ee(u);switch(g){case"array":case"object":return"an "+g;case"boolean":case"date":case"regexp":return"a "+g;default:return g}}function ce(u){return!u.constructor||!u.constructor.name?f:u.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},er}var tr,ln;function Na(){if(ln)return tr;ln=1;var e=xr();function t(){}function r(){}return r.resetWarningCache=t,tr=function(){function n(c,d,l,i,h,m){if(m!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}n.isRequired=n;function o(){return n}var s={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return s.PropTypes=s,s},tr}var un;function Ca(){if(un)return Et.exports;if(un=1,process.env.NODE_ENV!=="production"){var e=Vn(),t=!0;Et.exports=ja()(e.isElement,t)}else Et.exports=Na()();return Et.exports}var Kn=Ca();const Oe=Dt(Kn);Kn.oneOf(["primary","secondary","accent","danger","ghost","inverse--primary","inverse","danger--primary","tertiary","navigation"]);const Ta=["primary","secondary","tertiary","accent","danger--primary","danger","ghost","inverse--primary","inverse","navigation"],Sa=["info","success","warning","error"],Oa=({icon:e})=>{const{prefix:t}=R();return e?a.jsx("div",{className:`${t}--empty__icon`,children:e}):null},Ra=({title:e,children:t})=>{const{prefix:r}=R();return a.jsxs("div",{className:`${r}--empty__text`,children:[e&&a.jsx("h2",{children:e}),a.jsx("div",{children:t})]})},Xn=({button:e,children:t,className:r,components:n,icon:o,title:s,kind:c="large",...d})=>{const{prefix:l}=R(),i=C({[`${l}--empty`]:!0,[`${l}--empty--${c}`]:c},r),m={...{Icon:Oa,Text:Ra},...n},f=m.Icon,v=m.Text;return a.jsxs("div",{className:i,...d,children:[a.jsx(f,{icon:o}),a.jsx(v,{title:s,children:t}),a.jsx("div",{className:`${l}--empty__button`,children:e})]})};Xn.displayName="Empty";const Qn=({children:e,className:t,image:r,isExternal:n,isLink:o,metadata:s,more:c,subTitle:d,title:l,kind:i,url:h,...m})=>{const{prefix:f}=R(),v=i!=="related"?{backgroundImage:`url(${r})`}:{},w=C(`${f}--photo-card`,{[`${f}--photo-card--${i}`]:i,[`${f}--photo-card--no-background`]:!r,[`${f}--photo-card--link`]:o,[`${t}`]:t}),y=a.jsxs(F.Fragment,{children:[a.jsx("div",{className:`${f}--photo-card__background`,style:v}),r&&i==="related"&&a.jsx("img",{src:r}),a.jsxs("div",{className:`${f}--photo-card__info`,children:[a.jsxs("div",{children:[(i==="landscape"||i==="hero")&&a.jsx("div",{className:`${f}--photo-card__info__background`,style:v}),s&&a.jsx("p",{className:`${f}--photo-card__info__metadata`,children:s}),l&&(i==="hero"||i==="splash-compact")&&a.jsx("h2",{className:`${f}--photo-card__info__title`,children:l}),l&&i!=="hero"&&i!=="splash-compact"&&a.jsx("h3",{className:`${f}--photo-card__info__title`,children:l}),d&&a.jsx("p",{className:`${f}--photo-card__info__subtitle`,children:d})]}),i==="hero"||i==="splash-image"||i==="splash-compact"&&a.jsx("div",{className:`${f}--photo-card__info__more`,children:c})]}),e]});return o?a.jsx("a",{href:h,target:n?"_blank":"",className:w,...m,children:y}):a.jsx("div",{className:w,...m,children:y})};Qn.displayName="Hero";const ka=({title:e,subTitle:t,image:r,children:n,className:o})=>{const{prefix:s}=R(),c=C(`${s}--hero-ext`,{[`${o}`]:o});return a.jsx("div",{className:c,style:{backgroundImage:`linear-gradient(rgba(26, 66, 98, 0.8), rgba(26, 66, 98, 0.8)), url(${r})`,backgroundPosition:"center right"},children:a.jsxs(Be,{pageWidth:"md",children:[a.jsxs("div",{className:`${s}--hero-ext__content`,children:[e&&a.jsx("h1",{className:`${s}--hero-ext__heading`,children:e}),t&&a.jsx("p",{className:`${s}--hero-ext__body-copy`,children:t})]}),n]})})},Zn=({children:e,className:t,image:r,isExternal:n,isLink:o,metadata:s,subTitle:c,title:d,alt:l,kind:i,url:h,cardWidth:m,cardHeight:f,...v})=>{const{prefix:w}=R(),y=i=="overlay"?{backgroundImage:`url(${r})`}:{},x=m||"300px",j=f||"260px",O=C([`${w}--card-box`],{[`${w}--photo-cardnew--${i}`]:i,[`${w}--photo-cardnew--link`]:o,[`${t}`]:t}),S=a.jsxs(a.Fragment,{children:[i==="overlay"?a.jsx("div",{className:`${w}--photo-cardnew__background`,style:y}):null,r&&i==="simple-card"?a.jsx("img",{src:r,alt:l,className:`${w}--header-photo`}):null,a.jsx("div",{className:`${w}--photo-cardnew__info`,children:a.jsxs("div",{children:[i==="overlay"&&a.jsx("div",{className:`${w}--photo-cardnew__info__background`,style:y}),s&&a.jsx("p",{className:`${w}--photo-cardnew__info__metadata`,children:s}),d&&a.jsx("h3",{className:`${w}--photo-cardnew__info__title`,children:d}),c&&a.jsx("p",{className:`${w}--photo-cardnew__info__subtitle`,children:c})]})}),e]});return o?a.jsx("div",{className:O,style:{width:x,minHeight:j},children:a.jsx("a",{href:h,target:n?"_blank":"",style:{width:x,minHeight:j},...v,children:S})}):a.jsx("div",{className:O,...v,style:{width:x,minHeight:j},children:S})};Zn.displayName="Card";const Pa={info:"Info",error:"error",success:"Success",warning:"Warning",custom:"Custom"},br=({children:e,className:t,type:r="info",...n})=>{const{prefix:o}=R(),s=`${o}--tag--${r}`,c=C(`${o}--tag`,s,t);return a.jsx("span",{className:c,...n,children:e||Pa[r]})};br.displayName="Tag";const Jn=({label:e,labelStatus:t,interactive:r,image:n,heading:o,subHeading:s,caption:c,tag:d,children:l,className:i,...h})=>{const{prefix:m}=R(),f=z.useRef(null),v=14,w=1.5,[y,x]=z.useState(v*w*3),j=t?"success":"neutral",O=C(`${m}--card-ext`,{[`${m}--card-ext--interactive`]:r,[`${i}`]:i});return z.useEffect(()=>{f.current&&x(f.current.offsetHeight)},[f]),a.jsxs("div",{className:O,children:[e&&a.jsx("div",{className:`${m}--card-ext__label ${m}--card-ext__label--${j}`,children:e}),a.jsx("figure",{className:`${m}--card-ext__media`,children:a.jsx("img",{className:`${m}--card-ext__image`,src:n,alt:"Card picture"})}),a.jsxs("div",{className:`${m}--card-ext__info-wrapper ${m}--card-ext__info-wrapper--with-divider`,children:[a.jsxs("div",{className:`${m}--card-ext__primary-title`,children:[s&&a.jsx("p",{className:`${m}--card-ext__subheading`,children:s}),o&&a.jsx("p",{className:`${m}--card-ext__heading`,children:o})]}),a.jsx("div",{className:h.truncated?`${m}--card-ext__supportive-text ${m}--card-ext__supportive-text--truncated`:`${m}--card-ext__supportive-text`,ref:f,children:a.jsx("p",{style:{WebkitLineClamp:Math.floor(y/w/v)},children:c})}),d&&a.jsx("div",{className:`${m}--card-ext__tags`,children:a.jsx(br,{className:`${m}--card-ext__tag`,type:"custom",children:d})})]}),l]})};Jn.propTypes={label:Oe.string,labelStatus:Oe.bool,image:Oe.string,heading:Oe.string,subHeading:Oe.string,caption:Oe.string,tag:Oe.string,children:Oe.node,interactive:Oe.bool,className:Oe.string};const wr=F.forwardRef(({startDate:e,endDate:t,setStartDate:r,datePicker:n,datePickerProps:o={}},s)=>{const{prefix:c}=R(),d=n;return d?a.jsx("div",{className:`${c}--date-picker`,children:a.jsxs("div",{className:`${c}--date-picker__input`,children:[a.jsx(d,{selected:e,className:`${c}--input ${c}--date__input__start-date`,onChange:r,selectsStart:!0,startDate:e,endDate:t,wrapperClassName:`${c}--date-picker__wrapper`,...o,ref:s}),a.jsx(ur,{className:`${c}--date-picker__icon`})]})}):a.jsx("div",{children:"Add a datepicker component"})});wr.displayName="DatePickerInput";const es=F.forwardRef((e,t)=>{const{datePickerProps:r,hideLabel:n,helperText:o,required:s}=e,{prefix:c}=R(),d=C(`${c}--input`,`${c}--date-picker`,{[`${c}--date-picker--helpertext`]:o,[`${c}--date-picker--nolabel`]:n,[`${c}--date-picker--required`]:s}),l=e,{inputProps:i,wrapperProps:h}=Se({...l,inputClassName:d});return a.jsx(Te,{...h,children:a.jsx(wr,{...i,ref:t,datePickerProps:r})})});es.displayName="DatePicker";const $r=F.forwardRef(({startDate:e,endDate:t,setStartDate:r,setEndDate:n,datePicker:o,fromProps:s={},toProps:c={}},d)=>{const{prefix:l}=R(),i=o;return i?a.jsxs("div",{className:`${l}--date-ranger-picker`,children:[a.jsxs("div",{className:`${l}--date-ranger-picker__input`,children:[a.jsx(i,{selected:e,className:`${l}--input ${l}--date-ranger__input__start-date`,onChange:r,selectsStart:!0,startDate:e,endDate:t,wrapperClassName:`${l}--date-picker__wrapper`,...s,ref:d}),a.jsx(ur,{className:`${l}--date-ranger-picker__icon`})]}),a.jsx(xo,{className:`${l}--date-ranger-picker__arrow`}),a.jsxs("div",{className:`${l}--date-ranger-picker__input`,children:[a.jsx(i,{selected:t,className:`${l}--input ${l}--date-ranger__input__start-date`,onChange:n,selectsEnd:!0,startDate:e,endDate:t,minDate:e,wrapperClassName:`${l}--date-picker__wrapper`,...c}),a.jsx(ur,{className:`${l}--date-ranger-picker__icon`})]})]}):a.jsx("div",{children:"Add a datepicker component"})});$r.displayName="DateRangePickerInput";const ts=F.forwardRef((e,t)=>{const{fromProps:r,toProps:n,hideLabel:o,helperText:s,required:c}=e,{prefix:d}=R(),l=C(`${d}--input`,`${d}--date-range-picker`,{[`${d}--date-range-picker--helpertext`]:s,[`${d}--date-range-picker--nolabel`]:o,[`${d}--date-range-picker--required`]:c}),i=e,{inputProps:h,wrapperProps:m}=Se({...i,inputClassName:l});return a.jsx(Te,{...m,children:a.jsx($r,{...h,ref:t,fromProps:r,toProps:n})})});ts.displayName="DateRangePicker";const rs=F.forwardRef(({className:e,id:t,labelText:r,onChange:n=()=>{},indeterminate:o,invalid:s,invalidText:c,hideLabel:d,wrapperClassName:l,title:i="",...h},m)=>{const{prefix:f}=R(),v=C(`${f}--checkbox-label`,e),w=C(`${f}--checkbox-label-text`,{[`${f}--visually-hidden`]:d}),y=C(`${f}--form-item`,`${f}--checkbox-wrapper`,{[`${f}--checkbox-wrapper--invalid`]:s},l);return a.jsxs("div",{className:y,children:[a.jsx("input",{...h,"aria-invalid":s,"data-invalid":s,type:"checkbox",onChange:x=>{n(x,x.target.checked,t)},className:`${f}--checkbox`,id:t||h.name,ref:x=>{x&&o&&(x.indeterminate=o),typeof m=="function"?m(x):Object(m)===m&&m&&(m.current=x)}}),a.jsx("label",{htmlFor:t||h.name,className:v,title:i||void 0,children:a.jsx("span",{className:w,children:r})}),a.jsx(gr,{errorClasses:`${f}--form-requirement`,invalid:s,invalidText:c})]})});rs.displayName="Checkbox";const ns=({children:e,className:t,info:r,...n})=>{const{prefix:o}=R(),s=C(`${o}--credits`,t);return a.jsxs("div",{className:s,...n,children:[a.jsx("div",{className:`${o}--credits__info`,children:r}),e]})};ns.displayName="Credits";const Aa=({children:e,className:t,selectedIndex:r,small:n,onChange:o,...s})=>{const{prefix:c}=R(),[d,l]=z.useState(r),i=f=>z.Children.map(f,(v,w)=>z.cloneElement(v,{index:w,onClick:h,onKeyDown:h,selected:w===d})),h=f=>{const{index:v}=f;d!==v&&(l(v),o(f))},m=C(`${c}--content-switcher`,t,{[`${c}--content-switcher--sm`]:n});return a.jsx("div",{...s,className:m,children:i(e)})};var Nt={exports:{}},ge={};/**
|
|
84
84
|
* @license React
|
|
85
85
|
* react-dom.production.js
|
|
86
86
|
*
|
|
@@ -100,5 +100,5 @@ Valid keys: `+JSON.stringify(Object.keys(u),null," "));var W=pe(K,re,A,q,I+"."+
|
|
|
100
100
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
101
101
|
2. You might be breaking the Rules of Hooks
|
|
102
102
|
3. You might have more than one copy of React in the same app
|
|
103
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),m}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var d=z,l={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},i=Symbol.for("react.portal"),h=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ye.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,ye.createPortal=function(m,f){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error("Target container is not a DOM element.");return r(m,f,null,v)},ye.flushSync=function(m){var f=h.T,v=l.p;try{if(h.T=null,l.p=2,m)return m()}finally{h.T=f,l.p=v,l.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},ye.preconnect=function(m,f){typeof m=="string"&&m?f!=null&&typeof f!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",s(f)):f!=null&&typeof f.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(f.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(m)),typeof m=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,l.d.C(m,f))},ye.prefetchDNS=function(m){if(typeof m!="string"||!m)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(m));else if(1<arguments.length){var f=arguments[1];typeof f=="object"&&f.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(f)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(f))}typeof m=="string"&&l.d.D(m)},ye.preinit=function(m,f){if(typeof m=="string"&&m?f==null||typeof f!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",s(f)):f.as!=="style"&&f.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',s(f.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(m)),typeof m=="string"&&f&&typeof f.as=="string"){var v=f.as,w=n(v,f.crossOrigin),y=typeof f.integrity=="string"?f.integrity:void 0,x=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;v==="style"?l.d.S(m,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:w,integrity:y,fetchPriority:x}):v==="script"&&l.d.X(m,{crossOrigin:w,integrity:y,fetchPriority:x,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},ye.preinitModule=function(m,f){var v="";if(typeof m=="string"&&m||(v+=" The `href` argument encountered was "+o(m)+"."),f!==void 0&&typeof f!="object"?v+=" The `options` argument encountered was "+o(f)+".":f&&"as"in f&&f.as!=="script"&&(v+=" The `as` option encountered was "+s(f.as)+"."),v)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",v);else switch(v=f&&typeof f.as=="string"?f.as:"script",v){case"script":break;default:v=s(v),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',v,m)}typeof m=="string"&&(typeof f=="object"&&f!==null?(f.as==null||f.as==="script")&&(v=n(f.as,f.crossOrigin),l.d.M(m,{crossOrigin:v,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})):f==null&&l.d.M(m))},ye.preload=function(m,f){var v="";if(typeof m=="string"&&m||(v+=" The `href` argument encountered was "+o(m)+"."),f==null||typeof f!="object"?v+=" The `options` argument encountered was "+o(f)+".":typeof f.as=="string"&&f.as||(v+=" The `as` option encountered was "+o(f.as)+"."),v&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',v),typeof m=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){v=f.as;var w=n(v,f.crossOrigin);l.d.L(m,v,{crossOrigin:w,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},ye.preloadModule=function(m,f){var v="";typeof m=="string"&&m||(v+=" The `href` argument encountered was "+o(m)+"."),f!==void 0&&typeof f!="object"?v+=" The `options` argument encountered was "+o(f)+".":f&&"as"in f&&typeof f.as!="string"&&(v+=" The `as` option encountered was "+o(f.as)+"."),v&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',v),typeof m=="string"&&(f?(v=n(f.as,f.crossOrigin),l.d.m(m,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:v,integrity:typeof f.integrity=="string"?f.integrity:void 0})):l.d.m(m))},ye.requestFormReset=function(m){l.d.r(m)},ye.unstable_batchedUpdates=function(m,f){return m(f)},ye.useFormState=function(m,f,v){return c().useFormState(m,f,v)},ye.useFormStatus=function(){return c().useHostTransitionStatus()},ye.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),ye}var pn;function Ia(){if(pn)return Nt.exports;pn=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),Nt.exports=Da()):Nt.exports=Ma(),Nt.exports}var ss=Ia();const os=Dt(ss);function La(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,s;for(s=0;s<n.length;s++)o=n[s],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},De.apply(this,arguments)}var mn=function(t){return t.reduce(function(r,n){var o=n[0],s=n[1];return r[o]=s,r},{})},hn=typeof window<"u"&&window.document&&window.document.createElement?F.useLayoutEffect:F.useEffect,xe="top",je="bottom",Ne="right",be="left",Er="auto",mt=[xe,je,Ne,be],Xe="start",dt="end",Ba="clippingParents",as="viewport",at="popper",qa="reference",vn=mt.reduce(function(e,t){return e.concat([t+"-"+Xe,t+"-"+dt])},[]),is=[].concat(mt,[Er]).reduce(function(e,t){return e.concat([t,t+"-"+Xe,t+"-"+dt])},[]),Fa="beforeRead",Ha="read",Wa="afterRead",za="beforeMain",Ua="main",Ya="afterMain",Va="beforeWrite",Ga="write",Ka="afterWrite",Xa=[Fa,Ha,Wa,za,Ua,Ya,Va,Ga,Ka];function Re(e){return e?(e.nodeName||"").toLowerCase():null}function we(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ze(e){var t=we(e).Element;return e instanceof t||e instanceof Element}function Ee(e){var t=we(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function jr(e){if(typeof ShadowRoot>"u")return!1;var t=we(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qa(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},s=t.elements[r];!Ee(s)||!Re(s)||(Object.assign(s.style,n),Object.keys(o).forEach(function(c){var d=o[c];d===!1?s.removeAttribute(c):s.setAttribute(c,d===!0?"":d)}))})}function Za(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],s=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),d=c.reduce(function(l,i){return l[i]="",l},{});!Ee(o)||!Re(o)||(Object.assign(o.style,d),Object.keys(s).forEach(function(l){o.removeAttribute(l)}))})}}const Ja={name:"applyStyles",enabled:!0,phase:"write",fn:Qa,effect:Za,requires:["computeStyles"]};function Oe(e){return e.split("-")[0]}var We=Math.max,kt=Math.min,Qe=Math.round;function dr(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function cs(){return!/^((?!chrome|android).)*safari/i.test(dr())}function Ze(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,s=1;t&&Ee(e)&&(o=e.offsetWidth>0&&Qe(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Qe(n.height)/e.offsetHeight||1);var c=ze(e)?we(e):window,d=c.visualViewport,l=!cs()&&r,i=(n.left+(l&&d?d.offsetLeft:0))/o,h=(n.top+(l&&d?d.offsetTop:0))/s,m=n.width/o,f=n.height/s;return{width:m,height:f,top:h,right:i+m,bottom:h+f,left:i,x:i,y:h}}function Nr(e){var t=Ze(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function ls(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&jr(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Me(e){return we(e).getComputedStyle(e)}function ei(e){return["table","td","th"].indexOf(Re(e))>=0}function Fe(e){return((ze(e)?e.ownerDocument:e.document)||window.document).documentElement}function Bt(e){return Re(e)==="html"?e:e.assignedSlot||e.parentNode||(jr(e)?e.host:null)||Fe(e)}function gn(e){return!Ee(e)||Me(e).position==="fixed"?null:e.offsetParent}function ti(e){var t=/firefox/i.test(dr()),r=/Trident/i.test(dr());if(r&&Ee(e)){var n=Me(e);if(n.position==="fixed")return null}var o=Bt(e);for(jr(o)&&(o=o.host);Ee(o)&&["html","body"].indexOf(Re(o))<0;){var s=Me(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function ht(e){for(var t=we(e),r=gn(e);r&&ei(r)&&Me(r).position==="static";)r=gn(r);return r&&(Re(r)==="html"||Re(r)==="body"&&Me(r).position==="static")?t:r||ti(e)||t}function Cr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lt(e,t,r){return We(e,kt(t,r))}function ri(e,t,r){var n=lt(e,t,r);return n>r?r:n}function us(){return{top:0,right:0,bottom:0,left:0}}function ds(e){return Object.assign({},us(),e)}function fs(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var ni=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ds(typeof t!="number"?t:fs(t,mt))};function si(e){var t,r=e.state,n=e.name,o=e.options,s=r.elements.arrow,c=r.modifiersData.popperOffsets,d=Oe(r.placement),l=Cr(d),i=[be,Ne].indexOf(d)>=0,h=i?"height":"width";if(!(!s||!c)){var m=ni(o.padding,r),f=Nr(s),v=l==="y"?xe:be,w=l==="y"?je:Ne,y=r.rects.reference[h]+r.rects.reference[l]-c[l]-r.rects.popper[h],x=c[l]-r.rects.reference[l],j=ht(s),O=j?l==="y"?j.clientHeight||0:j.clientWidth||0:0,S=y/2-x/2,E=m[v],_=O-f[h]-m[w],N=O/2-f[h]/2+S,k=lt(E,N,_),D=l;r.modifiersData[n]=(t={},t[D]=k,t.centerOffset=k-N,t)}}function oi(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||ls(t.elements.popper,o)&&(t.elements.arrow=o))}const ai={name:"arrow",enabled:!0,phase:"main",fn:si,effect:oi,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Je(e){return e.split("-")[1]}var ii={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ci(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Qe(r*o)/o||0,y:Qe(n*o)/o||0}}function yn(e){var t,r=e.popper,n=e.popperRect,o=e.placement,s=e.variation,c=e.offsets,d=e.position,l=e.gpuAcceleration,i=e.adaptive,h=e.roundOffsets,m=e.isFixed,f=c.x,v=f===void 0?0:f,w=c.y,y=w===void 0?0:w,x=typeof h=="function"?h({x:v,y}):{x:v,y};v=x.x,y=x.y;var j=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),S=be,E=xe,_=window;if(i){var N=ht(r),k="clientHeight",D="clientWidth";if(N===we(r)&&(N=Fe(r),Me(N).position!=="static"&&d==="absolute"&&(k="scrollHeight",D="scrollWidth")),N=N,o===xe||(o===be||o===Ne)&&s===dt){E=je;var M=m&&N===_&&_.visualViewport?_.visualViewport.height:N[k];y-=M-n.height,y*=l?1:-1}if(o===be||(o===xe||o===je)&&s===dt){S=Ne;var H=m&&N===_&&_.visualViewport?_.visualViewport.width:N[D];v-=H-n.width,v*=l?1:-1}}var P=Object.assign({position:d},i&&ii),V=h===!0?ci({x:v,y},we(r)):{x:v,y};if(v=V.x,y=V.y,l){var ee;return Object.assign({},P,(ee={},ee[E]=O?"0":"",ee[S]=j?"0":"",ee.transform=(_.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",ee))}return Object.assign({},P,(t={},t[E]=O?y+"px":"",t[S]=j?v+"px":"",t.transform="",t))}function li(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,s=r.adaptive,c=s===void 0?!0:s,d=r.roundOffsets,l=d===void 0?!0:d,i={placement:Oe(t.placement),variation:Je(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,yn(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,yn(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ui={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:li,data:{}};var Ct={passive:!0};function di(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,s=o===void 0?!0:o,c=n.resize,d=c===void 0?!0:c,l=we(t.elements.popper),i=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&i.forEach(function(h){h.addEventListener("scroll",r.update,Ct)}),d&&l.addEventListener("resize",r.update,Ct),function(){s&&i.forEach(function(h){h.removeEventListener("scroll",r.update,Ct)}),d&&l.removeEventListener("resize",r.update,Ct)}}const fi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:di,data:{}};var pi={left:"right",right:"left",bottom:"top",top:"bottom"};function Tt(e){return e.replace(/left|right|bottom|top/g,function(t){return pi[t]})}var mi={start:"end",end:"start"};function _n(e){return e.replace(/start|end/g,function(t){return mi[t]})}function Tr(e){var t=we(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Sr(e){return Ze(Fe(e)).left+Tr(e).scrollLeft}function hi(e,t){var r=we(e),n=Fe(e),o=r.visualViewport,s=n.clientWidth,c=n.clientHeight,d=0,l=0;if(o){s=o.width,c=o.height;var i=cs();(i||!i&&t==="fixed")&&(d=o.offsetLeft,l=o.offsetTop)}return{width:s,height:c,x:d+Sr(e),y:l}}function vi(e){var t,r=Fe(e),n=Tr(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=We(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=We(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-n.scrollLeft+Sr(e),l=-n.scrollTop;return Me(o||r).direction==="rtl"&&(d+=We(r.clientWidth,o?o.clientWidth:0)-s),{width:s,height:c,x:d,y:l}}function Or(e){var t=Me(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function ps(e){return["html","body","#document"].indexOf(Re(e))>=0?e.ownerDocument.body:Ee(e)&&Or(e)?e:ps(Bt(e))}function ut(e,t){var r;t===void 0&&(t=[]);var n=ps(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),s=we(n),c=o?[s].concat(s.visualViewport||[],Or(n)?n:[]):n,d=t.concat(c);return o?d:d.concat(ut(Bt(c)))}function fr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function gi(e,t){var r=Ze(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function xn(e,t,r){return t===as?fr(hi(e,r)):ze(t)?gi(t,r):fr(vi(Fe(e)))}function yi(e){var t=ut(Bt(e)),r=["absolute","fixed"].indexOf(Me(e).position)>=0,n=r&&Ee(e)?ht(e):e;return ze(n)?t.filter(function(o){return ze(o)&&ls(o,n)&&Re(o)!=="body"}):[]}function _i(e,t,r,n){var o=t==="clippingParents"?yi(e):[].concat(t),s=[].concat(o,[r]),c=s[0],d=s.reduce(function(l,i){var h=xn(e,i,n);return l.top=We(h.top,l.top),l.right=kt(h.right,l.right),l.bottom=kt(h.bottom,l.bottom),l.left=We(h.left,l.left),l},xn(e,c,n));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ms(e){var t=e.reference,r=e.element,n=e.placement,o=n?Oe(n):null,s=n?Je(n):null,c=t.x+t.width/2-r.width/2,d=t.y+t.height/2-r.height/2,l;switch(o){case xe:l={x:c,y:t.y-r.height};break;case je:l={x:c,y:t.y+t.height};break;case Ne:l={x:t.x+t.width,y:d};break;case be:l={x:t.x-r.width,y:d};break;default:l={x:t.x,y:t.y}}var i=o?Cr(o):null;if(i!=null){var h=i==="y"?"height":"width";switch(s){case Xe:l[i]=l[i]-(t[h]/2-r[h]/2);break;case dt:l[i]=l[i]+(t[h]/2-r[h]/2);break}}return l}function ft(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,s=r.strategy,c=s===void 0?e.strategy:s,d=r.boundary,l=d===void 0?Ba:d,i=r.rootBoundary,h=i===void 0?as:i,m=r.elementContext,f=m===void 0?at:m,v=r.altBoundary,w=v===void 0?!1:v,y=r.padding,x=y===void 0?0:y,j=ds(typeof x!="number"?x:fs(x,mt)),O=f===at?qa:at,S=e.rects.popper,E=e.elements[w?O:f],_=_i(ze(E)?E:E.contextElement||Fe(e.elements.popper),l,h,c),N=Ze(e.elements.reference),k=ms({reference:N,element:S,placement:o}),D=fr(Object.assign({},S,k)),M=f===at?D:N,H={top:_.top-M.top+j.top,bottom:M.bottom-_.bottom+j.bottom,left:_.left-M.left+j.left,right:M.right-_.right+j.right},P=e.modifiersData.offset;if(f===at&&P){var V=P[o];Object.keys(H).forEach(function(ee){var J=[Ne,je].indexOf(ee)>=0?1:-1,X=[xe,je].indexOf(ee)>=0?"y":"x";H[ee]+=V[X]*J})}return H}function xi(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,s=r.rootBoundary,c=r.padding,d=r.flipVariations,l=r.allowedAutoPlacements,i=l===void 0?is:l,h=Je(n),m=h?d?vn:vn.filter(function(w){return Je(w)===h}):mt,f=m.filter(function(w){return i.indexOf(w)>=0});f.length===0&&(f=m);var v=f.reduce(function(w,y){return w[y]=ft(e,{placement:y,boundary:o,rootBoundary:s,padding:c})[Oe(y)],w},{});return Object.keys(v).sort(function(w,y){return v[w]-v[y]})}function bi(e){if(Oe(e)===Er)return[];var t=Tt(e);return[_n(e),t,_n(t)]}function wi(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,s=o===void 0?!0:o,c=r.altAxis,d=c===void 0?!0:c,l=r.fallbackPlacements,i=r.padding,h=r.boundary,m=r.rootBoundary,f=r.altBoundary,v=r.flipVariations,w=v===void 0?!0:v,y=r.allowedAutoPlacements,x=t.options.placement,j=Oe(x),O=j===x,S=l||(O||!w?[Tt(x)]:bi(x)),E=[x].concat(S).reduce(function(A,q){return A.concat(Oe(q)===Er?xi(t,{placement:q,boundary:h,rootBoundary:m,padding:i,flipVariations:w,allowedAutoPlacements:y}):q)},[]),_=t.rects.reference,N=t.rects.popper,k=new Map,D=!0,M=E[0],H=0;H<E.length;H++){var P=E[H],V=Oe(P),ee=Je(P)===Xe,J=[xe,je].indexOf(V)>=0,X=J?"width":"height",Y=ft(t,{placement:P,boundary:h,rootBoundary:m,altBoundary:f,padding:i}),te=J?ee?Ne:be:ee?je:xe;_[X]>N[X]&&(te=Tt(te));var ce=Tt(te),le=[];if(s&&le.push(Y[V]<=0),d&&le.push(Y[te]<=0,Y[ce]<=0),le.every(function(A){return A})){M=P,D=!1;break}k.set(P,le)}if(D)for(var u=w?3:1,g=function(q){var I=E.find(function(K){var L=k.get(K);if(L)return L.slice(0,q).every(function(G){return G})});if(I)return M=I,"break"},$=u;$>0;$--){var T=g($);if(T==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}const $i={name:"flip",enabled:!0,phase:"main",fn:wi,requiresIfExists:["offset"],data:{_skip:!1}};function bn(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function wn(e){return[xe,Ne,je,be].some(function(t){return e[t]>=0})}function Ei(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,c=ft(t,{elementContext:"reference"}),d=ft(t,{altBoundary:!0}),l=bn(c,n),i=bn(d,o,s),h=wn(l),m=wn(i);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:i,isReferenceHidden:h,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":m})}const ji={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ei};function Ni(e,t,r){var n=Oe(e),o=[be,xe].indexOf(n)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=s[0],d=s[1];return c=c||0,d=(d||0)*o,[be,Ne].indexOf(n)>=0?{x:d,y:c}:{x:c,y:d}}function Ci(e){var t=e.state,r=e.options,n=e.name,o=r.offset,s=o===void 0?[0,0]:o,c=is.reduce(function(h,m){return h[m]=Ni(m,t.rects,s),h},{}),d=c[t.placement],l=d.x,i=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=i),t.modifiersData[n]=c}const Ti={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ci};function Si(e){var t=e.state,r=e.name;t.modifiersData[r]=ms({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Oi={name:"popperOffsets",enabled:!0,phase:"read",fn:Si,data:{}};function Ri(e){return e==="x"?"y":"x"}function ki(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,s=o===void 0?!0:o,c=r.altAxis,d=c===void 0?!1:c,l=r.boundary,i=r.rootBoundary,h=r.altBoundary,m=r.padding,f=r.tether,v=f===void 0?!0:f,w=r.tetherOffset,y=w===void 0?0:w,x=ft(t,{boundary:l,rootBoundary:i,padding:m,altBoundary:h}),j=Oe(t.placement),O=Je(t.placement),S=!O,E=Cr(j),_=Ri(E),N=t.modifiersData.popperOffsets,k=t.rects.reference,D=t.rects.popper,M=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,H=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(N){if(s){var ee,J=E==="y"?xe:be,X=E==="y"?je:Ne,Y=E==="y"?"height":"width",te=N[E],ce=te+x[J],le=te-x[X],u=v?-D[Y]/2:0,g=O===Xe?k[Y]:D[Y],$=O===Xe?-D[Y]:-k[Y],T=t.elements.arrow,A=v&&T?Nr(T):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:us(),I=q[J],K=q[X],L=lt(0,k[Y],A[Y]),G=S?k[Y]/2-u-L-I-H.mainAxis:g-L-I-H.mainAxis,re=S?-k[Y]/2+u+L+K+H.mainAxis:$+L+K+H.mainAxis,pe=t.elements.arrow&&ht(t.elements.arrow),W=pe?E==="y"?pe.clientTop||0:pe.clientLeft||0:0,ve=(ee=P?.[E])!=null?ee:0,Pe=te+G-ve-W,Ie=te+re-ve,_e=lt(v?kt(ce,Pe):ce,te,v?We(le,Ie):le);N[E]=_e,V[E]=_e-te}if(d){var He,vt=E==="x"?xe:be,zt=E==="x"?je:Ne,ne=N[_],Ae=_==="y"?"height":"width",et=ne+x[vt],tt=ne-x[zt],Ye=[xe,be].indexOf(j)!==-1,rt=(He=P?.[_])!=null?He:0,gt=Ye?et:ne-k[Ae]-D[Ae]-rt+H.altAxis,yt=Ye?ne+k[Ae]+D[Ae]-rt-H.altAxis:tt,nt=v&&Ye?ri(gt,ne,yt):lt(v?gt:et,ne,v?yt:tt);N[_]=nt,V[_]=nt-ne}t.modifiersData[n]=V}}const Pi={name:"preventOverflow",enabled:!0,phase:"main",fn:ki,requiresIfExists:["offset"]};function Ai(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Di(e){return e===we(e)||!Ee(e)?Tr(e):Ai(e)}function Mi(e){var t=e.getBoundingClientRect(),r=Qe(t.width)/e.offsetWidth||1,n=Qe(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ii(e,t,r){r===void 0&&(r=!1);var n=Ee(t),o=Ee(t)&&Mi(t),s=Fe(t),c=Ze(e,o,r),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Re(t)!=="body"||Or(s))&&(d=Di(t)),Ee(t)?(l=Ze(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Sr(s))),{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function Li(e){var t=new Map,r=new Set,n=[];e.forEach(function(s){t.set(s.name,s)});function o(s){r.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(d){if(!r.has(d)){var l=t.get(d);l&&o(l)}}),n.push(s)}return e.forEach(function(s){r.has(s.name)||o(s)}),n}function Bi(e){var t=Li(e);return Xa.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function qi(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Fi(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var $n={placement:"bottom",modifiers:[],strategy:"absolute"};function En(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Hi(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,s=o===void 0?$n:o;return function(d,l,i){i===void 0&&(i=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},$n,s),modifiersData:{},elements:{reference:d,popper:l},attributes:{},styles:{}},m=[],f=!1,v={state:h,setOptions:function(j){var O=typeof j=="function"?j(h.options):j;y(),h.options=Object.assign({},s,h.options,O),h.scrollParents={reference:ze(d)?ut(d):d.contextElement?ut(d.contextElement):[],popper:ut(l)};var S=Bi(Fi([].concat(n,h.options.modifiers)));return h.orderedModifiers=S.filter(function(E){return E.enabled}),w(),v.update()},forceUpdate:function(){if(!f){var j=h.elements,O=j.reference,S=j.popper;if(En(O,S)){h.rects={reference:Ii(O,ht(S),h.options.strategy==="fixed"),popper:Nr(S)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(H){return h.modifiersData[H.name]=Object.assign({},H.data)});for(var E=0;E<h.orderedModifiers.length;E++){if(h.reset===!0){h.reset=!1,E=-1;continue}var _=h.orderedModifiers[E],N=_.fn,k=_.options,D=k===void 0?{}:k,M=_.name;typeof N=="function"&&(h=N({state:h,options:D,name:M,instance:v})||h)}}}},update:qi(function(){return new Promise(function(x){v.forceUpdate(),x(h)})}),destroy:function(){y(),f=!0}};if(!En(d,l))return v;v.setOptions(i).then(function(x){!f&&i.onFirstUpdate&&i.onFirstUpdate(x)});function w(){h.orderedModifiers.forEach(function(x){var j=x.name,O=x.options,S=O===void 0?{}:O,E=x.effect;if(typeof E=="function"){var _=E({state:h,name:j,instance:v,options:S}),N=function(){};m.push(_||N)}})}function y(){m.forEach(function(x){return x()}),m=[]}return v}}var Wi=[fi,Oi,ui,Ja,Ti,$i,Pi,ai,ji],zi=Hi({defaultModifiers:Wi}),rr,jn;function Ui(){if(jn)return rr;jn=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function o(s,c){if(s===c)return!0;if(s&&c&&typeof s=="object"&&typeof c=="object"){if(s.constructor!==c.constructor)return!1;var d,l,i;if(Array.isArray(s)){if(d=s.length,d!=c.length)return!1;for(l=d;l--!==0;)if(!o(s[l],c[l]))return!1;return!0}var h;if(t&&s instanceof Map&&c instanceof Map){if(s.size!==c.size)return!1;for(h=s.entries();!(l=h.next()).done;)if(!c.has(l.value[0]))return!1;for(h=s.entries();!(l=h.next()).done;)if(!o(l.value[1],c.get(l.value[0])))return!1;return!0}if(r&&s instanceof Set&&c instanceof Set){if(s.size!==c.size)return!1;for(h=s.entries();!(l=h.next()).done;)if(!c.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(c)){if(d=s.length,d!=c.length)return!1;for(l=d;l--!==0;)if(s[l]!==c[l])return!1;return!0}if(s.constructor===RegExp)return s.source===c.source&&s.flags===c.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof c.valueOf=="function")return s.valueOf()===c.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof c.toString=="function")return s.toString()===c.toString();if(i=Object.keys(s),d=i.length,d!==Object.keys(c).length)return!1;for(l=d;l--!==0;)if(!Object.prototype.hasOwnProperty.call(c,i[l]))return!1;if(e&&s instanceof Element)return!1;for(l=d;l--!==0;)if(!((i[l]==="_owner"||i[l]==="__v"||i[l]==="__o")&&s.$$typeof)&&!o(s[i[l]],c[i[l]]))return!1;return!0}return s!==s&&c!==c}return rr=function(c,d){try{return o(c,d)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},rr}var Yi=Ui();const Vi=Dt(Yi);var Gi=[],Ki=function(t,r,n){n===void 0&&(n={});var o=F.useRef(null),s={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Gi},c=F.useState({styles:{popper:{position:s.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),d=c[0],l=c[1],i=F.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(v){var w=v.state,y=Object.keys(w.elements);ss.flushSync(function(){l({styles:mn(y.map(function(x){return[x,w.styles[x]||{}]})),attributes:mn(y.map(function(x){return[x,w.attributes[x]]}))})})},requires:["computeStyles"]}},[]),h=F.useMemo(function(){var f={onFirstUpdate:s.onFirstUpdate,placement:s.placement,strategy:s.strategy,modifiers:[].concat(s.modifiers,[i,{name:"applyStyles",enabled:!1}])};return Vi(o.current,f)?o.current||f:(o.current=f,f)},[s.onFirstUpdate,s.placement,s.strategy,s.modifiers,i]),m=F.useRef();return hn(function(){m.current&&m.current.setOptions(h)},[h]),hn(function(){if(!(t==null||r==null)){var f=n.createPopper||zi,v=f(t,r,h);return m.current=v,function(){v.destroy(),m.current=null}}},[t,r,n.createPopper]),{state:m.current?m.current.state:null,styles:d.styles,attributes:d.attributes,update:m.current?m.current.update:null,forceUpdate:m.current?m.current.forceUpdate:null}};function hs(e){var t=F.useRef(e);return t.current=e,F.useCallback(function(){return t.current},[])}var Xi=function(){};function Qi(e){var t=e.initial,r=e.value,n=e.onChange,o=n===void 0?Xi:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var s=F.useState(t),c=s[0],d=s[1],l=hs(c),i=F.useCallback(function(m){var f=l(),v=typeof m=="function"?m(f):m;typeof v.persist=="function"&&v.persist(),d(v),typeof o=="function"&&o(v)},[l,o]),h=r!==void 0;return[h?r:c,h?o:i]}function vs(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:function(){return null}}}}var Zi=["styles","attributes"],Nn={getBoundingClientRect:vs()},Cn={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function Ji(e,t){var r,n,o;e===void 0&&(e={}),t===void 0&&(t={});var s=Object.keys(Cn).reduce(function(X,Y){var te;return De({},X,(te={},te[Y]=X[Y]!==void 0?X[Y]:Cn[Y],te))},e),c=F.useMemo(function(){return[{name:"offset",options:{offset:s.offset}}]},Array.isArray(s.offset)?s.offset:[]),d=De({},t,{placement:t.placement||s.placement,modifiers:t.modifiers||c}),l=F.useState(null),i=l[0],h=l[1],m=F.useState(null),f=m[0],v=m[1],w=Qi({initial:s.defaultVisible,value:s.visible,onChange:s.onVisibleChange}),y=w[0],x=w[1],j=F.useRef();F.useEffect(function(){return function(){return clearTimeout(j.current)}},[]);var O=Ki(s.followCursor?Nn:i,f,d),S=O.styles,E=O.attributes,_=La(O,Zi),N=_.update,k=hs({visible:y,triggerRef:i,tooltipRef:f,finalConfig:s}),D=F.useCallback(function(X){return Array.isArray(s.trigger)?s.trigger.includes(X):s.trigger===X},Array.isArray(s.trigger)?s.trigger:[s.trigger]),M=F.useCallback(function(){clearTimeout(j.current),j.current=window.setTimeout(function(){return x(!1)},s.delayHide)},[s.delayHide,x]),H=F.useCallback(function(){clearTimeout(j.current),j.current=window.setTimeout(function(){return x(!0)},s.delayShow)},[s.delayShow,x]),P=F.useCallback(function(){k().visible?M():H()},[k,M,H]);F.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var X=function(te){var ce,le=k(),u=le.tooltipRef,g=le.triggerRef,$=(te.composedPath==null||(ce=te.composedPath())==null?void 0:ce[0])||te.target;$ instanceof Node&&u!=null&&g!=null&&!u.contains($)&&!g.contains($)&&M()};return document.addEventListener("mousedown",X),function(){return document.removeEventListener("mousedown",X)}}},[k,M]),F.useEffect(function(){if(!(i==null||!D("click")))return i.addEventListener("click",P),function(){return i.removeEventListener("click",P)}},[i,D,P]),F.useEffect(function(){if(!(i==null||!D("double-click")))return i.addEventListener("dblclick",P),function(){return i.removeEventListener("dblclick",P)}},[i,D,P]),F.useEffect(function(){if(!(i==null||!D("right-click"))){var X=function(te){te.preventDefault(),P()};return i.addEventListener("contextmenu",X),function(){return i.removeEventListener("contextmenu",X)}}},[i,D,P]),F.useEffect(function(){if(!(i==null||!D("focus")))return i.addEventListener("focus",H),i.addEventListener("blur",M),function(){i.removeEventListener("focus",H),i.removeEventListener("blur",M)}},[i,D,H,M]),F.useEffect(function(){if(!(i==null||!D("hover")))return i.addEventListener("mouseenter",H),i.addEventListener("mouseleave",M),function(){i.removeEventListener("mouseenter",H),i.removeEventListener("mouseleave",M)}},[i,D,H,M]),F.useEffect(function(){if(!(f==null||!D("hover")||!k().finalConfig.interactive))return f.addEventListener("mouseenter",H),f.addEventListener("mouseleave",M),function(){f.removeEventListener("mouseenter",H),f.removeEventListener("mouseleave",M)}},[f,D,H,M,k]);var V=_==null||(r=_.state)==null||(n=r.modifiersData)==null||(o=n.hide)==null?void 0:o.isReferenceHidden;F.useEffect(function(){s.closeOnTriggerHidden&&V&&M()},[s.closeOnTriggerHidden,M,V]),F.useEffect(function(){if(!s.followCursor||i==null)return;function X(Y){var te=Y.clientX,ce=Y.clientY;Nn.getBoundingClientRect=vs(te,ce),N?.()}return i.addEventListener("mousemove",X),function(){return i.removeEventListener("mousemove",X)}},[s.followCursor,i,N]),F.useEffect(function(){if(!(f==null||N==null||s.mutationObserverOptions==null)){var X=new MutationObserver(N);return X.observe(f,s.mutationObserverOptions),function(){return X.disconnect()}}},[s.mutationObserverOptions,f,N]);var ee=function(Y){return Y===void 0&&(Y={}),De({},Y,{style:De({},Y.style,S.popper)},E.popper,{"data-popper-interactive":s.interactive})},J=function(Y){return Y===void 0&&(Y={}),De({},Y,E.arrow,{style:De({},Y.style,S.arrow),"data-popper-arrow":!0})};return De({getArrowProps:J,getTooltipProps:ee,setTooltipRef:v,setTriggerRef:h,tooltipRef:f,triggerRef:i,visible:y},_)}const ec={duration:100,animation:"fade",theme:"light",arrow:!0},tc={duration:100,animation:"fade",theme:"dark",arrow:!0},Rr=({className:e,dark:t,noPadding:r,children:n,content:o,trigger:s="hover",placement:c="top",createRefWrapper:d,closeOnOutsideClick:l,closeOnTriggerHidden:i,defaultVisible:h,delayHide:m,delayShow:f,followCursor:v,interactive:w,mutationObserverOptions:y,offset:x,onVisibleChange:j,usePortal:O})=>{const{prefix:S}=R(),[E,_]=F.useState(!1),N=C(e,{[`${S}--tooltip`]:!0,[`${S}--tooltip--disable-padding`]:r,[`${S}--tooltip--visible`]:E,[`${S}--tooltip--${s}`]:s,[`${S}--tooltip--dark`]:t}),{getArrowProps:k,getTooltipProps:D,setTooltipRef:M,setTriggerRef:H,visible:P}=Ji({closeOnOutsideClick:l,closeOnTriggerHidden:i,defaultVisible:h,delayHide:m,delayShow:f,followCursor:v,interactive:w,mutationObserverOptions:y,offset:x,onVisibleChange:j,placement:c,trigger:s}),V=C({[`${S}--tooltip--trigger`]:!0}),ee=C(e,{[`${S}--tooltip--trigger`]:!0}),J=!d&&typeof n!="string"?F.cloneElement(n,{ref:H,className:V}):a.jsx("span",{ref:H,className:ee,children:n}),X=te=>{_(te),j&&j(te)},Y=a.jsxs("div",{ref:M,...D({className:N}),children:[typeof o=="function"?o({setVisibility:_,visibilityChange:X}):o,a.jsx("div",{...k({className:`${S}--tooltip__arrow`})})]});return a.jsxs(a.Fragment,{children:[J,P&&O&&a.jsx(rc,{children:Y}),P&&!O&&Y]})};function rc({children:e}){return os.createPortal(e,document.body)}const nc=({children:e,className:t,content:r})=>{const{prefix:n}=R(),o=C({[`${n}--context-menu`]:!0},t);return a.jsx(Rr,{className:o,content:r,noPadding:!0,trigger:"click",children:e})},sc=({className:e,...t})=>{const{prefix:r}=R(),n=C({[`${r}--context-menu__group`]:!0},e);return a.jsx("div",{className:n,...t})},oc=({className:e,...t})=>{const{prefix:r}=R(),n=C({[`${r}--context-menu__item`]:!0},e);return a.jsx("div",{className:n,...t})},gs=({className:e,children:t,labelOne:r,linkTextOne:n,linkHrefOne:o,labelTwo:s,linkTextTwo:c,linkHrefTwo:d,logo:l,metaContent:i,metaLinks:h,secondary:m,pageWidth:f="lg"})=>{const{prefix:v}=R(),w=C(`${v}--footer`,e);return a.jsxs("footer",{className:w,children:[a.jsx(Be,{pageWidth:f,children:a.jsxs("div",{className:`${v}--footer__content`,children:[t?a.jsx("div",{className:`${v}--footer__info`,children:t}):a.jsxs("div",{className:`${v}--footer__info`,children:[a.jsxs("div",{className:`${v}--footer__info__item`,children:[a.jsx("p",{className:`${v}--footer__label`,children:r}),a.jsx("ul",{className:`${v}--footer__list`,children:a.jsx("li",{children:a.jsx(he,{href:o,children:n})})})]}),a.jsxs("div",{className:`${v}--footer__info__item`,children:[a.jsx("p",{className:`${v}--footer__label`,children:s}),a.jsx("ul",{className:`${v}--footer__list`,children:a.jsx("li",{children:a.jsx(he,{href:d,children:c})})})]})]}),a.jsxs("div",{className:`${v}--footer__cta`,children:[l,m&&a.jsx("div",{className:`${v}--footer__secondary`,children:m})]})]})}),a.jsxs(Be,{className:`${v}--footer__meta`,pageWidth:f,children:[h&&a.jsx("div",{className:`${v}--footer__meta__links`,children:h}),i&&a.jsx("div",{className:`${v}--footer__meta__content`,children:i})]})]})};gs.displayName="Footer";const ys=({className:e,children:t,longForm:r=!0,...n})=>{const{prefix:o}=R(),s=C(`${o}--form`,{[`${o}--form-long`]:r===!0},e);return a.jsx("form",{className:s,...n,children:t})};ys.displayName="Form";const ac=({align:e,breakpoint:t,legendText:r,inline:n,children:o,className:s,inputSpacing:c,message:d,messageText:l})=>{const{prefix:i}=R(),h=C(`${i}--form-group__title`,s),m=C(`${i}--fieldset`,{[`${i}--fieldset__inline`]:n,[`${i}--fieldset__align-${e}`]:e,[`${i}--fieldset__breakpoint-${t}`]:t,[`${i}--fieldset__input-spacing-${c}`]:c},s);return a.jsxs("div",{className:m,children:[a.jsx("legend",{className:h,children:r}),a.jsx("div",{className:`${i}--fieldset__content`,children:o}),d?a.jsx("div",{className:`${i}--form__requirements`,children:l}):null]})},ic=({className:e,children:t,description:r})=>{const{prefix:n}=R(),o=C(`${n}--form-hint`,e);return a.jsx(Rr,{content:t,children:a.jsx("div",{className:o,children:a.jsx(Go,{width:"15",height:"15",description:r})})})},cc=({className:e,children:t,id:r,...n})=>{const{prefix:o}=R(),s=C(`${o}--label`,e);return a.jsx("label",{htmlFor:r,className:s,...n,children:t})},_s=({children:e,className:t,id:r,pageWidth:n})=>{const{prefix:o}=R(),s=C(`${o}--info-bar`,t);return a.jsx("div",{id:r,className:s,children:a.jsx(Be,{pageWidth:n,children:e})})};_s.displayName="InfoBar";const kr=e=>{const{active:t=!0,className:r,withOverlay:n=!0,small:o=!1,...s}=e,{prefix:c}=R(),d=C(`${c}--loading`,r,{[`${c}--loading--small`]:o,[`${c}--loading--stop`]:!t}),l=C(`${c}--loading-overlay`,{[`${c}--loading-overlay--stop`]:!t}),i=a.jsx("div",{...s,"aria-live":t?"assertive":"off",className:d,children:a.jsxs("svg",{className:`${c}--loading__svg`,viewBox:"-75 -75 150 150",children:[a.jsx("title",{children:"Loading"}),null,a.jsx("circle",{className:void 0,cx:"0",cy:"0",r:"37.5"})]})});return n?a.jsx("div",{className:l,children:i}):i};kr.displayName="Loading";const xs=e=>{const{className:t,success:r,description:n,onSuccess:o,successDelay:s,...c}=e,{prefix:d}=R(),l=C(`${d}--inline-loading`,t),i=()=>r?(setTimeout(()=>{o&&o()},s),a.jsx("svg",{className:`${d}--inline-loading__checkmark-container ${d}--inline-loading__svg`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 10",children:a.jsx("polyline",{className:`${d}--inline-loading__checkmark`,points:"0.74 3.4 3.67 6.34 9.24 0.74"})})):a.jsx(kr,{small:!0,withOverlay:!1}),h=a.jsx("p",{className:`${d}--inline-loading__text`,children:n});return a.jsxs("div",{className:l,...c,children:[a.jsx("div",{className:`${d}--inline-loading__animation`,children:i()}),n&&h]})};xs.displayName="InlineLoading";const qt=F.forwardRef(({children:e,className:t,colon:r,kind:n,small:o,...s},c)=>{const{prefix:d}=R(),l=C(`${d}--list`,t,{[`${d}--list--${n}`]:n,[`${d}--list--small`]:o,[`${d}--list--colon`]:r}),i={...s};return a.jsx("ul",{className:l,...i,ref:c,children:e})});qt.displayName="List";const bs=({children:e,className:t,title:r,kind:n,icon:o,...s})=>{const c=C("wfp--list__element",t,{"wfp--list-item--checkmark":n==="checkmark","wfp--list-item--cross":n==="cross"});return a.jsxs("li",{className:c,...s,children:[n==="cross"&&a.jsx(Bo,{className:"wfp--list-item__icon"}),n==="checkmark"&&a.jsx(Co,{className:"wfp--list-item__icon"}),o&&a.jsx("span",{className:"wfp--list__element__icon",children:o}),r&&a.jsx("span",{className:"wfp--list__element__title",children:r}),a.jsx("span",{className:"wfp--list__element__content",children:e})]})},Pr=z.createContext({onChangeSub:e=>e,activeMenuItem:null,openMobileMenu:!1,toggleMenu:()=>{},setOpenMobileMenu:()=>{}}),lc=({toggleMenu:e,prefix:t})=>a.jsx(qe,{className:`${t}--main-navigation__button`,onClick:e,children:"Menu"}),ws=({children:e,components:t={},className:r,id:n,logo:o,line:s=!1,logoRibbon:c="default",mobilePageWidth:d,pageWidth:l})=>{const{prefix:i}=R(),[h,m]=z.useState(!1),[f,v]=z.useState(null),w=(_,N,k)=>{if(k&&k.preventDefault(),_==="close")v(null);else if(_==="toggle"){const D=f===null||f!==N?N:null;D!==void 0&&v(D)}},y=()=>{m(!h)},x=C(`${i}--main-navigation`,{[`${i}--main-navigation--line`]:s},r),j=C(`${i}--main-navigation__list`,{[`${i}--main-navigation__list--open`]:h}),O={Wrapper:Be,MobileButton:lc,...t},S=O.Wrapper,E=O.MobileButton;return a.jsx("nav",{id:n,className:x,children:a.jsx(Pr.Provider,{value:{activeMenuItem:f,openMobileMenu:h,toggleMenu:y,onChangeSub:w,setOpenMobileMenu:m},children:a.jsxs(S,{pageWidth:l,mobilePageWidth:d,className:`${i}--main-navigation__wrapper`,children:[a.jsxs("div",{className:`${i}--main-navigation__logo-wrapper`,children:[a.jsx(E,{toggleMenu:y,prefix:i,openMobileMenu:h,children:"Menu"}),a.jsx("div",{className:`${i}--main-navigation__logo`,children:o})]}),a.jsx("ul",{className:j,children:e})]})})})};ws.displayName="MainNavigation";function Ar(){return z.useContext(Pr)}Ar.displayName="useMainNavigation";const uc=({className:e,children:t,kind:r,subNavigation:n,subNavWideAsContent:o})=>{const{prefix:s}=R(),{onChangeSub:c,activeMenuItem:d}=Ar(),[l]=z.useState(Math.random().toString(36)),i=z.useRef(null);z.useEffect(()=>(l===d?document.addEventListener("mousedown",h):document.removeEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}),[d]);const h=y=>{i?.current&&!i.current.contains(y.target)&&c("close")},m=C(e,{[`${s}--main-navigation__item`]:!0,[`${s}--main-navigation__item--open`]:l===d,[`${s}--content-width`]:n&&o}),f=C({[`${s}--main-navigation__trigger`]:!0,[`${s}--main-navigation__trigger--has-sub`]:n,[`${s}--main-navigation__trigger--open`]:l===d}),v=l===d?Lt:hr,w=C({[`${s}--main-navigation__sub`]:!0,[`${s}--main-navigation__sub--${r}`]:r,[`${s}--main-navigation__sub--open`]:l===d});return a.jsxs("li",{className:m,ref:i,children:[a.jsxs("div",{className:f,onClick:()=>c("toggle",l),children:[t,n&&a.jsx(v,{className:`${s}--main-navigation__trigger__icon`,description:l===d?"close icon":"expand icon"})]}),n&&a.jsx("div",{className:w,children:n})]})},dc=({children:e,...t})=>a.jsx("div",{...t,children:e}),fc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__item`,t);return a.jsx("div",{className:o,...r,children:e})},pc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__header`,t);return a.jsx("div",{className:o,...r,children:e})},mc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__title`,t);return a.jsx("div",{className:o,...r,children:e})},hc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__link`,t);return a.jsx("div",{className:o,...r,children:e})},vc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__filter`,t);return a.jsx("div",{className:o,...r,children:e})},gc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__content`,t);return a.jsx("div",{className:o,...r,children:e})},yc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__list`,t);return a.jsx("div",{className:o,...r,children:e})},_c=({children:e,columns:t,className:r,title:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--sub-navigation__group`,{className:r},{[`${s}--sub-navigation__group--columns`]:t,[`${s}--sub-navigation__group--columns--${t}`]:t});return a.jsxs("div",{className:c,...o,children:[n&&a.jsx("h3",{className:`${s}--sub-navigation__group__title`,children:n}),a.jsx("div",{children:e})]})},$s=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C({[`${n}--story`]:!0,[`${t}`]:t});return a.jsx("div",{className:o,...r,children:e})},Es=({ariaLabel:e="close notification",className:t,iconDescription:r="close icon",type:n="button",renderIcon:o=Lt,name:s,notificationType:c="toast",...d})=>{const{prefix:l}=R(),i=C(t,{[`${l}--${c}-notification__close-button`]:c}),h=C({[`${l}--${c}-notification__close-icon`]:c});return a.jsx("button",{...d,type:n,"aria-label":r,title:r,className:i,children:o&&a.jsx(o,{"aria-label":e,className:h,name:s})})},xc=({children:e,className:t,onClick:r,...n})=>{const{prefix:o}=R(),s=C(t,`${o}--inline-notification__action-button`);return a.jsx(qe,{className:s,kind:"ghost",onClick:r,small:!0,...n,children:e})},Dr=({title:e,subtitle:t,caption:r,notificationType:n="toast",children:o,...s})=>{const{prefix:c}=R();return n==="toast"?a.jsxs("div",{...s,className:`${c}--toast-notification__details`,children:[e&&a.jsx("h3",{className:`${c}--toast-notification__title`,children:e}),a.jsx("div",{className:`${c}--toast-notification__subtitle`,children:t}),a.jsx("div",{className:`${c}--toast-notification__caption`,children:r}),o]}):a.jsxs("div",{...s,className:`${c}--inline-notification__text-wrapper`,children:[e&&a.jsx("p",{className:`${c}--inline-notification__title`,children:e}),a.jsx("div",{className:`${c}--inline-notification__subtitle`,children:o||t})]})},bc={error:In,success:Ro,warning:Ln,info:Yo},js=({iconDescription:e,kind:t="info",notificationType:r="toast"})=>{const{prefix:n}=R(),o=t?bc[t]:void 0;return o?a.jsx(o,{className:`${n}--${r}-notification__icon`,children:a.jsx("title",{children:e})}):null},wc=({role:e="alert",notificationType:t="toast",onClose:r=()=>{},onCloseButtonClick:n=()=>{},iconDescription:o="closes notification",statusIconDescription:s,className:c,subtitle:d,title:l="provide a title",kind:i="error",lowContrast:h=!0,hideCloseButton:m=!1,children:f,timeout:v=0,...w})=>{const{prefix:y}=R(),[x,j]=F.useState(!0),O=C(c,{[`${y}--toast-notification`]:!0,[`${y}--toast-notification--low-contrast`]:h,[`${y}--toast-notification--${i}`]:i}),S=N=>{(!r||r(N)!==!1)&&j(!1)};function E(N){n(N),S(N)}const _=F.useRef(r);return F.useEffect(()=>{_.current=r}),F.useEffect(()=>{if(!v)return;const N=window.setTimeout(k=>{j(!1),_.current&&_.current(k)},v);return()=>{window.clearTimeout(N)}},[v]),x?a.jsxs("div",{...w,role:e,className:O,children:[a.jsx(js,{kind:i,iconDescription:s||`${i} icon`,notificationType:t}),a.jsx(Dr,{title:l,subtitle:d,notificationType:t,children:f}),!m&&a.jsx(Es,{iconDescription:o,notificationType:t,onClick:E})]}):null},pt=F.forwardRef((e,t)=>{const{actions:r,role:n="alert",notificationType:o="inline",icon:s,statusIconDescription:c,className:d,subtitle:l,title:i,kind:h="info",lowContrast:m=!0,hideCloseButton:f=!1,children:v,...w}=e,{prefix:y}=R(),x=C(d,{[`${y}--inline-notification`]:!0,[`${y}--block-notification`]:!0,[`${y}--inline-notification--low-contrast`]:m,[`${y}--inline-notification--${h}`]:h,[`${y}--inline-notification--hide-close-button`]:f});return a.jsx("div",{...w,ref:t,role:n,className:x,children:a.jsxs("div",{className:`${y}--inline-notification__details`,children:[s===void 0&&a.jsx(js,{notificationType:o,kind:h,iconDescription:c||`${h} icon`}),s&&a.jsx("div",{className:`${y}--${o}-notification__icon`,children:s}),a.jsx(Dr,{title:i,subtitle:l,notificationType:o,children:v}),r&&a.jsx("div",{className:`${y}--inline-notification__actions-wrapper`,children:r})]})})});pt.displayName="Callout";const Ns=({className:e,children:t,responsive:r,withBorder:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--table`,{[`${s}--table--responsive`]:r,[`${s}--table--with-border`]:n},e);return a.jsx("table",{...o,className:c,children:t})},$c=({className:e,isSorted:t,isSortedDesc:r,sortType:n})=>{const o=C(e,"wfp--table--sorting",{"wfp--table--is-sorted":t,"wfp--table--is-sortable":n});return a.jsx("span",{className:o,children:t?r?a.jsx($o,{}):a.jsx(jo,{}):""})},Ec=Object.freeze(Object.defineProperty({__proto__:null,default:$c},Symbol.toStringTag,{value:"Module"})),Ue=F.forwardRef(({as:e,children:t,className:r,kind:n,spacingTop:o,spacingBottom:s,...c},d)=>{const{prefix:l}=R(),i="div",h=C(`${l}--text`,n&&`${l}--text__${n}`,o&&`${l}--text__spacing-top-${o}`,s&&`${l}--text__spacing-bottom-${s}`,r);return a.jsx(i,{ref:d,className:h,...c,children:t})});Ue.displayName="Text";const jc=e=>a.jsx($s,{...e}),Nc=e=>{const t=typeof e.children=="string"?e.children.substring(0,1):"";return t==="✓"||t==="✗"?a.jsx(bs,{kind:t==="✓"?"checkmark":"cross",...e,children:e.children.substring(1,e.children.length)}):a.jsx("li",{...e,children:e.children})},Cc=({children:e,...t})=>a.jsx(qt,{...t,kind:"bullets",children:e}),Tc=({children:e,...t})=>a.jsx(qt,{...t,kind:"ordered",children:e}),Sc=e=>a.jsx(Ue,{kind:"h1",...e,children:e.children}),Oc=e=>a.jsx(Ue,{kind:"h2",...e,children:e.children}),Rc=e=>a.jsx(Ue,{kind:"h3",...e,children:e.children}),kc=e=>a.jsx(Ue,{kind:"h4",...e,children:e.children}),Pc=e=>a.jsx(Ue,{kind:"h5",...e,children:e.children}),Ac=e=>a.jsx("p",{...e,children:e.children}),Dc=e=>a.jsx(Ns,{...e,children:e.children}),Mc=e=>a.jsx(he,{inline:!0,...e,children:e.children}),Ic=e=>{const t=R();return a.jsx("code",{className:`${t.prefix}--story__code`,...e,children:e.children})},Lc=e=>{const t=R();return a.jsx("pre",{className:`${t.prefix}--story__pre`,...e,children:e.children})},Bc=({children:e,...t})=>Array.isArray(e)&&e.length>=2&&e[0].props?a.jsx(pt,{kind:"info",...t,subtitle:e.map((r,n)=>{if(n>0)return r}),title:e[0].props.children}):a.jsx(pt,{kind:"info",...t,subtitle:e}),qc={wrapper:jc,h1:Sc,h2:Oc,h3:Rc,h4:kc,h5:Pc,p:Ac,li:Nc,a:Mc,ul:Cc,ol:Tc,code:Ic,pre:Lc,table:Dc,blockquote:Bc,Button:qe,Accordion:mr,AccordionItem:vr},Cs=({passiveModal:e,secondaryButtonText:t,onSecondaryButtonClick:r,primaryButtonText:n,onRequestSubmit:o,primaryButtonDisabled:s,secondaryButtonDisabled:c,danger:d,primaryButtonRef:l,secondaryButtonRef:i})=>{const{prefix:h}=R();return e?null:a.jsx("div",{className:`${h}--modal-footer`,children:a.jsxs("div",{className:`${h}--modal__buttons-container`,children:[t&&a.jsx(qe,{kind:"secondary",disabled:c,id:"secondaryButton",onClick:m=>{r&&r(m,"button")},ref:i,children:t}),a.jsx(qe,{kind:d?"danger":"primary",disabled:s,onClick:o,id:"primaryButton",ref:l,children:n})]})})},nr=typeof Element<"u"&&["matches","webkitMatchesSelector","msMatchesSelector"].filter(e=>typeof Element.prototype[e]=="function")[0];function Mr(e){const{modalHeading:t,modalLabel:r,className:n,components:o={},modalSecondaryAction:s,modalAriaLabel:c,passiveModal:d,children:l,elementToAppend:i,backgroundImage:h,open:m,lazyLoad:f,onRequestClose:v=()=>{},onSecondarySubmit:w,iconDescription:y,inPortal:x=!0,hideClose:j,handleBlur:O=()=>{},wide:S,type:E,selectorPrimaryFocus:_,primaryButtonRef:N,secondaryButtonRef:k,...D}=e,{prefix:M}=R(),H=z.useRef(null),P=z.useRef(null),V=z.useRef(null),ee=i||(typeof document<"u"?document.body:void 0),[J,X]=z.useState(!1),Y=G=>{const{selectorsFloatingMenus:re=[`.${M}--overflow-menu-options`,`.${M}--tooltip`,".flatpickr-calendar"]}=e;if(G&&typeof G.closest=="function")return re.some(pe=>G.closest(pe));for(;G;){if(nr&&typeof G[nr]=="function"&&re.some(pe=>G[nr](pe)))return!0;G=G.parentNode}return!1},te=G=>{v(G,"button")},ce=()=>{P.current&&P.current.focus()},le=G=>{O?O({evt:G,innerModal:V,open:m,elementOrParentIsFloatingMenu:Y,focusModal:ce}):V.current&&m&&G.relatedTarget&&!V.current.contains(G.relatedTarget)&&!Y(G.relatedTarget)&&ce()},u=G=>{if(_===!1)return;const re=G.querySelector(_);if(re){re.focus();return}H?.current&&H.current.focus()},g=G=>{P.current&&P.current.offsetWidth&&P.current.offsetHeight&&J&&(u(G.currentTarget),X(!1))};if(m===!1&&f)return null;const T={ModalFooter:Cs,...o}.ModalFooter,A=w||v,q=C({[`${M}--modal`]:!0,[`${M}--modal--wide`]:S,[`${M}--modal--tall`]:!d,[`${M}--modal--background-image`]:h,"is-visible":m,[`${M}--modal--warning`]:E==="warning"||e.warning,[`${M}--modal--danger`]:E==="danger"||e.danger},n),I=j?null:a.jsx("button",{className:`${M}--modal-close`,type:"button",id:"closeButton",onClick:te,ref:H,children:a.jsx(Lt,{className:`${M}--modal-close__icon`,description:y})}),K=a.jsxs("div",{ref:V,role:"dialog",className:`${M}--modal-container`,"aria-label":c,children:[a.jsxs("div",{className:`${M}--modal-header`,children:[d&&I,a.jsxs("div",{children:[r&&a.jsx("h4",{className:`${M}--modal-header__label`,children:r}),a.jsx("h2",{className:`${M}--modal-header__heading`,children:t})]}),s&&a.jsx(a.Fragment,{children:s}),!d&&I]}),a.jsx("div",{className:`${M}--modal-content`,children:l}),a.jsx(T,{...e,prefix:M,onSecondaryButtonClick:A,primaryButtonRef:N,secondaryButtonRef:k})]}),L=a.jsx("div",{...D,onBlur:le,className:q,style:h?{backgroundImage:`url(${h})`}:void 0,role:"presentation",tabIndex:-1,onTransitionEnd:m?g:void 0,ref:P,children:a.jsx("div",{className:`${M}--modal-inner`,children:K})});return x&&ee?os.createPortal(L,ee):L}Mr.displayName="Modal";const Ts=({children:e,customButton:t,id:r,onKeyDown:n,buttonTriggerText:o,buttonTriggerClassName:s,triggerButtonKind:c,disabled:d,handleSubmit:l=()=>{},shouldCloseAfterSubmit:i=!0,...h})=>{const{prefix:m}=R(),f=F.createRef(),[v,w]=F.useState(!1),y=()=>{w(!0)},x=()=>{w(!1),v||(f.current&&f.current.focus(),x&&x())},O={...h,open:v,onRequestClose:x,onRequestSubmit:()=>{l&&(l(x),i&&x())}},S=t?F.cloneElement(t,{disabled:d,onClick:y,inputref:f}):void 0;return a.jsxs("div",{role:"presentation",className:`${m}--modal__wrapper`,onKeyDown:E=>{E.which===27&&(x(),n&&n(E))},children:[t?a.jsx(F.Fragment,{children:S}):a.jsx(qe,{id:r,className:s,disabled:d,kind:c,onClick:y,ref:f,children:o}),a.jsx(Mr,{...O,children:e})]})};Ts.displayName="ModalWrapper";const Fc=({dark:e,light:t,children:r,className:n,margin:o,fullHeight:s,noMargin:c,withHover:d,...l})=>{const{prefix:i}=R(),h=C({[`${i}--module--dark`]:e,[`${i}--module--no-margin`]:c||o===void 0,[`${i}--module--full-height`]:s,[`${i}--module--margin-xs`]:o==="xs",[`${i}--module--margin-md`]:o==="md",[`${i}--module--margin-lg`]:o==="lg",[`${i}--module--light`]:t,[`${i}--module--with-hover`]:d},n,[`${i}--module`]);return a.jsx("div",{className:h,...l,children:a.jsx("div",{className:`${i}--module__inner`,children:r})})},Hc=({children:e,className:t,centered:r,noPadding:n,...o})=>{const s=C("wfp--module__content",t,{"wfp--module__content--centered":r,"wfp--module__content--no-padding":n});return a.jsx("div",{className:s,...o,children:e})},Wc=({filter:e,children:t,className:r,...n})=>{const o=C("wfp--module__header",r);return a.jsxs("div",{className:o,...n,children:[a.jsx("h1",{className:"wfp--module__title",children:t}),e&&a.jsx("div",{className:"wfp--module__filter",children:e})]})},zc=({children:e,className:t,...r})=>{const n=C("wfp--module__footer",t);return a.jsx("div",{className:n,...r,children:e})},Uc=e=>{const t=parseFloat(e);return Math.floor(t)===t?0:e.split(".")[1].length||0},Tn=(e,t)=>isNaN(e)||!e&&e!==0||isNaN(t)||!t&&t!==0?t:Math.max(e,t),Sn=(e,t)=>isNaN(e)||!e&&e!==0||isNaN(t)||!t&&t!==0?t:Math.min(e,t),Ss=F.forwardRef((e,t)=>{const{className:r,disabled:n,id:o,hideLabel:s,hideControls:c,max:d,min:l,step:i=1,onChange:h=()=>{},onClick:m=()=>{},helperText:f,light:v,pattern:w="[0-9]*"}=e,{prefix:y}=R(),x=Sn(d,Tn(l,e.value)),[j,O]=z.useState(x);z.useEffect(()=>{O(e.value)},[e.value]);const S=z.useRef(null),E=t||S,_=V=>{n||(V.persist(),V.imaginaryTarget=E,O(V.target.value),h(V,parseFloat(V.target.value)))},N=(V,ee)=>{let J=typeof j=="string"?Number(j):j;J=isNaN(J)?0:J;const X=ee==="down"?l!==void 0&&J>l||l===void 0:d!==void 0&&J<d||d===void 0,Y=i.toString();J=ee==="down"?J-i:J+parseFloat(Y),J=Sn(d,Tn(l,J)),J=parseFloat(J.toFixed(Uc(Y))),!n&&X&&(V.persist(),V.imaginaryTarget=E,V.target.value=parseFloat(J),m(V,ee),O(J),h(V,J,ee))},k=C(`${y}--number`,r,{[`${y}--number--light`]:v,[`${y}--number--helpertext`]:f,[`${y}--number--nolabel`]:s,[`${y}--number--nocontrols`]:c}),D={disabled:n,id:o,max:d,min:l,step:i,onChange:_,value:j},M=e,{inputProps:H,wrapperProps:P}=Te({...M,type:"number"});return a.jsx(Ce,{...P,inputWrapperClassName:k,children:a.jsxs("div",{className:`${y}--number__controls`,children:[a.jsx("button",{className:`${y}--number__control-btn up-icon`,type:"button",disabled:n,onClick:V=>N(V,"up"),children:"+"}),a.jsx("button",{className:`${y}--number__control-btn down-icon`,type:"button",disabled:n,onClick:V=>N(V,"down"),children:"−"}),a.jsx("input",{pattern:w,...H,...D,ref:t})]})})});Ss.displayName="NumberInput";const Pt=F.forwardRef((e,t)=>{const{className:r,inline:n,disabled:o,children:s,iconDescription:c,light:d,hideLabel:l}=e,{prefix:i}=R(),h=C({[`${i}--select-input`]:!0,[`${i}--select--inline`]:n,[`${i}--select--light`]:d,[`${i}--select--disabled`]:o},r),m=e,{inputProps:f,wrapperProps:v}=Te({...m,inputClassName:h});return a.jsxs(Ce,{...v,inputWrapperClassName:`${i}--select`,hideLabel:l,children:[a.jsx("select",{...f,ref:t,children:s}),a.jsx(hr,{className:`${i}--select__arrow`,description:c})]})});Pt.displayName="Select";function At({className:e,value:t,disabled:r,hidden:n,text:o,...s}){const{prefix:c}=R(),d=C({[`${c}--select-option`]:!0,[`${e}`]:e});return a.jsx("option",{...s,className:d,value:t,disabled:r,hidden:n,children:o})}At.displayName="SelectItem";let Yc=0;const Ir=e=>{const{backwardText:t="Backward",className:r,forwardText:n="Forward",id:o,itemsPerPageText:s="Items per page:",itemsPerPageFollowsText:c,itemRangeText:d=(g,$,T)=>`${g}-${$} of ${T} items`,pageRangeText:l=(g,$)=>`${g} of ${$} pages`,pageSize:i,pageSizesDisabled:h,pageSizes:m,itemText:f=(g,$)=>`${g}-${$} items`,pageText:v=g=>`page ${g}`,pageNumberText:w="Page Number",pagesUnknown:y=!1,isLastPage:x=!1,pageInputDisabled:j=!1,totalItems:O,onChange:S,page:E=1,..._}=e,[N,k]=z.useState(E),[D,M]=z.useState(e.pageSize?e.pageSize:m[0]),H=z.useState(()=>++Yc)[0],P=g=>{const $=Number(g.target.value);k(1),M($),S?.({page:1,pageSize:$})},V=g=>{const $=Number(g.target.value);$>0&&$<=Math.max(Math.ceil(O/D),1)&&(k($),S?.({page:$,pageSize:D}))},ee=()=>{const g=N+1;k(g),S?.({page:g,pageSize:D})},J=()=>{const g=N-1;k(g),S?.({page:g,pageSize:D})},X=g=>{let $=1;const T=[];for(;$<=g;)T.push(a.jsx(At,{value:$,text:String($)},$)),$++;return T},Y=C("wfp--pagination",r),te=C("wfp--pagination__button","wfp--pagination__button--backward",{"wfp--pagination__button--no-index":j}),ce=o||H,le=Math.max(Math.ceil(O/D),1),u=X(le);return a.jsxs("div",{className:Y,..._,children:[a.jsxs("div",{className:"wfp--pagination__left",children:[!h&&a.jsxs(z.Fragment,{children:[a.jsx("span",{className:"wfp--pagination__text",children:c||s}),a.jsx(Pt,{id:`wfp-pagination-select-${ce}`,labelText:s,hideLabel:!0,inline:!0,onChange:P,value:D,children:m.map(g=>a.jsx(At,{value:g,text:String(g)},g))}),a.jsxs("span",{className:"wfp--pagination__text",children:[" "," | "]})]}),a.jsx("span",{className:"wfp--pagination__text",children:y?f(D*(N-1)+1,N*D):d(Math.min(D*(N-1)+1,O),Math.min(N*D,O),O)})]}),a.jsxs("div",{className:"wfp--pagination__right wfp--pagination--inline",children:[a.jsx("span",{className:"wfp--pagination__text",children:y?v(N):l(N,le)}),a.jsx("button",{className:te,onClick:J,disabled:e.disabled||N===1,children:a.jsx(Dn,{className:"wfp--pagination__button-icon",description:t})}),j?null:a.jsx(Pt,{id:`wfp-pagination-select-${+ce+2}`,labelText:s,hideLabel:!0,inline:!0,onChange:V,value:N,children:u}),a.jsx("button",{className:"wfp--pagination__button wfp--pagination__button--forward",onClick:ee,disabled:e.disabled||N===le||x,children:a.jsx(Mn,{className:"wfp--pagination__button-icon",description:n})})]})]})};Ir.displayName="Pagination";let On=0;function Os(e="id"){return On++,`${e}${On}`}const Rs=F.forwardRef((e,t)=>{const{labelText:r,id:n,className:o,value:s,name:c,onChange:d,...l}=e,[i]=z.useState(n||Os()),{prefix:h}=R(),m=C("radioButtonWrapper",o),v=d?{onChange:w=>{d?.(w,s,c)}}:{};return a.jsxs("div",{className:m,children:[a.jsx("input",{...l,ref:t,type:"radio",className:`${h}--radio-button`,...v,id:i,value:s,name:c,checked:e.checked,defaultChecked:e.defaultChecked,disabled:e.disabled}),a.jsxs("label",{htmlFor:i,className:`${h}--radio-button__label`,children:[a.jsx("span",{className:`${h}--radio-button__appearance`}),r]})]})});Rs.displayName="RadioButton";const ks=e=>{const{prefix:t}=R(),{children:r,labelText:n,helperText:o,vertical:s,hideLabel:c,className:d=`${t}--input-group`,wrapperClassName:l,valueSelected:i,defaultSelected:h}=e,[m,f]=z.useState(i||h);z.useEffect(()=>{i!==m&&f(i)},[i,h]);const v=C(`${t}--label`,{[`${t}--visually-hidden`]:c}),w=C(`${t}--form-item`,{[`${t}--input-group__vertical`]:s,wrapperClassName:l}),y=n?a.jsx("span",{className:v,children:n}):null,x=o?a.jsx("div",{className:`${t}--form__helper-text`,children:o}):null;return a.jsx("div",{className:w,children:a.jsxs("div",{className:d,children:[y,x,a.jsx("div",{className:`${t}--input-group-inside`,children:r})]})})};ks.displayName="InputGroup";const Vc=({handleToggleClick:e,link:t,text:r,showMore:n,contentId:o})=>{const{prefix:s}=R(),c={"aria-expanded":n,"aria-controls":o};if(t)return z.cloneElement(t,{onClick:e,...c});{const d=Mo,l=C({[`${s}--read-more__trigger`]:!0,[`${s}--read-more__trigger--expanded`]:n});return a.jsxs(he,{className:l,size:"sm",onClick:e,...c,children:[r,a.jsx(d,{width:"10",height:"10",description:n?"icon up":"icon down"})]})}};function Ps({collapseLink:e,collapseText:t="Show less",children:r,collapsed:n,className:o,disableAutoscroll:s,expandLink:c,expandText:d="Show more",fade:l,maxHeight:i}){const{prefix:h}=R(),[m,f]=z.useState(!1),[v,w]=z.useState(0),y=z.useRef(null),x=z.useRef(null),O=`${An()}-read-more-content`,S=k=>{k.preventDefault();const D=y?.current?.clientHeight;!m&&!s&&setTimeout(()=>{x?.current&&x.current.scrollIntoView({behavior:"smooth",block:"end"})},50),f(!m),D&&w(D)},E=C(o,{[`${h}--read-more`]:!0,[`${h}--read-more--expanded`]:m,[`${h}--read-more--fade`]:l,[`${h}--read-more--max-height`]:i}),_=i?i&&!m?{maxHeight:i}:{maxHeight:v+20}:{undefined:void 0},N=m?{display:"none"}:{display:"block"};return a.jsxs("div",{className:E,children:[a.jsxs("div",{className:`${h}--read-more__content`,style:_,id:O,children:[a.jsx("div",{className:`${h}--read-more__fake-height`,ref:x,style:{height:`${v+30}px`}}),a.jsxs("div",{ref:y,children:[(m||!n)&&r,n&&a.jsx("div",{style:N,children:n})]})]}),a.jsx(Vc,{handleToggleClick:S,showMore:m,link:m?e:c,text:m?t:d,contentId:O})]})}Ps.displayName="ReadMore";function As({additional:e,children:t,className:r,id:n,pageWidth:o,...s}){const{prefix:c}=R(),d=C(`${c}--secondary-navigation`,r);return a.jsx("div",{id:n,className:d,...s,children:a.jsxs(Be,{pageWidth:o,className:`${c}--secondary-navigation__wrapper`,children:[a.jsx("div",{className:`${c}--secondary-navigation__list`,children:t}),e&&a.jsx("div",{className:`${c}--secondary-navigation__additional`,children:e})]})})}As.displayName="SecondaryNavigation";function Ds({className:e,children:t}){const{prefix:r}=R(),n=C(`${r}--secondary-navigation__title`,e);return a.jsx("h1",{className:n,children:t})}Ds.displayName="SecondaryNavigationTitle";function Gc({inline:e,small:t,vertical:r,className:n,role:o,children:s}){const{prefix:c}=R(),[d]=z.useState(!0),i=z.Children.map(s,m=>m),h={tabs:C(n,{[`${c}--step-navigation`]:!0,[`${c}--step-navigation--vertical`]:r,[`${c}--step-navigation--small`]:t,[`${c}--step-navigation--regular`]:!t}),tablist:C(`${c}--step-navigation__nav`,{[`${c}--step-navigation__nav--hidden`]:d,[`${c}--step-navigation__nav--inline`]:e})};return a.jsx(a.Fragment,{children:a.jsx("nav",{className:h.tabs,role:o,children:a.jsx("ul",{role:"tablist",className:h.tablist,children:i})})})}const Kc=({className:e,handleTabClick:t=()=>{},index:r,label:n,status:o,helperText:s,selectedPage:c=0,onClick:d=()=>{},page:l=0,renderAnchor:i})=>{const{prefix:h}=R(),m=C(`${h}--step-navigation__nav-item`,{[`${h}--step-navigation__nav-item--before`]:l<c},{[`${h}--step-navigation__nav-item--selected`]:l===c},{[`${h}--step-navigation__nav-item--${o}`]:o},e),f={className:`${h}--step-navigation__nav-link`},w=o?{"not-started":{icon:Fo},warning:{icon:aa},locked:{icon:Xo},skip:{icon:ea},disabled:{icon:In},complete:{icon:So},summary:{icon:Zo}}[o]?.icon:null;return a.jsx("li",{tabIndex:-1,className:m,onClick:y=>{o!=="locked"&&(t(y,r,n),d(y))},role:"presentation",children:a.jsx(a.Fragment,{children:i?i(f):a.jsxs(F.Fragment,{children:[a.jsx("div",{className:`${h}--step-navigation__nav-item__indicator`,children:o&&l!==c?a.jsx(w,{width:"14",height:"14",description:"Step Item"}):a.jsx("span",{children:l+1})}),a.jsxs("div",{children:[a.jsx("span",{className:`${h}--step-navigation__nav-item__text`,children:n}),s&&a.jsx("span",{className:`${h}--step-navigation__nav-item__helper-text`,children:s})]})]})})})};function Xc({children:e,className:t,disabled:r,label:n,...o}){const{prefix:s}=R(),c=C(`${s}--select-optgroup`,t);return a.jsx("optgroup",{className:c,label:n,disabled:r,...o,children:e})}const Qc=({active:e,children:t,className:r,sidebar:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--sidebar-content__container`,r,{[`${s}--sidebar-content__container--active`]:e});return a.jsxs("div",{className:c,...o,children:[a.jsx("div",{className:`${s}--sidebar-item-content`,children:n}),a.jsx("div",{className:`${s}--content-section`,children:t})]})},Zc=({className:e,children:t,noPadding:r,...n})=>{const{prefix:o}=R(),s=C(`${o}--sidebar-content__header`,e,{[`${o}--sidebar-content__header--no-padding`]:r});return a.jsx("div",{className:s,...n,children:t})},Jc=({className:e,children:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sidebar-content-mobile-header`,e,{});return a.jsx("div",{className:o,...r,children:t})},el=({className:e,children:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sidebar-content__children`,e,{});return a.jsx("div",{id:"scroll-container",className:o,...r,children:t})},tl=({children:e,...t})=>{const{prefix:r}=R();return a.jsx("div",{className:`${r}--sidebar-content__scroll`,...t,children:e})},rl=({children:e,...t})=>{const{prefix:r}=R();return a.jsxs("div",{className:`${r}--sidebar-content__back-button`,...t,children:[a.jsx(Dn,{}),e]})},Lr=F.forwardRef((e,t)=>{const{hideLabel:r,helperText:n,pattern:o,required:s}=e,{prefix:c}=R(),d=C(`${c}--input`,`${c}--text-input`,{[`${c}--text--helpertext`]:n,[`${c}--text--nolabel`]:r,[`${c}--text--required`]:s}),l=e,{inputProps:i,wrapperProps:h}=Te({...l,inputClassName:d});return a.jsx(Ce,{...h,children:a.jsx("input",{pattern:o,...i,ref:t})})});Lr.displayName="TextInput";const nl=(e,t)=>typeof t=="function"?t(e):`${e}${t||""}`;function sl(e,t,r){if(!(r<=t))return e<t&&(e=t),e>r&&(e=r),(e-t)/(r-t)*100}const Ms=F.forwardRef((e,t)=>{const{ariaLabelInput:r,className:n,disabled:o,formatLabel:s=nl,fullWidth:c,id:d,inputType:l,hideLabel:i,hideControls:h,hideTextInput:m,min:f,minLabel:v,max:w,maxLabel:y,step:x=1,onChange:j=()=>{},helperText:O,...S}=e,{prefix:E}=R(),_=e.value,[N,k]=F.useState(_);F.useEffect(()=>{k(e.value)},[e.value]);const D=F.useRef(null),M=t||D,H=u=>{o||(u.persist(),u.imaginaryTarget=M,u.target.value>w?(k(w),j(u)):(k(u.target.value),j(u)))},P=C(`${E}--slider--wrapper`,n,{[`${E}--slider--helpertext`]:O,[`${E}--slider--nolabel`]:i,[`${E}--slider--nocontrols`]:h}),V=C(`${E}--slider-container`,{[`${E}--slider-container--full-width`]:c}),ee={disabled:o,id:d,max:w,min:f,step:x,onChange:H,value:N},J=C(`${E}--input`,`${E}--slider-text-input`),X=C(`${E}--slider`,{[`${E}--slider--disabled`]:o},n),Y=C(`${E}--slider__range-wrapper`,{[`${E}--slider__range-wrapper--disabled`]:o},n),te=N&&N<f?f:N,le=Te(e);return console.log("valueMinimal",te),a.jsx(Ce,{...le.wrapperProps,formItemClassName:P,children:a.jsxs("div",{className:V,children:[a.jsx("span",{className:`${E}--slider__range-label`,children:s(f,v)}),a.jsxs("div",{className:Y,children:[a.jsx("div",{className:`${E}--slider__range-before`,style:{width:`${sl(te,f,w)}%`}}),a.jsx("input",{className:X,type:"range",...S,...ee,ref:M})]}),a.jsx("span",{className:`${E}--slider__range-label`,children:s(w,y)}),!m&&a.jsx(Lr,{disabled:o,type:l,id:"input-for-slider",className:J,value:N,onChange:H,"aria-label":r})]})})});Ms.displayName="Slider";const Is=F.forwardRef(({active:e,additional:t,children:r,className:n,subContent:o,image:s,hint:c,noImage:d,unread:l,showAdditionalIcon:i,title:h,kind:m="large",wrapper:f="none",...v},w)=>{const{prefix:y}=R(),x=C({[`${y}--item`]:!0,[`${y}--item--${m}`]:m,[`${y}--item--${f}`]:f,[`${y}--item--active`]:e,[`${y}--item--unread`]:l},n);return a.jsxs("div",{className:x,...v,ref:w,children:[s?a.jsx("div",{className:`${y}--item__image`,children:s}):d?a.jsx("div",{className:`${y}--item__image ${y}--item__image-empty`}):null,h&&a.jsx("div",{className:`${y}--item__title-wrapper`,children:a.jsx("h2",{className:`${y}--item__title`,children:h})}),t&&a.jsxs("div",{className:`${y}--item__additional`,children:[t,i&&a.jsx(Mn,{className:`${y}--item__additional-icon`})]}),r&&a.jsx("div",{className:`${y}--item__text`,children:r}),o&&a.jsx("div",{className:`${y}--item__sub-content`,children:o}),c&&a.jsx("div",{className:`${y}--item__hint`,children:c}),l&&a.jsx("div",{className:`${y}--item__unread`})]})});Is.displayName="Item";const Ls=({data:e,page:t,pageSizeOptions:r,paginationClassName:n,totalItems:o,style:s,onPageChange:c,onPageSizeChange:d,isLastPage:l,pages:i,pageInputDisabled:h,pageSize:m,pagesUnknown:f,backwardText:v,forwardText:w,itemsPerPageText:y,itemsPerPageFollowsText:x,itemRangeText:j,pageRangeText:O,pageSizesDisabled:S,itemText:E,pageNumberText:_})=>{const{prefix:N}=R(),k=H=>(isNaN(H)&&(H=t),H),D=H=>{const P=k(H.page-1);H!==P&&c(P),m!==H.pageSize&&d(H.pageSize)},M={isLastPage:l,pages:i,pageInputDisabled:h,pageSize:m,pagesUnknown:f,backwardText:v,forwardText:w,itemsPerPageText:y,itemsPerPageFollowsText:x,itemRangeText:j,pageRangeText:O,pageSizesDisabled:S,itemText:E,pageNumberText:_};return a.jsx("div",{className:C(n,"-pagination"),style:s,children:a.jsx("div",{className:`${N}-pagination`,children:a.jsx(Ir,{onChange:D,pageSizes:r,page:t,totalItems:o||(e?e.length:void 0),...M})})})};Ls.displayName="ReactTablePagination";function Bs(e){const{prefix:t}=R(),{className:r,disabled:n,handleTabClick:o=()=>{},handleTabAnchorFocus:s=()=>{},handleTabKeyDown:c=()=>{},href:d,index:l=0,label:i,selected:h,tabIndex:m,onClick:f=()=>{},onKeyDown:v=()=>{},...w}=e,y=E=>{if(E.which===37&&s)s(l-1);else if(E.which===39&&s)s(l+1);else return},x=C(`${t}--tabs__nav-item`,{[`${t}--tabs__nav-item--disabled`]:n},{[`${t}--tabs__nav-item--selected`]:h},r),j=C(`${t}--tabs__nav-item`,`${t}--tabs__nav-item--selected`,r),O={className:"wfp--tabs__nav-link",href:n?void 0:d,label:i,role:"tab",tabIndex:m,"aria-selected":h};return{liProps:{tabIndex:-1,className:x,onClick:E=>{n||(o(l,i,E),f(E))},onKeyDown:E=>{n||(y(E),c(l,i,E),v(E))},role:"presentation",selected:h,...w},anchorProps:O,selectedClasses:j}}const ol=e=>{const{disabled:t,label:r,renderAnchor:n,renderListElement:o}=e,{anchorProps:s,liProps:c,selectedClasses:d}=Bs(e);return a.jsx(F.Fragment,{children:o?typeof o=="function"?o({...e,...c,anchor:s,selectedClasses:d}):a.jsx(a.Fragment,{children:o}):a.jsx("li",{...c,children:n?n(s):t?a.jsx("span",{...s,children:r}):a.jsx("a",{...s,children:r})})})},qs=e=>{const{selected:t=!1,children:r,...n}=e;return a.jsx("div",{...n,"data-selected":t,hidden:!t,children:r})};qs.displayName="TabContent";const al=z.createContext({handleTabClick:()=>{},handleTabKeyDown:()=>{},handleTabAnchorFocus:()=>{}}),Fs=e=>{const{disableAnimation:t,inline:r,className:n,role:o="navigation",selected:s=null,...c}=e,{prefix:d}=R(),[l,i]=F.useState(s),h=F.useRef(null);F.useEffect(()=>{s!==l&&i(s)},[s]);const m={tabs:C(`${d}--tabs`,{[`${d}--tabs--no-animation`]:t},n),tablist:C(`${d}--tabs__nav`,{[`${d}--tabs__nav--inline`]:r})},f=()=>(y,x,j)=>{j&&j.preventDefault()},v=()=>(y,x,j)=>{j.key||j.which},w=()=>{};return a.jsx(al.Provider,{value:{handleTabClick:f,handleTabKeyDown:v,handleTabAnchorFocus:w},children:a.jsxs("nav",{...c,className:m.tabs,role:o,children:[a.jsx("div",{className:`${d}--tabs__nav__bar`}),a.jsx("ul",{ref:h,role:"tablist",className:m.tablist,children:e.children})]})})};Fs.displayName="Tabs";const Hs=F.forwardRef((e,t)=>{const{className:r,fullWidth:n}=e,{prefix:o}=R(),s=C(`${o}--text-area`,r,{[`${o}--textarea-fullwidth`]:n}),d=Te({...e,inputClassName:s});return a.jsx(Ce,{...d.wrapperProps,children:a.jsx("textarea",{...d.inputProps,ref:t})})});Hs.displayName="TextArea";const Ws=F.forwardRef((e,t)=>{const{showPasswordLabelText:r="Show password",hidePasswordLabelText:n="Hide password",addonAfter:o,...s}=e,{prefix:c}=R(),[d,l]=F.useState(!1),{hideLabel:i,helperText:h,required:m,disabled:f,readOnly:v}=s,w=C(`${c}--input`,`${c}--text-input`,`${c}--password-input`,{[`${c}--text--helpertext`]:h,[`${c}--text--nolabel`]:i,[`${c}--text--required`]:m}),y=d?n:r,x=()=>{f||v||l(_=>!_)},j=a.jsx("button",{type:"button",className:`${c}--password-input__toggle`,onClick:x,"aria-pressed":d,"aria-label":y,disabled:f||v,children:y}),O=s,{inputProps:S,wrapperProps:E}=Te({...O,type:d?"text":"password",addonAfter:a.jsxs(a.Fragment,{children:[o,j]}),inputClassName:w});return a.jsx(Ce,{...E,children:a.jsx("input",{...S,ref:t})})});Ws.displayName="PasswordInput";const zs=F.forwardRef((e,t)=>{const{className:r,defaultToggled:n=!1,id:o,labelA:s="Off",labelB:c="On",...d}=e,{prefix:l}=R(),i=C({[`${l}--form-item`]:!0},r),h=o||d.name,f=Te(e),v=d;return a.jsxs(Ce,{className:i,...e,children:[a.jsx("input",{...v,...f.inputProps,defaultChecked:n,type:"checkbox",id:h,className:`${l}--toggle`,ref:t}),a.jsxs("label",{className:`${l}--toggle__label`,htmlFor:h,children:[a.jsx("span",{className:`${l}--toggle__text--left`,children:s}),a.jsx("span",{className:`${l}--toggle__appearance`}),a.jsx("span",{className:`${l}--toggle__text--right`,children:c})]})]})});zs.displayName="Toggle";const il=e=>{const{className:t,children:r,components:n={},description:o,ellipsis:s,extendedDescription:c,showName:d,small:l,name:i,missingImage:h,...m}=e,{prefix:f}=R(),w={...{Avatar:_r},...n},y=C(`${f}--user`,t,{[`${f}--user--has-description`]:o,[`${f}--user--has-extended-description`]:c}),x=C({[`${f}--user__title`]:!0,[`${f}--user__title--ellipsis`]:s,[`${f}--user__title--small`]:l});return a.jsxs("div",{className:y,...m,children:[a.jsx(w.Avatar,{...e,missingImage:h}),d&&a.jsxs("span",{className:x,children:[a.jsx("span",{children:i}),o&&a.jsx("div",{className:`${f}--user__description`,children:o})]}),r,c&&a.jsx("div",{className:`${f}--user__extended-description`,children:c})]})},ct={thousand:{pow:1e3,defaultmaximumFractionDigits:2,default:{after:"T"}},million:{pow:1e6,defaultmaximumFractionDigits:1,default:{after:"M"}},billion:{pow:1e9,defaultmaximumFractionDigits:2,default:{after:"B"}}},Us=e=>a.jsx("span",{className:e.className+" invalid",children:"–"}),cl=e=>a.jsx("tspan",{className:e.className+" invalid",children:"–"}),Ft=e=>{if(e){const t=e.before?e.before+" ":"",r=e.output&&e.output.default?e.output.default.after+"":"",n=e.after?" "+e.after:"";return t+e.value+r+n}else return""},Ht=(e,t)=>{const{style:r,...n}=t;return e?a.jsxs("text",{className:t.className,...n,children:[a.jsxs("tspan",{style:r,children:[e.before," "]}),a.jsx("tspan",{style:r,children:e.value}),a.jsxs("tspan",{style:r,children:[" ",e.output?e.output.default.after+"":"",e.after]})]}):a.jsx(cl,{className:t.className})},ke=(e,t,r,n,o)=>{const{children:s,input:c,output:d,minimumFractionDigits:l,maximumFractionDigits:i,localeStringLanguage:h="en-EN",calcOnly:m,string:f,svg:v,hideZero:w}=e;var y=typeof s=="string"?s.replace(/,/g,""):s;y=parseFloat(y),y=y!==0&&c&&ct[c]?ct[c].pow*y:y;const x=d&&ct[d]?ct[d]:void 0;y=y!==0&&d?y/x.pow:y;const j=o===!0&&d===void 0?l===0:typeof l=="number"?l:x&&x.defaultmaximumFractionDigits?x.defaultmaximumFractionDigits:2,O=o===!0&&d===void 0?i===0:y<=.005?4:y<=.05?3:y<=.5?2:i===0?0:typeof i=="number"?i:x&&x.defaultmaximumFractionDigits?x.defaultmaximumFractionDigits:2,S={minimumFractionDigits:j,maximumFractionDigits:O>j?O:j};y=y.toLocaleString(h,S);const E={value:y,before:r,after:t,output:x};let _=e.className;return y==="1"&&n&&(_=_+" wfp--unit--singular"),(!y||y==="NaN"||parseFloat(y)===0)&&w?!1:m?E:v?Ht(E,e):f?Ft(E):y!==!1?a.jsx("span",{className:_,children:y}):a.jsx(Us,{className:e.className})},ll=(e,t,r)=>{const{calcOnly:n,children:o,from:s,string:c,svg:d,hideZero:l,maximumSignificantDigits:i,maximumFractionDigits:h}=e;var m=typeof o=="string"?o.replace(/,/g,""):o;m=parseFloat(m),parseFloat(s)===0?m=!1:s&&(m=m/parseFloat(s)*100),m=m.toLocaleString("en-EN",{minimumFractionDigits:i||0,maximumSignificantDigits:i,maximumFractionDigits:m<=.5?5:h||1});const f={value:m,before:r,after:t,output:void 0};return(!m||m==="NaN"||parseFloat(m)===0)&&l?!1:n?f:d?Ht(f,e):c?Ft(f):m!==!1?a.jsx("span",{className:e.className,children:m}):a.jsx(Us,{className:e.className})},Wt=(e,t,r)=>{const{calcOnly:n,className:o,children:s,string:c,svg:d,hideUnit:l}=e,i=s,h=t||"",m=l?"":r+s+h,f={value:i,before:r,after:t,output:i+m};if(n)return f;if(d)return Ht({value:i+m,before:r,after:t},e);if(c)return Ft(f);if(i!==!1)return a.jsx("span",{className:o,children:i})},ul=e=>{const{children:t}=e,r=t;let n;if(typeof r=="number"&&r.toString().length>=7)n=new Date(r,e);else if(r.getMonth)n=r;else{const c=r.toString().substring(0,4),d=parseInt(r.toString().substring(4,7),10)-1;n=new Date(c,d,1)}const o=n.toLocaleString("en-us",{month:"short"}),s=n.toLocaleString("en-us",{month:"long"});return{monthName:o,monthNameFull:s,year:n.getFullYear(),date:n}},dl=e=>{const{className:t,string:r,svg:n,calcOnly:o}=e,s=ul(e),c={value:s.monthName+" "+s.year,before:"",after:"",output:void 0};if(o)return c;if(n)return Ht(c,e);if(r)return Ft(c);if(c?.value)return a.jsx("span",{className:t,children:c.value})},fl=e=>ke(e,"","US$"),pl=e=>ke(e,"People",void 0,!0,!0),ml=e=>ke(e,"Partners",void 0,!0,!0),hl=e=>ke(e,"MT",void 0,!0),vl=e=>ke(e,"MetricTons",void 0,!0),gl=e=>ke(e,"Months",void 0,!0,"Month"),yl=e=>ke(e,""),_l=e=>ke(e,"Beneficaries",void 0,!0,!0),xl=e=>ke(e,"Households",void 0,!0,!0),bl=e=>ke(e,"Trips",void 0,!0,!0),wl=e=>Wt(e,"kg"),$l=e=>Wt(e,""),El=e=>Wt(e,"Countries"),jl=e=>Wt(e,""),Nl=e=>ll(e,"%"),Cl=e=>dl(e),Tl={Usd:fl,Partners:ml,Beneficiaries:_l,Households:xl,Months:gl,Mt:hl,Kg:wl,MetricTons:vl,Num:yl,Level:$l,None:jl,Trips:bl,Countries:El,People:pl,Percentage:Nl,YearMonth:Cl},Sl=e=>{const{prefix:t}=R(),{className:r,output:n,string:o,textAnchor:s,localeStringLanguage:c="en-EN",type:d="none",setup:l}=e,i=e.type.charAt(0).toUpperCase()+e.type.slice(1),h=Tl[i],m=s||"start",f=d?`${t}--unit--${d.toLowerCase()}`:"",v=n&&ct[n]?`${t}--unit--${n}`:"",w=l?`${t}--unit--${l}`:"",y=`${t}--unit ${r} ${f} ${v} ${w}`;return o?h(e):h===void 0?null:a.jsx(h,{...e,className:y,textAnchor:m,localeStringLanguage:c})},Ol=({value:e,secondaryValue:t,className:r,title:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--value`,r);return a.jsxs("div",{className:c,...o,children:[a.jsx("h4",{className:`${s}--value__title`,children:n}),a.jsx("div",{className:`${s}--value__primary-value`,children:e}),a.jsx("div",{className:`${s}--value__secondary-value`,children:t})]})},Rl=e=>t=>{const n={...R(),...t};return a.jsx(e,{...n})};function kl(){return z.useContext(It)}const Pl={main:{name:"main",hex:"#007DBC",scss:"$color__main",type:"communications"},"sequential-default-07":{name:"sequential-default-07",hex:"#9DEAFF",scss:"$color__sequential-default-07",type:"sequential-default",shortDescription:"sequential default 07"},"sequential-default-06":{name:"sequential-default-06",hex:"#73C3FE",scss:"$color__sequential-default-06",type:"sequential-default",shortDescription:"sequential default 06"},"sequential-default-05":{name:"sequential-default-05",hex:"#4AA1E2",scss:"$color__sequential-default-05",type:"sequential-default",shortDescription:"sequential default 05"},"sequential-default-04":{name:"sequential-default-04",hex:"#0780C0",scss:"$color__sequential-default-04",type:"sequential-default",shortDescription:"sequential default 04"},"sequential-default-03":{name:"sequential-default-03",hex:"#005F9B",scss:"$color__sequential-default-03",type:"sequential-default",shortDescription:"sequential default 03"},"sequential-default-02":{name:"sequential-default-02",hex:"#003F76",scss:"$color__sequential-default-02",type:"sequential-default",shortDescription:"sequential default 02"},"sequential-default-01":{name:"sequential-default-01",hex:"#002153",scss:"$color__sequential-default-01",type:"sequential-default",shortDescription:"sequential default 01"},"sequential-secondary-07":{name:"sequential-secondary-07",hex:"#bdf9c4",scss:"$color__sequential-secondary-07",type:"sequential-secondary",shortDescription:"sequential secondary 07"},"sequential-secondary-06":{name:"sequential-secondary-06",hex:"#89eaa8",scss:"$color__sequential-secondary-06",type:"sequential-secondary",shortDescription:"sequential secondary 06"},"sequential-secondary-05":{name:"sequential-secondary-05",hex:"#5fd79a",scss:"$color__sequential-secondary-05",type:"sequential-secondary",shortDescription:"sequential secondary 05"},"sequential-secondary-04":{name:"sequential-secondary-04",hex:"#41c196",scss:"$color__sequential-secondary-04",type:"sequential-secondary",shortDescription:"sequential secondary 04"},"sequential-secondary-03":{name:"sequential-secondary-03",hex:"#33aa96",scss:"$color__sequential-secondary-03",type:"sequential-secondary",shortDescription:"sequential secondary 03"},"sequential-secondary-02":{name:"sequential-secondary-02",hex:"#319298",scss:"$color__sequential-secondary-02",type:"sequential-secondary",shortDescription:"sequential secondary 02"},"sequential-secondary-01":{name:"sequential-secondary-01",hex:"#367a96",scss:"$color__sequential-secondary-01",type:"sequential-secondary",shortDescription:"sequential secondary 01"},"categorical-corporate-01":{name:"categorical-01",hex:"#007DBC",scss:"$color__categorical-corporate-01",type:"categorical",shortDescription:"categorical-01"},"categorical-corporate-02":{name:"categorical-02",hex:"#36B5C5",scss:"$color__categorical-corporate-02",type:"categorical",shortDescription:"categorical-02"},"categorical-corporate-03":{name:"categorical-03",hex:"#00B485",scss:"$color__categorical-corporate-03",type:"categorical",shortDescription:"categorical-03"},"categorical-corporate-04":{name:"categorical-04",hex:"#008868",scss:"$color__categorical-corporate-04",type:"categorical",shortDescription:"categorical-04"},"categorical-corporate-05":{name:"categorical-05",hex:"#1A4262",scss:"$color__categorical-corporate-05",type:"categorical",shortDescription:"categorical-05"},"categorical-corporate-06":{name:"categorical-06",hex:"#982B56",scss:"$color__categorical-corporate-06",type:"categorical",shortDescription:"categorical-06"},"categorical-corporate-07":{name:"categorical-07",hex:"#EF404C",scss:"$color__categorical-corporate-07",type:"categorical",shortDescription:"categorical-07"},"categorical-corporate-08":{name:"categorical-08",hex:"#F47847",scss:"$color__categorical-corporate-08",type:"categorical",shortDescription:"categorical-08"},"categorical-corporate-09":{name:"categorical-09",hex:"#B79F8D",scss:"$color__categorical-corporate-09",type:"categorical",shortDescription:"categorical-09"},"categorical-corporate-10":{name:"categorical-10",hex:"#ECDFBB",scss:"$color__categorical-corporate-10",type:"categorical",shortDescription:"categorical-10"},female:{name:"female",hex:"#3f7e44",scss:"$color__female",type:"symbolic",shortDescription:"Indicate female"},male:{name:"male",hex:"#26bde2",scss:"$color__male",type:"symbolic",shortDescription:"Indicate male"},national:{name:"national",hex:"#3C5979",scss:"$color__national",type:"symbolic",shortDescription:"Indicate national staff"},international:{name:"international",hex:"#fcc30b",scss:"$color__international",type:"symbolic",shortDescription:"Indicate international staff"},"brand-01":{name:"brand-01",hex:"#007DBC",scss:"var(--brand-01)",css:"color__brand-01",type:"brand",shortDescription:"WFP brand color"},"interactive-01":{name:"interactive-01",hex:"#0b77c2",scss:"var(--interactive-01)",css:"color__interactive-01",type:"brand",shortDescription:"Primary interactive color, Primary buttons"},"interactive-02":{name:"interactive-02",hex:"#085387",scss:"$action-default-fill-primary-default-02",css:"color__interactive-02",type:"brand",shortDescription:"BannerNavigation"},"accent-01":{name:"accent-01",hex:"#f7b825",scss:"$accent-01",css:"color__accent-01",type:"brand-accent",shortDescription:"Accent colour (recommended)"},"brand-01-20":{name:"brand-01-20",hex:"#c2dbec",scss:"$brand-01-20",css:"color__brand-01-20",type:"brand-extended"},"brand-01-30":{name:"brand-01-30",hex:"#85b7da",scss:"$brand-01-30",css:"color__brand-01-30",type:"brand-extended"},"brand-01-40":{name:"brand-01-40",hex:"#4792c7",scss:"$brand-01-40",css:"color__brand-01-40",type:"brand-extended"},"brand-01-60":{name:"brand-01-60",hex:"#085387",scss:"$brand-01-60",css:"color__brand-01-60",type:"brand-extended"},"brand-01-70":{name:"brand-01-70",hex:"#05375a",scss:"$brand-01-70",css:"color__brand-01-70",type:"brand-extended"},"brand-01-80":{name:"brand-01-80",hex:"#031c2d",scss:"$brand-01-80",css:"color__brand-01-80",type:"brand-extended"},"ui-01":{name:"ui-01",hex:"#ffffff",scss:"$ui-01",css:"color__ui-01",type:"ui",shortDescription:"Primary container background; Secondary page background",description:"This colour is used as the page background if there are no Modules on top of it."},"ui-02":{name:"ui-02",hex:"#eff2f5",scss:"var(--ui-02)",css:"color__ui-02",type:"ui",shortDescription:"Primary page background; Secondary container background",description:"Use this colour as page background if there are modules on top of it to increase the contrast between the modules."},"ui-03":{name:"ui-03",hex:"#f0f3f6",scss:"$ui-03",css:"color__ui-03",type:"ui",shortDescription:"Subtle border, Tertiary background color"},"ui-04":{name:"ui-04",hex:"#dfe3e6",scss:"$ui-04",css:"color__ui-04",type:"ui",shortDescription:"3:1 AA element contrast; Medium contrast border"},"ui-05":{name:"ui-05",hex:"#8c9ba5",scss:"$ui-03",css:"color__ui-05",type:"ui",shortDescription:"4.5:1 AA element contrast; High contrast border; Emphasis elements"},"ui-06":{name:"ui-06",hex:"#0b1923",scss:"$ui-06",css:"color__ui-06",type:"ui",shortDescription:""},"text-01":{name:"text-01",hex:"#031c2d",scss:"$text-01",css:"color__text-01",type:"ui",shortDescription:"Primary text colour; Input labels;"},"text-02":{name:"text-02",hex:"#5a6872",scss:"$text-02",css:"color__text-02",type:"ui",shortDescription:"Secondary text; Help text"},"text-03":{name:"text-03",hex:"#dfe6eb",scss:"$text-03",css:"color__text-03",type:"ui",shortDescription:"Placeholder text"},"text-04":{name:"text-04",hex:"#ffffff",scss:"$text-04",css:"color__text-04",type:"ui",shortDescription:""},"inverse-01":{name:"inverse-01",hex:"#ffffff",scss:"$inverse-01",css:"color__inverse-01",type:"ui",shortDescription:"Inverse text color; Inverse icon color"},"field-01":{name:"field-01",hex:"#ffffff",scss:"$field-02",css:"color__field-01",type:"ui",shortDescription:"Default input fields; Fields on $ui-backgrounds"},"field-border-01":{name:"field-border-01",hex:"#d4d7d9",scss:"$field-border-01",css:"color__field-border-01",type:"ui",shortDescription:""},"disabled-01":{name:"disabled-01",hex:"#f9fbfc",scss:"$disabled-01",css:"color__disabled-01",type:"ui",shortDescription:""},"disabled-02":{name:"disabled-02",hex:"#dfe6eb",scss:"$disabled-02",css:"color__disabled-02",type:"ui",shortDescription:""},"sdg-01":{name:"sdg-01",hex:"#E5243B",scss:"$sdg-01",css:"color__sdg-01",type:"sdg",shortDescription:"No poverty, red"},"sdg-02":{name:"sdg-02",hex:"#DDA63A",scss:"$sdg-02",css:"color__sdg-02",type:"sdg",shortDescription:"Zero hunger, mustard"},"sdg-03":{name:"sdg-03",hex:"#4C9F38",scss:"$sdg-03",css:"color__sdg-03",type:"sdg",shortDescription:"Good health and well-being, kelly green"},"sdg-04":{name:"sdg-04",hex:"#C5192D",scss:"$sdg-04",css:"color__sdg-04",type:"sdg",shortDescription:"Quality education, dark red"},"sdg-05":{name:"sdg-05",hex:"#FF3A21",scss:"$sdg-05",css:"color__sdg-05",type:"sdg",shortDescription:"Gender equality, red orange"},"sdg-06":{name:"sdg-06",hex:"#26BDE2",scss:"$sdg-06",css:"color__sdg-06",type:"sdg",shortDescription:"Clean water and sanitation, bright blue"},"sdg-07":{name:"sdg-07",hex:"#FCC30B",scss:"$sdg-07",css:"color__sdg-07",type:"sdg",shortDescription:"Affordable and clean energy, yellow"},"sdg-08":{name:"sdg-08",hex:"#A21942",scss:"$sdg-08",css:"color__sdg-08",type:"sdg",shortDescription:"Decent work and economic growth, burgundy red"},"sdg-09":{name:"sdg-09",hex:"#FD6925",scss:"$sdg-09",css:"color__sdg-09",type:"sdg",shortDescription:"Industry, innovation and infrastructure, orange"},"sdg-10":{name:"sdg-10",hex:"#DD1367",scss:"$sdg-10",css:"color__sdg-10",type:"sdg",shortDescription:"Reduced inequalities, magentas"},"sdg-11":{name:"sdg-11",hex:"#FD9D24",scss:"$sdg-11",css:"color__sdg-11",type:"sdg",shortDescription:"Sustainable cities and communities, golden yellow"},"sdg-12":{name:"sdg-12",hex:"#BF8B2E",scss:"$sdg-12",css:"color__sdg-12",type:"sdg",shortDescription:"Responsible consumption and production, dark mustard"},"sdg-13":{name:"sdg-13",hex:"#3F7E44",scss:"$sdg-10",css:"color__sdg-13",type:"sdg",shortDescription:"Climate action, dark green"},"sdg-14":{name:"sdg-14",hex:"#0A97D9",scss:"$sdg-14",css:"color__sdg-14",type:"sdg",shortDescription:"Life below water, blue"},"sdg-15":{name:"sdg-15",hex:"#56C02B",scss:"$sdg-15",css:"color__sdg-15",type:"sdg",shortDescription:"Life on land, lime green"},"sdg-16":{name:"sdg-16",hex:"#00689D",scss:"$sdg-16",css:"color__sdg-16",type:"sdg",shortDescription:"Peace, justice and stron institutions, royal blue"},"sdg-17":{name:"sdg-17",hex:"#19486A",scss:"$sdg-17",css:"color__sdg-17",type:"sdg",shortDescription:"Partnership for the goals, navy blue"},"support-01":{name:"support-01",hex:"#c5192d",scss:"$support-01",css:"color__support-01",type:"support",shortDescription:"Error (same as color__red)",description:"Use the error color to indicate an error or to focus the attention on something which is crucial to see. Paired with a cross icon, red delivers the message that something went wrong."},"support-light-01":{name:"support-light-01",hex:"#f1c6cb",scss:"$support-light-01",css:"color__support-light-01",type:"support",shortDescription:"Lighter version of color-red",description:""},"support-02":{name:"support-02",hex:"#689e18",scss:"$support-02",css:"color__support-02",type:"support",shortDescription:"Success",description:"Use green to indicate success state. Paired with a checkmark icon the user knows that the operation was successfully completed."},"support-light-02":{name:"support-light-02",hex:"#ccdbcd",scss:"$support-light-02",css:"color__support-light-02",type:"support",shortDescription:"Lighter version of green",description:""},"support-03":{name:"support-03",hex:"#f7b825",scss:"$support-03",css:"color__support-03",type:"support",shortDescription:"Warning (same as color__yellow)",description:"Use yellow to indicate a transient warning which is less important than an error message. Yellow typically consists of items which require the user’s immediate attention, or indicate a waiting period. Although this overlaps with the use of red, yellow is more transient in nature."},"support-light-03":{name:"support-light-03",hex:"#fdedc9",scss:"$support-light-03",css:"color__support-light-03",type:"support",shortDescription:"Lighter version of yellow",description:""},"support-04":{name:"support-04",hex:"#85b7da",scss:"$support-04",css:"color__support-04",type:"support",shortDescription:"Info",description:""},"support-light-04":{name:"support-light-04",hex:"#c2dbec",scss:"$support-light-04",css:"color__support-light-04",type:"support",shortDescription:"",description:""}},Ys=typeof window<"u"?z.useLayoutEffect:z.useEffect,Al=typeof window>"u";function Dl(e,t){const r=typeof t=="boolean"?t:t?.defaultValue??!1,n=typeof t=="boolean"?void 0:t?.initializeWithValue??void 0,o=l=>Al?r:window.matchMedia(l).matches,[s,c]=z.useState(()=>n?o(e):r);function d(){c(o(e))}return Ys(()=>{const l=window.matchMedia(e);return d(),l.addListener?l.addListener(d):l.addEventListener("change",d),()=>{l.removeListener?l.removeListener(d):l.removeEventListener("change",d)}},[e]),s}exports.Accordion=mr;exports.AccordionItem=vr;exports.AddonAfter=zn;exports.AddonBefore=Wn;exports.AuthLayout=pa;exports.Avatar=_r;exports.BackgroundContent=ma;exports.BannerNavigation=Fn;exports.BannerNavigationItem=$e;exports.BannerNavigationWithContent=va;exports.BlockNotification=pt;exports.Breadcrumb=ga;exports.BreadcrumbHome=xa;exports.BreadcrumbItem=_a;exports.Button=qe;exports.Callout=pt;exports.Card=Zn;exports.CardExternal=Jn;exports.Checkbox=rs;exports.ContentSwitcher=Aa;exports.ContextMenu=nc;exports.ContextMenuGroup=sc;exports.ContextMenuItem=oc;exports.Credits=ns;exports.DatePicker=es;exports.DatePickerInput=wr;exports.DateRangePicker=ts;exports.DateRangePickerInput=$r;exports.Empty=Xn;exports.Footer=gs;exports.Form=ys;exports.FormGroup=ac;exports.FormHint=ic;exports.FormItem=Hn;exports.FormLabel=cc;exports.Helper=Yn;exports.Hero=Qn;exports.HeroExternal=ka;exports.InfoBar=_s;exports.InlineErrorMessage=gr;exports.InlineLoading=xs;exports.Input=Ce;exports.InputGroup=ks;exports.Item=Is;exports.Label=Un;exports.Link=he;exports.List=qt;exports.ListItem=bs;exports.Loading=kr;exports.MainNavigation=ws;exports.MainNavigationContext=Pr;exports.MainNavigationItem=uc;exports.Modal=Mr;exports.ModalFooter=Cs;exports.ModalWrapper=Ts;exports.Module=Fc;exports.ModuleBody=Hc;exports.ModuleFooter=zc;exports.ModuleHeader=Wc;exports.NotificationActionButton=xc;exports.NotificationButton=Es;exports.NotificationTextDetails=Dr;exports.NumberInput=Ss;exports.Pagination=Ir;exports.PasswordInput=Ws;exports.RadioButton=Rs;exports.ReadMore=Ps;exports.Search=yr;exports.SecondaryNavigation=As;exports.SecondaryNavigationTitle=Ds;exports.Select=Pt;exports.SelectItem=At;exports.SelectItemGroup=Xc;exports.Sidebar=Qc;exports.SidebarBackButton=rl;exports.SidebarContentBody=el;exports.SidebarContentHeader=Jc;exports.SidebarHeader=Zc;exports.SidebarScroll=tl;exports.Slider=Ms;exports.StepNavigation=Gc;exports.StepNavigationItem=Kc;exports.Story=$s;exports.SubNavigation=dc;exports.SubNavigationContent=gc;exports.SubNavigationFilter=vc;exports.SubNavigationGroup=_c;exports.SubNavigationHeader=pc;exports.SubNavigationItem=fc;exports.SubNavigationLink=hc;exports.SubNavigationList=yc;exports.SubNavigationTitle=mc;exports.Tab=ol;exports.TabContent=qs;exports.Table=Ns;exports.TablePagination=Ls;exports.TableSorting=Ec;exports.Tabs=Fs;exports.Tag=br;exports.Text=Ue;exports.TextArea=Hs;exports.TextInput=Lr;exports.ToastNotification=wc;exports.Toggle=zs;exports.Tooltip=Rr;exports.Unit=Sl;exports.User=il;exports.Value=Ol;exports.WFPCoreContext=It;exports.WFPCoreProvider=uo;exports.Wrapper=Be;exports.buttonKinds=Ta;exports.colors=Pl;exports.defaultWFPContext=Mt;exports.mdxComponents=qc;exports.notificationtypes=Sa;exports.pageWidths=ha;exports.tooltipStyle=ec;exports.tooltipStyleDark=tc;exports.uniqueId=Os;exports.useInput=Te;exports.useIsomorphicLayoutEffect=Ys;exports.useMainNavigation=Ar;exports.useMediaQuery=Dl;exports.useTab=Bs;exports.useTheme=kl;exports.withWFPCoreSettings=Rl;
|
|
103
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),m}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var d=z,l={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},i=Symbol.for("react.portal"),h=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ye.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,ye.createPortal=function(m,f){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error("Target container is not a DOM element.");return r(m,f,null,v)},ye.flushSync=function(m){var f=h.T,v=l.p;try{if(h.T=null,l.p=2,m)return m()}finally{h.T=f,l.p=v,l.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},ye.preconnect=function(m,f){typeof m=="string"&&m?f!=null&&typeof f!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",s(f)):f!=null&&typeof f.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(f.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(m)),typeof m=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,l.d.C(m,f))},ye.prefetchDNS=function(m){if(typeof m!="string"||!m)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(m));else if(1<arguments.length){var f=arguments[1];typeof f=="object"&&f.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(f)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(f))}typeof m=="string"&&l.d.D(m)},ye.preinit=function(m,f){if(typeof m=="string"&&m?f==null||typeof f!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",s(f)):f.as!=="style"&&f.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',s(f.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(m)),typeof m=="string"&&f&&typeof f.as=="string"){var v=f.as,w=n(v,f.crossOrigin),y=typeof f.integrity=="string"?f.integrity:void 0,x=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;v==="style"?l.d.S(m,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:w,integrity:y,fetchPriority:x}):v==="script"&&l.d.X(m,{crossOrigin:w,integrity:y,fetchPriority:x,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},ye.preinitModule=function(m,f){var v="";if(typeof m=="string"&&m||(v+=" The `href` argument encountered was "+o(m)+"."),f!==void 0&&typeof f!="object"?v+=" The `options` argument encountered was "+o(f)+".":f&&"as"in f&&f.as!=="script"&&(v+=" The `as` option encountered was "+s(f.as)+"."),v)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",v);else switch(v=f&&typeof f.as=="string"?f.as:"script",v){case"script":break;default:v=s(v),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',v,m)}typeof m=="string"&&(typeof f=="object"&&f!==null?(f.as==null||f.as==="script")&&(v=n(f.as,f.crossOrigin),l.d.M(m,{crossOrigin:v,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})):f==null&&l.d.M(m))},ye.preload=function(m,f){var v="";if(typeof m=="string"&&m||(v+=" The `href` argument encountered was "+o(m)+"."),f==null||typeof f!="object"?v+=" The `options` argument encountered was "+o(f)+".":typeof f.as=="string"&&f.as||(v+=" The `as` option encountered was "+o(f.as)+"."),v&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',v),typeof m=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){v=f.as;var w=n(v,f.crossOrigin);l.d.L(m,v,{crossOrigin:w,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},ye.preloadModule=function(m,f){var v="";typeof m=="string"&&m||(v+=" The `href` argument encountered was "+o(m)+"."),f!==void 0&&typeof f!="object"?v+=" The `options` argument encountered was "+o(f)+".":f&&"as"in f&&typeof f.as!="string"&&(v+=" The `as` option encountered was "+o(f.as)+"."),v&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',v),typeof m=="string"&&(f?(v=n(f.as,f.crossOrigin),l.d.m(m,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:v,integrity:typeof f.integrity=="string"?f.integrity:void 0})):l.d.m(m))},ye.requestFormReset=function(m){l.d.r(m)},ye.unstable_batchedUpdates=function(m,f){return m(f)},ye.useFormState=function(m,f,v){return c().useFormState(m,f,v)},ye.useFormStatus=function(){return c().useHostTransitionStatus()},ye.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),ye}var pn;function Ia(){if(pn)return Nt.exports;pn=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),Nt.exports=Da()):Nt.exports=Ma(),Nt.exports}var ss=Ia();const os=Dt(ss);function La(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,s;for(s=0;s<n.length;s++)o=n[s],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},De.apply(this,arguments)}var mn=function(t){return t.reduce(function(r,n){var o=n[0],s=n[1];return r[o]=s,r},{})},hn=typeof window<"u"&&window.document&&window.document.createElement?F.useLayoutEffect:F.useEffect,xe="top",Ne="bottom",Ce="right",be="left",Er="auto",mt=[xe,Ne,Ce,be],Xe="start",dt="end",Ba="clippingParents",as="viewport",at="popper",qa="reference",vn=mt.reduce(function(e,t){return e.concat([t+"-"+Xe,t+"-"+dt])},[]),is=[].concat(mt,[Er]).reduce(function(e,t){return e.concat([t,t+"-"+Xe,t+"-"+dt])},[]),Fa="beforeRead",Ha="read",Wa="afterRead",za="beforeMain",Ua="main",Ya="afterMain",Va="beforeWrite",Ga="write",Ka="afterWrite",Xa=[Fa,Ha,Wa,za,Ua,Ya,Va,Ga,Ka];function ke(e){return e?(e.nodeName||"").toLowerCase():null}function $e(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ze(e){var t=$e(e).Element;return e instanceof t||e instanceof Element}function je(e){var t=$e(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function jr(e){if(typeof ShadowRoot>"u")return!1;var t=$e(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qa(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},s=t.elements[r];!je(s)||!ke(s)||(Object.assign(s.style,n),Object.keys(o).forEach(function(c){var d=o[c];d===!1?s.removeAttribute(c):s.setAttribute(c,d===!0?"":d)}))})}function Za(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],s=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),d=c.reduce(function(l,i){return l[i]="",l},{});!je(o)||!ke(o)||(Object.assign(o.style,d),Object.keys(s).forEach(function(l){o.removeAttribute(l)}))})}}const Ja={name:"applyStyles",enabled:!0,phase:"write",fn:Qa,effect:Za,requires:["computeStyles"]};function Re(e){return e.split("-")[0]}var We=Math.max,kt=Math.min,Qe=Math.round;function dr(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function cs(){return!/^((?!chrome|android).)*safari/i.test(dr())}function Ze(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,s=1;t&&je(e)&&(o=e.offsetWidth>0&&Qe(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Qe(n.height)/e.offsetHeight||1);var c=ze(e)?$e(e):window,d=c.visualViewport,l=!cs()&&r,i=(n.left+(l&&d?d.offsetLeft:0))/o,h=(n.top+(l&&d?d.offsetTop:0))/s,m=n.width/o,f=n.height/s;return{width:m,height:f,top:h,right:i+m,bottom:h+f,left:i,x:i,y:h}}function Nr(e){var t=Ze(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function ls(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&jr(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Me(e){return $e(e).getComputedStyle(e)}function ei(e){return["table","td","th"].indexOf(ke(e))>=0}function Fe(e){return((ze(e)?e.ownerDocument:e.document)||window.document).documentElement}function Bt(e){return ke(e)==="html"?e:e.assignedSlot||e.parentNode||(jr(e)?e.host:null)||Fe(e)}function gn(e){return!je(e)||Me(e).position==="fixed"?null:e.offsetParent}function ti(e){var t=/firefox/i.test(dr()),r=/Trident/i.test(dr());if(r&&je(e)){var n=Me(e);if(n.position==="fixed")return null}var o=Bt(e);for(jr(o)&&(o=o.host);je(o)&&["html","body"].indexOf(ke(o))<0;){var s=Me(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function ht(e){for(var t=$e(e),r=gn(e);r&&ei(r)&&Me(r).position==="static";)r=gn(r);return r&&(ke(r)==="html"||ke(r)==="body"&&Me(r).position==="static")?t:r||ti(e)||t}function Cr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lt(e,t,r){return We(e,kt(t,r))}function ri(e,t,r){var n=lt(e,t,r);return n>r?r:n}function us(){return{top:0,right:0,bottom:0,left:0}}function ds(e){return Object.assign({},us(),e)}function fs(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var ni=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ds(typeof t!="number"?t:fs(t,mt))};function si(e){var t,r=e.state,n=e.name,o=e.options,s=r.elements.arrow,c=r.modifiersData.popperOffsets,d=Re(r.placement),l=Cr(d),i=[be,Ce].indexOf(d)>=0,h=i?"height":"width";if(!(!s||!c)){var m=ni(o.padding,r),f=Nr(s),v=l==="y"?xe:be,w=l==="y"?Ne:Ce,y=r.rects.reference[h]+r.rects.reference[l]-c[l]-r.rects.popper[h],x=c[l]-r.rects.reference[l],j=ht(s),O=j?l==="y"?j.clientHeight||0:j.clientWidth||0:0,S=y/2-x/2,E=m[v],_=O-f[h]-m[w],N=O/2-f[h]/2+S,k=lt(E,N,_),D=l;r.modifiersData[n]=(t={},t[D]=k,t.centerOffset=k-N,t)}}function oi(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||ls(t.elements.popper,o)&&(t.elements.arrow=o))}const ai={name:"arrow",enabled:!0,phase:"main",fn:si,effect:oi,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Je(e){return e.split("-")[1]}var ii={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ci(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Qe(r*o)/o||0,y:Qe(n*o)/o||0}}function yn(e){var t,r=e.popper,n=e.popperRect,o=e.placement,s=e.variation,c=e.offsets,d=e.position,l=e.gpuAcceleration,i=e.adaptive,h=e.roundOffsets,m=e.isFixed,f=c.x,v=f===void 0?0:f,w=c.y,y=w===void 0?0:w,x=typeof h=="function"?h({x:v,y}):{x:v,y};v=x.x,y=x.y;var j=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),S=be,E=xe,_=window;if(i){var N=ht(r),k="clientHeight",D="clientWidth";if(N===$e(r)&&(N=Fe(r),Me(N).position!=="static"&&d==="absolute"&&(k="scrollHeight",D="scrollWidth")),N=N,o===xe||(o===be||o===Ce)&&s===dt){E=Ne;var W=m&&N===_&&_.visualViewport?_.visualViewport.height:N[k];y-=W-n.height,y*=l?1:-1}if(o===be||(o===xe||o===Ne)&&s===dt){S=Ce;var U=m&&N===_&&_.visualViewport?_.visualViewport.width:N[D];v-=U-n.width,v*=l?1:-1}}var M=Object.assign({position:d},i&&ii),L=h===!0?ci({x:v,y},$e(r)):{x:v,y};if(v=L.x,y=L.y,l){var J;return Object.assign({},M,(J={},J[E]=O?"0":"",J[S]=j?"0":"",J.transform=(_.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",J))}return Object.assign({},M,(t={},t[E]=O?y+"px":"",t[S]=j?v+"px":"",t.transform="",t))}function li(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,s=r.adaptive,c=s===void 0?!0:s,d=r.roundOffsets,l=d===void 0?!0:d,i={placement:Re(t.placement),variation:Je(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,yn(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,yn(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ui={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:li,data:{}};var Ct={passive:!0};function di(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,s=o===void 0?!0:o,c=n.resize,d=c===void 0?!0:c,l=$e(t.elements.popper),i=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&i.forEach(function(h){h.addEventListener("scroll",r.update,Ct)}),d&&l.addEventListener("resize",r.update,Ct),function(){s&&i.forEach(function(h){h.removeEventListener("scroll",r.update,Ct)}),d&&l.removeEventListener("resize",r.update,Ct)}}const fi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:di,data:{}};var pi={left:"right",right:"left",bottom:"top",top:"bottom"};function Tt(e){return e.replace(/left|right|bottom|top/g,function(t){return pi[t]})}var mi={start:"end",end:"start"};function _n(e){return e.replace(/start|end/g,function(t){return mi[t]})}function Tr(e){var t=$e(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Sr(e){return Ze(Fe(e)).left+Tr(e).scrollLeft}function hi(e,t){var r=$e(e),n=Fe(e),o=r.visualViewport,s=n.clientWidth,c=n.clientHeight,d=0,l=0;if(o){s=o.width,c=o.height;var i=cs();(i||!i&&t==="fixed")&&(d=o.offsetLeft,l=o.offsetTop)}return{width:s,height:c,x:d+Sr(e),y:l}}function vi(e){var t,r=Fe(e),n=Tr(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=We(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=We(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-n.scrollLeft+Sr(e),l=-n.scrollTop;return Me(o||r).direction==="rtl"&&(d+=We(r.clientWidth,o?o.clientWidth:0)-s),{width:s,height:c,x:d,y:l}}function Or(e){var t=Me(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function ps(e){return["html","body","#document"].indexOf(ke(e))>=0?e.ownerDocument.body:je(e)&&Or(e)?e:ps(Bt(e))}function ut(e,t){var r;t===void 0&&(t=[]);var n=ps(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),s=$e(n),c=o?[s].concat(s.visualViewport||[],Or(n)?n:[]):n,d=t.concat(c);return o?d:d.concat(ut(Bt(c)))}function fr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function gi(e,t){var r=Ze(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function xn(e,t,r){return t===as?fr(hi(e,r)):ze(t)?gi(t,r):fr(vi(Fe(e)))}function yi(e){var t=ut(Bt(e)),r=["absolute","fixed"].indexOf(Me(e).position)>=0,n=r&&je(e)?ht(e):e;return ze(n)?t.filter(function(o){return ze(o)&&ls(o,n)&&ke(o)!=="body"}):[]}function _i(e,t,r,n){var o=t==="clippingParents"?yi(e):[].concat(t),s=[].concat(o,[r]),c=s[0],d=s.reduce(function(l,i){var h=xn(e,i,n);return l.top=We(h.top,l.top),l.right=kt(h.right,l.right),l.bottom=kt(h.bottom,l.bottom),l.left=We(h.left,l.left),l},xn(e,c,n));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ms(e){var t=e.reference,r=e.element,n=e.placement,o=n?Re(n):null,s=n?Je(n):null,c=t.x+t.width/2-r.width/2,d=t.y+t.height/2-r.height/2,l;switch(o){case xe:l={x:c,y:t.y-r.height};break;case Ne:l={x:c,y:t.y+t.height};break;case Ce:l={x:t.x+t.width,y:d};break;case be:l={x:t.x-r.width,y:d};break;default:l={x:t.x,y:t.y}}var i=o?Cr(o):null;if(i!=null){var h=i==="y"?"height":"width";switch(s){case Xe:l[i]=l[i]-(t[h]/2-r[h]/2);break;case dt:l[i]=l[i]+(t[h]/2-r[h]/2);break}}return l}function ft(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,s=r.strategy,c=s===void 0?e.strategy:s,d=r.boundary,l=d===void 0?Ba:d,i=r.rootBoundary,h=i===void 0?as:i,m=r.elementContext,f=m===void 0?at:m,v=r.altBoundary,w=v===void 0?!1:v,y=r.padding,x=y===void 0?0:y,j=ds(typeof x!="number"?x:fs(x,mt)),O=f===at?qa:at,S=e.rects.popper,E=e.elements[w?O:f],_=_i(ze(E)?E:E.contextElement||Fe(e.elements.popper),l,h,c),N=Ze(e.elements.reference),k=ms({reference:N,element:S,placement:o}),D=fr(Object.assign({},S,k)),W=f===at?D:N,U={top:_.top-W.top+j.top,bottom:W.bottom-_.bottom+j.bottom,left:_.left-W.left+j.left,right:W.right-_.right+j.right},M=e.modifiersData.offset;if(f===at&&M){var L=M[o];Object.keys(U).forEach(function(J){var X=[Ce,Ne].indexOf(J)>=0?1:-1,G=[xe,Ne].indexOf(J)>=0?"y":"x";U[J]+=L[G]*X})}return U}function xi(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,s=r.rootBoundary,c=r.padding,d=r.flipVariations,l=r.allowedAutoPlacements,i=l===void 0?is:l,h=Je(n),m=h?d?vn:vn.filter(function(w){return Je(w)===h}):mt,f=m.filter(function(w){return i.indexOf(w)>=0});f.length===0&&(f=m);var v=f.reduce(function(w,y){return w[y]=ft(e,{placement:y,boundary:o,rootBoundary:s,padding:c})[Re(y)],w},{});return Object.keys(v).sort(function(w,y){return v[w]-v[y]})}function bi(e){if(Re(e)===Er)return[];var t=Tt(e);return[_n(e),t,_n(t)]}function wi(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,s=o===void 0?!0:o,c=r.altAxis,d=c===void 0?!0:c,l=r.fallbackPlacements,i=r.padding,h=r.boundary,m=r.rootBoundary,f=r.altBoundary,v=r.flipVariations,w=v===void 0?!0:v,y=r.allowedAutoPlacements,x=t.options.placement,j=Re(x),O=j===x,S=l||(O||!w?[Tt(x)]:bi(x)),E=[x].concat(S).reduce(function(P,H){return P.concat(Re(H)===Er?xi(t,{placement:H,boundary:h,rootBoundary:m,padding:i,flipVariations:w,allowedAutoPlacements:y}):H)},[]),_=t.rects.reference,N=t.rects.popper,k=new Map,D=!0,W=E[0],U=0;U<E.length;U++){var M=E[U],L=Re(M),J=Je(M)===Xe,X=[xe,Ne].indexOf(L)>=0,G=X?"width":"height",V=ft(t,{placement:M,boundary:h,rootBoundary:m,altBoundary:f,padding:i}),ee=X?J?Ce:be:J?Ne:xe;_[G]>N[G]&&(ee=Tt(ee));var le=Tt(ee),ce=[];if(s&&ce.push(V[L]<=0),d&&ce.push(V[ee]<=0,V[le]<=0),ce.every(function(P){return P})){W=M,D=!1;break}k.set(M,ce)}if(D)for(var u=w?3:1,g=function(H){var I=E.find(function(K){var B=k.get(K);if(B)return B.slice(0,H).every(function(te){return te})});if(I)return W=I,"break"},$=u;$>0;$--){var T=g($);if(T==="break")break}t.placement!==W&&(t.modifiersData[n]._skip=!0,t.placement=W,t.reset=!0)}}const $i={name:"flip",enabled:!0,phase:"main",fn:wi,requiresIfExists:["offset"],data:{_skip:!1}};function bn(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function wn(e){return[xe,Ce,Ne,be].some(function(t){return e[t]>=0})}function Ei(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,c=ft(t,{elementContext:"reference"}),d=ft(t,{altBoundary:!0}),l=bn(c,n),i=bn(d,o,s),h=wn(l),m=wn(i);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:i,isReferenceHidden:h,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":m})}const ji={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ei};function Ni(e,t,r){var n=Re(e),o=[be,xe].indexOf(n)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=s[0],d=s[1];return c=c||0,d=(d||0)*o,[be,Ce].indexOf(n)>=0?{x:d,y:c}:{x:c,y:d}}function Ci(e){var t=e.state,r=e.options,n=e.name,o=r.offset,s=o===void 0?[0,0]:o,c=is.reduce(function(h,m){return h[m]=Ni(m,t.rects,s),h},{}),d=c[t.placement],l=d.x,i=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=i),t.modifiersData[n]=c}const Ti={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ci};function Si(e){var t=e.state,r=e.name;t.modifiersData[r]=ms({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Oi={name:"popperOffsets",enabled:!0,phase:"read",fn:Si,data:{}};function Ri(e){return e==="x"?"y":"x"}function ki(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,s=o===void 0?!0:o,c=r.altAxis,d=c===void 0?!1:c,l=r.boundary,i=r.rootBoundary,h=r.altBoundary,m=r.padding,f=r.tether,v=f===void 0?!0:f,w=r.tetherOffset,y=w===void 0?0:w,x=ft(t,{boundary:l,rootBoundary:i,padding:m,altBoundary:h}),j=Re(t.placement),O=Je(t.placement),S=!O,E=Cr(j),_=Ri(E),N=t.modifiersData.popperOffsets,k=t.rects.reference,D=t.rects.popper,W=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,U=typeof W=="number"?{mainAxis:W,altAxis:W}:Object.assign({mainAxis:0,altAxis:0},W),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(N){if(s){var J,X=E==="y"?xe:be,G=E==="y"?Ne:Ce,V=E==="y"?"height":"width",ee=N[E],le=ee+x[X],ce=ee-x[G],u=v?-D[V]/2:0,g=O===Xe?k[V]:D[V],$=O===Xe?-D[V]:-k[V],T=t.elements.arrow,P=v&&T?Nr(T):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:us(),I=H[X],K=H[G],B=lt(0,k[V],P[V]),te=S?k[V]/2-u-B-I-U.mainAxis:g-B-I-U.mainAxis,ne=S?-k[V]/2+u+B+K+U.mainAxis:$+B+K+U.mainAxis,me=t.elements.arrow&&ht(t.elements.arrow),A=me?E==="y"?me.clientTop||0:me.clientLeft||0:0,he=(J=M?.[E])!=null?J:0,we=ee+te-he-A,Ie=ee+ne-he,_e=lt(v?kt(le,we):le,ee,v?We(ce,Ie):ce);N[E]=_e,L[E]=_e-ee}if(d){var He,vt=E==="x"?xe:be,zt=E==="x"?Ne:Ce,re=N[_],Ae=_==="y"?"height":"width",et=re+x[vt],tt=re-x[zt],Ye=[xe,be].indexOf(j)!==-1,rt=(He=M?.[_])!=null?He:0,gt=Ye?et:re-k[Ae]-D[Ae]-rt+U.altAxis,yt=Ye?re+k[Ae]+D[Ae]-rt-U.altAxis:tt,nt=v&&Ye?ri(gt,re,yt):lt(v?gt:et,re,v?yt:tt);N[_]=nt,L[_]=nt-re}t.modifiersData[n]=L}}const Pi={name:"preventOverflow",enabled:!0,phase:"main",fn:ki,requiresIfExists:["offset"]};function Ai(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Di(e){return e===$e(e)||!je(e)?Tr(e):Ai(e)}function Mi(e){var t=e.getBoundingClientRect(),r=Qe(t.width)/e.offsetWidth||1,n=Qe(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ii(e,t,r){r===void 0&&(r=!1);var n=je(t),o=je(t)&&Mi(t),s=Fe(t),c=Ze(e,o,r),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((ke(t)!=="body"||Or(s))&&(d=Di(t)),je(t)?(l=Ze(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Sr(s))),{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function Li(e){var t=new Map,r=new Set,n=[];e.forEach(function(s){t.set(s.name,s)});function o(s){r.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(d){if(!r.has(d)){var l=t.get(d);l&&o(l)}}),n.push(s)}return e.forEach(function(s){r.has(s.name)||o(s)}),n}function Bi(e){var t=Li(e);return Xa.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function qi(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Fi(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var $n={placement:"bottom",modifiers:[],strategy:"absolute"};function En(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Hi(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,s=o===void 0?$n:o;return function(d,l,i){i===void 0&&(i=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},$n,s),modifiersData:{},elements:{reference:d,popper:l},attributes:{},styles:{}},m=[],f=!1,v={state:h,setOptions:function(j){var O=typeof j=="function"?j(h.options):j;y(),h.options=Object.assign({},s,h.options,O),h.scrollParents={reference:ze(d)?ut(d):d.contextElement?ut(d.contextElement):[],popper:ut(l)};var S=Bi(Fi([].concat(n,h.options.modifiers)));return h.orderedModifiers=S.filter(function(E){return E.enabled}),w(),v.update()},forceUpdate:function(){if(!f){var j=h.elements,O=j.reference,S=j.popper;if(En(O,S)){h.rects={reference:Ii(O,ht(S),h.options.strategy==="fixed"),popper:Nr(S)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(U){return h.modifiersData[U.name]=Object.assign({},U.data)});for(var E=0;E<h.orderedModifiers.length;E++){if(h.reset===!0){h.reset=!1,E=-1;continue}var _=h.orderedModifiers[E],N=_.fn,k=_.options,D=k===void 0?{}:k,W=_.name;typeof N=="function"&&(h=N({state:h,options:D,name:W,instance:v})||h)}}}},update:qi(function(){return new Promise(function(x){v.forceUpdate(),x(h)})}),destroy:function(){y(),f=!0}};if(!En(d,l))return v;v.setOptions(i).then(function(x){!f&&i.onFirstUpdate&&i.onFirstUpdate(x)});function w(){h.orderedModifiers.forEach(function(x){var j=x.name,O=x.options,S=O===void 0?{}:O,E=x.effect;if(typeof E=="function"){var _=E({state:h,name:j,instance:v,options:S}),N=function(){};m.push(_||N)}})}function y(){m.forEach(function(x){return x()}),m=[]}return v}}var Wi=[fi,Oi,ui,Ja,Ti,$i,Pi,ai,ji],zi=Hi({defaultModifiers:Wi}),rr,jn;function Ui(){if(jn)return rr;jn=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function o(s,c){if(s===c)return!0;if(s&&c&&typeof s=="object"&&typeof c=="object"){if(s.constructor!==c.constructor)return!1;var d,l,i;if(Array.isArray(s)){if(d=s.length,d!=c.length)return!1;for(l=d;l--!==0;)if(!o(s[l],c[l]))return!1;return!0}var h;if(t&&s instanceof Map&&c instanceof Map){if(s.size!==c.size)return!1;for(h=s.entries();!(l=h.next()).done;)if(!c.has(l.value[0]))return!1;for(h=s.entries();!(l=h.next()).done;)if(!o(l.value[1],c.get(l.value[0])))return!1;return!0}if(r&&s instanceof Set&&c instanceof Set){if(s.size!==c.size)return!1;for(h=s.entries();!(l=h.next()).done;)if(!c.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(c)){if(d=s.length,d!=c.length)return!1;for(l=d;l--!==0;)if(s[l]!==c[l])return!1;return!0}if(s.constructor===RegExp)return s.source===c.source&&s.flags===c.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof c.valueOf=="function")return s.valueOf()===c.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof c.toString=="function")return s.toString()===c.toString();if(i=Object.keys(s),d=i.length,d!==Object.keys(c).length)return!1;for(l=d;l--!==0;)if(!Object.prototype.hasOwnProperty.call(c,i[l]))return!1;if(e&&s instanceof Element)return!1;for(l=d;l--!==0;)if(!((i[l]==="_owner"||i[l]==="__v"||i[l]==="__o")&&s.$$typeof)&&!o(s[i[l]],c[i[l]]))return!1;return!0}return s!==s&&c!==c}return rr=function(c,d){try{return o(c,d)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},rr}var Yi=Ui();const Vi=Dt(Yi);var Gi=[],Ki=function(t,r,n){n===void 0&&(n={});var o=F.useRef(null),s={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Gi},c=F.useState({styles:{popper:{position:s.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),d=c[0],l=c[1],i=F.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(v){var w=v.state,y=Object.keys(w.elements);ss.flushSync(function(){l({styles:mn(y.map(function(x){return[x,w.styles[x]||{}]})),attributes:mn(y.map(function(x){return[x,w.attributes[x]]}))})})},requires:["computeStyles"]}},[]),h=F.useMemo(function(){var f={onFirstUpdate:s.onFirstUpdate,placement:s.placement,strategy:s.strategy,modifiers:[].concat(s.modifiers,[i,{name:"applyStyles",enabled:!1}])};return Vi(o.current,f)?o.current||f:(o.current=f,f)},[s.onFirstUpdate,s.placement,s.strategy,s.modifiers,i]),m=F.useRef();return hn(function(){m.current&&m.current.setOptions(h)},[h]),hn(function(){if(!(t==null||r==null)){var f=n.createPopper||zi,v=f(t,r,h);return m.current=v,function(){v.destroy(),m.current=null}}},[t,r,n.createPopper]),{state:m.current?m.current.state:null,styles:d.styles,attributes:d.attributes,update:m.current?m.current.update:null,forceUpdate:m.current?m.current.forceUpdate:null}};function hs(e){var t=F.useRef(e);return t.current=e,F.useCallback(function(){return t.current},[])}var Xi=function(){};function Qi(e){var t=e.initial,r=e.value,n=e.onChange,o=n===void 0?Xi:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var s=F.useState(t),c=s[0],d=s[1],l=hs(c),i=F.useCallback(function(m){var f=l(),v=typeof m=="function"?m(f):m;typeof v.persist=="function"&&v.persist(),d(v),typeof o=="function"&&o(v)},[l,o]),h=r!==void 0;return[h?r:c,h?o:i]}function vs(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:function(){return null}}}}var Zi=["styles","attributes"],Nn={getBoundingClientRect:vs()},Cn={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function Ji(e,t){var r,n,o;e===void 0&&(e={}),t===void 0&&(t={});var s=Object.keys(Cn).reduce(function(G,V){var ee;return De({},G,(ee={},ee[V]=G[V]!==void 0?G[V]:Cn[V],ee))},e),c=F.useMemo(function(){return[{name:"offset",options:{offset:s.offset}}]},Array.isArray(s.offset)?s.offset:[]),d=De({},t,{placement:t.placement||s.placement,modifiers:t.modifiers||c}),l=F.useState(null),i=l[0],h=l[1],m=F.useState(null),f=m[0],v=m[1],w=Qi({initial:s.defaultVisible,value:s.visible,onChange:s.onVisibleChange}),y=w[0],x=w[1],j=F.useRef();F.useEffect(function(){return function(){return clearTimeout(j.current)}},[]);var O=Ki(s.followCursor?Nn:i,f,d),S=O.styles,E=O.attributes,_=La(O,Zi),N=_.update,k=hs({visible:y,triggerRef:i,tooltipRef:f,finalConfig:s}),D=F.useCallback(function(G){return Array.isArray(s.trigger)?s.trigger.includes(G):s.trigger===G},Array.isArray(s.trigger)?s.trigger:[s.trigger]),W=F.useCallback(function(){clearTimeout(j.current),j.current=window.setTimeout(function(){return x(!1)},s.delayHide)},[s.delayHide,x]),U=F.useCallback(function(){clearTimeout(j.current),j.current=window.setTimeout(function(){return x(!0)},s.delayShow)},[s.delayShow,x]),M=F.useCallback(function(){k().visible?W():U()},[k,W,U]);F.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var G=function(ee){var le,ce=k(),u=ce.tooltipRef,g=ce.triggerRef,$=(ee.composedPath==null||(le=ee.composedPath())==null?void 0:le[0])||ee.target;$ instanceof Node&&u!=null&&g!=null&&!u.contains($)&&!g.contains($)&&W()};return document.addEventListener("mousedown",G),function(){return document.removeEventListener("mousedown",G)}}},[k,W]),F.useEffect(function(){if(!(i==null||!D("click")))return i.addEventListener("click",M),function(){return i.removeEventListener("click",M)}},[i,D,M]),F.useEffect(function(){if(!(i==null||!D("double-click")))return i.addEventListener("dblclick",M),function(){return i.removeEventListener("dblclick",M)}},[i,D,M]),F.useEffect(function(){if(!(i==null||!D("right-click"))){var G=function(ee){ee.preventDefault(),M()};return i.addEventListener("contextmenu",G),function(){return i.removeEventListener("contextmenu",G)}}},[i,D,M]),F.useEffect(function(){if(!(i==null||!D("focus")))return i.addEventListener("focus",U),i.addEventListener("blur",W),function(){i.removeEventListener("focus",U),i.removeEventListener("blur",W)}},[i,D,U,W]),F.useEffect(function(){if(!(i==null||!D("hover")))return i.addEventListener("mouseenter",U),i.addEventListener("mouseleave",W),function(){i.removeEventListener("mouseenter",U),i.removeEventListener("mouseleave",W)}},[i,D,U,W]),F.useEffect(function(){if(!(f==null||!D("hover")||!k().finalConfig.interactive))return f.addEventListener("mouseenter",U),f.addEventListener("mouseleave",W),function(){f.removeEventListener("mouseenter",U),f.removeEventListener("mouseleave",W)}},[f,D,U,W,k]);var L=_==null||(r=_.state)==null||(n=r.modifiersData)==null||(o=n.hide)==null?void 0:o.isReferenceHidden;F.useEffect(function(){s.closeOnTriggerHidden&&L&&W()},[s.closeOnTriggerHidden,W,L]),F.useEffect(function(){if(!s.followCursor||i==null)return;function G(V){var ee=V.clientX,le=V.clientY;Nn.getBoundingClientRect=vs(ee,le),N?.()}return i.addEventListener("mousemove",G),function(){return i.removeEventListener("mousemove",G)}},[s.followCursor,i,N]),F.useEffect(function(){if(!(f==null||N==null||s.mutationObserverOptions==null)){var G=new MutationObserver(N);return G.observe(f,s.mutationObserverOptions),function(){return G.disconnect()}}},[s.mutationObserverOptions,f,N]);var J=function(V){return V===void 0&&(V={}),De({},V,{style:De({},V.style,S.popper)},E.popper,{"data-popper-interactive":s.interactive})},X=function(V){return V===void 0&&(V={}),De({},V,E.arrow,{style:De({},V.style,S.arrow),"data-popper-arrow":!0})};return De({getArrowProps:X,getTooltipProps:J,setTooltipRef:v,setTriggerRef:h,tooltipRef:f,triggerRef:i,visible:y},_)}const ec={duration:100,animation:"fade",theme:"light",arrow:!0},tc={duration:100,animation:"fade",theme:"dark",arrow:!0},Rr=({className:e,dark:t,noPadding:r,children:n,content:o,trigger:s="hover",placement:c="top",createRefWrapper:d,closeOnOutsideClick:l,closeOnTriggerHidden:i,defaultVisible:h,delayHide:m,delayShow:f,followCursor:v,interactive:w,mutationObserverOptions:y,offset:x,onVisibleChange:j,usePortal:O})=>{const{prefix:S}=R(),[E,_]=F.useState(!1),N=C(e,{[`${S}--tooltip`]:!0,[`${S}--tooltip--disable-padding`]:r,[`${S}--tooltip--visible`]:E,[`${S}--tooltip--${s}`]:s,[`${S}--tooltip--dark`]:t}),{getArrowProps:k,getTooltipProps:D,setTooltipRef:W,setTriggerRef:U,visible:M}=Ji({closeOnOutsideClick:l,closeOnTriggerHidden:i,defaultVisible:h,delayHide:m,delayShow:f,followCursor:v,interactive:w,mutationObserverOptions:y,offset:x,onVisibleChange:j,placement:c,trigger:s}),L=C({[`${S}--tooltip--trigger`]:!0}),J=C(e,{[`${S}--tooltip--trigger`]:!0}),X=!d&&typeof n!="string"?F.cloneElement(n,{ref:U,className:L}):a.jsx("span",{ref:U,className:J,children:n}),G=ee=>{_(ee),j&&j(ee)},V=a.jsxs("div",{ref:W,...D({className:N}),children:[typeof o=="function"?o({setVisibility:_,visibilityChange:G}):o,a.jsx("div",{...k({className:`${S}--tooltip__arrow`})})]});return a.jsxs(a.Fragment,{children:[X,M&&O&&a.jsx(rc,{children:V}),M&&!O&&V]})};function rc({children:e}){return os.createPortal(e,document.body)}const nc=({children:e,className:t,content:r})=>{const{prefix:n}=R(),o=C({[`${n}--context-menu`]:!0},t);return a.jsx(Rr,{className:o,content:r,noPadding:!0,trigger:"click",children:e})},sc=({className:e,...t})=>{const{prefix:r}=R(),n=C({[`${r}--context-menu__group`]:!0},e);return a.jsx("div",{className:n,...t})},oc=({className:e,...t})=>{const{prefix:r}=R(),n=C({[`${r}--context-menu__item`]:!0},e);return a.jsx("div",{className:n,...t})},gs=({className:e,children:t,labelOne:r,linkTextOne:n,linkHrefOne:o,labelTwo:s,linkTextTwo:c,linkHrefTwo:d,logo:l,metaContent:i,metaLinks:h,secondary:m,pageWidth:f="lg"})=>{const{prefix:v}=R(),w=C(`${v}--footer`,e);return a.jsxs("footer",{className:w,children:[a.jsx(Be,{pageWidth:f,children:a.jsxs("div",{className:`${v}--footer__content`,children:[t?a.jsx("div",{className:`${v}--footer__info`,children:t}):a.jsxs("div",{className:`${v}--footer__info`,children:[a.jsxs("div",{className:`${v}--footer__info__item`,children:[a.jsx("p",{className:`${v}--footer__label`,children:r}),a.jsx("ul",{className:`${v}--footer__list`,children:a.jsx("li",{children:a.jsx(ve,{href:o,children:n})})})]}),a.jsxs("div",{className:`${v}--footer__info__item`,children:[a.jsx("p",{className:`${v}--footer__label`,children:s}),a.jsx("ul",{className:`${v}--footer__list`,children:a.jsx("li",{children:a.jsx(ve,{href:d,children:c})})})]})]}),a.jsxs("div",{className:`${v}--footer__cta`,children:[l,m&&a.jsx("div",{className:`${v}--footer__secondary`,children:m})]})]})}),a.jsxs(Be,{className:`${v}--footer__meta`,pageWidth:f,children:[h&&a.jsx("div",{className:`${v}--footer__meta__links`,children:h}),i&&a.jsx("div",{className:`${v}--footer__meta__content`,children:i})]})]})};gs.displayName="Footer";const ys=({className:e,children:t,longForm:r=!0,...n})=>{const{prefix:o}=R(),s=C(`${o}--form`,{[`${o}--form-long`]:r===!0},e);return a.jsx("form",{className:s,...n,children:t})};ys.displayName="Form";const ac=({align:e,breakpoint:t,legendText:r,inline:n,children:o,className:s,inputSpacing:c,message:d,messageText:l})=>{const{prefix:i}=R(),h=C(`${i}--form-group__title`,s),m=C(`${i}--fieldset`,{[`${i}--fieldset__inline`]:n,[`${i}--fieldset__align-${e}`]:e,[`${i}--fieldset__breakpoint-${t}`]:t,[`${i}--fieldset__input-spacing-${c}`]:c},s);return a.jsxs("div",{className:m,children:[a.jsx("legend",{className:h,children:r}),a.jsx("div",{className:`${i}--fieldset__content`,children:o}),d?a.jsx("div",{className:`${i}--form__requirements`,children:l}):null]})},ic=({className:e,children:t,description:r})=>{const{prefix:n}=R(),o=C(`${n}--form-hint`,e);return a.jsx(Rr,{content:t,children:a.jsx("div",{className:o,children:a.jsx(Go,{width:"15",height:"15",description:r})})})},cc=({className:e,children:t,id:r,...n})=>{const{prefix:o}=R(),s=C(`${o}--label`,e);return a.jsx("label",{htmlFor:r,className:s,...n,children:t})},_s=({children:e,className:t,id:r,pageWidth:n})=>{const{prefix:o}=R(),s=C(`${o}--info-bar`,t);return a.jsx("div",{id:r,className:s,children:a.jsx(Be,{pageWidth:n,children:e})})};_s.displayName="InfoBar";const kr=e=>{const{active:t=!0,className:r,withOverlay:n=!0,small:o=!1,...s}=e,{prefix:c}=R(),d=C(`${c}--loading`,r,{[`${c}--loading--small`]:o,[`${c}--loading--stop`]:!t}),l=C(`${c}--loading-overlay`,{[`${c}--loading-overlay--stop`]:!t}),i=a.jsx("div",{...s,"aria-live":t?"assertive":"off",className:d,children:a.jsxs("svg",{className:`${c}--loading__svg`,viewBox:"-75 -75 150 150",children:[a.jsx("title",{children:"Loading"}),null,a.jsx("circle",{className:void 0,cx:"0",cy:"0",r:"37.5"})]})});return n?a.jsx("div",{className:l,children:i}):i};kr.displayName="Loading";const xs=e=>{const{className:t,success:r,description:n,onSuccess:o,successDelay:s,...c}=e,{prefix:d}=R(),l=C(`${d}--inline-loading`,t),i=()=>r?(setTimeout(()=>{o&&o()},s),a.jsx("svg",{className:`${d}--inline-loading__checkmark-container ${d}--inline-loading__svg`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 10",children:a.jsx("polyline",{className:`${d}--inline-loading__checkmark`,points:"0.74 3.4 3.67 6.34 9.24 0.74"})})):a.jsx(kr,{small:!0,withOverlay:!1}),h=a.jsx("p",{className:`${d}--inline-loading__text`,children:n});return a.jsxs("div",{className:l,...c,children:[a.jsx("div",{className:`${d}--inline-loading__animation`,children:i()}),n&&h]})};xs.displayName="InlineLoading";const qt=F.forwardRef(({children:e,className:t,colon:r,kind:n,small:o,...s},c)=>{const{prefix:d}=R(),l=C(`${d}--list`,t,{[`${d}--list--${n}`]:n,[`${d}--list--small`]:o,[`${d}--list--colon`]:r}),i={...s};return a.jsx("ul",{className:l,...i,ref:c,children:e})});qt.displayName="List";const bs=({children:e,className:t,title:r,kind:n,icon:o,...s})=>{const c=C("wfp--list__element",t,{"wfp--list-item--checkmark":n==="checkmark","wfp--list-item--cross":n==="cross"});return a.jsxs("li",{className:c,...s,children:[n==="cross"&&a.jsx(Bo,{className:"wfp--list-item__icon"}),n==="checkmark"&&a.jsx(Co,{className:"wfp--list-item__icon"}),o&&a.jsx("span",{className:"wfp--list__element__icon",children:o}),r&&a.jsx("span",{className:"wfp--list__element__title",children:r}),a.jsx("span",{className:"wfp--list__element__content",children:e})]})},Pr=z.createContext({onChangeSub:e=>e,activeMenuItem:null,openMobileMenu:!1,toggleMenu:()=>{},setOpenMobileMenu:()=>{}}),lc=({toggleMenu:e,prefix:t})=>a.jsx(qe,{className:`${t}--main-navigation__button`,onClick:e,children:"Menu"}),ws=({children:e,components:t={},className:r,id:n,logo:o,line:s=!1,logoRibbon:c="default",mobilePageWidth:d,pageWidth:l})=>{const{prefix:i}=R(),[h,m]=z.useState(!1),[f,v]=z.useState(null),w=(_,N,k)=>{if(k&&k.preventDefault(),_==="close")v(null);else if(_==="toggle"){const D=f===null||f!==N?N:null;D!==void 0&&v(D)}},y=()=>{m(!h)},x=C(`${i}--main-navigation`,{[`${i}--main-navigation--line`]:s},r),j=C(`${i}--main-navigation__list`,{[`${i}--main-navigation__list--open`]:h}),O={Wrapper:Be,MobileButton:lc,...t},S=O.Wrapper,E=O.MobileButton;return a.jsx("nav",{id:n,className:x,children:a.jsx(Pr.Provider,{value:{activeMenuItem:f,openMobileMenu:h,toggleMenu:y,onChangeSub:w,setOpenMobileMenu:m},children:a.jsxs(S,{pageWidth:l,mobilePageWidth:d,className:`${i}--main-navigation__wrapper`,children:[a.jsxs("div",{className:`${i}--main-navigation__logo-wrapper`,children:[a.jsx(E,{toggleMenu:y,prefix:i,openMobileMenu:h,children:"Menu"}),a.jsx("div",{className:`${i}--main-navigation__logo`,children:o})]}),a.jsx("ul",{className:j,children:e})]})})})};ws.displayName="MainNavigation";function Ar(){return z.useContext(Pr)}Ar.displayName="useMainNavigation";const uc=({className:e,children:t,kind:r,subNavigation:n,subNavWideAsContent:o})=>{const{prefix:s}=R(),{onChangeSub:c,activeMenuItem:d}=Ar(),[l]=z.useState(Math.random().toString(36)),i=z.useRef(null);z.useEffect(()=>(l===d?document.addEventListener("mousedown",h):document.removeEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}),[d]);const h=y=>{i?.current&&!i.current.contains(y.target)&&c("close")},m=C(e,{[`${s}--main-navigation__item`]:!0,[`${s}--main-navigation__item--open`]:l===d,[`${s}--content-width`]:n&&o}),f=C({[`${s}--main-navigation__trigger`]:!0,[`${s}--main-navigation__trigger--has-sub`]:n,[`${s}--main-navigation__trigger--open`]:l===d}),v=l===d?Lt:hr,w=C({[`${s}--main-navigation__sub`]:!0,[`${s}--main-navigation__sub--${r}`]:r,[`${s}--main-navigation__sub--open`]:l===d});return a.jsxs("li",{className:m,ref:i,children:[a.jsxs("div",{className:f,onClick:()=>c("toggle",l),children:[t,n&&a.jsx(v,{className:`${s}--main-navigation__trigger__icon`,description:l===d?"close icon":"expand icon"})]}),n&&a.jsx("div",{className:w,children:n})]})},dc=({children:e,...t})=>a.jsx("div",{...t,children:e}),fc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__item`,t);return a.jsx("div",{className:o,...r,children:e})},pc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__header`,t);return a.jsx("div",{className:o,...r,children:e})},mc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__title`,t);return a.jsx("div",{className:o,...r,children:e})},hc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__link`,t);return a.jsx("div",{className:o,...r,children:e})},vc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__filter`,t);return a.jsx("div",{className:o,...r,children:e})},gc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__content`,t);return a.jsx("div",{className:o,...r,children:e})},yc=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sub-navigation__list`,t);return a.jsx("div",{className:o,...r,children:e})},_c=({children:e,columns:t,className:r,title:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--sub-navigation__group`,{className:r},{[`${s}--sub-navigation__group--columns`]:t,[`${s}--sub-navigation__group--columns--${t}`]:t});return a.jsxs("div",{className:c,...o,children:[n&&a.jsx("h3",{className:`${s}--sub-navigation__group__title`,children:n}),a.jsx("div",{children:e})]})},$s=({children:e,className:t,...r})=>{const{prefix:n}=R(),o=C({[`${n}--story`]:!0,[`${t}`]:t});return a.jsx("div",{className:o,...r,children:e})},Es=({ariaLabel:e="close notification",className:t,iconDescription:r="close icon",type:n="button",renderIcon:o=Lt,name:s,notificationType:c="toast",...d})=>{const{prefix:l}=R(),i=C(t,{[`${l}--${c}-notification__close-button`]:c}),h=C({[`${l}--${c}-notification__close-icon`]:c});return a.jsx("button",{...d,type:n,"aria-label":r,title:r,className:i,children:o&&a.jsx(o,{"aria-label":e,className:h,name:s})})},xc=({children:e,className:t,onClick:r,...n})=>{const{prefix:o}=R(),s=C(t,`${o}--inline-notification__action-button`);return a.jsx(qe,{className:s,kind:"ghost",onClick:r,small:!0,...n,children:e})},Dr=({title:e,subtitle:t,caption:r,notificationType:n="toast",children:o,...s})=>{const{prefix:c}=R();return n==="toast"?a.jsxs("div",{...s,className:`${c}--toast-notification__details`,children:[e&&a.jsx("h3",{className:`${c}--toast-notification__title`,children:e}),a.jsx("div",{className:`${c}--toast-notification__subtitle`,children:t}),a.jsx("div",{className:`${c}--toast-notification__caption`,children:r}),o]}):a.jsxs("div",{...s,className:`${c}--inline-notification__text-wrapper`,children:[e&&a.jsx("p",{className:`${c}--inline-notification__title`,children:e}),a.jsx("div",{className:`${c}--inline-notification__subtitle`,children:o||t})]})},bc={error:In,success:Ro,warning:Ln,info:Yo},js=({iconDescription:e,kind:t="info",notificationType:r="toast"})=>{const{prefix:n}=R(),o=t?bc[t]:void 0;return o?a.jsx(o,{className:`${n}--${r}-notification__icon`,children:a.jsx("title",{children:e})}):null},wc=({role:e="alert",notificationType:t="toast",onClose:r=()=>{},onCloseButtonClick:n=()=>{},iconDescription:o="closes notification",statusIconDescription:s,className:c,subtitle:d,title:l="provide a title",kind:i="error",lowContrast:h=!0,hideCloseButton:m=!1,children:f,timeout:v=0,...w})=>{const{prefix:y}=R(),[x,j]=F.useState(!0),O=C(c,{[`${y}--toast-notification`]:!0,[`${y}--toast-notification--low-contrast`]:h,[`${y}--toast-notification--${i}`]:i}),S=N=>{(!r||r(N)!==!1)&&j(!1)};function E(N){n(N),S(N)}const _=F.useRef(r);return F.useEffect(()=>{_.current=r}),F.useEffect(()=>{if(!v)return;const N=window.setTimeout(k=>{j(!1),_.current&&_.current(k)},v);return()=>{window.clearTimeout(N)}},[v]),x?a.jsxs("div",{...w,role:e,className:O,children:[a.jsx(js,{kind:i,iconDescription:s||`${i} icon`,notificationType:t}),a.jsx(Dr,{title:l,subtitle:d,notificationType:t,children:f}),!m&&a.jsx(Es,{iconDescription:o,notificationType:t,onClick:E})]}):null},pt=F.forwardRef((e,t)=>{const{actions:r,role:n="alert",notificationType:o="inline",icon:s,statusIconDescription:c,className:d,subtitle:l,title:i,kind:h="info",lowContrast:m=!0,hideCloseButton:f=!1,children:v,...w}=e,{prefix:y}=R(),x=C(d,{[`${y}--inline-notification`]:!0,[`${y}--block-notification`]:!0,[`${y}--inline-notification--low-contrast`]:m,[`${y}--inline-notification--${h}`]:h,[`${y}--inline-notification--hide-close-button`]:f});return a.jsx("div",{...w,ref:t,role:n,className:x,children:a.jsxs("div",{className:`${y}--inline-notification__details`,children:[s===void 0&&a.jsx(js,{notificationType:o,kind:h,iconDescription:c||`${h} icon`}),s&&a.jsx("div",{className:`${y}--${o}-notification__icon`,children:s}),a.jsx(Dr,{title:i,subtitle:l,notificationType:o,children:v}),r&&a.jsx("div",{className:`${y}--inline-notification__actions-wrapper`,children:r})]})})});pt.displayName="Callout";const Ns=({className:e,children:t,responsive:r,withBorder:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--table`,{[`${s}--table--responsive`]:r,[`${s}--table--with-border`]:n},e);return a.jsx("table",{...o,className:c,children:t})},$c=({className:e,isSorted:t,isSortedDesc:r,sortType:n})=>{const o=C(e,"wfp--table--sorting",{"wfp--table--is-sorted":t,"wfp--table--is-sortable":n});return a.jsx("span",{className:o,children:t?r?a.jsx($o,{}):a.jsx(jo,{}):""})},Ec=Object.freeze(Object.defineProperty({__proto__:null,default:$c},Symbol.toStringTag,{value:"Module"})),Ue=F.forwardRef(({as:e,children:t,className:r,kind:n,spacingTop:o,spacingBottom:s,...c},d)=>{const{prefix:l}=R(),i=e||"div",h=C(`${l}--text`,n&&`${l}--text__${n}`,o&&`${l}--text__spacing-top-${o}`,s&&`${l}--text__spacing-bottom-${s}`,r);return a.jsx(i,{ref:d,className:h,...c,children:t})});Ue.displayName="Text";const jc=e=>a.jsx($s,{...e}),Nc=e=>{const t=typeof e.children=="string"?e.children.substring(0,1):"";return t==="✓"||t==="✗"?a.jsx(bs,{kind:t==="✓"?"checkmark":"cross",...e,children:e.children.substring(1,e.children.length)}):a.jsx("li",{...e,children:e.children})},Cc=({children:e,...t})=>a.jsx(qt,{...t,kind:"bullets",children:e}),Tc=({children:e,...t})=>a.jsx(qt,{...t,kind:"ordered",children:e}),Sc=e=>a.jsx(Ue,{kind:"h1",...e,children:e.children}),Oc=e=>a.jsx(Ue,{kind:"h2",...e,children:e.children}),Rc=e=>a.jsx(Ue,{kind:"h3",...e,children:e.children}),kc=e=>a.jsx(Ue,{kind:"h4",...e,children:e.children}),Pc=e=>a.jsx(Ue,{kind:"h5",...e,children:e.children}),Ac=e=>a.jsx("p",{...e,children:e.children}),Dc=e=>a.jsx(Ns,{...e,children:e.children}),Mc=e=>a.jsx(ve,{inline:!0,...e,children:e.children}),Ic=e=>{const t=R();return a.jsx("code",{className:`${t.prefix}--story__code`,...e,children:e.children})},Lc=e=>{const t=R();return a.jsx("pre",{className:`${t.prefix}--story__pre`,...e,children:e.children})},Bc=({children:e,...t})=>Array.isArray(e)&&e.length>=2&&e[0].props?a.jsx(pt,{kind:"info",...t,subtitle:e.map((r,n)=>{if(n>0)return r}),title:e[0].props.children}):a.jsx(pt,{kind:"info",...t,subtitle:e}),qc={wrapper:jc,h1:Sc,h2:Oc,h3:Rc,h4:kc,h5:Pc,p:Ac,li:Nc,a:Mc,ul:Cc,ol:Tc,code:Ic,pre:Lc,table:Dc,blockquote:Bc,Button:qe,Accordion:mr,AccordionItem:vr},Cs=({passiveModal:e,secondaryButtonText:t,onSecondaryButtonClick:r,primaryButtonText:n,onRequestSubmit:o,primaryButtonDisabled:s,secondaryButtonDisabled:c,danger:d,primaryButtonRef:l,secondaryButtonRef:i})=>{const{prefix:h}=R();return e?null:a.jsx("div",{className:`${h}--modal-footer`,children:a.jsxs("div",{className:`${h}--modal__buttons-container`,children:[t&&a.jsx(qe,{kind:"secondary",disabled:c,id:"secondaryButton",onClick:m=>{r&&r(m,"button")},ref:i,children:t}),a.jsx(qe,{kind:d?"danger":"primary",disabled:s,onClick:o,id:"primaryButton",ref:l,children:n})]})})},nr=typeof Element<"u"&&["matches","webkitMatchesSelector","msMatchesSelector"].filter(e=>typeof Element.prototype[e]=="function")[0];function Mr(e){const{modalHeading:t,modalLabel:r,className:n,components:o={},modalSecondaryAction:s,modalAriaLabel:c,passiveModal:d,children:l,elementToAppend:i,backgroundImage:h,open:m,lazyLoad:f,kind:v="dialog",kindMobile:w="dialog",overscrollBehavior:y="modal",onRequestClose:x=()=>{},onSecondarySubmit:j,iconDescription:O,inPortal:S=!0,hideClose:E,handleBlur:_=()=>{},wide:N,type:k,selectorPrimaryFocus:D,primaryButtonRef:W,secondaryButtonRef:U,...M}=e,{prefix:L}=R(),J=z.useRef(null),X=z.useRef(null),G=z.useRef(null),V=i||(typeof document<"u"?document.body:void 0),[ee,le]=z.useState(!1),ce=A=>{const{selectorsFloatingMenus:he=[`.${L}--overflow-menu-options`,`.${L}--tooltip`,".flatpickr-calendar"]}=e;if(A&&typeof A.closest=="function")return he.some(we=>A.closest(we));for(;A;){if(nr&&typeof A[nr]=="function"&&he.some(we=>A[nr](we)))return!0;A=A.parentNode}return!1},u=A=>{x(A,"button")},g=()=>{X.current&&X.current.focus()},$=A=>{_?_({evt:A,innerModal:G,open:m,elementOrParentIsFloatingMenu:ce,focusModal:g}):G.current&&m&&A.relatedTarget&&!G.current.contains(A.relatedTarget)&&!ce(A.relatedTarget)&&g()},T=A=>{if(D===!1)return;const he=A.querySelector(D);if(he){he.focus();return}J?.current&&J.current.focus()},P=A=>{X.current&&X.current.offsetWidth&&X.current.offsetHeight&&ee&&(T(A.currentTarget),le(!1))};if(m===!1&&f)return null;const I={ModalFooter:Cs,...o}.ModalFooter,K=j||x,B=C({[`${L}--modal`]:!0,[`${L}--modal--wide`]:N,[`${L}--modal--tall`]:!d,[`${L}--modal--background-image`]:h,"is-visible":m,[`${L}--modal--warning`]:k==="warning"||e.warning,[`${L}--modal--danger`]:k==="danger"||e.danger,[`${L}--modal--desktop-${v}`]:v,[`${L}--modal--mobile-${w}`]:w,[`${L}--modal--scroll-${y}`]:y},n),te=E?null:a.jsx("button",{className:`${L}--modal-close`,type:"button",id:"closeButton",onClick:u,ref:J,children:a.jsx(Lt,{className:`${L}--modal-close__icon`,description:O})}),ne=a.jsxs("div",{ref:G,role:"dialog",className:`${L}--modal-container`,"aria-label":c,children:[a.jsxs("div",{className:`${L}--modal-header`,children:[d&&te,a.jsxs("div",{children:[r&&a.jsx("h4",{className:`${L}--modal-header__label`,children:r}),a.jsx("h2",{className:`${L}--modal-header__heading`,children:t})]}),s&&a.jsx(a.Fragment,{children:s}),!d&&te]}),a.jsx("div",{className:`${L}--modal-content`,children:l}),a.jsx(I,{...e,prefix:L,onSecondaryButtonClick:K,primaryButtonRef:W,secondaryButtonRef:U})]}),me=a.jsx("div",{...M,onBlur:$,className:B,style:h?{backgroundImage:`url(${h})`}:void 0,role:"presentation",tabIndex:-1,onTransitionEnd:m?P:void 0,ref:X,children:a.jsx("div",{className:`${L}--modal-inner`,children:ne})});return S&&V?os.createPortal(me,V):me}Mr.displayName="Modal";const Ts=({children:e,customButton:t,id:r,onKeyDown:n,buttonTriggerText:o,buttonTriggerClassName:s,triggerButtonKind:c,disabled:d,handleSubmit:l=()=>{},shouldCloseAfterSubmit:i=!0,...h})=>{const{prefix:m}=R(),f=F.createRef(),[v,w]=F.useState(!1),y=()=>{w(!0)},x=()=>{w(!1),v||(f.current&&f.current.focus(),x&&x())},O={...h,open:v,onRequestClose:x,onRequestSubmit:()=>{l&&(l(x),i&&x())}},S=t?F.cloneElement(t,{disabled:d,onClick:y,inputref:f}):void 0;return a.jsxs("div",{role:"presentation",className:`${m}--modal__wrapper`,onKeyDown:E=>{E.which===27&&(x(),n&&n(E))},children:[t?a.jsx(F.Fragment,{children:S}):a.jsx(qe,{id:r,className:s,disabled:d,kind:c,onClick:y,ref:f,children:o}),a.jsx(Mr,{...O,children:e})]})};Ts.displayName="ModalWrapper";const Fc=({dark:e,light:t,children:r,className:n,margin:o,fullHeight:s,noMargin:c,withHover:d,...l})=>{const{prefix:i}=R(),h=C({[`${i}--module--dark`]:e,[`${i}--module--no-margin`]:c||o===void 0,[`${i}--module--full-height`]:s,[`${i}--module--margin-xs`]:o==="xs",[`${i}--module--margin-md`]:o==="md",[`${i}--module--margin-lg`]:o==="lg",[`${i}--module--light`]:t,[`${i}--module--with-hover`]:d},n,[`${i}--module`]);return a.jsx("div",{className:h,...l,children:a.jsx("div",{className:`${i}--module__inner`,children:r})})},Hc=({children:e,className:t,centered:r,noPadding:n,...o})=>{const s=C("wfp--module__content",t,{"wfp--module__content--centered":r,"wfp--module__content--no-padding":n});return a.jsx("div",{className:s,...o,children:e})},Wc=({filter:e,children:t,className:r,...n})=>{const o=C("wfp--module__header",r);return a.jsxs("div",{className:o,...n,children:[a.jsx("h1",{className:"wfp--module__title",children:t}),e&&a.jsx("div",{className:"wfp--module__filter",children:e})]})},zc=({children:e,className:t,...r})=>{const n=C("wfp--module__footer",t);return a.jsx("div",{className:n,...r,children:e})},Uc=e=>{const t=parseFloat(e);return Math.floor(t)===t?0:e.split(".")[1].length||0},Tn=(e,t)=>isNaN(e)||!e&&e!==0||isNaN(t)||!t&&t!==0?t:Math.max(e,t),Sn=(e,t)=>isNaN(e)||!e&&e!==0||isNaN(t)||!t&&t!==0?t:Math.min(e,t),Ss=F.forwardRef((e,t)=>{const{className:r,disabled:n,id:o,hideLabel:s,hideControls:c,max:d,min:l,step:i=1,onChange:h=()=>{},onClick:m=()=>{},helperText:f,light:v,pattern:w="[0-9]*"}=e,{prefix:y}=R(),x=Sn(d,Tn(l,e.value)),[j,O]=z.useState(x);z.useEffect(()=>{O(e.value)},[e.value]);const S=z.useRef(null),E=t||S,_=L=>{n||(L.persist(),L.imaginaryTarget=E,O(L.target.value),h(L,parseFloat(L.target.value)))},N=(L,J)=>{let X=typeof j=="string"?Number(j):j;X=isNaN(X)?0:X;const G=J==="down"?l!==void 0&&X>l||l===void 0:d!==void 0&&X<d||d===void 0,V=i.toString();X=J==="down"?X-i:X+parseFloat(V),X=Sn(d,Tn(l,X)),X=parseFloat(X.toFixed(Uc(V))),!n&&G&&(L.persist(),L.imaginaryTarget=E,L.target.value=parseFloat(X),m(L,J),O(X),h(L,X,J))},k=C(`${y}--number`,r,{[`${y}--number--light`]:v,[`${y}--number--helpertext`]:f,[`${y}--number--nolabel`]:s,[`${y}--number--nocontrols`]:c}),D={disabled:n,id:o,max:d,min:l,step:i,onChange:_,value:j},W=e,{inputProps:U,wrapperProps:M}=Se({...W,type:"number"});return a.jsx(Te,{...M,inputWrapperClassName:k,children:a.jsxs("div",{className:`${y}--number__controls`,children:[a.jsx("button",{className:`${y}--number__control-btn up-icon`,type:"button",disabled:n,onClick:L=>N(L,"up"),children:"+"}),a.jsx("button",{className:`${y}--number__control-btn down-icon`,type:"button",disabled:n,onClick:L=>N(L,"down"),children:"−"}),a.jsx("input",{pattern:w,...U,...D,ref:t})]})})});Ss.displayName="NumberInput";const Pt=F.forwardRef((e,t)=>{const{className:r,inline:n,disabled:o,children:s,iconDescription:c,light:d,hideLabel:l}=e,{prefix:i}=R(),h=C({[`${i}--select-input`]:!0,[`${i}--select--inline`]:n,[`${i}--select--light`]:d,[`${i}--select--disabled`]:o},r),m=e,{inputProps:f,wrapperProps:v}=Se({...m,inputClassName:h});return a.jsxs(Te,{...v,inputWrapperClassName:`${i}--select`,hideLabel:l,children:[a.jsx("select",{...f,ref:t,children:s}),a.jsx(hr,{className:`${i}--select__arrow`,description:c})]})});Pt.displayName="Select";function At({className:e,value:t,disabled:r,hidden:n,text:o,...s}){const{prefix:c}=R(),d=C({[`${c}--select-option`]:!0,[`${e}`]:e});return a.jsx("option",{...s,className:d,value:t,disabled:r,hidden:n,children:o})}At.displayName="SelectItem";let Yc=0;const Ir=e=>{const{backwardText:t="Backward",className:r,forwardText:n="Forward",id:o,itemsPerPageText:s="Items per page:",itemsPerPageFollowsText:c,itemRangeText:d=(g,$,T)=>`${g}-${$} of ${T} items`,pageRangeText:l=(g,$)=>`${g} of ${$} pages`,pageSize:i,pageSizesDisabled:h,pageSizes:m,itemText:f=(g,$)=>`${g}-${$} items`,pageText:v=g=>`page ${g}`,pageNumberText:w="Page Number",pagesUnknown:y=!1,isLastPage:x=!1,pageInputDisabled:j=!1,totalItems:O,onChange:S,page:E=1,..._}=e,[N,k]=z.useState(E),[D,W]=z.useState(e.pageSize?e.pageSize:m[0]),U=z.useState(()=>++Yc)[0],M=g=>{const $=Number(g.target.value);k(1),W($),S?.({page:1,pageSize:$})},L=g=>{const $=Number(g.target.value);$>0&&$<=Math.max(Math.ceil(O/D),1)&&(k($),S?.({page:$,pageSize:D}))},J=()=>{const g=N+1;k(g),S?.({page:g,pageSize:D})},X=()=>{const g=N-1;k(g),S?.({page:g,pageSize:D})},G=g=>{let $=1;const T=[];for(;$<=g;)T.push(a.jsx(At,{value:$,text:String($)},$)),$++;return T},V=C("wfp--pagination",r),ee=C("wfp--pagination__button","wfp--pagination__button--backward",{"wfp--pagination__button--no-index":j}),le=o||U,ce=Math.max(Math.ceil(O/D),1),u=G(ce);return a.jsxs("div",{className:V,..._,children:[a.jsxs("div",{className:"wfp--pagination__left",children:[!h&&a.jsxs(z.Fragment,{children:[a.jsx("span",{className:"wfp--pagination__text",children:c||s}),a.jsx(Pt,{id:`wfp-pagination-select-${le}`,labelText:s,hideLabel:!0,inline:!0,onChange:M,value:D,children:m.map(g=>a.jsx(At,{value:g,text:String(g)},g))}),a.jsxs("span",{className:"wfp--pagination__text",children:[" "," | "]})]}),a.jsx("span",{className:"wfp--pagination__text",children:y?f(D*(N-1)+1,N*D):d(Math.min(D*(N-1)+1,O),Math.min(N*D,O),O)})]}),a.jsxs("div",{className:"wfp--pagination__right wfp--pagination--inline",children:[a.jsx("span",{className:"wfp--pagination__text",children:y?v(N):l(N,ce)}),a.jsx("button",{className:ee,onClick:X,disabled:e.disabled||N===1,children:a.jsx(Dn,{className:"wfp--pagination__button-icon",description:t})}),j?null:a.jsx(Pt,{id:`wfp-pagination-select-${+le+2}`,labelText:s,hideLabel:!0,inline:!0,onChange:L,value:N,children:u}),a.jsx("button",{className:"wfp--pagination__button wfp--pagination__button--forward",onClick:J,disabled:e.disabled||N===ce||x,children:a.jsx(Mn,{className:"wfp--pagination__button-icon",description:n})})]})]})};Ir.displayName="Pagination";let On=0;function Os(e="id"){return On++,`${e}${On}`}const Rs=F.forwardRef((e,t)=>{const{labelText:r,id:n,className:o,value:s,name:c,onChange:d,...l}=e,[i]=z.useState(n||Os()),{prefix:h}=R(),m=C("radioButtonWrapper",o),v=d?{onChange:w=>{d?.(w,s,c)}}:{};return a.jsxs("div",{className:m,children:[a.jsx("input",{...l,ref:t,type:"radio",className:`${h}--radio-button`,...v,id:i,value:s,name:c,checked:e.checked,defaultChecked:e.defaultChecked,disabled:e.disabled}),a.jsxs("label",{htmlFor:i,className:`${h}--radio-button__label`,children:[a.jsx("span",{className:`${h}--radio-button__appearance`}),r]})]})});Rs.displayName="RadioButton";const ks=e=>{const{prefix:t}=R(),{children:r,labelText:n,helperText:o,vertical:s,hideLabel:c,className:d=`${t}--input-group`,wrapperClassName:l,valueSelected:i,defaultSelected:h}=e,[m,f]=z.useState(i||h);z.useEffect(()=>{i!==m&&f(i)},[i,h]);const v=C(`${t}--label`,{[`${t}--visually-hidden`]:c}),w=C(`${t}--form-item`,{[`${t}--input-group__vertical`]:s,wrapperClassName:l}),y=n?a.jsx("span",{className:v,children:n}):null,x=o?a.jsx("div",{className:`${t}--form__helper-text`,children:o}):null;return a.jsx("div",{className:w,children:a.jsxs("div",{className:d,children:[y,x,a.jsx("div",{className:`${t}--input-group-inside`,children:r})]})})};ks.displayName="InputGroup";const Vc=({handleToggleClick:e,link:t,text:r,showMore:n,contentId:o})=>{const{prefix:s}=R(),c={"aria-expanded":n,"aria-controls":o};if(t)return z.cloneElement(t,{onClick:e,...c});{const d=Mo,l=C({[`${s}--read-more__trigger`]:!0,[`${s}--read-more__trigger--expanded`]:n});return a.jsxs(ve,{className:l,size:"sm",onClick:e,...c,children:[r,a.jsx(d,{width:"10",height:"10",description:n?"icon up":"icon down"})]})}};function Ps({collapseLink:e,collapseText:t="Show less",children:r,collapsed:n,className:o,disableAutoscroll:s,expandLink:c,expandText:d="Show more",fade:l,maxHeight:i}){const{prefix:h}=R(),[m,f]=z.useState(!1),[v,w]=z.useState(0),y=z.useRef(null),x=z.useRef(null),O=`${An()}-read-more-content`,S=k=>{k.preventDefault();const D=y?.current?.clientHeight;!m&&!s&&setTimeout(()=>{x?.current&&x.current.scrollIntoView({behavior:"smooth",block:"end"})},50),f(!m),D&&w(D)},E=C(o,{[`${h}--read-more`]:!0,[`${h}--read-more--expanded`]:m,[`${h}--read-more--fade`]:l,[`${h}--read-more--max-height`]:i}),_=i?i&&!m?{maxHeight:i}:{maxHeight:v+20}:{undefined:void 0},N=m?{display:"none"}:{display:"block"};return a.jsxs("div",{className:E,children:[a.jsxs("div",{className:`${h}--read-more__content`,style:_,id:O,children:[a.jsx("div",{className:`${h}--read-more__fake-height`,ref:x,style:{height:`${v+30}px`}}),a.jsxs("div",{ref:y,children:[(m||!n)&&r,n&&a.jsx("div",{style:N,children:n})]})]}),a.jsx(Vc,{handleToggleClick:S,showMore:m,link:m?e:c,text:m?t:d,contentId:O})]})}Ps.displayName="ReadMore";function As({additional:e,children:t,className:r,id:n,pageWidth:o,...s}){const{prefix:c}=R(),d=C(`${c}--secondary-navigation`,r);return a.jsx("div",{id:n,className:d,...s,children:a.jsxs(Be,{pageWidth:o,className:`${c}--secondary-navigation__wrapper`,children:[a.jsx("div",{className:`${c}--secondary-navigation__list`,children:t}),e&&a.jsx("div",{className:`${c}--secondary-navigation__additional`,children:e})]})})}As.displayName="SecondaryNavigation";function Ds({className:e,children:t}){const{prefix:r}=R(),n=C(`${r}--secondary-navigation__title`,e);return a.jsx("h1",{className:n,children:t})}Ds.displayName="SecondaryNavigationTitle";function Gc({inline:e,small:t,vertical:r,className:n,role:o,children:s}){const{prefix:c}=R(),[d]=z.useState(!0),i=z.Children.map(s,m=>m),h={tabs:C(n,{[`${c}--step-navigation`]:!0,[`${c}--step-navigation--vertical`]:r,[`${c}--step-navigation--small`]:t,[`${c}--step-navigation--regular`]:!t}),tablist:C(`${c}--step-navigation__nav`,{[`${c}--step-navigation__nav--hidden`]:d,[`${c}--step-navigation__nav--inline`]:e})};return a.jsx(a.Fragment,{children:a.jsx("nav",{className:h.tabs,role:o,children:a.jsx("ul",{role:"tablist",className:h.tablist,children:i})})})}const Kc=({className:e,handleTabClick:t=()=>{},index:r,label:n,status:o,helperText:s,selectedPage:c=0,onClick:d=()=>{},page:l=0,renderAnchor:i})=>{const{prefix:h}=R(),m=C(`${h}--step-navigation__nav-item`,{[`${h}--step-navigation__nav-item--before`]:l<c},{[`${h}--step-navigation__nav-item--selected`]:l===c},{[`${h}--step-navigation__nav-item--${o}`]:o},e),f={className:`${h}--step-navigation__nav-link`},w=o?{"not-started":{icon:Fo},warning:{icon:aa},locked:{icon:Xo},skip:{icon:ea},disabled:{icon:In},complete:{icon:So},summary:{icon:Zo}}[o]?.icon:null;return a.jsx("li",{tabIndex:-1,className:m,onClick:y=>{o!=="locked"&&(t(y,r,n),d(y))},role:"presentation",children:a.jsx(a.Fragment,{children:i?i(f):a.jsxs(F.Fragment,{children:[a.jsx("div",{className:`${h}--step-navigation__nav-item__indicator`,children:o&&l!==c?a.jsx(w,{width:"14",height:"14",description:"Step Item"}):a.jsx("span",{children:l+1})}),a.jsxs("div",{children:[a.jsx("span",{className:`${h}--step-navigation__nav-item__text`,children:n}),s&&a.jsx("span",{className:`${h}--step-navigation__nav-item__helper-text`,children:s})]})]})})})};function Xc({children:e,className:t,disabled:r,label:n,...o}){const{prefix:s}=R(),c=C(`${s}--select-optgroup`,t);return a.jsx("optgroup",{className:c,label:n,disabled:r,...o,children:e})}const Qc=({active:e,children:t,className:r,sidebar:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--sidebar-content__container`,r,{[`${s}--sidebar-content__container--active`]:e});return a.jsxs("div",{className:c,...o,children:[a.jsx("div",{className:`${s}--sidebar-item-content`,children:n}),a.jsx("div",{className:`${s}--content-section`,children:t})]})},Zc=({className:e,children:t,noPadding:r,...n})=>{const{prefix:o}=R(),s=C(`${o}--sidebar-content__header`,e,{[`${o}--sidebar-content__header--no-padding`]:r});return a.jsx("div",{className:s,...n,children:t})},Jc=({className:e,children:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sidebar-content-mobile-header`,e,{});return a.jsx("div",{className:o,...r,children:t})},el=({className:e,children:t,...r})=>{const{prefix:n}=R(),o=C(`${n}--sidebar-content__children`,e,{});return a.jsx("div",{id:"scroll-container",className:o,...r,children:t})},tl=({children:e,...t})=>{const{prefix:r}=R();return a.jsx("div",{className:`${r}--sidebar-content__scroll`,...t,children:e})},rl=({children:e,...t})=>{const{prefix:r}=R();return a.jsxs("div",{className:`${r}--sidebar-content__back-button`,...t,children:[a.jsx(Dn,{}),e]})},Lr=F.forwardRef((e,t)=>{const{hideLabel:r,helperText:n,pattern:o,required:s}=e,{prefix:c}=R(),d=C(`${c}--input`,`${c}--text-input`,{[`${c}--text--helpertext`]:n,[`${c}--text--nolabel`]:r,[`${c}--text--required`]:s}),l=e,{inputProps:i,wrapperProps:h}=Se({...l,inputClassName:d});return a.jsx(Te,{...h,children:a.jsx("input",{pattern:o,...i,ref:t})})});Lr.displayName="TextInput";const nl=(e,t)=>typeof t=="function"?t(e):`${e}${t||""}`;function sl(e,t,r){if(!(r<=t))return e<t&&(e=t),e>r&&(e=r),(e-t)/(r-t)*100}const Ms=F.forwardRef((e,t)=>{const{ariaLabelInput:r,className:n,disabled:o,formatLabel:s=nl,fullWidth:c,id:d,inputType:l,hideLabel:i,hideControls:h,hideTextInput:m,min:f,minLabel:v,max:w,maxLabel:y,step:x=1,onChange:j=()=>{},helperText:O,...S}=e,{prefix:E}=R(),_=e.value,[N,k]=F.useState(_);F.useEffect(()=>{k(e.value)},[e.value]);const D=F.useRef(null),W=t||D,U=u=>{o||(u.persist(),u.imaginaryTarget=W,u.target.value>w?(k(w),j(u)):(k(u.target.value),j(u)))},M=C(`${E}--slider--wrapper`,n,{[`${E}--slider--helpertext`]:O,[`${E}--slider--nolabel`]:i,[`${E}--slider--nocontrols`]:h}),L=C(`${E}--slider-container`,{[`${E}--slider-container--full-width`]:c}),J={disabled:o,id:d,max:w,min:f,step:x,onChange:U,value:N},X=C(`${E}--input`,`${E}--slider-text-input`),G=C(`${E}--slider`,{[`${E}--slider--disabled`]:o},n),V=C(`${E}--slider__range-wrapper`,{[`${E}--slider__range-wrapper--disabled`]:o},n),ee=N&&N<f?f:N,ce=Se(e);return console.log("valueMinimal",ee),a.jsx(Te,{...ce.wrapperProps,formItemClassName:M,children:a.jsxs("div",{className:L,children:[a.jsx("span",{className:`${E}--slider__range-label`,children:s(f,v)}),a.jsxs("div",{className:V,children:[a.jsx("div",{className:`${E}--slider__range-before`,style:{width:`${sl(ee,f,w)}%`}}),a.jsx("input",{className:G,type:"range",...S,...J,ref:W})]}),a.jsx("span",{className:`${E}--slider__range-label`,children:s(w,y)}),!m&&a.jsx(Lr,{disabled:o,type:l,id:"input-for-slider",className:X,value:N,onChange:U,"aria-label":r})]})})});Ms.displayName="Slider";const Is=F.forwardRef(({active:e,additional:t,children:r,className:n,subContent:o,image:s,hint:c,noImage:d,unread:l,showAdditionalIcon:i,title:h,kind:m="large",wrapper:f="none",...v},w)=>{const{prefix:y}=R(),x=C({[`${y}--item`]:!0,[`${y}--item--${m}`]:m,[`${y}--item--${f}`]:f,[`${y}--item--active`]:e,[`${y}--item--unread`]:l},n);return a.jsxs("div",{className:x,...v,ref:w,children:[s?a.jsx("div",{className:`${y}--item__image`,children:s}):d?a.jsx("div",{className:`${y}--item__image ${y}--item__image-empty`}):null,h&&a.jsx("div",{className:`${y}--item__title-wrapper`,children:a.jsx("h2",{className:`${y}--item__title`,children:h})}),t&&a.jsxs("div",{className:`${y}--item__additional`,children:[t,i&&a.jsx(Mn,{className:`${y}--item__additional-icon`})]}),r&&a.jsx("div",{className:`${y}--item__text`,children:r}),o&&a.jsx("div",{className:`${y}--item__sub-content`,children:o}),c&&a.jsx("div",{className:`${y}--item__hint`,children:c}),l&&a.jsx("div",{className:`${y}--item__unread`})]})});Is.displayName="Item";const Ls=({data:e,page:t,pageSizeOptions:r,paginationClassName:n,totalItems:o,style:s,onPageChange:c,onPageSizeChange:d,isLastPage:l,pages:i,pageInputDisabled:h,pageSize:m,pagesUnknown:f,backwardText:v,forwardText:w,itemsPerPageText:y,itemsPerPageFollowsText:x,itemRangeText:j,pageRangeText:O,pageSizesDisabled:S,itemText:E,pageNumberText:_})=>{const{prefix:N}=R(),k=U=>(isNaN(U)&&(U=t),U),D=U=>{const M=k(U.page-1);U!==M&&c(M),m!==U.pageSize&&d(U.pageSize)},W={isLastPage:l,pages:i,pageInputDisabled:h,pageSize:m,pagesUnknown:f,backwardText:v,forwardText:w,itemsPerPageText:y,itemsPerPageFollowsText:x,itemRangeText:j,pageRangeText:O,pageSizesDisabled:S,itemText:E,pageNumberText:_};return a.jsx("div",{className:C(n,"-pagination"),style:s,children:a.jsx("div",{className:`${N}-pagination`,children:a.jsx(Ir,{onChange:D,pageSizes:r,page:t,totalItems:o||(e?e.length:void 0),...W})})})};Ls.displayName="ReactTablePagination";function Bs(e){const{prefix:t}=R(),{className:r,disabled:n,handleTabClick:o=()=>{},handleTabAnchorFocus:s=()=>{},handleTabKeyDown:c=()=>{},href:d,index:l=0,label:i,selected:h,tabIndex:m,onClick:f=()=>{},onKeyDown:v=()=>{},...w}=e,y=E=>{if(E.which===37&&s)s(l-1);else if(E.which===39&&s)s(l+1);else return},x=C(`${t}--tabs__nav-item`,{[`${t}--tabs__nav-item--disabled`]:n},{[`${t}--tabs__nav-item--selected`]:h},r),j=C(`${t}--tabs__nav-item`,`${t}--tabs__nav-item--selected`,r),O={className:"wfp--tabs__nav-link",href:n?void 0:d,label:i,role:"tab",tabIndex:m,"aria-selected":h};return{liProps:{tabIndex:-1,className:x,onClick:E=>{n||(o(l,i,E),f(E))},onKeyDown:E=>{n||(y(E),c(l,i,E),v(E))},role:"presentation",selected:h,...w},anchorProps:O,selectedClasses:j}}const ol=e=>{const{disabled:t,label:r,renderAnchor:n,renderListElement:o}=e,{anchorProps:s,liProps:c,selectedClasses:d}=Bs(e);return a.jsx(F.Fragment,{children:o?typeof o=="function"?o({...e,...c,anchor:s,selectedClasses:d}):a.jsx(a.Fragment,{children:o}):a.jsx("li",{...c,children:n?n(s):t?a.jsx("span",{...s,children:r}):a.jsx("a",{...s,children:r})})})},qs=e=>{const{selected:t=!1,children:r,...n}=e;return a.jsx("div",{...n,"data-selected":t,hidden:!t,children:r})};qs.displayName="TabContent";const al=z.createContext({handleTabClick:()=>{},handleTabKeyDown:()=>{},handleTabAnchorFocus:()=>{}}),Fs=e=>{const{disableAnimation:t,inline:r,className:n,role:o="navigation",selected:s=null,...c}=e,{prefix:d}=R(),[l,i]=F.useState(s),h=F.useRef(null);F.useEffect(()=>{s!==l&&i(s)},[s]);const m={tabs:C(`${d}--tabs`,{[`${d}--tabs--no-animation`]:t},n),tablist:C(`${d}--tabs__nav`,{[`${d}--tabs__nav--inline`]:r})},f=()=>(y,x,j)=>{j&&j.preventDefault()},v=()=>(y,x,j)=>{j.key||j.which},w=()=>{};return a.jsx(al.Provider,{value:{handleTabClick:f,handleTabKeyDown:v,handleTabAnchorFocus:w},children:a.jsxs("nav",{...c,className:m.tabs,role:o,children:[a.jsx("div",{className:`${d}--tabs__nav__bar`}),a.jsx("ul",{ref:h,role:"tablist",className:m.tablist,children:e.children})]})})};Fs.displayName="Tabs";const Hs=F.forwardRef((e,t)=>{const{className:r,fullWidth:n}=e,{prefix:o}=R(),s=C(`${o}--text-area`,r,{[`${o}--textarea-fullwidth`]:n}),d=Se({...e,inputClassName:s});return a.jsx(Te,{...d.wrapperProps,children:a.jsx("textarea",{...d.inputProps,ref:t})})});Hs.displayName="TextArea";const Ws=F.forwardRef((e,t)=>{const{showPasswordLabelText:r="Show password",hidePasswordLabelText:n="Hide password",addonAfter:o,...s}=e,{prefix:c}=R(),[d,l]=F.useState(!1),{hideLabel:i,helperText:h,required:m,disabled:f,readOnly:v}=s,w=C(`${c}--input`,`${c}--text-input`,`${c}--password-input`,{[`${c}--text--helpertext`]:h,[`${c}--text--nolabel`]:i,[`${c}--text--required`]:m}),y=d?n:r,x=()=>{f||v||l(_=>!_)},j=a.jsx("button",{type:"button",className:`${c}--password-input__toggle`,onClick:x,"aria-pressed":d,"aria-label":y,disabled:f||v,children:y}),O=s,{inputProps:S,wrapperProps:E}=Se({...O,type:d?"text":"password",addonAfter:a.jsxs(a.Fragment,{children:[o,j]}),inputClassName:w});return a.jsx(Te,{...E,children:a.jsx("input",{...S,ref:t})})});Ws.displayName="PasswordInput";const zs=F.forwardRef((e,t)=>{const{className:r,defaultToggled:n=!1,id:o,labelA:s="Off",labelB:c="On",...d}=e,{prefix:l}=R(),i=C({[`${l}--form-item`]:!0},r),h=o||d.name,f=Se(e),v=d;return a.jsxs(Te,{className:i,...e,children:[a.jsx("input",{...v,...f.inputProps,defaultChecked:n,type:"checkbox",id:h,className:`${l}--toggle`,ref:t}),a.jsxs("label",{className:`${l}--toggle__label`,htmlFor:h,children:[a.jsx("span",{className:`${l}--toggle__text--left`,children:s}),a.jsx("span",{className:`${l}--toggle__appearance`}),a.jsx("span",{className:`${l}--toggle__text--right`,children:c})]})]})});zs.displayName="Toggle";const il=e=>{const{className:t,children:r,components:n={},description:o,ellipsis:s,extendedDescription:c,showName:d,small:l,name:i,missingImage:h,...m}=e,{prefix:f}=R(),w={...{Avatar:_r},...n},y=C(`${f}--user`,t,{[`${f}--user--has-description`]:o,[`${f}--user--has-extended-description`]:c}),x=C({[`${f}--user__title`]:!0,[`${f}--user__title--ellipsis`]:s,[`${f}--user__title--small`]:l});return a.jsxs("div",{className:y,...m,children:[a.jsx(w.Avatar,{...e,missingImage:h}),d&&a.jsxs("span",{className:x,children:[a.jsx("span",{children:i}),o&&a.jsx("div",{className:`${f}--user__description`,children:o})]}),r,c&&a.jsx("div",{className:`${f}--user__extended-description`,children:c})]})},ct={thousand:{pow:1e3,defaultmaximumFractionDigits:2,default:{after:"T"}},million:{pow:1e6,defaultmaximumFractionDigits:1,default:{after:"M"}},billion:{pow:1e9,defaultmaximumFractionDigits:2,default:{after:"B"}}},Us=e=>a.jsx("span",{className:e.className+" invalid",children:"–"}),cl=e=>a.jsx("tspan",{className:e.className+" invalid",children:"–"}),Ft=e=>{if(e){const t=e.before?e.before+" ":"",r=e.output&&e.output.default?e.output.default.after+"":"",n=e.after?" "+e.after:"";return t+e.value+r+n}else return""},Ht=(e,t)=>{const{style:r,...n}=t;return e?a.jsxs("text",{className:t.className,...n,children:[a.jsxs("tspan",{style:r,children:[e.before," "]}),a.jsx("tspan",{style:r,children:e.value}),a.jsxs("tspan",{style:r,children:[" ",e.output?e.output.default.after+"":"",e.after]})]}):a.jsx(cl,{className:t.className})},Pe=(e,t,r,n,o)=>{const{children:s,input:c,output:d,minimumFractionDigits:l,maximumFractionDigits:i,localeStringLanguage:h="en-EN",calcOnly:m,string:f,svg:v,hideZero:w}=e;var y=typeof s=="string"?s.replace(/,/g,""):s;y=parseFloat(y),y=y!==0&&c&&ct[c]?ct[c].pow*y:y;const x=d&&ct[d]?ct[d]:void 0;y=y!==0&&d?y/x.pow:y;const j=o===!0&&d===void 0?l===0:typeof l=="number"?l:x&&x.defaultmaximumFractionDigits?x.defaultmaximumFractionDigits:2,O=o===!0&&d===void 0?i===0:y<=.005?4:y<=.05?3:y<=.5?2:i===0?0:typeof i=="number"?i:x&&x.defaultmaximumFractionDigits?x.defaultmaximumFractionDigits:2,S={minimumFractionDigits:j,maximumFractionDigits:O>j?O:j};y=y.toLocaleString(h,S);const E={value:y,before:r,after:t,output:x};let _=e.className;return y==="1"&&n&&(_=_+" wfp--unit--singular"),(!y||y==="NaN"||parseFloat(y)===0)&&w?!1:m?E:v?Ht(E,e):f?Ft(E):y!==!1?a.jsx("span",{className:_,children:y}):a.jsx(Us,{className:e.className})},ll=(e,t,r)=>{const{calcOnly:n,children:o,from:s,string:c,svg:d,hideZero:l,maximumSignificantDigits:i,maximumFractionDigits:h}=e;var m=typeof o=="string"?o.replace(/,/g,""):o;m=parseFloat(m),parseFloat(s)===0?m=!1:s&&(m=m/parseFloat(s)*100),m=m.toLocaleString("en-EN",{minimumFractionDigits:i||0,maximumSignificantDigits:i,maximumFractionDigits:m<=.5?5:h||1});const f={value:m,before:r,after:t,output:void 0};return(!m||m==="NaN"||parseFloat(m)===0)&&l?!1:n?f:d?Ht(f,e):c?Ft(f):m!==!1?a.jsx("span",{className:e.className,children:m}):a.jsx(Us,{className:e.className})},Wt=(e,t,r)=>{const{calcOnly:n,className:o,children:s,string:c,svg:d,hideUnit:l}=e,i=s,h=t||"",m=l?"":r+s+h,f={value:i,before:r,after:t,output:i+m};if(n)return f;if(d)return Ht({value:i+m,before:r,after:t},e);if(c)return Ft(f);if(i!==!1)return a.jsx("span",{className:o,children:i})},ul=e=>{const{children:t}=e,r=t;let n;if(typeof r=="number"&&r.toString().length>=7)n=new Date(r,e);else if(r.getMonth)n=r;else{const c=r.toString().substring(0,4),d=parseInt(r.toString().substring(4,7),10)-1;n=new Date(c,d,1)}const o=n.toLocaleString("en-us",{month:"short"}),s=n.toLocaleString("en-us",{month:"long"});return{monthName:o,monthNameFull:s,year:n.getFullYear(),date:n}},dl=e=>{const{className:t,string:r,svg:n,calcOnly:o}=e,s=ul(e),c={value:s.monthName+" "+s.year,before:"",after:"",output:void 0};if(o)return c;if(n)return Ht(c,e);if(r)return Ft(c);if(c?.value)return a.jsx("span",{className:t,children:c.value})},fl=e=>Pe(e,"","US$"),pl=e=>Pe(e,"People",void 0,!0,!0),ml=e=>Pe(e,"Partners",void 0,!0,!0),hl=e=>Pe(e,"MT",void 0,!0),vl=e=>Pe(e,"MetricTons",void 0,!0),gl=e=>Pe(e,"Months",void 0,!0,"Month"),yl=e=>Pe(e,""),_l=e=>Pe(e,"Beneficaries",void 0,!0,!0),xl=e=>Pe(e,"Households",void 0,!0,!0),bl=e=>Pe(e,"Trips",void 0,!0,!0),wl=e=>Wt(e,"kg"),$l=e=>Wt(e,""),El=e=>Wt(e,"Countries"),jl=e=>Wt(e,""),Nl=e=>ll(e,"%"),Cl=e=>dl(e),Tl={Usd:fl,Partners:ml,Beneficiaries:_l,Households:xl,Months:gl,Mt:hl,Kg:wl,MetricTons:vl,Num:yl,Level:$l,None:jl,Trips:bl,Countries:El,People:pl,Percentage:Nl,YearMonth:Cl},Sl=e=>{const{prefix:t}=R(),{className:r,output:n,string:o,textAnchor:s,localeStringLanguage:c="en-EN",type:d="none",setup:l}=e,i=e.type.charAt(0).toUpperCase()+e.type.slice(1),h=Tl[i],m=s||"start",f=d?`${t}--unit--${d.toLowerCase()}`:"",v=n&&ct[n]?`${t}--unit--${n}`:"",w=l?`${t}--unit--${l}`:"",y=`${t}--unit ${r} ${f} ${v} ${w}`;return o?h(e):h===void 0?null:a.jsx(h,{...e,className:y,textAnchor:m,localeStringLanguage:c})},Ol=({value:e,secondaryValue:t,className:r,title:n,...o})=>{const{prefix:s}=R(),c=C(`${s}--value`,r);return a.jsxs("div",{className:c,...o,children:[a.jsx("h4",{className:`${s}--value__title`,children:n}),a.jsx("div",{className:`${s}--value__primary-value`,children:e}),a.jsx("div",{className:`${s}--value__secondary-value`,children:t})]})},Rl=e=>t=>{const n={...R(),...t};return a.jsx(e,{...n})};function kl(){return z.useContext(It)}const Pl={main:{name:"main",hex:"#007DBC",scss:"$color__main",type:"communications"},"sequential-default-07":{name:"sequential-default-07",hex:"#9DEAFF",scss:"$color__sequential-default-07",type:"sequential-default",shortDescription:"sequential default 07"},"sequential-default-06":{name:"sequential-default-06",hex:"#73C3FE",scss:"$color__sequential-default-06",type:"sequential-default",shortDescription:"sequential default 06"},"sequential-default-05":{name:"sequential-default-05",hex:"#4AA1E2",scss:"$color__sequential-default-05",type:"sequential-default",shortDescription:"sequential default 05"},"sequential-default-04":{name:"sequential-default-04",hex:"#0780C0",scss:"$color__sequential-default-04",type:"sequential-default",shortDescription:"sequential default 04"},"sequential-default-03":{name:"sequential-default-03",hex:"#005F9B",scss:"$color__sequential-default-03",type:"sequential-default",shortDescription:"sequential default 03"},"sequential-default-02":{name:"sequential-default-02",hex:"#003F76",scss:"$color__sequential-default-02",type:"sequential-default",shortDescription:"sequential default 02"},"sequential-default-01":{name:"sequential-default-01",hex:"#002153",scss:"$color__sequential-default-01",type:"sequential-default",shortDescription:"sequential default 01"},"sequential-secondary-07":{name:"sequential-secondary-07",hex:"#bdf9c4",scss:"$color__sequential-secondary-07",type:"sequential-secondary",shortDescription:"sequential secondary 07"},"sequential-secondary-06":{name:"sequential-secondary-06",hex:"#89eaa8",scss:"$color__sequential-secondary-06",type:"sequential-secondary",shortDescription:"sequential secondary 06"},"sequential-secondary-05":{name:"sequential-secondary-05",hex:"#5fd79a",scss:"$color__sequential-secondary-05",type:"sequential-secondary",shortDescription:"sequential secondary 05"},"sequential-secondary-04":{name:"sequential-secondary-04",hex:"#41c196",scss:"$color__sequential-secondary-04",type:"sequential-secondary",shortDescription:"sequential secondary 04"},"sequential-secondary-03":{name:"sequential-secondary-03",hex:"#33aa96",scss:"$color__sequential-secondary-03",type:"sequential-secondary",shortDescription:"sequential secondary 03"},"sequential-secondary-02":{name:"sequential-secondary-02",hex:"#319298",scss:"$color__sequential-secondary-02",type:"sequential-secondary",shortDescription:"sequential secondary 02"},"sequential-secondary-01":{name:"sequential-secondary-01",hex:"#367a96",scss:"$color__sequential-secondary-01",type:"sequential-secondary",shortDescription:"sequential secondary 01"},"categorical-corporate-01":{name:"categorical-01",hex:"#007DBC",scss:"$color__categorical-corporate-01",type:"categorical",shortDescription:"categorical-01"},"categorical-corporate-02":{name:"categorical-02",hex:"#36B5C5",scss:"$color__categorical-corporate-02",type:"categorical",shortDescription:"categorical-02"},"categorical-corporate-03":{name:"categorical-03",hex:"#00B485",scss:"$color__categorical-corporate-03",type:"categorical",shortDescription:"categorical-03"},"categorical-corporate-04":{name:"categorical-04",hex:"#008868",scss:"$color__categorical-corporate-04",type:"categorical",shortDescription:"categorical-04"},"categorical-corporate-05":{name:"categorical-05",hex:"#1A4262",scss:"$color__categorical-corporate-05",type:"categorical",shortDescription:"categorical-05"},"categorical-corporate-06":{name:"categorical-06",hex:"#982B56",scss:"$color__categorical-corporate-06",type:"categorical",shortDescription:"categorical-06"},"categorical-corporate-07":{name:"categorical-07",hex:"#EF404C",scss:"$color__categorical-corporate-07",type:"categorical",shortDescription:"categorical-07"},"categorical-corporate-08":{name:"categorical-08",hex:"#F47847",scss:"$color__categorical-corporate-08",type:"categorical",shortDescription:"categorical-08"},"categorical-corporate-09":{name:"categorical-09",hex:"#B79F8D",scss:"$color__categorical-corporate-09",type:"categorical",shortDescription:"categorical-09"},"categorical-corporate-10":{name:"categorical-10",hex:"#ECDFBB",scss:"$color__categorical-corporate-10",type:"categorical",shortDescription:"categorical-10"},female:{name:"female",hex:"#3f7e44",scss:"$color__female",type:"symbolic",shortDescription:"Indicate female"},male:{name:"male",hex:"#26bde2",scss:"$color__male",type:"symbolic",shortDescription:"Indicate male"},national:{name:"national",hex:"#3C5979",scss:"$color__national",type:"symbolic",shortDescription:"Indicate national staff"},international:{name:"international",hex:"#fcc30b",scss:"$color__international",type:"symbolic",shortDescription:"Indicate international staff"},"brand-01":{name:"brand-01",hex:"#007DBC",scss:"var(--brand-01)",css:"color__brand-01",type:"brand",shortDescription:"WFP brand color"},"interactive-01":{name:"interactive-01",hex:"#0b77c2",scss:"var(--interactive-01)",css:"color__interactive-01",type:"brand",shortDescription:"Primary interactive color, Primary buttons"},"interactive-02":{name:"interactive-02",hex:"#085387",scss:"$action-default-fill-primary-default-02",css:"color__interactive-02",type:"brand",shortDescription:"BannerNavigation"},"accent-01":{name:"accent-01",hex:"#f7b825",scss:"$accent-01",css:"color__accent-01",type:"brand-accent",shortDescription:"Accent colour (recommended)"},"brand-01-20":{name:"brand-01-20",hex:"#c2dbec",scss:"$brand-01-20",css:"color__brand-01-20",type:"brand-extended"},"brand-01-30":{name:"brand-01-30",hex:"#85b7da",scss:"$brand-01-30",css:"color__brand-01-30",type:"brand-extended"},"brand-01-40":{name:"brand-01-40",hex:"#4792c7",scss:"$brand-01-40",css:"color__brand-01-40",type:"brand-extended"},"brand-01-60":{name:"brand-01-60",hex:"#085387",scss:"$brand-01-60",css:"color__brand-01-60",type:"brand-extended"},"brand-01-70":{name:"brand-01-70",hex:"#05375a",scss:"$brand-01-70",css:"color__brand-01-70",type:"brand-extended"},"brand-01-80":{name:"brand-01-80",hex:"#031c2d",scss:"$brand-01-80",css:"color__brand-01-80",type:"brand-extended"},"ui-01":{name:"ui-01",hex:"#ffffff",scss:"$ui-01",css:"color__ui-01",type:"ui",shortDescription:"Primary container background; Secondary page background",description:"This colour is used as the page background if there are no Modules on top of it."},"ui-02":{name:"ui-02",hex:"#eff2f5",scss:"var(--ui-02)",css:"color__ui-02",type:"ui",shortDescription:"Primary page background; Secondary container background",description:"Use this colour as page background if there are modules on top of it to increase the contrast between the modules."},"ui-03":{name:"ui-03",hex:"#f0f3f6",scss:"$ui-03",css:"color__ui-03",type:"ui",shortDescription:"Subtle border, Tertiary background color"},"ui-04":{name:"ui-04",hex:"#dfe3e6",scss:"$ui-04",css:"color__ui-04",type:"ui",shortDescription:"3:1 AA element contrast; Medium contrast border"},"ui-05":{name:"ui-05",hex:"#8c9ba5",scss:"$ui-03",css:"color__ui-05",type:"ui",shortDescription:"4.5:1 AA element contrast; High contrast border; Emphasis elements"},"ui-06":{name:"ui-06",hex:"#0b1923",scss:"$ui-06",css:"color__ui-06",type:"ui",shortDescription:""},"text-01":{name:"text-01",hex:"#031c2d",scss:"$text-01",css:"color__text-01",type:"ui",shortDescription:"Primary text colour; Input labels;"},"text-02":{name:"text-02",hex:"#5a6872",scss:"$text-02",css:"color__text-02",type:"ui",shortDescription:"Secondary text; Help text"},"text-03":{name:"text-03",hex:"#dfe6eb",scss:"$text-03",css:"color__text-03",type:"ui",shortDescription:"Placeholder text"},"text-04":{name:"text-04",hex:"#ffffff",scss:"$text-04",css:"color__text-04",type:"ui",shortDescription:""},"inverse-01":{name:"inverse-01",hex:"#ffffff",scss:"$inverse-01",css:"color__inverse-01",type:"ui",shortDescription:"Inverse text color; Inverse icon color"},"field-01":{name:"field-01",hex:"#ffffff",scss:"$field-02",css:"color__field-01",type:"ui",shortDescription:"Default input fields; Fields on $ui-backgrounds"},"field-border-01":{name:"field-border-01",hex:"#d4d7d9",scss:"$field-border-01",css:"color__field-border-01",type:"ui",shortDescription:""},"disabled-01":{name:"disabled-01",hex:"#f9fbfc",scss:"$disabled-01",css:"color__disabled-01",type:"ui",shortDescription:""},"disabled-02":{name:"disabled-02",hex:"#dfe6eb",scss:"$disabled-02",css:"color__disabled-02",type:"ui",shortDescription:""},"sdg-01":{name:"sdg-01",hex:"#E5243B",scss:"$sdg-01",css:"color__sdg-01",type:"sdg",shortDescription:"No poverty, red"},"sdg-02":{name:"sdg-02",hex:"#DDA63A",scss:"$sdg-02",css:"color__sdg-02",type:"sdg",shortDescription:"Zero hunger, mustard"},"sdg-03":{name:"sdg-03",hex:"#4C9F38",scss:"$sdg-03",css:"color__sdg-03",type:"sdg",shortDescription:"Good health and well-being, kelly green"},"sdg-04":{name:"sdg-04",hex:"#C5192D",scss:"$sdg-04",css:"color__sdg-04",type:"sdg",shortDescription:"Quality education, dark red"},"sdg-05":{name:"sdg-05",hex:"#FF3A21",scss:"$sdg-05",css:"color__sdg-05",type:"sdg",shortDescription:"Gender equality, red orange"},"sdg-06":{name:"sdg-06",hex:"#26BDE2",scss:"$sdg-06",css:"color__sdg-06",type:"sdg",shortDescription:"Clean water and sanitation, bright blue"},"sdg-07":{name:"sdg-07",hex:"#FCC30B",scss:"$sdg-07",css:"color__sdg-07",type:"sdg",shortDescription:"Affordable and clean energy, yellow"},"sdg-08":{name:"sdg-08",hex:"#A21942",scss:"$sdg-08",css:"color__sdg-08",type:"sdg",shortDescription:"Decent work and economic growth, burgundy red"},"sdg-09":{name:"sdg-09",hex:"#FD6925",scss:"$sdg-09",css:"color__sdg-09",type:"sdg",shortDescription:"Industry, innovation and infrastructure, orange"},"sdg-10":{name:"sdg-10",hex:"#DD1367",scss:"$sdg-10",css:"color__sdg-10",type:"sdg",shortDescription:"Reduced inequalities, magentas"},"sdg-11":{name:"sdg-11",hex:"#FD9D24",scss:"$sdg-11",css:"color__sdg-11",type:"sdg",shortDescription:"Sustainable cities and communities, golden yellow"},"sdg-12":{name:"sdg-12",hex:"#BF8B2E",scss:"$sdg-12",css:"color__sdg-12",type:"sdg",shortDescription:"Responsible consumption and production, dark mustard"},"sdg-13":{name:"sdg-13",hex:"#3F7E44",scss:"$sdg-10",css:"color__sdg-13",type:"sdg",shortDescription:"Climate action, dark green"},"sdg-14":{name:"sdg-14",hex:"#0A97D9",scss:"$sdg-14",css:"color__sdg-14",type:"sdg",shortDescription:"Life below water, blue"},"sdg-15":{name:"sdg-15",hex:"#56C02B",scss:"$sdg-15",css:"color__sdg-15",type:"sdg",shortDescription:"Life on land, lime green"},"sdg-16":{name:"sdg-16",hex:"#00689D",scss:"$sdg-16",css:"color__sdg-16",type:"sdg",shortDescription:"Peace, justice and stron institutions, royal blue"},"sdg-17":{name:"sdg-17",hex:"#19486A",scss:"$sdg-17",css:"color__sdg-17",type:"sdg",shortDescription:"Partnership for the goals, navy blue"},"support-01":{name:"support-01",hex:"#c5192d",scss:"$support-01",css:"color__support-01",type:"support",shortDescription:"Error (same as color__red)",description:"Use the error color to indicate an error or to focus the attention on something which is crucial to see. Paired with a cross icon, red delivers the message that something went wrong."},"support-light-01":{name:"support-light-01",hex:"#f1c6cb",scss:"$support-light-01",css:"color__support-light-01",type:"support",shortDescription:"Lighter version of color-red",description:""},"support-02":{name:"support-02",hex:"#689e18",scss:"$support-02",css:"color__support-02",type:"support",shortDescription:"Success",description:"Use green to indicate success state. Paired with a checkmark icon the user knows that the operation was successfully completed."},"support-light-02":{name:"support-light-02",hex:"#ccdbcd",scss:"$support-light-02",css:"color__support-light-02",type:"support",shortDescription:"Lighter version of green",description:""},"support-03":{name:"support-03",hex:"#f7b825",scss:"$support-03",css:"color__support-03",type:"support",shortDescription:"Warning (same as color__yellow)",description:"Use yellow to indicate a transient warning which is less important than an error message. Yellow typically consists of items which require the user’s immediate attention, or indicate a waiting period. Although this overlaps with the use of red, yellow is more transient in nature."},"support-light-03":{name:"support-light-03",hex:"#fdedc9",scss:"$support-light-03",css:"color__support-light-03",type:"support",shortDescription:"Lighter version of yellow",description:""},"support-04":{name:"support-04",hex:"#85b7da",scss:"$support-04",css:"color__support-04",type:"support",shortDescription:"Info",description:""},"support-light-04":{name:"support-light-04",hex:"#c2dbec",scss:"$support-light-04",css:"color__support-light-04",type:"support",shortDescription:"",description:""}},Ys=typeof window<"u"?z.useLayoutEffect:z.useEffect,Al=typeof window>"u";function Dl(e,t){const r=typeof t=="boolean"?t:t?.defaultValue??!1,n=typeof t=="boolean"?void 0:t?.initializeWithValue??void 0,o=l=>Al?r:window.matchMedia(l).matches,[s,c]=z.useState(()=>n?o(e):r);function d(){c(o(e))}return Ys(()=>{const l=window.matchMedia(e);return d(),l.addListener?l.addListener(d):l.addEventListener("change",d),()=>{l.removeListener?l.removeListener(d):l.removeEventListener("change",d)}},[e]),s}exports.Accordion=mr;exports.AccordionItem=vr;exports.AddonAfter=zn;exports.AddonBefore=Wn;exports.AuthLayout=pa;exports.Avatar=_r;exports.BackgroundContent=ma;exports.BannerNavigation=Fn;exports.BannerNavigationItem=Ee;exports.BannerNavigationWithContent=va;exports.BlockNotification=pt;exports.Breadcrumb=ga;exports.BreadcrumbHome=xa;exports.BreadcrumbItem=_a;exports.Button=qe;exports.Callout=pt;exports.Card=Zn;exports.CardExternal=Jn;exports.Checkbox=rs;exports.ContentSwitcher=Aa;exports.ContextMenu=nc;exports.ContextMenuGroup=sc;exports.ContextMenuItem=oc;exports.Credits=ns;exports.DatePicker=es;exports.DatePickerInput=wr;exports.DateRangePicker=ts;exports.DateRangePickerInput=$r;exports.Empty=Xn;exports.Footer=gs;exports.Form=ys;exports.FormGroup=ac;exports.FormHint=ic;exports.FormItem=Hn;exports.FormLabel=cc;exports.Helper=Yn;exports.Hero=Qn;exports.HeroExternal=ka;exports.InfoBar=_s;exports.InlineErrorMessage=gr;exports.InlineLoading=xs;exports.Input=Te;exports.InputGroup=ks;exports.Item=Is;exports.Label=Un;exports.Link=ve;exports.List=qt;exports.ListItem=bs;exports.Loading=kr;exports.MainNavigation=ws;exports.MainNavigationContext=Pr;exports.MainNavigationItem=uc;exports.Modal=Mr;exports.ModalFooter=Cs;exports.ModalWrapper=Ts;exports.Module=Fc;exports.ModuleBody=Hc;exports.ModuleFooter=zc;exports.ModuleHeader=Wc;exports.NotificationActionButton=xc;exports.NotificationButton=Es;exports.NotificationTextDetails=Dr;exports.NumberInput=Ss;exports.Pagination=Ir;exports.PasswordInput=Ws;exports.RadioButton=Rs;exports.ReadMore=Ps;exports.Search=yr;exports.SecondaryNavigation=As;exports.SecondaryNavigationTitle=Ds;exports.Select=Pt;exports.SelectItem=At;exports.SelectItemGroup=Xc;exports.Sidebar=Qc;exports.SidebarBackButton=rl;exports.SidebarContentBody=el;exports.SidebarContentHeader=Jc;exports.SidebarHeader=Zc;exports.SidebarScroll=tl;exports.Slider=Ms;exports.StepNavigation=Gc;exports.StepNavigationItem=Kc;exports.Story=$s;exports.SubNavigation=dc;exports.SubNavigationContent=gc;exports.SubNavigationFilter=vc;exports.SubNavigationGroup=_c;exports.SubNavigationHeader=pc;exports.SubNavigationItem=fc;exports.SubNavigationLink=hc;exports.SubNavigationList=yc;exports.SubNavigationTitle=mc;exports.Tab=ol;exports.TabContent=qs;exports.Table=Ns;exports.TablePagination=Ls;exports.TableSorting=Ec;exports.Tabs=Fs;exports.Tag=br;exports.Text=Ue;exports.TextArea=Hs;exports.TextInput=Lr;exports.ToastNotification=wc;exports.Toggle=zs;exports.Tooltip=Rr;exports.Unit=Sl;exports.User=il;exports.Value=Ol;exports.WFPCoreContext=It;exports.WFPCoreProvider=uo;exports.Wrapper=Be;exports.buttonKinds=Ta;exports.colors=Pl;exports.defaultWFPContext=Mt;exports.mdxComponents=qc;exports.notificationtypes=Sa;exports.pageWidths=ha;exports.tooltipStyle=ec;exports.tooltipStyleDark=tc;exports.uniqueId=Os;exports.useInput=Se;exports.useIsomorphicLayoutEffect=Ys;exports.useMainNavigation=Ar;exports.useMediaQuery=Dl;exports.useTab=Bs;exports.useTheme=kl;exports.withWFPCoreSettings=Rl;
|
|
104
104
|
//# sourceMappingURL=index.cjs.js.map
|