@progressiveui/react 2.2.0 → 2.2.2
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/index.cjs.js +12 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +871 -864
- 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.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(j,
|
|
1
|
+
(function(j,U){typeof exports=="object"&&typeof module<"u"?U(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],U):(j=typeof globalThis<"u"?globalThis:j||self,U(j.MyViteLibrary={},j.React))})(this,function(j,U){"use strict";function Gs(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const H=Gs(U);function gt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yt={exports:{}},tt={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -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 Hn;function Xs(){return Hn||(Hn=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===
|
|
17
|
+
*/var Hn;function Xs(){return Hn||(Hn=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===Y?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case y:return"Fragment";case N:return"Profiler";case b:return"StrictMode";case _:return"Suspense";case T:return"SuspenseList";case z: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 O:return(u.displayName||"Context")+".Provider";case R: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 P:return g=u.displayName||null,g!==null?g:e(u.type)||"Memo";case M:g=u._payload,u=u._init;try{return e(u(g))}catch{}}return null}function t(u){return""+u}function n(u){try{t(u);var g=!1}catch{g=!0}if(g){g=console;var $=g.error,S=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.",S),t(u)}}function r(u){if(u===y)return"<>";if(typeof u=="object"&&u!==null&&u.$$typeof===M)return"<...>";try{var g=e(u);return g?"<"+g+">":"<...>"}catch{return"<...>"}}function o(){var u=I.A;return u===null?null:u.getOwner()}function s(){return Error("react-stack-top-frame")}function c(u){if(B.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 $(){K||(K=!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 G[u]||(G[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,$,S,A,W,L,X){return $=W.ref,u={$$typeof:v,type:u,key:g,props:W,_owner:A},($!==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:L}),Object.defineProperty(u,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:X}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}function h(u,g,$,S,A,W,L,X){var q=g.children;if(q!==void 0)if(S)if(ee(q)){for(S=0;S<q.length;S++)m(q[S]);Object.freeze&&Object.freeze(q)}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(q);if(B.call(g,"key")){q=e(u);var ne=Object.keys(g).filter(function(he){return he!=="key"});S=0<ne.length?"{key: someKey, "+ne.join(": ..., ")+": ...}":"{key: someKey}",le[q+S]||(ne=0<ne.length?"{"+ne.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} />`,S,
|
|
22
|
+
<%s key={someKey} {...props} />`,S,q,ne,q),le[q+S]=!0)}if(q=null,$!==void 0&&(n($),q=""+$),c(g)&&(n(g.key),q=""+g.key),"key"in g){$={};for(var se in g)se!=="key"&&($[se]=g[se])}else $=g;return q&&d($,typeof u=="function"?u.displayName||u.name||"Unknown":u),i(u,q,W,A,o(),$,L,X)}function m(u){typeof u=="object"&&u!==null&&u.$$typeof===v&&u._store&&(u._store.validated=1)}var f=U,v=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),O=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),z=Symbol.for("react.activity"),Y=Symbol.for("react.client.reference"),I=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=Object.prototype.hasOwnProperty,ee=Array.isArray,Q=console.createTask?console.createTask:function(){return null};f={"react-stack-bottom-frame":function(u){return u()}};var K,G={},te=f["react-stack-bottom-frame"].bind(f,s)(),fe=Q(r(s)),le={};nt.Fragment=y,nt.jsx=function(u,g,$,S,A){var W=1e4>I.recentlyCreatedOwnerStacks++;return h(u,g,$,!1,S,A,W?Error("react-stack-top-frame"):te,W?Q(r(u)):fe)},nt.jsxs=function(u,g,$,S,A){var W=1e4>I.recentlyCreatedOwnerStacks++;return h(u,g,$,!0,S,A,W?Error("react-stack-top-frame"):te,W?Q(r(u)):fe)}}()),nt}var Wn;function Qs(){return Wn||(Wn=1,process.env.NODE_ENV==="production"?yt.exports=Ks():yt.exports=Xs()),yt.exports}var a=Qs();const zt=0,Yt=1,_t=2,bt=3,xt=4,Zs=5,Un=6,Js=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],eo=e=>({_s:e,status:Js[e],isEnter:e<bt,isMounted:e!==Un,isResolved:e===_t||e>xt}),Vt=e=>e?Un:Zs,to=(e,t)=>{switch(e){case Yt:case zt:return _t;case xt:case bt:return Vt(t)}},no=e=>typeof e=="object"?[e.enter,e.exit]:[e,e],ro=(e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0),Gt=(e,t,n,r,o,s)=>{clearTimeout(o);const c=eo(t),d=new Map(r.current);d.set(e,c),n(d),r.current=d,s&&s({key:e,current:c})},so=({allowMultiple:e,enter:t=!0,exit:n=!0,preEnter:r,preExit:o,timeout:s,initialEntered:c,mountOnEnter:d,unmountOnExit:l,onStateChange:i}={})=>{const[h,m]=U.useState(new Map),f=U.useRef(h),v=U.useRef(new Map),[w,y]=no(s),b=U.useCallback((_,T)=>{const{initialEntered:P=c}=T||{},M=P?_t:Vt(d);Gt(_,M,m,f),v.current.set(_,{})},[c,d]),N=U.useCallback(_=>{const T=new Map(f.current);return T.delete(_)?(m(T),f.current=T,v.current.delete(_),!0):!1},[]),R=U.useCallback(_=>{const T=f.current.get(_);if(!T){process.env.NODE_ENV!=="production"&&console.error(`[React-Transition-State] invalid key: ${_}`);return}const{timeoutId:P}=v.current.get(_),M=to(T._s,l);M&&Gt(_,M,m,f,P,i)},[i,l]),O=U.useCallback((_,T)=>{const P=f.current.get(_);if(!P){process.env.NODE_ENV!=="production"&&console.error(`[React-Transition-State] invalid key: ${_}`);return}const M=v.current.get(_),z=I=>{switch(Gt(_,I,m,f,M.timeoutId,i),I){case Yt:w>=0&&(M.timeoutId=setTimeout(()=>R(_),w));break;case xt:y>=0&&(M.timeoutId=setTimeout(()=>R(_),y));break;case zt:case bt:M.timeoutId=ro(z,I);break}},Y=P.isEnter;typeof T!="boolean"&&(T=!Y),T?Y||(z(t?r?zt:Yt:_t),!e&&f.current.forEach((I,B)=>B!==_&&O(B,!1))):Y&&z(n?o?bt:xt:Vt(l))},[i,R,e,t,n,r,o,w,y,l]),E=U.useCallback(_=>{if(!(!e&&_!==!1))for(const T of f.current.keys())O(T,_)},[e,O]);return{stateMap:h,toggle:O,toggleAll:E,endTransition:R,setItem:b,deleteItem:N}},wt=(e,t)=>e===!0||!!(e&&e[t]),oo=({transition:e,transitionTimeout:t,...n}={})=>{const r=so({timeout:t,enter:wt(e,"enter"),exit:wt(e,"exit"),preEnter:wt(e,"preEnter"),preExit:wt(e,"preExit"),...n});return{mountOnEnter:!!n.mountOnEnter,initialEntered:!!n.initialEntered,...r}},Ve="szh-accordion",Kt="szh-adn",ao=`data-${Kt}`,Xt=`data-${Kt}-btn`,zn=U.createContext({}),Ge=(e,t,n)=>(r,o)=>{const s=t?`${e}__${t}`:e;let c=s;n&&Object.keys(n).forEach(l=>{const i=n[l];i&&(c+=` ${s}--${i===!0?l:`${l}-${i}`}`)});let d=typeof r=="function"?r(o):r;return typeof d=="string"&&(d=d.trim(),d&&(c+=` ${d}`)),c},Qt=(e,t)=>{if(!t)return e;const n={...e};return Object.keys(t).forEach(r=>{const o=e[r],s=t[r];typeof s=="function"&&o?n[r]=(...c)=>{o(...c),s(...c)}:n[r]=s}),n},io=e=>a.jsx(zn.Provider,{...e}),Zt=e=>{do e=e.parentElement;while(e&&!e.hasAttribute(ao));return e},Yn=(e,t,n)=>e?t>0?t-1:n-1:(t+1)%n,Vn=(e,t)=>{const{activeElement:n}=document;if(!n||!n.hasAttribute(Xt)||Zt(n)!==t.currentTarget)return;const r=t.currentTarget.querySelectorAll(`[${Xt}]`),{length:o}=r;for(let s=0;s<o;s++)if(r[s]===n){let c=Yn(e,s,o);for(;Zt(r[s])!==Zt(r[c]);)c=Yn(e,c,o);s!==c&&(t.preventDefault(),r[c].focus());break}},co=()=>({accordionProps:{"data-accordion":"",onKeyDown:t=>t.key==="ArrowUp"?Vn(!0,t):t.key==="ArrowDown"&&Vn(!1,t)}}),Gn=H.forwardRef(({providerValue:e,className:t,...n},r)=>{const{accordionProps:o}=co();return a.jsx(io,{value:e,children:a.jsx("div",{...Qt(o,n),ref:r,className:Ge(Ve)(t)})})});Gn.displayName="ControlledAccordion";const Jt=H.forwardRef(({allowMultiple:e,initialEntered:t,mountOnEnter:n,unmountOnExit:r,transition:o,transitionTimeout:s,onStateChange:c,...d},l)=>{const i=oo({allowMultiple:e,initialEntered:t,mountOnEnter:n,unmountOnExit:r,transition:o,transitionTimeout:s,onStateChange:c});return a.jsx(Gn,{...d,ref:l,providerValue:i})});Jt.displayName="Accordion";const $t={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")}},Et=
|
|
32
|
+
`,theme:"light",actualTheme:"light",setTheme:e=>{console.warn("setTheme not initialized")}},Et=U.createContext($t),en=()=>typeof window<"u"?window.matchMedia("(prefers-color-scheme: dark)").matches:!1,lo=({children:e,wrapperElement:t,prefix:n="wfp",initialTheme:r="light",...o})=>{const s=y=>{const b=`${n}--theme--`;y==="auto"&&en();const N=y==="auto"&&en()?"dark":y==="auto"?"light":y;if(t){const R=t.className.split(" ").filter(O=>!O.startsWith(b));t.className=R.join(" ").trim(),t.classList.add(`${n}--theme--${N}`)}return N},c=()=>{const y=d();return y==="auto"?en()?"dark":"light":y},d=()=>{const b=(typeof window<"u"?window.localStorage.getItem("theme"):!1)||r;return s(b),b},[l,i]=U.useState(d()),[h,m]=U.useState(c());U.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={...$t,...o,prefix:n,theme:l,actualTheme:h,initialized:!0,setTheme:y=>{const b=s(y);m(b),typeof window<"u"&&window.localStorage.setItem("theme",y),i(y)}};return a.jsx(Et.Provider,{value:w,children:e})};function k(){const e=U.useContext(Et);return e===void 0?$t:e}let uo=0;const fo=()=>{const[e,t]=U.useState();return U.useEffect(()=>t(++uo),[]),e&&`${Kt}-${e}`},Kn=U.useId||fo,po=({state:e,toggle:t,disabled:n})=>{const r=Kn(),o=r&&r+"-",s={id:r,"aria-controls":o,"aria-expanded":e.isEnter,onClick:t};return n?s.disabled=!0:s[Xt]="",{buttonProps:s,panelProps:{id:o,"aria-labelledby":r,role:"region"}}},mo=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?U.useLayoutEffect:U.useEffect,ho=({status:e,isResolved:t})=>{const[n,r]=U.useState(),o=U.useRef(null);return mo(()=>{(e==="preEnter"||e==="preExit")&&r(o.current.getBoundingClientRect().height)},[e]),[{height:e==="preEnter"||e==="exiting"?0:e==="entering"||e==="preExit"?n:void 0,overflow:t?void 0:"hidden"},o]};function Xn(e,t){typeof e=="function"?e(t):e.current=t}function Qn(e,t){return U.useMemo(()=>e?t?n=>{Xn(e,n),Xn(t,n)}:e:t,[e,t])}function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},me.apply(this,arguments)}var tn={exports:{}},oe={};/**
|
|
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 Zn;function vo(){if(Zn)return oe;Zn=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=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 b(u,g,$){this.props=u,this.context=g,this.refs=y,this.updater=$||v}b.prototype.isReactComponent={},b.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")},b.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function N(){}N.prototype=b.prototype;function R(u,g,$){this.props=u,this.context=g,this.refs=y,this.updater=$||v}var O=R.prototype=new N;O.constructor=R,w(O,b.prototype),O.isPureReactComponent=!0;var E=Array.isArray,_={H:null,A:null,T:null,S:null,V:null},T=Object.prototype.hasOwnProperty;function P(u,g,$,S,
|
|
40
|
+
*/var Zn;function vo(){if(Zn)return oe;Zn=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=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 b(u,g,$){this.props=u,this.context=g,this.refs=y,this.updater=$||v}b.prototype.isReactComponent={},b.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")},b.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function N(){}N.prototype=b.prototype;function R(u,g,$){this.props=u,this.context=g,this.refs=y,this.updater=$||v}var O=R.prototype=new N;O.constructor=R,w(O,b.prototype),O.isPureReactComponent=!0;var E=Array.isArray,_={H:null,A:null,T:null,S:null,V:null},T=Object.prototype.hasOwnProperty;function P(u,g,$,S,A,W){return $=W.ref,{$$typeof:e,type:u,key:g,ref:$!==void 0?$:null,props:W}}function M(u,g){return P(u.type,g,void 0,void 0,void 0,u.props)}function z(u){return typeof u=="object"&&u!==null&&u.$$typeof===e}function Y(u){var g={"=":"=0",":":"=2"};return"$"+u.replace(/[=:]/g,function($){return g[$]})}var I=/\/+/g;function B(u,g){return typeof u=="object"&&u!==null&&u.key!=null?Y(""+u.key):g.toString(36)}function ee(){}function Q(u){switch(u.status){case"fulfilled":return u.value;case"rejected":throw u.reason;default:switch(typeof u.status=="string"?u.then(ee,ee):(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 K(u,g,$,S,A){var W=typeof u;(W==="undefined"||W==="boolean")&&(u=null);var L=!1;if(u===null)L=!0;else switch(W){case"bigint":case"string":case"number":L=!0;break;case"object":switch(u.$$typeof){case e:case t:L=!0;break;case h:return L=u._init,K(L(u._payload),g,$,S,A)}}if(L)return A=A(u),L=S===""?"."+B(u,0):S,E(A)?($="",L!=null&&($=L.replace(I,"$&/")+"/"),K(A,g,$,"",function(ne){return ne})):A!=null&&(z(A)&&(A=M(A,$+(A.key==null||u&&u.key===A.key?"":(""+A.key).replace(I,"$&/")+"/")+L)),g.push(A)),1;L=0;var X=S===""?".":S+":";if(E(u))for(var q=0;q<u.length;q++)S=u[q],W=X+B(S,q),L+=K(S,g,$,W,A);else if(q=f(u),typeof q=="function")for(u=q.call(u),q=0;!(S=u.next()).done;)S=S.value,W=X+B(S,q++),L+=K(S,g,$,W,A);else if(W==="object"){if(typeof u.then=="function")return K(Q(u),g,$,S,A);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 L}function G(u,g,$){if(u==null)return u;var S=[],A=0;return K(u,S,"","",function(W){return g.call($,W,A++)}),S}function te(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 fe=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 le(){}return oe.Children={map:G,forEach:function(u,g,$){G(u,function(){g.apply(this,arguments)},$)},count:function(u){var g=0;return G(u,function(){g++}),g},toArray:function(u){return G(u,function(g){return g})||[]},only:function(u){if(!z(u))throw Error("React.Children.only expected to receive a single React element child.");return u}},oe.Component=b,oe.Fragment=n,oe.Profiler=o,oe.PureComponent=R,oe.StrictMode=r,oe.Suspense=l,oe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,oe.__COMPILER_RUNTIME={__proto__:null,c:function(u){return _.H.useMemoCache(u)}},oe.cache=function(u){return function(){return u.apply(null,arguments)}},oe.cloneElement=function(u,g,$){if(u==null)throw Error("The argument must be a React element, but you passed "+u+".");var S=w({},u.props),A=u.key,W=void 0;if(g!=null)for(L in g.ref!==void 0&&(W=void 0),g.key!==void 0&&(A=""+g.key),g)!T.call(g,L)||L==="key"||L==="__self"||L==="__source"||L==="ref"&&g.ref===void 0||(S[L]=g[L]);var L=arguments.length-2;if(L===1)S.children=$;else if(1<L){for(var X=Array(L),q=0;q<L;q++)X[q]=arguments[q+2];S.children=X}return P(u.type,A,void 0,void 0,W,S)},oe.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},oe.createElement=function(u,g,$){var S,A={},W=null;if(g!=null)for(S in g.key!==void 0&&(W=""+g.key),g)T.call(g,S)&&S!=="key"&&S!=="__self"&&S!=="__source"&&(A[S]=g[S]);var L=arguments.length-2;if(L===1)A.children=$;else if(1<L){for(var X=Array(L),q=0;q<L;q++)X[q]=arguments[q+2];A.children=X}if(u&&u.defaultProps)for(S in L=u.defaultProps,L)A[S]===void 0&&(A[S]=L[S]);return P(u,W,void 0,void 0,null,A)},oe.createRef=function(){return{current:null}},oe.forwardRef=function(u){return{$$typeof:d,render:u}},oe.isValidElement=z,oe.lazy=function(u){return{$$typeof:h,_payload:{_status:-1,_result:u},_init:te}},oe.memo=function(u,g){return{$$typeof:i,type:u,compare:g===void 0?null:g}},oe.startTransition=function(u){var g=_.T,$={};_.T=$;try{var S=u(),A=_.S;A!==null&&A($,S),typeof S=="object"&&S!==null&&typeof S.then=="function"&&S.then(le,fe)}catch(W){fe(W)}finally{_.T=g}},oe.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},oe.use=function(u){return _.H.use(u)},oe.useActionState=function(u,g,$){return _.H.useActionState(u,g,$)},oe.useCallback=function(u,g){return _.H.useCallback(u,g)},oe.useContext=function(u){return _.H.useContext(u)},oe.useDebugValue=function(){},oe.useDeferredValue=function(u,g){return _.H.useDeferredValue(u,g)},oe.useEffect=function(u,g,$){var S=_.H;if(typeof $=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return S.useEffect(u,g)},oe.useId=function(){return _.H.useId()},oe.useImperativeHandle=function(u,g,$){return _.H.useImperativeHandle(u,g,$)},oe.useInsertionEffect=function(u,g){return _.H.useInsertionEffect(u,g)},oe.useLayoutEffect=function(u,g){return _.H.useLayoutEffect(u,g)},oe.useMemo=function(u,g){return _.H.useMemo(u,g)},oe.useOptimistic=function(u,g){return _.H.useOptimistic(u,g)},oe.useReducer=function(u,g,$){return _.H.useReducer(u,g,$)},oe.useRef=function(u){return _.H.useRef(u)},oe.useState=function(u){return _.H.useState(u)},oe.useSyncExternalStore=function(u,g,$){return _.H.useSyncExternalStore(u,g,$)},oe.useTransition=function(){return _.H.useTransition()},oe.version="19.1.0",oe}var rt={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
|
-
*/rt.exports;var Jn;function go(){return Jn||(Jn=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){function n(p,x){Object.defineProperty(s.prototype,p,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",x[0],x[1])}})}function r(p){return p===null||typeof p!="object"?null:(p=he&&p[he]||p["@@iterator"],typeof p=="function"?p:null)}function o(p,x){p=(p=p.constructor)&&(p.displayName||p.name)||"ReactClass";var
|
|
48
|
+
*/rt.exports;var Jn;function go(){return Jn||(Jn=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){function n(p,x){Object.defineProperty(s.prototype,p,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",x[0],x[1])}})}function r(p){return p===null||typeof p!="object"?null:(p=he&&p[he]||p["@@iterator"],typeof p=="function"?p:null)}function o(p,x){p=(p=p.constructor)&&(p.displayName||p.name)||"ReactClass";var F=p+"."+x;D[F]||(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.",x,p),D[F]=!0)}function s(p,x,F){this.props=p,this.context=x,this.refs=Fe,this.updater=F||ve}function c(){}function d(p,x,F){this.props=p,this.context=x,this.refs=Fe,this.updater=F||ve}function l(p){return""+p}function i(p){try{l(p);var x=!1}catch{x=!0}if(x){x=console;var F=x.error,V=typeof Symbol=="function"&&Symbol.toStringTag&&p[Symbol.toStringTag]||p.constructor.name||"Object";return F.call(x,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",V),l(p)}}function h(p){if(p==null)return null;if(typeof p=="function")return p.$$typeof===Bn?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 L:return"Suspense";case X:return"SuspenseList";case se: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 le:return"Portal";case A:return(p.displayName||"Context")+".Provider";case S:return(p._context.displayName||"Context")+".Consumer";case W:var x=p.render;return p=p.displayName,p||(p=x.displayName||x.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case q:return x=p.displayName||null,x!==null?x:h(p.type)||"Memo";case ne:x=p._payload,p=p._init;try{return h(p(x))}catch{}}return null}function m(p){if(p===u)return"<>";if(typeof p=="object"&&p!==null&&p.$$typeof===ne)return"<...>";try{var x=h(p);return x?"<"+x+">":"<...>"}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(Ie.call(p,"key")){var x=Object.getOwnPropertyDescriptor(p,"key").get;if(x&&x.isReactWarning)return!1}return p.key!==void 0}function y(p,x){function F(){mt||(mt=!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)",x))}F.isReactWarning=!0,Object.defineProperty(p,"key",{get:F,configurable:!0})}function b(){var p=h(this.type);return ht[p]||(ht[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 N(p,x,F,V,J,ce,ae,pe){return F=ce.ref,p={$$typeof:fe,type:p,key:x,props:ce,_owner:J},(F!==void 0?F:null)!==null?Object.defineProperty(p,"ref",{enumerable:!1,get:b}):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:ae}),Object.defineProperty(p,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:pe}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p}function R(p,x){return x=N(p.type,x,void 0,void 0,p._owner,p.props,p._debugStack,p._debugTask),p._store&&(x._store.validated=p._store.validated),x}function O(p){return typeof p=="object"&&p!==null&&p.$$typeof===fe}function E(p){var x={"=":"=0",":":"=2"};return"$"+p.replace(/[=:]/g,function(F){return x[F]})}function _(p,x){return typeof p=="object"&&p!==null&&p.key!=null?(i(p.key),E(""+p.key)):x.toString(36)}function T(){}function P(p){switch(p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(T,T):(p.status="pending",p.then(function(x){p.status==="pending"&&(p.status="fulfilled",p.value=x)},function(x){p.status==="pending"&&(p.status="rejected",p.reason=x)})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}}throw p}function M(p,x,F,V,J){var ce=typeof p;(ce==="undefined"||ce==="boolean")&&(p=null);var ae=!1;if(p===null)ae=!0;else switch(ce){case"bigint":case"string":case"number":ae=!0;break;case"object":switch(p.$$typeof){case fe:case le:ae=!0;break;case ne:return ae=p._init,M(ae(p._payload),x,F,V,J)}}if(ae){ae=p,J=J(ae);var pe=V===""?"."+_(ae,0):V;return Bt(J)?(F="",pe!=null&&(F=pe.replace(Us,"$&/")+"/"),M(J,x,F,"",function(He){return He})):J!=null&&(O(J)&&(J.key!=null&&(ae&&ae.key===J.key||i(J.key)),F=R(J,F+(J.key==null||ae&&ae.key===J.key?"":(""+J.key).replace(Us,"$&/")+"/")+pe),V!==""&&ae!=null&&O(ae)&&ae.key==null&&ae._store&&!ae._store.validated&&(F._store.validated=2),J=F),x.push(J)),1}if(ae=0,pe=V===""?".":V+":",Bt(p))for(var ie=0;ie<p.length;ie++)V=p[ie],ce=pe+_(V,ie),ae+=M(V,x,F,ce,J);else if(ie=r(p),typeof ie=="function")for(ie===p.entries&&(vt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vt=!0),p=ie.call(p),ie=0;!(V=p.next()).done;)V=V.value,ce=pe+_(V,ie++),ae+=M(V,x,F,ce,J);else if(ce==="object"){if(typeof p.then=="function")return M(P(p),x,F,V,J);throw x=String(p),Error("Objects are not valid as a React child (found: "+(x==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":x)+"). If you meant to render a collection of children, use an array instead.")}return ae}function z(p,x,F){if(p==null)return p;var V=[],J=0;return M(p,V,"","",function(ce){return x.call(F,ce,J++)}),V}function Y(p){if(p._status===-1){var x=p._result;x=x(),x.then(function(F){(p._status===0||p._status===-1)&&(p._status=1,p._result=F)},function(F){(p._status===0||p._status===-1)&&(p._status=2,p._result=F)}),p._status===-1&&(p._status=0,p._result=x)}if(p._status===1)return x=p._result,x===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?`,x),"default"in x||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'))`,x),x.default;throw p._result}function
|
|
56
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,x),x.default;throw p._result}function I(){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 G(){}function te(p){if(Ht===null)try{var x=("require"+Math.random()).slice(0,7);Ht=(e&&e[x]).call(e,"timers").setImmediate}catch{Ht=function(Y){Ys===!1&&(Ys=!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 J=new MessageChannel;J.port1.onmessage=Y,J.port2.postMessage(void 0)}}return Ht(p)}function ee(p){return 1<p.length&&typeof AggregateError=="function"?new AggregateError(p):p[0]}function Q(p,x){x!==Wt-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. "),Wt=x}function V(p,x,q){var Y=se.actQueue;if(Y!==null)if(Y.length!==0)try{ne(Y),te(function(){return V(p,x,q)});return}catch(J){se.thrownErrors.push(J)}else se.actQueue=null;0<se.thrownErrors.length?(Y=ee(se.thrownErrors),se.thrownErrors.length=0,q(Y)):x(p)}function ne(p){if(!qn){qn=!0;var x=0;try{for(;x<p.length;x++){var q=p[x];do{se.didUsePromise=!1;var Y=q(!1);if(Y!==null){if(se.didUsePromise){p[x]=q,p.splice(0,x);return}q=Y}else break}while(!0)}p.length=0}catch(J){p.splice(0,x+1),se.thrownErrors.push(J)}finally{qn=!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"),fe=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),D=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),re=Symbol.for("react.activity"),he=Symbol.iterator,z={},_e={isMounted:function(){return!1},enqueueForceUpdate:function(p){o(p,"forceUpdate")},enqueueReplaceState:function(p){o(p,"replaceState")},enqueueSetState:function(p){o(p,"setState")}},Me=Object.assign,Fe={};Object.freeze(Fe),s.prototype.isReactComponent={},s.prototype.setState=function(p,x){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,x,"setState")},s.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};var be={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)."]},Ye;for(Ye in be)be.hasOwnProperty(Ye)&&n(Ye,be[Ye]);c.prototype=s.prototype,be=d.prototype=new c,be.constructor=d,Me(be,s.prototype),be.isPureReactComponent=!0;var Bt=Array.isArray,Bn=Symbol.for("react.client.reference"),se={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ie=Object.prototype.hasOwnProperty,pt=console.createTask?console.createTask:function(){return null};be={"react-stack-bottom-frame":function(p){return p()}};var mt,Je,ht={},qt=be["react-stack-bottom-frame"].bind(be,v)(),Ft=pt(m(v)),vt=!1,Us=/\/+/g,zs=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var x=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(x))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)},Ys=!1,Ht=null,Wt=0,Ut=!1,qn=!1,Vs=typeof queueMicrotask=="function"?function(p){queueMicrotask(function(){return queueMicrotask(p)})}:te;be=Object.freeze({__proto__:null,c:function(p){return A().useMemoCache(p)}}),t.Children={map:I,forEach:function(p,x,q){I(p,function(){x.apply(this,arguments)},q)},count:function(p){var x=0;return I(p,function(){x++}),x},toArray:function(p){return I(p,function(x){return x})||[]},only:function(p){if(!O(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=L,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=se,t.__COMPILER_RUNTIME=be,t.act=function(p){var x=se.actQueue,q=Wt;Wt++;var Y=se.actQueue=x!==null?x:[],J=!1;try{var ce=p()}catch(ie){se.thrownErrors.push(ie)}if(0<se.thrownErrors.length)throw Q(x,q),p=ee(se.thrownErrors),se.thrownErrors.length=0,p;if(ce!==null&&typeof ce=="object"&&typeof ce.then=="function"){var ae=ce;return Vs(function(){J||Ut||(Ut=!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(ie,He){J=!0,ae.then(function(et){if(Q(x,q),q===0){try{ne(Y),te(function(){return V(et,ie,He)})}catch(Pc){se.thrownErrors.push(Pc)}if(0<se.thrownErrors.length){var kc=ee(se.thrownErrors);se.thrownErrors.length=0,He(kc)}}else ie(et)},function(et){Q(x,q),0<se.thrownErrors.length&&(et=ee(se.thrownErrors),se.thrownErrors.length=0),He(et)})}}}var pe=ce;if(Q(x,q),q===0&&(ne(Y),Y.length!==0&&Vs(function(){J||Ut||(Ut=!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(() => ...)"))}),se.actQueue=null),0<se.thrownErrors.length)throw p=ee(se.thrownErrors),se.thrownErrors.length=0,p;return{then:function(ie,He){J=!0,q===0?(se.actQueue=Y,te(function(){return V(pe,ie,He)})):ie(pe)}}},t.cache=function(p){return function(){return p.apply(null,arguments)}},t.captureOwnerStack=function(){var p=se.getCurrentStack;return p===null?null:p()},t.cloneElement=function(p,x,q){if(p==null)throw Error("The argument must be a React element, but you passed "+p+".");var Y=Me({},p.props),J=p.key,ce=p._owner;if(x!=null){var ae;e:{if(Ie.call(x,"ref")&&(ae=Object.getOwnPropertyDescriptor(x,"ref").get)&&ae.isReactWarning){ae=!1;break e}ae=x.ref!==void 0}ae&&(ce=f()),w(x)&&(i(x.key),J=""+x.key);for(pe in x)!Ie.call(x,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&x.ref===void 0||(Y[pe]=x[pe])}var pe=arguments.length-2;if(pe===1)Y.children=q;else if(1<pe){ae=Array(pe);for(var ie=0;ie<pe;ie++)ae[ie]=arguments[ie+2];Y.children=ae}for(Y=N(p.type,J,void 0,void 0,ce,Y,p._debugStack,p._debugTask),J=2;J<arguments.length;J++)ce=arguments[J],O(ce)&&ce._store&&(ce._store.validated=1);return Y},t.createContext=function(p){return p={$$typeof:D,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null},p.Provider=p,p.Consumer={$$typeof:S,_context:p},p._currentRenderer=null,p._currentRenderer2=null,p},t.createElement=function(p,x,q){for(var Y=2;Y<arguments.length;Y++){var J=arguments[Y];O(J)&&J._store&&(J._store.validated=1)}if(Y={},J=null,x!=null)for(ie in Je||!("__self"in x)||"key"in x||(Je=!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(x)&&(i(x.key),J=""+x.key),x)Ie.call(x,ie)&&ie!=="key"&&ie!=="__self"&&ie!=="__source"&&(Y[ie]=x[ie]);var ce=arguments.length-2;if(ce===1)Y.children=q;else if(1<ce){for(var ae=Array(ce),pe=0;pe<ce;pe++)ae[pe]=arguments[pe+2];Object.freeze&&Object.freeze(ae),Y.children=ae}if(p&&p.defaultProps)for(ie in ce=p.defaultProps,ce)Y[ie]===void 0&&(Y[ie]=ce[ie]);J&&y(Y,typeof p=="function"?p.displayName||p.name||"Unknown":p);var ie=1e4>se.recentlyCreatedOwnerStacks++;return N(p,J,void 0,void 0,f(),Y,ie?Error("react-stack-top-frame"):qt,ie?pt(m(p)):Ft)},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 x={$$typeof:H,render:p},q;return Object.defineProperty(x,"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)}}),x},t.isValidElement=O,t.lazy=function(p){return{$$typeof:K,_payload:{_status:-1,_result:p},_init:U}},t.memo=function(p,x){p==null&&console.error("memo: The first argument must be a component. Instead received: %s",p===null?"null":typeof p),x={$$typeof:B,type:p,compare:x===void 0?null:x};var q;return Object.defineProperty(x,"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)}}),x},t.startTransition=function(p){var x=se.T,q={};se.T=q,q._updatedFibers=new Set;try{var Y=p(),J=se.S;J!==null&&J(q,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(G,zs)}catch(ce){zs(ce)}finally{x===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.")),se.T=x}},t.unstable_useCacheRefresh=function(){return A().useCacheRefresh()},t.use=function(p){return A().use(p)},t.useActionState=function(p,x,q){return A().useActionState(p,x,q)},t.useCallback=function(p,x){return A().useCallback(p,x)},t.useContext=function(p){var x=A();return p.$$typeof===S&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),x.useContext(p)},t.useDebugValue=function(p,x){return A().useDebugValue(p,x)},t.useDeferredValue=function(p,x){return A().useDeferredValue(p,x)},t.useEffect=function(p,x,q){p==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var Y=A();if(typeof q=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Y.useEffect(p,x)},t.useId=function(){return A().useId()},t.useImperativeHandle=function(p,x,q){return A().useImperativeHandle(p,x,q)},t.useInsertionEffect=function(p,x){return p==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useInsertionEffect(p,x)},t.useLayoutEffect=function(p,x){return p==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),A().useLayoutEffect(p,x)},t.useMemo=function(p,x){return A().useMemo(p,x)},t.useOptimistic=function(p,x){return A().useOptimistic(p,x)},t.useReducer=function(p,x,q){return A().useReducer(p,x,q)},t.useRef=function(p){return A().useRef(p)},t.useState=function(p){return A().useState(p)},t.useSyncExternalStore=function(p,x,q){return A().useSyncExternalStore(p,x,q)},t.useTransition=function(){return A().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())}()}(rt,rt.exports)),rt.exports}process.env.NODE_ENV==="production"?tn.exports=vo():tn.exports=go();var Z=tn.exports,yo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 14"},e),Z.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"})),nn=e=>Z.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),Z.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"})),_o=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",width:"1em",height:"1em"},e),Z.createElement("path",{fill:"currentColor",d:"M320 240 160 384 0 240v-48h320z"})),bo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 10 5"},e),Z.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M0 5 5 .002 10 5z"})),xo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",width:"1em",height:"1em"},e),Z.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"})),wo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 10 8"},e),Z.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"})),$o=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),rn=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"1em",height:"1em"},e),Z.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"})),er=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 7 12"},e),Z.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"})),tr=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 7 12"},e),Z.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"})),Eo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 12 7"},e),Z.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"})),jt=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:"1em",height:"1em"},e),Z.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"})),jo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:"1em",height:"1em"},e),Z.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"})),No=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),nr=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),Co=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 576 512"},e),Z.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"})),To=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),So=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),Oo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),Ro=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 14"},e),Z.createElement("path",{fill:"currentColor",d:"M0 0h20v2H0zM0 6h20v2H0zM0 12h20v2H0z"})),ko=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 3 15"},e),Z.createElement("g",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1},Z.createElement("circle",{cx:1.5,cy:1.5,r:1.5}),Z.createElement("circle",{cx:1.5,cy:7.5,r:1.5}),Z.createElement("circle",{cx:1.5,cy:13.5,r:1.5}))),Po=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),Ao=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 448 512"},e),Z.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})),Do=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.createElement("g",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1},Z.createElement("path",{d:"M7.25 6h1.5v5h-1.5z"}),Z.createElement("circle",{cx:8,cy:12.75,r:1}),Z.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"}))),rr=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"}));const Mo=(e,t,n)=>{const{stateMap:r,mountOnEnter:o,initialEntered:s}=e,c=n??s;return r.get(t)||{status:c?"entered":o?"unmounted":"exited",isMounted:!o,isEnter:c,isResolved:!0}},Io=()=>{const e=W.useContext(zn);if(process.env.NODE_ENV!=="production"&&!e.stateMap)throw new Error("[React-Accordion] Cannot find a <AccordionProvider/> above this AccordionItem.");return e},Lo=({itemKey:e,initialEntered:t,disabled:n}={})=>{const r=W.useRef(null),o=Io(),s=e??r.current,c=Mo(o,s,t),{setItem:d,deleteItem:l,toggle:i}=o;return W.useEffect(()=>{if(n)return;const h=e??r.current;return d(h,{initialEntered:t}),()=>void l(h)},[d,l,e,t,n]),{itemRef:r,state:c,toggle:W.useCallback(h=>i(s,h),[i,s])}},sr=e=>{const t=F.forwardRef(({itemKey:n,initialEntered:r,...o},s)=>a.jsx(e,{forwardedRef:s,...o,...Lo({itemKey:n,initialEntered:r,disabled:o.disabled})}));return t.displayName="withAccordionItem",t};sr.displayName="withAccordionItem";var sn={exports:{}};/*!
|
|
60
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),p}function B(){}function ee(p){if(Ht===null)try{var x=("require"+Math.random()).slice(0,7);Ht=(e&&e[x]).call(e,"timers").setImmediate}catch{Ht=function(V){Ys===!1&&(Ys=!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 J=new MessageChannel;J.port1.onmessage=V,J.port2.postMessage(void 0)}}return Ht(p)}function Q(p){return 1<p.length&&typeof AggregateError=="function"?new AggregateError(p):p[0]}function K(p,x){x!==Wt-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. "),Wt=x}function G(p,x,F){var V=re.actQueue;if(V!==null)if(V.length!==0)try{te(V),ee(function(){return G(p,x,F)});return}catch(J){re.thrownErrors.push(J)}else re.actQueue=null;0<re.thrownErrors.length?(V=Q(re.thrownErrors),re.thrownErrors.length=0,F(V)):x(p)}function te(p){if(!qn){qn=!0;var x=0;try{for(;x<p.length;x++){var F=p[x];do{re.didUsePromise=!1;var V=F(!1);if(V!==null){if(re.didUsePromise){p[x]=F,p.splice(0,x);return}F=V}else break}while(!0)}p.length=0}catch(J){p.splice(0,x+1),re.thrownErrors.push(J)}finally{qn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var fe=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"),S=Symbol.for("react.consumer"),A=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),he=Symbol.iterator,D={},ve={isMounted:function(){return!1},enqueueForceUpdate:function(p){o(p,"forceUpdate")},enqueueReplaceState:function(p){o(p,"replaceState")},enqueueSetState:function(p){o(p,"setState")}},Ee=Object.assign,Fe={};Object.freeze(Fe),s.prototype.isReactComponent={},s.prototype.setState=function(p,x){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,x,"setState")},s.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};var be={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)."]},Ye;for(Ye in be)be.hasOwnProperty(Ye)&&n(Ye,be[Ye]);c.prototype=s.prototype,be=d.prototype=new c,be.constructor=d,Ee(be,s.prototype),be.isPureReactComponent=!0;var Bt=Array.isArray,Bn=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},Ie=Object.prototype.hasOwnProperty,pt=console.createTask?console.createTask:function(){return null};be={"react-stack-bottom-frame":function(p){return p()}};var mt,Je,ht={},qt=be["react-stack-bottom-frame"].bind(be,v)(),Ft=pt(m(v)),vt=!1,Us=/\/+/g,zs=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var x=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(x))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)},Ys=!1,Ht=null,Wt=0,Ut=!1,qn=!1,Vs=typeof queueMicrotask=="function"?function(p){queueMicrotask(function(){return queueMicrotask(p)})}:ee;be=Object.freeze({__proto__:null,c:function(p){return I().useMemoCache(p)}}),t.Children={map:z,forEach:function(p,x,F){z(p,function(){x.apply(this,arguments)},F)},count:function(p){var x=0;return z(p,function(){x++}),x},toArray:function(p){return z(p,function(x){return x})||[]},only:function(p){if(!O(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=L,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=re,t.__COMPILER_RUNTIME=be,t.act=function(p){var x=re.actQueue,F=Wt;Wt++;var V=re.actQueue=x!==null?x:[],J=!1;try{var ce=p()}catch(ie){re.thrownErrors.push(ie)}if(0<re.thrownErrors.length)throw K(x,F),p=Q(re.thrownErrors),re.thrownErrors.length=0,p;if(ce!==null&&typeof ce=="object"&&typeof ce.then=="function"){var ae=ce;return Vs(function(){J||Ut||(Ut=!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(ie,He){J=!0,ae.then(function(et){if(K(x,F),F===0){try{te(V),ee(function(){return G(et,ie,He)})}catch(Pc){re.thrownErrors.push(Pc)}if(0<re.thrownErrors.length){var kc=Q(re.thrownErrors);re.thrownErrors.length=0,He(kc)}}else ie(et)},function(et){K(x,F),0<re.thrownErrors.length&&(et=Q(re.thrownErrors),re.thrownErrors.length=0),He(et)})}}}var pe=ce;if(K(x,F),F===0&&(te(V),V.length!==0&&Vs(function(){J||Ut||(Ut=!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=Q(re.thrownErrors),re.thrownErrors.length=0,p;return{then:function(ie,He){J=!0,F===0?(re.actQueue=V,ee(function(){return G(pe,ie,He)})):ie(pe)}}},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,x,F){if(p==null)throw Error("The argument must be a React element, but you passed "+p+".");var V=Ee({},p.props),J=p.key,ce=p._owner;if(x!=null){var ae;e:{if(Ie.call(x,"ref")&&(ae=Object.getOwnPropertyDescriptor(x,"ref").get)&&ae.isReactWarning){ae=!1;break e}ae=x.ref!==void 0}ae&&(ce=f()),w(x)&&(i(x.key),J=""+x.key);for(pe in x)!Ie.call(x,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&x.ref===void 0||(V[pe]=x[pe])}var pe=arguments.length-2;if(pe===1)V.children=F;else if(1<pe){ae=Array(pe);for(var ie=0;ie<pe;ie++)ae[ie]=arguments[ie+2];V.children=ae}for(V=N(p.type,J,void 0,void 0,ce,V,p._debugStack,p._debugTask),J=2;J<arguments.length;J++)ce=arguments[J],O(ce)&&ce._store&&(ce._store.validated=1);return V},t.createContext=function(p){return p={$$typeof:A,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null},p.Provider=p,p.Consumer={$$typeof:S,_context:p},p._currentRenderer=null,p._currentRenderer2=null,p},t.createElement=function(p,x,F){for(var V=2;V<arguments.length;V++){var J=arguments[V];O(J)&&J._store&&(J._store.validated=1)}if(V={},J=null,x!=null)for(ie in Je||!("__self"in x)||"key"in x||(Je=!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(x)&&(i(x.key),J=""+x.key),x)Ie.call(x,ie)&&ie!=="key"&&ie!=="__self"&&ie!=="__source"&&(V[ie]=x[ie]);var ce=arguments.length-2;if(ce===1)V.children=F;else if(1<ce){for(var ae=Array(ce),pe=0;pe<ce;pe++)ae[pe]=arguments[pe+2];Object.freeze&&Object.freeze(ae),V.children=ae}if(p&&p.defaultProps)for(ie in ce=p.defaultProps,ce)V[ie]===void 0&&(V[ie]=ce[ie]);J&&y(V,typeof p=="function"?p.displayName||p.name||"Unknown":p);var ie=1e4>re.recentlyCreatedOwnerStacks++;return N(p,J,void 0,void 0,f(),V,ie?Error("react-stack-top-frame"):qt,ie?pt(m(p)):Ft)},t.createRef=function(){var p={current:null};return Object.seal(p),p},t.forwardRef=function(p){p!=null&&p.$$typeof===q?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 x={$$typeof:W,render:p},F;return Object.defineProperty(x,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(V){F=V,p.name||p.displayName||(Object.defineProperty(p,"name",{value:V}),p.displayName=V)}}),x},t.isValidElement=O,t.lazy=function(p){return{$$typeof:ne,_payload:{_status:-1,_result:p},_init:Y}},t.memo=function(p,x){p==null&&console.error("memo: The first argument must be a component. Instead received: %s",p===null?"null":typeof p),x={$$typeof:q,type:p,compare:x===void 0?null:x};var F;return Object.defineProperty(x,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(V){F=V,p.name||p.displayName||(Object.defineProperty(p,"name",{value:V}),p.displayName=V)}}),x},t.startTransition=function(p){var x=re.T,F={};re.T=F,F._updatedFibers=new Set;try{var V=p(),J=re.S;J!==null&&J(F,V),typeof V=="object"&&V!==null&&typeof V.then=="function"&&V.then(B,zs)}catch(ce){zs(ce)}finally{x===null&&F._updatedFibers&&(p=F._updatedFibers.size,F._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=x}},t.unstable_useCacheRefresh=function(){return I().useCacheRefresh()},t.use=function(p){return I().use(p)},t.useActionState=function(p,x,F){return I().useActionState(p,x,F)},t.useCallback=function(p,x){return I().useCallback(p,x)},t.useContext=function(p){var x=I();return p.$$typeof===S&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),x.useContext(p)},t.useDebugValue=function(p,x){return I().useDebugValue(p,x)},t.useDeferredValue=function(p,x){return I().useDeferredValue(p,x)},t.useEffect=function(p,x,F){p==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var V=I();if(typeof F=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return V.useEffect(p,x)},t.useId=function(){return I().useId()},t.useImperativeHandle=function(p,x,F){return I().useImperativeHandle(p,x,F)},t.useInsertionEffect=function(p,x){return p==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),I().useInsertionEffect(p,x)},t.useLayoutEffect=function(p,x){return p==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),I().useLayoutEffect(p,x)},t.useMemo=function(p,x){return I().useMemo(p,x)},t.useOptimistic=function(p,x){return I().useOptimistic(p,x)},t.useReducer=function(p,x,F){return I().useReducer(p,x,F)},t.useRef=function(p){return I().useRef(p)},t.useState=function(p){return I().useState(p)},t.useSyncExternalStore=function(p,x,F){return I().useSyncExternalStore(p,x,F)},t.useTransition=function(){return I().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())}()}(rt,rt.exports)),rt.exports}process.env.NODE_ENV==="production"?tn.exports=vo():tn.exports=go();var Z=tn.exports,yo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 14"},e),Z.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"})),nn=e=>Z.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),Z.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"})),_o=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",width:"1em",height:"1em"},e),Z.createElement("path",{fill:"currentColor",d:"M320 240 160 384 0 240v-48h320z"})),bo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 10 5"},e),Z.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1,d:"M0 5 5 .002 10 5z"})),xo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",width:"1em",height:"1em"},e),Z.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"})),wo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 10 8"},e),Z.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"})),$o=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),rn=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"1em",height:"1em"},e),Z.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"})),er=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 7 12"},e),Z.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"})),tr=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 7 12"},e),Z.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"})),Eo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 12 7"},e),Z.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"})),jt=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:"1em",height:"1em"},e),Z.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"})),jo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:"1em",height:"1em"},e),Z.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"})),No=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),nr=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),Co=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 576 512"},e),Z.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"})),To=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),So=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),Oo=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),Ro=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 14"},e),Z.createElement("path",{fill:"currentColor",d:"M0 0h20v2H0zM0 6h20v2H0zM0 12h20v2H0z"})),ko=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 3 15"},e),Z.createElement("g",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1},Z.createElement("circle",{cx:1.5,cy:1.5,r:1.5}),Z.createElement("circle",{cx:1.5,cy:7.5,r:1.5}),Z.createElement("circle",{cx:1.5,cy:13.5,r:1.5}))),Po=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"})),Ao=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 448 512"},e),Z.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})),Do=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.createElement("g",{fill:"currentColor",fillRule:"evenodd",stroke:"none",strokeWidth:1},Z.createElement("path",{d:"M7.25 6h1.5v5h-1.5z"}),Z.createElement("circle",{cx:8,cy:12.75,r:1}),Z.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"}))),rr=e=>Z.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},e),Z.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"}));const Mo=(e,t,n)=>{const{stateMap:r,mountOnEnter:o,initialEntered:s}=e,c=n??s;return r.get(t)||{status:c?"entered":o?"unmounted":"exited",isMounted:!o,isEnter:c,isResolved:!0}},Io=()=>{const e=U.useContext(zn);if(process.env.NODE_ENV!=="production"&&!e.stateMap)throw new Error("[React-Accordion] Cannot find a <AccordionProvider/> above this AccordionItem.");return e},Lo=({itemKey:e,initialEntered:t,disabled:n}={})=>{const r=U.useRef(null),o=Io(),s=e??r.current,c=Mo(o,s,t),{setItem:d,deleteItem:l,toggle:i}=o;return U.useEffect(()=>{if(n)return;const h=e??r.current;return d(h,{initialEntered:t}),()=>void l(h)},[d,l,e,t,n]),{itemRef:r,state:c,toggle:U.useCallback(h=>i(s,h),[i,s])}},sr=e=>{const t=H.forwardRef(({itemKey:n,initialEntered:r,...o},s)=>a.jsx(e,{forwardedRef:s,...o,...Lo({itemKey:n,initialEntered:r,disabled:o.disabled})}));return t.displayName="withAccordionItem",t};sr.displayName="withAccordionItem";var sn={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 or;function Bo(){return or||(or=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",c=0;c<arguments.length;c++){var d=arguments[c];d&&(s=o(s,r(d)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.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?(n.default=n,e.exports=n):window.classNames=n})()}(sn)),sn.exports}var qo=Bo();const C=gt(qo),ar=(e,t)=>typeof e=="function"?e(t):e,ir=F.memo(({forwardedRef:e,itemRef:t,state:n,toggle:r,className:o,disabled:s,header:c,headingTag:d="h3",headingProps:l,buttonProps:i,contentProps:h,panelProps:m,children:f,...v})=>{const w={state:n,toggle:r,disabled:s},{buttonProps:y,panelProps:b}=po(w),[N,R]=ho(n),O=Qn(m&&m.ref,R),{status:E,isMounted:_,isEnter:T}=n,{prefix:P}=k(),M=C(`${P}--accordion--button`,{[`${P}--accordion--button__expanded`]:T});return a.jsxs("div",{...v,ref:Qn(e,t),className:Ge(Ve,"item",{status:E,expanded:T})(o,n),children:[a.jsx(d,{...l,style:{margin:0,...l&&l.style},className:Ge(Ve,"item-heading")(l&&l.className,n),children:a.jsxs("button",{...Qt(y,i),type:"button",className:Ge(Ve,"item-btn")(i&&i.className,n),children:[a.jsx(rn,{description:"open",className:M}),ar(c,w)]})}),_&&a.jsx("div",{...h,style:{display:E==="exited"?"none":void 0,...N,...h&&h.style},className:Ge(Ve,"item-content")(h&&h.className,n),children:a.jsx("div",{...Qt(b,m),ref:O,className:Ge(Ve,"item-panel")(m&&m.className,n),children:ar(f,w)})})]})});ir.displayName="AccordionItem";const on=sr(ir);on.displayName="AccordionItem";const Fo=({image:e,backgroundContent:t,children:n,className:r,...o})=>{const{prefix:s}=k(),c=e?{backgroundImage:`url(${e})`}:{},d=C(`${s}--auth-background-wrapper`,{[`${s}--auth-background-image`]:e,[`${r}`]:r});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:n})]})},Ho=({children:e,...t})=>{const{prefix:n}=k();return a.jsx("div",{...t,className:`${n}--auth-background-content`,children:e})},Wo=["sm","md","lg","full"],Le=e=>{const{prefix:t}=k(),{background:n,backgroundClassName:r,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(n||o||r){const f=C(r,{[`${t}--wrapper--background-${n}`]:n});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:n}=k(),r=C(`${n}--banner-navigation__item`,e);return a.jsx("li",{className:r,children:t})},cr=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--banner-navigation`,t);return a.jsx("div",{className:o,children:a.jsx(Le,{...n,children:a.jsx("ul",{className:`${r}--banner-navigation__list`,children:e})})})},lr=({className:e,children:t,invalid:n,inline:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--form-item`,{[`${s}--form-item--inline`]:r,[`${s}--form-item--invalid`]:n},e);return a.jsx("div",{className:c,...o,children:t})};function ur({addonBefore:e,prefix:t}){return e?a.jsx("div",{className:`${t}--input-addon-before`,children:e}):null}function dr({addonAfter:e,prefix:t}){return e?a.jsx("div",{className:`${t}--input-addon-after`,children:e}):null}function an({errorId:e,errorClasses:t,invalid:n,invalidText:r}){if(n){const o=a.jsx(rr,{fill:"#c5192d"});return a.jsxs("div",{className:t,id:e,children:[o," ",a.jsx("span",{children:typeof n=="object"&&n.message?n.message:typeof n=="string"?n:r||"required"})]})}return null}function fr({labelClasses:e,calculatedId:t,labelText:n,required:r,hideLabel:o}){return o?null:a.jsxs("label",{htmlFor:t,className:e,children:[n&&n,r&&"*"]})}function pr({helperTextClasses:e,helperText:t}){return t?a.jsx("div",{className:e,children:t}):null}const je=({additional:e,addonBefore:t,addonAfter:n,labelText:r,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:b}=k(),N=c||h,R=N+"-error-msg",O=C(`${b}--label`,{[`${b}--visually-hidden`]:i||!r,[`${b}--label--disabled`]:y.disabled}),E=C(`${b}--input-wrapper`,{[`${b}--form-item--invalid`]:m},l),_=C(`${b}--form__helper-text`,{[`${b}--form__helper-text--disabled`]:y.disabled}),T=`${b}--form-requirement`,P={AddonAfter:dr,AddonBefore:ur,Label:fr,Helper:pr,InlineErrorMessage:an,...s},M=P.AddonAfter,I=P.AddonBefore,U=P.Label,A=P.Helper,G=P.InlineErrorMessage,te={labelText:r,labelClasses:O,calculatedId:N,required:w,helperTextClasses:_,helperText:v,errorClasses:T,errorId:R,invalid:m,invalidText:f,addonAfter:n,addonBefore:t,hideLabel:i,prefix:b};return a.jsxs(lr,{className:d,inline:y.inline,children:[a.jsx(U,{...te}),a.jsx(A,{...te}),e,a.jsxs("div",{className:E,children:[a.jsx(I,{...te}),o,a.jsx(M,{...te})]}),a.jsx(G,{...te})]})};je.displayName="Input";const Se=({addonAfter:e,className:t,inputClassName:n="wfp--input",id:r,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,...b})=>{const{prefix:N}=k(),R=r||i,O=C(`${N}--input`,n,{[`${N}--input--light`]:w,[`${N}--input--invalid`]:h}),E={id:R,name:i,className:O,...b,onChange:P=>{!b.disabled&&!b.readOnly&&c(P)},onClick:P=>{!b.disabled&&!b.readOnly&&d(P)},placeholder:o,value:y,type:s},_={calculatedId:R,id:r,name:i,className:t,addonAfter:e,labelText:f,helperText:v,hideLabel:l,invalid:h,invalidText:m},T=R+"-error-msg";return h&&(E["data-invalid"]=!0,E["aria-invalid"]=!0,E["aria-describedby"]=T),{inputProps:E,wrapperProps:_}},cn=F.forwardRef((e,t)=>{const{prefix:n}=k(),{className:r,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,[b,N]=F.useState(y);F.useEffect(()=>{N(e.value)},[e.value]);const R=F.useRef(null),O=t||R,E=G=>{s||(G.persist(),G.imaginaryTarget=O,N(G.target.value),h(G,G.target.value))},_=G=>{N(""),h(G,"")},T=C(`${n}--number`,r,{[`${n}--number--light`]:v,[`${n}--number--helpertext`]:f,[`${n}--number--nolabel`]:c,[`${n}--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"}),P=C({"wfp--search-close":!0,"wfp--search-close--hidden":!b}),M=C(`${n}--search-input`,r,{[`${n}--search-input--rounded`]:w}),I=e,{wrapperProps:U,inputProps:A}=Se({...I,onChange:E,className:`${n}--search-input__wrapper`,inputClassName:M});return a.jsxs(je,{...U,inputWrapperClassName:T,children:[a.jsx(Po,{description:l,className:`${n}--search-magnifier-icon`,onClick:m}),a.jsx("input",{...A,ref:O,value:b}),a.jsx("button",{className:P,onClick:_,type:"button","aria-label":o,children:a.jsx(jt,{description:o})})]})});cn.displayName="Search";const ve=F.forwardRef(function(t,n){const{children:r,className:o,href:s,disabled:c,inline:d,visited:l,icon:i,size:h,linkSolid:m,...f}=t,{prefix:v}=k(),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,b=i;return a.jsxs("a",{href:c?void 0:s,className:w,rel:y,ref:n,"aria-disabled":c,...f,children:[r,i&&F.isValidElement(i)?a.jsx("span",{className:`${v}--link__icon`,children:i}):i?a.jsx(b,{}):null]})});ve.displayName="Link";const Uo=({searchOnChange:e,search:t,...n})=>a.jsxs(cr,{...n,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(cn,{kind:"banner",id:"search-2",labelText:"Find People",name:"q",placeholder:"Find People",onChange:e})})})]});function ln({alt:e,className:t,image:n,missingImage:r="avatar",name:o,userIconProps:s,...c}){const{prefix:d}=k();if(!n&&r==="avatar"){const l=C(`${d}--avatar`,`${d}--avatar--empty`,`${d}--avatar--missing`,t);return a.jsx(Ao,{fill:"#ffffff",description:e,className:l,...s,...c})}else if(n===void 0&&r==="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:n})})}}ln.displayName="Avatar";const zo=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(t,{[`${r}--breadcrumb`]:!0,[`${r}--breadcrumb--no-trailing-slash`]:!0});return a.jsx("div",{className:o,...n,children:e})},Yo=(e,t,n)=>{const{prefix:r}=k();return t===!0?a.jsx("span",{children:e}):typeof e=="string"&&n!==void 0?a.jsx(ve,{href:n,children:e}):W.cloneElement(W.Children.only(e),{className:`${r}--link`})},Vo=({children:e,className:t,disableLink:n,href:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--breadcrumb-item`,t);return a.jsx("div",{className:c,...o,children:Yo(e,n,r)})},Go=({className:e,hometext:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--breadcrumb-home`,e);return a.jsx(Co,{fill:"#0b77c2",width:"14",height:"14",description:t,className:o,...n})},Be=F.forwardRef((e,t)=>{const{children:n,className:r,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:b,...N}=e,{prefix:R}=k(),[O,E]=W.useState(!1);W.useEffect(()=>{const A=setTimeout(()=>M(),500);return()=>{clearTimeout(A)}},[O]);const _=C(r,{[`${R}--btn`]:!0,[`${R}--btn--sm`]:s,[`${R}--btn--lg`]:c,[`${R}--btn--icon-reverse`]:i,[`${R}--btn--flexbox`]:m,[`${R}--btn--icon-only`]:v&&n===void 0,[`${R}--btn--${l}`]:l,[`${R}--btn--${l}-solid`]:d,[`${R}--btn--animating`]:O}),T={tabIndex:h,className:_};let P=null;if(v&&F.isValidElement(v))P=a.jsx("span",{className:`${R}--btn__icon`,children:v});else if(v){const A=v;P=a.jsx(A,{description:w,className:`${R}--btn__icon`})}const M=()=>{E(!1)},I=A=>{y&&y(A),E(!0)};if(N.href){const A={...N,href:N.href};return a.jsxs("a",{...A,...T,role:"button",onClick:I,ref:t,id:b,children:[i&&P,n,!i&&P]})}const U={...N,disabled:o};return a.jsxs("button",{...U,...T,disabled:o,type:f,onClick:I,ref:t,id:b,children:[i&&P,n,!i&&P]})});Be.displayName="Button";var Nt={exports:{}},Ct={exports:{}},ue={};/** @license React v16.13.1
|
|
64
|
+
*/var or;function Bo(){return or||(or=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",c=0;c<arguments.length;c++){var d=arguments[c];d&&(s=o(s,r(d)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.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?(n.default=n,e.exports=n):window.classNames=n})()}(sn)),sn.exports}var qo=Bo();const C=gt(qo),ar=(e,t)=>typeof e=="function"?e(t):e,ir=H.memo(({forwardedRef:e,itemRef:t,state:n,toggle:r,className:o,disabled:s,header:c,headingTag:d="h3",headingProps:l,buttonProps:i,contentProps:h,panelProps:m,children:f,...v})=>{const w={state:n,toggle:r,disabled:s},{buttonProps:y,panelProps:b}=po(w),[N,R]=ho(n),O=Qn(m&&m.ref,R),{status:E,isMounted:_,isEnter:T}=n,{prefix:P}=k(),M=C(`${P}--accordion--button`,{[`${P}--accordion--button__expanded`]:T});return a.jsxs("div",{...v,ref:Qn(e,t),className:Ge(Ve,"item",{status:E,expanded:T})(o,n),children:[a.jsx(d,{...l,style:{margin:0,...l&&l.style},className:Ge(Ve,"item-heading")(l&&l.className,n),children:a.jsxs("button",{...Qt(y,i),type:"button",className:Ge(Ve,"item-btn")(i&&i.className,n),children:[a.jsx(rn,{description:"open",className:M}),ar(c,w)]})}),_&&a.jsx("div",{...h,style:{display:E==="exited"?"none":void 0,...N,...h&&h.style},className:Ge(Ve,"item-content")(h&&h.className,n),children:a.jsx("div",{...Qt(b,m),ref:O,className:Ge(Ve,"item-panel")(m&&m.className,n),children:ar(f,w)})})]})});ir.displayName="AccordionItem";const on=sr(ir);on.displayName="AccordionItem";const Fo=({image:e,backgroundContent:t,children:n,className:r,...o})=>{const{prefix:s}=k(),c=e?{backgroundImage:`url(${e})`}:{},d=C(`${s}--auth-background-wrapper`,{[`${s}--auth-background-image`]:e,[`${r}`]:r});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:n})]})},Ho=({children:e,...t})=>{const{prefix:n}=k();return a.jsx("div",{...t,className:`${n}--auth-background-content`,children:e})},Wo=["sm","md","lg","full"],Le=e=>{const{prefix:t}=k(),{background:n,backgroundClassName:r,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(n||o||r){const f=C(r,{[`${t}--wrapper--background-${n}`]:n});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})},je=({className:e,children:t})=>{const{prefix:n}=k(),r=C(`${n}--banner-navigation__item`,e);return a.jsx("li",{className:r,children:t})},cr=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--banner-navigation`,t);return a.jsx("div",{className:o,children:a.jsx(Le,{...n,children:a.jsx("ul",{className:`${r}--banner-navigation__list`,children:e})})})},lr=({className:e,children:t,invalid:n,inline:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--form-item`,{[`${s}--form-item--inline`]:r,[`${s}--form-item--invalid`]:n},e);return a.jsx("div",{className:c,...o,children:t})};function ur({addonBefore:e,prefix:t}){return e?a.jsx("div",{className:`${t}--input-addon-before`,children:e}):null}function dr({addonAfter:e,prefix:t}){return e?a.jsx("div",{className:`${t}--input-addon-after`,children:e}):null}function an({errorId:e,errorClasses:t,invalid:n,invalidText:r}){if(n){const o=a.jsx(rr,{fill:"#c5192d"});return a.jsxs("div",{className:t,id:e,children:[o," ",a.jsx("span",{children:typeof n=="object"&&n.message?n.message:typeof n=="string"?n:r||"required"})]})}return null}function fr({labelClasses:e,calculatedId:t,labelText:n,required:r,hideLabel:o}){return o?null:a.jsxs("label",{htmlFor:t,className:e,children:[n&&n,r&&"*"]})}function pr({helperTextClasses:e,helperText:t}){return t?a.jsx("div",{className:e,children:t}):null}const Ne=({additional:e,addonBefore:t,addonAfter:n,labelText:r,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:b}=k(),N=c||h,R=N+"-error-msg",O=C(`${b}--label`,{[`${b}--visually-hidden`]:i||!r,[`${b}--label--disabled`]:y.disabled}),E=C(`${b}--input-wrapper`,{[`${b}--form-item--invalid`]:m},l),_=C(`${b}--form__helper-text`,{[`${b}--form__helper-text--disabled`]:y.disabled}),T=`${b}--form-requirement`,P={AddonAfter:dr,AddonBefore:ur,Label:fr,Helper:pr,InlineErrorMessage:an,...s},M=P.AddonAfter,z=P.AddonBefore,Y=P.Label,I=P.Helper,B=P.InlineErrorMessage,ee={labelText:r,labelClasses:O,calculatedId:N,required:w,helperTextClasses:_,helperText:v,errorClasses:T,errorId:R,invalid:m,invalidText:f,addonAfter:n,addonBefore:t,hideLabel:i,prefix:b};return a.jsxs(lr,{className:d,inline:y.inline,children:[a.jsx(Y,{...ee}),a.jsx(I,{...ee}),e,a.jsxs("div",{className:E,children:[a.jsx(z,{...ee}),o,a.jsx(M,{...ee})]}),a.jsx(B,{...ee})]})};Ne.displayName="Input";const Oe=({addonAfter:e,className:t,inputClassName:n="wfp--input",id:r,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,...b})=>{const{prefix:N}=k(),R=r||i,O=C(`${N}--input`,n,{[`${N}--input--light`]:w,[`${N}--input--invalid`]:h}),E={id:R,name:i,className:O,...b,onChange:P=>{!b.disabled&&!b.readOnly&&c(P)},onClick:P=>{!b.disabled&&!b.readOnly&&d(P)},placeholder:o,value:y,type:s},_={calculatedId:R,id:r,name:i,className:t,addonAfter:e,labelText:f,helperText:v,hideLabel:l,invalid:h,invalidText:m},T=R+"-error-msg";return h&&(E["data-invalid"]=!0,E["aria-invalid"]=!0,E["aria-describedby"]=T),{inputProps:E,wrapperProps:_}},cn=H.forwardRef((e,t)=>{const{prefix:n}=k(),{className:r,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,[b,N]=H.useState(y);H.useEffect(()=>{N(e.value)},[e.value]);const R=H.useRef(null),O=t||R,E=B=>{s||(B.persist(),B.imaginaryTarget=O,N(B.target.value),h(B,B.target.value))},_=B=>{N(""),h(B,"")},T=C(`${n}--number`,r,{[`${n}--number--light`]:v,[`${n}--number--helpertext`]:f,[`${n}--number--nolabel`]:c,[`${n}--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"}),P=C({"wfp--search-close":!0,"wfp--search-close--hidden":!b}),M=C(`${n}--search-input`,r,{[`${n}--search-input--rounded`]:w}),z=e,{wrapperProps:Y,inputProps:I}=Oe({...z,onChange:E,className:`${n}--search-input__wrapper`,inputClassName:M});return a.jsxs(Ne,{...Y,inputWrapperClassName:T,children:[a.jsx(Po,{description:l,className:`${n}--search-magnifier-icon`,onClick:m}),a.jsx("input",{...I,ref:O,value:b}),a.jsx("button",{className:P,onClick:_,type:"button","aria-label":o,children:a.jsx(jt,{description:o})})]})});cn.displayName="Search";const ge=H.forwardRef(function(t,n){const{children:r,className:o,href:s,disabled:c,inline:d,visited:l,icon:i,size:h,linkSolid:m,...f}=t,{prefix:v}=k(),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,b=i;return a.jsxs("a",{href:c?void 0:s,className:w,rel:y,ref:n,"aria-disabled":c,...f,children:[r,i&&H.isValidElement(i)?a.jsx("span",{className:`${v}--link__icon`,children:i}):i?a.jsx(b,{}):null]})});ge.displayName="Link";const Uo=({searchOnChange:e,search:t,...n})=>a.jsxs(cr,{...n,children:[a.jsx(je,{children:a.jsx(ge,{href:"http://communities.wfp.org",target:"_blank",children:"Communities"})}),a.jsx(je,{children:a.jsx(ge,{href:"http://manuals.wfp.org",target:"_blank",children:"Manuals"})}),a.jsx(je,{children:a.jsx(ge,{href:"https://newgo.docs.wfp.org",target:"_blank",children:"GoDocs"})}),a.jsx(je,{children:a.jsx(ge,{href:"https://welearn.wfp.org",target:"_blank",children:"WeLearn"})}),a.jsx(je,{children:a.jsx(ge,{href:"https://dashboard.wfp.org",target:"_blank",children:"Dashboard"})}),a.jsx(je,{children:a.jsx(ge,{href:"http://opweb.wfp.org",target:"_blank",children:"OPweb"})}),a.jsx(je,{children:a.jsx(ge,{href:"https://selfservice.go.wfp.org",target:"_blank",children:"Self-Service"})}),a.jsx(je,{children:a.jsx(ge,{href:"https://erpapps.wfp.org/fiori",target:"_blank",children:"WeTravel"})}),a.jsx(je,{children:a.jsx(ge,{href:"https://unbooking.org/",target:"_blank",children:"UN Booking Hub"})}),a.jsx(je,{children:a.jsx(ge,{href:"https://wfp.org",target:"_blank",children:"WFP.org"})}),t&&a.jsx(je,{children:a.jsx("form",{action:"http://gtd.wfp.org",method:"GET",acceptCharset:"UTF-8",target:"_blank",children:a.jsx(cn,{kind:"banner",id:"search-2",labelText:"Find People",name:"q",placeholder:"Find People",onChange:e})})})]});function ln({alt:e,className:t,image:n,missingImage:r="avatar",name:o,userIconProps:s,...c}){const{prefix:d}=k();if(!n&&r==="avatar"){const l=C(`${d}--avatar`,`${d}--avatar--empty`,`${d}--avatar--missing`,t);return a.jsx(Ao,{fill:"#ffffff",description:e,className:l,...s,...c})}else if(n===void 0&&r==="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:n})})}}ln.displayName="Avatar";const zo=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(t,{[`${r}--breadcrumb`]:!0,[`${r}--breadcrumb--no-trailing-slash`]:!0});return a.jsx("div",{className:o,...n,children:e})},Yo=(e,t,n)=>{const{prefix:r}=k();return t===!0?a.jsx("span",{children:e}):typeof e=="string"&&n!==void 0?a.jsx(ge,{href:n,children:e}):U.cloneElement(U.Children.only(e),{className:`${r}--link`})},Vo=({children:e,className:t,disableLink:n,href:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--breadcrumb-item`,t);return a.jsx("div",{className:c,...o,children:Yo(e,n,r)})},Go=({className:e,hometext:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--breadcrumb-home`,e);return a.jsx(Co,{fill:"#0b77c2",width:"14",height:"14",description:t,className:o,...n})},Be=H.forwardRef((e,t)=>{const{children:n,className:r,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:b,...N}=e,{prefix:R}=k(),[O,E]=U.useState(!1);U.useEffect(()=>{const I=setTimeout(()=>M(),500);return()=>{clearTimeout(I)}},[O]);const _=C(r,{[`${R}--btn`]:!0,[`${R}--btn--sm`]:s,[`${R}--btn--lg`]:c,[`${R}--btn--icon-reverse`]:i,[`${R}--btn--flexbox`]:m,[`${R}--btn--icon-only`]:v&&n===void 0,[`${R}--btn--${l}`]:l,[`${R}--btn--${l}-solid`]:d,[`${R}--btn--animating`]:O}),T={tabIndex:h,className:_};let P=null;if(v&&H.isValidElement(v))P=a.jsx("span",{className:`${R}--btn__icon`,children:v});else if(v){const I=v;P=a.jsx(I,{description:w,className:`${R}--btn__icon`})}const M=()=>{E(!1)},z=I=>{y&&y(I),E(!0)};if(N.href){const I={...N,href:N.href};return a.jsxs("a",{...I,...T,role:"button",onClick:z,ref:t,id:b,children:[i&&P,n,!i&&P]})}const Y={...N,disabled:o};return a.jsxs("button",{...Y,...T,disabled:o,type:f,onClick:z,ref:t,id:b,children:[i&&P,n,!i&&P]})});Be.displayName="Button";var Nt={exports:{}},Ct={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 hr;function Xo(){return hr||(hr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=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,b=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function O(
|
|
78
|
+
*/var hr;function Xo(){return hr||(hr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=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,b=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function O(D){return typeof D=="string"||typeof D=="function"||D===r||D===i||D===s||D===o||D===m||D===f||typeof D=="object"&&D!==null&&(D.$$typeof===w||D.$$typeof===v||D.$$typeof===c||D.$$typeof===d||D.$$typeof===h||D.$$typeof===b||D.$$typeof===N||D.$$typeof===R||D.$$typeof===y)}function E(D){if(typeof D=="object"&&D!==null){var ve=D.$$typeof;switch(ve){case t:var Ee=D.type;switch(Ee){case l:case i:case r:case s:case o:case m:return Ee;default:var Fe=Ee&&Ee.$$typeof;switch(Fe){case d:case h:case w:case v:case c:return Fe;default:return ve}}case n:return ve}}}var _=l,T=i,P=d,M=c,z=t,Y=h,I=r,B=w,ee=v,Q=n,K=s,G=o,te=m,fe=!1;function le(D){return fe||(fe=!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(D)||E(D)===l}function u(D){return E(D)===i}function g(D){return E(D)===d}function $(D){return E(D)===c}function S(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function A(D){return E(D)===h}function W(D){return E(D)===r}function L(D){return E(D)===w}function X(D){return E(D)===v}function q(D){return E(D)===n}function ne(D){return E(D)===s}function se(D){return E(D)===o}function he(D){return E(D)===m}de.AsyncMode=_,de.ConcurrentMode=T,de.ContextConsumer=P,de.ContextProvider=M,de.Element=z,de.ForwardRef=Y,de.Fragment=I,de.Lazy=B,de.Memo=ee,de.Portal=Q,de.Profiler=K,de.StrictMode=G,de.Suspense=te,de.isAsyncMode=le,de.isConcurrentMode=u,de.isContextConsumer=g,de.isContextProvider=$,de.isElement=S,de.isForwardRef=A,de.isFragment=W,de.isLazy=L,de.isMemo=X,de.isPortal=q,de.isProfiler=ne,de.isStrictMode=se,de.isSuspense=he,de.isValidElementType=O,de.typeOf=E}()),de}var vr;function gr(){return vr||(vr=1,process.env.NODE_ENV==="production"?Ct.exports=Ko():Ct.exports=Xo()),Ct.exports}/*
|
|
79
79
|
object-assign
|
|
80
80
|
(c) Sindre Sorhus
|
|
81
81
|
@license MIT
|
|
82
|
-
*/var un,yr;function Qo(){if(yr)return un;yr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(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 un=o()?Object.assign:function(s,c){for(var d,l=r(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++)n.call(d,i[f])&&(l[i[f]]=d[i[f]])}}return l},un}var dn,_r;function fn(){if(_r)return dn;_r=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return dn=e,dn}var pn,br;function xr(){return br||(br=1,pn=Function.call.bind(Object.prototype.hasOwnProperty)),pn}var mn,wr;function Zo(){if(wr)return mn;wr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=fn(),n={},r=xr();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(r(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 n)){n[m.message]=!0;var v=i?i():"";e("Failed "+d+" type: "+m.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},mn=o,mn}var hn,$r;function Jo(){if($r)return hn;$r=1;var e=gr(),t=Qo(),n=fn(),r=xr(),o=Zo(),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 hn=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:N("array"),bigint:N("bigint"),bool:N("boolean"),func:N("function"),number:N("number"),object:N("object"),string:N("string"),symbol:N("symbol"),any:R(),arrayOf:O,element:E(),elementType:_(),instanceOf:T,node:
|
|
83
|
-
Valid keys: `+JSON.stringify(Object.keys(u),null," "));var z=he(X,re,D,H,L+"."+re,n);if(z)return z}return null}return b(g)}function ee(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(ee);if(u===null||d(u))return!0;var g=m(u);if(g){var $=g.call(u),S;if(g!==u.entries){for(;!(S=$.next()).done;)if(!ee(S.value))return!1}else for(;!(S=$.next()).done;){var D=S.value;if(D&&!ee(D[1]))return!1}}else return!1;return!0;default:return!1}}function Q(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":Q(g,u)?"symbol":g}function ne(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=ne(u);switch(g){case"array":case"object":return"an "+g;case"boolean":case"date":case"regexp":return"a "+g;default:return g}}function fe(u){return!u.constructor||!u.constructor.name?f:u.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},hn}var vn,Er;function ea(){if(Er)return vn;Er=1;var e=fn();function t(){}function n(){}return n.resetWarningCache=t,vn=function(){function r(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}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},vn}var jr;function ta(){if(jr)return Nt.exports;if(jr=1,process.env.NODE_ENV!=="production"){var e=gr(),t=!0;Nt.exports=Jo()(e.isElement,t)}else Nt.exports=ea()();return Nt.exports}var Nr=ta();const Oe=gt(Nr);Nr.oneOf(["primary","secondary","accent","danger","ghost","inverse--primary","inverse","danger--primary","tertiary","navigation"]);const na=["primary","secondary","tertiary","accent","danger--primary","danger","ghost","inverse--primary","inverse","navigation"],ra=["info","success","warning","error"],sa=({icon:e})=>{const{prefix:t}=k();return e?a.jsx("div",{className:`${t}--empty__icon`,children:e}):null},oa=({title:e,children:t})=>{const{prefix:n}=k();return a.jsxs("div",{className:`${n}--empty__text`,children:[e&&a.jsx("h2",{children:e}),a.jsx("div",{children:t})]})},Cr=({button:e,children:t,className:n,components:r,icon:o,title:s,kind:c="large",...d})=>{const{prefix:l}=k(),i=C({[`${l}--empty`]:!0,[`${l}--empty--${c}`]:c},n),m={...{Icon:sa,Text:oa},...r},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})]})};Cr.displayName="Empty";const Tr=({children:e,className:t,image:n,isExternal:r,isLink:o,metadata:s,more:c,subTitle:d,title:l,kind:i,url:h,...m})=>{const{prefix:f}=k(),v=i!=="related"?{backgroundImage:`url(${n})`}:{},w=C(`${f}--photo-card`,{[`${f}--photo-card--${i}`]:i,[`${f}--photo-card--no-background`]:!n,[`${f}--photo-card--link`]:o,[`${t}`]:t}),y=a.jsxs(F.Fragment,{children:[a.jsx("div",{className:`${f}--photo-card__background`,style:v}),n&&i==="related"&&a.jsx("img",{src:n}),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:r?"_blank":"",className:w,...m,children:y}):a.jsx("div",{className:w,...m,children:y})};Tr.displayName="Hero";const aa=({title:e,subTitle:t,image:n,children:r,className:o})=>{const{prefix:s}=k(),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(${n})`,backgroundPosition:"center right"},children:a.jsxs(Le,{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})]}),r]})})},Sr=({children:e,className:t,image:n,isExternal:r,isLink:o,metadata:s,subTitle:c,title:d,alt:l,kind:i,url:h,cardWidth:m,cardHeight:f,...v})=>{const{prefix:w}=k(),y=i=="overlay"?{backgroundImage:`url(${n})`}:{},b=m||"300px",N=f||"260px",R=C([`${w}--card-box`],{[`${w}--photo-cardnew--${i}`]:i,[`${w}--photo-cardnew--link`]:o,[`${t}`]:t}),O=a.jsxs(a.Fragment,{children:[i==="overlay"?a.jsx("div",{className:`${w}--photo-cardnew__background`,style:y}):null,n&&i==="simple-card"?a.jsx("img",{src:n,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:R,style:{width:b,minHeight:N},children:a.jsx("a",{href:h,target:r?"_blank":"",style:{width:b,minHeight:N},...v,children:O})}):a.jsx("div",{className:R,...v,style:{width:b,minHeight:N},children:O})};Sr.displayName="Card";const ia={info:"Info",error:"error",success:"Success",warning:"Warning",custom:"Custom"},gn=({children:e,className:t,type:n="info",...r})=>{const{prefix:o}=k(),s=`${o}--tag--${n}`,c=C(`${o}--tag`,s,t);return a.jsx("span",{className:c,...r,children:e||ia[n]})};gn.displayName="Tag";const Or=({label:e,labelStatus:t,interactive:n,image:r,heading:o,subHeading:s,caption:c,tag:d,children:l,className:i,...h})=>{const{prefix:m}=k(),f=W.useRef(null),v=14,w=1.5,[y,b]=W.useState(v*w*3),N=t?"success":"neutral",R=C(`${m}--card-ext`,{[`${m}--card-ext--interactive`]:n,[`${i}`]:i});return W.useEffect(()=>{f.current&&b(f.current.offsetHeight)},[f]),a.jsxs("div",{className:R,children:[e&&a.jsx("div",{className:`${m}--card-ext__label ${m}--card-ext__label--${N}`,children:e}),a.jsx("figure",{className:`${m}--card-ext__media`,children:a.jsx("img",{className:`${m}--card-ext__image`,src:r,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(gn,{className:`${m}--card-ext__tag`,type:"custom",children:d})})]}),l]})};Or.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 yn=F.forwardRef(({startDate:e,endDate:t,setStartDate:n,datePicker:r,datePickerProps:o={}},s)=>{const{prefix:c}=k(),d=r;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:n,selectsStart:!0,startDate:e,endDate:t,wrapperClassName:`${c}--date-picker__wrapper`,...o,ref:s}),a.jsx(nn,{className:`${c}--date-picker__icon`})]})}):a.jsx("div",{children:"Add a datepicker component"})});yn.displayName="DatePickerInput";const Rr=F.forwardRef((e,t)=>{const{datePickerProps:n,hideLabel:r,helperText:o,required:s}=e,{prefix:c}=k(),d=C(`${c}--input`,`${c}--date-picker`,{[`${c}--date-picker--helpertext`]:o,[`${c}--date-picker--nolabel`]:r,[`${c}--date-picker--required`]:s}),l=e,{inputProps:i,wrapperProps:h}=Se({...l,inputClassName:d});return a.jsx(je,{...h,children:a.jsx(yn,{...i,ref:t,datePickerProps:n})})});Rr.displayName="DatePicker";const _n=F.forwardRef(({startDate:e,endDate:t,setStartDate:n,setEndDate:r,datePicker:o,fromProps:s={},toProps:c={}},d)=>{const{prefix:l}=k(),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:n,selectsStart:!0,startDate:e,endDate:t,wrapperClassName:`${l}--date-picker__wrapper`,...s,ref:d}),a.jsx(nn,{className:`${l}--date-ranger-picker__icon`})]}),a.jsx(yo,{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:r,selectsEnd:!0,startDate:e,endDate:t,minDate:e,wrapperClassName:`${l}--date-picker__wrapper`,...c}),a.jsx(nn,{className:`${l}--date-ranger-picker__icon`})]})]}):a.jsx("div",{children:"Add a datepicker component"})});_n.displayName="DateRangePickerInput";const kr=F.forwardRef((e,t)=>{const{fromProps:n,toProps:r,hideLabel:o,helperText:s,required:c}=e,{prefix:d}=k(),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(je,{...m,children:a.jsx(_n,{...h,ref:t,fromProps:n,toProps:r})})});kr.displayName="DateRangePicker";const Pr=F.forwardRef(({className:e,id:t,labelText:n,onChange:r=()=>{},indeterminate:o,invalid:s,invalidText:c,hideLabel:d,wrapperClassName:l,title:i="",...h},m)=>{const{prefix:f}=k(),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:b=>{r(b,b.target.checked,t)},className:`${f}--checkbox`,id:t||h.name,ref:b=>{b&&o&&(b.indeterminate=o),typeof m=="function"?m(b):Object(m)===m&&m&&(m.current=b)}}),a.jsx("label",{htmlFor:t||h.name,className:v,title:i||void 0,children:a.jsx("span",{className:w,children:n})}),a.jsx(an,{errorClasses:`${f}--form-requirement`,invalid:s,invalidText:c})]})});Pr.displayName="Checkbox";const Ar=({children:e,className:t,info:n,...r})=>{const{prefix:o}=k(),s=C(`${o}--credits`,t);return a.jsxs("div",{className:s,...r,children:[a.jsx("div",{className:`${o}--credits__info`,children:n}),e]})};Ar.displayName="Credits";const ca=({children:e,className:t,selectedIndex:n,small:r,onChange:o,...s})=>{const{prefix:c}=k(),[d,l]=W.useState(n),i=f=>W.Children.map(f,(v,w)=>W.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`]:r});return a.jsx("div",{...s,className:m,children:i(e)})};var Tt={exports:{}},ge={};/**
|
|
82
|
+
*/var un,yr;function Qo(){if(yr)return un;yr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(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 un=o()?Object.assign:function(s,c){for(var d,l=r(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++)n.call(d,i[f])&&(l[i[f]]=d[i[f]])}}return l},un}var dn,_r;function fn(){if(_r)return dn;_r=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return dn=e,dn}var pn,br;function xr(){return br||(br=1,pn=Function.call.bind(Object.prototype.hasOwnProperty)),pn}var mn,wr;function Zo(){if(wr)return mn;wr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=fn(),n={},r=xr();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(r(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 n)){n[m.message]=!0;var v=i?i():"";e("Failed "+d+" type: "+m.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},mn=o,mn}var hn,$r;function Jo(){if($r)return hn;$r=1;var e=gr(),t=Qo(),n=fn(),r=xr(),o=Zo(),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 hn=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:N("array"),bigint:N("bigint"),bool:N("boolean"),func:N("function"),number:N("number"),object:N("object"),string:N("string"),symbol:N("symbol"),any:R(),arrayOf:O,element:E(),elementType:_(),instanceOf:T,node:Y(),objectOf:M,oneOf:P,oneOfType:z,shape:B,exact:ee};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 b(u){if(process.env.NODE_ENV!=="production")var g={},$=0;function S(W,L,X,q,ne,se,he){if(q=q||f,se=se||X,he!==n){if(l){var D=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 D.name="Invariant Violation",D}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ve=q+":"+X;!g[ve]&&$<3&&(s("You are manually calling a React.PropTypes validation function for the `"+se+"` prop on `"+q+"`. 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[ve]=!0,$++)}}return L[X]==null?W?L[X]===null?new y("The "+ne+" `"+se+"` is marked as required "+("in `"+q+"`, but its value is `null`.")):new y("The "+ne+" `"+se+"` is marked as required in "+("`"+q+"`, but its value is `undefined`.")):null:u(L,X,q,ne,se)}var A=S.bind(null,!1);return A.isRequired=S.bind(null,!0),A}function N(u){function g($,S,A,W,L,X){var q=$[S],ne=G(q);if(ne!==u){var se=te(q);return new y("Invalid "+W+" `"+L+"` of type "+("`"+se+"` supplied to `"+A+"`, expected ")+("`"+u+"`."),{expectedType:u})}return null}return b(g)}function R(){return b(c)}function O(u){function g($,S,A,W,L){if(typeof u!="function")return new y("Property `"+L+"` of component `"+A+"` has invalid PropType notation inside arrayOf.");var X=$[S];if(!Array.isArray(X)){var q=G(X);return new y("Invalid "+W+" `"+L+"` of type "+("`"+q+"` supplied to `"+A+"`, expected an array."))}for(var ne=0;ne<X.length;ne++){var se=u(X,ne,A,W,L+"["+ne+"]",n);if(se instanceof Error)return se}return null}return b(g)}function E(){function u(g,$,S,A,W){var L=g[$];if(!d(L)){var X=G(L);return new y("Invalid "+A+" `"+W+"` of type "+("`"+X+"` supplied to `"+S+"`, expected a single ReactElement."))}return null}return b(u)}function _(){function u(g,$,S,A,W){var L=g[$];if(!e.isValidElementType(L)){var X=G(L);return new y("Invalid "+A+" `"+W+"` of type "+("`"+X+"` supplied to `"+S+"`, expected a single ReactElement type."))}return null}return b(u)}function T(u){function g($,S,A,W,L){if(!($[S]instanceof u)){var X=u.name||f,q=le($[S]);return new y("Invalid "+W+" `"+L+"` of type "+("`"+q+"` supplied to `"+A+"`, expected ")+("instance of `"+X+"`."))}return null}return b(g)}function P(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($,S,A,W,L){for(var X=$[S],q=0;q<u.length;q++)if(w(X,u[q]))return null;var ne=JSON.stringify(u,function(he,D){var ve=te(D);return ve==="symbol"?String(D):D});return new y("Invalid "+W+" `"+L+"` of value `"+String(X)+"` "+("supplied to `"+A+"`, expected one of "+ne+"."))}return b(g)}function M(u){function g($,S,A,W,L){if(typeof u!="function")return new y("Property `"+L+"` of component `"+A+"` has invalid PropType notation inside objectOf.");var X=$[S],q=G(X);if(q!=="object")return new y("Invalid "+W+" `"+L+"` of type "+("`"+q+"` supplied to `"+A+"`, expected an object."));for(var ne in X)if(r(X,ne)){var se=u(X,ne,A,W,L+"."+ne,n);if(se instanceof Error)return se}return null}return b(g)}function z(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 "+fe($)+" at index "+g+"."),c}function S(A,W,L,X,q){for(var ne=[],se=0;se<u.length;se++){var he=u[se],D=he(A,W,L,X,q,n);if(D==null)return null;D.data&&r(D.data,"expectedType")&&ne.push(D.data.expectedType)}var ve=ne.length>0?", expected one of type ["+ne.join(", ")+"]":"";return new y("Invalid "+X+" `"+q+"` supplied to "+("`"+L+"`"+ve+"."))}return b(S)}function Y(){function u(g,$,S,A,W){return Q(g[$])?null:new y("Invalid "+A+" `"+W+"` supplied to "+("`"+S+"`, expected a ReactNode."))}return b(u)}function I(u,g,$,S,A){return new y((u||"React class")+": "+g+" type `"+$+"."+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+A+"`.")}function B(u){function g($,S,A,W,L){var X=$[S],q=G(X);if(q!=="object")return new y("Invalid "+W+" `"+L+"` of type `"+q+"` "+("supplied to `"+A+"`, expected `object`."));for(var ne in u){var se=u[ne];if(typeof se!="function")return I(A,W,L,ne,te(se));var he=se(X,ne,A,W,L+"."+ne,n);if(he)return he}return null}return b(g)}function ee(u){function g($,S,A,W,L){var X=$[S],q=G(X);if(q!=="object")return new y("Invalid "+W+" `"+L+"` of type `"+q+"` "+("supplied to `"+A+"`, expected `object`."));var ne=t({},$[S],u);for(var se in ne){var he=u[se];if(r(u,se)&&typeof he!="function")return I(A,W,L,se,te(he));if(!he)return new y("Invalid "+W+" `"+L+"` key `"+se+"` supplied to `"+A+"`.\nBad object: "+JSON.stringify($[S],null," ")+`
|
|
83
|
+
Valid keys: `+JSON.stringify(Object.keys(u),null," "));var D=he(X,se,A,W,L+"."+se,n);if(D)return D}return null}return b(g)}function Q(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(Q);if(u===null||d(u))return!0;var g=m(u);if(g){var $=g.call(u),S;if(g!==u.entries){for(;!(S=$.next()).done;)if(!Q(S.value))return!1}else for(;!(S=$.next()).done;){var A=S.value;if(A&&!Q(A[1]))return!1}}else return!1;return!0;default:return!1}}function K(u,g){return u==="symbol"?!0:g?g["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&g instanceof Symbol:!1}function G(u){var g=typeof u;return Array.isArray(u)?"array":u instanceof RegExp?"object":K(g,u)?"symbol":g}function te(u){if(typeof u>"u"||u===null)return""+u;var g=G(u);if(g==="object"){if(u instanceof Date)return"date";if(u instanceof RegExp)return"regexp"}return g}function fe(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},hn}var vn,Er;function ea(){if(Er)return vn;Er=1;var e=fn();function t(){}function n(){}return n.resetWarningCache=t,vn=function(){function r(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}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},vn}var jr;function ta(){if(jr)return Nt.exports;if(jr=1,process.env.NODE_ENV!=="production"){var e=gr(),t=!0;Nt.exports=Jo()(e.isElement,t)}else Nt.exports=ea()();return Nt.exports}var Nr=ta();const Re=gt(Nr);Nr.oneOf(["primary","secondary","accent","danger","ghost","inverse--primary","inverse","danger--primary","tertiary","navigation"]);const na=["primary","secondary","tertiary","accent","danger--primary","danger","ghost","inverse--primary","inverse","navigation"],ra=["info","success","warning","error"],sa=({icon:e})=>{const{prefix:t}=k();return e?a.jsx("div",{className:`${t}--empty__icon`,children:e}):null},oa=({title:e,children:t})=>{const{prefix:n}=k();return a.jsxs("div",{className:`${n}--empty__text`,children:[e&&a.jsx("h2",{children:e}),a.jsx("div",{children:t})]})},Cr=({button:e,children:t,className:n,components:r,icon:o,title:s,kind:c="large",...d})=>{const{prefix:l}=k(),i=C({[`${l}--empty`]:!0,[`${l}--empty--${c}`]:c},n),m={...{Icon:sa,Text:oa},...r},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})]})};Cr.displayName="Empty";const Tr=({children:e,className:t,image:n,isExternal:r,isLink:o,metadata:s,more:c,subTitle:d,title:l,kind:i,url:h,...m})=>{const{prefix:f}=k(),v=i!=="related"?{backgroundImage:`url(${n})`}:{},w=C(`${f}--photo-card`,{[`${f}--photo-card--${i}`]:i,[`${f}--photo-card--no-background`]:!n,[`${f}--photo-card--link`]:o,[`${t}`]:t}),y=a.jsxs(H.Fragment,{children:[a.jsx("div",{className:`${f}--photo-card__background`,style:v}),n&&i==="related"&&a.jsx("img",{src:n}),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:r?"_blank":"",className:w,...m,children:y}):a.jsx("div",{className:w,...m,children:y})};Tr.displayName="Hero";const aa=({title:e,subTitle:t,image:n,children:r,className:o})=>{const{prefix:s}=k(),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(${n})`,backgroundPosition:"center right"},children:a.jsxs(Le,{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})]}),r]})})},Sr=({children:e,className:t,image:n,isExternal:r,isLink:o,metadata:s,subTitle:c,title:d,alt:l,kind:i,url:h,cardWidth:m,cardHeight:f,...v})=>{const{prefix:w}=k(),y=i=="overlay"?{backgroundImage:`url(${n})`}:{},b=m||"300px",N=f||"260px",R=C([`${w}--card-box`],{[`${w}--photo-cardnew--${i}`]:i,[`${w}--photo-cardnew--link`]:o,[`${t}`]:t}),O=a.jsxs(a.Fragment,{children:[i==="overlay"?a.jsx("div",{className:`${w}--photo-cardnew__background`,style:y}):null,n&&i==="simple-card"?a.jsx("img",{src:n,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:R,style:{width:b,minHeight:N},children:a.jsx("a",{href:h,target:r?"_blank":"",style:{width:b,minHeight:N},...v,children:O})}):a.jsx("div",{className:R,...v,style:{width:b,minHeight:N},children:O})};Sr.displayName="Card";const ia={info:"Info",error:"error",success:"Success",warning:"Warning",custom:"Custom"},gn=({children:e,className:t,type:n="info",...r})=>{const{prefix:o}=k(),s=`${o}--tag--${n}`,c=C(`${o}--tag`,s,t);return a.jsx("span",{className:c,...r,children:e||ia[n]})};gn.displayName="Tag";const Or=({label:e,labelStatus:t,interactive:n,image:r,heading:o,subHeading:s,caption:c,tag:d,children:l,className:i,...h})=>{const{prefix:m}=k(),f=U.useRef(null),v=14,w=1.5,[y,b]=U.useState(v*w*3),N=t?"success":"neutral",R=C(`${m}--card-ext`,{[`${m}--card-ext--interactive`]:n,[`${i}`]:i});return U.useEffect(()=>{f.current&&b(f.current.offsetHeight)},[f]),a.jsxs("div",{className:R,children:[e&&a.jsx("div",{className:`${m}--card-ext__label ${m}--card-ext__label--${N}`,children:e}),a.jsx("figure",{className:`${m}--card-ext__media`,children:a.jsx("img",{className:`${m}--card-ext__image`,src:r,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(gn,{className:`${m}--card-ext__tag`,type:"custom",children:d})})]}),l]})};Or.propTypes={label:Re.string,labelStatus:Re.bool,image:Re.string,heading:Re.string,subHeading:Re.string,caption:Re.string,tag:Re.string,children:Re.node,interactive:Re.bool,className:Re.string};const yn=H.forwardRef(({startDate:e,endDate:t,setStartDate:n,datePicker:r,datePickerProps:o={}},s)=>{const{prefix:c}=k(),d=r;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:n,selectsStart:!0,startDate:e,endDate:t,wrapperClassName:`${c}--date-picker__wrapper`,...o,ref:s}),a.jsx(nn,{className:`${c}--date-picker__icon`})]})}):a.jsx("div",{children:"Add a datepicker component"})});yn.displayName="DatePickerInput";const Rr=H.forwardRef((e,t)=>{const{datePickerProps:n,hideLabel:r,helperText:o,required:s}=e,{prefix:c}=k(),d=C(`${c}--input`,`${c}--date-picker`,{[`${c}--date-picker--helpertext`]:o,[`${c}--date-picker--nolabel`]:r,[`${c}--date-picker--required`]:s}),l=e,{inputProps:i,wrapperProps:h}=Oe({...l,inputClassName:d});return a.jsx(Ne,{...h,children:a.jsx(yn,{...i,ref:t,datePickerProps:n})})});Rr.displayName="DatePicker";const _n=H.forwardRef(({startDate:e,endDate:t,setStartDate:n,setEndDate:r,datePicker:o,fromProps:s={},toProps:c={}},d)=>{const{prefix:l}=k(),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:n,selectsStart:!0,startDate:e,endDate:t,wrapperClassName:`${l}--date-picker__wrapper`,...s,ref:d}),a.jsx(nn,{className:`${l}--date-ranger-picker__icon`})]}),a.jsx(yo,{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:r,selectsEnd:!0,startDate:e,endDate:t,minDate:e,wrapperClassName:`${l}--date-picker__wrapper`,...c}),a.jsx(nn,{className:`${l}--date-ranger-picker__icon`})]})]}):a.jsx("div",{children:"Add a datepicker component"})});_n.displayName="DateRangePickerInput";const kr=H.forwardRef((e,t)=>{const{fromProps:n,toProps:r,hideLabel:o,helperText:s,required:c}=e,{prefix:d}=k(),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}=Oe({...i,inputClassName:l});return a.jsx(Ne,{...m,children:a.jsx(_n,{...h,ref:t,fromProps:n,toProps:r})})});kr.displayName="DateRangePicker";const Pr=H.forwardRef(({className:e,id:t,labelText:n,onChange:r=()=>{},indeterminate:o,invalid:s,invalidText:c,hideLabel:d,wrapperClassName:l,title:i="",...h},m)=>{const{prefix:f}=k(),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:b=>{r(b,b.target.checked,t)},className:`${f}--checkbox`,id:t||h.name,ref:b=>{b&&o&&(b.indeterminate=o),typeof m=="function"?m(b):Object(m)===m&&m&&(m.current=b)}}),a.jsx("label",{htmlFor:t||h.name,className:v,title:i||void 0,children:a.jsx("span",{className:w,children:n})}),a.jsx(an,{errorClasses:`${f}--form-requirement`,invalid:s,invalidText:c})]})});Pr.displayName="Checkbox";const Ar=({children:e,className:t,info:n,...r})=>{const{prefix:o}=k(),s=C(`${o}--credits`,t);return a.jsxs("div",{className:s,...r,children:[a.jsx("div",{className:`${o}--credits__info`,children:n}),e]})};Ar.displayName="Credits";const ca=({children:e,className:t,selectedIndex:n,small:r,onChange:o,...s})=>{const{prefix:c}=k(),[d,l]=U.useState(n),i=f=>U.Children.map(f,(v,w)=>U.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`]:r});return a.jsx("div",{...s,className:m,children:i(e)})};var Tt={exports:{}},ye={};/**
|
|
84
84
|
* @license React
|
|
85
85
|
* react-dom.production.js
|
|
86
86
|
*
|
|
@@ -88,7 +88,7 @@ Valid keys: `+JSON.stringify(Object.keys(u),null," "));var z=he(X,re,D,H,L+"."+
|
|
|
88
88
|
*
|
|
89
89
|
* This source code is licensed under the MIT license found in the
|
|
90
90
|
* LICENSE file in the root directory of this source tree.
|
|
91
|
-
*/var Dr;function la(){if(Dr)return
|
|
91
|
+
*/var Dr;function la(){if(Dr)return ye;Dr=1;var e=U;function t(l){var i="https://react.dev/errors/"+l;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var h=2;h<arguments.length;h++)i+="&args[]="+encodeURIComponent(arguments[h])}return"Minified React error #"+l+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal");function s(l,i,h){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:m==null?null:""+m,children:l,containerInfo:i,implementation:h}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(l,i){if(l==="font")return"";if(typeof i=="string")return i==="use-credentials"?i:""}return ye.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ye.createPortal=function(l,i){var h=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error(t(299));return s(l,i,null,h)},ye.flushSync=function(l){var i=c.T,h=r.p;try{if(c.T=null,r.p=2,l)return l()}finally{c.T=i,r.p=h,r.d.f()}},ye.preconnect=function(l,i){typeof l=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,r.d.C(l,i))},ye.prefetchDNS=function(l){typeof l=="string"&&r.d.D(l)},ye.preinit=function(l,i){if(typeof l=="string"&&i&&typeof i.as=="string"){var h=i.as,m=d(h,i.crossOrigin),f=typeof i.integrity=="string"?i.integrity:void 0,v=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;h==="style"?r.d.S(l,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:m,integrity:f,fetchPriority:v}):h==="script"&&r.d.X(l,{crossOrigin:m,integrity:f,fetchPriority:v,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},ye.preinitModule=function(l,i){if(typeof l=="string")if(typeof i=="object"&&i!==null){if(i.as==null||i.as==="script"){var h=d(i.as,i.crossOrigin);r.d.M(l,{crossOrigin:h,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})}}else i==null&&r.d.M(l)},ye.preload=function(l,i){if(typeof l=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){var h=i.as,m=d(h,i.crossOrigin);r.d.L(l,h,{crossOrigin:m,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},ye.preloadModule=function(l,i){if(typeof l=="string")if(i){var h=d(i.as,i.crossOrigin);r.d.m(l,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:h,integrity:typeof i.integrity=="string"?i.integrity:void 0})}else r.d.m(l)},ye.requestFormReset=function(l){r.d.r(l)},ye.unstable_batchedUpdates=function(l,i){return l(i)},ye.useFormState=function(l,i,h){return c.H.useFormState(l,i,h)},ye.useFormStatus=function(){return c.H.useHostTransitionStatus()},ye.version="19.1.0",ye}var _e={};/**
|
|
92
92
|
* @license React
|
|
93
93
|
* react-dom.development.js
|
|
94
94
|
*
|
|
@@ -100,5 +100,5 @@ Valid keys: `+JSON.stringify(Object.keys(u),null," "));var z=he(X,re,D,H,L+"."+
|
|
|
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=W,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 n(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=r(v,f.crossOrigin),y=typeof f.integrity=="string"?f.integrity:void 0,b=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:b}):v==="script"&&l.d.X(m,{crossOrigin:w,integrity:y,fetchPriority:b,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=r(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=r(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=r(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 Ir;function da(){if(Ir)return Tt.exports;Ir=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(),Tt.exports=la()):Tt.exports=ua(),Tt.exports}var Lr=da();const Br=gt(Lr);function fa(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ae.apply(this,arguments)}var qr=function(t){return t.reduce(function(n,r){var o=r[0],s=r[1];return n[o]=s,n},{})},Fr=typeof window<"u"&&window.document&&window.document.createElement?F.useLayoutEffect:F.useEffect,xe="top",Ne="bottom",Ce="right",we="left",bn="auto",st=[xe,Ne,Ce,we],Ke="start",ot="end",pa="clippingParents",Hr="viewport",at="popper",ma="reference",Wr=st.reduce(function(e,t){return e.concat([t+"-"+Ke,t+"-"+ot])},[]),Ur=[].concat(st,[bn]).reduce(function(e,t){return e.concat([t,t+"-"+Ke,t+"-"+ot])},[]),ha="beforeRead",va="read",ga="afterRead",ya="beforeMain",_a="main",ba="afterMain",xa="beforeWrite",wa="write",$a="afterWrite",Ea=[ha,va,ga,ya,_a,ba,xa,wa,$a];function Re(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 We(e){var t=$e(e).Element;return e instanceof t||e instanceof Element}function Te(e){var t=$e(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function xn(e){if(typeof ShadowRoot>"u")return!1;var t=$e(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ja(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!Te(s)||!Re(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(c){var d=o[c];d===!1?s.removeAttribute(c):s.setAttribute(c,d===!0?"":d)}))})}function Na(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},c=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),d=c.reduce(function(l,i){return l[i]="",l},{});!Te(o)||!Re(o)||(Object.assign(o.style,d),Object.keys(s).forEach(function(l){o.removeAttribute(l)}))})}}const Ca={name:"applyStyles",enabled:!0,phase:"write",fn:ja,effect:Na,requires:["computeStyles"]};function ke(e){return e.split("-")[0]}var Ue=Math.max,St=Math.min,Xe=Math.round;function wn(){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 zr(){return!/^((?!chrome|android).)*safari/i.test(wn())}function Qe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&Te(e)&&(o=e.offsetWidth>0&&Xe(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Xe(r.height)/e.offsetHeight||1);var c=We(e)?$e(e):window,d=c.visualViewport,l=!zr()&&n,i=(r.left+(l&&d?d.offsetLeft:0))/o,h=(r.top+(l&&d?d.offsetTop:0))/s,m=r.width/o,f=r.height/s;return{width:m,height:f,top:h,right:i+m,bottom:h+f,left:i,x:i,y:h}}function $n(e){var t=Qe(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Yr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&xn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function De(e){return $e(e).getComputedStyle(e)}function Ta(e){return["table","td","th"].indexOf(Re(e))>=0}function qe(e){return((We(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ot(e){return Re(e)==="html"?e:e.assignedSlot||e.parentNode||(xn(e)?e.host:null)||qe(e)}function Vr(e){return!Te(e)||De(e).position==="fixed"?null:e.offsetParent}function Sa(e){var t=/firefox/i.test(wn()),n=/Trident/i.test(wn());if(n&&Te(e)){var r=De(e);if(r.position==="fixed")return null}var o=Ot(e);for(xn(o)&&(o=o.host);Te(o)&&["html","body"].indexOf(Re(o))<0;){var s=De(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 it(e){for(var t=$e(e),n=Vr(e);n&&Ta(n)&&De(n).position==="static";)n=Vr(n);return n&&(Re(n)==="html"||Re(n)==="body"&&De(n).position==="static")?t:n||Sa(e)||t}function En(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ct(e,t,n){return Ue(e,St(t,n))}function Oa(e,t,n){var r=ct(e,t,n);return r>n?n:r}function Gr(){return{top:0,right:0,bottom:0,left:0}}function Kr(e){return Object.assign({},Gr(),e)}function Xr(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Ra=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Kr(typeof t!="number"?t:Xr(t,st))};function ka(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,c=n.modifiersData.popperOffsets,d=ke(n.placement),l=En(d),i=[we,Ce].indexOf(d)>=0,h=i?"height":"width";if(!(!s||!c)){var m=Ra(o.padding,n),f=$n(s),v=l==="y"?xe:we,w=l==="y"?Ne:Ce,y=n.rects.reference[h]+n.rects.reference[l]-c[l]-n.rects.popper[h],b=c[l]-n.rects.reference[l],N=it(s),R=N?l==="y"?N.clientHeight||0:N.clientWidth||0:0,O=y/2-b/2,E=m[v],_=R-f[h]-m[w],T=R/2-f[h]/2+O,P=ct(E,T,_),M=l;n.modifiersData[r]=(t={},t[M]=P,t.centerOffset=P-T,t)}}function Pa(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Yr(t.elements.popper,o)&&(t.elements.arrow=o))}const Aa={name:"arrow",enabled:!0,phase:"main",fn:ka,effect:Pa,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ze(e){return e.split("-")[1]}var Da={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ma(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Xe(n*o)/o||0,y:Xe(r*o)/o||0}}function Qr(e){var t,n=e.popper,r=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,b=typeof h=="function"?h({x:v,y}):{x:v,y};v=b.x,y=b.y;var N=c.hasOwnProperty("x"),R=c.hasOwnProperty("y"),O=we,E=xe,_=window;if(i){var T=it(n),P="clientHeight",M="clientWidth";if(T===$e(n)&&(T=qe(n),De(T).position!=="static"&&d==="absolute"&&(P="scrollHeight",M="scrollWidth")),T=T,o===xe||(o===we||o===Ce)&&s===ot){E=Ne;var I=m&&T===_&&_.visualViewport?_.visualViewport.height:T[P];y-=I-r.height,y*=l?1:-1}if(o===we||(o===xe||o===Ne)&&s===ot){O=Ce;var U=m&&T===_&&_.visualViewport?_.visualViewport.width:T[M];v-=U-r.width,v*=l?1:-1}}var A=Object.assign({position:d},i&&Da),G=h===!0?Ma({x:v,y},$e(n)):{x:v,y};if(v=G.x,y=G.y,l){var te;return Object.assign({},A,(te={},te[E]=R?"0":"",te[O]=N?"0":"",te.transform=(_.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",te))}return Object.assign({},A,(t={},t[E]=R?y+"px":"",t[O]=N?v+"px":"",t.transform="",t))}function Ia(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,c=s===void 0?!0:s,d=n.roundOffsets,l=d===void 0?!0:d,i={placement:ke(t.placement),variation:Ze(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,Qr(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,Qr(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 La={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ia,data:{}};var Rt={passive:!0};function Ba(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,c=r.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",n.update,Rt)}),d&&l.addEventListener("resize",n.update,Rt),function(){s&&i.forEach(function(h){h.removeEventListener("scroll",n.update,Rt)}),d&&l.removeEventListener("resize",n.update,Rt)}}const qa={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ba,data:{}};var Fa={left:"right",right:"left",bottom:"top",top:"bottom"};function kt(e){return e.replace(/left|right|bottom|top/g,function(t){return Fa[t]})}var Ha={start:"end",end:"start"};function Zr(e){return e.replace(/start|end/g,function(t){return Ha[t]})}function jn(e){var t=$e(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Nn(e){return Qe(qe(e)).left+jn(e).scrollLeft}function Wa(e,t){var n=$e(e),r=qe(e),o=n.visualViewport,s=r.clientWidth,c=r.clientHeight,d=0,l=0;if(o){s=o.width,c=o.height;var i=zr();(i||!i&&t==="fixed")&&(d=o.offsetLeft,l=o.offsetTop)}return{width:s,height:c,x:d+Nn(e),y:l}}function Ua(e){var t,n=qe(e),r=jn(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=Ue(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=Ue(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-r.scrollLeft+Nn(e),l=-r.scrollTop;return De(o||n).direction==="rtl"&&(d+=Ue(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:c,x:d,y:l}}function Cn(e){var t=De(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Jr(e){return["html","body","#document"].indexOf(Re(e))>=0?e.ownerDocument.body:Te(e)&&Cn(e)?e:Jr(Ot(e))}function lt(e,t){var n;t===void 0&&(t=[]);var r=Jr(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=$e(r),c=o?[s].concat(s.visualViewport||[],Cn(r)?r:[]):r,d=t.concat(c);return o?d:d.concat(lt(Ot(c)))}function Tn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function za(e,t){var n=Qe(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function es(e,t,n){return t===Hr?Tn(Wa(e,n)):We(t)?za(t,n):Tn(Ua(qe(e)))}function Ya(e){var t=lt(Ot(e)),n=["absolute","fixed"].indexOf(De(e).position)>=0,r=n&&Te(e)?it(e):e;return We(r)?t.filter(function(o){return We(o)&&Yr(o,r)&&Re(o)!=="body"}):[]}function Va(e,t,n,r){var o=t==="clippingParents"?Ya(e):[].concat(t),s=[].concat(o,[n]),c=s[0],d=s.reduce(function(l,i){var h=es(e,i,r);return l.top=Ue(h.top,l.top),l.right=St(h.right,l.right),l.bottom=St(h.bottom,l.bottom),l.left=Ue(h.left,l.left),l},es(e,c,r));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ts(e){var t=e.reference,n=e.element,r=e.placement,o=r?ke(r):null,s=r?Ze(r):null,c=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,l;switch(o){case xe:l={x:c,y:t.y-n.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 we:l={x:t.x-n.width,y:d};break;default:l={x:t.x,y:t.y}}var i=o?En(o):null;if(i!=null){var h=i==="y"?"height":"width";switch(s){case Ke:l[i]=l[i]-(t[h]/2-n[h]/2);break;case ot:l[i]=l[i]+(t[h]/2-n[h]/2);break}}return l}function ut(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,c=s===void 0?e.strategy:s,d=n.boundary,l=d===void 0?pa:d,i=n.rootBoundary,h=i===void 0?Hr:i,m=n.elementContext,f=m===void 0?at:m,v=n.altBoundary,w=v===void 0?!1:v,y=n.padding,b=y===void 0?0:y,N=Kr(typeof b!="number"?b:Xr(b,st)),R=f===at?ma:at,O=e.rects.popper,E=e.elements[w?R:f],_=Va(We(E)?E:E.contextElement||qe(e.elements.popper),l,h,c),T=Qe(e.elements.reference),P=ts({reference:T,element:O,placement:o}),M=Tn(Object.assign({},O,P)),I=f===at?M:T,U={top:_.top-I.top+N.top,bottom:I.bottom-_.bottom+N.bottom,left:_.left-I.left+N.left,right:I.right-_.right+N.right},A=e.modifiersData.offset;if(f===at&&A){var G=A[o];Object.keys(U).forEach(function(te){var ee=[Ce,Ne].indexOf(te)>=0?1:-1,Q=[xe,Ne].indexOf(te)>=0?"y":"x";U[te]+=G[Q]*ee})}return U}function Ga(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,c=n.padding,d=n.flipVariations,l=n.allowedAutoPlacements,i=l===void 0?Ur:l,h=Ze(r),m=h?d?Wr:Wr.filter(function(w){return Ze(w)===h}):st,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]=ut(e,{placement:y,boundary:o,rootBoundary:s,padding:c})[ke(y)],w},{});return Object.keys(v).sort(function(w,y){return v[w]-v[y]})}function Ka(e){if(ke(e)===bn)return[];var t=kt(e);return[Zr(e),t,Zr(t)]}function Xa(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!0:c,l=n.fallbackPlacements,i=n.padding,h=n.boundary,m=n.rootBoundary,f=n.altBoundary,v=n.flipVariations,w=v===void 0?!0:v,y=n.allowedAutoPlacements,b=t.options.placement,N=ke(b),R=N===b,O=l||(R||!w?[kt(b)]:Ka(b)),E=[b].concat(O).reduce(function(D,H){return D.concat(ke(H)===bn?Ga(t,{placement:H,boundary:h,rootBoundary:m,padding:i,flipVariations:w,allowedAutoPlacements:y}):H)},[]),_=t.rects.reference,T=t.rects.popper,P=new Map,M=!0,I=E[0],U=0;U<E.length;U++){var A=E[U],G=ke(A),te=Ze(A)===Ke,ee=[xe,Ne].indexOf(G)>=0,Q=ee?"width":"height",V=ut(t,{placement:A,boundary:h,rootBoundary:m,altBoundary:f,padding:i}),ne=ee?te?Ce:we:te?Ne:xe;_[Q]>T[Q]&&(ne=kt(ne));var le=kt(ne),fe=[];if(s&&fe.push(V[G]<=0),d&&fe.push(V[ne]<=0,V[le]<=0),fe.every(function(D){return D})){I=A,M=!1;break}P.set(A,fe)}if(M)for(var u=w?3:1,g=function(H){var L=E.find(function(X){var B=P.get(X);if(B)return B.slice(0,H).every(function(K){return K})});if(L)return I=L,"break"},$=u;$>0;$--){var S=g($);if(S==="break")break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}}const Qa={name:"flip",enabled:!0,phase:"main",fn:Xa,requiresIfExists:["offset"],data:{_skip:!1}};function ns(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function rs(e){return[xe,Ce,Ne,we].some(function(t){return e[t]>=0})}function Za(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,c=ut(t,{elementContext:"reference"}),d=ut(t,{altBoundary:!0}),l=ns(c,r),i=ns(d,o,s),h=rs(l),m=rs(i);t.modifiersData[n]={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 Ja={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Za};function ei(e,t,n){var r=ke(e),o=[we,xe].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],d=s[1];return c=c||0,d=(d||0)*o,[we,Ce].indexOf(r)>=0?{x:d,y:c}:{x:c,y:d}}function ti(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,c=Ur.reduce(function(h,m){return h[m]=ei(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[r]=c}const ni={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ti};function ri(e){var t=e.state,n=e.name;t.modifiersData[n]=ts({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const si={name:"popperOffsets",enabled:!0,phase:"read",fn:ri,data:{}};function oi(e){return e==="x"?"y":"x"}function ai(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!1:c,l=n.boundary,i=n.rootBoundary,h=n.altBoundary,m=n.padding,f=n.tether,v=f===void 0?!0:f,w=n.tetherOffset,y=w===void 0?0:w,b=ut(t,{boundary:l,rootBoundary:i,padding:m,altBoundary:h}),N=ke(t.placement),R=Ze(t.placement),O=!R,E=En(N),_=oi(E),T=t.modifiersData.popperOffsets,P=t.rects.reference,M=t.rects.popper,I=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,U=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,G={x:0,y:0};if(T){if(s){var te,ee=E==="y"?xe:we,Q=E==="y"?Ne:Ce,V=E==="y"?"height":"width",ne=T[E],le=ne+b[ee],fe=ne-b[Q],u=v?-M[V]/2:0,g=R===Ke?P[V]:M[V],$=R===Ke?-M[V]:-P[V],S=t.elements.arrow,D=v&&S?$n(S):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Gr(),L=H[ee],X=H[Q],B=ct(0,P[V],D[V]),K=O?P[V]/2-u-B-L-U.mainAxis:g-B-L-U.mainAxis,re=O?-P[V]/2+u+B+X+U.mainAxis:$+B+X+U.mainAxis,he=t.elements.arrow&&it(t.elements.arrow),z=he?E==="y"?he.clientTop||0:he.clientLeft||0:0,_e=(te=A?.[E])!=null?te:0,Me=ne+K-_e-z,Fe=ne+re-_e,be=ct(v?St(le,Me):le,ne,v?Ue(fe,Fe):fe);T[E]=be,G[E]=be-ne}if(d){var Ye,Bt=E==="x"?xe:we,Bn=E==="x"?Ne:Ce,se=T[_],Ie=_==="y"?"height":"width",pt=se+b[Bt],mt=se-b[Bn],Je=[xe,we].indexOf(N)!==-1,ht=(Ye=A?.[_])!=null?Ye:0,qt=Je?pt:se-P[Ie]-M[Ie]-ht+U.altAxis,Ft=Je?se+P[Ie]+M[Ie]-ht-U.altAxis:mt,vt=v&&Je?Oa(qt,se,Ft):ct(v?qt:pt,se,v?Ft:mt);T[_]=vt,G[_]=vt-se}t.modifiersData[r]=G}}const ii={name:"preventOverflow",enabled:!0,phase:"main",fn:ai,requiresIfExists:["offset"]};function ci(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function li(e){return e===$e(e)||!Te(e)?jn(e):ci(e)}function ui(e){var t=e.getBoundingClientRect(),n=Xe(t.width)/e.offsetWidth||1,r=Xe(t.height)/e.offsetHeight||1;return n!==1||r!==1}function di(e,t,n){n===void 0&&(n=!1);var r=Te(t),o=Te(t)&&ui(t),s=qe(t),c=Qe(e,o,n),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Re(t)!=="body"||Cn(s))&&(d=li(t)),Te(t)?(l=Qe(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Nn(s))),{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function fi(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(d){if(!n.has(d)){var l=t.get(d);l&&o(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function pi(e){var t=fi(e);return Ea.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function mi(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function hi(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var ss={placement:"bottom",modifiers:[],strategy:"absolute"};function os(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function vi(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?ss:o;return function(d,l,i){i===void 0&&(i=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},ss,s),modifiersData:{},elements:{reference:d,popper:l},attributes:{},styles:{}},m=[],f=!1,v={state:h,setOptions:function(N){var R=typeof N=="function"?N(h.options):N;y(),h.options=Object.assign({},s,h.options,R),h.scrollParents={reference:We(d)?lt(d):d.contextElement?lt(d.contextElement):[],popper:lt(l)};var O=pi(hi([].concat(r,h.options.modifiers)));return h.orderedModifiers=O.filter(function(E){return E.enabled}),w(),v.update()},forceUpdate:function(){if(!f){var N=h.elements,R=N.reference,O=N.popper;if(os(R,O)){h.rects={reference:di(R,it(O),h.options.strategy==="fixed"),popper:$n(O)},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],T=_.fn,P=_.options,M=P===void 0?{}:P,I=_.name;typeof T=="function"&&(h=T({state:h,options:M,name:I,instance:v})||h)}}}},update:mi(function(){return new Promise(function(b){v.forceUpdate(),b(h)})}),destroy:function(){y(),f=!0}};if(!os(d,l))return v;v.setOptions(i).then(function(b){!f&&i.onFirstUpdate&&i.onFirstUpdate(b)});function w(){h.orderedModifiers.forEach(function(b){var N=b.name,R=b.options,O=R===void 0?{}:R,E=b.effect;if(typeof E=="function"){var _=E({state:h,name:N,instance:v,options:O}),T=function(){};m.push(_||T)}})}function y(){m.forEach(function(b){return b()}),m=[]}return v}}var gi=[qa,si,La,Ca,ni,Qa,ii,Aa,Ja],yi=vi({defaultModifiers:gi}),Sn,as;function _i(){if(as)return Sn;as=1;var e=typeof Element<"u",t=typeof Map=="function",n=typeof Set=="function",r=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(n&&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(r&&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 Sn=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}},Sn}var bi=_i();const xi=gt(bi);var wi=[],$i=function(t,n,r){r===void 0&&(r={});var o=F.useRef(null),s={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||wi},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);Lr.flushSync(function(){l({styles:qr(y.map(function(b){return[b,w.styles[b]||{}]})),attributes:qr(y.map(function(b){return[b,w.attributes[b]]}))})})},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 xi(o.current,f)?o.current||f:(o.current=f,f)},[s.onFirstUpdate,s.placement,s.strategy,s.modifiers,i]),m=F.useRef();return Fr(function(){m.current&&m.current.setOptions(h)},[h]),Fr(function(){if(!(t==null||n==null)){var f=r.createPopper||yi,v=f(t,n,h);return m.current=v,function(){v.destroy(),m.current=null}}},[t,n,r.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 is(e){var t=F.useRef(e);return t.current=e,F.useCallback(function(){return t.current},[])}var Ei=function(){};function ji(e){var t=e.initial,n=e.value,r=e.onChange,o=r===void 0?Ei:r;if(t===void 0&&n===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=is(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=n!==void 0;return[h?n:c,h?o:i]}function cs(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 Ni=["styles","attributes"],ls={getBoundingClientRect:cs()},us={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 Ci(e,t){var n,r,o;e===void 0&&(e={}),t===void 0&&(t={});var s=Object.keys(us).reduce(function(Q,V){var ne;return Ae({},Q,(ne={},ne[V]=Q[V]!==void 0?Q[V]:us[V],ne))},e),c=F.useMemo(function(){return[{name:"offset",options:{offset:s.offset}}]},Array.isArray(s.offset)?s.offset:[]),d=Ae({},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=ji({initial:s.defaultVisible,value:s.visible,onChange:s.onVisibleChange}),y=w[0],b=w[1],N=F.useRef();F.useEffect(function(){return function(){return clearTimeout(N.current)}},[]);var R=$i(s.followCursor?ls:i,f,d),O=R.styles,E=R.attributes,_=fa(R,Ni),T=_.update,P=is({visible:y,triggerRef:i,tooltipRef:f,finalConfig:s}),M=F.useCallback(function(Q){return Array.isArray(s.trigger)?s.trigger.includes(Q):s.trigger===Q},Array.isArray(s.trigger)?s.trigger:[s.trigger]),I=F.useCallback(function(){clearTimeout(N.current),N.current=window.setTimeout(function(){return b(!1)},s.delayHide)},[s.delayHide,b]),U=F.useCallback(function(){clearTimeout(N.current),N.current=window.setTimeout(function(){return b(!0)},s.delayShow)},[s.delayShow,b]),A=F.useCallback(function(){P().visible?I():U()},[P,I,U]);F.useEffect(function(){if(P().finalConfig.closeOnOutsideClick){var Q=function(ne){var le,fe=P(),u=fe.tooltipRef,g=fe.triggerRef,$=(ne.composedPath==null||(le=ne.composedPath())==null?void 0:le[0])||ne.target;$ instanceof Node&&u!=null&&g!=null&&!u.contains($)&&!g.contains($)&&I()};return document.addEventListener("mousedown",Q),function(){return document.removeEventListener("mousedown",Q)}}},[P,I]),F.useEffect(function(){if(!(i==null||!M("click")))return i.addEventListener("click",A),function(){return i.removeEventListener("click",A)}},[i,M,A]),F.useEffect(function(){if(!(i==null||!M("double-click")))return i.addEventListener("dblclick",A),function(){return i.removeEventListener("dblclick",A)}},[i,M,A]),F.useEffect(function(){if(!(i==null||!M("right-click"))){var Q=function(ne){ne.preventDefault(),A()};return i.addEventListener("contextmenu",Q),function(){return i.removeEventListener("contextmenu",Q)}}},[i,M,A]),F.useEffect(function(){if(!(i==null||!M("focus")))return i.addEventListener("focus",U),i.addEventListener("blur",I),function(){i.removeEventListener("focus",U),i.removeEventListener("blur",I)}},[i,M,U,I]),F.useEffect(function(){if(!(i==null||!M("hover")))return i.addEventListener("mouseenter",U),i.addEventListener("mouseleave",I),function(){i.removeEventListener("mouseenter",U),i.removeEventListener("mouseleave",I)}},[i,M,U,I]),F.useEffect(function(){if(!(f==null||!M("hover")||!P().finalConfig.interactive))return f.addEventListener("mouseenter",U),f.addEventListener("mouseleave",I),function(){f.removeEventListener("mouseenter",U),f.removeEventListener("mouseleave",I)}},[f,M,U,I,P]);var G=_==null||(n=_.state)==null||(r=n.modifiersData)==null||(o=r.hide)==null?void 0:o.isReferenceHidden;F.useEffect(function(){s.closeOnTriggerHidden&&G&&I()},[s.closeOnTriggerHidden,I,G]),F.useEffect(function(){if(!s.followCursor||i==null)return;function Q(V){var ne=V.clientX,le=V.clientY;ls.getBoundingClientRect=cs(ne,le),T?.()}return i.addEventListener("mousemove",Q),function(){return i.removeEventListener("mousemove",Q)}},[s.followCursor,i,T]),F.useEffect(function(){if(!(f==null||T==null||s.mutationObserverOptions==null)){var Q=new MutationObserver(T);return Q.observe(f,s.mutationObserverOptions),function(){return Q.disconnect()}}},[s.mutationObserverOptions,f,T]);var te=function(V){return V===void 0&&(V={}),Ae({},V,{style:Ae({},V.style,O.popper)},E.popper,{"data-popper-interactive":s.interactive})},ee=function(V){return V===void 0&&(V={}),Ae({},V,E.arrow,{style:Ae({},V.style,O.arrow),"data-popper-arrow":!0})};return Ae({getArrowProps:ee,getTooltipProps:te,setTooltipRef:v,setTriggerRef:h,tooltipRef:f,triggerRef:i,visible:y},_)}const Ti={duration:100,animation:"fade",theme:"light",arrow:!0},Si={duration:100,animation:"fade",theme:"dark",arrow:!0},On=({className:e,dark:t,noPadding:n,children:r,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:b,onVisibleChange:N,usePortal:R})=>{const{prefix:O}=k(),[E,_]=F.useState(!1),T=C(e,{[`${O}--tooltip`]:!0,[`${O}--tooltip--disable-padding`]:n,[`${O}--tooltip--visible`]:E,[`${O}--tooltip--${s}`]:s,[`${O}--tooltip--dark`]:t}),{getArrowProps:P,getTooltipProps:M,setTooltipRef:I,setTriggerRef:U,visible:A}=Ci({closeOnOutsideClick:l,closeOnTriggerHidden:i,defaultVisible:h,delayHide:m,delayShow:f,followCursor:v,interactive:w,mutationObserverOptions:y,offset:b,onVisibleChange:N,placement:c,trigger:s}),G=C({[`${O}--tooltip--trigger`]:!0}),te=C(e,{[`${O}--tooltip--trigger`]:!0}),ee=!d&&typeof r!="string"?F.cloneElement(r,{ref:U,className:G}):a.jsx("span",{ref:U,className:te,children:r}),Q=ne=>{_(ne),N&&N(ne)},V=a.jsxs("div",{ref:I,...M({className:T}),children:[typeof o=="function"?o({setVisibility:_,visibilityChange:Q}):o,a.jsx("div",{...P({className:`${O}--tooltip__arrow`})})]});return a.jsxs(a.Fragment,{children:[ee,A&&R&&a.jsx(Oi,{children:V}),A&&!R&&V]})};function Oi({children:e}){return Br.createPortal(e,document.body)}const Ri=({children:e,className:t,content:n})=>{const{prefix:r}=k(),o=C({[`${r}--context-menu`]:!0},t);return a.jsx(On,{className:o,content:n,noPadding:!0,trigger:"click",children:e})},ki=({className:e,...t})=>{const{prefix:n}=k(),r=C({[`${n}--context-menu__group`]:!0},e);return a.jsx("div",{className:r,...t})},Pi=({className:e,...t})=>{const{prefix:n}=k(),r=C({[`${n}--context-menu__item`]:!0},e);return a.jsx("div",{className:r,...t})},ds=({className:e,children:t,labelOne:n,linkTextOne:r,linkHrefOne:o,labelTwo:s,linkTextTwo:c,linkHrefTwo:d,logo:l,metaContent:i,metaLinks:h,secondary:m,pageWidth:f="lg"})=>{const{prefix:v}=k(),w=C(`${v}--footer`,e);return a.jsxs("footer",{className:w,children:[a.jsx(Le,{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:n}),a.jsx("ul",{className:`${v}--footer__list`,children:a.jsx("li",{children:a.jsx(ve,{href:o,children:r})})})]}),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(Le,{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})]})]})};ds.displayName="Footer";const fs=({className:e,children:t,longForm:n=!0,...r})=>{const{prefix:o}=k(),s=C(`${o}--form`,{[`${o}--form-long`]:n===!0},e);return a.jsx("form",{className:s,...r,children:t})};fs.displayName="Form";const Ai=({align:e,breakpoint:t,legendText:n,inline:r,children:o,className:s,inputSpacing:c,message:d,messageText:l})=>{const{prefix:i}=k(),h=C(`${i}--form-group__title`,s),m=C(`${i}--fieldset`,{[`${i}--fieldset__inline`]:r,[`${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:n}),a.jsx("div",{className:`${i}--fieldset__content`,children:o}),d?a.jsx("div",{className:`${i}--form__requirements`,children:l}):null]})},Di=({className:e,children:t,description:n})=>{const{prefix:r}=k(),o=C(`${r}--form-hint`,e);return a.jsx(On,{content:t,children:a.jsx("div",{className:o,children:a.jsx(So,{width:"15",height:"15",description:n})})})},Mi=({className:e,children:t,id:n,...r})=>{const{prefix:o}=k(),s=C(`${o}--label`,e);return a.jsx("label",{htmlFor:n,className:s,...r,children:t})},ps=({children:e,className:t,id:n,pageWidth:r})=>{const{prefix:o}=k(),s=C(`${o}--info-bar`,t);return a.jsx("div",{id:n,className:s,children:a.jsx(Le,{pageWidth:r,children:e})})};ps.displayName="InfoBar";const Rn=e=>{const{active:t=!0,className:n,withOverlay:r=!0,small:o=!1,...s}=e,{prefix:c}=k(),d=C(`${c}--loading`,n,{[`${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 r?a.jsx("div",{className:l,children:i}):i};Rn.displayName="Loading";const ms=e=>{const{className:t,success:n,description:r,onSuccess:o,successDelay:s,...c}=e,{prefix:d}=k(),l=C(`${d}--inline-loading`,t),i=()=>n?(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(Rn,{small:!0,withOverlay:!1}),h=a.jsx("p",{className:`${d}--inline-loading__text`,children:r});return a.jsxs("div",{className:l,...c,children:[a.jsx("div",{className:`${d}--inline-loading__animation`,children:i()}),r&&h]})};ms.displayName="InlineLoading";const Pt=F.forwardRef(({children:e,className:t,colon:n,kind:r,small:o,...s},c)=>{const{prefix:d}=k(),l=C(`${d}--list`,t,{[`${d}--list--${r}`]:r,[`${d}--list--small`]:o,[`${d}--list--colon`]:n}),i={...s};return a.jsx("ul",{className:l,...i,ref:c,children:e})});Pt.displayName="List";const hs=({children:e,className:t,title:n,kind:r,icon:o,...s})=>{const c=C("wfp--list__element",t,{"wfp--list-item--checkmark":r==="checkmark","wfp--list-item--cross":r==="cross"});return a.jsxs("li",{className:c,...s,children:[r==="cross"&&a.jsx(jo,{className:"wfp--list-item__icon"}),r==="checkmark"&&a.jsx(xo,{className:"wfp--list-item__icon"}),o&&a.jsx("span",{className:"wfp--list__element__icon",children:o}),n&&a.jsx("span",{className:"wfp--list__element__title",children:n}),a.jsx("span",{className:"wfp--list__element__content",children:e})]})},kn=W.createContext({onChangeSub:e=>e,activeMenuItem:null,openMobileMenu:!1,toggleMenu:()=>{},setOpenMobileMenu:()=>{}}),Ii=({toggleMenu:e,prefix:t})=>a.jsx(Be,{className:`${t}--main-navigation__button`,onClick:e,children:"Menu"}),vs=({children:e,components:t={},className:n,id:r,logo:o,line:s=!1,logoRibbon:c="default",mobilePageWidth:d,pageWidth:l})=>{const{prefix:i}=k(),[h,m]=W.useState(!1),[f,v]=W.useState(null),w=(_,T,P)=>{if(P&&P.preventDefault(),_==="close")v(null);else if(_==="toggle"){const M=f===null||f!==T?T:null;M!==void 0&&v(M)}},y=()=>{m(!h)},b=C(`${i}--main-navigation`,{[`${i}--main-navigation--line`]:s},n),N=C(`${i}--main-navigation__list`,{[`${i}--main-navigation__list--open`]:h}),R={Wrapper:Le,MobileButton:Ii,...t},O=R.Wrapper,E=R.MobileButton;return a.jsx("nav",{id:r,className:b,children:a.jsx(kn.Provider,{value:{activeMenuItem:f,openMobileMenu:h,toggleMenu:y,onChangeSub:w,setOpenMobileMenu:m},children:a.jsxs(O,{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:N,children:e})]})})})};vs.displayName="MainNavigation";function Pn(){return W.useContext(kn)}Pn.displayName="useMainNavigation";const Li=({className:e,children:t,kind:n,subNavigation:r,subNavWideAsContent:o})=>{const{prefix:s}=k(),{onChangeSub:c,activeMenuItem:d}=Pn(),[l]=W.useState(Math.random().toString(36)),i=W.useRef(null);W.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`]:r&&o}),f=C({[`${s}--main-navigation__trigger`]:!0,[`${s}--main-navigation__trigger--has-sub`]:r,[`${s}--main-navigation__trigger--open`]:l===d}),v=l===d?jt:rn,w=C({[`${s}--main-navigation__sub`]:!0,[`${s}--main-navigation__sub--${n}`]:n,[`${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,r&&a.jsx(v,{className:`${s}--main-navigation__trigger__icon`,description:l===d?"close icon":"expand icon"})]}),r&&a.jsx("div",{className:w,children:r})]})},Bi=({children:e,...t})=>a.jsx("div",{...t,children:e}),qi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__item`,t);return a.jsx("div",{className:o,...n,children:e})},Fi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__header`,t);return a.jsx("div",{className:o,...n,children:e})},Hi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__title`,t);return a.jsx("div",{className:o,...n,children:e})},Wi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__link`,t);return a.jsx("div",{className:o,...n,children:e})},Ui=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__filter`,t);return a.jsx("div",{className:o,...n,children:e})},zi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__content`,t);return a.jsx("div",{className:o,...n,children:e})},Yi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__list`,t);return a.jsx("div",{className:o,...n,children:e})},Vi=({children:e,columns:t,className:n,title:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--sub-navigation__group`,{className:n},{[`${s}--sub-navigation__group--columns`]:t,[`${s}--sub-navigation__group--columns--${t}`]:t});return a.jsxs("div",{className:c,...o,children:[r&&a.jsx("h3",{className:`${s}--sub-navigation__group__title`,children:r}),a.jsx("div",{children:e})]})},gs=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C({[`${r}--story`]:!0,[`${t}`]:t});return a.jsx("div",{className:o,...n,children:e})},ys=({ariaLabel:e="close notification",className:t,iconDescription:n="close icon",type:r="button",renderIcon:o=jt,name:s,notificationType:c="toast",...d})=>{const{prefix:l}=k(),i=C(t,{[`${l}--${c}-notification__close-button`]:c}),h=C({[`${l}--${c}-notification__close-icon`]:c});return a.jsx("button",{...d,type:r,"aria-label":n,title:n,className:i,children:o&&a.jsx(o,{"aria-label":e,className:h,name:s})})},Gi=({children:e,className:t,onClick:n,...r})=>{const{prefix:o}=k(),s=C(t,`${o}--inline-notification__action-button`);return a.jsx(Be,{className:s,kind:"ghost",onClick:n,small:!0,...r,children:e})},An=({title:e,subtitle:t,caption:n,notificationType:r="toast",children:o,...s})=>{const{prefix:c}=k();return r==="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:n}),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})]})},Ki={error:nr,success:$o,warning:rr,info:To},_s=({iconDescription:e,kind:t="info",notificationType:n="toast"})=>{const{prefix:r}=k(),o=t?Ki[t]:void 0;return o?a.jsx(o,{className:`${r}--${n}-notification__icon`,children:a.jsx("title",{children:e})}):null},Xi=({role:e="alert",notificationType:t="toast",onClose:n=()=>{},onCloseButtonClick:r=()=>{},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}=k(),[b,N]=F.useState(!0),R=C(c,{[`${y}--toast-notification`]:!0,[`${y}--toast-notification--low-contrast`]:h,[`${y}--toast-notification--${i}`]:i}),O=T=>{(!n||n(T)!==!1)&&N(!1)};function E(T){r(T),O(T)}const _=F.useRef(n);return F.useEffect(()=>{_.current=n}),F.useEffect(()=>{if(!v)return;const T=window.setTimeout(P=>{N(!1),_.current&&_.current(P)},v);return()=>{window.clearTimeout(T)}},[v]),b?a.jsxs("div",{...w,role:e,className:R,children:[a.jsx(_s,{kind:i,iconDescription:s||`${i} icon`,notificationType:t}),a.jsx(An,{title:l,subtitle:d,notificationType:t,children:f}),!m&&a.jsx(ys,{iconDescription:o,notificationType:t,onClick:E})]}):null},dt=F.forwardRef((e,t)=>{const{actions:n,role:r="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}=k(),b=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:r,className:b,children:a.jsxs("div",{className:`${y}--inline-notification__details`,children:[s===void 0&&a.jsx(_s,{notificationType:o,kind:h,iconDescription:c||`${h} icon`}),s&&a.jsx("div",{className:`${y}--${o}-notification__icon`,children:s}),a.jsx(An,{title:i,subtitle:l,notificationType:o,children:v}),n&&a.jsx("div",{className:`${y}--inline-notification__actions-wrapper`,children:n})]})})});dt.displayName="Callout";const bs=({className:e,children:t,responsive:n,withBorder:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--table`,{[`${s}--table--responsive`]:n,[`${s}--table--with-border`]:r},e);return a.jsx("table",{...o,className:c,children:t})},Qi=Object.freeze(Object.defineProperty({__proto__:null,default:({className:e,isSorted:t,isSortedDesc:n,sortType:r})=>{const o=C(e,"wfp--table--sorting",{"wfp--table--is-sorted":t,"wfp--table--is-sortable":r});return a.jsx("span",{className:o,children:t?n?a.jsx(_o,{}):a.jsx(bo,{}):""})}},Symbol.toStringTag,{value:"Module"})),ze=F.forwardRef(({as:e,children:t,className:n,kind:r,spacingTop:o,spacingBottom:s,...c},d)=>{const{prefix:l}=k(),i=e||"div",h=C(`${l}--text`,r&&`${l}--text__${r}`,o&&`${l}--text__spacing-top-${o}`,s&&`${l}--text__spacing-bottom-${s}`,n);return a.jsx(i,{ref:d,className:h,...c,children:t})});ze.displayName="Text";const Zi={wrapper:e=>a.jsx(gs,{...e}),h1:e=>a.jsx(ze,{kind:"h1",...e,children:e.children}),h2:e=>a.jsx(ze,{kind:"h2",...e,children:e.children}),h3:e=>a.jsx(ze,{kind:"h3",...e,children:e.children}),h4:e=>a.jsx(ze,{kind:"h4",...e,children:e.children}),h5:e=>a.jsx(ze,{kind:"h5",...e,children:e.children}),p:e=>a.jsx("p",{...e,children:e.children}),li:e=>{const t=typeof e.children=="string"?e.children.substring(0,1):"";return t==="✓"||t==="✗"?a.jsx(hs,{kind:t==="✓"?"checkmark":"cross",...e,children:e.children.substring(1,e.children.length)}):a.jsx("li",{...e,children:e.children})},a:e=>a.jsx(ve,{inline:!0,...e,children:e.children}),ul:({children:e,...t})=>a.jsx(Pt,{...t,kind:"bullets",children:e}),ol:({children:e,...t})=>a.jsx(Pt,{...t,kind:"ordered",children:e}),code:e=>{const t=k();return a.jsx("code",{className:`${t.prefix}--story__code`,...e,children:e.children})},pre:e=>{const t=k();return a.jsx("pre",{className:`${t.prefix}--story__pre`,...e,children:e.children})},table:e=>a.jsx(bs,{...e,children:e.children}),blockquote:({children:e,...t})=>Array.isArray(e)&&e.length>=2&&e[0].props?a.jsx(dt,{kind:"info",...t,subtitle:e.map((n,r)=>{if(r>0)return n}),title:e[0].props.children}):a.jsx(dt,{kind:"info",...t,subtitle:e}),Button:Be,Accordion:Jt,AccordionItem:on},xs=({passiveModal:e,secondaryButtonText:t,onSecondaryButtonClick:n,primaryButtonText:r,onRequestSubmit:o,primaryButtonDisabled:s,secondaryButtonDisabled:c,danger:d,primaryButtonRef:l,secondaryButtonRef:i})=>{const{prefix:h}=k();return e?null:a.jsx("div",{className:`${h}--modal-footer`,children:a.jsxs("div",{className:`${h}--modal__buttons-container`,children:[t&&a.jsx(Be,{kind:"secondary",disabled:c,id:"secondaryButton",onClick:m=>{n&&n(m,"button")},ref:i,children:t}),a.jsx(Be,{kind:d?"danger":"primary",disabled:s,onClick:o,id:"primaryButton",ref:l,children:r})]})})},Dn=typeof Element<"u"&&["matches","webkitMatchesSelector","msMatchesSelector"].filter(e=>typeof Element.prototype[e]=="function")[0];function Mn(e){const{modalHeading:t,modalLabel:n,className:r,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:b=!0,hideClose:N,handleBlur:R=()=>{},wide:O,type:E,selectorPrimaryFocus:_,primaryButtonRef:T,secondaryButtonRef:P,...M}=e,{prefix:I}=k(),U=W.useRef(null),A=W.useRef(null),G=W.useRef(null),te=i||(typeof document<"u"?document.body:void 0),[ee,Q]=W.useState(!1),V=K=>{const{selectorsFloatingMenus:re=[`.${I}--overflow-menu-options`,`.${I}--tooltip`,".flatpickr-calendar"]}=e;if(K&&typeof K.closest=="function")return re.some(he=>K.closest(he));for(;K;){if(Dn&&typeof K[Dn]=="function"&&re.some(he=>K[Dn](he)))return!0;K=K.parentNode}return!1},ne=K=>{v(K,"button")},le=()=>{A.current&&A.current.focus()},fe=K=>{R?R({evt:K,innerModal:G,open:m,elementOrParentIsFloatingMenu:V,focusModal:le}):G.current&&m&&K.relatedTarget&&!G.current.contains(K.relatedTarget)&&!V(K.relatedTarget)&&le()},u=K=>{if(_===!1)return;const re=K.querySelector(_);if(re){re.focus();return}U?.current&&U.current.focus()},g=K=>{A.current&&A.current.offsetWidth&&A.current.offsetHeight&&ee&&(u(K.currentTarget),Q(!1))};if(m===!1&&f)return null;const S={ModalFooter:xs,...o}.ModalFooter,D=w||v,H=C({[`${I}--modal`]:!0,[`${I}--modal--wide`]:O,[`${I}--modal--tall`]:!d,[`${I}--modal--background-image`]:h,"is-visible":m,[`${I}--modal--warning`]:E==="warning"||e.warning,[`${I}--modal--danger`]:E==="danger"||e.danger},r),L=N?null:a.jsx("button",{className:`${I}--modal-close`,type:"button",id:"closeButton",onClick:ne,ref:U,children:a.jsx(jt,{className:`${I}--modal-close__icon`,description:y})}),X=a.jsxs("div",{ref:G,role:"dialog",className:`${I}--modal-container`,"aria-label":c,children:[a.jsxs("div",{className:`${I}--modal-header`,children:[d&&L,a.jsxs("div",{children:[n&&a.jsx("h4",{className:`${I}--modal-header__label`,children:n}),a.jsx("h2",{className:`${I}--modal-header__heading`,children:t})]}),s&&a.jsx(a.Fragment,{children:s}),!d&&L]}),a.jsx("div",{className:`${I}--modal-content`,children:l}),a.jsx(S,{...e,prefix:I,onSecondaryButtonClick:D,primaryButtonRef:T,secondaryButtonRef:P})]}),B=a.jsx("div",{...M,onBlur:fe,className:H,style:h?{backgroundImage:`url(${h})`}:void 0,role:"presentation",tabIndex:-1,onTransitionEnd:m?g:void 0,ref:A,children:a.jsx("div",{className:`${I}--modal-inner`,children:X})});return b&&te?Br.createPortal(B,te):B}Mn.displayName="Modal";const ws=({children:e,customButton:t,id:n,onKeyDown:r,buttonTriggerText:o,buttonTriggerClassName:s,triggerButtonKind:c,disabled:d,handleSubmit:l=()=>{},shouldCloseAfterSubmit:i=!0,...h})=>{const{prefix:m}=k(),f=F.createRef(),[v,w]=F.useState(!1),y=()=>{w(!0)},b=()=>{w(!1),v||(f.current&&f.current.focus(),b&&b())},R={...h,open:v,onRequestClose:b,onRequestSubmit:()=>{l&&(l(b),i&&b())}},O=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&&(b(),r&&r(E))},children:[t?a.jsx(F.Fragment,{children:O}):a.jsx(Be,{id:n,className:s,disabled:d,kind:c,onClick:y,ref:f,children:o}),a.jsx(Mn,{...R,children:e})]})};ws.displayName="ModalWrapper";const Ji=({dark:e,light:t,children:n,className:r,margin:o,fullHeight:s,noMargin:c,withHover:d,...l})=>{const{prefix:i}=k(),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},r,[`${i}--module`]);return a.jsx("div",{className:h,...l,children:a.jsx("div",{className:`${i}--module__inner`,children:n})})},ec=({children:e,className:t,centered:n,noPadding:r,...o})=>{const s=C("wfp--module__content",t,{"wfp--module__content--centered":n,"wfp--module__content--no-padding":r});return a.jsx("div",{className:s,...o,children:e})},tc=({filter:e,children:t,className:n,...r})=>{const o=C("wfp--module__header",n);return a.jsxs("div",{className:o,...r,children:[a.jsx("h1",{className:"wfp--module__title",children:t}),e&&a.jsx("div",{className:"wfp--module__filter",children:e})]})},nc=({children:e,className:t,...n})=>{const r=C("wfp--module__footer",t);return a.jsx("div",{className:r,...n,children:e})},rc=e=>{const t=parseFloat(e);return Math.floor(t)===t?0:e.split(".")[1].length||0},$s=(e,t)=>isNaN(e)||!e&&e!==0||isNaN(t)||!t&&t!==0?t:Math.max(e,t),Es=(e,t)=>isNaN(e)||!e&&e!==0||isNaN(t)||!t&&t!==0?t:Math.min(e,t),js=F.forwardRef((e,t)=>{const{className:n,disabled:r,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}=k(),b=Es(d,$s(l,e.value)),[N,R]=W.useState(b);W.useEffect(()=>{R(e.value)},[e.value]);const O=W.useRef(null),E=t||O,_=G=>{r||(G.persist(),G.imaginaryTarget=E,R(G.target.value),h(G,parseFloat(G.target.value)))},T=(G,te)=>{let ee=typeof N=="string"?Number(N):N;ee=isNaN(ee)?0:ee;const Q=te==="down"?l!==void 0&&ee>l||l===void 0:d!==void 0&&ee<d||d===void 0,V=i.toString();ee=te==="down"?ee-i:ee+parseFloat(V),ee=Es(d,$s(l,ee)),ee=parseFloat(ee.toFixed(rc(V))),!r&&Q&&(G.persist(),G.imaginaryTarget=E,G.target.value=parseFloat(ee),m(G,te),R(ee),h(G,ee,te))},P=C(`${y}--number`,n,{[`${y}--number--light`]:v,[`${y}--number--helpertext`]:f,[`${y}--number--nolabel`]:s,[`${y}--number--nocontrols`]:c}),M={disabled:r,id:o,max:d,min:l,step:i,onChange:_,value:N},I=e,{inputProps:U,wrapperProps:A}=Se({...I,type:"number"});return a.jsx(je,{...A,inputWrapperClassName:P,children:a.jsxs("div",{className:`${y}--number__controls`,children:[a.jsx("button",{className:`${y}--number__control-btn up-icon`,type:"button",disabled:r,onClick:G=>T(G,"up"),children:"+"}),a.jsx("button",{className:`${y}--number__control-btn down-icon`,type:"button",disabled:r,onClick:G=>T(G,"down"),children:"−"}),a.jsx("input",{pattern:w,...U,...M,ref:t})]})})});js.displayName="NumberInput";const At=F.forwardRef((e,t)=>{const{className:n,inline:r,disabled:o,children:s,iconDescription:c,light:d,hideLabel:l}=e,{prefix:i}=k(),h=C({[`${i}--select-input`]:!0,[`${i}--select--inline`]:r,[`${i}--select--light`]:d,[`${i}--select--disabled`]:o},n),m=e,{inputProps:f,wrapperProps:v}=Se({...m,inputClassName:h});return a.jsxs(je,{...v,inputWrapperClassName:`${i}--select`,hideLabel:l,children:[a.jsx("select",{...f,ref:t,children:s}),a.jsx(rn,{className:`${i}--select__arrow`,description:c})]})});At.displayName="Select";function Dt({className:e,value:t,disabled:n,hidden:r,text:o,...s}){const{prefix:c}=k(),d=C({[`${c}--select-option`]:!0,[`${e}`]:e});return a.jsx("option",{...s,className:d,value:t,disabled:n,hidden:r,children:o})}Dt.displayName="SelectItem";let sc=0;const In=e=>{const{backwardText:t="Backward",className:n,forwardText:r="Forward",id:o,itemsPerPageText:s="Items per page:",itemsPerPageFollowsText:c,itemRangeText:d=(g,$,S)=>`${g}-${$} of ${S} 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:b=!1,pageInputDisabled:N=!1,totalItems:R,onChange:O,page:E=1,..._}=e,[T,P]=W.useState(E),[M,I]=W.useState(e.pageSize?e.pageSize:m[0]),U=W.useState(()=>++sc)[0],A=g=>{const $=Number(g.target.value);P(1),I($),O?.({page:1,pageSize:$})},G=g=>{const $=Number(g.target.value);$>0&&$<=Math.max(Math.ceil(R/M),1)&&(P($),O?.({page:$,pageSize:M}))},te=()=>{const g=T+1;P(g),O?.({page:g,pageSize:M})},ee=()=>{const g=T-1;P(g),O?.({page:g,pageSize:M})},Q=g=>{let $=1;const S=[];for(;$<=g;)S.push(a.jsx(Dt,{value:$,text:String($)},$)),$++;return S},V=C("wfp--pagination",n),ne=C("wfp--pagination__button","wfp--pagination__button--backward",{"wfp--pagination__button--no-index":N}),le=o||U,fe=Math.max(Math.ceil(R/M),1),u=Q(fe);return a.jsxs("div",{className:V,..._,children:[a.jsxs("div",{className:"wfp--pagination__left",children:[!h&&a.jsxs(W.Fragment,{children:[a.jsx("span",{className:"wfp--pagination__text",children:c||s}),a.jsx(At,{id:`wfp-pagination-select-${le}`,labelText:s,hideLabel:!0,inline:!0,onChange:A,value:M,children:m.map(g=>a.jsx(Dt,{value:g,text:String(g)},g))}),a.jsxs("span",{className:"wfp--pagination__text",children:[" "," | "]})]}),a.jsx("span",{className:"wfp--pagination__text",children:y?f(M*(T-1)+1,T*M):d(Math.min(M*(T-1)+1,R),Math.min(T*M,R),R)})]}),a.jsxs("div",{className:"wfp--pagination__right wfp--pagination--inline",children:[a.jsx("span",{className:"wfp--pagination__text",children:y?v(T):l(T,fe)}),a.jsx("button",{className:ne,onClick:ee,disabled:e.disabled||T===1,children:a.jsx(er,{className:"wfp--pagination__button-icon",description:t})}),N?null:a.jsx(At,{id:`wfp-pagination-select-${+le+2}`,labelText:s,hideLabel:!0,inline:!0,onChange:G,value:T,children:u}),a.jsx("button",{className:"wfp--pagination__button wfp--pagination__button--forward",onClick:te,disabled:e.disabled||T===fe||b,children:a.jsx(tr,{className:"wfp--pagination__button-icon",description:r})})]})]})};In.displayName="Pagination";let Ns=0;function Cs(e="id"){return Ns++,`${e}${Ns}`}const Ts=F.forwardRef((e,t)=>{const{labelText:n,id:r,className:o,value:s,name:c,onChange:d,...l}=e,[i]=W.useState(r||Cs()),{prefix:h}=k(),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`}),n]})]})});Ts.displayName="RadioButton";const Ss=e=>{const{prefix:t}=k(),{children:n,labelText:r,helperText:o,vertical:s,hideLabel:c,className:d=`${t}--input-group`,wrapperClassName:l,valueSelected:i,defaultSelected:h}=e,[m,f]=W.useState(i||h);W.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=r?a.jsx("span",{className:v,children:r}):null,b=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,b,a.jsx("div",{className:`${t}--input-group-inside`,children:n})]})})};Ss.displayName="InputGroup";const oc=({handleToggleClick:e,link:t,text:n,showMore:r,contentId:o})=>{const{prefix:s}=k(),c={"aria-expanded":r,"aria-controls":o};if(t)return W.cloneElement(t,{onClick:e,...c});{const d=Eo,l=C({[`${s}--read-more__trigger`]:!0,[`${s}--read-more__trigger--expanded`]:r});return a.jsxs(ve,{className:l,size:"sm",onClick:e,...c,children:[n,a.jsx(d,{width:"10",height:"10",description:r?"icon up":"icon down"})]})}};function Os({collapseLink:e,collapseText:t="Show less",children:n,collapsed:r,className:o,disableAutoscroll:s,expandLink:c,expandText:d="Show more",fade:l,maxHeight:i}){const{prefix:h}=k(),[m,f]=W.useState(!1),[v,w]=W.useState(0),y=W.useRef(null),b=W.useRef(null),R=`${Kn()}-read-more-content`,O=P=>{P.preventDefault();const M=y?.current?.clientHeight;!m&&!s&&setTimeout(()=>{b?.current&&b.current.scrollIntoView({behavior:"smooth",block:"end"})},50),f(!m),M&&w(M)},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},T=m?{display:"none"}:{display:"block"};return a.jsxs("div",{className:E,children:[a.jsxs("div",{className:`${h}--read-more__content`,style:_,id:R,children:[a.jsx("div",{className:`${h}--read-more__fake-height`,ref:b,style:{height:`${v+30}px`}}),a.jsxs("div",{ref:y,children:[(m||!r)&&n,r&&a.jsx("div",{style:T,children:r})]})]}),a.jsx(oc,{handleToggleClick:O,showMore:m,link:m?e:c,text:m?t:d,contentId:R})]})}Os.displayName="ReadMore";function Rs({additional:e,children:t,className:n,id:r,pageWidth:o,...s}){const{prefix:c}=k(),d=C(`${c}--secondary-navigation`,n);return a.jsx("div",{id:r,className:d,...s,children:a.jsxs(Le,{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})]})})}Rs.displayName="SecondaryNavigation";function ks({className:e,children:t}){const{prefix:n}=k(),r=C(`${n}--secondary-navigation__title`,e);return a.jsx("h1",{className:r,children:t})}ks.displayName="SecondaryNavigationTitle";function ac({inline:e,small:t,vertical:n,className:r,role:o,children:s}){const{prefix:c}=k(),[d]=W.useState(!0),i=W.Children.map(s,m=>m),h={tabs:C(r,{[`${c}--step-navigation`]:!0,[`${c}--step-navigation--vertical`]:n,[`${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 ic=({className:e,handleTabClick:t=()=>{},index:n,label:r,status:o,helperText:s,selectedPage:c=0,onClick:d=()=>{},page:l=0,renderAnchor:i})=>{const{prefix:h}=k(),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:No},warning:{icon:Do},locked:{icon:Oo},skip:{icon:ko},disabled:{icon:nr},complete:{icon:wo},summary:{icon:Ro}}[o]?.icon:null;return a.jsx("li",{tabIndex:-1,className:m,onClick:y=>{o!=="locked"&&(t(y,n,r),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:r}),s&&a.jsx("span",{className:`${h}--step-navigation__nav-item__helper-text`,children:s})]})]})})})};function cc({children:e,className:t,disabled:n,label:r,...o}){const{prefix:s}=k(),c=C(`${s}--select-optgroup`,t);return a.jsx("optgroup",{className:c,label:r,disabled:n,...o,children:e})}const lc=({active:e,children:t,className:n,sidebar:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--sidebar-content__container`,n,{[`${s}--sidebar-content__container--active`]:e});return a.jsxs("div",{className:c,...o,children:[a.jsx("div",{className:`${s}--sidebar-item-content`,children:r}),a.jsx("div",{className:`${s}--content-section`,children:t})]})},uc=({className:e,children:t,noPadding:n,...r})=>{const{prefix:o}=k(),s=C(`${o}--sidebar-content__header`,e,{[`${o}--sidebar-content__header--no-padding`]:n});return a.jsx("div",{className:s,...r,children:t})},dc=({className:e,children:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sidebar-content-mobile-header`,e,{});return a.jsx("div",{className:o,...n,children:t})},fc=({className:e,children:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sidebar-content__children`,e,{});return a.jsx("div",{id:"scroll-container",className:o,...n,children:t})},pc=({children:e,...t})=>{const{prefix:n}=k();return a.jsx("div",{className:`${n}--sidebar-content__scroll`,...t,children:e})},mc=({children:e,...t})=>{const{prefix:n}=k();return a.jsxs("div",{className:`${n}--sidebar-content__back-button`,...t,children:[a.jsx(er,{}),e]})},Ln=F.forwardRef((e,t)=>{const{hideLabel:n,helperText:r,pattern:o,required:s}=e,{prefix:c}=k(),d=C(`${c}--input`,`${c}--text-input`,{[`${c}--text--helpertext`]:r,[`${c}--text--nolabel`]:n,[`${c}--text--required`]:s}),l=e,{inputProps:i,wrapperProps:h}=Se({...l,inputClassName:d});return a.jsx(je,{...h,children:a.jsx("input",{pattern:o,...i,ref:t})})});Ln.displayName="TextInput";const hc=(e,t)=>typeof t=="function"?t(e):`${e}${t||""}`;function vc(e,t,n){if(!(n<=t))return e<t&&(e=t),e>n&&(e=n),(e-t)/(n-t)*100}const Ps=F.forwardRef((e,t)=>{const{ariaLabelInput:n,className:r,disabled:o,formatLabel:s=hc,fullWidth:c,id:d,inputType:l,hideLabel:i,hideControls:h,hideTextInput:m,min:f,minLabel:v,max:w,maxLabel:y,step:b=1,onChange:N=()=>{},helperText:R,...O}=e,{prefix:E}=k(),_=e.value,[T,P]=F.useState(_);F.useEffect(()=>{P(e.value)},[e.value]);const M=F.useRef(null),I=t||M,U=u=>{o||(u.persist(),u.imaginaryTarget=I,u.target.value>w?(P(w),N(u)):(P(u.target.value),N(u)))},A=C(`${E}--slider--wrapper`,r,{[`${E}--slider--helpertext`]:R,[`${E}--slider--nolabel`]:i,[`${E}--slider--nocontrols`]:h}),G=C(`${E}--slider-container`,{[`${E}--slider-container--full-width`]:c}),te={disabled:o,id:d,max:w,min:f,step:b,onChange:U,value:T},ee=C(`${E}--input`,`${E}--slider-text-input`),Q=C(`${E}--slider`,{[`${E}--slider--disabled`]:o},r),V=C(`${E}--slider__range-wrapper`,{[`${E}--slider__range-wrapper--disabled`]:o},r),ne=T&&T<f?f:T,fe=Se(e);return console.log("valueMinimal",ne),a.jsx(je,{...fe.wrapperProps,formItemClassName:A,children:a.jsxs("div",{className:G,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:`${vc(ne,f,w)}%`}}),a.jsx("input",{className:Q,type:"range",...O,...te,ref:I})]}),a.jsx("span",{className:`${E}--slider__range-label`,children:s(w,y)}),!m&&a.jsx(Ln,{disabled:o,type:l,id:"input-for-slider",className:ee,value:T,onChange:U,"aria-label":n})]})})});Ps.displayName="Slider";const As=F.forwardRef(({active:e,additional:t,children:n,className:r,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}=k(),b=C({[`${y}--item`]:!0,[`${y}--item--${m}`]:m,[`${y}--item--${f}`]:f,[`${y}--item--active`]:e,[`${y}--item--unread`]:l},r);return a.jsxs("div",{className:b,...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(tr,{className:`${y}--item__additional-icon`})]}),n&&a.jsx("div",{className:`${y}--item__text`,children:n}),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`})]})});As.displayName="Item";const Ds=({data:e,page:t,pageSizeOptions:n,paginationClassName:r,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:b,itemRangeText:N,pageRangeText:R,pageSizesDisabled:O,itemText:E,pageNumberText:_})=>{const{prefix:T}=k(),P=U=>(isNaN(U)&&(U=t),U),M=U=>{const A=P(U.page-1);U!==A&&c(A),m!==U.pageSize&&d(U.pageSize)},I={isLastPage:l,pages:i,pageInputDisabled:h,pageSize:m,pagesUnknown:f,backwardText:v,forwardText:w,itemsPerPageText:y,itemsPerPageFollowsText:b,itemRangeText:N,pageRangeText:R,pageSizesDisabled:O,itemText:E,pageNumberText:_};return a.jsx("div",{className:C(r,"-pagination"),style:s,children:a.jsx("div",{className:`${T}-pagination`,children:a.jsx(In,{onChange:M,pageSizes:n,page:t,totalItems:o||(e?e.length:void 0),...I})})})};Ds.displayName="ReactTablePagination";function Ms(e){const{prefix:t}=k(),{className:n,disabled:r,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},b=C(`${t}--tabs__nav-item`,{[`${t}--tabs__nav-item--disabled`]:r},{[`${t}--tabs__nav-item--selected`]:h},n),N=C(`${t}--tabs__nav-item`,`${t}--tabs__nav-item--selected`,n),R={className:"wfp--tabs__nav-link",href:r?void 0:d,label:i,role:"tab",tabIndex:m,"aria-selected":h};return{liProps:{tabIndex:-1,className:b,onClick:E=>{r||(o(l,i,E),f(E))},onKeyDown:E=>{r||(y(E),c(l,i,E),v(E))},role:"presentation",selected:h,...w},anchorProps:R,selectedClasses:N}}const gc=e=>{const{disabled:t,label:n,renderAnchor:r,renderListElement:o}=e,{anchorProps:s,liProps:c,selectedClasses:d}=Ms(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:r?r(s):t?a.jsx("span",{...s,children:n}):a.jsx("a",{...s,children:n})})})},Is=e=>{const{selected:t=!1,children:n,...r}=e;return a.jsx("div",{...r,"data-selected":t,hidden:!t,children:n})};Is.displayName="TabContent";const yc=W.createContext({handleTabClick:()=>{},handleTabKeyDown:()=>{},handleTabAnchorFocus:()=>{}}),Ls=e=>{const{disableAnimation:t,inline:n,className:r,role:o="navigation",selected:s=null,...c}=e,{prefix:d}=k(),[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},r),tablist:C(`${d}--tabs__nav`,{[`${d}--tabs__nav--inline`]:n})},f=()=>(y,b,N)=>{N&&N.preventDefault()},v=()=>(y,b,N)=>{N.key||N.which},w=()=>{};return a.jsx(yc.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})]})})};Ls.displayName="Tabs";const Bs=F.forwardRef((e,t)=>{const{className:n,fullWidth:r}=e,{prefix:o}=k(),s=C(`${o}--text-area`,n,{[`${o}--textarea-fullwidth`]:r}),d=Se({...e,inputClassName:s});return a.jsx(je,{...d.wrapperProps,children:a.jsx("textarea",{...d.inputProps,ref:t})})});Bs.displayName="TextArea";const qs=F.forwardRef((e,t)=>{const{showPasswordLabelText:n="Show password",hidePasswordLabelText:r="Hide password",addonAfter:o,...s}=e,{prefix:c}=k(),[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?r:n,b=()=>{f||v||l(_=>!_)},N=a.jsx("button",{type:"button",className:`${c}--password-input__toggle`,onClick:b,"aria-pressed":d,"aria-label":y,disabled:f||v,children:y}),R=s,{inputProps:O,wrapperProps:E}=Se({...R,type:d?"text":"password",addonAfter:a.jsxs(a.Fragment,{children:[o,N]}),inputClassName:w});return a.jsx(je,{...E,children:a.jsx("input",{...O,ref:t})})});qs.displayName="PasswordInput";const Fs=F.forwardRef((e,t)=>{const{className:n,defaultToggled:r=!1,id:o,labelA:s="Off",labelB:c="On",...d}=e,{prefix:l}=k(),i=C({[`${l}--form-item`]:!0},n),h=o||d.name,f=Se(e),v=d;return a.jsxs(je,{className:i,...e,children:[a.jsx("input",{...v,...f.inputProps,defaultChecked:r,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})]})]})});Fs.displayName="Toggle";const _c=e=>{const{className:t,children:n,components:r={},description:o,ellipsis:s,extendedDescription:c,showName:d,small:l,name:i,missingImage:h,...m}=e,{prefix:f}=k(),w={...{Avatar:ln},...r},y=C(`${f}--user`,t,{[`${f}--user--has-description`]:o,[`${f}--user--has-extended-description`]:c}),b=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:b,children:[a.jsx("span",{children:i}),o&&a.jsx("div",{className:`${f}--user__description`,children:o})]}),n,c&&a.jsx("div",{className:`${f}--user__extended-description`,children:c})]})},ft={thousand:{pow:1e3,defaultmaximumFractionDigits:2,default:{after:"T"}},million:{pow:1e6,defaultmaximumFractionDigits:1,default:{after:"M"}},billion:{pow:1e9,defaultmaximumFractionDigits:2,default:{after:"B"}}},Hs=e=>a.jsx("span",{className:e.className+" invalid",children:"–"}),bc=e=>a.jsx("tspan",{className:e.className+" invalid",children:"–"}),Mt=e=>{if(e){const t=e.before?e.before+" ":"",n=e.output&&e.output.default?e.output.default.after+"":"",r=e.after?" "+e.after:"";return t+e.value+n+r}else return""},It=(e,t)=>{const{style:n,...r}=t;return e?a.jsxs("text",{className:t.className,...r,children:[a.jsxs("tspan",{style:n,children:[e.before," "]}),a.jsx("tspan",{style:n,children:e.value}),a.jsxs("tspan",{style:n,children:[" ",e.output?e.output.default.after+"":"",e.after]})]}):a.jsx(bc,{className:t.className})},Pe=(e,t,n,r,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&&ft[c]?ft[c].pow*y:y;const b=d&&ft[d]?ft[d]:void 0;y=y!==0&&d?y/b.pow:y;const N=o===!0&&d===void 0?l===0:typeof l=="number"?l:b&&b.defaultmaximumFractionDigits?b.defaultmaximumFractionDigits:2,R=o===!0&&d===void 0?i===0:y<=.005?4:y<=.05?3:y<=.5?2:i===0?0:typeof i=="number"?i:b&&b.defaultmaximumFractionDigits?b.defaultmaximumFractionDigits:2,O={minimumFractionDigits:N,maximumFractionDigits:R>N?R:N};y=y.toLocaleString(h,O);const E={value:y,before:n,after:t,output:b};let _=e.className;return y==="1"&&r&&(_=_+" wfp--unit--singular"),(!y||y==="NaN"||parseFloat(y)===0)&&w?!1:m?E:v?It(E,e):f?Mt(E):y!==!1?a.jsx("span",{className:_,children:y}):a.jsx(Hs,{className:e.className})},xc=(e,t,n)=>{const{calcOnly:r,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:n,after:t,output:void 0};return(!m||m==="NaN"||parseFloat(m)===0)&&l?!1:r?f:d?It(f,e):c?Mt(f):m!==!1?a.jsx("span",{className:e.className,children:m}):a.jsx(Hs,{className:e.className})},Lt=(e,t,n)=>{const{calcOnly:r,className:o,children:s,string:c,svg:d,hideUnit:l}=e,i=s,h=t||"",m=l?"":n+s+h,f={value:i,before:n,after:t,output:i+m};if(r)return f;if(d)return It({value:i+m,before:n,after:t},e);if(c)return Mt(f);if(i!==!1)return a.jsx("span",{className:o,children:i})},wc=e=>{const{children:t}=e,n=t;let r;if(typeof n=="number"&&n.toString().length>=7)r=new Date(n,e);else if(n.getMonth)r=n;else{const c=n.toString().substring(0,4),d=parseInt(n.toString().substring(4,7),10)-1;r=new Date(c,d,1)}const o=r.toLocaleString("en-us",{month:"short"}),s=r.toLocaleString("en-us",{month:"long"});return{monthName:o,monthNameFull:s,year:r.getFullYear(),date:r}},$c=e=>{const{className:t,string:n,svg:r,calcOnly:o}=e,s=wc(e),c={value:s.monthName+" "+s.year,before:"",after:"",output:void 0};if(o)return c;if(r)return It(c,e);if(n)return Mt(c);if(c?.value)return a.jsx("span",{className:t,children:c.value})},Ec={Usd:e=>Pe(e,"","US$"),Partners:e=>Pe(e,"Partners",void 0,!0,!0),Beneficiaries:e=>Pe(e,"Beneficaries",void 0,!0,!0),Households:e=>Pe(e,"Households",void 0,!0,!0),Months:e=>Pe(e,"Months",void 0,!0,"Month"),Mt:e=>Pe(e,"MT",void 0,!0),Kg:e=>Lt(e,"kg"),MetricTons:e=>Pe(e,"MetricTons",void 0,!0),Num:e=>Pe(e,""),Level:e=>Lt(e,""),None:e=>Lt(e,""),Trips:e=>Pe(e,"Trips",void 0,!0,!0),Countries:e=>Lt(e,"Countries"),People:e=>Pe(e,"People",void 0,!0,!0),Percentage:e=>xc(e,"%"),YearMonth:e=>$c(e)},jc=e=>{const{prefix:t}=k(),{className:n,output:r,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=Ec[i],m=s||"start",f=d?`${t}--unit--${d.toLowerCase()}`:"",v=r&&ft[r]?`${t}--unit--${r}`:"",w=l?`${t}--unit--${l}`:"",y=`${t}--unit ${n} ${f} ${v} ${w}`;return o?h(e):h===void 0?null:a.jsx(h,{...e,className:y,textAnchor:m,localeStringLanguage:c})},Nc=({value:e,secondaryValue:t,className:n,title:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--value`,n);return a.jsxs("div",{className:c,...o,children:[a.jsx("h4",{className:`${s}--value__title`,children:r}),a.jsx("div",{className:`${s}--value__primary-value`,children:e}),a.jsx("div",{className:`${s}--value__secondary-value`,children:t})]})},Cc=e=>t=>{const r={...k(),...t};return a.jsx(e,{...r})};function Tc(){return W.useContext(Et)}const Sc={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:""}},Ws=typeof window<"u"?W.useLayoutEffect:W.useEffect,Oc=typeof window>"u";function Rc(e,t){const n=typeof t=="boolean"?t:t?.defaultValue??!1,r=typeof t=="boolean"?void 0:t?.initializeWithValue??void 0,o=l=>Oc?n:window.matchMedia(l).matches,[s,c]=W.useState(()=>r?o(e):n);function d(){c(o(e))}return Ws(()=>{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}j.Accordion=Jt,j.AccordionItem=on,j.AddonAfter=dr,j.AddonBefore=ur,j.AuthLayout=Fo,j.Avatar=ln,j.BackgroundContent=Ho,j.BannerNavigation=cr,j.BannerNavigationItem=Ee,j.BannerNavigationWithContent=Uo,j.BlockNotification=dt,j.Breadcrumb=zo,j.BreadcrumbHome=Go,j.BreadcrumbItem=Vo,j.Button=Be,j.Callout=dt,j.Card=Sr,j.CardExternal=Or,j.Checkbox=Pr,j.ContentSwitcher=ca,j.ContextMenu=Ri,j.ContextMenuGroup=ki,j.ContextMenuItem=Pi,j.Credits=Ar,j.DatePicker=Rr,j.DatePickerInput=yn,j.DateRangePicker=kr,j.DateRangePickerInput=_n,j.Empty=Cr,j.Footer=ds,j.Form=fs,j.FormGroup=Ai,j.FormHint=Di,j.FormItem=lr,j.FormLabel=Mi,j.Helper=pr,j.Hero=Tr,j.HeroExternal=aa,j.InfoBar=ps,j.InlineErrorMessage=an,j.InlineLoading=ms,j.Input=je,j.InputGroup=Ss,j.Item=As,j.Label=fr,j.Link=ve,j.List=Pt,j.ListItem=hs,j.Loading=Rn,j.MainNavigation=vs,j.MainNavigationContext=kn,j.MainNavigationItem=Li,j.Modal=Mn,j.ModalFooter=xs,j.ModalWrapper=ws,j.Module=Ji,j.ModuleBody=ec,j.ModuleFooter=nc,j.ModuleHeader=tc,j.NotificationActionButton=Gi,j.NotificationButton=ys,j.NotificationTextDetails=An,j.NumberInput=js,j.Pagination=In,j.PasswordInput=qs,j.RadioButton=Ts,j.ReadMore=Os,j.Search=cn,j.SecondaryNavigation=Rs,j.SecondaryNavigationTitle=ks,j.Select=At,j.SelectItem=Dt,j.SelectItemGroup=cc,j.Sidebar=lc,j.SidebarBackButton=mc,j.SidebarContentBody=fc,j.SidebarContentHeader=dc,j.SidebarHeader=uc,j.SidebarScroll=pc,j.Slider=Ps,j.StepNavigation=ac,j.StepNavigationItem=ic,j.Story=gs,j.SubNavigation=Bi,j.SubNavigationContent=zi,j.SubNavigationFilter=Ui,j.SubNavigationGroup=Vi,j.SubNavigationHeader=Fi,j.SubNavigationItem=qi,j.SubNavigationLink=Wi,j.SubNavigationList=Yi,j.SubNavigationTitle=Hi,j.Tab=gc,j.TabContent=Is,j.Table=bs,j.TablePagination=Ds,j.TableSorting=Qi,j.Tabs=Ls,j.Tag=gn,j.Text=ze,j.TextArea=Bs,j.TextInput=Ln,j.ToastNotification=Xi,j.Toggle=Fs,j.Tooltip=On,j.Unit=jc,j.User=_c,j.Value=Nc,j.WFPCoreContext=Et,j.WFPCoreProvider=lo,j.Wrapper=Le,j.buttonKinds=na,j.colors=Sc,j.defaultWFPContext=$t,j.mdxComponents=Zi,j.notificationtypes=ra,j.pageWidths=Wo,j.tooltipStyle=Ti,j.tooltipStyleDark=Si,j.uniqueId=Cs,j.useInput=Se,j.useIsomorphicLayoutEffect=Ws,j.useMainNavigation=Pn,j.useMediaQuery=Rc,j.useTab=Ms,j.useTheme=Tc,j.withWFPCoreSettings=Cc,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
|
|
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=U,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"),_e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,_e.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 n(m,f,null,v)},_e.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.")}},_e.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))},_e.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)},_e.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=r(v,f.crossOrigin),y=typeof f.integrity=="string"?f.integrity:void 0,b=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:b}):v==="script"&&l.d.X(m,{crossOrigin:w,integrity:y,fetchPriority:b,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},_e.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=r(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))},_e.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=r(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})}},_e.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=r(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))},_e.requestFormReset=function(m){l.d.r(m)},_e.unstable_batchedUpdates=function(m,f){return m(f)},_e.useFormState=function(m,f,v){return c().useFormState(m,f,v)},_e.useFormStatus=function(){return c().useHostTransitionStatus()},_e.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),_e}var Ir;function da(){if(Ir)return Tt.exports;Ir=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(),Tt.exports=la()):Tt.exports=ua(),Tt.exports}var Lr=da();const Br=gt(Lr);function fa(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},De.apply(this,arguments)}var qr=function(t){return t.reduce(function(n,r){var o=r[0],s=r[1];return n[o]=s,n},{})},Fr=typeof window<"u"&&window.document&&window.document.createElement?H.useLayoutEffect:H.useEffect,xe="top",Ce="bottom",Te="right",we="left",bn="auto",st=[xe,Ce,Te,we],Ke="start",ot="end",pa="clippingParents",Hr="viewport",at="popper",ma="reference",Wr=st.reduce(function(e,t){return e.concat([t+"-"+Ke,t+"-"+ot])},[]),Ur=[].concat(st,[bn]).reduce(function(e,t){return e.concat([t,t+"-"+Ke,t+"-"+ot])},[]),ha="beforeRead",va="read",ga="afterRead",ya="beforeMain",_a="main",ba="afterMain",xa="beforeWrite",wa="write",$a="afterWrite",Ea=[ha,va,ga,ya,_a,ba,xa,wa,$a];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 We(e){var t=$e(e).Element;return e instanceof t||e instanceof Element}function Se(e){var t=$e(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function xn(e){if(typeof ShadowRoot>"u")return!1;var t=$e(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ja(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!Se(s)||!ke(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(c){var d=o[c];d===!1?s.removeAttribute(c):s.setAttribute(c,d===!0?"":d)}))})}function Na(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},c=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),d=c.reduce(function(l,i){return l[i]="",l},{});!Se(o)||!ke(o)||(Object.assign(o.style,d),Object.keys(s).forEach(function(l){o.removeAttribute(l)}))})}}const Ca={name:"applyStyles",enabled:!0,phase:"write",fn:ja,effect:Na,requires:["computeStyles"]};function Pe(e){return e.split("-")[0]}var Ue=Math.max,St=Math.min,Xe=Math.round;function wn(){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 zr(){return!/^((?!chrome|android).)*safari/i.test(wn())}function Qe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&Se(e)&&(o=e.offsetWidth>0&&Xe(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Xe(r.height)/e.offsetHeight||1);var c=We(e)?$e(e):window,d=c.visualViewport,l=!zr()&&n,i=(r.left+(l&&d?d.offsetLeft:0))/o,h=(r.top+(l&&d?d.offsetTop:0))/s,m=r.width/o,f=r.height/s;return{width:m,height:f,top:h,right:i+m,bottom:h+f,left:i,x:i,y:h}}function $n(e){var t=Qe(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Yr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&xn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Me(e){return $e(e).getComputedStyle(e)}function Ta(e){return["table","td","th"].indexOf(ke(e))>=0}function qe(e){return((We(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ot(e){return ke(e)==="html"?e:e.assignedSlot||e.parentNode||(xn(e)?e.host:null)||qe(e)}function Vr(e){return!Se(e)||Me(e).position==="fixed"?null:e.offsetParent}function Sa(e){var t=/firefox/i.test(wn()),n=/Trident/i.test(wn());if(n&&Se(e)){var r=Me(e);if(r.position==="fixed")return null}var o=Ot(e);for(xn(o)&&(o=o.host);Se(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 it(e){for(var t=$e(e),n=Vr(e);n&&Ta(n)&&Me(n).position==="static";)n=Vr(n);return n&&(ke(n)==="html"||ke(n)==="body"&&Me(n).position==="static")?t:n||Sa(e)||t}function En(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ct(e,t,n){return Ue(e,St(t,n))}function Oa(e,t,n){var r=ct(e,t,n);return r>n?n:r}function Gr(){return{top:0,right:0,bottom:0,left:0}}function Kr(e){return Object.assign({},Gr(),e)}function Xr(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Ra=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Kr(typeof t!="number"?t:Xr(t,st))};function ka(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,c=n.modifiersData.popperOffsets,d=Pe(n.placement),l=En(d),i=[we,Te].indexOf(d)>=0,h=i?"height":"width";if(!(!s||!c)){var m=Ra(o.padding,n),f=$n(s),v=l==="y"?xe:we,w=l==="y"?Ce:Te,y=n.rects.reference[h]+n.rects.reference[l]-c[l]-n.rects.popper[h],b=c[l]-n.rects.reference[l],N=it(s),R=N?l==="y"?N.clientHeight||0:N.clientWidth||0:0,O=y/2-b/2,E=m[v],_=R-f[h]-m[w],T=R/2-f[h]/2+O,P=ct(E,T,_),M=l;n.modifiersData[r]=(t={},t[M]=P,t.centerOffset=P-T,t)}}function Pa(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Yr(t.elements.popper,o)&&(t.elements.arrow=o))}const Aa={name:"arrow",enabled:!0,phase:"main",fn:ka,effect:Pa,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ze(e){return e.split("-")[1]}var Da={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ma(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Xe(n*o)/o||0,y:Xe(r*o)/o||0}}function Qr(e){var t,n=e.popper,r=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,b=typeof h=="function"?h({x:v,y}):{x:v,y};v=b.x,y=b.y;var N=c.hasOwnProperty("x"),R=c.hasOwnProperty("y"),O=we,E=xe,_=window;if(i){var T=it(n),P="clientHeight",M="clientWidth";if(T===$e(n)&&(T=qe(n),Me(T).position!=="static"&&d==="absolute"&&(P="scrollHeight",M="scrollWidth")),T=T,o===xe||(o===we||o===Te)&&s===ot){E=Ce;var z=m&&T===_&&_.visualViewport?_.visualViewport.height:T[P];y-=z-r.height,y*=l?1:-1}if(o===we||(o===xe||o===Ce)&&s===ot){O=Te;var Y=m&&T===_&&_.visualViewport?_.visualViewport.width:T[M];v-=Y-r.width,v*=l?1:-1}}var I=Object.assign({position:d},i&&Da),B=h===!0?Ma({x:v,y},$e(n)):{x:v,y};if(v=B.x,y=B.y,l){var ee;return Object.assign({},I,(ee={},ee[E]=R?"0":"",ee[O]=N?"0":"",ee.transform=(_.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",ee))}return Object.assign({},I,(t={},t[E]=R?y+"px":"",t[O]=N?v+"px":"",t.transform="",t))}function Ia(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,c=s===void 0?!0:s,d=n.roundOffsets,l=d===void 0?!0:d,i={placement:Pe(t.placement),variation:Ze(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,Qr(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,Qr(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 La={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ia,data:{}};var Rt={passive:!0};function Ba(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,c=r.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",n.update,Rt)}),d&&l.addEventListener("resize",n.update,Rt),function(){s&&i.forEach(function(h){h.removeEventListener("scroll",n.update,Rt)}),d&&l.removeEventListener("resize",n.update,Rt)}}const qa={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ba,data:{}};var Fa={left:"right",right:"left",bottom:"top",top:"bottom"};function kt(e){return e.replace(/left|right|bottom|top/g,function(t){return Fa[t]})}var Ha={start:"end",end:"start"};function Zr(e){return e.replace(/start|end/g,function(t){return Ha[t]})}function jn(e){var t=$e(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Nn(e){return Qe(qe(e)).left+jn(e).scrollLeft}function Wa(e,t){var n=$e(e),r=qe(e),o=n.visualViewport,s=r.clientWidth,c=r.clientHeight,d=0,l=0;if(o){s=o.width,c=o.height;var i=zr();(i||!i&&t==="fixed")&&(d=o.offsetLeft,l=o.offsetTop)}return{width:s,height:c,x:d+Nn(e),y:l}}function Ua(e){var t,n=qe(e),r=jn(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=Ue(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=Ue(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-r.scrollLeft+Nn(e),l=-r.scrollTop;return Me(o||n).direction==="rtl"&&(d+=Ue(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:c,x:d,y:l}}function Cn(e){var t=Me(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Jr(e){return["html","body","#document"].indexOf(ke(e))>=0?e.ownerDocument.body:Se(e)&&Cn(e)?e:Jr(Ot(e))}function lt(e,t){var n;t===void 0&&(t=[]);var r=Jr(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=$e(r),c=o?[s].concat(s.visualViewport||[],Cn(r)?r:[]):r,d=t.concat(c);return o?d:d.concat(lt(Ot(c)))}function Tn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function za(e,t){var n=Qe(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function es(e,t,n){return t===Hr?Tn(Wa(e,n)):We(t)?za(t,n):Tn(Ua(qe(e)))}function Ya(e){var t=lt(Ot(e)),n=["absolute","fixed"].indexOf(Me(e).position)>=0,r=n&&Se(e)?it(e):e;return We(r)?t.filter(function(o){return We(o)&&Yr(o,r)&&ke(o)!=="body"}):[]}function Va(e,t,n,r){var o=t==="clippingParents"?Ya(e):[].concat(t),s=[].concat(o,[n]),c=s[0],d=s.reduce(function(l,i){var h=es(e,i,r);return l.top=Ue(h.top,l.top),l.right=St(h.right,l.right),l.bottom=St(h.bottom,l.bottom),l.left=Ue(h.left,l.left),l},es(e,c,r));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ts(e){var t=e.reference,n=e.element,r=e.placement,o=r?Pe(r):null,s=r?Ze(r):null,c=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,l;switch(o){case xe:l={x:c,y:t.y-n.height};break;case Ce:l={x:c,y:t.y+t.height};break;case Te:l={x:t.x+t.width,y:d};break;case we:l={x:t.x-n.width,y:d};break;default:l={x:t.x,y:t.y}}var i=o?En(o):null;if(i!=null){var h=i==="y"?"height":"width";switch(s){case Ke:l[i]=l[i]-(t[h]/2-n[h]/2);break;case ot:l[i]=l[i]+(t[h]/2-n[h]/2);break}}return l}function ut(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,c=s===void 0?e.strategy:s,d=n.boundary,l=d===void 0?pa:d,i=n.rootBoundary,h=i===void 0?Hr:i,m=n.elementContext,f=m===void 0?at:m,v=n.altBoundary,w=v===void 0?!1:v,y=n.padding,b=y===void 0?0:y,N=Kr(typeof b!="number"?b:Xr(b,st)),R=f===at?ma:at,O=e.rects.popper,E=e.elements[w?R:f],_=Va(We(E)?E:E.contextElement||qe(e.elements.popper),l,h,c),T=Qe(e.elements.reference),P=ts({reference:T,element:O,placement:o}),M=Tn(Object.assign({},O,P)),z=f===at?M:T,Y={top:_.top-z.top+N.top,bottom:z.bottom-_.bottom+N.bottom,left:_.left-z.left+N.left,right:z.right-_.right+N.right},I=e.modifiersData.offset;if(f===at&&I){var B=I[o];Object.keys(Y).forEach(function(ee){var Q=[Te,Ce].indexOf(ee)>=0?1:-1,K=[xe,Ce].indexOf(ee)>=0?"y":"x";Y[ee]+=B[K]*Q})}return Y}function Ga(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,c=n.padding,d=n.flipVariations,l=n.allowedAutoPlacements,i=l===void 0?Ur:l,h=Ze(r),m=h?d?Wr:Wr.filter(function(w){return Ze(w)===h}):st,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]=ut(e,{placement:y,boundary:o,rootBoundary:s,padding:c})[Pe(y)],w},{});return Object.keys(v).sort(function(w,y){return v[w]-v[y]})}function Ka(e){if(Pe(e)===bn)return[];var t=kt(e);return[Zr(e),t,Zr(t)]}function Xa(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!0:c,l=n.fallbackPlacements,i=n.padding,h=n.boundary,m=n.rootBoundary,f=n.altBoundary,v=n.flipVariations,w=v===void 0?!0:v,y=n.allowedAutoPlacements,b=t.options.placement,N=Pe(b),R=N===b,O=l||(R||!w?[kt(b)]:Ka(b)),E=[b].concat(O).reduce(function(A,W){return A.concat(Pe(W)===bn?Ga(t,{placement:W,boundary:h,rootBoundary:m,padding:i,flipVariations:w,allowedAutoPlacements:y}):W)},[]),_=t.rects.reference,T=t.rects.popper,P=new Map,M=!0,z=E[0],Y=0;Y<E.length;Y++){var I=E[Y],B=Pe(I),ee=Ze(I)===Ke,Q=[xe,Ce].indexOf(B)>=0,K=Q?"width":"height",G=ut(t,{placement:I,boundary:h,rootBoundary:m,altBoundary:f,padding:i}),te=Q?ee?Te:we:ee?Ce:xe;_[K]>T[K]&&(te=kt(te));var fe=kt(te),le=[];if(s&&le.push(G[B]<=0),d&&le.push(G[te]<=0,G[fe]<=0),le.every(function(A){return A})){z=I,M=!1;break}P.set(I,le)}if(M)for(var u=w?3:1,g=function(W){var L=E.find(function(X){var q=P.get(X);if(q)return q.slice(0,W).every(function(ne){return ne})});if(L)return z=L,"break"},$=u;$>0;$--){var S=g($);if(S==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}const Qa={name:"flip",enabled:!0,phase:"main",fn:Xa,requiresIfExists:["offset"],data:{_skip:!1}};function ns(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function rs(e){return[xe,Te,Ce,we].some(function(t){return e[t]>=0})}function Za(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,c=ut(t,{elementContext:"reference"}),d=ut(t,{altBoundary:!0}),l=ns(c,r),i=ns(d,o,s),h=rs(l),m=rs(i);t.modifiersData[n]={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 Ja={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Za};function ei(e,t,n){var r=Pe(e),o=[we,xe].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],d=s[1];return c=c||0,d=(d||0)*o,[we,Te].indexOf(r)>=0?{x:d,y:c}:{x:c,y:d}}function ti(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,c=Ur.reduce(function(h,m){return h[m]=ei(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[r]=c}const ni={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ti};function ri(e){var t=e.state,n=e.name;t.modifiersData[n]=ts({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const si={name:"popperOffsets",enabled:!0,phase:"read",fn:ri,data:{}};function oi(e){return e==="x"?"y":"x"}function ai(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!1:c,l=n.boundary,i=n.rootBoundary,h=n.altBoundary,m=n.padding,f=n.tether,v=f===void 0?!0:f,w=n.tetherOffset,y=w===void 0?0:w,b=ut(t,{boundary:l,rootBoundary:i,padding:m,altBoundary:h}),N=Pe(t.placement),R=Ze(t.placement),O=!R,E=En(N),_=oi(E),T=t.modifiersData.popperOffsets,P=t.rects.reference,M=t.rects.popper,z=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,Y=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(T){if(s){var ee,Q=E==="y"?xe:we,K=E==="y"?Ce:Te,G=E==="y"?"height":"width",te=T[E],fe=te+b[Q],le=te-b[K],u=v?-M[G]/2:0,g=R===Ke?P[G]:M[G],$=R===Ke?-M[G]:-P[G],S=t.elements.arrow,A=v&&S?$n(S):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Gr(),L=W[Q],X=W[K],q=ct(0,P[G],A[G]),ne=O?P[G]/2-u-q-L-Y.mainAxis:g-q-L-Y.mainAxis,se=O?-P[G]/2+u+q+X+Y.mainAxis:$+q+X+Y.mainAxis,he=t.elements.arrow&&it(t.elements.arrow),D=he?E==="y"?he.clientTop||0:he.clientLeft||0:0,ve=(ee=I?.[E])!=null?ee:0,Ee=te+ne-ve-D,Fe=te+se-ve,be=ct(v?St(fe,Ee):fe,te,v?Ue(le,Fe):le);T[E]=be,B[E]=be-te}if(d){var Ye,Bt=E==="x"?xe:we,Bn=E==="x"?Ce:Te,re=T[_],Ie=_==="y"?"height":"width",pt=re+b[Bt],mt=re-b[Bn],Je=[xe,we].indexOf(N)!==-1,ht=(Ye=I?.[_])!=null?Ye:0,qt=Je?pt:re-P[Ie]-M[Ie]-ht+Y.altAxis,Ft=Je?re+P[Ie]+M[Ie]-ht-Y.altAxis:mt,vt=v&&Je?Oa(qt,re,Ft):ct(v?qt:pt,re,v?Ft:mt);T[_]=vt,B[_]=vt-re}t.modifiersData[r]=B}}const ii={name:"preventOverflow",enabled:!0,phase:"main",fn:ai,requiresIfExists:["offset"]};function ci(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function li(e){return e===$e(e)||!Se(e)?jn(e):ci(e)}function ui(e){var t=e.getBoundingClientRect(),n=Xe(t.width)/e.offsetWidth||1,r=Xe(t.height)/e.offsetHeight||1;return n!==1||r!==1}function di(e,t,n){n===void 0&&(n=!1);var r=Se(t),o=Se(t)&&ui(t),s=qe(t),c=Qe(e,o,n),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((ke(t)!=="body"||Cn(s))&&(d=li(t)),Se(t)?(l=Qe(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Nn(s))),{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function fi(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(d){if(!n.has(d)){var l=t.get(d);l&&o(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function pi(e){var t=fi(e);return Ea.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function mi(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function hi(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var ss={placement:"bottom",modifiers:[],strategy:"absolute"};function os(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function vi(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?ss:o;return function(d,l,i){i===void 0&&(i=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},ss,s),modifiersData:{},elements:{reference:d,popper:l},attributes:{},styles:{}},m=[],f=!1,v={state:h,setOptions:function(N){var R=typeof N=="function"?N(h.options):N;y(),h.options=Object.assign({},s,h.options,R),h.scrollParents={reference:We(d)?lt(d):d.contextElement?lt(d.contextElement):[],popper:lt(l)};var O=pi(hi([].concat(r,h.options.modifiers)));return h.orderedModifiers=O.filter(function(E){return E.enabled}),w(),v.update()},forceUpdate:function(){if(!f){var N=h.elements,R=N.reference,O=N.popper;if(os(R,O)){h.rects={reference:di(R,it(O),h.options.strategy==="fixed"),popper:$n(O)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(Y){return h.modifiersData[Y.name]=Object.assign({},Y.data)});for(var E=0;E<h.orderedModifiers.length;E++){if(h.reset===!0){h.reset=!1,E=-1;continue}var _=h.orderedModifiers[E],T=_.fn,P=_.options,M=P===void 0?{}:P,z=_.name;typeof T=="function"&&(h=T({state:h,options:M,name:z,instance:v})||h)}}}},update:mi(function(){return new Promise(function(b){v.forceUpdate(),b(h)})}),destroy:function(){y(),f=!0}};if(!os(d,l))return v;v.setOptions(i).then(function(b){!f&&i.onFirstUpdate&&i.onFirstUpdate(b)});function w(){h.orderedModifiers.forEach(function(b){var N=b.name,R=b.options,O=R===void 0?{}:R,E=b.effect;if(typeof E=="function"){var _=E({state:h,name:N,instance:v,options:O}),T=function(){};m.push(_||T)}})}function y(){m.forEach(function(b){return b()}),m=[]}return v}}var gi=[qa,si,La,Ca,ni,Qa,ii,Aa,Ja],yi=vi({defaultModifiers:gi}),Sn,as;function _i(){if(as)return Sn;as=1;var e=typeof Element<"u",t=typeof Map=="function",n=typeof Set=="function",r=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(n&&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(r&&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 Sn=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}},Sn}var bi=_i();const xi=gt(bi);var wi=[],$i=function(t,n,r){r===void 0&&(r={});var o=H.useRef(null),s={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||wi},c=H.useState({styles:{popper:{position:s.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),d=c[0],l=c[1],i=H.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(v){var w=v.state,y=Object.keys(w.elements);Lr.flushSync(function(){l({styles:qr(y.map(function(b){return[b,w.styles[b]||{}]})),attributes:qr(y.map(function(b){return[b,w.attributes[b]]}))})})},requires:["computeStyles"]}},[]),h=H.useMemo(function(){var f={onFirstUpdate:s.onFirstUpdate,placement:s.placement,strategy:s.strategy,modifiers:[].concat(s.modifiers,[i,{name:"applyStyles",enabled:!1}])};return xi(o.current,f)?o.current||f:(o.current=f,f)},[s.onFirstUpdate,s.placement,s.strategy,s.modifiers,i]),m=H.useRef();return Fr(function(){m.current&&m.current.setOptions(h)},[h]),Fr(function(){if(!(t==null||n==null)){var f=r.createPopper||yi,v=f(t,n,h);return m.current=v,function(){v.destroy(),m.current=null}}},[t,n,r.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 is(e){var t=H.useRef(e);return t.current=e,H.useCallback(function(){return t.current},[])}var Ei=function(){};function ji(e){var t=e.initial,n=e.value,r=e.onChange,o=r===void 0?Ei:r;if(t===void 0&&n===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var s=H.useState(t),c=s[0],d=s[1],l=is(c),i=H.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=n!==void 0;return[h?n:c,h?o:i]}function cs(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 Ni=["styles","attributes"],ls={getBoundingClientRect:cs()},us={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 Ci(e,t){var n,r,o;e===void 0&&(e={}),t===void 0&&(t={});var s=Object.keys(us).reduce(function(K,G){var te;return De({},K,(te={},te[G]=K[G]!==void 0?K[G]:us[G],te))},e),c=H.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=H.useState(null),i=l[0],h=l[1],m=H.useState(null),f=m[0],v=m[1],w=ji({initial:s.defaultVisible,value:s.visible,onChange:s.onVisibleChange}),y=w[0],b=w[1],N=H.useRef();H.useEffect(function(){return function(){return clearTimeout(N.current)}},[]);var R=$i(s.followCursor?ls:i,f,d),O=R.styles,E=R.attributes,_=fa(R,Ni),T=_.update,P=is({visible:y,triggerRef:i,tooltipRef:f,finalConfig:s}),M=H.useCallback(function(K){return Array.isArray(s.trigger)?s.trigger.includes(K):s.trigger===K},Array.isArray(s.trigger)?s.trigger:[s.trigger]),z=H.useCallback(function(){clearTimeout(N.current),N.current=window.setTimeout(function(){return b(!1)},s.delayHide)},[s.delayHide,b]),Y=H.useCallback(function(){clearTimeout(N.current),N.current=window.setTimeout(function(){return b(!0)},s.delayShow)},[s.delayShow,b]),I=H.useCallback(function(){P().visible?z():Y()},[P,z,Y]);H.useEffect(function(){if(P().finalConfig.closeOnOutsideClick){var K=function(te){var fe,le=P(),u=le.tooltipRef,g=le.triggerRef,$=(te.composedPath==null||(fe=te.composedPath())==null?void 0:fe[0])||te.target;$ instanceof Node&&u!=null&&g!=null&&!u.contains($)&&!g.contains($)&&z()};return document.addEventListener("mousedown",K),function(){return document.removeEventListener("mousedown",K)}}},[P,z]),H.useEffect(function(){if(!(i==null||!M("click")))return i.addEventListener("click",I),function(){return i.removeEventListener("click",I)}},[i,M,I]),H.useEffect(function(){if(!(i==null||!M("double-click")))return i.addEventListener("dblclick",I),function(){return i.removeEventListener("dblclick",I)}},[i,M,I]),H.useEffect(function(){if(!(i==null||!M("right-click"))){var K=function(te){te.preventDefault(),I()};return i.addEventListener("contextmenu",K),function(){return i.removeEventListener("contextmenu",K)}}},[i,M,I]),H.useEffect(function(){if(!(i==null||!M("focus")))return i.addEventListener("focus",Y),i.addEventListener("blur",z),function(){i.removeEventListener("focus",Y),i.removeEventListener("blur",z)}},[i,M,Y,z]),H.useEffect(function(){if(!(i==null||!M("hover")))return i.addEventListener("mouseenter",Y),i.addEventListener("mouseleave",z),function(){i.removeEventListener("mouseenter",Y),i.removeEventListener("mouseleave",z)}},[i,M,Y,z]),H.useEffect(function(){if(!(f==null||!M("hover")||!P().finalConfig.interactive))return f.addEventListener("mouseenter",Y),f.addEventListener("mouseleave",z),function(){f.removeEventListener("mouseenter",Y),f.removeEventListener("mouseleave",z)}},[f,M,Y,z,P]);var B=_==null||(n=_.state)==null||(r=n.modifiersData)==null||(o=r.hide)==null?void 0:o.isReferenceHidden;H.useEffect(function(){s.closeOnTriggerHidden&&B&&z()},[s.closeOnTriggerHidden,z,B]),H.useEffect(function(){if(!s.followCursor||i==null)return;function K(G){var te=G.clientX,fe=G.clientY;ls.getBoundingClientRect=cs(te,fe),T?.()}return i.addEventListener("mousemove",K),function(){return i.removeEventListener("mousemove",K)}},[s.followCursor,i,T]),H.useEffect(function(){if(!(f==null||T==null||s.mutationObserverOptions==null)){var K=new MutationObserver(T);return K.observe(f,s.mutationObserverOptions),function(){return K.disconnect()}}},[s.mutationObserverOptions,f,T]);var ee=function(G){return G===void 0&&(G={}),De({},G,{style:De({},G.style,O.popper)},E.popper,{"data-popper-interactive":s.interactive})},Q=function(G){return G===void 0&&(G={}),De({},G,E.arrow,{style:De({},G.style,O.arrow),"data-popper-arrow":!0})};return De({getArrowProps:Q,getTooltipProps:ee,setTooltipRef:v,setTriggerRef:h,tooltipRef:f,triggerRef:i,visible:y},_)}const Ti={duration:100,animation:"fade",theme:"light",arrow:!0},Si={duration:100,animation:"fade",theme:"dark",arrow:!0},On=({className:e,dark:t,noPadding:n,children:r,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:b,onVisibleChange:N,usePortal:R})=>{const{prefix:O}=k(),[E,_]=H.useState(!1),T=C(e,{[`${O}--tooltip`]:!0,[`${O}--tooltip--disable-padding`]:n,[`${O}--tooltip--visible`]:E,[`${O}--tooltip--${s}`]:s,[`${O}--tooltip--dark`]:t}),{getArrowProps:P,getTooltipProps:M,setTooltipRef:z,setTriggerRef:Y,visible:I}=Ci({closeOnOutsideClick:l,closeOnTriggerHidden:i,defaultVisible:h,delayHide:m,delayShow:f,followCursor:v,interactive:w,mutationObserverOptions:y,offset:b,onVisibleChange:N,placement:c,trigger:s}),B=C({[`${O}--tooltip--trigger`]:!0}),ee=C(e,{[`${O}--tooltip--trigger`]:!0}),Q=!d&&typeof r!="string"?H.cloneElement(r,{ref:Y,className:B}):a.jsx("span",{ref:Y,className:ee,children:r}),K=te=>{_(te),N&&N(te)},G=a.jsxs("div",{ref:z,...M({className:T}),children:[typeof o=="function"?o({setVisibility:_,visibilityChange:K}):o,a.jsx("div",{...P({className:`${O}--tooltip__arrow`})})]});return a.jsxs(a.Fragment,{children:[Q,I&&R&&a.jsx(Oi,{children:G}),I&&!R&&G]})};function Oi({children:e}){return Br.createPortal(e,document.body)}const Ri=({children:e,className:t,content:n})=>{const{prefix:r}=k(),o=C({[`${r}--context-menu`]:!0},t);return a.jsx(On,{className:o,content:n,noPadding:!0,trigger:"click",children:e})},ki=({className:e,...t})=>{const{prefix:n}=k(),r=C({[`${n}--context-menu__group`]:!0},e);return a.jsx("div",{className:r,...t})},Pi=({className:e,...t})=>{const{prefix:n}=k(),r=C({[`${n}--context-menu__item`]:!0},e);return a.jsx("div",{className:r,...t})},ds=({className:e,children:t,labelOne:n,linkTextOne:r,linkHrefOne:o,labelTwo:s,linkTextTwo:c,linkHrefTwo:d,logo:l,metaContent:i,metaLinks:h,secondary:m,pageWidth:f="lg"})=>{const{prefix:v}=k(),w=C(`${v}--footer`,e);return a.jsxs("footer",{className:w,children:[a.jsx(Le,{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:n}),a.jsx("ul",{className:`${v}--footer__list`,children:a.jsx("li",{children:a.jsx(ge,{href:o,children:r})})})]}),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(ge,{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(Le,{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})]})]})};ds.displayName="Footer";const fs=({className:e,children:t,longForm:n=!0,...r})=>{const{prefix:o}=k(),s=C(`${o}--form`,{[`${o}--form-long`]:n===!0},e);return a.jsx("form",{className:s,...r,children:t})};fs.displayName="Form";const Ai=({align:e,breakpoint:t,legendText:n,inline:r,children:o,className:s,inputSpacing:c,message:d,messageText:l})=>{const{prefix:i}=k(),h=C(`${i}--form-group__title`,s),m=C(`${i}--fieldset`,{[`${i}--fieldset__inline`]:r,[`${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:n}),a.jsx("div",{className:`${i}--fieldset__content`,children:o}),d?a.jsx("div",{className:`${i}--form__requirements`,children:l}):null]})},Di=({className:e,children:t,description:n})=>{const{prefix:r}=k(),o=C(`${r}--form-hint`,e);return a.jsx(On,{content:t,children:a.jsx("div",{className:o,children:a.jsx(So,{width:"15",height:"15",description:n})})})},Mi=({className:e,children:t,id:n,...r})=>{const{prefix:o}=k(),s=C(`${o}--label`,e);return a.jsx("label",{htmlFor:n,className:s,...r,children:t})},ps=({children:e,className:t,id:n,pageWidth:r})=>{const{prefix:o}=k(),s=C(`${o}--info-bar`,t);return a.jsx("div",{id:n,className:s,children:a.jsx(Le,{pageWidth:r,children:e})})};ps.displayName="InfoBar";const Rn=e=>{const{active:t=!0,className:n,withOverlay:r=!0,small:o=!1,...s}=e,{prefix:c}=k(),d=C(`${c}--loading`,n,{[`${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 r?a.jsx("div",{className:l,children:i}):i};Rn.displayName="Loading";const ms=e=>{const{className:t,success:n,description:r,onSuccess:o,successDelay:s,...c}=e,{prefix:d}=k(),l=C(`${d}--inline-loading`,t),i=()=>n?(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(Rn,{small:!0,withOverlay:!1}),h=a.jsx("p",{className:`${d}--inline-loading__text`,children:r});return a.jsxs("div",{className:l,...c,children:[a.jsx("div",{className:`${d}--inline-loading__animation`,children:i()}),r&&h]})};ms.displayName="InlineLoading";const Pt=H.forwardRef(({children:e,className:t,colon:n,kind:r,small:o,...s},c)=>{const{prefix:d}=k(),l=C(`${d}--list`,t,{[`${d}--list--${r}`]:r,[`${d}--list--small`]:o,[`${d}--list--colon`]:n}),i={...s};return a.jsx("ul",{className:l,...i,ref:c,children:e})});Pt.displayName="List";const hs=({children:e,className:t,title:n,kind:r,icon:o,...s})=>{const c=C("wfp--list__element",t,{"wfp--list-item--checkmark":r==="checkmark","wfp--list-item--cross":r==="cross"});return a.jsxs("li",{className:c,...s,children:[r==="cross"&&a.jsx(jo,{className:"wfp--list-item__icon"}),r==="checkmark"&&a.jsx(xo,{className:"wfp--list-item__icon"}),o&&a.jsx("span",{className:"wfp--list__element__icon",children:o}),n&&a.jsx("span",{className:"wfp--list__element__title",children:n}),a.jsx("span",{className:"wfp--list__element__content",children:e})]})},kn=U.createContext({onChangeSub:e=>e,activeMenuItem:null,openMobileMenu:!1,toggleMenu:()=>{},setOpenMobileMenu:()=>{}}),Ii=({toggleMenu:e,prefix:t})=>a.jsx(Be,{className:`${t}--main-navigation__button`,onClick:e,children:"Menu"}),vs=({children:e,components:t={},className:n,id:r,logo:o,line:s=!1,logoRibbon:c="default",mobilePageWidth:d,pageWidth:l})=>{const{prefix:i}=k(),[h,m]=U.useState(!1),[f,v]=U.useState(null),w=(_,T,P)=>{if(P&&P.preventDefault(),_==="close")v(null);else if(_==="toggle"){const M=f===null||f!==T?T:null;M!==void 0&&v(M)}},y=()=>{m(!h)},b=C(`${i}--main-navigation`,{[`${i}--main-navigation--line`]:s},n),N=C(`${i}--main-navigation__list`,{[`${i}--main-navigation__list--open`]:h}),R={Wrapper:Le,MobileButton:Ii,...t},O=R.Wrapper,E=R.MobileButton;return a.jsx("nav",{id:r,className:b,children:a.jsx(kn.Provider,{value:{activeMenuItem:f,openMobileMenu:h,toggleMenu:y,onChangeSub:w,setOpenMobileMenu:m},children:a.jsxs(O,{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:N,children:e})]})})})};vs.displayName="MainNavigation";function Pn(){return U.useContext(kn)}Pn.displayName="useMainNavigation";const Li=({className:e,children:t,kind:n,subNavigation:r,subNavWideAsContent:o})=>{const{prefix:s}=k(),{onChangeSub:c,activeMenuItem:d}=Pn(),[l]=U.useState(Math.random().toString(36)),i=U.useRef(null);U.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`]:r&&o}),f=C({[`${s}--main-navigation__trigger`]:!0,[`${s}--main-navigation__trigger--has-sub`]:r,[`${s}--main-navigation__trigger--open`]:l===d}),v=l===d?jt:rn,w=C({[`${s}--main-navigation__sub`]:!0,[`${s}--main-navigation__sub--${n}`]:n,[`${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,r&&a.jsx(v,{className:`${s}--main-navigation__trigger__icon`,description:l===d?"close icon":"expand icon"})]}),r&&a.jsx("div",{className:w,children:r})]})},Bi=({children:e,...t})=>a.jsx("div",{...t,children:e}),qi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__item`,t);return a.jsx("div",{className:o,...n,children:e})},Fi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__header`,t);return a.jsx("div",{className:o,...n,children:e})},Hi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__title`,t);return a.jsx("div",{className:o,...n,children:e})},Wi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__link`,t);return a.jsx("div",{className:o,...n,children:e})},Ui=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__filter`,t);return a.jsx("div",{className:o,...n,children:e})},zi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__content`,t);return a.jsx("div",{className:o,...n,children:e})},Yi=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sub-navigation__list`,t);return a.jsx("div",{className:o,...n,children:e})},Vi=({children:e,columns:t,className:n,title:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--sub-navigation__group`,{className:n},{[`${s}--sub-navigation__group--columns`]:t,[`${s}--sub-navigation__group--columns--${t}`]:t});return a.jsxs("div",{className:c,...o,children:[r&&a.jsx("h3",{className:`${s}--sub-navigation__group__title`,children:r}),a.jsx("div",{children:e})]})},gs=({children:e,className:t,...n})=>{const{prefix:r}=k(),o=C({[`${r}--story`]:!0,[`${t}`]:t});return a.jsx("div",{className:o,...n,children:e})},ys=({ariaLabel:e="close notification",className:t,iconDescription:n="close icon",type:r="button",renderIcon:o=jt,name:s,notificationType:c="toast",...d})=>{const{prefix:l}=k(),i=C(t,{[`${l}--${c}-notification__close-button`]:c}),h=C({[`${l}--${c}-notification__close-icon`]:c});return a.jsx("button",{...d,type:r,"aria-label":n,title:n,className:i,children:o&&a.jsx(o,{"aria-label":e,className:h,name:s})})},Gi=({children:e,className:t,onClick:n,...r})=>{const{prefix:o}=k(),s=C(t,`${o}--inline-notification__action-button`);return a.jsx(Be,{className:s,kind:"ghost",onClick:n,small:!0,...r,children:e})},An=({title:e,subtitle:t,caption:n,notificationType:r="toast",children:o,...s})=>{const{prefix:c}=k();return r==="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:n}),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})]})},Ki={error:nr,success:$o,warning:rr,info:To},_s=({iconDescription:e,kind:t="info",notificationType:n="toast"})=>{const{prefix:r}=k(),o=t?Ki[t]:void 0;return o?a.jsx(o,{className:`${r}--${n}-notification__icon`,children:a.jsx("title",{children:e})}):null},Xi=({role:e="alert",notificationType:t="toast",onClose:n=()=>{},onCloseButtonClick:r=()=>{},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}=k(),[b,N]=H.useState(!0),R=C(c,{[`${y}--toast-notification`]:!0,[`${y}--toast-notification--low-contrast`]:h,[`${y}--toast-notification--${i}`]:i}),O=T=>{(!n||n(T)!==!1)&&N(!1)};function E(T){r(T),O(T)}const _=H.useRef(n);return H.useEffect(()=>{_.current=n}),H.useEffect(()=>{if(!v)return;const T=window.setTimeout(P=>{N(!1),_.current&&_.current(P)},v);return()=>{window.clearTimeout(T)}},[v]),b?a.jsxs("div",{...w,role:e,className:R,children:[a.jsx(_s,{kind:i,iconDescription:s||`${i} icon`,notificationType:t}),a.jsx(An,{title:l,subtitle:d,notificationType:t,children:f}),!m&&a.jsx(ys,{iconDescription:o,notificationType:t,onClick:E})]}):null},dt=H.forwardRef((e,t)=>{const{actions:n,role:r="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}=k(),b=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:r,className:b,children:a.jsxs("div",{className:`${y}--inline-notification__details`,children:[s===void 0&&a.jsx(_s,{notificationType:o,kind:h,iconDescription:c||`${h} icon`}),s&&a.jsx("div",{className:`${y}--${o}-notification__icon`,children:s}),a.jsx(An,{title:i,subtitle:l,notificationType:o,children:v}),n&&a.jsx("div",{className:`${y}--inline-notification__actions-wrapper`,children:n})]})})});dt.displayName="Callout";const bs=({className:e,children:t,responsive:n,withBorder:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--table`,{[`${s}--table--responsive`]:n,[`${s}--table--with-border`]:r},e);return a.jsx("table",{...o,className:c,children:t})},Qi=Object.freeze(Object.defineProperty({__proto__:null,default:({className:e,isSorted:t,isSortedDesc:n,sortType:r})=>{const o=C(e,"wfp--table--sorting",{"wfp--table--is-sorted":t,"wfp--table--is-sortable":r});return a.jsx("span",{className:o,children:t?n?a.jsx(_o,{}):a.jsx(bo,{}):""})}},Symbol.toStringTag,{value:"Module"})),ze=H.forwardRef(({as:e,children:t,className:n,kind:r,spacingTop:o,spacingBottom:s,...c},d)=>{const{prefix:l}=k(),i=e||"div",h=C(`${l}--text`,r&&`${l}--text__${r}`,o&&`${l}--text__spacing-top-${o}`,s&&`${l}--text__spacing-bottom-${s}`,n);return a.jsx(i,{ref:d,className:h,...c,children:t})});ze.displayName="Text";const Zi={wrapper:e=>a.jsx(gs,{...e}),h1:e=>a.jsx(ze,{kind:"h1",...e,children:e.children}),h2:e=>a.jsx(ze,{kind:"h2",...e,children:e.children}),h3:e=>a.jsx(ze,{kind:"h3",...e,children:e.children}),h4:e=>a.jsx(ze,{kind:"h4",...e,children:e.children}),h5:e=>a.jsx(ze,{kind:"h5",...e,children:e.children}),p:e=>a.jsx("p",{...e,children:e.children}),li:e=>{const t=typeof e.children=="string"?e.children.substring(0,1):"";return t==="✓"||t==="✗"?a.jsx(hs,{kind:t==="✓"?"checkmark":"cross",...e,children:e.children.substring(1,e.children.length)}):a.jsx("li",{...e,children:e.children})},a:e=>a.jsx(ge,{inline:!0,...e,children:e.children}),ul:({children:e,...t})=>a.jsx(Pt,{...t,kind:"bullets",children:e}),ol:({children:e,...t})=>a.jsx(Pt,{...t,kind:"ordered",children:e}),code:e=>{const t=k();return a.jsx("code",{className:`${t.prefix}--story__code`,...e,children:e.children})},pre:e=>{const t=k();return a.jsx("pre",{className:`${t.prefix}--story__pre`,...e,children:e.children})},table:e=>a.jsx(bs,{...e,children:e.children}),blockquote:({children:e,...t})=>Array.isArray(e)&&e.length>=2&&e[0].props?a.jsx(dt,{kind:"info",...t,subtitle:e.map((n,r)=>{if(r>0)return n}),title:e[0].props.children}):a.jsx(dt,{kind:"info",...t,subtitle:e}),Button:Be,Accordion:Jt,AccordionItem:on},xs=({passiveModal:e,secondaryButtonText:t,onSecondaryButtonClick:n,primaryButtonText:r,onRequestSubmit:o,primaryButtonDisabled:s,secondaryButtonDisabled:c,danger:d,primaryButtonRef:l,secondaryButtonRef:i})=>{const{prefix:h}=k();return e?null:a.jsx("div",{className:`${h}--modal-footer`,children:a.jsxs("div",{className:`${h}--modal__buttons-container`,children:[t&&a.jsx(Be,{kind:"secondary",disabled:c,id:"secondaryButton",onClick:m=>{n&&n(m,"button")},ref:i,children:t}),a.jsx(Be,{kind:d?"danger":"primary",disabled:s,onClick:o,id:"primaryButton",ref:l,children:r})]})})},Dn=typeof Element<"u"&&["matches","webkitMatchesSelector","msMatchesSelector"].filter(e=>typeof Element.prototype[e]=="function")[0];function Mn(e){const{modalHeading:t,modalLabel:n,className:r,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:b=()=>{},onSecondarySubmit:N,iconDescription:R,inPortal:O=!0,hideClose:E,handleBlur:_=()=>{},wide:T,type:P,selectorPrimaryFocus:M,primaryButtonRef:z,secondaryButtonRef:Y,...I}=e,{prefix:B}=k(),ee=U.useRef(null),Q=U.useRef(null),K=U.useRef(null),G=i||(typeof document<"u"?document.body:void 0),[te,fe]=U.useState(!1),le=D=>{const{selectorsFloatingMenus:ve=[`.${B}--overflow-menu-options`,`.${B}--tooltip`,".flatpickr-calendar"]}=e;if(D&&typeof D.closest=="function")return ve.some(Ee=>D.closest(Ee));for(;D;){if(Dn&&typeof D[Dn]=="function"&&ve.some(Ee=>D[Dn](Ee)))return!0;D=D.parentNode}return!1},u=D=>{b(D,"button")},g=()=>{Q.current&&Q.current.focus()},$=D=>{_?_({evt:D,innerModal:K,open:m,elementOrParentIsFloatingMenu:le,focusModal:g}):K.current&&m&&D.relatedTarget&&!K.current.contains(D.relatedTarget)&&!le(D.relatedTarget)&&g()},S=D=>{if(M===!1)return;const ve=D.querySelector(M);if(ve){ve.focus();return}ee?.current&&ee.current.focus()},A=D=>{Q.current&&Q.current.offsetWidth&&Q.current.offsetHeight&&te&&(S(D.currentTarget),fe(!1))};if(m===!1&&f)return null;const L={ModalFooter:xs,...o}.ModalFooter,X=N||b,q=C({[`${B}--modal`]:!0,[`${B}--modal--wide`]:T,[`${B}--modal--tall`]:!d,[`${B}--modal--background-image`]:h,[`${B}--modal--passive`]:d,"is-visible":m,[`${B}--modal--warning`]:P==="warning"||e.warning,[`${B}--modal--danger`]:P==="danger"||e.danger,[`${B}--modal--desktop-${v}`]:v,[`${B}--modal--mobile-${w}`]:w,[`${B}--modal--scroll-${y}`]:y},r),ne=E?null:a.jsx("button",{className:`${B}--modal-close`,type:"button",id:"closeButton",onClick:u,ref:ee,children:a.jsx(jt,{className:`${B}--modal-close__icon`,description:R})}),se=a.jsxs("div",{ref:K,role:"dialog",className:`${B}--modal-container`,"aria-label":c,children:[a.jsxs("div",{className:`${B}--modal-header`,children:[d&&ne,a.jsxs("div",{children:[n&&a.jsx("h4",{className:`${B}--modal-header__label`,children:n}),a.jsx("h2",{className:`${B}--modal-header__heading`,children:t})]}),s&&a.jsx(a.Fragment,{children:s}),!d&&ne]}),a.jsx("div",{className:`${B}--modal-content`,children:l}),a.jsx(L,{...e,prefix:B,onSecondaryButtonClick:X,primaryButtonRef:z,secondaryButtonRef:Y})]}),he=a.jsx("div",{...I,onBlur:$,className:q,style:h?{backgroundImage:`url(${h})`}:void 0,role:"presentation",tabIndex:-1,onTransitionEnd:m?A:void 0,ref:Q,children:a.jsx("div",{className:`${B}--modal-inner`,children:se})});return O&&G?Br.createPortal(he,G):he}Mn.displayName="Modal";const ws=({children:e,customButton:t,id:n,onKeyDown:r,buttonTriggerText:o,buttonTriggerClassName:s,triggerButtonKind:c,disabled:d,handleSubmit:l=()=>{},shouldCloseAfterSubmit:i=!0,...h})=>{const{prefix:m}=k(),f=H.createRef(),[v,w]=H.useState(!1),y=()=>{w(!0)},b=()=>{w(!1),v||(f.current&&f.current.focus(),b&&b())},R={...h,open:v,onRequestClose:b,onRequestSubmit:()=>{l&&(l(b),i&&b())}},O=t?H.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&&(b(),r&&r(E))},children:[t?a.jsx(H.Fragment,{children:O}):a.jsx(Be,{id:n,className:s,disabled:d,kind:c,onClick:y,ref:f,children:o}),a.jsx(Mn,{...R,children:e})]})};ws.displayName="ModalWrapper";const Ji=({dark:e,light:t,children:n,className:r,margin:o,fullHeight:s,noMargin:c,withHover:d,...l})=>{const{prefix:i}=k(),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},r,[`${i}--module`]);return a.jsx("div",{className:h,...l,children:a.jsx("div",{className:`${i}--module__inner`,children:n})})},ec=({children:e,className:t,centered:n,noPadding:r,...o})=>{const s=C("wfp--module__content",t,{"wfp--module__content--centered":n,"wfp--module__content--no-padding":r});return a.jsx("div",{className:s,...o,children:e})},tc=({filter:e,children:t,className:n,...r})=>{const o=C("wfp--module__header",n);return a.jsxs("div",{className:o,...r,children:[a.jsx("h1",{className:"wfp--module__title",children:t}),e&&a.jsx("div",{className:"wfp--module__filter",children:e})]})},nc=({children:e,className:t,...n})=>{const r=C("wfp--module__footer",t);return a.jsx("div",{className:r,...n,children:e})},rc=e=>{const t=parseFloat(e);return Math.floor(t)===t?0:e.split(".")[1].length||0},$s=(e,t)=>isNaN(e)||!e&&e!==0||isNaN(t)||!t&&t!==0?t:Math.max(e,t),Es=(e,t)=>isNaN(e)||!e&&e!==0||isNaN(t)||!t&&t!==0?t:Math.min(e,t),js=H.forwardRef((e,t)=>{const{className:n,disabled:r,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}=k(),b=Es(d,$s(l,e.value)),[N,R]=U.useState(b);U.useEffect(()=>{R(e.value)},[e.value]);const O=U.useRef(null),E=t||O,_=B=>{r||(B.persist(),B.imaginaryTarget=E,R(B.target.value),h(B,parseFloat(B.target.value)))},T=(B,ee)=>{let Q=typeof N=="string"?Number(N):N;Q=isNaN(Q)?0:Q;const K=ee==="down"?l!==void 0&&Q>l||l===void 0:d!==void 0&&Q<d||d===void 0,G=i.toString();Q=ee==="down"?Q-i:Q+parseFloat(G),Q=Es(d,$s(l,Q)),Q=parseFloat(Q.toFixed(rc(G))),!r&&K&&(B.persist(),B.imaginaryTarget=E,B.target.value=parseFloat(Q),m(B,ee),R(Q),h(B,Q,ee))},P=C(`${y}--number`,n,{[`${y}--number--light`]:v,[`${y}--number--helpertext`]:f,[`${y}--number--nolabel`]:s,[`${y}--number--nocontrols`]:c}),M={disabled:r,id:o,max:d,min:l,step:i,onChange:_,value:N},z=e,{inputProps:Y,wrapperProps:I}=Oe({...z,type:"number"});return a.jsx(Ne,{...I,inputWrapperClassName:P,children:a.jsxs("div",{className:`${y}--number__controls`,children:[a.jsx("button",{className:`${y}--number__control-btn up-icon`,type:"button",disabled:r,onClick:B=>T(B,"up"),children:"+"}),a.jsx("button",{className:`${y}--number__control-btn down-icon`,type:"button",disabled:r,onClick:B=>T(B,"down"),children:"−"}),a.jsx("input",{pattern:w,...Y,...M,ref:t})]})})});js.displayName="NumberInput";const At=H.forwardRef((e,t)=>{const{className:n,inline:r,disabled:o,children:s,iconDescription:c,light:d,hideLabel:l}=e,{prefix:i}=k(),h=C({[`${i}--select-input`]:!0,[`${i}--select--inline`]:r,[`${i}--select--light`]:d,[`${i}--select--disabled`]:o},n),m=e,{inputProps:f,wrapperProps:v}=Oe({...m,inputClassName:h});return a.jsxs(Ne,{...v,inputWrapperClassName:`${i}--select`,hideLabel:l,children:[a.jsx("select",{...f,ref:t,children:s}),a.jsx(rn,{className:`${i}--select__arrow`,description:c})]})});At.displayName="Select";function Dt({className:e,value:t,disabled:n,hidden:r,text:o,...s}){const{prefix:c}=k(),d=C({[`${c}--select-option`]:!0,[`${e}`]:e});return a.jsx("option",{...s,className:d,value:t,disabled:n,hidden:r,children:o})}Dt.displayName="SelectItem";let sc=0;const In=e=>{const{backwardText:t="Backward",className:n,forwardText:r="Forward",id:o,itemsPerPageText:s="Items per page:",itemsPerPageFollowsText:c,itemRangeText:d=(g,$,S)=>`${g}-${$} of ${S} 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:b=!1,pageInputDisabled:N=!1,totalItems:R,onChange:O,page:E=1,..._}=e,[T,P]=U.useState(E),[M,z]=U.useState(e.pageSize?e.pageSize:m[0]),Y=U.useState(()=>++sc)[0],I=g=>{const $=Number(g.target.value);P(1),z($),O?.({page:1,pageSize:$})},B=g=>{const $=Number(g.target.value);$>0&&$<=Math.max(Math.ceil(R/M),1)&&(P($),O?.({page:$,pageSize:M}))},ee=()=>{const g=T+1;P(g),O?.({page:g,pageSize:M})},Q=()=>{const g=T-1;P(g),O?.({page:g,pageSize:M})},K=g=>{let $=1;const S=[];for(;$<=g;)S.push(a.jsx(Dt,{value:$,text:String($)},$)),$++;return S},G=C("wfp--pagination",n),te=C("wfp--pagination__button","wfp--pagination__button--backward",{"wfp--pagination__button--no-index":N}),fe=o||Y,le=Math.max(Math.ceil(R/M),1),u=K(le);return a.jsxs("div",{className:G,..._,children:[a.jsxs("div",{className:"wfp--pagination__left",children:[!h&&a.jsxs(U.Fragment,{children:[a.jsx("span",{className:"wfp--pagination__text",children:c||s}),a.jsx(At,{id:`wfp-pagination-select-${fe}`,labelText:s,hideLabel:!0,inline:!0,onChange:I,value:M,children:m.map(g=>a.jsx(Dt,{value:g,text:String(g)},g))}),a.jsxs("span",{className:"wfp--pagination__text",children:[" "," | "]})]}),a.jsx("span",{className:"wfp--pagination__text",children:y?f(M*(T-1)+1,T*M):d(Math.min(M*(T-1)+1,R),Math.min(T*M,R),R)})]}),a.jsxs("div",{className:"wfp--pagination__right wfp--pagination--inline",children:[a.jsx("span",{className:"wfp--pagination__text",children:y?v(T):l(T,le)}),a.jsx("button",{className:te,onClick:Q,disabled:e.disabled||T===1,children:a.jsx(er,{className:"wfp--pagination__button-icon",description:t})}),N?null:a.jsx(At,{id:`wfp-pagination-select-${+fe+2}`,labelText:s,hideLabel:!0,inline:!0,onChange:B,value:T,children:u}),a.jsx("button",{className:"wfp--pagination__button wfp--pagination__button--forward",onClick:ee,disabled:e.disabled||T===le||b,children:a.jsx(tr,{className:"wfp--pagination__button-icon",description:r})})]})]})};In.displayName="Pagination";let Ns=0;function Cs(e="id"){return Ns++,`${e}${Ns}`}const Ts=H.forwardRef((e,t)=>{const{labelText:n,id:r,className:o,value:s,name:c,onChange:d,...l}=e,[i]=U.useState(r||Cs()),{prefix:h}=k(),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`}),n]})]})});Ts.displayName="RadioButton";const Ss=e=>{const{prefix:t}=k(),{children:n,labelText:r,helperText:o,vertical:s,hideLabel:c,className:d=`${t}--input-group`,wrapperClassName:l,valueSelected:i,defaultSelected:h}=e,[m,f]=U.useState(i||h);U.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=r?a.jsx("span",{className:v,children:r}):null,b=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,b,a.jsx("div",{className:`${t}--input-group-inside`,children:n})]})})};Ss.displayName="InputGroup";const oc=({handleToggleClick:e,link:t,text:n,showMore:r,contentId:o})=>{const{prefix:s}=k(),c={"aria-expanded":r,"aria-controls":o};if(t)return U.cloneElement(t,{onClick:e,...c});{const d=Eo,l=C({[`${s}--read-more__trigger`]:!0,[`${s}--read-more__trigger--expanded`]:r});return a.jsxs(ge,{className:l,size:"sm",onClick:e,...c,children:[n,a.jsx(d,{width:"10",height:"10",description:r?"icon up":"icon down"})]})}};function Os({collapseLink:e,collapseText:t="Show less",children:n,collapsed:r,className:o,disableAutoscroll:s,expandLink:c,expandText:d="Show more",fade:l,maxHeight:i}){const{prefix:h}=k(),[m,f]=U.useState(!1),[v,w]=U.useState(0),y=U.useRef(null),b=U.useRef(null),R=`${Kn()}-read-more-content`,O=P=>{P.preventDefault();const M=y?.current?.clientHeight;!m&&!s&&setTimeout(()=>{b?.current&&b.current.scrollIntoView({behavior:"smooth",block:"end"})},50),f(!m),M&&w(M)},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},T=m?{display:"none"}:{display:"block"};return a.jsxs("div",{className:E,children:[a.jsxs("div",{className:`${h}--read-more__content`,style:_,id:R,children:[a.jsx("div",{className:`${h}--read-more__fake-height`,ref:b,style:{height:`${v+30}px`}}),a.jsxs("div",{ref:y,children:[(m||!r)&&n,r&&a.jsx("div",{style:T,children:r})]})]}),a.jsx(oc,{handleToggleClick:O,showMore:m,link:m?e:c,text:m?t:d,contentId:R})]})}Os.displayName="ReadMore";function Rs({additional:e,children:t,className:n,id:r,pageWidth:o,...s}){const{prefix:c}=k(),d=C(`${c}--secondary-navigation`,n);return a.jsx("div",{id:r,className:d,...s,children:a.jsxs(Le,{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})]})})}Rs.displayName="SecondaryNavigation";function ks({className:e,children:t}){const{prefix:n}=k(),r=C(`${n}--secondary-navigation__title`,e);return a.jsx("h1",{className:r,children:t})}ks.displayName="SecondaryNavigationTitle";function ac({inline:e,small:t,vertical:n,className:r,role:o,children:s}){const{prefix:c}=k(),[d]=U.useState(!0),i=U.Children.map(s,m=>m),h={tabs:C(r,{[`${c}--step-navigation`]:!0,[`${c}--step-navigation--vertical`]:n,[`${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 ic=({className:e,handleTabClick:t=()=>{},index:n,label:r,status:o,helperText:s,selectedPage:c=0,onClick:d=()=>{},page:l=0,renderAnchor:i})=>{const{prefix:h}=k(),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:No},warning:{icon:Do},locked:{icon:Oo},skip:{icon:ko},disabled:{icon:nr},complete:{icon:wo},summary:{icon:Ro}}[o]?.icon:null;return a.jsx("li",{tabIndex:-1,className:m,onClick:y=>{o!=="locked"&&(t(y,n,r),d(y))},role:"presentation",children:a.jsx(a.Fragment,{children:i?i(f):a.jsxs(H.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:r}),s&&a.jsx("span",{className:`${h}--step-navigation__nav-item__helper-text`,children:s})]})]})})})};function cc({children:e,className:t,disabled:n,label:r,...o}){const{prefix:s}=k(),c=C(`${s}--select-optgroup`,t);return a.jsx("optgroup",{className:c,label:r,disabled:n,...o,children:e})}const lc=({active:e,children:t,className:n,sidebar:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--sidebar-content__container`,n,{[`${s}--sidebar-content__container--active`]:e});return a.jsxs("div",{className:c,...o,children:[a.jsx("div",{className:`${s}--sidebar-item-content`,children:r}),a.jsx("div",{className:`${s}--content-section`,children:t})]})},uc=({className:e,children:t,noPadding:n,...r})=>{const{prefix:o}=k(),s=C(`${o}--sidebar-content__header`,e,{[`${o}--sidebar-content__header--no-padding`]:n});return a.jsx("div",{className:s,...r,children:t})},dc=({className:e,children:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sidebar-content-mobile-header`,e,{});return a.jsx("div",{className:o,...n,children:t})},fc=({className:e,children:t,...n})=>{const{prefix:r}=k(),o=C(`${r}--sidebar-content__children`,e,{});return a.jsx("div",{id:"scroll-container",className:o,...n,children:t})},pc=({children:e,...t})=>{const{prefix:n}=k();return a.jsx("div",{className:`${n}--sidebar-content__scroll`,...t,children:e})},mc=({children:e,...t})=>{const{prefix:n}=k();return a.jsxs("div",{className:`${n}--sidebar-content__back-button`,...t,children:[a.jsx(er,{}),e]})},Ln=H.forwardRef((e,t)=>{const{hideLabel:n,helperText:r,pattern:o,required:s}=e,{prefix:c}=k(),d=C(`${c}--input`,`${c}--text-input`,{[`${c}--text--helpertext`]:r,[`${c}--text--nolabel`]:n,[`${c}--text--required`]:s}),l=e,{inputProps:i,wrapperProps:h}=Oe({...l,inputClassName:d});return a.jsx(Ne,{...h,children:a.jsx("input",{pattern:o,...i,ref:t})})});Ln.displayName="TextInput";const hc=(e,t)=>typeof t=="function"?t(e):`${e}${t||""}`;function vc(e,t,n){if(!(n<=t))return e<t&&(e=t),e>n&&(e=n),(e-t)/(n-t)*100}const Ps=H.forwardRef((e,t)=>{const{ariaLabelInput:n,className:r,disabled:o,formatLabel:s=hc,fullWidth:c,id:d,inputType:l,hideLabel:i,hideControls:h,hideTextInput:m,min:f,minLabel:v,max:w,maxLabel:y,step:b=1,onChange:N=()=>{},helperText:R,...O}=e,{prefix:E}=k(),_=e.value,[T,P]=H.useState(_);H.useEffect(()=>{P(e.value)},[e.value]);const M=H.useRef(null),z=t||M,Y=u=>{o||(u.persist(),u.imaginaryTarget=z,u.target.value>w?(P(w),N(u)):(P(u.target.value),N(u)))},I=C(`${E}--slider--wrapper`,r,{[`${E}--slider--helpertext`]:R,[`${E}--slider--nolabel`]:i,[`${E}--slider--nocontrols`]:h}),B=C(`${E}--slider-container`,{[`${E}--slider-container--full-width`]:c}),ee={disabled:o,id:d,max:w,min:f,step:b,onChange:Y,value:T},Q=C(`${E}--input`,`${E}--slider-text-input`),K=C(`${E}--slider`,{[`${E}--slider--disabled`]:o},r),G=C(`${E}--slider__range-wrapper`,{[`${E}--slider__range-wrapper--disabled`]:o},r),te=T&&T<f?f:T,le=Oe(e);return console.log("valueMinimal",te),a.jsx(Ne,{...le.wrapperProps,formItemClassName:I,children:a.jsxs("div",{className:B,children:[a.jsx("span",{className:`${E}--slider__range-label`,children:s(f,v)}),a.jsxs("div",{className:G,children:[a.jsx("div",{className:`${E}--slider__range-before`,style:{width:`${vc(te,f,w)}%`}}),a.jsx("input",{className:K,type:"range",...O,...ee,ref:z})]}),a.jsx("span",{className:`${E}--slider__range-label`,children:s(w,y)}),!m&&a.jsx(Ln,{disabled:o,type:l,id:"input-for-slider",className:Q,value:T,onChange:Y,"aria-label":n})]})})});Ps.displayName="Slider";const As=H.forwardRef(({active:e,additional:t,children:n,className:r,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}=k(),b=C({[`${y}--item`]:!0,[`${y}--item--${m}`]:m,[`${y}--item--${f}`]:f,[`${y}--item--active`]:e,[`${y}--item--unread`]:l},r);return a.jsxs("div",{className:b,...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(tr,{className:`${y}--item__additional-icon`})]}),n&&a.jsx("div",{className:`${y}--item__text`,children:n}),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`})]})});As.displayName="Item";const Ds=({data:e,page:t,pageSizeOptions:n,paginationClassName:r,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:b,itemRangeText:N,pageRangeText:R,pageSizesDisabled:O,itemText:E,pageNumberText:_})=>{const{prefix:T}=k(),P=Y=>(isNaN(Y)&&(Y=t),Y),M=Y=>{const I=P(Y.page-1);Y!==I&&c(I),m!==Y.pageSize&&d(Y.pageSize)},z={isLastPage:l,pages:i,pageInputDisabled:h,pageSize:m,pagesUnknown:f,backwardText:v,forwardText:w,itemsPerPageText:y,itemsPerPageFollowsText:b,itemRangeText:N,pageRangeText:R,pageSizesDisabled:O,itemText:E,pageNumberText:_};return a.jsx("div",{className:C(r,"-pagination"),style:s,children:a.jsx("div",{className:`${T}-pagination`,children:a.jsx(In,{onChange:M,pageSizes:n,page:t,totalItems:o||(e?e.length:void 0),...z})})})};Ds.displayName="ReactTablePagination";function Ms(e){const{prefix:t}=k(),{className:n,disabled:r,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},b=C(`${t}--tabs__nav-item`,{[`${t}--tabs__nav-item--disabled`]:r},{[`${t}--tabs__nav-item--selected`]:h},n),N=C(`${t}--tabs__nav-item`,`${t}--tabs__nav-item--selected`,n),R={className:"wfp--tabs__nav-link",href:r?void 0:d,label:i,role:"tab",tabIndex:m,"aria-selected":h};return{liProps:{tabIndex:-1,className:b,onClick:E=>{r||(o(l,i,E),f(E))},onKeyDown:E=>{r||(y(E),c(l,i,E),v(E))},role:"presentation",selected:h,...w},anchorProps:R,selectedClasses:N}}const gc=e=>{const{disabled:t,label:n,renderAnchor:r,renderListElement:o}=e,{anchorProps:s,liProps:c,selectedClasses:d}=Ms(e);return a.jsx(H.Fragment,{children:o?typeof o=="function"?o({...e,...c,anchor:s,selectedClasses:d}):a.jsx(a.Fragment,{children:o}):a.jsx("li",{...c,children:r?r(s):t?a.jsx("span",{...s,children:n}):a.jsx("a",{...s,children:n})})})},Is=e=>{const{selected:t=!1,children:n,...r}=e;return a.jsx("div",{...r,"data-selected":t,hidden:!t,children:n})};Is.displayName="TabContent";const yc=U.createContext({handleTabClick:()=>{},handleTabKeyDown:()=>{},handleTabAnchorFocus:()=>{}}),Ls=e=>{const{disableAnimation:t,inline:n,className:r,role:o="navigation",selected:s=null,...c}=e,{prefix:d}=k(),[l,i]=H.useState(s),h=H.useRef(null);H.useEffect(()=>{s!==l&&i(s)},[s]);const m={tabs:C(`${d}--tabs`,{[`${d}--tabs--no-animation`]:t},r),tablist:C(`${d}--tabs__nav`,{[`${d}--tabs__nav--inline`]:n})},f=()=>(y,b,N)=>{N&&N.preventDefault()},v=()=>(y,b,N)=>{N.key||N.which},w=()=>{};return a.jsx(yc.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})]})})};Ls.displayName="Tabs";const Bs=H.forwardRef((e,t)=>{const{className:n,fullWidth:r}=e,{prefix:o}=k(),s=C(`${o}--text-area`,n,{[`${o}--textarea-fullwidth`]:r}),d=Oe({...e,inputClassName:s});return a.jsx(Ne,{...d.wrapperProps,children:a.jsx("textarea",{...d.inputProps,ref:t})})});Bs.displayName="TextArea";const qs=H.forwardRef((e,t)=>{const{showPasswordLabelText:n="Show password",hidePasswordLabelText:r="Hide password",addonAfter:o,...s}=e,{prefix:c}=k(),[d,l]=H.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?r:n,b=()=>{f||v||l(_=>!_)},N=a.jsx("button",{type:"button",className:`${c}--password-input__toggle`,onClick:b,"aria-pressed":d,"aria-label":y,disabled:f||v,children:y}),R=s,{inputProps:O,wrapperProps:E}=Oe({...R,type:d?"text":"password",addonAfter:a.jsxs(a.Fragment,{children:[o,N]}),inputClassName:w});return a.jsx(Ne,{...E,children:a.jsx("input",{...O,ref:t})})});qs.displayName="PasswordInput";const Fs=H.forwardRef((e,t)=>{const{className:n,defaultToggled:r=!1,id:o,labelA:s="Off",labelB:c="On",...d}=e,{prefix:l}=k(),i=C({[`${l}--form-item`]:!0},n),h=o||d.name,f=Oe(e),v=d;return a.jsxs(Ne,{className:i,...e,children:[a.jsx("input",{...v,...f.inputProps,defaultChecked:r,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})]})]})});Fs.displayName="Toggle";const _c=e=>{const{className:t,children:n,components:r={},description:o,ellipsis:s,extendedDescription:c,showName:d,small:l,name:i,missingImage:h,...m}=e,{prefix:f}=k(),w={...{Avatar:ln},...r},y=C(`${f}--user`,t,{[`${f}--user--has-description`]:o,[`${f}--user--has-extended-description`]:c}),b=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:b,children:[a.jsx("span",{children:i}),o&&a.jsx("div",{className:`${f}--user__description`,children:o})]}),n,c&&a.jsx("div",{className:`${f}--user__extended-description`,children:c})]})},ft={thousand:{pow:1e3,defaultmaximumFractionDigits:2,default:{after:"T"}},million:{pow:1e6,defaultmaximumFractionDigits:1,default:{after:"M"}},billion:{pow:1e9,defaultmaximumFractionDigits:2,default:{after:"B"}}},Hs=e=>a.jsx("span",{className:e.className+" invalid",children:"–"}),bc=e=>a.jsx("tspan",{className:e.className+" invalid",children:"–"}),Mt=e=>{if(e){const t=e.before?e.before+" ":"",n=e.output&&e.output.default?e.output.default.after+"":"",r=e.after?" "+e.after:"";return t+e.value+n+r}else return""},It=(e,t)=>{const{style:n,...r}=t;return e?a.jsxs("text",{className:t.className,...r,children:[a.jsxs("tspan",{style:n,children:[e.before," "]}),a.jsx("tspan",{style:n,children:e.value}),a.jsxs("tspan",{style:n,children:[" ",e.output?e.output.default.after+"":"",e.after]})]}):a.jsx(bc,{className:t.className})},Ae=(e,t,n,r,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&&ft[c]?ft[c].pow*y:y;const b=d&&ft[d]?ft[d]:void 0;y=y!==0&&d?y/b.pow:y;const N=o===!0&&d===void 0?l===0:typeof l=="number"?l:b&&b.defaultmaximumFractionDigits?b.defaultmaximumFractionDigits:2,R=o===!0&&d===void 0?i===0:y<=.005?4:y<=.05?3:y<=.5?2:i===0?0:typeof i=="number"?i:b&&b.defaultmaximumFractionDigits?b.defaultmaximumFractionDigits:2,O={minimumFractionDigits:N,maximumFractionDigits:R>N?R:N};y=y.toLocaleString(h,O);const E={value:y,before:n,after:t,output:b};let _=e.className;return y==="1"&&r&&(_=_+" wfp--unit--singular"),(!y||y==="NaN"||parseFloat(y)===0)&&w?!1:m?E:v?It(E,e):f?Mt(E):y!==!1?a.jsx("span",{className:_,children:y}):a.jsx(Hs,{className:e.className})},xc=(e,t,n)=>{const{calcOnly:r,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:n,after:t,output:void 0};return(!m||m==="NaN"||parseFloat(m)===0)&&l?!1:r?f:d?It(f,e):c?Mt(f):m!==!1?a.jsx("span",{className:e.className,children:m}):a.jsx(Hs,{className:e.className})},Lt=(e,t,n)=>{const{calcOnly:r,className:o,children:s,string:c,svg:d,hideUnit:l}=e,i=s,h=t||"",m=l?"":n+s+h,f={value:i,before:n,after:t,output:i+m};if(r)return f;if(d)return It({value:i+m,before:n,after:t},e);if(c)return Mt(f);if(i!==!1)return a.jsx("span",{className:o,children:i})},wc=e=>{const{children:t}=e,n=t;let r;if(typeof n=="number"&&n.toString().length>=7)r=new Date(n,e);else if(n.getMonth)r=n;else{const c=n.toString().substring(0,4),d=parseInt(n.toString().substring(4,7),10)-1;r=new Date(c,d,1)}const o=r.toLocaleString("en-us",{month:"short"}),s=r.toLocaleString("en-us",{month:"long"});return{monthName:o,monthNameFull:s,year:r.getFullYear(),date:r}},$c=e=>{const{className:t,string:n,svg:r,calcOnly:o}=e,s=wc(e),c={value:s.monthName+" "+s.year,before:"",after:"",output:void 0};if(o)return c;if(r)return It(c,e);if(n)return Mt(c);if(c?.value)return a.jsx("span",{className:t,children:c.value})},Ec={Usd:e=>Ae(e,"","US$"),Partners:e=>Ae(e,"Partners",void 0,!0,!0),Beneficiaries:e=>Ae(e,"Beneficaries",void 0,!0,!0),Households:e=>Ae(e,"Households",void 0,!0,!0),Months:e=>Ae(e,"Months",void 0,!0,"Month"),Mt:e=>Ae(e,"MT",void 0,!0),Kg:e=>Lt(e,"kg"),MetricTons:e=>Ae(e,"MetricTons",void 0,!0),Num:e=>Ae(e,""),Level:e=>Lt(e,""),None:e=>Lt(e,""),Trips:e=>Ae(e,"Trips",void 0,!0,!0),Countries:e=>Lt(e,"Countries"),People:e=>Ae(e,"People",void 0,!0,!0),Percentage:e=>xc(e,"%"),YearMonth:e=>$c(e)},jc=e=>{const{prefix:t}=k(),{className:n,output:r,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=Ec[i],m=s||"start",f=d?`${t}--unit--${d.toLowerCase()}`:"",v=r&&ft[r]?`${t}--unit--${r}`:"",w=l?`${t}--unit--${l}`:"",y=`${t}--unit ${n} ${f} ${v} ${w}`;return o?h(e):h===void 0?null:a.jsx(h,{...e,className:y,textAnchor:m,localeStringLanguage:c})},Nc=({value:e,secondaryValue:t,className:n,title:r,...o})=>{const{prefix:s}=k(),c=C(`${s}--value`,n);return a.jsxs("div",{className:c,...o,children:[a.jsx("h4",{className:`${s}--value__title`,children:r}),a.jsx("div",{className:`${s}--value__primary-value`,children:e}),a.jsx("div",{className:`${s}--value__secondary-value`,children:t})]})},Cc=e=>t=>{const r={...k(),...t};return a.jsx(e,{...r})};function Tc(){return U.useContext(Et)}const Sc={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:""}},Ws=typeof window<"u"?U.useLayoutEffect:U.useEffect,Oc=typeof window>"u";function Rc(e,t){const n=typeof t=="boolean"?t:t?.defaultValue??!1,r=typeof t=="boolean"?void 0:t?.initializeWithValue??void 0,o=l=>Oc?n:window.matchMedia(l).matches,[s,c]=U.useState(()=>r?o(e):n);function d(){c(o(e))}return Ws(()=>{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}j.Accordion=Jt,j.AccordionItem=on,j.AddonAfter=dr,j.AddonBefore=ur,j.AuthLayout=Fo,j.Avatar=ln,j.BackgroundContent=Ho,j.BannerNavigation=cr,j.BannerNavigationItem=je,j.BannerNavigationWithContent=Uo,j.BlockNotification=dt,j.Breadcrumb=zo,j.BreadcrumbHome=Go,j.BreadcrumbItem=Vo,j.Button=Be,j.Callout=dt,j.Card=Sr,j.CardExternal=Or,j.Checkbox=Pr,j.ContentSwitcher=ca,j.ContextMenu=Ri,j.ContextMenuGroup=ki,j.ContextMenuItem=Pi,j.Credits=Ar,j.DatePicker=Rr,j.DatePickerInput=yn,j.DateRangePicker=kr,j.DateRangePickerInput=_n,j.Empty=Cr,j.Footer=ds,j.Form=fs,j.FormGroup=Ai,j.FormHint=Di,j.FormItem=lr,j.FormLabel=Mi,j.Helper=pr,j.Hero=Tr,j.HeroExternal=aa,j.InfoBar=ps,j.InlineErrorMessage=an,j.InlineLoading=ms,j.Input=Ne,j.InputGroup=Ss,j.Item=As,j.Label=fr,j.Link=ge,j.List=Pt,j.ListItem=hs,j.Loading=Rn,j.MainNavigation=vs,j.MainNavigationContext=kn,j.MainNavigationItem=Li,j.Modal=Mn,j.ModalFooter=xs,j.ModalWrapper=ws,j.Module=Ji,j.ModuleBody=ec,j.ModuleFooter=nc,j.ModuleHeader=tc,j.NotificationActionButton=Gi,j.NotificationButton=ys,j.NotificationTextDetails=An,j.NumberInput=js,j.Pagination=In,j.PasswordInput=qs,j.RadioButton=Ts,j.ReadMore=Os,j.Search=cn,j.SecondaryNavigation=Rs,j.SecondaryNavigationTitle=ks,j.Select=At,j.SelectItem=Dt,j.SelectItemGroup=cc,j.Sidebar=lc,j.SidebarBackButton=mc,j.SidebarContentBody=fc,j.SidebarContentHeader=dc,j.SidebarHeader=uc,j.SidebarScroll=pc,j.Slider=Ps,j.StepNavigation=ac,j.StepNavigationItem=ic,j.Story=gs,j.SubNavigation=Bi,j.SubNavigationContent=zi,j.SubNavigationFilter=Ui,j.SubNavigationGroup=Vi,j.SubNavigationHeader=Fi,j.SubNavigationItem=qi,j.SubNavigationLink=Wi,j.SubNavigationList=Yi,j.SubNavigationTitle=Hi,j.Tab=gc,j.TabContent=Is,j.Table=bs,j.TablePagination=Ds,j.TableSorting=Qi,j.Tabs=Ls,j.Tag=gn,j.Text=ze,j.TextArea=Bs,j.TextInput=Ln,j.ToastNotification=Xi,j.Toggle=Fs,j.Tooltip=On,j.Unit=jc,j.User=_c,j.Value=Nc,j.WFPCoreContext=Et,j.WFPCoreProvider=lo,j.Wrapper=Le,j.buttonKinds=na,j.colors=Sc,j.defaultWFPContext=$t,j.mdxComponents=Zi,j.notificationtypes=ra,j.pageWidths=Wo,j.tooltipStyle=Ti,j.tooltipStyleDark=Si,j.uniqueId=Cs,j.useInput=Oe,j.useIsomorphicLayoutEffect=Ws,j.useMainNavigation=Pn,j.useMediaQuery=Rc,j.useTab=Ms,j.useTheme=Tc,j.withWFPCoreSettings=Cc,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
|
|
104
104
|
//# sourceMappingURL=index.umd.js.map
|