dibk-design 10.3.2 → 10.3.5

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/index.umd.js CHANGED
@@ -1,12 +1,12 @@
1
- (function(X,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("react"),require("react-router-dom"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-router-dom","react-dom"],v):(X=typeof globalThis<"u"?globalThis:X||self,v(X.DibkDesign={},X.React,X.reactRouterDom,X.ReactDOM))})(this,(function(X,v,Tt,hn){"use strict";function fo(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const L=fo(v);var ut={exports:{}},He={};var In;function po(){if(In)return He;In=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(o,n,i){var s=null;if(i!==void 0&&(s=""+i),n.key!==void 0&&(s=""+n.key),"key"in n){i={};for(var l in n)l!=="key"&&(i[l]=n[l])}else i=n;return n=i.ref,{$$typeof:t,type:o,key:s,ref:n!==void 0?n:null,props:i}}return He.Fragment=e,He.jsx=r,He.jsxs=r,He}var je={};var Cn;function mo(){return Cn||(Cn=1,process.env.NODE_ENV!=="production"&&(function(){function t(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===W?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case b:return"Fragment";case S:return"Profiler";case h:return"StrictMode";case E:return"Suspense";case B:return"SuspenseList";case O:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case m:return"Portal";case G:return x.displayName||"Context";case y:return(x._context.displayName||"Context")+".Consumer";case I:var N=x.render;return x=x.displayName,x||(x=N.displayName||N.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case _:return N=x.displayName||null,N!==null?N:t(x.type)||"Memo";case P:N=x._payload,x=x._init;try{return t(x(N))}catch{}}return null}function e(x){return""+x}function r(x){try{e(x);var N=!1}catch{N=!0}if(N){N=console;var M=N.error,Z=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return M.call(N,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Z),e(x)}}function o(x){if(x===b)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===P)return"<...>";try{var N=t(x);return N?"<"+N+">":"<...>"}catch{return"<...>"}}function n(){var x=K.A;return x===null?null:x.getOwner()}function i(){return Error("react-stack-top-frame")}function s(x){if(ne.call(x,"key")){var N=Object.getOwnPropertyDescriptor(x,"key").get;if(N&&N.isReactWarning)return!1}return x.key!==void 0}function l(x,N){function M(){j||(j=!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)",N))}M.isReactWarning=!0,Object.defineProperty(x,"key",{get:M,configurable:!0})}function a(){var x=t(this.type);return k[x]||(k[x]=!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.")),x=this.props.ref,x!==void 0?x:null}function u(x,N,M,Z,se,oe){var A=M.ref;return x={$$typeof:C,type:x,key:N,props:M,_owner:Z},(A!==void 0?A:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:a}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:oe}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function c(x,N,M,Z,se,oe){var A=N.children;if(A!==void 0)if(Z)if(re(A)){for(Z=0;Z<A.length;Z++)g(A[Z]);Object.freeze&&Object.freeze(A)}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 g(A);if(ne.call(N,"key")){A=t(x);var T=Object.keys(N).filter(function(ee){return ee!=="key"});Z=0<T.length?"{key: someKey, "+T.join(": ..., ")+": ...}":"{key: someKey}",ae[A+Z]||(T=0<T.length?"{"+T.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ (function(H,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("react"),require("react-router-dom"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-router-dom","react-dom"],v):(H=typeof globalThis<"u"?globalThis:H||self,v(H.DibkDesign={},H.React,H.reactRouterDom,H.ReactDOM))})(this,(function(H,v,Ft,mn){"use strict";function uo(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const X=uo(v);var at={exports:{}},We={};var hn;function go(){if(hn)return We;hn=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(o,n,i){var s=null;if(i!==void 0&&(s=""+i),n.key!==void 0&&(s=""+n.key),"key"in n){i={};for(var l in n)l!=="key"&&(i[l]=n[l])}else i=n;return n=i.ref,{$$typeof:t,type:o,key:s,ref:n!==void 0?n:null,props:i}}return We.Fragment=e,We.jsx=r,We.jsxs=r,We}var Oe={};var vn;function bo(){return vn||(vn=1,process.env.NODE_ENV!=="production"&&(function(){function t(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===W?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case b:return"Fragment";case E:return"Profiler";case h:return"StrictMode";case V:return"Suspense";case B:return"SuspenseList";case Z:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case m:return"Portal";case G:return x.displayName||"Context";case A:return(x._context.displayName||"Context")+".Consumer";case C:var y=x.render;return x=x.displayName,x||(x=y.displayName||y.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case S:return y=x.displayName||null,y!==null?y:t(x.type)||"Memo";case w:y=x._payload,x=x._init;try{return t(x(y))}catch{}}return null}function e(x){return""+x}function r(x){try{e(x);var y=!1}catch{y=!0}if(y){y=console;var _=y.error,F=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return _.call(y,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",F),e(x)}}function o(x){if(x===b)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===w)return"<...>";try{var y=t(x);return y?"<"+y+">":"<...>"}catch{return"<...>"}}function n(){var x=k.A;return x===null?null:x.getOwner()}function i(){return Error("react-stack-top-frame")}function s(x){if(ee.call(x,"key")){var y=Object.getOwnPropertyDescriptor(x,"key").get;if(y&&y.isReactWarning)return!1}return x.key!==void 0}function l(x,y){function _(){O||(O=!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)",y))}_.isReactWarning=!0,Object.defineProperty(x,"key",{get:_,configurable:!0})}function a(){var x=t(this.type);return ie[x]||(ie[x]=!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.")),x=this.props.ref,x!==void 0?x:null}function c(x,y,_,F,K,Q){var M=_.ref;return x={$$typeof:I,type:x,key:y,props:_,_owner:F},(M!==void 0?M:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:a}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:K}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Q}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function u(x,y,_,F,K,Q){var M=y.children;if(M!==void 0)if(F)if(q(M)){for(F=0;F<M.length;F++)g(M[F]);Object.freeze&&Object.freeze(M)}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 g(M);if(ee.call(y,"key")){M=t(x);var j=Object.keys(y).filter(function(pe){return pe!=="key"});F=0<j.length?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}",se[M+F]||(j=0<j.length?"{"+j.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
2
  let props = %s;
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
- <%s key={someKey} {...props} />`,Z,A,T,A),ae[A+Z]=!0)}if(A=null,M!==void 0&&(r(M),A=""+M),s(N)&&(r(N.key),A=""+N.key),"key"in N){M={};for(var D in N)D!=="key"&&(M[D]=N[D])}else M=N;return A&&l(M,typeof x=="function"?x.displayName||x.name||"Unknown":x),u(x,A,M,n(),se,oe)}function g(x){p(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===P&&(x._payload.status==="fulfilled"?p(x._payload.value)&&x._payload.value._store&&(x._payload.value._store.validated=1):x._store&&(x._store.validated=1))}function p(x){return typeof x=="object"&&x!==null&&x.$$typeof===C}var f=v,C=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),G=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),W=Symbol.for("react.client.reference"),K=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=Object.prototype.hasOwnProperty,re=Array.isArray,q=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(x){return x()}};var j,k={},z=f.react_stack_bottom_frame.bind(f,i)(),le=q(o(i)),ae={};je.Fragment=b,je.jsx=function(x,N,M){var Z=1e4>K.recentlyCreatedOwnerStacks++;return c(x,N,M,!1,Z?Error("react-stack-top-frame"):z,Z?q(o(x)):le)},je.jsxs=function(x,N,M){var Z=1e4>K.recentlyCreatedOwnerStacks++;return c(x,N,M,!0,Z?Error("react-stack-top-frame"):z,Z?q(o(x)):le)}})()),je}var xn;function vo(){return xn||(xn=1,process.env.NODE_ENV==="production"?ut.exports=po():ut.exports=mo()),ut.exports}var d=vo();const Y=t=>t?.filter(Boolean).join(" ")||"",yn=t=>t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),ho=t=>!t?.colors||!Object.entries(t.colors).length?{}:Object.entries(t.colors).reduce((e,[r,o])=>(r&&o&&(e[`--color-${yn(r)}`]=o),e),{}),Io=t=>!t?.sizes||!Object.entries(t.sizes).length?{}:Object.entries(t.sizes).reduce((e,[r,o])=>(r&&o&&(e[`--size-${yn(r)}`]=o),e),{}),Co=t=>({...ho(t),...Io(t)}),xo=(t,e)=>{if(typeof document>"u")return;const r=document.createElement("style");r.setAttribute("id",t),r.textContent=e;const o=document.getElementById(t);o&&o.remove(),document.head.appendChild(r)},yo=t=>Object.entries(t).map(([e,r])=>`${e}: ${r};`).join(""),Xe=t=>{const e=[];return v.Children.forEach(t,r=>{if(v.isValidElement(r)){const o=r;if(o.type===v.Fragment){const n=Xe(o.props.children);e.push(...n)}else e.push(v.cloneElement(o,{...o.props}))}else e.push(r)}),e},Ao=t=>{if(typeof document>"u")return;const e=document.createElement("button");e.style.position="absolute",e.style.opacity="0",t.prepend(e),e.focus(),e.remove()},Eo=t=>Array.from(t.querySelectorAll('button, [href], input, [tabindex="0"]')).filter(r=>!!r),So=t=>{Ao(t);const e=Eo(t),r=e[0],o=e[e.length-1]||r;r&&(r.onkeydown=n=>{n.key==="Tab"&&n.shiftKey&&(n.preventDefault(),o.focus())}),o&&(o.onclick=()=>{r?.focus()},o.onkeydown=n=>{n.key==="Tab"&&!n.shiftKey&&(n.preventDefault(),r?.focus())})},Ie={accordion:"_accordion_kwqaf_67",default:"_default_kwqaf_73",panel:"_panel_kwqaf_76",content:"_content_kwqaf_77",secondary:"_secondary_kwqaf_80",info:"_info_kwqaf_88",contrast:"_contrast_kwqaf_96",margin:"_margin_kwqaf_104",panelText:"_panelText_kwqaf_138",panelChevron:"_panelChevron_kwqaf_144",expanded:"_expanded_kwqaf_171",initialized:"_initialized_kwqaf_187",hide:"_hide_kwqaf_1",show:"_show_kwqaf_1"},Go=({title:t,buttonProps:e,expanded:r,handleToggleExpand:o})=>d.jsxs("button",{...e,className:Ie.panel,onClick:o,"aria-expanded":r?"true":"false",children:[d.jsx("span",{className:Ie.panelText,children:t}),d.jsx("span",{className:`${Ie.panelChevron} ${r?Ie.expanded:""}`})]}),Bo=({title:t,color:e="default",expanded:r=!1,onToggleExpand:o,buttonProps:n,noMargin:i=!1,initialized:s,children:l,...a})=>{const[u,c]=v.useState(r),[g,p]=v.useState(s),f=()=>{c(!u),p(!0),o&&o()};v.useEffect(()=>{c(r)},[r]);const C=Y([Ie.accordion,e&&Ie[e],!i&&Ie.margin,a.className]);return d.jsxs("div",{className:C,...a,children:[d.jsx(Go,{title:t??"",buttonProps:n??{},expanded:u??!1,handleToggleExpand:f}),d.jsx("div",{className:`${Ie.content} ${g?Ie.initialized:""} ${u?Ie.expanded:""}`,children:l})]})},fe={button:"_button_frvev_161",noMargin:"_noMargin_frvev_181",regular:"_regular_frvev_194",small:"_small_frvev_197",primary:"_primary_frvev_203",noHover:"_noHover_frvev_208",secondary:"_secondary_frvev_224",neutral:"_neutral_frvev_247",disabled:"_disabled_frvev_267",hasErrors:"_hasErrors_frvev_287",hasArrowLeft:"_hasArrowLeft_frvev_293",pushprev:"_pushprev_frvev_1",hasArrowRight:"_hasArrowRight_frvev_331",pushnext:"_pushnext_frvev_1",hasIcon:"_hasIcon_frvev_369",buttonIcon:"_buttonIcon_frvev_373",buttonContent:"_buttonContent_frvev_385",hasIconLeft:"_hasIconLeft_frvev_388",hasIconRight:"_hasIconRight_frvev_391"},Fe=({content:t,color:e="primary",size:r="regular",arrow:o="none",disabled:n=!1,inputType:i,defaultChecked:s,hasErrors:l=!1,noHover:a=!1,noMargin:u=!1,href:c,children:g,iconLeft:p,iconRight:f,className:C,...m})=>{const b=_=>_?d.jsx("span",{className:fe.buttonIcon,children:_}):null,h=_=>{switch(_){case"left":return fe.hasArrowLeft;case"right":return fe.hasArrowRight;default:return""}},S=i==="radio"?s?"primary":"secondary":e,y=Y([fe.button,fe[S],fe[r],h(o),a||i==="radio"?fe.noHover:null,l&&fe.hasErrors,n?fe.disabled:null,u?fe.noMargin:null,p||f?fe.hasIcon:null,C]),G=Y([fe.buttonContent,p?fe.hasIconLeft:null,f?fe.hasIconRight:null]),I={"aria-invalid":l||void 0,href:!n&&c?.length?c:void 0,className:y,...m},E=_=>v.Children.toArray(Xe(_)).map(O=>{if(!v.isValidElement(O))return null;const W=O,K=W.type===Tt.Link&&typeof W.props=="object"&&W.props!==null&&"to"in W.props;return!n&&K?v.cloneElement(W,{className:y,key:`button-${W.key}`,to:W.props.to},b(p),d.jsx("span",{className:G,children:W.props.children}),b(f)):v.createElement("button",{...I,key:`button-${W.key}`},b(p),d.jsx("span",{className:G,children:t||(W.props?W.props.children:null)}),b(f))});if(i==="button")return d.jsxs("button",{type:"button",...I,children:[b(p),d.jsx("span",{className:G,children:t||g}),b(f)]});if(i==="radio"){const _={...I};return delete _.href,d.jsxs("label",{className:y,children:[d.jsx("input",{..._,type:"radio"}),b(p),d.jsx("span",{className:G,children:t}),b(f)]})}if(c?.length&&!n){const _={...I};return"type"in _&&delete _.type,d.jsxs("a",{..._,children:[b(p),d.jsx("span",{className:G,children:t||g}),b(f)]})}return v.isValidElement(g)&&g.type===Tt.Link?d.jsx(v.Fragment,{children:E(v.Children.toArray(g))}):d.jsxs("button",{...I,children:[b(p),d.jsx("span",{className:G,children:t||g}),b(f)]})},Pe={checkBoxIcon:"_checkBoxIcon_181ug_1",showBox:"_showBox_181ug_21",hasErrors:"_hasErrors_181ug_24",checked:"_checked_181ug_34",disabled:"_disabled_181ug_50",checkmark:"_checkmark_181ug_55",checkmarkIcon:"_checkmarkIcon_181ug_62"},An=({size:t="20px",checked:e=!1,disabled:r=!1,showBox:o=!0,hasErrors:n=!1,checkmarkCharacter:i="✔",checkmarkIconSrc:s})=>{const l={height:t,width:t,fontSize:t},a=[Pe.checkBoxIcon,e&&Pe.checked,r&&Pe.disabled,o&&Pe.showBox,n&&Pe.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:a,style:l,children:d.jsx("span",{"aria-hidden":!0,className:Pe.checkmark,children:e?s?d.jsx("img",{src:s,alt:"","aria-hidden":"true",className:Pe.checkmarkIcon}):i:""})})},Ve="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32.275'%20height='30.469'%20focusable='false'%3e%3cpath%20fill='%239d2024'%20d='m0%2014.355%202.246-6.933c5.176%201.823%208.936%203.402%2011.28%204.736-.62-5.892-.945-9.944-.977-12.158h7.08c-.098%203.223-.472%207.26-1.123%2012.11%203.353-1.693%207.194-3.256%2011.523-4.688l2.246%206.933c-4.134%201.368-8.186%202.28-12.158%202.735%201.986%201.725%204.785%204.801%208.399%209.228l-5.86%204.15c-1.888-2.57-4.118-6.07-6.69-10.497-2.408%204.59-4.524%208.089-6.347%2010.498l-5.762-4.15c3.776-4.656%206.478-7.732%208.106-9.23-4.2-.813-8.187-1.724-11.963-2.734'/%3e%3c/svg%3e",En="data:image/svg+xml,%3csvg%20width='14'%20height='11'%20viewBox='0%200%2014%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.90476%203.80952L0%205.71429L4.7619%2010.4762L13.3333%201.90476L11.4286%200L4.7619%206.66667L1.90476%203.80952Z'%20fill='%23003045'/%3e%3c/svg%3e",ze={checkBoxInput:"_checkBoxInput_1octn_1",requiredSymbol:"_requiredSymbol_1octn_6",disabled:"_disabled_1octn_13",labelText:"_labelText_1octn_19",hasErrors:"_hasErrors_1octn_27"},Rt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,checkmarkCharacter:a="✔",tabIndex:u=0,children:c,"aria-controls":g,"aria-describedby":p,value:f})=>{const C=[ze.checkBoxInput,e&&ze.disabled,l&&ze.hasErrors].filter(Boolean).join(" "),m={checked:t,disabled:e,showBox:!0,hasErrors:l,checkmarkCharacter:a,checkmarkIconSrc:En},b={id:n,name:i,type:"checkbox",checked:t,disabled:e,required:r||o,onChange:s,tabIndex:u,"aria-controls":g,"aria-invalid":l?"true":void 0,"aria-describedby":p,value:f};return d.jsxs("label",{htmlFor:n,className:C,children:[d.jsx(An,{...m}),d.jsx("input",{...b}),d.jsxs("span",{className:ze.labelText,children:[c,r&&d.jsx("img",{src:Ve,alt:"",className:ze.requiredSymbol})]})]})},Sn={checkBoxList:"_checkBoxList_1cjjb_1",requiredSymbol:"_requiredSymbol_1cjjb_16"},Xt={headerContainer:"_headerContainer_1dym9_1",header:"_header_1dym9_1","size-1":"_size-1_1dym9_8",bigHeader:"_bigHeader_1dym9_17","size-2":"_size-2_1dym9_29","size-3":"_size-3_1dym9_37","size-4":"_size-4_1dym9_45","size-5":"_size-5_1dym9_53"},Ye=({id:t,content:e,size:r=1,htmlTag:o,htmlFor:n,children:i})=>{const s=o||`h${r}`,l=Y([Xt.header,Xt[`size-${r}`]]),a=v.createElement(s,{className:l,id:t||void 0,htmlFor:n||void 0},e?.length?e:i);return d.jsx("div",{className:Xt.headerContainer,children:a})},_o=({legend:t,legendSize:e,required:r=!1,compact:o=!1,children:n})=>{const i=s=>Xe(s).map(a=>v.isValidElement(a)&&a.type?.displayName==="RadioButtonListItem"?v.cloneElement(a,{requiredGroup:r,compact:o,key:`checkboxListItem-${a.key}`}):a);return d.jsxs("fieldset",{className:Sn.checkBoxList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(Ye,{size:e,children:t}):t,r&&d.jsx("img",{src:Ve,alt:"",className:Sn.requiredSymbol})]}),i(v.Children.toArray(n))]})},Je={checkBoxListItem:"_checkBoxListItem_j7hys_1",compact:"_compact_j7hys_26",disabled:"_disabled_j7hys_34",checked:"_checked_j7hys_37"},wo=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:i="",onChange:s,compact:l=!1,hasErrors:a=!1,checkmarkCharacter:u="✔","aria-controls":c,"aria-describedby":g,children:p,value:f})=>{const C=Y([Je.checkBoxListItem,t&&Je.checked,e&&Je.disabled,l&&Je.compact,a&&Je.hasErrors]),m={onChange:s??(()=>{}),checked:t,disabled:e,required:r,requiredGroup:o,hasErrors:a,"aria-controls":c,"aria-describedby":g,id:n,name:i,checkmarkCharacter:u,value:f};return d.jsx("div",{className:C,children:d.jsx(Rt,{...m,children:p})})},No={container:"_container_f8z49_1"},Gn=({maxWidth:t,children:e})=>{const r={"--max-width":t?.length?t:void 0};return d.jsx("div",{className:No.container,style:r,children:e})},Me={contentBox:"_contentBox_1ndvc_1",link:"_link_1ndvc_8",default:"_default_1ndvc_21",content:"_content_1ndvc_1",title:"_title_1ndvc_25",secondary:"_secondary_1ndvc_28",regular:"_regular_1ndvc_36",large:"_large_1ndvc_45"},Vo=({title:t="",titleSize:e="regular",content:r="",children:o,color:n="default",href:i=null})=>{const s=()=>{if(!t)return null;const p=`${Me.title} ${Me[e]}`;return d.jsx("h2",{className:p,children:t})},l=Me[n]||"",a=i?Me.link:"",u=`${Me.contentBox} ${l} ${a}`.trim(),c=r?.length?r:o,g=d.jsxs(d.Fragment,{children:[s(),d.jsx("div",{className:Me.content,children:c})]});return i?d.jsx("a",{href:i,className:u,children:g}):d.jsx("div",{className:u,children:g})},Bn={descriptionDetails:"_descriptionDetails_1d1dj_1",compact:"_compact_1d1dj_7"},Fo=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dd",{className:Y([Bn.descriptionDetails,t&&Bn.compact]),style:{"--title-width":e||void 0},children:r}),_n={descriptionList:"_descriptionList_w11ua_1",compact:"_compact_w11ua_13"},Po=({compact:t=!1,titleWidth:e,children:r})=>{const o=n=>Xe(n).map(s=>v.isValidElement(s)?v.cloneElement(s,{compact:t,titleWidth:e,key:`descriptionListItem-${s.key}`}):s);return v.createElement("dl",{className:Y([_n.descriptionList,t&&_n.compact]),style:{"--title-width":e||void 0}},o(v.Children.toArray(r)))},wn={descriptionTerm:"_descriptionTerm_uuapd_1",compact:"_compact_uuapd_8"},To=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dt",{className:Y([wn.descriptionTerm,t&&wn.compact]),style:{"--title-width":e||void 0},children:r}),Ro="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%3e%3cpath%20fill='%23072938'%20stroke='%23072938'%20stroke-linecap='round'%20stroke-width='3.23'%20d='m3.97%203.57%2017.44%2018.2m-17.44.01L21.41%203.57'/%3e%3c/svg%3e",Ce={dialog:"_dialog_tgq37_19",backdrop:"_backdrop_tgq37_34",backdropTransparent:"_backdropTransparent_tgq37_45",dialogContainer:"_dialogContainer_tgq37_48",modalInVertical:"_modalInVertical_tgq37_1",dialogContent:"_dialogContent_tgq37_60",dialogHeader:"_dialogHeader_tgq37_67",dialogBody:"_dialogBody_tgq37_77",noPadding:"_noPadding_tgq37_81",isSidebar:"_isSidebar_tgq37_84",left:"_left_tgq37_102",modalInHorizontalLeft:"_modalInHorizontalLeft_tgq37_1",right:"_right_tgq37_108",modalInHorizontalRight:"_modalInHorizontalRight_tgq37_1"},Xo=({maxWidth:t="none",noPadding:e,title:r,onClickOutside:o,modal:n=!0,attachTo:i,hidden:s=!1,children:l})=>{const[a,u]=v.useState(null),c=v.useRef(null),g=v.useCallback(m=>{m&&So(m)},[]);v.useEffect(()=>{if(s)return;const m=b=>{b.key==="Escape"&&o&&o()};return document.addEventListener("keydown",m,!1),()=>{document.removeEventListener("keydown",m,!1)}},[s,o]),v.useEffect(()=>{if(typeof window>"u")return;const b=(()=>{const S="dibk-design-dialog-root";let y=document.getElementById(S);return y||(y=document.createElement("div"),y.setAttribute("id",S),document.body.appendChild(y)),y})(),h=document.createElement("div");return b.appendChild(h),u(h),()=>{u(null),b.contains(h)&&b.removeChild(h)}},[]),v.useEffect(()=>{if(s||!n)return;const m=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=m}},[s,n]);const p=i&&Y([Ce.isSidebar,Ce[i]]),f={"--max-width":t};if(s||!a)return null;const C=n?{role:"dialog","aria-modal":"true"}:{role:"dialog"};return hn.createPortal(d.jsxs("div",{className:Y([Ce.dialog,p]),...C,children:[d.jsx("button",{type:"button",className:Y([Ce.backdrop,!n&&Ce.backdropTransparent]),onClick:o,"aria-label":"Lukk dialog"}),d.jsx("div",{ref:c,className:Ce.dialogContainer,style:f,children:d.jsxs("div",{ref:g,className:Y([Ce.dialogContent,e&&Ce.noPadding]),children:[r&&d.jsxs("div",{className:Ce.dialogHeader,children:[r?d.jsx(Ye,{size:2,children:r}):d.jsx("span",{}),d.jsx(Fe,{color:"neutral","aria-label":"Lukk dialog",onClick:o,iconRight:d.jsx("img",{src:Ro,alt:""}),children:"Lukk"})]}),d.jsx("div",{className:Ce.dialogBody,"aria-live":"assertive",children:l})]})})]}),a)},$e={dragAndDropFileInput:"_dragAndDropFileInput_1hivh_1",requiredSymbol:"_requiredSymbol_1hivh_1",dragAndDropContainer:"_dragAndDropContainer_1hivh_8",highlighted:"_highlighted_1hivh_26",hasErrors:"_hasErrors_1hivh_30"},Nn="data:image/svg+xml,%3csvg%20width='24'%20height='28'%20viewBox='0%200%2024%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cellipse%20cx='12.0008'%20cy='20.0008'%20rx='1.2'%20ry='1.2'%20fill='black'/%3e%3cpath%20d='M12.0008%209.19922C12.6635%209.19922%2013.2007%2010.0348%2013.2008%2011.0656C13.2008%2011.2742%2013.1767%2011.4744%2013.1362%2011.6617L12.6008%2016.6656C12.6008%2017.181%2012.3322%2017.5992%2012.0008%2017.5992C11.6694%2017.5992%2011.4008%2017.181%2011.4008%2016.6656L10.8646%2011.6617C10.8241%2011.4745%2010.8008%2011.2741%2010.8008%2011.0656C10.8009%2010.0348%2011.3381%209.19922%2012.0008%209.19922Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.833%205.08415C11.3507%204.16987%2012.6456%204.16987%2013.1633%205.08415L22.4834%2021.5413C23.0007%2022.4554%2022.3534%2023.5982%2021.3182%2023.5984H2.67934C1.64389%2023.5984%200.996537%2022.4556%201.51416%2021.5413L10.833%205.08415ZM12.2898%206.28415C12.1603%206.05562%2011.8373%206.0557%2011.7078%206.28415L2.96965%2021.7127C2.84068%2021.9412%203.0027%2022.2268%203.26127%2022.227H20.735C20.9938%2022.227%2021.1559%2021.9413%2021.0266%2021.7127L12.2898%206.28415Z'%20fill='black'/%3e%3c/svg%3e",Vn={errorMessage:"_errorMessage_15d1p_1",errorSign:"_errorSign_15d1p_10"},Ue=({id:t,content:e=""})=>{const r=()=>({id:t?.length?t:void 0,className:Vn.errorMessage});return(typeof e=="string"?e.trim().length>0:!!e)?d.jsxs("span",{"aria-live":"polite",...r(),children:[d.jsx("img",{src:Nn,alt:"",className:Vn.errorSign}),e]}):null},Qe={label:"_label_sxta8_1",inline:"_inline_sxta8_11",normalCursor:"_normalCursor_sxta8_14",labelText:"_labelText_sxta8_18",subLabel:"_subLabel_sxta8_23"},qe=({inline:t=!1,normalCursor:e=!1,htmlTag:r="label",children:o,subLabel:n,id:i,...s})=>{const l=[Qe.label,t&&Qe.inline,e&&Qe.normalCursor].filter(Boolean).join(" "),a={...s,className:l,id:i||void 0};return v.createElement(r,a,d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Qe.labelText,children:o}),n&&d.jsx("span",{className:Qe.subLabel,children:n})]}))},Mo=({id:t,name:e,onSelectChange:r,onDragAndDropChange:o,label:n="",subLabel:i="",buttonContent:s,buttonContentWhenSelectedFile:l,selectedFileName:a,hasErrors:u=!1,errorMessage:c="",required:g=!1,"data-transaction-name":p})=>{const[f,C]=v.useState(!1),m=v.useRef(null),b=v.useRef(null),h=P=>{P.preventDefault(),P.stopPropagation()},S=()=>{b.current?.click()},y=()=>`${t}-errorMessage`,G={id:t,"aria-describedby":u&&c?.toString().length?y():void 0,"aria-invalid":u?"true":void 0,name:e,required:g},I=a&&l||s,E=v.useCallback(()=>C(!0),[]),B=v.useCallback(()=>C(!1),[]),_=v.useCallback(P=>{h(P),P.dataTransfer?.files&&o(P.dataTransfer.files),C(!1)},[o]);return v.useEffect(()=>{const P=m.current;if(P)return["dragenter","dragover"].forEach(O=>{P.addEventListener(O,E)}),["dragleave","drop"].forEach(O=>{P.addEventListener(O,B)}),["dragenter","dragover","dragleave","drop"].forEach(O=>{P.addEventListener(O,h)}),P.addEventListener("drop",_),()=>{["dragenter","dragover","dragleave","drop"].forEach(O=>{P.removeEventListener(O,h),P.removeEventListener(O,E),P.removeEventListener(O,B)}),P.removeEventListener("drop",_)}},[o]),d.jsxs("div",{className:$e.dragAndDropFileInput,children:[d.jsxs(qe,{htmlFor:t,subLabel:i,children:[n,g&&d.jsx("img",{src:Ve,alt:"",className:$e.requiredSymbol})]}),d.jsxs("div",{ref:m,className:`${$e.dragAndDropContainer} ${f?$e.highlighted:""} ${u?$e.hasErrors:""}`,children:[a?d.jsx("div",{children:d.jsxs("span",{children:[d.jsx("b",{children:"Valgt fil:"})," ",a]})}):d.jsx("div",{children:"Slipp fil her"}),d.jsx("input",{...G,ref:b,type:"file",onChange:r}),s&&d.jsxs(d.Fragment,{children:[d.jsx("div",{children:a?"":"eller klikk på knappen for å velge fil"}),d.jsx(Fe,{size:"small",inputType:"button",color:"secondary",onClick:S,content:I,"data-transaction-name":p})]})]}),d.jsx(Ue,{id:y(),content:c})]})},Fn="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9984%202.39844C17.3004%202.39844%2021.5984%206.6965%2021.5984%2011.9984C21.5984%2017.3004%2017.3004%2021.5984%2011.9984%2021.5984C6.6965%2021.5984%202.39844%2017.3004%202.39844%2011.9984C2.39844%206.6965%206.6965%202.39844%2011.9984%202.39844ZM11.9984%203.59844C7.35925%203.59844%203.59844%207.35925%203.59844%2011.9984C3.59844%2016.6376%207.35925%2020.3984%2011.9984%2020.3984C16.6376%2020.3984%2020.3984%2016.6376%2020.3984%2011.9984C20.3984%207.35925%2016.6376%203.59844%2011.9984%203.59844Z'%20fill='black'/%3e%3cellipse%20cx='12.0203'%20cy='8.37578'%20rx='1.2'%20ry='1.2'%20fill='black'/%3e%3cpath%20d='M13.1563%2011.1562V17.5934H13.1586C13.3618%2017.5934%2013.5266%2017.7583%2013.5266%2017.9613C13.5264%2018.1642%2013.3617%2018.3281%2013.1586%2018.3281L13.1563%2018.327L11.0984%2018.3281V18.3258H10.7551C10.7469%2018.3263%2010.7388%2018.3281%2010.7305%2018.3281C10.5274%2018.3281%2010.3627%2018.1642%2010.3625%2017.9613C10.3625%2017.7591%2010.526%2017.5946%2010.7281%2017.5934H10.9133C10.9133%2017.5934%2010.9906%2017.5875%2011.0609%2017.4938C11.1313%2017.4%2011.0984%2017.2172%2011.0984%2017.2172V12.9C11.0984%2012.9%2011.1266%2012.6293%2011.0047%2012.4781C10.8828%2012.327%2010.7094%2012.327%2010.7094%2012.327H10.3203C9.9969%2012.327%209.73469%2012.0652%209.73438%2011.7422C9.73438%2011.4189%209.99671%2011.1562%2010.3203%2011.1562H13.1563Z'%20fill='black'/%3e%3c/svg%3e",Lo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.37223%2011.899L7.78938%2010.4086L11.0086%2014.0181L16.9006%207.59082L18.5625%209.10819L11.0086%2017.0301L6.37223%2011.899Z'%20fill='%23202020'/%3e%3cpath%20d='M11.9984%202.40039C17.3004%202.40039%2021.5984%206.69846%2021.5984%2012.0004C21.5984%2017.3023%2017.3004%2021.6004%2011.9984%2021.6004C6.6965%2021.6004%202.39844%2017.3023%202.39844%2012.0004C2.39844%206.69846%206.6965%202.40039%2011.9984%202.40039ZM11.9984%203.60039C7.35925%203.60039%203.59844%207.3612%203.59844%2012.0004C3.59844%2016.6396%207.35925%2020.4004%2011.9984%2020.4004C16.6376%2020.4004%2020.3984%2016.6396%2020.3984%2012.0004C20.3984%207.3612%2016.6376%203.60039%2011.9984%203.60039Z'%20fill='black'/%3e%3c/svg%3e",Wo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9984%202.39844C17.3004%202.39844%2021.5984%206.6965%2021.5984%2011.9984C21.5984%2017.3004%2017.3004%2021.5984%2011.9984%2021.5984C6.6965%2021.5984%202.39844%2017.3004%202.39844%2011.9984C2.39844%206.6965%206.6965%202.39844%2011.9984%202.39844ZM11.9984%203.59844C7.35925%203.59844%203.59844%207.35925%203.59844%2011.9984C3.59844%2016.6376%207.35925%2020.3984%2011.9984%2020.3984C16.6376%2020.3984%2020.3984%2016.6376%2020.3984%2011.9984C20.3984%207.35925%2016.6376%203.59844%2011.9984%203.59844Z'%20fill='black'/%3e%3ccircle%20cx='12.0008'%20cy='17.45'%20r='1.2'%20fill='black'/%3e%3cpath%20d='M12.0008%205.07422C12.9741%205.07422%2013.7631%206.05478%2013.7633%207.26445C13.7633%207.50925%2013.728%207.74425%2013.6684%207.96406L12.882%2013.8363C12.882%2014.4413%2012.4875%2014.932%2012.0008%2014.932C11.5141%2014.932%2011.1195%2014.4413%2011.1195%2013.8363L10.332%207.96406C10.2725%207.74433%2010.2383%207.50914%2010.2383%207.26445C10.2385%206.05478%2011.0275%205.07422%2012.0008%205.07422Z'%20fill='black'/%3e%3c/svg%3e",xe={box:"_box_19oe1_7",messageIn:"_messageIn_19oe1_1",fullScreen:"_fullScreen_19oe1_15",noBorder:"_noBorder_19oe1_18",info:"_info_19oe1_21",warning:"_warning_19oe1_25",error:"_error_19oe1_29",tip:"_tip_19oe1_33",success:"_success_19oe1_37",inner:"_inner_19oe1_42",hasIcon:"_hasIcon_19oe1_58",icon:"_icon_19oe1_67",iconImage:"_iconImage_19oe1_76",content:"_content_19oe1_82",title:"_title_19oe1_87",body:"_body_19oe1_94"},Pn=({title:t,children:e="",variant:r="info",fullScreen:o=!1,noBorder:n=!1,hideIcon:i=!1,icon:s,className:l})=>{const a={info:Fn,warning:Wo,error:Nn,tip:Fn,success:Lo},u=s??d.jsx("img",{src:a[r],alt:"",className:xe.iconImage}),c=!i&&u;return d.jsx("div",{className:Y([xe.box,xe[r],o&&xe.fullScreen,n&&xe.noBorder,c?xe.hasIcon:null,l]),children:d.jsxs("div",{className:xe.inner,children:[c?d.jsx("div",{className:xe.icon,children:u}):null,d.jsxs("div",{className:xe.content,children:[t?d.jsx(Ye,{size:3,children:t}):null,e?d.jsx("div",{className:xe.body,children:e}):null]})]})})},Oo=({type:t="warning",children:e="",...r})=>d.jsx(Pn,{variant:t,children:e,...r}),ko={footer:"_footer_19fad_1"},Zo=({children:t})=>d.jsx("footer",{className:ko.footer,children:d.jsx(Gn,{children:t})}),ve={inputField:"_inputField_1x7wx_1",requiredSymbol:"_requiredSymbol_1x7wx_1",file:"_file_1x7wx_9",input:"_input_1x7wx_1",hasErrors:"_hasErrors_1x7wx_44",dateInput:"_dateInput_1x7wx_53",inputWithButton:"_inputWithButton_1x7wx_71",fileInputContainer:"_fileInputContainer_1x7wx_79",visuallyHidden:"_visuallyHidden_1x7wx_92",caption:"_caption_1x7wx_103"},Tn=t=>{if(t==null||t==="")return;const e=t instanceof Date?t:new Date(t);if(Number.isNaN(e.getTime()))return;const r=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return`${r}-${o}-${n}`},Do=t=>!t||["text","search","url","email","tel","password","number"].includes(t),Ho=({id:t,onChange:e=()=>{},onBlur:r,onFocus:o,name:n="",type:i="text",disabled:s=!1,required:l=!1,readOnly:a,width:u,value:c,defaultValue:g,elementKey:p,label:f="",buttonColor:C="primary",buttonContent:m,actionButtonContent:b,actionButtonIconLeft:h,actionButtonIconRight:S,actionButtonOnClick:y,actionButtonDisabled:G=!1,actionButtonAriaLabel:I,selectedFileName:E,placeholder:B="",min:_,max:P,role:O,"aria-describedby":W,"aria-autocomplete":K,hasErrors:ne=!1,errorMessage:re="",noMargin:q=!1,caption:j})=>{const k=v.useRef(null),z=()=>`${t}-errorMessage`,le=`${t}-caption`,ae=u?{maxWidth:u}:{},x=i==="date"&&!s&&!a,N=!!b&&!!y&&i!=="file",M=()=>{if(!x||!k.current)return;document.activeElement!==k.current&&k.current.focus(),k.current.showPicker?.()},Z=ee=>{M(),o?.(ee)},se=()=>{i==="file"&&(s||k.current?.click())},oe=ee=>{i!=="file"||s||(ee.key==="Enter"||ee.key===" ")&&(ee.preventDefault(),k.current?.click())},A=(()=>{if(i==="file")return{};if(i==="date"){const ue=c!==void 0?Tn(c):void 0,w=c===void 0&&g!==void 0?Tn(g):void 0;return c!==void 0?{value:ue??""}:g!==void 0?{defaultValue:w}:{}}const ee=ue=>ue instanceof Date?String(ue.getTime()):ue;return c!==void 0?{value:ee(c)}:g!==void 0?{defaultValue:ee(g)}:{}})(),T=Y([ne&&ve.hasErrors,i==="date"&&ve.dateInput,i==="file"&&ve.visuallyHidden]),D={name:n,readOnly:a,disabled:s,required:l,type:i,role:O,id:t,min:_,max:P,onChange:e,onBlur:r,onFocus:Z,placeholder:i==="file"?void 0:B,className:T||void 0,"aria-describedby":[ne&&re?z():null,j?le:null,W].filter(Boolean).join(" ").trim()||void 0,"aria-invalid":ne||void 0,"aria-autocomplete":Do(i)?K:void 0,style:N?void 0:ae,...A};return d.jsxs("div",{className:Y([ve.inputField,ve[i],q&&ve.noMargin]),children:[d.jsxs(qe,{htmlFor:t,children:[f,l&&d.jsx("img",{src:Ve,alt:"",className:ve.requiredSymbol}),i==="file"&&d.jsxs("div",{className:ve.fileInputContainer,onClick:se,onKeyDown:oe,role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,children:[d.jsx("span",{className:ve.input,children:E}),m&&d.jsx(Fe,{color:C,inputType:"button",onClick:()=>k.current?.click(),content:m})]})]}),N?d.jsxs("div",{className:ve.inputWithButton,style:ae,children:[d.jsx("input",{...D,ref:k},p||t),d.jsx(Fe,{color:C,inputType:"button",onClick:y,disabled:G,"aria-label":I,iconLeft:h,iconRight:S,noMargin:!0,children:b})]}):d.jsx("input",{...D,ref:k},p||t),j?d.jsx("p",{className:ve.caption,id:le,children:j}):null,ne&&re?d.jsx(Ue,{id:z(),content:re}):null]})},Rn={list:"_list_16gsl_1",compact:"_compact_16gsl_10"},jo=({listStyle:t,compact:e=!1,ordered:r=!1,children:o})=>{const n=a=>Xe(a).map(c=>v.isValidElement(c)?v.cloneElement(c,{compact:e,key:`listItem-${c.key}`}):c),i=r?"ol":"ul",s=r?"decimal":"disc";return v.createElement(i,{className:`${Rn.list} ${e?Rn.compact:""}`,style:{"--listStyle":t||s}},n(v.Children.toArray(o)))},Xn={listItem:"_listItem_33xs0_1",compact:"_compact_33xs0_5"},zo=({compact:t=!1,children:e})=>{const r=Y([Xn.listItem,t&&Xn.compact]);return d.jsx("li",{className:r,children:e})},Mn={LoadingAnimation:"_LoadingAnimation_1blqf_1",dot:"_dot_1blqf_11"},Ln=({ariaLabel:t="Laster inn"})=>{const e=[0,.15,.3];return d.jsx("div",{role:"img","aria-label":t,className:Mn.LoadingAnimation,children:e.map(r=>d.jsx("span",{className:Mn.dot,style:{animationDelay:`${r}s`}},r))})},Yo=(t,e)=>e?t?.logoCompact??"":t?.logo??"",Jo=t=>t?.logoPadding??"",$o=t=>t?.appName??"",Ke={navigationBarContainer:"_navigationBarContainer_1s633_1",compact:"_compact_1s633_11",navigationBar:"_navigationBar_1s633_1",logoContainer:"_logoContainer_1s633_38",secondary:"_secondary_1s633_45",mainContentLink:"_mainContentLink_1s633_58"},Uo=({logoLink:t="",logoLinkTitle:e,openLogoLinkInNewTab:r,theme:o,compact:n,color:i="neutral"})=>{const s=a=>({padding:Jo(a)}),l=(a,u)=>{const c=Yo(o,n),g=$o(o),p=a&&u?"":c&&g?`${g} logo`:"DIBK logo",f=c?d.jsx("img",{alt:p,src:c,style:s(o)}):null;return a?.length?d.jsx("a",{href:a,title:u,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,children:f}):f};return d.jsx("div",{className:Y([n&&Ke.compact,i&&Ke[i],Ke.navigationBarContainer]),children:d.jsx("div",{className:Y([Ke.navigationBar]),children:d.jsx("div",{className:Ke.logoContainer,children:l(t,e)})})})},Mt={paper:"_paper_1lgl3_1",noMargin:"_noMargin_1lgl3_6",noPadding:"_noPadding_1lgl3_9"},Qo=({noMargin:t=!1,noPadding:e=!1,children:r})=>{const o=[Mt.paper,t&&Mt.noMargin,e&&Mt.noPadding].filter(Boolean).join(" ");return d.jsx("div",{className:o,children:r})},Wn={paragraph:"_paragraph_1aaue_1",lead:"_lead_1aaue_9",large:"_large_1aaue_14",small:"_small_1aaue_19"},qo=({id:t,htmlTag:e="p",variant:r="small",children:o,className:n})=>{const i=Y([Wn.paragraph,Wn[r],n]);return v.createElement(e,{className:i,id:t||void 0},o)},On={progressBar:"_progressBar_t5aid_1",hasErrors:"_hasErrors_t5aid_23"},Ko=({progress:t=0,hasErrors:e=!1})=>d.jsx("div",{className:`${On.progressBar} ${e?On.hasErrors:""}`,role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":100,style:{"--value":t}}),ct={radioButtonIcon:"_radioButtonIcon_32fe0_1",hasErrors:"_hasErrors_32fe0_22",checked:"_checked_32fe0_32",disabled:"_disabled_32fe0_48"},kn=({size:t="10px",checked:e=!1,disabled:r=!1,hasErrors:o=!1})=>{const n={height:t,width:t},i=[ct.radioButtonIcon,e&&ct.checked,r&&ct.disabled,o&&ct.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:i,style:n})},Le={radioButtonInput:"_radioButtonInput_9xta0_1",requiredSymbol:"_requiredSymbol_9xta0_6",disabled:"_disabled_9xta0_13",labelText:"_labelText_9xta0_19",hasErrors:"_hasErrors_9xta0_27"},Lt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,inputValue:a,tabIndex:u,children:c,"aria-controls":g,"aria-describedby":p})=>{const f=[Le.radioButtonInput,t&&Le.checked,e&&Le.disabled,l&&Le.hasErrors].filter(Boolean).join(" "),C={checked:t,disabled:e,hasErrors:l},m={id:n,name:i,type:"radio",value:a,checked:t,disabled:e,required:r||o,onChange:s,tabIndex:u??void 0,"aria-controls":g,"aria-invalid":l?"true":void 0,"aria-describedby":p};return d.jsxs("label",{htmlFor:n,className:f,children:[d.jsx(kn,{...C}),d.jsx("input",{...m}),d.jsxs("span",{className:Le.labelText,children:[c,r&&d.jsx("img",{src:Ve,alt:"",className:Le.requiredSymbol})]})]})},Zn={radioButtonList:"_radioButtonList_18lo8_1",requiredSymbol:"_requiredSymbol_18lo8_16"},ei=({legend:t,legendSize:e,required:r=!1,compact:o=!1,children:n})=>{const i=s=>Xe(s).map(a=>v.isValidElement(a)&&a.type?.displayName==="RadioButtonListItem"?v.cloneElement(a,{requiredGroup:r,compact:o,key:`radioButtonListItem-${a.key}`}):a);return d.jsxs("fieldset",{className:Zn.radioButtonList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(Ye,{size:e,children:t}):t,r&&d.jsx("img",{src:Ve,alt:"",className:Zn.requiredSymbol})]}),i(v.Children.toArray(n))]})},et={radioButtonListItem:"_radioButtonListItem_14vz4_1",compact:"_compact_14vz4_26",disabled:"_disabled_14vz4_34",checked:"_checked_14vz4_37"},ti=({inputValue:t,checked:e=!1,disabled:r=!1,required:o=!1,requiredGroup:n=!1,name:i="",id:s,onChange:l,compact:a=!1,hasErrors:u=!1,"aria-controls":c,"aria-describedby":g,children:p})=>{const f=Y([et.radioButtonListItem,e&&et.checked,r&&et.disabled,a&&et.compact,u&&et.hasErrors]),C={onChange:l,inputValue:t,checked:e,disabled:r,required:o,requiredGroup:n,hasErrors:u,"aria-controls":c,"aria-describedby":g,id:s,name:i};return d.jsx("div",{className:f,children:d.jsx(Lt,{...C,children:p})})};function Te(t){"@babel/helpers - typeof";return Te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Te(t)}function ni(t,e){if(Te(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e);if(Te(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Dn(t){var e=ni(t,"string");return Te(e)=="symbol"?e:e+""}function tt(t,e,r){return(e=Dn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Hn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Hn(Object(r),!0).forEach(function(o){tt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Hn(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function ri(t){if(Array.isArray(t))return t}function oi(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var o,n,i,s,l=[],a=!0,u=!1;try{if(i=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;a=!1}else for(;!(a=(o=i.call(r)).done)&&(l.push(o.value),l.length!==e);a=!0);}catch(c){u=!0,n=c}finally{try{if(!a&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw n}}return l}}function Wt(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,o=Array(e);r<e;r++)o[r]=t[r];return o}function jn(t,e){if(t){if(typeof t=="string")return Wt(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wt(t,e):void 0}}function ii(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _e(t,e){return ri(t)||oi(t,e)||jn(t,e)||ii()}function ai(t,e){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)!==-1)continue;r[o]=t[o]}return r}function we(t,e){if(t==null)return{};var r,o,n=ai(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],e.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var si=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function li(t){var e=t.defaultInputValue,r=e===void 0?"":e,o=t.defaultMenuIsOpen,n=o===void 0?!1:o,i=t.defaultValue,s=i===void 0?null:i,l=t.inputValue,a=t.menuIsOpen,u=t.onChange,c=t.onInputChange,g=t.onMenuClose,p=t.onMenuOpen,f=t.value,C=we(t,si),m=v.useState(l!==void 0?l:r),b=_e(m,2),h=b[0],S=b[1],y=v.useState(a!==void 0?a:n),G=_e(y,2),I=G[0],E=G[1],B=v.useState(f!==void 0?f:s),_=_e(B,2),P=_[0],O=_[1],W=v.useCallback(function(z,le){typeof u=="function"&&u(z,le),O(z)},[u]),K=v.useCallback(function(z,le){var ae;typeof c=="function"&&(ae=c(z,le)),S(ae!==void 0?ae:z)},[c]),ne=v.useCallback(function(){typeof p=="function"&&p(),E(!0)},[p]),re=v.useCallback(function(){typeof g=="function"&&g(),E(!1)},[g]),q=l!==void 0?l:h,j=a!==void 0?a:I,k=f!==void 0?f:P;return F(F({},C),{},{inputValue:q,menuIsOpen:j,onChange:W,onInputChange:K,onMenuClose:re,onMenuOpen:ne,value:k})}function R(){return R=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)({}).hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},R.apply(null,arguments)}function ui(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Dn(o.key),o)}}function ci(t,e,r){return e&&zn(t.prototype,e),r&&zn(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ot(t,e){return Ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Ot(t,e)}function di(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ot(t,e)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dt(t)}function Yn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Yn=function(){return!!t})()}function gi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bi(t,e){if(e&&(Te(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return gi(t)}function fi(t){var e=Yn();return function(){var r,o=dt(t);if(e){var n=dt(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return bi(this,r)}}function pi(t){if(Array.isArray(t))return Wt(t)}function mi(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
8
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kt(t){return pi(t)||mi(t)||jn(t)||vi()}function hi(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Ii(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Ci=(function(){function t(r){var o=this;this._insertTag=function(n){var i;o.tags.length===0?o.insertionPoint?i=o.insertionPoint.nextSibling:o.prepend?i=o.container.firstChild:i=o.before:i=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,i),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(o){o.forEach(this._insertTag)},e.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ii(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=hi(n);try{i.insertRule(o,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(o));this.ctr++},e.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},t})(),be="-ms-",gt="-moz-",J="-webkit-",Jn="comm",Zt="rule",Dt="decl",xi="@import",$n="@keyframes",yi="@layer",Ai=Math.abs,bt=String.fromCharCode,Ei=Object.assign;function Si(t,e){return ce(t,0)^45?(((e<<2^ce(t,0))<<2^ce(t,1))<<2^ce(t,2))<<2^ce(t,3):0}function Un(t){return t.trim()}function Gi(t,e){return(t=e.exec(t))?t[0]:t}function $(t,e,r){return t.replace(e,r)}function Ht(t,e){return t.indexOf(e)}function ce(t,e){return t.charCodeAt(e)|0}function nt(t,e,r){return t.slice(e,r)}function ye(t){return t.length}function jt(t){return t.length}function ft(t,e){return e.push(t),t}function Bi(t,e){return t.map(e).join("")}var pt=1,We=1,Qn=0,pe=0,ie=0,Oe="";function mt(t,e,r,o,n,i,s){return{value:t,root:e,parent:r,type:o,props:n,children:i,line:pt,column:We,length:s,return:""}}function rt(t,e){return Ei(mt("",null,null,"",null,null,0),t,{length:-t.length},e)}function _i(){return ie}function wi(){return ie=pe>0?ce(Oe,--pe):0,We--,ie===10&&(We=1,pt--),ie}function me(){return ie=pe<Qn?ce(Oe,pe++):0,We++,ie===10&&(We=1,pt++),ie}function Ae(){return ce(Oe,pe)}function vt(){return pe}function ot(t,e){return nt(Oe,t,e)}function it(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qn(t){return pt=We=1,Qn=ye(Oe=t),pe=0,[]}function Kn(t){return Oe="",t}function ht(t){return Un(ot(pe-1,zt(t===91?t+2:t===40?t+1:t)))}function Ni(t){for(;(ie=Ae())&&ie<33;)me();return it(t)>2||it(ie)>3?"":" "}function Vi(t,e){for(;--e&&me()&&!(ie<48||ie>102||ie>57&&ie<65||ie>70&&ie<97););return ot(t,vt()+(e<6&&Ae()==32&&me()==32))}function zt(t){for(;me();)switch(ie){case t:return pe;case 34:case 39:t!==34&&t!==39&&zt(ie);break;case 40:t===41&&zt(t);break;case 92:me();break}return pe}function Fi(t,e){for(;me()&&t+ie!==57;)if(t+ie===84&&Ae()===47)break;return"/*"+ot(e,pe-1)+"*"+bt(t===47?t:me())}function Pi(t){for(;!it(Ae());)me();return ot(t,pe)}function Ti(t){return Kn(It("",null,null,null,[""],t=qn(t),0,[0],t))}function It(t,e,r,o,n,i,s,l,a){for(var u=0,c=0,g=s,p=0,f=0,C=0,m=1,b=1,h=1,S=0,y="",G=n,I=i,E=o,B=y;b;)switch(C=S,S=me()){case 40:if(C!=108&&ce(B,g-1)==58){Ht(B+=$(ht(S),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:B+=ht(S);break;case 9:case 10:case 13:case 32:B+=Ni(C);break;case 92:B+=Vi(vt()-1,7);continue;case 47:switch(Ae()){case 42:case 47:ft(Ri(Fi(me(),vt()),e,r),a);break;default:B+="/"}break;case 123*m:l[u++]=ye(B)*h;case 125*m:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+c:h==-1&&(B=$(B,/\f/g,"")),f>0&&ye(B)-g&&ft(f>32?tr(B+";",o,r,g-1):tr($(B," ","")+";",o,r,g-2),a);break;case 59:B+=";";default:if(ft(E=er(B,e,r,u,c,n,l,y,G=[],I=[],g),i),S===123)if(c===0)It(B,e,E,E,G,i,g,l,I);else switch(p===99&&ce(B,3)===110?100:p){case 100:case 108:case 109:case 115:It(t,E,E,o&&ft(er(t,E,E,0,0,n,l,y,n,G=[],g),I),n,I,g,l,o?G:I);break;default:It(B,E,E,E,[""],I,0,l,I)}}u=c=f=0,m=h=1,y=B="",g=s;break;case 58:g=1+ye(B),f=C;default:if(m<1){if(S==123)--m;else if(S==125&&m++==0&&wi()==125)continue}switch(B+=bt(S),S*m){case 38:h=c>0?1:(B+="\f",-1);break;case 44:l[u++]=(ye(B)-1)*h,h=1;break;case 64:Ae()===45&&(B+=ht(me())),p=Ae(),c=g=ye(y=B+=Pi(vt())),S++;break;case 45:C===45&&ye(B)==2&&(m=0)}}return i}function er(t,e,r,o,n,i,s,l,a,u,c){for(var g=n-1,p=n===0?i:[""],f=jt(p),C=0,m=0,b=0;C<o;++C)for(var h=0,S=nt(t,g+1,g=Ai(m=s[C])),y=t;h<f;++h)(y=Un(m>0?p[h]+" "+S:$(S,/&\f/g,p[h])))&&(a[b++]=y);return mt(t,e,r,n===0?Zt:l,a,u,c)}function Ri(t,e,r){return mt(t,e,r,Jn,bt(_i()),nt(t,2,-2),0)}function tr(t,e,r,o){return mt(t,e,r,Dt,nt(t,0,o),nt(t,o+1,-1),o)}function ke(t,e){for(var r="",o=jt(t),n=0;n<o;n++)r+=e(t[n],n,t,e)||"";return r}function Xi(t,e,r,o){switch(t.type){case yi:if(t.children.length)break;case xi:case Dt:return t.return=t.return||t.value;case Jn:return"";case $n:return t.return=t.value+"{"+ke(t.children,o)+"}";case Zt:t.value=t.props.join(",")}return ye(r=ke(t.children,o))?t.return=t.value+"{"+r+"}":""}function Mi(t){var e=jt(t);return function(r,o,n,i){for(var s="",l=0;l<e;l++)s+=t[l](r,o,n,i)||"";return s}}function Li(t){return function(e){e.root||(e=e.return)&&t(e)}}function Wi(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var Oi=function(e,r,o){for(var n=0,i=0;n=i,i=Ae(),n===38&&i===12&&(r[o]=1),!it(i);)me();return ot(e,pe)},ki=function(e,r){var o=-1,n=44;do switch(it(n)){case 0:n===38&&Ae()===12&&(r[o]=1),e[o]+=Oi(pe-1,r,o);break;case 2:e[o]+=ht(n);break;case 4:if(n===44){e[++o]=Ae()===58?"&\f":"",r[o]=e[o].length;break}default:e[o]+=bt(n)}while(n=me());return e},Zi=function(e,r){return Kn(ki(qn(e),r))},nr=new WeakMap,Di=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,o=e.parent,n=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!nr.get(o))&&!n){nr.set(e,!0);for(var i=[],s=Zi(r,i),l=o.props,a=0,u=0;a<s.length;a++)for(var c=0;c<l.length;c++,u++)e.props[u]=i[a]?s[a].replace(/&\f/g,l[c]):l[c]+" "+s[a]}}},Hi=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function rr(t,e){switch(Si(t,e)){case 5103:return J+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return J+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return J+t+gt+t+be+t+t;case 6828:case 4268:return J+t+be+t+t;case 6165:return J+t+be+"flex-"+t+t;case 5187:return J+t+$(t,/(\w+).+(:[^]+)/,J+"box-$1$2"+be+"flex-$1$2")+t;case 5443:return J+t+be+"flex-item-"+$(t,/flex-|-self/,"")+t;case 4675:return J+t+be+"flex-line-pack"+$(t,/align-content|flex-|-self/,"")+t;case 5548:return J+t+be+$(t,"shrink","negative")+t;case 5292:return J+t+be+$(t,"basis","preferred-size")+t;case 6060:return J+"box-"+$(t,"-grow","")+J+t+be+$(t,"grow","positive")+t;case 4554:return J+$(t,/([^-])(transform)/g,"$1"+J+"$2")+t;case 6187:return $($($(t,/(zoom-|grab)/,J+"$1"),/(image-set)/,J+"$1"),t,"")+t;case 5495:case 3959:return $(t,/(image-set\([^]*)/,J+"$1$`$1");case 4968:return $($(t,/(.+:)(flex-)?(.*)/,J+"box-pack:$3"+be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+J+t+t;case 4095:case 3583:case 4068:case 2532:return $(t,/(.+)-inline(.+)/,J+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ye(t)-1-e>6)switch(ce(t,e+1)){case 109:if(ce(t,e+4)!==45)break;case 102:return $(t,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+gt+(ce(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Ht(t,"stretch")?rr($(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(ce(t,e+1)!==115)break;case 6444:switch(ce(t,ye(t)-3-(~Ht(t,"!important")&&10))){case 107:return $(t,":",":"+J)+t;case 101:return $(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+J+(ce(t,14)===45?"inline-":"")+"box$3$1"+J+"$2$3$1"+be+"$2box$3")+t}break;case 5936:switch(ce(t,e+11)){case 114:return J+t+be+$(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return J+t+be+$(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return J+t+be+$(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return J+t+be+t+t}return t}var ji=function(e,r,o,n){if(e.length>-1&&!e.return)switch(e.type){case Dt:e.return=rr(e.value,e.length);break;case $n:return ke([rt(e,{value:$(e.value,"@","@"+J)})],n);case Zt:if(e.length)return Bi(e.props,function(i){switch(Gi(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ke([rt(e,{props:[$(i,/:(read-\w+)/,":"+gt+"$1")]})],n);case"::placeholder":return ke([rt(e,{props:[$(i,/:(plac\w+)/,":"+J+"input-$1")]}),rt(e,{props:[$(i,/:(plac\w+)/,":"+gt+"$1")]}),rt(e,{props:[$(i,/:(plac\w+)/,be+"input-$1")]})],n)}return""})}},zi=[ji],Yi=function(e){var r=e.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(m){var b=m.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||zi,i={},s,l=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var b=m.getAttribute("data-emotion").split(" "),h=1;h<b.length;h++)i[b[h]]=!0;l.push(m)});var a,u=[Di,Hi];{var c,g=[Xi,Li(function(m){c.insert(m)})],p=Mi(u.concat(n,g)),f=function(b){return ke(Ti(b),p)};a=function(b,h,S,y){c=S,f(b?b+"{"+h.styles+"}":h.styles),y&&(C.inserted[h.name]=!0)}}var C={key:r,sheet:new Ci({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return C.sheet.hydrate(l),C},Ct={exports:{}},U={};var or;function Ji(){if(or)return U;or=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,C=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function y(I){if(typeof I=="object"&&I!==null){var E=I.$$typeof;switch(E){case e:switch(I=I.type,I){case a:case u:case o:case i:case n:case g:return I;default:switch(I=I&&I.$$typeof,I){case l:case c:case C:case f:case s:return I;default:return E}}case r:return E}}}function G(I){return y(I)===u}return U.AsyncMode=a,U.ConcurrentMode=u,U.ContextConsumer=l,U.ContextProvider=s,U.Element=e,U.ForwardRef=c,U.Fragment=o,U.Lazy=C,U.Memo=f,U.Portal=r,U.Profiler=i,U.StrictMode=n,U.Suspense=g,U.isAsyncMode=function(I){return G(I)||y(I)===a},U.isConcurrentMode=G,U.isContextConsumer=function(I){return y(I)===l},U.isContextProvider=function(I){return y(I)===s},U.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===e},U.isForwardRef=function(I){return y(I)===c},U.isFragment=function(I){return y(I)===o},U.isLazy=function(I){return y(I)===C},U.isMemo=function(I){return y(I)===f},U.isPortal=function(I){return y(I)===r},U.isProfiler=function(I){return y(I)===i},U.isStrictMode=function(I){return y(I)===n},U.isSuspense=function(I){return y(I)===g},U.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===o||I===u||I===i||I===n||I===g||I===p||typeof I=="object"&&I!==null&&(I.$$typeof===C||I.$$typeof===f||I.$$typeof===s||I.$$typeof===l||I.$$typeof===c||I.$$typeof===b||I.$$typeof===h||I.$$typeof===S||I.$$typeof===m)},U.typeOf=y,U}var Q={};var ir;function $i(){return ir||(ir=1,process.env.NODE_ENV!=="production"&&(function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,C=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function y(w){return typeof w=="string"||typeof w=="function"||w===o||w===u||w===i||w===n||w===g||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===C||w.$$typeof===f||w.$$typeof===s||w.$$typeof===l||w.$$typeof===c||w.$$typeof===b||w.$$typeof===h||w.$$typeof===S||w.$$typeof===m)}function G(w){if(typeof w=="object"&&w!==null){var de=w.$$typeof;switch(de){case e:var he=w.type;switch(he){case a:case u:case o:case i:case n:case g:return he;default:var Be=he&&he.$$typeof;switch(Be){case l:case c:case C:case f:case s:return Be;default:return de}}case r:return de}}}var I=a,E=u,B=l,_=s,P=e,O=c,W=o,K=C,ne=f,re=r,q=i,j=n,k=g,z=!1;function le(w){return z||(z=!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.")),ae(w)||G(w)===a}function ae(w){return G(w)===u}function x(w){return G(w)===l}function N(w){return G(w)===s}function M(w){return typeof w=="object"&&w!==null&&w.$$typeof===e}function Z(w){return G(w)===c}function se(w){return G(w)===o}function oe(w){return G(w)===C}function A(w){return G(w)===f}function T(w){return G(w)===r}function D(w){return G(w)===i}function ee(w){return G(w)===n}function ue(w){return G(w)===g}Q.AsyncMode=I,Q.ConcurrentMode=E,Q.ContextConsumer=B,Q.ContextProvider=_,Q.Element=P,Q.ForwardRef=O,Q.Fragment=W,Q.Lazy=K,Q.Memo=ne,Q.Portal=re,Q.Profiler=q,Q.StrictMode=j,Q.Suspense=k,Q.isAsyncMode=le,Q.isConcurrentMode=ae,Q.isContextConsumer=x,Q.isContextProvider=N,Q.isElement=M,Q.isForwardRef=Z,Q.isFragment=se,Q.isLazy=oe,Q.isMemo=A,Q.isPortal=T,Q.isProfiler=D,Q.isStrictMode=ee,Q.isSuspense=ue,Q.isValidElementType=y,Q.typeOf=G})()),Q}var ar;function Ui(){return ar||(ar=1,process.env.NODE_ENV==="production"?Ct.exports=Ji():Ct.exports=$i()),Ct.exports}var Yt,sr;function Qi(){if(sr)return Yt;sr=1;var t=Ui(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[t.ForwardRef]=o,i[t.Memo]=n;function s(C){return t.isMemo(C)?n:i[C.$$typeof]||e}var l=Object.defineProperty,a=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,p=Object.prototype;function f(C,m,b){if(typeof m!="string"){if(p){var h=g(m);h&&h!==p&&f(C,h,b)}var S=a(m);u&&(S=S.concat(u(m)));for(var y=s(C),G=s(m),I=0;I<S.length;++I){var E=S[I];if(!r[E]&&!(b&&b[E])&&!(G&&G[E])&&!(y&&y[E])){var B=c(m,E);try{l(C,E,B)}catch{}}}}return C}return Yt=f,Yt}Qi();var qi=!0;function Ki(t,e,r){var o="";return r.split(" ").forEach(function(n){t[n]!==void 0?e.push(t[n]+";"):n&&(o+=n+" ")}),o}var lr=function(e,r,o){var n=e.key+"-"+r.name;(o===!1||qi===!1)&&e.registered[n]===void 0&&(e.registered[n]=r.styles)},ea=function(e,r,o){lr(e,r,o);var n=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var i=r;do e.insert(r===i?"."+n:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};function ta(t){for(var e=0,r,o=0,n=t.length;n>=4;++o,n-=4)r=t.charCodeAt(o)&255|(t.charCodeAt(++o)&255)<<8|(t.charCodeAt(++o)&255)<<16|(t.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(n){case 3:e^=(t.charCodeAt(o+2)&255)<<16;case 2:e^=(t.charCodeAt(o+1)&255)<<8;case 1:e^=t.charCodeAt(o)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var na={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ra=/[A-Z]|^ms/g,oa=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ur=function(e){return e.charCodeAt(1)===45},cr=function(e){return e!=null&&typeof e!="boolean"},Jt=Wi(function(t){return ur(t)?t:t.replace(ra,"-$&").toLowerCase()}),dr=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(oa,function(o,n,i){return Ee={name:n,styles:i,next:Ee},n})}return na[e]!==1&&!ur(e)&&typeof r=="number"&&r!==0?r+"px":r};function at(t,e,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return Ee={name:n.name,styles:n.styles,next:Ee},n.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Ee={name:s.name,styles:s.styles,next:Ee},s=s.next;var l=i.styles+";";return l}return ia(t,e,r)}case"function":{if(t!==void 0){var a=Ee,u=r(t);return Ee=a,at(t,e,u)}break}}var c=r;return c}function ia(t,e,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=at(t,e,r[n])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var l=s;cr(l)&&(o+=Jt(i)+":"+dr(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&e==null)for(var a=0;a<s.length;a++)cr(s[a])&&(o+=Jt(i)+":"+dr(i,s[a])+";");else{var u=at(t,e,s);switch(i){case"animation":case"animationName":{o+=Jt(i)+":"+u+";";break}default:o+=i+"{"+u+"}"}}}return o}var gr=/label:\s*([^\s;{]+)\s*(;|$)/g,Ee;function br(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,n="";Ee=void 0;var i=t[0];if(i==null||i.raw===void 0)o=!1,n+=at(r,e,i);else{var s=i;n+=s[0]}for(var l=1;l<t.length;l++)if(n+=at(r,e,t[l]),o){var a=i;n+=a[l]}gr.lastIndex=0;for(var u="",c;(c=gr.exec(n))!==null;)u+="-"+c[1];var g=ta(n)+u;return{name:g,styles:n,next:Ee}}var aa=function(e){return e()},sa=L.useInsertionEffect?L.useInsertionEffect:!1,la=sa||aa,fr=L.createContext(typeof HTMLElement<"u"?Yi({key:"css"}):null);fr.Provider;var ua=function(e){return v.forwardRef(function(r,o){var n=v.useContext(fr);return e(r,n,o)})},ca=L.createContext({}),$t={}.hasOwnProperty,Ut="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",da=function(e,r){var o={};for(var n in r)$t.call(r,n)&&(o[n]=r[n]);return o[Ut]=e,o},ga=function(e){var r=e.cache,o=e.serialized,n=e.isStringTag;return lr(r,o,n),la(function(){return ea(r,o,n)}),null},ba=ua(function(t,e,r){var o=t.css;typeof o=="string"&&e.registered[o]!==void 0&&(o=e.registered[o]);var n=t[Ut],i=[o],s="";typeof t.className=="string"?s=Ki(e.registered,i,t.className):t.className!=null&&(s=t.className+" ");var l=br(i,void 0,L.useContext(ca));s+=e.key+"-"+l.name;var a={};for(var u in t)$t.call(t,u)&&u!=="css"&&u!==Ut&&(a[u]=t[u]);return a.className=s,r&&(a.ref=r),L.createElement(L.Fragment,null,L.createElement(ga,{cache:e,serialized:l,isStringTag:typeof n=="string"}),L.createElement(n,a))}),fa=ba,V=function(e,r){var o=arguments;if(r==null||!$t.call(r,"css"))return L.createElement.apply(void 0,o);var n=o.length,i=new Array(n);i[0]=fa,i[1]=da(e,r);for(var s=2;s<n;s++)i[s]=o[s];return L.createElement.apply(null,i)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(V||(V={}));function Qt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return br(e)}function pa(){var t=Qt.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function ma(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const va=Math.min,ha=Math.max,xt=Math.round,yt=Math.floor,At=t=>({x:t,y:t});function Ia(t){const{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}function Et(){return typeof window<"u"}function pr(t){return vr(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mr(t){var e;return(e=(vr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function vr(t){return Et()?t instanceof Node||t instanceof Ne(t).Node:!1}function Ca(t){return Et()?t instanceof Element||t instanceof Ne(t).Element:!1}function qt(t){return Et()?t instanceof HTMLElement||t instanceof Ne(t).HTMLElement:!1}function hr(t){return!Et()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot}const xa=new Set(["inline","contents"]);function Ir(t){const{overflow:e,overflowX:r,overflowY:o,display:n}=Kt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!xa.has(n)}function ya(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Aa=new Set(["html","body","#document"]);function Ea(t){return Aa.has(pr(t))}function Kt(t){return Ne(t).getComputedStyle(t)}function Sa(t){if(pr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||hr(t)&&t.host||mr(t);return hr(e)?e.host:e}function Cr(t){const e=Sa(t);return Ea(e)?t.ownerDocument?t.ownerDocument.body:t.body:qt(e)&&Ir(e)?e:Cr(e)}function St(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=Cr(t),i=n===((o=t.ownerDocument)==null?void 0:o.body),s=Ne(n);if(i){const l=en(s);return e.concat(s,s.visualViewport||[],Ir(n)?n:[],l&&r?St(l):[])}return e.concat(n,St(n,[],r))}function en(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ga(t){const e=Kt(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const n=qt(t),i=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=xt(r)!==i||xt(o)!==s;return l&&(r=i,o=s),{width:r,height:o,$:l}}function tn(t){return Ca(t)?t:t.contextElement}function xr(t){const e=tn(t);if(!qt(e))return At(1);const r=e.getBoundingClientRect(),{width:o,height:n,$:i}=Ga(e);let s=(i?xt(r.width):r.width)/o,l=(i?xt(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ba=At(0);function _a(t){const e=Ne(t);return!ya()||!e.visualViewport?Ba:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wa(t,e,r){return!1}function yr(t,e,r,o){e===void 0&&(e=!1);const n=t.getBoundingClientRect(),i=tn(t);let s=At(1);e&&(s=xr(t));const l=wa()?_a(i):At(0);let a=(n.left+l.x)/s.x,u=(n.top+l.y)/s.y,c=n.width/s.x,g=n.height/s.y;if(i){const p=Ne(i),f=o;let C=p,m=en(C);for(;m&&o&&f!==C;){const b=xr(m),h=m.getBoundingClientRect(),S=Kt(m),y=h.left+(m.clientLeft+parseFloat(S.paddingLeft))*b.x,G=h.top+(m.clientTop+parseFloat(S.paddingTop))*b.y;a*=b.x,u*=b.y,c*=b.x,g*=b.y,a+=y,u+=G,C=Ne(m),m=en(C)}}return Ia({width:c,height:g,x:a,y:u})}function Ar(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Na(t,e){let r=null,o;const n=mr(t);function i(){var l;clearTimeout(o),(l=r)==null||l.disconnect(),r=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const u=t.getBoundingClientRect(),{left:c,top:g,width:p,height:f}=u;if(l||e(),!p||!f)return;const C=yt(g),m=yt(n.clientWidth-(c+p)),b=yt(n.clientHeight-(g+f)),h=yt(c),y={rootMargin:-C+"px "+-m+"px "+-b+"px "+-h+"px",threshold:ha(0,va(1,a))||1};let G=!0;function I(E){const B=E[0].intersectionRatio;if(B!==a){if(!G)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Ar(u,t.getBoundingClientRect())&&s(),G=!1}try{r=new IntersectionObserver(I,{...y,root:n.ownerDocument})}catch{r=new IntersectionObserver(I,y)}r.observe(t)}return s(!0),i}function Va(t,e,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,u=tn(t),c=n||i?[...u?St(u):[],...St(e)]:[];c.forEach(h=>{n&&h.addEventListener("scroll",r,{passive:!0}),i&&h.addEventListener("resize",r)});const g=u&&l?Na(u,r):null;let p=-1,f=null;s&&(f=new ResizeObserver(h=>{let[S]=h;S&&S.target===u&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),r()}),u&&!a&&f.observe(u),f.observe(e));let C,m=a?yr(t):null;a&&b();function b(){const h=yr(t);m&&!Ar(m,h)&&r(),m=h,C=requestAnimationFrame(b)}return r(),()=>{var h;c.forEach(S=>{n&&S.removeEventListener("scroll",r),i&&S.removeEventListener("resize",r)}),g?.(),(h=f)==null||h.disconnect(),f=null,a&&cancelAnimationFrame(C)}}var nn=v.useLayoutEffect,Fa=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Gt=function(){};function Pa(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function Ta(t,e){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n<r;n++)o[n-2]=arguments[n];var i=[].concat(o);if(e&&t)for(var s in e)e.hasOwnProperty(s)&&e[s]&&i.push("".concat(Pa(t,s)));return i.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var Er=function(e){return Da(e)?e.filter(Boolean):Te(e)==="object"&&e!==null?[e]:[]},Sr=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var r=we(e,Fa);return F({},r)},te=function(e,r,o){var n=e.cx,i=e.getStyles,s=e.getClassNames,l=e.className;return{css:i(r,e),className:n(o??{},s(r,e),l)}};function Bt(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function Ra(t){return Bt(t)?window.innerHeight:t.clientHeight}function Gr(t){return Bt(t)?window.pageYOffset:t.scrollTop}function _t(t,e){if(Bt(t)){window.scrollTo(0,e);return}t.scrollTop=e}function Xa(t){var e=getComputedStyle(t),r=e.position==="absolute",o=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var n=t;n=n.parentElement;)if(e=getComputedStyle(n),!(r&&e.position==="static")&&o.test(e.overflow+e.overflowY+e.overflowX))return n;return document.documentElement}function Ma(t,e,r,o){return r*((t=t/o-1)*t*t+1)+e}function wt(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Gt,n=Gr(t),i=e-n,s=10,l=0;function a(){l+=s;var u=Ma(l,n,i,r);_t(t,u),l<r?window.requestAnimationFrame(a):o(t)}a()}function Br(t,e){var r=t.getBoundingClientRect(),o=e.getBoundingClientRect(),n=e.offsetHeight/3;o.bottom+n>r.bottom?_t(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+n,t.scrollHeight)):o.top-n<r.top&&_t(t,Math.max(e.offsetTop-n,0))}function La(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function _r(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Wa(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var wr=!1,Oa={get passive(){return wr=!0}},Nt=typeof window<"u"?window:{};Nt.addEventListener&&Nt.removeEventListener&&(Nt.addEventListener("p",Gt,Oa),Nt.removeEventListener("p",Gt,!1));var ka=wr;function Za(t){return t!=null}function Da(t){return Array.isArray(t)}function Vt(t,e,r){return t?e:r}function ig(t){return t}function ag(t){return t}var Ha=function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];var i=Object.entries(e).filter(function(s){var l=_e(s,1),a=l[0];return!o.includes(a)});return i.reduce(function(s,l){var a=_e(l,2),u=a[0],c=a[1];return s[u]=c,s},{})},ja=["children","innerProps"],za=["children","innerProps"];function Ya(t){var e=t.maxHeight,r=t.menuEl,o=t.minHeight,n=t.placement,i=t.shouldScroll,s=t.isFixedPosition,l=t.controlHeight,a=Xa(r),u={placement:"bottom",maxHeight:e};if(!r||!r.offsetParent)return u;var c=a.getBoundingClientRect(),g=c.height,p=r.getBoundingClientRect(),f=p.bottom,C=p.height,m=p.top,b=r.offsetParent.getBoundingClientRect(),h=b.top,S=s?window.innerHeight:Ra(a),y=Gr(a),G=parseInt(getComputedStyle(r).marginBottom,10),I=parseInt(getComputedStyle(r).marginTop,10),E=h-I,B=S-m,_=E+y,P=g-y-m,O=f-S+y+G,W=y+m-I,K=160;switch(n){case"auto":case"bottom":if(B>=C)return{placement:"bottom",maxHeight:e};if(P>=C&&!s)return i&&wt(a,O,K),{placement:"bottom",maxHeight:e};if(!s&&P>=o||s&&B>=o){i&&wt(a,O,K);var ne=s?B-G:P-G;return{placement:"bottom",maxHeight:ne}}if(n==="auto"||s){var re=e,q=s?E:_;return q>=o&&(re=Math.min(q-G-l,e)),{placement:"top",maxHeight:re}}if(n==="bottom")return i&&_t(a,O),{placement:"bottom",maxHeight:e};break;case"top":if(E>=C)return{placement:"top",maxHeight:e};if(_>=C&&!s)return i&&wt(a,W,K),{placement:"top",maxHeight:e};if(!s&&_>=o||s&&E>=o){var j=e;return(!s&&_>=o||s&&E>=o)&&(j=s?E-I:_-I),i&&wt(a,W,K),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return u}function Ja(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Nr=function(e){return e==="auto"?"bottom":e},$a=function(e,r){var o,n=e.placement,i=e.theme,s=i.borderRadius,l=i.spacing,a=i.colors;return F((o={label:"menu"},tt(o,Ja(n),"100%"),tt(o,"position","absolute"),tt(o,"width","100%"),tt(o,"zIndex",1),o),r?{}:{backgroundColor:a.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},Vr=v.createContext(null),Ua=function(e){var r=e.children,o=e.minMenuHeight,n=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,l=e.menuShouldScrollIntoView,a=e.theme,u=v.useContext(Vr)||{},c=u.setPortalPlacement,g=v.useRef(null),p=v.useState(n),f=_e(p,2),C=f[0],m=f[1],b=v.useState(null),h=_e(b,2),S=h[0],y=h[1],G=a.spacing.controlHeight;return nn(function(){var I=g.current;if(I){var E=s==="fixed",B=l&&!E,_=Ya({maxHeight:n,menuEl:I,minHeight:o,placement:i,shouldScroll:B,isFixedPosition:E,controlHeight:G});m(_.maxHeight),y(_.placement),c?.(_.placement)}},[n,i,s,l,o,c,G]),r({ref:g,placerProps:F(F({},e),{},{placement:S||Nr(i),maxHeight:C})})},Qa=function(e){var r=e.children,o=e.innerRef,n=e.innerProps;return V("div",R({},te(e,"menu",{menu:!0}),{ref:o},n),r)},qa=Qa,Ka=function(e,r){var o=e.maxHeight,n=e.theme.spacing.baseUnit;return F({maxHeight:o,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},es=function(e){var r=e.children,o=e.innerProps,n=e.innerRef,i=e.isMulti;return V("div",R({},te(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:n},o),r)},Fr=function(e,r){var o=e.theme,n=o.spacing.baseUnit,i=o.colors;return F({textAlign:"center"},r?{}:{color:i.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},ts=Fr,ns=Fr,rs=function(e){var r=e.children,o=r===void 0?"No options":r,n=e.innerProps,i=we(e,ja);return V("div",R({},te(F(F({},i),{},{children:o,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),o)},os=function(e){var r=e.children,o=r===void 0?"Loading...":r,n=e.innerProps,i=we(e,za);return V("div",R({},te(F(F({},i),{},{children:o,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),o)},is=function(e){var r=e.rect,o=e.offset,n=e.position;return{left:r.left,position:n,top:o,width:r.width,zIndex:1}},as=function(e){var r=e.appendTo,o=e.children,n=e.controlElement,i=e.innerProps,s=e.menuPlacement,l=e.menuPosition,a=v.useRef(null),u=v.useRef(null),c=v.useState(Nr(s)),g=_e(c,2),p=g[0],f=g[1],C=v.useMemo(function(){return{setPortalPlacement:f}},[]),m=v.useState(null),b=_e(m,2),h=b[0],S=b[1],y=v.useCallback(function(){if(n){var B=La(n),_=l==="fixed"?0:window.pageYOffset,P=B[p]+_;(P!==h?.offset||B.left!==h?.rect.left||B.width!==h?.rect.width)&&S({offset:P,rect:B})}},[n,l,p,h?.offset,h?.rect.left,h?.rect.width]);nn(function(){y()},[y]);var G=v.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),n&&a.current&&(u.current=Va(n,a.current,y,{elementResize:"ResizeObserver"in window}))},[n,y]);nn(function(){G()},[G]);var I=v.useCallback(function(B){a.current=B,G()},[G]);if(!r&&l!=="fixed"||!h)return null;var E=V("div",R({ref:I},te(F(F({},e),{},{offset:h.offset,position:l,rect:h.rect}),"menuPortal",{"menu-portal":!0}),i),o);return V(Vr.Provider,{value:C},r?hn.createPortal(E,r):E)},ss=function(e){var r=e.isDisabled,o=e.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},ls=function(e){var r=e.children,o=e.innerProps,n=e.isDisabled,i=e.isRtl;return V("div",R({},te(e,"container",{"--is-disabled":n,"--is-rtl":i}),o),r)},us=function(e,r){var o=e.theme.spacing,n=e.isMulti,i=e.hasValue,s=e.selectProps.controlShouldRenderValue;return F({alignItems:"center",display:n&&i&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(o.baseUnit/2,"px ").concat(o.baseUnit*2,"px")})},cs=function(e){var r=e.children,o=e.innerProps,n=e.isMulti,i=e.hasValue;return V("div",R({},te(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":i}),o),r)},ds=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},gs=function(e){var r=e.children,o=e.innerProps;return V("div",R({},te(e,"indicatorsContainer",{indicators:!0}),o),r)},Pr,bs=["size"],fs=["innerProps","isRtl","size"];function ps(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var ms=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAg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lPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:ps},Tr=function(e){var r=e.size,o=we(e,bs);return V("svg",R({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ms},o))},rn=function(e){return V(Tr,R({size:20},e),V("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Rr=function(e){return V(Tr,R({size:20},e),V("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Xr=function(e,r){var o=e.isFocused,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return F({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:o?s.neutral60:s.neutral20,padding:i*2,":hover":{color:o?s.neutral80:s.neutral40}})},vs=Xr,hs=function(e){var r=e.children,o=e.innerProps;return V("div",R({},te(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),o),r||V(Rr,null))},Is=Xr,Cs=function(e){var r=e.children,o=e.innerProps;return V("div",R({},te(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),o),r||V(rn,null))},xs=function(e,r){var o=e.isDisabled,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return F({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:o?s.neutral10:s.neutral20,marginBottom:i*2,marginTop:i*2})},ys=function(e){var r=e.innerProps;return V("span",R({},r,te(e,"indicatorSeparator",{"indicator-separator":!0})))},As=pa(Pr||(Pr=ma([`
6
+ <%s key={someKey} {...props} />`,F,M,j,M),se[M+F]=!0)}if(M=null,_!==void 0&&(r(_),M=""+_),s(y)&&(r(y.key),M=""+y.key),"key"in y){_={};for(var ce in y)ce!=="key"&&(_[ce]=y[ce])}else _=y;return M&&l(_,typeof x=="function"?x.displayName||x.name||"Unknown":x),c(x,M,_,n(),K,Q)}function g(x){p(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===w&&(x._payload.status==="fulfilled"?p(x._payload.value)&&x._payload.value._store&&(x._payload.value._store.validated=1):x._store&&(x._store.validated=1))}function p(x){return typeof x=="object"&&x!==null&&x.$$typeof===I}var f=v,I=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),G=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),W=Symbol.for("react.client.reference"),k=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=Object.prototype.hasOwnProperty,q=Array.isArray,L=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(x){return x()}};var O,ie={},te=f.react_stack_bottom_frame.bind(f,i)(),ae=L(o(i)),se={};Oe.Fragment=b,Oe.jsx=function(x,y,_){var F=1e4>k.recentlyCreatedOwnerStacks++;return u(x,y,_,!1,F?Error("react-stack-top-frame"):te,F?L(o(x)):ae)},Oe.jsxs=function(x,y,_){var F=1e4>k.recentlyCreatedOwnerStacks++;return u(x,y,_,!0,F?Error("react-stack-top-frame"):te,F?L(o(x)):ae)}})()),Oe}var Cn;function fo(){return Cn||(Cn=1,process.env.NODE_ENV==="production"?at.exports=go():at.exports=bo()),at.exports}var d=fo();const Y=t=>t?.filter(Boolean).join(" ")||"",In=t=>t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),po=t=>!t?.colors||!Object.entries(t.colors).length?{}:Object.entries(t.colors).reduce((e,[r,o])=>(r&&o&&(e[`--color-${In(r)}`]=o),e),{}),mo=t=>!t?.sizes||!Object.entries(t.sizes).length?{}:Object.entries(t.sizes).reduce((e,[r,o])=>(r&&o&&(e[`--size-${In(r)}`]=o),e),{}),ho=t=>({...po(t),...mo(t)}),vo=(t,e)=>{if(typeof document>"u")return;const r=document.createElement("style");r.setAttribute("id",t),r.textContent=e;const o=document.getElementById(t);o&&o.remove(),document.head.appendChild(r)},Co=t=>Object.entries(t).map(([e,r])=>`${e}: ${r};`).join(""),Pe=t=>{const e=[];return v.Children.forEach(t,r=>{if(v.isValidElement(r)){const o=r;if(o.type===v.Fragment){const n=Pe(o.props.children);e.push(...n)}else e.push(v.cloneElement(o,{...o.props}))}else e.push(r)}),e},Io=t=>{if(typeof document>"u")return;const e=document.createElement("button");e.style.position="absolute",e.style.opacity="0",t.prepend(e),e.focus(),e.remove()},xo=t=>Array.from(t.querySelectorAll('button, [href], input, [tabindex="0"]')).filter(r=>!!r),yo=t=>{Io(t);const e=xo(t),r=e[0],o=e[e.length-1]||r;r&&(r.onkeydown=n=>{n.key==="Tab"&&n.shiftKey&&(n.preventDefault(),o.focus())}),o&&(o.onclick=()=>{r?.focus()},o.onkeydown=n=>{n.key==="Tab"&&!n.shiftKey&&(n.preventDefault(),r?.focus())})},ve={accordion:"_accordion_kwqaf_67",default:"_default_kwqaf_73",panel:"_panel_kwqaf_76",content:"_content_kwqaf_77",secondary:"_secondary_kwqaf_80",info:"_info_kwqaf_88",contrast:"_contrast_kwqaf_96",margin:"_margin_kwqaf_104",panelText:"_panelText_kwqaf_138",panelChevron:"_panelChevron_kwqaf_144",expanded:"_expanded_kwqaf_171",initialized:"_initialized_kwqaf_187",hide:"_hide_kwqaf_1",show:"_show_kwqaf_1"},Ao=({title:t,buttonProps:e,expanded:r,handleToggleExpand:o})=>d.jsxs("button",{...e,className:ve.panel,onClick:o,"aria-expanded":r?"true":"false",children:[d.jsx("span",{className:ve.panelText,children:t}),d.jsx("span",{className:`${ve.panelChevron} ${r?ve.expanded:""}`})]}),Eo=({title:t,color:e="default",expanded:r=!1,onToggleExpand:o,buttonProps:n,noMargin:i=!1,initialized:s,children:l,...a})=>{const[c,u]=v.useState(r),[g,p]=v.useState(s),f=()=>{u(!c),p(!0),o&&o()};v.useEffect(()=>{u(r)},[r]);const I=Y([ve.accordion,e&&ve[e],!i&&ve.margin,a.className]);return d.jsxs("div",{className:I,...a,children:[d.jsx(Ao,{title:t??"",buttonProps:n??{},expanded:c??!1,handleToggleExpand:f}),d.jsx("div",{className:`${ve.content} ${g?ve.initialized:""} ${c?ve.expanded:""}`,children:l})]})},ge={button:"_button_frvev_161",noMargin:"_noMargin_frvev_181",regular:"_regular_frvev_194",small:"_small_frvev_197",primary:"_primary_frvev_203",noHover:"_noHover_frvev_208",secondary:"_secondary_frvev_224",neutral:"_neutral_frvev_247",disabled:"_disabled_frvev_267",hasErrors:"_hasErrors_frvev_287",hasArrowLeft:"_hasArrowLeft_frvev_293",pushprev:"_pushprev_frvev_1",hasArrowRight:"_hasArrowRight_frvev_331",pushnext:"_pushnext_frvev_1",hasIcon:"_hasIcon_frvev_369",buttonIcon:"_buttonIcon_frvev_373",buttonContent:"_buttonContent_frvev_385",hasIconLeft:"_hasIconLeft_frvev_388",hasIconRight:"_hasIconRight_frvev_391"},Ne=({content:t,color:e="primary",size:r="regular",arrow:o="none",disabled:n=!1,inputType:i,defaultChecked:s,hasErrors:l=!1,noHover:a=!1,noMargin:c=!1,href:u,children:g,iconLeft:p,iconRight:f,className:I,...m})=>{const b=S=>S?d.jsx("span",{className:ge.buttonIcon,children:S}):null,h=S=>{switch(S){case"left":return ge.hasArrowLeft;case"right":return ge.hasArrowRight;default:return""}},E=i==="radio"?s?"primary":"secondary":e,A=Y([ge.button,ge[E],ge[r],h(o),a||i==="radio"?ge.noHover:null,l&&ge.hasErrors,n?ge.disabled:null,c?ge.noMargin:null,p||f?ge.hasIcon:null,I]),G=Y([ge.buttonContent,p?ge.hasIconLeft:null,f?ge.hasIconRight:null]),C={"aria-invalid":l||void 0,href:!n&&u?.length?u:void 0,className:A,...m},V=S=>v.Children.toArray(Pe(S)).map(Z=>{if(!v.isValidElement(Z))return null;const W=Z,k=W.type===Ft.Link&&typeof W.props=="object"&&W.props!==null&&"to"in W.props;return!n&&k?v.cloneElement(W,{className:A,key:`button-${W.key}`,to:W.props.to},b(p),d.jsx("span",{className:G,children:W.props.children}),b(f)):v.createElement("button",{...C,key:`button-${W.key}`},b(p),d.jsx("span",{className:G,children:t||(W.props?W.props.children:null)}),b(f))});if(i==="button")return d.jsxs("button",{type:"button",...C,children:[b(p),d.jsx("span",{className:G,children:t||g}),b(f)]});if(i==="radio"){const S={...C};return delete S.href,d.jsxs("label",{className:A,children:[d.jsx("input",{...S,type:"radio"}),b(p),d.jsx("span",{className:G,children:t}),b(f)]})}if(u?.length&&!n){const S={...C};return"type"in S&&delete S.type,d.jsxs("a",{...S,children:[b(p),d.jsx("span",{className:G,children:t||g}),b(f)]})}return v.isValidElement(g)&&g.type===Ft.Link?d.jsx(v.Fragment,{children:V(v.Children.toArray(g))}):d.jsxs("button",{...C,children:[b(p),d.jsx("span",{className:G,children:t||g}),b(f)]})},Fe={checkBoxIcon:"_checkBoxIcon_181ug_1",showBox:"_showBox_181ug_21",hasErrors:"_hasErrors_181ug_24",checked:"_checked_181ug_34",disabled:"_disabled_181ug_50",checkmark:"_checkmark_181ug_55",checkmarkIcon:"_checkmarkIcon_181ug_62"},xn=({size:t="20px",checked:e=!1,disabled:r=!1,showBox:o=!0,hasErrors:n=!1,checkmarkCharacter:i="✔",checkmarkIconSrc:s})=>{const l={height:t,width:t,fontSize:t},a=[Fe.checkBoxIcon,e&&Fe.checked,r&&Fe.disabled,o&&Fe.showBox,n&&Fe.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:a,style:l,children:d.jsx("span",{"aria-hidden":!0,className:Fe.checkmark,children:e?s?d.jsx("img",{src:s,alt:"","aria-hidden":"true",className:Fe.checkmarkIcon}):i:""})})},_e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32.275'%20height='30.469'%20focusable='false'%3e%3cpath%20fill='%239d2024'%20d='m0%2014.355%202.246-6.933c5.176%201.823%208.936%203.402%2011.28%204.736-.62-5.892-.945-9.944-.977-12.158h7.08c-.098%203.223-.472%207.26-1.123%2012.11%203.353-1.693%207.194-3.256%2011.523-4.688l2.246%206.933c-4.134%201.368-8.186%202.28-12.158%202.735%201.986%201.725%204.785%204.801%208.399%209.228l-5.86%204.15c-1.888-2.57-4.118-6.07-6.69-10.497-2.408%204.59-4.524%208.089-6.347%2010.498l-5.762-4.15c3.776-4.656%206.478-7.732%208.106-9.23-4.2-.813-8.187-1.724-11.963-2.734'/%3e%3c/svg%3e",yn="data:image/svg+xml,%3csvg%20width='14'%20height='11'%20viewBox='0%200%2014%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.90476%203.80952L0%205.71429L4.7619%2010.4762L13.3333%201.90476L11.4286%200L4.7619%206.66667L1.90476%203.80952Z'%20fill='%23003045'/%3e%3c/svg%3e",ke={checkBoxInput:"_checkBoxInput_1octn_1",requiredSymbol:"_requiredSymbol_1octn_6",disabled:"_disabled_1octn_13",labelText:"_labelText_1octn_19",hasErrors:"_hasErrors_1octn_27"},Tt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,checkmarkCharacter:a="✔",tabIndex:c=0,children:u,"aria-controls":g,"aria-describedby":p,value:f})=>{const I=[ke.checkBoxInput,e&&ke.disabled,l&&ke.hasErrors].filter(Boolean).join(" "),m={checked:t,disabled:e,showBox:!0,hasErrors:l,checkmarkCharacter:a,checkmarkIconSrc:yn},b={id:n,name:i,type:"checkbox",checked:t,disabled:e,required:r||o,onChange:s,tabIndex:c,"aria-controls":g,"aria-invalid":l?"true":void 0,"aria-describedby":p,value:f};return d.jsxs("label",{htmlFor:n,className:I,children:[d.jsx(xn,{...m}),d.jsx("input",{...b}),d.jsxs("span",{className:ke.labelText,children:[u,r&&d.jsx("img",{src:_e,alt:"",className:ke.requiredSymbol})]})]})},An={checkBoxList:"_checkBoxList_1cjjb_1",requiredSymbol:"_requiredSymbol_1cjjb_16"},Pt={headerContainer:"_headerContainer_1dym9_1",header:"_header_1dym9_1","size-1":"_size-1_1dym9_8",bigHeader:"_bigHeader_1dym9_17","size-2":"_size-2_1dym9_29","size-3":"_size-3_1dym9_37","size-4":"_size-4_1dym9_45","size-5":"_size-5_1dym9_53"},De=({id:t,content:e,size:r=1,htmlTag:o,htmlFor:n,children:i})=>{const s=o||`h${r}`,l=Y([Pt.header,Pt[`size-${r}`]]),a=v.createElement(s,{className:l,id:t||void 0,htmlFor:n||void 0},e?.length?e:i);return d.jsx("div",{className:Pt.headerContainer,children:a})},Go=({legend:t,legendSize:e,required:r=!1,compact:o=!1,children:n})=>{const i=s=>Pe(s).map(a=>v.isValidElement(a)&&a.type?.displayName==="RadioButtonListItem"?v.cloneElement(a,{requiredGroup:r,compact:o,key:`checkboxListItem-${a.key}`}):a);return d.jsxs("fieldset",{className:An.checkBoxList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(De,{size:e,children:t}):t,r&&d.jsx("img",{src:_e,alt:"",className:An.requiredSymbol})]}),i(v.Children.toArray(n))]})},je={checkBoxListItem:"_checkBoxListItem_j7hys_1",compact:"_compact_j7hys_26",disabled:"_disabled_j7hys_34",checked:"_checked_j7hys_37"},So=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:i="",onChange:s,compact:l=!1,hasErrors:a=!1,checkmarkCharacter:c="✔","aria-controls":u,"aria-describedby":g,children:p,value:f})=>{const I=Y([je.checkBoxListItem,t&&je.checked,e&&je.disabled,l&&je.compact,a&&je.hasErrors]),m={onChange:s??(()=>{}),checked:t,disabled:e,required:r,requiredGroup:o,hasErrors:a,"aria-controls":u,"aria-describedby":g,id:n,name:i,checkmarkCharacter:c,value:f};return d.jsx("div",{className:I,children:d.jsx(Tt,{...m,children:p})})},Bo={container:"_container_f8z49_1"},En=({maxWidth:t,children:e})=>{const r={"--max-width":t?.length?t:void 0};return d.jsx("div",{className:Bo.container,style:r,children:e})},Re={contentBox:"_contentBox_1ndvc_1",link:"_link_1ndvc_8",default:"_default_1ndvc_21",content:"_content_1ndvc_1",title:"_title_1ndvc_25",secondary:"_secondary_1ndvc_28",regular:"_regular_1ndvc_36",large:"_large_1ndvc_45"},Vo=({title:t="",titleSize:e="regular",content:r="",children:o,color:n="default",href:i=null})=>{const s=()=>{if(!t)return null;const p=`${Re.title} ${Re[e]}`;return d.jsx("h2",{className:p,children:t})},l=Re[n]||"",a=i?Re.link:"",c=`${Re.contentBox} ${l} ${a}`.trim(),u=r?.length?r:o,g=d.jsxs(d.Fragment,{children:[s(),d.jsx("div",{className:Re.content,children:u})]});return i?d.jsx("a",{href:i,className:c,children:g}):d.jsx("div",{className:c,children:g})},Gn={descriptionDetails:"_descriptionDetails_1d1dj_1",compact:"_compact_1d1dj_7"},wo=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dd",{className:Y([Gn.descriptionDetails,t&&Gn.compact]),style:{"--title-width":e||void 0},children:r}),Sn={descriptionList:"_descriptionList_w11ua_1",compact:"_compact_w11ua_13"},_o=({compact:t=!1,titleWidth:e,children:r})=>{const o=n=>Pe(n).map(s=>v.isValidElement(s)?v.cloneElement(s,{compact:t,titleWidth:e,key:`descriptionListItem-${s.key}`}):s);return v.createElement("dl",{className:Y([Sn.descriptionList,t&&Sn.compact]),style:{"--title-width":e||void 0}},o(v.Children.toArray(r)))},Bn={descriptionTerm:"_descriptionTerm_uuapd_1",compact:"_compact_uuapd_8"},No=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dt",{className:Y([Bn.descriptionTerm,t&&Bn.compact]),style:{"--title-width":e||void 0},children:r}),Fo="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%3e%3cpath%20fill='%23072938'%20stroke='%23072938'%20stroke-linecap='round'%20stroke-width='3.23'%20d='m3.97%203.57%2017.44%2018.2m-17.44.01L21.41%203.57'/%3e%3c/svg%3e",Ce={dialog:"_dialog_11gtp_19",backdrop:"_backdrop_11gtp_34",backdropTransparent:"_backdropTransparent_11gtp_45",dialogContainer:"_dialogContainer_11gtp_48",modalInVertical:"_modalInVertical_11gtp_1",dialogContent:"_dialogContent_11gtp_60",dialogHeader:"_dialogHeader_11gtp_67",dialogBody:"_dialogBody_11gtp_77",noPadding:"_noPadding_11gtp_83",isSidebar:"_isSidebar_11gtp_86",left:"_left_11gtp_104",modalInHorizontalLeft:"_modalInHorizontalLeft_11gtp_1",right:"_right_11gtp_110",modalInHorizontalRight:"_modalInHorizontalRight_11gtp_1"},To=({maxWidth:t="none",noPadding:e,title:r,onClickOutside:o,modal:n=!0,attachTo:i,hidden:s=!1,children:l})=>{const[a,c]=v.useState(null),u=v.useRef(null),g=v.useCallback(m=>{m&&yo(m)},[]);v.useEffect(()=>{if(s)return;const m=b=>{b.key==="Escape"&&o&&o()};return document.addEventListener("keydown",m,!1),()=>{document.removeEventListener("keydown",m,!1)}},[s,o]),v.useEffect(()=>{if(typeof window>"u")return;const b=(()=>{const E="dibk-design-dialog-root";let A=document.getElementById(E);return A||(A=document.createElement("div"),A.setAttribute("id",E),document.body.appendChild(A)),A})(),h=document.createElement("div");return b.appendChild(h),c(h),()=>{c(null),b.contains(h)&&b.removeChild(h)}},[]),v.useEffect(()=>{if(s||!n)return;const m=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=m}},[s,n]);const p=i&&Y([Ce.isSidebar,Ce[i]]),f={"--max-width":t};if(s||!a)return null;const I=n?{role:"dialog","aria-modal":"true"}:{role:"dialog"};return mn.createPortal(d.jsxs("div",{className:Y([Ce.dialog,p]),...I,children:[d.jsx("button",{type:"button",className:Y([Ce.backdrop,!n&&Ce.backdropTransparent]),onClick:o,"aria-label":"Lukk dialog"}),d.jsx("div",{ref:u,className:Ce.dialogContainer,style:f,children:d.jsxs("div",{ref:g,className:Y([Ce.dialogContent,e&&Ce.noPadding]),children:[r&&d.jsxs("div",{className:Ce.dialogHeader,children:[r?d.jsx(De,{size:2,children:r}):d.jsx("span",{}),d.jsx(Ne,{color:"neutral","aria-label":"Lukk dialog",onClick:o,iconRight:d.jsx("img",{src:Fo,alt:""}),children:"Lukk"})]}),d.jsx("div",{className:Ce.dialogBody,"aria-live":"assertive",children:l})]})})]}),a)},Ye={dragAndDropFileInput:"_dragAndDropFileInput_1hivh_1",requiredSymbol:"_requiredSymbol_1hivh_1",dragAndDropContainer:"_dragAndDropContainer_1hivh_8",highlighted:"_highlighted_1hivh_26",hasErrors:"_hasErrors_1hivh_30"},Vn="data:image/svg+xml,%3csvg%20width='24'%20height='28'%20viewBox='0%200%2024%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cellipse%20cx='12.0008'%20cy='20.0008'%20rx='1.2'%20ry='1.2'%20fill='black'/%3e%3cpath%20d='M12.0008%209.19922C12.6635%209.19922%2013.2007%2010.0348%2013.2008%2011.0656C13.2008%2011.2742%2013.1767%2011.4744%2013.1362%2011.6617L12.6008%2016.6656C12.6008%2017.181%2012.3322%2017.5992%2012.0008%2017.5992C11.6694%2017.5992%2011.4008%2017.181%2011.4008%2016.6656L10.8646%2011.6617C10.8241%2011.4745%2010.8008%2011.2741%2010.8008%2011.0656C10.8009%2010.0348%2011.3381%209.19922%2012.0008%209.19922Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.833%205.08415C11.3507%204.16987%2012.6456%204.16987%2013.1633%205.08415L22.4834%2021.5413C23.0007%2022.4554%2022.3534%2023.5982%2021.3182%2023.5984H2.67934C1.64389%2023.5984%200.996537%2022.4556%201.51416%2021.5413L10.833%205.08415ZM12.2898%206.28415C12.1603%206.05562%2011.8373%206.0557%2011.7078%206.28415L2.96965%2021.7127C2.84068%2021.9412%203.0027%2022.2268%203.26127%2022.227H20.735C20.9938%2022.227%2021.1559%2021.9413%2021.0266%2021.7127L12.2898%206.28415Z'%20fill='black'/%3e%3c/svg%3e",wn={errorMessage:"_errorMessage_15d1p_1",errorSign:"_errorSign_15d1p_10"},ze=({id:t,content:e=""})=>{const r=()=>({id:t?.length?t:void 0,className:wn.errorMessage});return(typeof e=="string"?e.trim().length>0:!!e)?d.jsxs("span",{"aria-live":"polite",...r(),children:[d.jsx("img",{src:Vn,alt:"",className:wn.errorSign}),e]}):null},Je={label:"_label_sxta8_1",inline:"_inline_sxta8_11",normalCursor:"_normalCursor_sxta8_14",labelText:"_labelText_sxta8_18",subLabel:"_subLabel_sxta8_23"},$e=({inline:t=!1,normalCursor:e=!1,htmlTag:r="label",children:o,subLabel:n,id:i,...s})=>{const l=[Je.label,t&&Je.inline,e&&Je.normalCursor].filter(Boolean).join(" "),a={...s,className:l,id:i||void 0};return v.createElement(r,a,d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Je.labelText,children:o}),n&&d.jsx("span",{className:Je.subLabel,children:n})]}))},Po=({id:t,name:e,onSelectChange:r,onDragAndDropChange:o,label:n="",subLabel:i="",buttonContent:s,buttonContentWhenSelectedFile:l,selectedFileName:a,hasErrors:c=!1,errorMessage:u="",required:g=!1,"data-transaction-name":p})=>{const[f,I]=v.useState(!1),m=v.useRef(null),b=v.useRef(null),h=w=>{w.preventDefault(),w.stopPropagation()},E=()=>{b.current?.click()},A=()=>`${t}-errorMessage`,G={id:t,"aria-describedby":c&&u?.toString().length?A():void 0,"aria-invalid":c?"true":void 0,name:e,required:g},C=a&&l||s,V=v.useCallback(()=>I(!0),[]),B=v.useCallback(()=>I(!1),[]),S=v.useCallback(w=>{h(w),w.dataTransfer?.files&&o(w.dataTransfer.files),I(!1)},[o]);return v.useEffect(()=>{const w=m.current;if(w)return["dragenter","dragover"].forEach(Z=>{w.addEventListener(Z,V)}),["dragleave","drop"].forEach(Z=>{w.addEventListener(Z,B)}),["dragenter","dragover","dragleave","drop"].forEach(Z=>{w.addEventListener(Z,h)}),w.addEventListener("drop",S),()=>{["dragenter","dragover","dragleave","drop"].forEach(Z=>{w.removeEventListener(Z,h),w.removeEventListener(Z,V),w.removeEventListener(Z,B)}),w.removeEventListener("drop",S)}},[o]),d.jsxs("div",{className:Ye.dragAndDropFileInput,children:[d.jsxs($e,{htmlFor:t,subLabel:i,children:[n,g&&d.jsx("img",{src:_e,alt:"",className:Ye.requiredSymbol})]}),d.jsxs("div",{ref:m,className:`${Ye.dragAndDropContainer} ${f?Ye.highlighted:""} ${c?Ye.hasErrors:""}`,children:[a?d.jsx("div",{children:d.jsxs("span",{children:[d.jsx("b",{children:"Valgt fil:"})," ",a]})}):d.jsx("div",{children:"Slipp fil her"}),d.jsx("input",{...G,ref:b,type:"file",onChange:r}),s&&d.jsxs(d.Fragment,{children:[d.jsx("div",{children:a?"":"eller klikk på knappen for å velge fil"}),d.jsx(Ne,{size:"small",inputType:"button",color:"secondary",onClick:E,content:C,"data-transaction-name":p})]})]}),d.jsx(ze,{id:A(),content:u})]})},_n="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9984%202.39844C17.3004%202.39844%2021.5984%206.6965%2021.5984%2011.9984C21.5984%2017.3004%2017.3004%2021.5984%2011.9984%2021.5984C6.6965%2021.5984%202.39844%2017.3004%202.39844%2011.9984C2.39844%206.6965%206.6965%202.39844%2011.9984%202.39844ZM11.9984%203.59844C7.35925%203.59844%203.59844%207.35925%203.59844%2011.9984C3.59844%2016.6376%207.35925%2020.3984%2011.9984%2020.3984C16.6376%2020.3984%2020.3984%2016.6376%2020.3984%2011.9984C20.3984%207.35925%2016.6376%203.59844%2011.9984%203.59844Z'%20fill='black'/%3e%3cellipse%20cx='12.0203'%20cy='8.37578'%20rx='1.2'%20ry='1.2'%20fill='black'/%3e%3cpath%20d='M13.1563%2011.1562V17.5934H13.1586C13.3618%2017.5934%2013.5266%2017.7583%2013.5266%2017.9613C13.5264%2018.1642%2013.3617%2018.3281%2013.1586%2018.3281L13.1563%2018.327L11.0984%2018.3281V18.3258H10.7551C10.7469%2018.3263%2010.7388%2018.3281%2010.7305%2018.3281C10.5274%2018.3281%2010.3627%2018.1642%2010.3625%2017.9613C10.3625%2017.7591%2010.526%2017.5946%2010.7281%2017.5934H10.9133C10.9133%2017.5934%2010.9906%2017.5875%2011.0609%2017.4938C11.1313%2017.4%2011.0984%2017.2172%2011.0984%2017.2172V12.9C11.0984%2012.9%2011.1266%2012.6293%2011.0047%2012.4781C10.8828%2012.327%2010.7094%2012.327%2010.7094%2012.327H10.3203C9.9969%2012.327%209.73469%2012.0652%209.73438%2011.7422C9.73438%2011.4189%209.99671%2011.1562%2010.3203%2011.1562H13.1563Z'%20fill='black'/%3e%3c/svg%3e",Ro="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.37223%2011.899L7.78938%2010.4086L11.0086%2014.0181L16.9006%207.59082L18.5625%209.10819L11.0086%2017.0301L6.37223%2011.899Z'%20fill='%23202020'/%3e%3cpath%20d='M11.9984%202.40039C17.3004%202.40039%2021.5984%206.69846%2021.5984%2012.0004C21.5984%2017.3023%2017.3004%2021.6004%2011.9984%2021.6004C6.6965%2021.6004%202.39844%2017.3023%202.39844%2012.0004C2.39844%206.69846%206.6965%202.40039%2011.9984%202.40039ZM11.9984%203.60039C7.35925%203.60039%203.59844%207.3612%203.59844%2012.0004C3.59844%2016.6396%207.35925%2020.4004%2011.9984%2020.4004C16.6376%2020.4004%2020.3984%2016.6396%2020.3984%2012.0004C20.3984%207.3612%2016.6376%203.60039%2011.9984%203.60039Z'%20fill='black'/%3e%3c/svg%3e",Mo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9984%202.39844C17.3004%202.39844%2021.5984%206.6965%2021.5984%2011.9984C21.5984%2017.3004%2017.3004%2021.5984%2011.9984%2021.5984C6.6965%2021.5984%202.39844%2017.3004%202.39844%2011.9984C2.39844%206.6965%206.6965%202.39844%2011.9984%202.39844ZM11.9984%203.59844C7.35925%203.59844%203.59844%207.35925%203.59844%2011.9984C3.59844%2016.6376%207.35925%2020.3984%2011.9984%2020.3984C16.6376%2020.3984%2020.3984%2016.6376%2020.3984%2011.9984C20.3984%207.35925%2016.6376%203.59844%2011.9984%203.59844Z'%20fill='black'/%3e%3ccircle%20cx='12.0008'%20cy='17.45'%20r='1.2'%20fill='black'/%3e%3cpath%20d='M12.0008%205.07422C12.9741%205.07422%2013.7631%206.05478%2013.7633%207.26445C13.7633%207.50925%2013.728%207.74425%2013.6684%207.96406L12.882%2013.8363C12.882%2014.4413%2012.4875%2014.932%2012.0008%2014.932C11.5141%2014.932%2011.1195%2014.4413%2011.1195%2013.8363L10.332%207.96406C10.2725%207.74433%2010.2383%207.50914%2010.2383%207.26445C10.2385%206.05478%2011.0275%205.07422%2012.0008%205.07422Z'%20fill='black'/%3e%3c/svg%3e",Ie={box:"_box_wg1u7_7",messageIn:"_messageIn_wg1u7_1",fullScreen:"_fullScreen_wg1u7_15",noBorder:"_noBorder_wg1u7_18",info:"_info_wg1u7_21",warning:"_warning_wg1u7_25",error:"_error_wg1u7_29",tip:"_tip_wg1u7_33",success:"_success_wg1u7_37",inner:"_inner_wg1u7_42",hasIcon:"_hasIcon_wg1u7_58",icon:"_icon_wg1u7_67",iconImage:"_iconImage_wg1u7_76",content:"_content_wg1u7_82",title:"_title_wg1u7_87",body:"_body_wg1u7_94"},Nn=({title:t,children:e="",variant:r="info",fullScreen:o=!1,noBorder:n=!1,hideIcon:i=!1,icon:s})=>{const l={info:_n,warning:Mo,error:Vn,tip:_n,success:Ro},a=s??d.jsx("img",{src:l[r],alt:"",className:Ie.iconImage}),c=!i&&a;return d.jsx("div",{className:Y([Ie.box,Ie[r],o&&Ie.fullScreen,n&&Ie.noBorder,c?Ie.hasIcon:null]),children:d.jsxs("div",{className:Ie.inner,children:[c?d.jsx("div",{className:Ie.icon,children:a}):null,d.jsxs("div",{className:Ie.content,children:[d.jsx(De,{size:3,children:t}),e?d.jsx("div",{className:Ie.body,children:e}):null]})]})})},Ho=({type:t="warning",children:e="",...r})=>d.jsx(Nn,{variant:t,children:e,...r}),Lo={footer:"_footer_19fad_1"},Xo=({children:t})=>d.jsx("footer",{className:Lo.footer,children:d.jsx(En,{children:t})}),me={inputField:"_inputField_1x7wx_1",requiredSymbol:"_requiredSymbol_1x7wx_1",file:"_file_1x7wx_9",input:"_input_1x7wx_1",hasErrors:"_hasErrors_1x7wx_44",dateInput:"_dateInput_1x7wx_53",inputWithButton:"_inputWithButton_1x7wx_71",fileInputContainer:"_fileInputContainer_1x7wx_79",visuallyHidden:"_visuallyHidden_1x7wx_92",caption:"_caption_1x7wx_103"},Fn=t=>{if(t==null||t==="")return;const e=t instanceof Date?t:new Date(t);if(Number.isNaN(e.getTime()))return;const r=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return`${r}-${o}-${n}`},Zo=t=>!t||["text","search","url","email","tel","password","number"].includes(t),Wo=({id:t,onChange:e=()=>{},onBlur:r,onFocus:o,name:n="",type:i="text",disabled:s=!1,required:l=!1,readOnly:a,width:c,value:u,defaultValue:g,elementKey:p,label:f="",actionButtonColor:I="secondary",actionButtonContent:m,actionButtonIconLeft:b,actionButtonIconRight:h,actionButtonOnClick:E,actionButtonDisabled:A=!1,actionButtonAriaLabel:G,selectedFileName:C,placeholder:V="",min:B,max:S,role:w,"aria-describedby":Z,"aria-autocomplete":W,hasErrors:k=!1,errorMessage:ee="",noMargin:q=!1,caption:L})=>{const O=v.useRef(null),ie=()=>`${t}-errorMessage`,te=`${t}-caption`,ae=c?{maxWidth:c}:{},se=i==="date"&&!s&&!a,x=i==="file",y=!!m&&!!E&&!x,_=m||"Velg fil",F=()=>{if(!se||!O.current)return;document.activeElement!==O.current&&O.current.focus(),O.current.showPicker?.()},K=de=>{F(),o?.(de)},Q=()=>{x&&(s||O.current?.click())},M=de=>{!x||s||(de.key==="Enter"||de.key===" ")&&(de.preventDefault(),O.current?.click())},j=(()=>{if(x)return{};if(i==="date"){const N=u!==void 0?Fn(u):void 0,we=u===void 0&&g!==void 0?Fn(g):void 0;return u!==void 0?{value:N??""}:g!==void 0?{defaultValue:we}:{}}const de=N=>N instanceof Date?String(N.getTime()):N;return u!==void 0?{value:de(u)}:g!==void 0?{defaultValue:de(g)}:{}})(),ce=Y([k&&me.hasErrors,i==="date"&&me.dateInput,x&&me.visuallyHidden]),pe={name:n,readOnly:a,disabled:s,required:l,type:i,role:w,id:t,min:B,max:S,onChange:e,onBlur:r,onFocus:K,placeholder:x?void 0:V,className:ce||void 0,"aria-describedby":[k&&ee?ie():null,L?te:null,Z].filter(Boolean).join(" ").trim()||void 0,"aria-invalid":k||void 0,"aria-autocomplete":Zo(i)?W:void 0,style:y?void 0:ae,...j};return d.jsxs("div",{className:Y([me.inputField,me[i],q&&me.noMargin]),children:[d.jsxs($e,{htmlFor:t,children:[f,l&&d.jsx("img",{src:_e,alt:"",className:me.requiredSymbol}),x&&d.jsxs("div",{className:me.fileInputContainer,onClick:Q,onKeyDown:M,role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,children:[d.jsx("span",{className:me.input,children:C}),d.jsx(Ne,{color:I,inputType:"button",onClick:()=>O.current?.click(),content:_,disabled:s||A,"aria-label":G})]})]}),y?d.jsxs("div",{className:me.inputWithButton,style:ae,children:[d.jsx("input",{...pe,ref:O},p||t),d.jsx(Ne,{color:I,inputType:"button",onClick:E,disabled:A,"aria-label":G,iconLeft:b,iconRight:h,noMargin:!0,children:m})]}):d.jsx("input",{...pe,ref:O},p||t),L?d.jsx("p",{className:me.caption,id:te,children:L}):null,k&&ee?d.jsx(ze,{id:ie(),content:ee}):null]})},Tn={list:"_list_16gsl_1",compact:"_compact_16gsl_10"},Oo=({listStyle:t,compact:e=!1,ordered:r=!1,children:o})=>{const n=a=>Pe(a).map(u=>v.isValidElement(u)?v.cloneElement(u,{compact:e,key:`listItem-${u.key}`}):u),i=r?"ol":"ul",s=r?"decimal":"disc";return v.createElement(i,{className:`${Tn.list} ${e?Tn.compact:""}`,style:{"--listStyle":t||s}},n(v.Children.toArray(o)))},Pn={listItem:"_listItem_33xs0_1",compact:"_compact_33xs0_5"},ko=({compact:t=!1,children:e})=>{const r=Y([Pn.listItem,t&&Pn.compact]);return d.jsx("li",{className:r,children:e})},Rn={LoadingAnimation:"_LoadingAnimation_1blqf_1",dot:"_dot_1blqf_11"},Mn=({ariaLabel:t="Laster inn"})=>{const e=[0,.15,.3];return d.jsx("div",{role:"img","aria-label":t,className:Rn.LoadingAnimation,children:e.map(r=>d.jsx("span",{className:Rn.dot,style:{animationDelay:`${r}s`}},r))})},Do={dibk:{appName:"DiBK",logo:"data:image/svg+xml,%3csvg%20width='283'%20height='47'%20viewBox='0%200%20283%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5119_83056)'%3e%3cpath%20d='M17.3789%2014.2536L-0.164062%2022.5076V30.0949L17.3997%2021.8198L34.9635%2030.0949V22.5076L17.4206%2014.2536H17.3789ZM-0.164062%2041.7047H34.9635V34.847H-0.164062V41.7047ZM16.1496%202.26857C11.9202%203.91522%207.79485%204.22787%203.89875%203.14401C2.00275%202.62294%200.606826%201.87256%20-0.164062%201.41401V9.25117C2.08611%2010.1266%205.06547%2010.877%208.58656%2010.877C12.1077%2010.877%2014.9621%2010.335%2018.6498%208.89684C22.8793%207.25019%2027.0046%206.93754%2030.9007%208.0214C32.7967%208.54247%2034.1926%209.29285%2034.9635%209.7514V1.91424C30.7965%200.309309%2024.2127%20-0.878783%2016.1496%202.26857Z'%20fill='%23003045'/%3e%3c/g%3e%3cpath%20d='M92.2652%2019.561C88.355%2019.561%2085.6758%2016.7612%2085.6758%2012.8511C85.6758%208.62723%2088.4515%206.02051%2092.0238%206.02051C95.6443%206.02051%2098.058%208.55482%2098.1305%2012.7063V13.3821H88.5239C88.717%2015.6268%2090.117%2017.1474%2092.2893%2017.1474C93.7617%2017.1474%2094.872%2016.4233%2095.3064%2015.144H98.0822C97.4305%2017.8956%2095.2823%2019.561%2092.2652%2019.561ZM88.6446%2011.3788H95.1857C94.8237%209.54441%2093.6893%208.43414%2092.0238%208.43414C90.3342%208.43414%2089.0791%209.54441%2088.6446%2011.3788Z'%20fill='%23003045'/%3e%3cpath%20d='M73.5649%204.69286C72.527%204.69286%2071.7305%203.87222%2071.7305%202.83436C71.7305%201.7965%2072.527%201%2073.5649%201C74.6269%201%2075.3993%201.7965%2075.3993%202.83436C75.3993%203.87222%2074.6269%204.69286%2073.5649%204.69286ZM74.989%2019.1988H72.1408V6.40653H74.989V19.1988Z'%20fill='%23003045'/%3e%3cpath%20d='M57.8964%2019.1991H55V2.30371H58.1378L66.5133%2015.0236V2.30371H69.4098V19.1991H66.272L57.8964%206.47929V19.1991Z'%20fill='%23003045'/%3e%3cpath%20d='M79.9182%206.8571L80.262%209.56095L84.0868%206.49219L85.6767%208.3163L80.4553%2012.3941V19.0895H77.7266V6.8571H79.9182Z'%20fill='%23003045'/%3e%3cpath%20d='M105.142%206.02051C107.054%206.02051%20108.622%206.92176%20109.374%208.27344L109.611%206.38574H111.781V18.2539C111.781%2021.4938%20109.181%2023.6181%20105.765%2023.6182C102.348%2023.6182%2099.9854%2021.9658%2099.9854%2019.3262H102.714C102.714%2020.4851%20103.595%2021.4082%20105.765%2021.4082C107.935%2021.4082%20109.074%2020.12%20109.074%2018.2744V16.5361C108.279%2017.7166%20108.45%2018.4463%20105.163%2018.4463C101.875%2018.4462%2099.5117%2015.9138%2099.5117%2012.2656C99.5118%208.61706%20101.876%206.02056%20105.142%206.02051ZM105.68%208.31738C103.703%208.31738%20102.327%209.90489%20102.327%2012.2441C102.327%2014.5831%20103.682%2016.1504%20105.68%2016.1504C107.656%2016.1502%20109.053%2014.5403%20109.053%2012.2227C109.053%209.90508%20107.656%208.31761%20105.68%208.31738Z'%20fill='%23003045'/%3e%3cpath%20d='M57.704%2041.6182H56.36V30.4182H57.896L64.232%2039.6982V30.4182H65.576V41.6182H64.04L57.704%2032.3382V41.6182ZM70.7615%2041.7462C68.8415%2041.7462%2067.6095%2040.7542%2067.6095%2039.2022C67.6095%2037.2502%2069.4975%2036.8822%2071.1935%2036.7062C72.4895%2036.5782%2073.6095%2036.5942%2073.6255%2035.9062C73.6095%2034.8342%2072.7295%2034.0822%2071.4495%2034.0822C70.2175%2034.0822%2069.2575%2034.7702%2069.1135%2035.7782H67.8015C67.9615%2034.1142%2069.4655%2032.9462%2071.4815%2032.9462C73.5775%2032.9462%2074.9215%2034.1942%2074.9215%2035.9862V40.1142C74.9215%2040.3862%2075.0655%2040.5302%2075.3535%2040.5302H75.8335V41.6182H75.0815C74.1695%2041.6182%2073.6895%2041.2022%2073.6895%2040.4182V40.1622C73.1935%2041.1382%2072.2335%2041.7462%2070.7615%2041.7462ZM70.9535%2040.6102C72.5375%2040.6102%2073.6255%2039.6022%2073.6255%2038.1942V37.0902C73.2575%2037.5862%2072.3135%2037.6822%2071.2735%2037.7942C70.1055%2037.9222%2068.9375%2038.0822%2068.9375%2039.1702C68.9375%2040.0502%2069.7375%2040.6102%2070.9535%2040.6102ZM80.4904%2041.7942C78.4744%2041.7942%2076.9864%2040.7382%2076.8744%2038.9462H78.1704C78.2664%2040.0502%2079.2744%2040.6582%2080.5544%2040.6582C81.7544%2040.6582%2082.3304%2040.1942%2082.3304%2039.3462C82.3304%2038.5462%2081.7064%2038.3702%2080.8264%2038.0662L79.5944%2037.6502C78.3464%2037.2342%2077.0984%2036.8502%2077.0984%2035.3142C77.0984%2033.8742%2078.2184%2032.9462%2080.0744%2032.9462C81.9464%2032.9462%2083.2424%2033.9542%2083.4504%2035.8422H82.1544C82.0104%2034.6582%2081.1784%2034.0822%2080.0264%2034.0822C78.9864%2034.0822%2078.3784%2034.5462%2078.3784%2035.2822C78.3784%2036.1622%2079.3064%2036.3382%2080.0104%2036.5782L81.1624%2036.9622C82.7144%2037.4742%2083.6424%2038.0022%2083.6424%2039.4102C83.6424%2040.8982%2082.5544%2041.7942%2080.4904%2041.7942ZM85.9475%2031.7142C85.3715%2031.7142%2084.9555%2031.2982%2084.9555%2030.7222C84.9555%2030.1622%2085.3715%2029.7462%2085.9475%2029.7462C86.5075%2029.7462%2086.9235%2030.1622%2086.9235%2030.7222C86.9235%2031.2982%2086.5075%2031.7142%2085.9475%2031.7142ZM84.0755%2044.8182H82.8915V43.6982H84.0755C84.8595%2043.6982%2085.2755%2043.2502%2085.2755%2042.4022V33.1382H86.6035V42.4022C86.6035%2043.9702%2085.7235%2044.8182%2084.0755%2044.8182ZM92.5035%2041.7942C89.7835%2041.7942%2088.3435%2039.8582%2088.3435%2037.2982C88.3435%2034.4662%2090.1995%2032.9462%2092.5035%2032.9462C95.2075%2032.9462%2096.6635%2034.8982%2096.6635%2037.2982C96.6635%2040.2262%2094.8875%2041.7942%2092.5035%2041.7942ZM92.5035%2040.6422C94.3115%2040.6422%2095.3035%2039.1382%2095.3035%2037.2982C95.3035%2035.3942%2094.1995%2034.0982%2092.5035%2034.0982C90.8075%2034.0982%2089.7035%2035.3942%2089.7035%2037.2982C89.7035%2039.4742%2090.9675%2040.6422%2092.5035%2040.6422ZM99.7285%2041.6182H98.4005V33.1382H99.4565L99.5845%2034.4342C100.161%2033.5382%20101.265%2032.9462%20102.529%2032.9462C104.353%2032.9462%20105.569%2034.1302%20105.569%2036.0022V41.6182H104.241V36.0502C104.241%2034.8662%20103.473%2034.1142%20102.193%2034.1142C100.673%2034.1142%2099.7445%2035.1702%2099.7285%2036.4662V41.6182ZM110.387%2041.7462C108.467%2041.7462%20107.235%2040.7542%20107.235%2039.2022C107.235%2037.2502%20109.123%2036.8822%20110.819%2036.7062C112.115%2036.5782%20113.235%2036.5942%20113.251%2035.9062C113.235%2034.8342%20112.355%2034.0822%20111.075%2034.0822C109.843%2034.0822%20108.883%2034.7702%20108.739%2035.7782H107.427C107.587%2034.1142%20109.091%2032.9462%20111.107%2032.9462C113.203%2032.9462%20114.547%2034.1942%20114.547%2035.9862V40.1142C114.547%2040.3862%20114.691%2040.5302%20114.979%2040.5302H115.459V41.6182H114.707C113.795%2041.6182%20113.315%2041.2022%20113.315%2040.4182V40.1622C112.819%2041.1382%20111.859%2041.7462%20110.387%2041.7462ZM110.579%2040.6102C112.163%2040.6102%20113.251%2039.6022%20113.251%2038.1942V37.0902C112.883%2037.5862%20111.939%2037.6822%20110.899%2037.7942C109.731%2037.9222%20108.562%2038.0822%20108.562%2039.1702C108.562%2040.0502%20109.363%2040.6102%20110.579%2040.6102ZM118.323%2041.6182H116.995V29.6182H118.323V41.6182ZM124.957%2041.6182H124.013C122.365%2041.6182%20121.485%2040.7702%20121.485%2039.2022V34.2582H119.917V33.1382H121.485V30.2422H122.813V33.1382H125.101V34.2582H122.813V39.2022C122.813%2040.0502%20123.229%2040.4982%20124.013%2040.4982H124.957V41.6182ZM130.932%2031.7142C130.372%2031.7142%20129.94%2031.2822%20129.94%2030.7222C129.94%2030.1622%20130.372%2029.7462%20130.932%2029.7462C131.492%2029.7462%20131.908%2030.1622%20131.908%2030.7222C131.908%2031.2822%20131.492%2031.7142%20130.932%2031.7142ZM131.588%2041.6182H130.26V33.1382H131.588V41.6182ZM135.088%2041.6182H133.76V33.1382H134.816L134.944%2034.4342C135.52%2033.5382%20136.624%2032.9462%20137.888%2032.9462C139.712%2032.9462%20140.928%2034.1302%20140.928%2036.0022V41.6182H139.6V36.0502C139.6%2034.8662%20138.832%2034.1142%20137.552%2034.1142C136.032%2034.1142%20135.104%2035.1702%20135.088%2036.4662V41.6182ZM146.178%2041.7942C144.162%2041.7942%20142.674%2040.7382%20142.562%2038.9462H143.858C143.954%2040.0502%20144.962%2040.6582%20146.242%2040.6582C147.442%2040.6582%20148.018%2040.1942%20148.018%2039.3462C148.018%2038.5462%20147.394%2038.3702%20146.514%2038.0662L145.282%2037.6502C144.034%2037.2342%20142.786%2036.8502%20142.786%2035.3142C142.786%2033.8742%20143.906%2032.9462%20145.762%2032.9462C147.634%2032.9462%20148.93%2033.9542%20149.138%2035.8422H147.842C147.698%2034.6582%20146.866%2034.0822%20145.714%2034.0822C144.674%2034.0822%20144.066%2034.5462%20144.066%2035.2822C144.066%2036.1622%20144.994%2036.3382%20145.698%2036.5782L146.85%2036.9622C148.402%2037.4742%20149.33%2038.0022%20149.33%2039.4102C149.33%2040.8982%20148.242%2041.7942%20146.178%2041.7942ZM155.16%2041.6182H154.216C152.568%2041.6182%20151.688%2040.7702%20151.688%2039.2022V34.2582H150.12V33.1382H151.688V30.2422H153.016V33.1382H155.304V34.2582H153.016V39.2022C153.016%2040.0502%20153.432%2040.4982%20154.216%2040.4982H155.16V41.6182ZM159.605%2041.7462C157.685%2041.7462%20156.453%2040.7542%20156.453%2039.2022C156.453%2037.2502%20158.341%2036.8822%20160.037%2036.7062C161.333%2036.5782%20162.453%2036.5942%20162.469%2035.9062C162.453%2034.8342%20161.573%2034.0822%20160.293%2034.0822C159.061%2034.0822%20158.101%2034.7702%20157.957%2035.7782H156.645C156.805%2034.1142%20158.309%2032.9462%20160.325%2032.9462C162.421%2032.9462%20163.765%2034.1942%20163.765%2035.9862V40.1142C163.765%2040.3862%20163.909%2040.5302%20164.197%2040.5302H164.677V41.6182H163.925C163.013%2041.6182%20162.533%2041.2022%20162.533%2040.4182V40.1622C162.037%2041.1382%20161.077%2041.7462%20159.605%2041.7462ZM159.797%2040.6102C161.381%2040.6102%20162.469%2039.6022%20162.469%2038.1942V37.0902C162.101%2037.5862%20161.157%2037.6822%20160.117%2037.7942C158.949%2037.9222%20157.781%2038.0822%20157.781%2039.1702C157.781%2040.0502%20158.581%2040.6102%20159.797%2040.6102ZM167.542%2041.6182H166.214V29.6182H167.542V41.6182ZM171.136%2041.6182H169.808V29.6182H171.136V41.6182ZM176.09%2041.7462C174.17%2041.7462%20172.938%2040.7542%20172.938%2039.2022C172.938%2037.2502%20174.826%2036.8822%20176.522%2036.7062C177.818%2036.5782%20178.938%2036.5942%20178.954%2035.9062C178.938%2034.8342%20178.058%2034.0822%20176.778%2034.0822C175.546%2034.0822%20174.586%2034.7702%20174.442%2035.7782H173.13C173.29%2034.1142%20174.794%2032.9462%20176.81%2032.9462C178.906%2032.9462%20180.25%2034.1942%20180.25%2035.9862V40.1142C180.25%2040.3862%20180.394%2040.5302%20180.682%2040.5302H181.162V41.6182H180.41C179.498%2041.6182%20179.018%2041.2022%20179.018%2040.4182V40.1622C178.522%2041.1382%20177.562%2041.7462%20176.09%2041.7462ZM176.282%2040.6102C177.866%2040.6102%20178.954%2039.6022%20178.954%2038.1942V37.0902C178.586%2037.5862%20177.642%2037.6822%20176.602%2037.7942C175.434%2037.9222%20174.266%2038.0822%20174.266%2039.1702C174.266%2040.0502%20175.066%2040.6102%20176.282%2040.6102ZM185.819%2041.7942C183.803%2041.7942%20182.315%2040.7382%20182.203%2038.9462H183.499C183.595%2040.0502%20184.603%2040.6582%20185.883%2040.6582C187.083%2040.6582%20187.659%2040.1942%20187.659%2039.3462C187.659%2038.5462%20187.035%2038.3702%20186.155%2038.0662L184.923%2037.6502C183.674%2037.2342%20182.427%2036.8502%20182.427%2035.3142C182.427%2033.8742%20183.547%2032.9462%20185.403%2032.9462C187.275%2032.9462%20188.571%2033.9542%20188.779%2035.8422H187.483C187.339%2034.6582%20186.507%2034.0822%20185.355%2034.0822C184.315%2034.0822%20183.707%2034.5462%20183.707%2035.2822C183.707%2036.1622%20184.635%2036.3382%20185.339%2036.5782L186.491%2036.9622C188.043%2037.4742%20188.971%2038.0022%20188.971%2039.4102C188.971%2040.8982%20187.883%2041.7942%20185.819%2041.7942ZM191.276%2031.7142C190.7%2031.7142%20190.284%2031.2982%20190.284%2030.7222C190.284%2030.1622%20190.7%2029.7462%20191.276%2029.7462C191.836%2029.7462%20192.252%2030.1622%20192.252%2030.7222C192.252%2031.2982%20191.836%2031.7142%20191.276%2031.7142ZM189.404%2044.8182H188.22V43.6982H189.404C190.188%2043.6982%20190.604%2043.2502%20190.604%2042.4022V33.1382H191.932V42.4022C191.932%2043.9702%20191.052%2044.8182%20189.404%2044.8182ZM197.832%2041.7942C195.112%2041.7942%20193.672%2039.8582%20193.672%2037.2982C193.672%2034.4662%20195.528%2032.9462%20197.832%2032.9462C200.536%2032.9462%20201.992%2034.8982%20201.992%2037.2982C201.992%2040.2262%20200.216%2041.7942%20197.832%2041.7942ZM197.832%2040.6422C199.64%2040.6422%20200.632%2039.1382%20200.632%2037.2982C200.632%2035.3942%20199.528%2034.0982%20197.832%2034.0982C196.136%2034.0982%20195.032%2035.3942%20195.032%2037.2982C195.032%2039.4742%20196.296%2040.6422%20197.832%2040.6422ZM205.057%2041.6182H203.729V33.1382H204.785L204.913%2034.4342C205.489%2033.5382%20206.593%2032.9462%20207.857%2032.9462C209.681%2032.9462%20210.897%2034.1302%20210.897%2036.0022V41.6182H209.569V36.0502C209.569%2034.8662%20208.801%2034.1142%20207.521%2034.1142C206.001%2034.1142%20205.073%2035.1702%20205.057%2036.4662V41.6182ZM216.147%2041.7942C214.131%2041.7942%20212.643%2040.7382%20212.531%2038.9462H213.827C213.923%2040.0502%20214.931%2040.6582%20216.211%2040.6582C217.411%2040.6582%20217.987%2040.1942%20217.987%2039.3462C217.987%2038.5462%20217.363%2038.3702%20216.483%2038.0662L215.251%2037.6502C214.003%2037.2342%20212.755%2036.8502%20212.755%2035.3142C212.755%2033.8742%20213.875%2032.9462%20215.731%2032.9462C217.603%2032.9462%20218.899%2033.9542%20219.107%2035.8422H217.811C217.667%2034.6582%20216.835%2034.0822%20215.683%2034.0822C214.643%2034.0822%20214.035%2034.5462%20214.035%2035.2822C214.035%2036.1622%20214.963%2036.3382%20215.667%2036.5782L216.819%2036.9622C218.371%2037.4742%20219.299%2038.0022%20219.299%2039.4102C219.299%2040.8982%20218.211%2041.7942%20216.147%2041.7942ZM222.26%2041.6182H220.932V33.1382H221.988L222.148%2034.7542C222.692%2033.6662%20223.684%2033.0902%20225.092%2033.0902H225.38V34.4022H225.092C223.3%2034.4022%20222.26%2035.4262%20222.26%2037.1702V41.6182ZM230.254%2041.7942C227.742%2041.7942%20226.078%2039.9542%20226.078%2037.4102C226.078%2034.5142%20227.95%2032.9462%20230.094%2032.9462C232.43%2032.9462%20233.934%2034.5142%20233.982%2037.2342V37.6022H227.406C227.486%2039.4102%20228.542%2040.6422%20230.254%2040.6422C231.438%2040.6422%20232.302%2040.0502%20232.654%2038.9462H233.95C233.566%2040.6902%20232.19%2041.7942%20230.254%2041.7942ZM227.486%2036.4982H232.59C232.35%2035.0102%20231.454%2034.0982%20230.094%2034.0982C228.75%2034.0982%20227.758%2034.9782%20227.486%2036.4982ZM239.425%2045.0102C237.137%2045.0102%20235.585%2043.9062%20235.585%2042.1142H236.913C236.913%2043.1222%20237.937%2043.8902%20239.425%2043.8902C241.169%2043.8902%20242.081%2042.8502%20242.081%2041.3942V40.0182C241.489%2040.8982%20240.465%2041.4742%20239.169%2041.4742C236.913%2041.4742%20235.297%2039.7462%20235.297%2037.2502C235.297%2034.7062%20236.929%2032.9462%20239.169%2032.9462C240.529%2032.9462%20241.633%2033.5862%20242.209%2034.6102L242.353%2033.1382H243.393V41.3942C243.393%2043.5382%20241.953%2045.0102%20239.425%2045.0102ZM239.361%2040.3222C240.961%2040.3222%20242.081%2039.0422%20242.081%2037.2022C242.081%2035.3782%20240.961%2034.0982%20239.361%2034.0982C237.777%2034.0982%20236.673%2035.3782%20236.673%2037.2342C236.673%2039.0582%20237.777%2040.3222%20239.361%2040.3222ZM246.244%2031.7142C245.684%2031.7142%20245.252%2031.2822%20245.252%2030.7222C245.252%2030.1622%20245.684%2029.7462%20246.244%2029.7462C246.804%2029.7462%20247.22%2030.1622%20247.22%2030.7222C247.22%2031.2822%20246.804%2031.7142%20246.244%2031.7142ZM246.9%2041.6182H245.572V33.1382H246.9V41.6182ZM252.24%2041.7942C250.224%2041.7942%20248.736%2040.7382%20248.624%2038.9462H249.92C250.016%2040.0502%20251.024%2040.6582%20252.304%2040.6582C253.504%2040.6582%20254.08%2040.1942%20254.08%2039.3462C254.08%2038.5462%20253.456%2038.3702%20252.576%2038.0662L251.344%2037.6502C250.096%2037.2342%20248.848%2036.8502%20248.848%2035.3142C248.848%2033.8742%20249.968%2032.9462%20251.824%2032.9462C253.696%2032.9462%20254.992%2033.9542%20255.2%2035.8422H253.904C253.76%2034.6582%20252.928%2034.0822%20251.776%2034.0822C250.736%2034.0822%20250.128%2034.5462%20250.128%2035.2822C250.128%2036.1622%20251.056%2036.3382%20251.76%2036.5782L252.912%2036.9622C254.464%2037.4742%20255.392%2038.0022%20255.392%2039.4102C255.392%2040.8982%20254.304%2041.7942%20252.24%2041.7942ZM261.223%2041.6182H260.279C258.631%2041.6182%20257.751%2040.7702%20257.751%2039.2022V34.2582H256.183V33.1382H257.751V30.2422H259.079V33.1382H261.367V34.2582H259.079V39.2022C259.079%2040.0502%20259.495%2040.4982%20260.279%2040.4982H261.223V41.6182ZM266.473%2041.7942C263.961%2041.7942%20262.297%2039.9542%20262.297%2037.4102C262.297%2034.5142%20264.169%2032.9462%20266.313%2032.9462C268.649%2032.9462%20270.153%2034.5142%20270.201%2037.2342V37.6022H263.625C263.705%2039.4102%20264.761%2040.6422%20266.473%2040.6422C267.657%2040.6422%20268.521%2040.0502%20268.873%2038.9462H270.169C269.785%2040.6902%20268.409%2041.7942%20266.473%2041.7942ZM263.705%2036.4982H268.809C268.569%2035.0102%20267.673%2034.0982%20266.313%2034.0982C264.969%2034.0982%20263.977%2034.9782%20263.705%2036.4982ZM273.275%2041.6182H271.947V33.1382H273.003L273.163%2034.7542C273.707%2033.6662%20274.699%2033.0902%20276.107%2033.0902H276.395V34.4022H276.107C274.315%2034.4022%20273.275%2035.4262%20273.275%2037.1702V41.6182Z'%20fill='%23003045'/%3e%3cdefs%3e%3cclipPath%20id='clip0_5119_83056'%3e%3crect%20width='35'%20height='42'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",colors:{bodyBackground:"#ebf4fa",defaultText:"#202020",headingText:"#003045",primaryText:"#005275",primary:"#003045",primaryLight:"#264f61",primaryXLight:"#406474",primaryContrast:"#ffffff",secondary:"#ffffff",secondaryLight:"#c7e0f2",secondaryXLight:"#ebf4fa",secondaryContrast:"#005275",formElement:"#003045",border:"#89bad6",focus:"rgba(0, 92, 173, 0.4)",defaultBackground:"#f1fae3",secondaryBackground:"#f5f0f0",success:"#177912",successLight:"#cbebb0",successXLight:"#f1fae3",warning:"#ffbe00",warningLight:"#fcefb6",warningXLight:"#fff8db",error:"#db0000",errorLight:"#ffc5c2",errorXLight:"#fceceb"}},arbeidstilsynet:{appName:"Arbeidstilsynet",logo:"data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20668.4%20171.17'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23fff;}.cls-2{fill:%2311c1b0;}%3c/style%3e%3c/defs%3e%3ctitle%3eArtboard%201%3c/title%3e%3ccircle%20class='cls-1'%20cx='75.91'%20cy='79.24'%20r='68.12'/%3e%3cpath%20d='M161.61,155.16l21.66-50.54h6.86l21.66,50.54H201.61L196.84,144H176.56l-4.76,11.19Zm18.63-19.86h12.85l-6.43-14.95Z'/%3e%3cpath%20d='M237.05,128.44a13,13,0,0,0-3.39-.36,10.39,10.39,0,0,0-8.52,5.06v22h-9.39v-35h9v3.54c2.09-2.6,5.92-4.26,10.18-4.26a19.08,19.08,0,0,1,3.18.29Z'/%3e%3cpath%20d='M243.91,155.16V103.89h9.39v18.77a15.52,15.52,0,0,1,9.89-3.25c9.53,0,17.18,7.94,17.18,18.27A18.8,18.8,0,0,1,275.89,150a17.61,17.61,0,0,1-13.21,5.92,14.65,14.65,0,0,1-9.75-3.54v2.82Zm9.39-12.27a10.25,10.25,0,0,0,8.45,4.33,9.15,9.15,0,0,0,9.24-9.53c0-5.06-3.54-9.6-9-9.6a10.76,10.76,0,0,0-8.66,4.33Z'/%3e%3cpath%20d='M317.4,149.6A19,19,0,0,1,303,155.88c-10.47,0-18.34-7.22-18.34-18.19,0-9.75,6.64-18.27,17-18.27,9.68,0,16.53,8.16,16.53,17.91a15.48,15.48,0,0,1-.22,2.67H293.79a9.19,9.19,0,0,0,9.46,8.3,12.39,12.39,0,0,0,8.81-4Zm-8.74-16.46a7,7,0,0,0-6.93-6.14,7.6,7.6,0,0,0-7.51,6.14Z'/%3e%3cpath%20d='M329.45,101.72a6,6,0,1,1-6.14,6A6,6,0,0,1,329.45,101.72Zm4.69,53.43h-9.39v-35h9.39Z'/%3e%3cpath%20d='M368.08,155.16v-2.82a14.65,14.65,0,0,1-9.75,3.54A17.61,17.61,0,0,1,345.12,150a18.8,18.8,0,0,1-4.48-12.27c0-10.33,7.65-18.27,17.19-18.27a15.52,15.52,0,0,1,9.89,3.25V103.89h9.39v51.26Zm-.36-22.74a10.77,10.77,0,0,0-8.66-4.33c-5.49,0-9,4.55-9,9.6a9.15,9.15,0,0,0,9.24,9.53,10.25,10.25,0,0,0,8.45-4.33Z'/%3e%3cpath%20d='M387.56,144.47a14.75,14.75,0,0,0,9.6,3.46c2.53,0,4.48-1.23,4.48-3,0-5.27-17-3.39-17-14.66,0-6.71,6.5-10.9,13.43-10.9,4.55,0,9.53,1.73,11.84,3.54l-4.4,6.79a11.81,11.81,0,0,0-6.71-2.38c-2.6,0-4.77,1-4.77,2.82,0,4.55,17,2.75,17,14.87,0,6.71-6.57,10.83-13.94,10.83A24.22,24.22,0,0,1,383,151.18Z'/%3e%3cpath%20d='M443.15,155.16a23.14,23.14,0,0,1-5.85.72c-5.63,0-9.75-1.88-12.13-5.05-1.8-2.38-2.6-5.49-2.6-10.47V128.08h-9.75v-7.94h9.75v-9.75H432v9.75h11.55v7.94H432v13.36c0,2.17.36,3.46,1.16,4.4s2.45,1.73,4.76,1.73a22.8,22.8,0,0,0,3.83-.36Z'/%3e%3cpath%20d='M455.78,101.72a6,6,0,1,1-6.14,6A6,6,0,0,1,455.78,101.72Zm4.69,53.43h-9.39v-35h9.39Z'/%3e%3cpath%20d='M479.25,155.16h-9.39V103.89h9.39Z'/%3e%3cpath%20d='M489.71,144.47a14.75,14.75,0,0,0,9.6,3.46c2.53,0,4.48-1.23,4.48-3,0-5.27-17-3.39-17-14.66,0-6.71,6.5-10.9,13.43-10.9,4.55,0,9.53,1.73,11.84,3.54l-4.4,6.79a11.81,11.81,0,0,0-6.71-2.38c-2.6,0-4.77,1-4.77,2.82,0,4.55,17,2.75,17,14.87,0,6.71-6.57,10.83-13.94,10.83a24.22,24.22,0,0,1-14.08-4.69Z'/%3e%3cpath%20d='M521.69,172.49l9.67-20.87L515.7,120.14H526l10.25,21,9.46-21h9.89l-24.12,52.35Z'/%3e%3cpath%20d='M560.31,155.16v-35h9V123a15.45,15.45,0,0,1,9.89-3.54A15.78,15.78,0,0,1,591.36,125c2.31,2.75,3.61,6.28,3.61,12.27v17.83h-9.39V136.6c0-3.46-.79-5.27-2.09-6.57a7.38,7.38,0,0,0-5.27-2,11.18,11.18,0,0,0-8.52,4.33v22.74Z'/%3e%3cpath%20d='M633.45,149.6a19,19,0,0,1-14.37,6.28c-10.47,0-18.34-7.22-18.34-18.19,0-9.75,6.64-18.27,17-18.27,9.68,0,16.53,8.16,16.53,17.91a15.48,15.48,0,0,1-.22,2.67H609.84a9.19,9.19,0,0,0,9.46,8.3,12.39,12.39,0,0,0,8.81-4Zm-8.74-16.46a7,7,0,0,0-6.93-6.14,7.6,7.6,0,0,0-7.51,6.14Z'/%3e%3cpath%20d='M666.44,155.16a23.16,23.16,0,0,1-5.85.72c-5.63,0-9.75-1.88-12.13-5.05-1.8-2.38-2.6-5.49-2.6-10.47V128.08h-9.75v-7.94h9.75v-9.75h9.39v9.75H666.8v7.94H655.25v13.36c0,2.17.36,3.46,1.16,4.4s2.45,1.73,4.76,1.73a22.8,22.8,0,0,0,3.83-.36Z'/%3e%3cpath%20class='cls-2'%20d='M84.69,34.34c.52,1.69,0,3.34-1.25,3.74a5.9,5.9,0,0,1-1.21.29,3.83,3.83,0,0,0,.73.17,3.85,3.85,0,1,0,1-7.63,4,4,0,0,0-3.71,1.58A6.54,6.54,0,0,1,81.55,32C82.77,31.6,84.17,32.65,84.69,34.34Z'/%3e%3cpath%20class='cls-2'%20d='M69.13,33.52c-1.33.07-2.86,1-4.72,2.84-.14.14,2.56-1.41,3.24-.69a2.17,2.17,0,0,0,1.91.73c1-.08,1.56-.58,1.5-1.44A1.72,1.72,0,0,0,69.13,33.52Z'/%3e%3cpath%20class='cls-2'%20d='M75.91,3.33A75.91,75.91,0,0,0,0,79.24v75.91H75.91a75.91,75.91,0,0,0,0-151.82ZM126.2,80.78c-.47-5.58-2.41-6.54-2.19-5.26a22.38,22.38,0,0,1,.3,7.45c-.48,3.69-5.49,9-5.49,9s-2.9-4.41-2.5-8.31,4.75-7.76,2.27-6.45c-2.11,1.12-3.52,4.84-3.52,4.84s-1.08-1.29-.59-4.41,5.31-7,5.87-7.55a2.72,2.72,0,0,0,.34-2.46,7.4,7.4,0,0,0-6.18-4.57,9.58,9.58,0,0,0-10.89,8,9,9,0,0,0,1.2,5.75,50.28,50.28,0,0,0,4.51,6.24,28.94,28.94,0,0,1,4.1,6,9.45,9.45,0,0,1,.65,5.16A10.72,10.72,0,0,1,102,103.39c-.95-.12-1.89-.27-2.8-.45a8.77,8.77,0,0,0,3.35,5.1c2.4,1.85,5,1.25,7.19,2.47s2.6,2.11,2.6,2.11-2.94-.61-3.05.23,1.89.94,3.09,1.32a3.44,3.44,0,0,1,1.79,1.7s-1.83-.78-1.55,0c0,.06.94,1.42,1.76,2.62s1.46,2.43.27,4.2a58.43,58.43,0,0,1-15.16,9.78,12.21,12.21,0,0,1-.82-6.66c.4-2.4,1.7-3.3,3.51-3.36s3.41.31,4.52-1a1.74,1.74,0,0,0,.34-1.25,23.71,23.71,0,0,0-3.9-3.47c-2.15-1.36-2.93-2.54-6.89-2.43s-12.09,1.94-16.34-2.95a12.44,12.44,0,0,1-2.41-4.25,14.24,14.24,0,0,1-1.58,1h0c-.42.23-2.38,1.09-2.38,1.09-2.61,1-5.64,1.74-7.6,2.29-2.61.74-3.66,1.51-4.25,3-.66,1.71.58,4.31.58,4.31a12.83,12.83,0,0,1-2.12,3.21,18,18,0,0,1-4.42,3.13s2.35-5,0-2.2a10.21,10.21,0,0,1-4.61,3.37c1.2-1.4,1.45-3.4,0-1.72s-4.82,2.49-4.82,2.49c1.48-1,2.78-2.91,1.25-2.25a15.19,15.19,0,0,1-5,1,3.43,3.43,0,0,1-1.75-.3,58.76,58.76,0,0,1-12.52-13,16.23,16.23,0,0,1,7.21-2.09c2.43-.07,2.61.75,3.44,2.36.91,1.76,1.21,6,1.21,6s2.21,1.35,6.52.82c3-.73,4.7-1.91,4.86-2.42s-2.33-7.71.6-12.09a11.22,11.22,0,0,1,2.75-2.86h0a19.59,19.59,0,0,1,4-2.13c-7.61-2.83-9.26-7.62-9.78-8.79-.85-1.91-.5,4-.5,4a11.43,11.43,0,0,1-1.86-6.72h0a26.88,26.88,0,0,1,.32-3.3,26.65,26.65,0,0,1-7.11-1.07s5.58-2.23-.18-1.29c-5.51.9-8.45-.85-8.45-.85.95-.22,4.32-2.32.82-1.5-5.25,1.23-7.85-1.47-7.85-1.47,1.46.24,4.47-.35,2.5-1.17a28.94,28.94,0,0,1-4-2.29c-.27-.16-4.17-2.83-4.29-5.63a57.77,57.77,0,0,1,4.4-14.71A13.17,13.17,0,0,1,27.84,60a3.65,3.65,0,0,1-.64,5c-1.3,1.25-2.68,2.14-2.68,3.42,0,.76.67,1.37,1.35,1.83.35.23.69.42.94.57a78,78,0,0,0,17.7,4.56A18.41,18.41,0,0,1,48.18,68l-.08-.09a22.3,22.3,0,0,1-5-8.09s5.39,2.66.84-1c-4.36-3.5-5-6.85-5-6.85.8.55,4.61,1.66,1.67-.39-4.43-3.08-4.16-6.82-4.16-6.82.8,1.25,3.25,3.09,2.55,1.08a34.89,34.89,0,0,1-1-4.45c-.07-.28-.13-.58-.2-.92-.32-1.77-.73-3.8.69-5.81A58.43,58.43,0,0,1,51.14,26.5a12.78,12.78,0,0,1,1,6.81,3.54,3.54,0,0,1-3.71,3.29c-1.8.1-3.2-.25-4.29,1.07-.76.93,0,2.63.23,3.44v0a79.25,79.25,0,0,0,9.47,17.71,14.57,14.57,0,0,1,7-2.62c1.55-.15,4.24-.51,1.9-1.08-2.56-.62-5.82.14-2.79-1.16,3.69-1.59,8.6.33,10.13,0s1.85-3.17,1.91-4.53h-.34c-1.77.15-6.48.61-8.17,1.36a11.37,11.37,0,0,1-1.12-4.29,2.4,2.4,0,0,0,.69.56,6.89,6.89,0,0,0,3-.12,3.1,3.1,0,0,0,2.51-1.77,2.33,2.33,0,0,0-1.09-2.67,4.65,4.65,0,0,0-3.22.44l-.65.41c-1.72,1.09-1.35,2.31-1.35,2.31s-1.64-1-2.81-4.88c0,0-2.16-1.55-2.13-2.53a22.76,22.76,0,0,1,5.93-4.15,13.29,13.29,0,0,1,7.06-4.5s2.44-5.39,10.08-5.88c3.07-.2-3.35,1.53-4.14,2.42-1.49,1.68,3.29-1.94,10.53-.91l.38.05c.33.05,1.27.27,1.41.31l.73.22c7.15,2.4,13.45,10.61,12.4,21.12a17.11,17.11,0,0,0-3.15-6.76c-2.3-3.26-3-2.83-1.07.77,1.79,3.37,3.76,10.13,1.57,15.47a33.26,33.26,0,0,1-2.74,4.79A15.57,15.57,0,0,0,96,53.25c-.91-3.48-1.64-3.33-1.16.3.45,3.41,0,9.75-3.6,13.54a38,38,0,0,1-3.67,3,14.18,14.18,0,0,0,2-6.67c.3-3.29-.38-3.39-1.09-.1-.64,3-2.85,8-6.78,10.29a43.45,43.45,0,0,1-6.11,2.45h0A21.78,21.78,0,0,0,78,84.63a18.71,18.71,0,0,0,4.41,5c.35.27.7.54,1.08.81,0,0,3,.59,5.59,1.07s7.1,2.61,9.35,6.23h0A10.5,10.5,0,0,0,102.14,99c3.86.5,7.59-1.6,8.07-5.38a5.93,5.93,0,0,0-.35-3.18,25.35,25.35,0,0,0-3.54-5.16,52,52,0,0,1-4.71-6.58A12.39,12.39,0,0,1,100,70.79a13,13,0,0,1,14.65-11,13.23,13.23,0,0,1,9.93,6.67C128.5,72.73,126.2,80.78,126.2,80.78ZM56.07,45.18a4,4,0,0,1,5.1.86v0c-1.88-.72-2.94.15-5.69,2.12s-5.24-1-5.24-1v0C52.11,47.84,53.18,46.93,56.07,45.18Z'/%3e%3c/svg%3e",colors:{bodyBackground:"#e7f9f7",defaultText:"#262626",headingText:"#323232",primaryText:"#D13C0A",primary:"#0D7168",primaryLight:"#4a958e",primaryXLight:"#86b8b4",primaryContrast:"#ffffff",secondary:"#a0e6df",secondaryLight:"#d0f3ef",secondaryXLight:"#e7f9f7",secondaryContrast:"#38514e",formElement:"#333",border:"#0D7168",focus:"#00C0B0",defaultBackground:"#EDEEF2",secondaryBackground:"#f6f7f9",success:"#13D646",successLight:"#c4f5d1",successXLight:"#e2fae8",warning:"#FFC414",warningLight:"#fff0c2",warningXLight:"#fff7e0",error:"#FF3116",errorLight:"#ffccc5",errorXLight:"#ffe5e2"}}},jo=t=>t?.logo??"",Yo=t=>t?.logoPadding??"",zo=t=>t?.appName??"",st={navigationBarContainer:"_navigationBarContainer_1cc9c_1",navigationBar:"_navigationBar_1cc9c_1",logoContainer:"_logoContainer_1cc9c_38",secondary:"_secondary_1cc9c_54",neutral:"_neutral_1cc9c_59"},Jo=({logoLink:t="https://www.dibk.no/",logoLinkTitle:e="DIBK logo",openLogoLinkInNewTab:r=!0,theme:o,color:n="neutral"})=>{const i=o?Do[o]:void 0,s=a=>({padding:Yo(a)}),l=(a,c)=>{const u=jo(i),g=zo(i),p=a&&c?"":u&&g?`${g} logo`:"DIBK logo",f=d.jsx("img",{alt:p,src:u,style:s(i)});return a?.length?d.jsx("a",{href:a,title:c,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,children:f}):f};return d.jsx("div",{className:Y([n&&st[n],st.navigationBarContainer]),children:d.jsx("div",{className:Y([st.navigationBar]),children:d.jsx("div",{className:st.logoContainer,children:l(t,e)})})})},Rt={paper:"_paper_1lgl3_1",noMargin:"_noMargin_1lgl3_6",noPadding:"_noPadding_1lgl3_9"},$o=({noMargin:t=!1,noPadding:e=!1,children:r})=>{const o=[Rt.paper,t&&Rt.noMargin,e&&Rt.noPadding].filter(Boolean).join(" ");return d.jsx("div",{className:o,children:r})},Hn={paragraph:"_paragraph_1aaue_1",lead:"_lead_1aaue_9",large:"_large_1aaue_14",small:"_small_1aaue_19"},Uo=({id:t,htmlTag:e="p",variant:r="small",children:o,className:n})=>{const i=Y([Hn.paragraph,Hn[r],n]);return v.createElement(e,{className:i,id:t||void 0},o)},Ln={progressBar:"_progressBar_t5aid_1",hasErrors:"_hasErrors_t5aid_23"},Qo=({progress:t=0,hasErrors:e=!1})=>d.jsx("div",{className:`${Ln.progressBar} ${e?Ln.hasErrors:""}`,role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":100,style:{"--value":t}}),lt={radioButtonIcon:"_radioButtonIcon_jkli5_1",hasErrors:"_hasErrors_jkli5_21",checked:"_checked_jkli5_31",disabled:"_disabled_jkli5_47"},Xn=({size:t="10px",checked:e=!1,disabled:r=!1,hasErrors:o=!1})=>{const n={height:t,width:t},i=[lt.radioButtonIcon,e&&lt.checked,r&&lt.disabled,o&&lt.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:i,style:n})},Me={radioButtonInput:"_radioButtonInput_5o7l0_1",requiredSymbol:"_requiredSymbol_5o7l0_7",disabled:"_disabled_5o7l0_14",labelText:"_labelText_5o7l0_20",hasErrors:"_hasErrors_5o7l0_28"},Mt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,inputValue:a,tabIndex:c,children:u,"aria-controls":g,"aria-describedby":p})=>{const f=[Me.radioButtonInput,t&&Me.checked,e&&Me.disabled,l&&Me.hasErrors].filter(Boolean).join(" "),I={checked:t,disabled:e,hasErrors:l},m={id:n,name:i,type:"radio",value:a,checked:t,disabled:e,required:r||o,onChange:s,tabIndex:c??void 0,"aria-controls":g,"aria-invalid":l?"true":void 0,"aria-describedby":p},b=!!u||r;return d.jsxs("label",{htmlFor:n,className:f,children:[d.jsx(Xn,{...I}),d.jsx("input",{...m}),b&&d.jsxs("span",{className:Me.labelText,children:[u,r&&d.jsx("img",{src:_e,alt:"",className:Me.requiredSymbol})]})]})},Zn={radioButtonList:"_radioButtonList_18lo8_1",requiredSymbol:"_requiredSymbol_18lo8_16"},qo=({legend:t,legendSize:e,required:r=!1,compact:o=!1,children:n})=>{const i=s=>Pe(s).map(a=>v.isValidElement(a)&&a.type?.displayName==="RadioButtonListItem"?v.cloneElement(a,{requiredGroup:r,compact:o,key:`radioButtonListItem-${a.key}`}):a);return d.jsxs("fieldset",{className:Zn.radioButtonList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(De,{size:e,children:t}):t,r&&d.jsx("img",{src:_e,alt:"",className:Zn.requiredSymbol})]}),i(v.Children.toArray(n))]})},Ue={radioButtonListItem:"_radioButtonListItem_14vz4_1",compact:"_compact_14vz4_26",disabled:"_disabled_14vz4_34",checked:"_checked_14vz4_37"},Ko=({inputValue:t,checked:e=!1,disabled:r=!1,required:o=!1,requiredGroup:n=!1,name:i="",id:s,onChange:l,compact:a=!1,hasErrors:c=!1,"aria-controls":u,"aria-describedby":g,children:p})=>{const f=Y([Ue.radioButtonListItem,e&&Ue.checked,r&&Ue.disabled,a&&Ue.compact,c&&Ue.hasErrors]),I={onChange:l,inputValue:t,checked:e,disabled:r,required:o,requiredGroup:n,hasErrors:c,"aria-controls":u,"aria-describedby":g,id:s,name:i};return d.jsx("div",{className:f,children:d.jsx(Mt,{...I,children:p})})};function Te(t){"@babel/helpers - typeof";return Te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Te(t)}function ei(t,e){if(Te(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e);if(Te(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Wn(t){var e=ei(t,"string");return Te(e)=="symbol"?e:e+""}function Qe(t,e,r){return(e=Wn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function On(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?On(Object(r),!0).forEach(function(o){Qe(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):On(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function ti(t){if(Array.isArray(t))return t}function ni(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var o,n,i,s,l=[],a=!0,c=!1;try{if(i=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;a=!1}else for(;!(a=(o=i.call(r)).done)&&(l.push(o.value),l.length!==e);a=!0);}catch(u){c=!0,n=u}finally{try{if(!a&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return l}}function Ht(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,o=Array(e);r<e;r++)o[r]=t[r];return o}function kn(t,e){if(t){if(typeof t=="string")return Ht(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ht(t,e):void 0}}function ri(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Se(t,e){return ti(t)||ni(t,e)||kn(t,e)||ri()}function oi(t,e){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)!==-1)continue;r[o]=t[o]}return r}function Be(t,e){if(t==null)return{};var r,o,n=oi(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],e.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var ii=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function ai(t){var e=t.defaultInputValue,r=e===void 0?"":e,o=t.defaultMenuIsOpen,n=o===void 0?!1:o,i=t.defaultValue,s=i===void 0?null:i,l=t.inputValue,a=t.menuIsOpen,c=t.onChange,u=t.onInputChange,g=t.onMenuClose,p=t.onMenuOpen,f=t.value,I=Be(t,ii),m=v.useState(l!==void 0?l:r),b=Se(m,2),h=b[0],E=b[1],A=v.useState(a!==void 0?a:n),G=Se(A,2),C=G[0],V=G[1],B=v.useState(f!==void 0?f:s),S=Se(B,2),w=S[0],Z=S[1],W=v.useCallback(function(te,ae){typeof c=="function"&&c(te,ae),Z(te)},[c]),k=v.useCallback(function(te,ae){var se;typeof u=="function"&&(se=u(te,ae)),E(se!==void 0?se:te)},[u]),ee=v.useCallback(function(){typeof p=="function"&&p(),V(!0)},[p]),q=v.useCallback(function(){typeof g=="function"&&g(),V(!1)},[g]),L=l!==void 0?l:h,O=a!==void 0?a:C,ie=f!==void 0?f:w;return P(P({},I),{},{inputValue:L,menuIsOpen:O,onChange:W,onInputChange:k,onMenuClose:q,onMenuOpen:ee,value:ie})}function R(){return R=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)({}).hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},R.apply(null,arguments)}function si(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Wn(o.key),o)}}function li(t,e,r){return e&&Dn(t.prototype,e),r&&Dn(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Lt(t,e){return Lt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Lt(t,e)}function ci(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Lt(t,e)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ct(t)}function jn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jn=function(){return!!t})()}function ui(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function di(t,e){if(e&&(Te(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ui(t)}function gi(t){var e=jn();return function(){var r,o=ct(t);if(e){var n=ct(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return di(this,r)}}function bi(t){if(Array.isArray(t))return Ht(t)}function fi(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xt(t){return bi(t)||fi(t)||kn(t)||pi()}function mi(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function hi(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var vi=(function(){function t(r){var o=this;this._insertTag=function(n){var i;o.tags.length===0?o.insertionPoint?i=o.insertionPoint.nextSibling:o.prepend?i=o.container.firstChild:i=o.before:i=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,i),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(o){o.forEach(this._insertTag)},e.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(hi(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=mi(n);try{i.insertRule(o,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(o));this.ctr++},e.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},t})(),ue="-ms-",ut="-moz-",z="-webkit-",Yn="comm",Zt="rule",Wt="decl",Ci="@import",zn="@keyframes",Ii="@layer",xi=Math.abs,dt=String.fromCharCode,yi=Object.assign;function Ai(t,e){return le(t,0)^45?(((e<<2^le(t,0))<<2^le(t,1))<<2^le(t,2))<<2^le(t,3):0}function Jn(t){return t.trim()}function Ei(t,e){return(t=e.exec(t))?t[0]:t}function J(t,e,r){return t.replace(e,r)}function Ot(t,e){return t.indexOf(e)}function le(t,e){return t.charCodeAt(e)|0}function qe(t,e,r){return t.slice(e,r)}function xe(t){return t.length}function kt(t){return t.length}function gt(t,e){return e.push(t),t}function Gi(t,e){return t.map(e).join("")}var bt=1,He=1,$n=0,be=0,oe=0,Le="";function ft(t,e,r,o,n,i,s){return{value:t,root:e,parent:r,type:o,props:n,children:i,line:bt,column:He,length:s,return:""}}function Ke(t,e){return yi(ft("",null,null,"",null,null,0),t,{length:-t.length},e)}function Si(){return oe}function Bi(){return oe=be>0?le(Le,--be):0,He--,oe===10&&(He=1,bt--),oe}function fe(){return oe=be<$n?le(Le,be++):0,He++,oe===10&&(He=1,bt++),oe}function ye(){return le(Le,be)}function pt(){return be}function et(t,e){return qe(Le,t,e)}function tt(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Un(t){return bt=He=1,$n=xe(Le=t),be=0,[]}function Qn(t){return Le="",t}function mt(t){return Jn(et(be-1,Dt(t===91?t+2:t===40?t+1:t)))}function Vi(t){for(;(oe=ye())&&oe<33;)fe();return tt(t)>2||tt(oe)>3?"":" "}function wi(t,e){for(;--e&&fe()&&!(oe<48||oe>102||oe>57&&oe<65||oe>70&&oe<97););return et(t,pt()+(e<6&&ye()==32&&fe()==32))}function Dt(t){for(;fe();)switch(oe){case t:return be;case 34:case 39:t!==34&&t!==39&&Dt(oe);break;case 40:t===41&&Dt(t);break;case 92:fe();break}return be}function _i(t,e){for(;fe()&&t+oe!==57;)if(t+oe===84&&ye()===47)break;return"/*"+et(e,be-1)+"*"+dt(t===47?t:fe())}function Ni(t){for(;!tt(ye());)fe();return et(t,be)}function Fi(t){return Qn(ht("",null,null,null,[""],t=Un(t),0,[0],t))}function ht(t,e,r,o,n,i,s,l,a){for(var c=0,u=0,g=s,p=0,f=0,I=0,m=1,b=1,h=1,E=0,A="",G=n,C=i,V=o,B=A;b;)switch(I=E,E=fe()){case 40:if(I!=108&&le(B,g-1)==58){Ot(B+=J(mt(E),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:B+=mt(E);break;case 9:case 10:case 13:case 32:B+=Vi(I);break;case 92:B+=wi(pt()-1,7);continue;case 47:switch(ye()){case 42:case 47:gt(Ti(_i(fe(),pt()),e,r),a);break;default:B+="/"}break;case 123*m:l[c++]=xe(B)*h;case 125*m:case 59:case 0:switch(E){case 0:case 125:b=0;case 59+u:h==-1&&(B=J(B,/\f/g,"")),f>0&&xe(B)-g&&gt(f>32?Kn(B+";",o,r,g-1):Kn(J(B," ","")+";",o,r,g-2),a);break;case 59:B+=";";default:if(gt(V=qn(B,e,r,c,u,n,l,A,G=[],C=[],g),i),E===123)if(u===0)ht(B,e,V,V,G,i,g,l,C);else switch(p===99&&le(B,3)===110?100:p){case 100:case 108:case 109:case 115:ht(t,V,V,o&&gt(qn(t,V,V,0,0,n,l,A,n,G=[],g),C),n,C,g,l,o?G:C);break;default:ht(B,V,V,V,[""],C,0,l,C)}}c=u=f=0,m=h=1,A=B="",g=s;break;case 58:g=1+xe(B),f=I;default:if(m<1){if(E==123)--m;else if(E==125&&m++==0&&Bi()==125)continue}switch(B+=dt(E),E*m){case 38:h=u>0?1:(B+="\f",-1);break;case 44:l[c++]=(xe(B)-1)*h,h=1;break;case 64:ye()===45&&(B+=mt(fe())),p=ye(),u=g=xe(A=B+=Ni(pt())),E++;break;case 45:I===45&&xe(B)==2&&(m=0)}}return i}function qn(t,e,r,o,n,i,s,l,a,c,u){for(var g=n-1,p=n===0?i:[""],f=kt(p),I=0,m=0,b=0;I<o;++I)for(var h=0,E=qe(t,g+1,g=xi(m=s[I])),A=t;h<f;++h)(A=Jn(m>0?p[h]+" "+E:J(E,/&\f/g,p[h])))&&(a[b++]=A);return ft(t,e,r,n===0?Zt:l,a,c,u)}function Ti(t,e,r){return ft(t,e,r,Yn,dt(Si()),qe(t,2,-2),0)}function Kn(t,e,r,o){return ft(t,e,r,Wt,qe(t,0,o),qe(t,o+1,-1),o)}function Xe(t,e){for(var r="",o=kt(t),n=0;n<o;n++)r+=e(t[n],n,t,e)||"";return r}function Pi(t,e,r,o){switch(t.type){case Ii:if(t.children.length)break;case Ci:case Wt:return t.return=t.return||t.value;case Yn:return"";case zn:return t.return=t.value+"{"+Xe(t.children,o)+"}";case Zt:t.value=t.props.join(",")}return xe(r=Xe(t.children,o))?t.return=t.value+"{"+r+"}":""}function Ri(t){var e=kt(t);return function(r,o,n,i){for(var s="",l=0;l<e;l++)s+=t[l](r,o,n,i)||"";return s}}function Mi(t){return function(e){e.root||(e=e.return)&&t(e)}}function Hi(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var Li=function(e,r,o){for(var n=0,i=0;n=i,i=ye(),n===38&&i===12&&(r[o]=1),!tt(i);)fe();return et(e,be)},Xi=function(e,r){var o=-1,n=44;do switch(tt(n)){case 0:n===38&&ye()===12&&(r[o]=1),e[o]+=Li(be-1,r,o);break;case 2:e[o]+=mt(n);break;case 4:if(n===44){e[++o]=ye()===58?"&\f":"",r[o]=e[o].length;break}default:e[o]+=dt(n)}while(n=fe());return e},Zi=function(e,r){return Qn(Xi(Un(e),r))},er=new WeakMap,Wi=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,o=e.parent,n=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!er.get(o))&&!n){er.set(e,!0);for(var i=[],s=Zi(r,i),l=o.props,a=0,c=0;a<s.length;a++)for(var u=0;u<l.length;u++,c++)e.props[c]=i[a]?s[a].replace(/&\f/g,l[u]):l[u]+" "+s[a]}}},Oi=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function tr(t,e){switch(Ai(t,e)){case 5103:return z+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return z+t+ut+t+ue+t+t;case 6828:case 4268:return z+t+ue+t+t;case 6165:return z+t+ue+"flex-"+t+t;case 5187:return z+t+J(t,/(\w+).+(:[^]+)/,z+"box-$1$2"+ue+"flex-$1$2")+t;case 5443:return z+t+ue+"flex-item-"+J(t,/flex-|-self/,"")+t;case 4675:return z+t+ue+"flex-line-pack"+J(t,/align-content|flex-|-self/,"")+t;case 5548:return z+t+ue+J(t,"shrink","negative")+t;case 5292:return z+t+ue+J(t,"basis","preferred-size")+t;case 6060:return z+"box-"+J(t,"-grow","")+z+t+ue+J(t,"grow","positive")+t;case 4554:return z+J(t,/([^-])(transform)/g,"$1"+z+"$2")+t;case 6187:return J(J(J(t,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),t,"")+t;case 5495:case 3959:return J(t,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return J(J(t,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+ue+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+t+t;case 4095:case 3583:case 4068:case 2532:return J(t,/(.+)-inline(.+)/,z+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(xe(t)-1-e>6)switch(le(t,e+1)){case 109:if(le(t,e+4)!==45)break;case 102:return J(t,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+ut+(le(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Ot(t,"stretch")?tr(J(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(le(t,e+1)!==115)break;case 6444:switch(le(t,xe(t)-3-(~Ot(t,"!important")&&10))){case 107:return J(t,":",":"+z)+t;case 101:return J(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(le(t,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+ue+"$2box$3")+t}break;case 5936:switch(le(t,e+11)){case 114:return z+t+ue+J(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return z+t+ue+J(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return z+t+ue+J(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return z+t+ue+t+t}return t}var ki=function(e,r,o,n){if(e.length>-1&&!e.return)switch(e.type){case Wt:e.return=tr(e.value,e.length);break;case zn:return Xe([Ke(e,{value:J(e.value,"@","@"+z)})],n);case Zt:if(e.length)return Gi(e.props,function(i){switch(Ei(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xe([Ke(e,{props:[J(i,/:(read-\w+)/,":"+ut+"$1")]})],n);case"::placeholder":return Xe([Ke(e,{props:[J(i,/:(plac\w+)/,":"+z+"input-$1")]}),Ke(e,{props:[J(i,/:(plac\w+)/,":"+ut+"$1")]}),Ke(e,{props:[J(i,/:(plac\w+)/,ue+"input-$1")]})],n)}return""})}},Di=[ki],ji=function(e){var r=e.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(m){var b=m.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||Di,i={},s,l=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var b=m.getAttribute("data-emotion").split(" "),h=1;h<b.length;h++)i[b[h]]=!0;l.push(m)});var a,c=[Wi,Oi];{var u,g=[Pi,Mi(function(m){u.insert(m)})],p=Ri(c.concat(n,g)),f=function(b){return Xe(Fi(b),p)};a=function(b,h,E,A){u=E,f(b?b+"{"+h.styles+"}":h.styles),A&&(I.inserted[h.name]=!0)}}var I={key:r,sheet:new vi({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return I.sheet.hydrate(l),I},vt={exports:{}},$={};var nr;function Yi(){if(nr)return $;nr=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,c=t?Symbol.for("react.concurrent_mode"):60111,u=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,I=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function A(C){if(typeof C=="object"&&C!==null){var V=C.$$typeof;switch(V){case e:switch(C=C.type,C){case a:case c:case o:case i:case n:case g:return C;default:switch(C=C&&C.$$typeof,C){case l:case u:case I:case f:case s:return C;default:return V}}case r:return V}}}function G(C){return A(C)===c}return $.AsyncMode=a,$.ConcurrentMode=c,$.ContextConsumer=l,$.ContextProvider=s,$.Element=e,$.ForwardRef=u,$.Fragment=o,$.Lazy=I,$.Memo=f,$.Portal=r,$.Profiler=i,$.StrictMode=n,$.Suspense=g,$.isAsyncMode=function(C){return G(C)||A(C)===a},$.isConcurrentMode=G,$.isContextConsumer=function(C){return A(C)===l},$.isContextProvider=function(C){return A(C)===s},$.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===e},$.isForwardRef=function(C){return A(C)===u},$.isFragment=function(C){return A(C)===o},$.isLazy=function(C){return A(C)===I},$.isMemo=function(C){return A(C)===f},$.isPortal=function(C){return A(C)===r},$.isProfiler=function(C){return A(C)===i},$.isStrictMode=function(C){return A(C)===n},$.isSuspense=function(C){return A(C)===g},$.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===o||C===c||C===i||C===n||C===g||C===p||typeof C=="object"&&C!==null&&(C.$$typeof===I||C.$$typeof===f||C.$$typeof===s||C.$$typeof===l||C.$$typeof===u||C.$$typeof===b||C.$$typeof===h||C.$$typeof===E||C.$$typeof===m)},$.typeOf=A,$}var U={};var rr;function zi(){return rr||(rr=1,process.env.NODE_ENV!=="production"&&(function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,c=t?Symbol.for("react.concurrent_mode"):60111,u=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,I=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function A(N){return typeof N=="string"||typeof N=="function"||N===o||N===c||N===i||N===n||N===g||N===p||typeof N=="object"&&N!==null&&(N.$$typeof===I||N.$$typeof===f||N.$$typeof===s||N.$$typeof===l||N.$$typeof===u||N.$$typeof===b||N.$$typeof===h||N.$$typeof===E||N.$$typeof===m)}function G(N){if(typeof N=="object"&&N!==null){var we=N.$$typeof;switch(we){case e:var ne=N.type;switch(ne){case a:case c:case o:case i:case n:case g:return ne;default:var he=ne&&ne.$$typeof;switch(he){case l:case u:case I:case f:case s:return he;default:return we}}case r:return we}}}var C=a,V=c,B=l,S=s,w=e,Z=u,W=o,k=I,ee=f,q=r,L=i,O=n,ie=g,te=!1;function ae(N){return te||(te=!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.")),se(N)||G(N)===a}function se(N){return G(N)===c}function x(N){return G(N)===l}function y(N){return G(N)===s}function _(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function F(N){return G(N)===u}function K(N){return G(N)===o}function Q(N){return G(N)===I}function M(N){return G(N)===f}function j(N){return G(N)===r}function ce(N){return G(N)===i}function pe(N){return G(N)===n}function de(N){return G(N)===g}U.AsyncMode=C,U.ConcurrentMode=V,U.ContextConsumer=B,U.ContextProvider=S,U.Element=w,U.ForwardRef=Z,U.Fragment=W,U.Lazy=k,U.Memo=ee,U.Portal=q,U.Profiler=L,U.StrictMode=O,U.Suspense=ie,U.isAsyncMode=ae,U.isConcurrentMode=se,U.isContextConsumer=x,U.isContextProvider=y,U.isElement=_,U.isForwardRef=F,U.isFragment=K,U.isLazy=Q,U.isMemo=M,U.isPortal=j,U.isProfiler=ce,U.isStrictMode=pe,U.isSuspense=de,U.isValidElementType=A,U.typeOf=G})()),U}var or;function Ji(){return or||(or=1,process.env.NODE_ENV==="production"?vt.exports=Yi():vt.exports=zi()),vt.exports}var jt,ir;function $i(){if(ir)return jt;ir=1;var t=Ji(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[t.ForwardRef]=o,i[t.Memo]=n;function s(I){return t.isMemo(I)?n:i[I.$$typeof]||e}var l=Object.defineProperty,a=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,p=Object.prototype;function f(I,m,b){if(typeof m!="string"){if(p){var h=g(m);h&&h!==p&&f(I,h,b)}var E=a(m);c&&(E=E.concat(c(m)));for(var A=s(I),G=s(m),C=0;C<E.length;++C){var V=E[C];if(!r[V]&&!(b&&b[V])&&!(G&&G[V])&&!(A&&A[V])){var B=u(m,V);try{l(I,V,B)}catch{}}}}return I}return jt=f,jt}$i();var Ui=!0;function Qi(t,e,r){var o="";return r.split(" ").forEach(function(n){t[n]!==void 0?e.push(t[n]+";"):n&&(o+=n+" ")}),o}var ar=function(e,r,o){var n=e.key+"-"+r.name;(o===!1||Ui===!1)&&e.registered[n]===void 0&&(e.registered[n]=r.styles)},qi=function(e,r,o){ar(e,r,o);var n=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var i=r;do e.insert(r===i?"."+n:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Ki(t){for(var e=0,r,o=0,n=t.length;n>=4;++o,n-=4)r=t.charCodeAt(o)&255|(t.charCodeAt(++o)&255)<<8|(t.charCodeAt(++o)&255)<<16|(t.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(n){case 3:e^=(t.charCodeAt(o+2)&255)<<16;case 2:e^=(t.charCodeAt(o+1)&255)<<8;case 1:e^=t.charCodeAt(o)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var ea={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ta=/[A-Z]|^ms/g,na=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sr=function(e){return e.charCodeAt(1)===45},lr=function(e){return e!=null&&typeof e!="boolean"},Yt=Hi(function(t){return sr(t)?t:t.replace(ta,"-$&").toLowerCase()}),cr=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(na,function(o,n,i){return Ae={name:n,styles:i,next:Ae},n})}return ea[e]!==1&&!sr(e)&&typeof r=="number"&&r!==0?r+"px":r};function nt(t,e,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return Ae={name:n.name,styles:n.styles,next:Ae},n.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Ae={name:s.name,styles:s.styles,next:Ae},s=s.next;var l=i.styles+";";return l}return ra(t,e,r)}case"function":{if(t!==void 0){var a=Ae,c=r(t);return Ae=a,nt(t,e,c)}break}}var u=r;return u}function ra(t,e,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=nt(t,e,r[n])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var l=s;lr(l)&&(o+=Yt(i)+":"+cr(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&e==null)for(var a=0;a<s.length;a++)lr(s[a])&&(o+=Yt(i)+":"+cr(i,s[a])+";");else{var c=nt(t,e,s);switch(i){case"animation":case"animationName":{o+=Yt(i)+":"+c+";";break}default:o+=i+"{"+c+"}"}}}return o}var ur=/label:\s*([^\s;{]+)\s*(;|$)/g,Ae;function dr(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,n="";Ae=void 0;var i=t[0];if(i==null||i.raw===void 0)o=!1,n+=nt(r,e,i);else{var s=i;n+=s[0]}for(var l=1;l<t.length;l++)if(n+=nt(r,e,t[l]),o){var a=i;n+=a[l]}ur.lastIndex=0;for(var c="",u;(u=ur.exec(n))!==null;)c+="-"+u[1];var g=Ki(n)+c;return{name:g,styles:n,next:Ae}}var oa=function(e){return e()},ia=X.useInsertionEffect?X.useInsertionEffect:!1,aa=ia||oa,gr=X.createContext(typeof HTMLElement<"u"?ji({key:"css"}):null);gr.Provider;var sa=function(e){return v.forwardRef(function(r,o){var n=v.useContext(gr);return e(r,n,o)})},la=X.createContext({}),zt={}.hasOwnProperty,Jt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ca=function(e,r){var o={};for(var n in r)zt.call(r,n)&&(o[n]=r[n]);return o[Jt]=e,o},ua=function(e){var r=e.cache,o=e.serialized,n=e.isStringTag;return ar(r,o,n),aa(function(){return qi(r,o,n)}),null},da=sa(function(t,e,r){var o=t.css;typeof o=="string"&&e.registered[o]!==void 0&&(o=e.registered[o]);var n=t[Jt],i=[o],s="";typeof t.className=="string"?s=Qi(e.registered,i,t.className):t.className!=null&&(s=t.className+" ");var l=dr(i,void 0,X.useContext(la));s+=e.key+"-"+l.name;var a={};for(var c in t)zt.call(t,c)&&c!=="css"&&c!==Jt&&(a[c]=t[c]);return a.className=s,r&&(a.ref=r),X.createElement(X.Fragment,null,X.createElement(ua,{cache:e,serialized:l,isStringTag:typeof n=="string"}),X.createElement(n,a))}),ga=da,T=function(e,r){var o=arguments;if(r==null||!zt.call(r,"css"))return X.createElement.apply(void 0,o);var n=o.length,i=new Array(n);i[0]=ga,i[1]=ca(e,r);for(var s=2;s<n;s++)i[s]=o[s];return X.createElement.apply(null,i)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(T||(T={}));function $t(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return dr(e)}function ba(){var t=$t.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function fa(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const pa=Math.min,ma=Math.max,Ct=Math.round,It=Math.floor,xt=t=>({x:t,y:t});function ha(t){const{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}function yt(){return typeof window<"u"}function br(t){return pr(t)?(t.nodeName||"").toLowerCase():"#document"}function Ve(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function fr(t){var e;return(e=(pr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function pr(t){return yt()?t instanceof Node||t instanceof Ve(t).Node:!1}function va(t){return yt()?t instanceof Element||t instanceof Ve(t).Element:!1}function Ut(t){return yt()?t instanceof HTMLElement||t instanceof Ve(t).HTMLElement:!1}function mr(t){return!yt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ve(t).ShadowRoot}const Ca=new Set(["inline","contents"]);function hr(t){const{overflow:e,overflowX:r,overflowY:o,display:n}=Qt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!Ca.has(n)}function Ia(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const xa=new Set(["html","body","#document"]);function ya(t){return xa.has(br(t))}function Qt(t){return Ve(t).getComputedStyle(t)}function Aa(t){if(br(t)==="html")return t;const e=t.assignedSlot||t.parentNode||mr(t)&&t.host||fr(t);return mr(e)?e.host:e}function vr(t){const e=Aa(t);return ya(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ut(e)&&hr(e)?e:vr(e)}function At(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=vr(t),i=n===((o=t.ownerDocument)==null?void 0:o.body),s=Ve(n);if(i){const l=qt(s);return e.concat(s,s.visualViewport||[],hr(n)?n:[],l&&r?At(l):[])}return e.concat(n,At(n,[],r))}function qt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ea(t){const e=Qt(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const n=Ut(t),i=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=Ct(r)!==i||Ct(o)!==s;return l&&(r=i,o=s),{width:r,height:o,$:l}}function Kt(t){return va(t)?t:t.contextElement}function Cr(t){const e=Kt(t);if(!Ut(e))return xt(1);const r=e.getBoundingClientRect(),{width:o,height:n,$:i}=Ea(e);let s=(i?Ct(r.width):r.width)/o,l=(i?Ct(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ga=xt(0);function Sa(t){const e=Ve(t);return!Ia()||!e.visualViewport?Ga:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ba(t,e,r){return!1}function Ir(t,e,r,o){e===void 0&&(e=!1);const n=t.getBoundingClientRect(),i=Kt(t);let s=xt(1);e&&(s=Cr(t));const l=Ba()?Sa(i):xt(0);let a=(n.left+l.x)/s.x,c=(n.top+l.y)/s.y,u=n.width/s.x,g=n.height/s.y;if(i){const p=Ve(i),f=o;let I=p,m=qt(I);for(;m&&o&&f!==I;){const b=Cr(m),h=m.getBoundingClientRect(),E=Qt(m),A=h.left+(m.clientLeft+parseFloat(E.paddingLeft))*b.x,G=h.top+(m.clientTop+parseFloat(E.paddingTop))*b.y;a*=b.x,c*=b.y,u*=b.x,g*=b.y,a+=A,c+=G,I=Ve(m),m=qt(I)}}return ha({width:u,height:g,x:a,y:c})}function xr(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Va(t,e){let r=null,o;const n=fr(t);function i(){var l;clearTimeout(o),(l=r)==null||l.disconnect(),r=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const c=t.getBoundingClientRect(),{left:u,top:g,width:p,height:f}=c;if(l||e(),!p||!f)return;const I=It(g),m=It(n.clientWidth-(u+p)),b=It(n.clientHeight-(g+f)),h=It(u),A={rootMargin:-I+"px "+-m+"px "+-b+"px "+-h+"px",threshold:ma(0,pa(1,a))||1};let G=!0;function C(V){const B=V[0].intersectionRatio;if(B!==a){if(!G)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!xr(c,t.getBoundingClientRect())&&s(),G=!1}try{r=new IntersectionObserver(C,{...A,root:n.ownerDocument})}catch{r=new IntersectionObserver(C,A)}r.observe(t)}return s(!0),i}function wa(t,e,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,c=Kt(t),u=n||i?[...c?At(c):[],...At(e)]:[];u.forEach(h=>{n&&h.addEventListener("scroll",r,{passive:!0}),i&&h.addEventListener("resize",r)});const g=c&&l?Va(c,r):null;let p=-1,f=null;s&&(f=new ResizeObserver(h=>{let[E]=h;E&&E.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var A;(A=f)==null||A.observe(e)})),r()}),c&&!a&&f.observe(c),f.observe(e));let I,m=a?Ir(t):null;a&&b();function b(){const h=Ir(t);m&&!xr(m,h)&&r(),m=h,I=requestAnimationFrame(b)}return r(),()=>{var h;u.forEach(E=>{n&&E.removeEventListener("scroll",r),i&&E.removeEventListener("resize",r)}),g?.(),(h=f)==null||h.disconnect(),f=null,a&&cancelAnimationFrame(I)}}var en=v.useLayoutEffect,_a=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Et=function(){};function Na(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function Fa(t,e){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n<r;n++)o[n-2]=arguments[n];var i=[].concat(o);if(e&&t)for(var s in e)e.hasOwnProperty(s)&&e[s]&&i.push("".concat(Na(t,s)));return i.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var yr=function(e){return Wa(e)?e.filter(Boolean):Te(e)==="object"&&e!==null?[e]:[]},Ar=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var r=Be(e,_a);return P({},r)},re=function(e,r,o){var n=e.cx,i=e.getStyles,s=e.getClassNames,l=e.className;return{css:i(r,e),className:n(o??{},s(r,e),l)}};function Gt(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function Ta(t){return Gt(t)?window.innerHeight:t.clientHeight}function Er(t){return Gt(t)?window.pageYOffset:t.scrollTop}function St(t,e){if(Gt(t)){window.scrollTo(0,e);return}t.scrollTop=e}function Pa(t){var e=getComputedStyle(t),r=e.position==="absolute",o=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var n=t;n=n.parentElement;)if(e=getComputedStyle(n),!(r&&e.position==="static")&&o.test(e.overflow+e.overflowY+e.overflowX))return n;return document.documentElement}function Ra(t,e,r,o){return r*((t=t/o-1)*t*t+1)+e}function Bt(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Et,n=Er(t),i=e-n,s=10,l=0;function a(){l+=s;var c=Ra(l,n,i,r);St(t,c),l<r?window.requestAnimationFrame(a):o(t)}a()}function Gr(t,e){var r=t.getBoundingClientRect(),o=e.getBoundingClientRect(),n=e.offsetHeight/3;o.bottom+n>r.bottom?St(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+n,t.scrollHeight)):o.top-n<r.top&&St(t,Math.max(e.offsetTop-n,0))}function Ma(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function Sr(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Ha(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Br=!1,La={get passive(){return Br=!0}},Vt=typeof window<"u"?window:{};Vt.addEventListener&&Vt.removeEventListener&&(Vt.addEventListener("p",Et,La),Vt.removeEventListener("p",Et,!1));var Xa=Br;function Za(t){return t!=null}function Wa(t){return Array.isArray(t)}function wt(t,e,r){return t?e:r}function a0(t){return t}function s0(t){return t}var Oa=function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];var i=Object.entries(e).filter(function(s){var l=Se(s,1),a=l[0];return!o.includes(a)});return i.reduce(function(s,l){var a=Se(l,2),c=a[0],u=a[1];return s[c]=u,s},{})},ka=["children","innerProps"],Da=["children","innerProps"];function ja(t){var e=t.maxHeight,r=t.menuEl,o=t.minHeight,n=t.placement,i=t.shouldScroll,s=t.isFixedPosition,l=t.controlHeight,a=Pa(r),c={placement:"bottom",maxHeight:e};if(!r||!r.offsetParent)return c;var u=a.getBoundingClientRect(),g=u.height,p=r.getBoundingClientRect(),f=p.bottom,I=p.height,m=p.top,b=r.offsetParent.getBoundingClientRect(),h=b.top,E=s?window.innerHeight:Ta(a),A=Er(a),G=parseInt(getComputedStyle(r).marginBottom,10),C=parseInt(getComputedStyle(r).marginTop,10),V=h-C,B=E-m,S=V+A,w=g-A-m,Z=f-E+A+G,W=A+m-C,k=160;switch(n){case"auto":case"bottom":if(B>=I)return{placement:"bottom",maxHeight:e};if(w>=I&&!s)return i&&Bt(a,Z,k),{placement:"bottom",maxHeight:e};if(!s&&w>=o||s&&B>=o){i&&Bt(a,Z,k);var ee=s?B-G:w-G;return{placement:"bottom",maxHeight:ee}}if(n==="auto"||s){var q=e,L=s?V:S;return L>=o&&(q=Math.min(L-G-l,e)),{placement:"top",maxHeight:q}}if(n==="bottom")return i&&St(a,Z),{placement:"bottom",maxHeight:e};break;case"top":if(V>=I)return{placement:"top",maxHeight:e};if(S>=I&&!s)return i&&Bt(a,W,k),{placement:"top",maxHeight:e};if(!s&&S>=o||s&&V>=o){var O=e;return(!s&&S>=o||s&&V>=o)&&(O=s?V-C:S-C),i&&Bt(a,W,k),{placement:"top",maxHeight:O}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return c}function Ya(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Vr=function(e){return e==="auto"?"bottom":e},za=function(e,r){var o,n=e.placement,i=e.theme,s=i.borderRadius,l=i.spacing,a=i.colors;return P((o={label:"menu"},Qe(o,Ya(n),"100%"),Qe(o,"position","absolute"),Qe(o,"width","100%"),Qe(o,"zIndex",1),o),r?{}:{backgroundColor:a.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},wr=v.createContext(null),Ja=function(e){var r=e.children,o=e.minMenuHeight,n=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,l=e.menuShouldScrollIntoView,a=e.theme,c=v.useContext(wr)||{},u=c.setPortalPlacement,g=v.useRef(null),p=v.useState(n),f=Se(p,2),I=f[0],m=f[1],b=v.useState(null),h=Se(b,2),E=h[0],A=h[1],G=a.spacing.controlHeight;return en(function(){var C=g.current;if(C){var V=s==="fixed",B=l&&!V,S=ja({maxHeight:n,menuEl:C,minHeight:o,placement:i,shouldScroll:B,isFixedPosition:V,controlHeight:G});m(S.maxHeight),A(S.placement),u?.(S.placement)}},[n,i,s,l,o,u,G]),r({ref:g,placerProps:P(P({},e),{},{placement:E||Vr(i),maxHeight:I})})},$a=function(e){var r=e.children,o=e.innerRef,n=e.innerProps;return T("div",R({},re(e,"menu",{menu:!0}),{ref:o},n),r)},Ua=$a,Qa=function(e,r){var o=e.maxHeight,n=e.theme.spacing.baseUnit;return P({maxHeight:o,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},qa=function(e){var r=e.children,o=e.innerProps,n=e.innerRef,i=e.isMulti;return T("div",R({},re(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:n},o),r)},_r=function(e,r){var o=e.theme,n=o.spacing.baseUnit,i=o.colors;return P({textAlign:"center"},r?{}:{color:i.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},Ka=_r,es=_r,ts=function(e){var r=e.children,o=r===void 0?"No options":r,n=e.innerProps,i=Be(e,ka);return T("div",R({},re(P(P({},i),{},{children:o,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),o)},ns=function(e){var r=e.children,o=r===void 0?"Loading...":r,n=e.innerProps,i=Be(e,Da);return T("div",R({},re(P(P({},i),{},{children:o,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),o)},rs=function(e){var r=e.rect,o=e.offset,n=e.position;return{left:r.left,position:n,top:o,width:r.width,zIndex:1}},os=function(e){var r=e.appendTo,o=e.children,n=e.controlElement,i=e.innerProps,s=e.menuPlacement,l=e.menuPosition,a=v.useRef(null),c=v.useRef(null),u=v.useState(Vr(s)),g=Se(u,2),p=g[0],f=g[1],I=v.useMemo(function(){return{setPortalPlacement:f}},[]),m=v.useState(null),b=Se(m,2),h=b[0],E=b[1],A=v.useCallback(function(){if(n){var B=Ma(n),S=l==="fixed"?0:window.pageYOffset,w=B[p]+S;(w!==h?.offset||B.left!==h?.rect.left||B.width!==h?.rect.width)&&E({offset:w,rect:B})}},[n,l,p,h?.offset,h?.rect.left,h?.rect.width]);en(function(){A()},[A]);var G=v.useCallback(function(){typeof c.current=="function"&&(c.current(),c.current=null),n&&a.current&&(c.current=wa(n,a.current,A,{elementResize:"ResizeObserver"in window}))},[n,A]);en(function(){G()},[G]);var C=v.useCallback(function(B){a.current=B,G()},[G]);if(!r&&l!=="fixed"||!h)return null;var V=T("div",R({ref:C},re(P(P({},e),{},{offset:h.offset,position:l,rect:h.rect}),"menuPortal",{"menu-portal":!0}),i),o);return T(wr.Provider,{value:I},r?mn.createPortal(V,r):V)},is=function(e){var r=e.isDisabled,o=e.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},as=function(e){var r=e.children,o=e.innerProps,n=e.isDisabled,i=e.isRtl;return T("div",R({},re(e,"container",{"--is-disabled":n,"--is-rtl":i}),o),r)},ss=function(e,r){var o=e.theme.spacing,n=e.isMulti,i=e.hasValue,s=e.selectProps.controlShouldRenderValue;return P({alignItems:"center",display:n&&i&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(o.baseUnit/2,"px ").concat(o.baseUnit*2,"px")})},ls=function(e){var r=e.children,o=e.innerProps,n=e.isMulti,i=e.hasValue;return T("div",R({},re(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":i}),o),r)},cs=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},us=function(e){var r=e.children,o=e.innerProps;return T("div",R({},re(e,"indicatorsContainer",{indicators:!0}),o),r)},Nr,ds=["size"],gs=["innerProps","isRtl","size"];function bs(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var fs=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCx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(e){var r=e.size,o=Be(e,ds);return T("svg",R({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:fs},o))},tn=function(e){return T(Fr,R({size:20},e),T("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Tr=function(e){return T(Fr,R({size:20},e),T("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Pr=function(e,r){var o=e.isFocused,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return P({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:o?s.neutral60:s.neutral20,padding:i*2,":hover":{color:o?s.neutral80:s.neutral40}})},ps=Pr,ms=function(e){var r=e.children,o=e.innerProps;return T("div",R({},re(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),o),r||T(Tr,null))},hs=Pr,vs=function(e){var r=e.children,o=e.innerProps;return T("div",R({},re(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),o),r||T(tn,null))},Cs=function(e,r){var o=e.isDisabled,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return P({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:o?s.neutral10:s.neutral20,marginBottom:i*2,marginTop:i*2})},Is=function(e){var r=e.innerProps;return T("span",R({},r,re(e,"indicatorSeparator",{"indicator-separator":!0})))},xs=ba(Nr||(Nr=fa([`
9
9
  0%, 80%, 100% { opacity: 0; }
10
10
  40% { opacity: 1; }
11
- `]))),Es=function(e,r){var o=e.isFocused,n=e.size,i=e.theme,s=i.colors,l=i.spacing.baseUnit;return F({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:o?s.neutral60:s.neutral20,padding:l*2})},on=function(e){var r=e.delay,o=e.offset;return V("span",{css:Qt({animation:"".concat(As," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:o?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi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cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Ss=function(e){var r=e.innerProps,o=e.isRtl,n=e.size,i=n===void 0?4:n,s=we(e,fs);return V("div",R({},te(F(F({},s),{},{innerProps:r,isRtl:o,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),V(on,{delay:0,offset:o}),V(on,{delay:160,offset:!0}),V(on,{delay:320,offset:!o}))},Gs=function(e,r){var o=e.isDisabled,n=e.isFocused,i=e.theme,s=i.colors,l=i.borderRadius,a=i.spacing;return F({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:o?s.neutral5:s.neutral0,borderColor:o?s.neutral10:n?s.primary:s.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:n?s.primary:s.neutral30}})},Bs=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,i=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return V("div",R({ref:i},te(e,"control",{control:!0,"control--is-disabled":o,"control--is-focused":n,"control--menu-is-open":l}),s,{"aria-disabled":o||void 0}),r)},_s=Bs,ws=["data"],Ns=function(e,r){var o=e.theme.spacing;return r?{}:{paddingBottom:o.baseUnit*2,paddingTop:o.baseUnit*2}},Vs=function(e){var r=e.children,o=e.cx,n=e.getStyles,i=e.getClassNames,s=e.Heading,l=e.headingProps,a=e.innerProps,u=e.label,c=e.theme,g=e.selectProps;return V("div",R({},te(e,"group",{group:!0}),a),V(s,R({},l,{selectProps:g,theme:c,getStyles:n,getClassNames:i,cx:o}),u),V("div",null,r))},Fs=function(e,r){var o=e.theme,n=o.colors,i=o.spacing;return F({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},Ps=function(e){var r=Sr(e);r.data;var o=we(r,ws);return V("div",R({},te(e,"groupHeading",{"group-heading":!0}),o))},Ts=Vs,Rs=["innerRef","isDisabled","isHidden","inputClassName"],Xs=function(e,r){var o=e.isDisabled,n=e.value,i=e.theme,s=i.spacing,l=i.colors;return F(F({visibility:o?"hidden":"visible",transform:n?"translateZ(0)":""},Ms),r?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:l.neutral80})},Mr={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ms={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":F({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Mr)},Ls=function(e){return F({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Mr)},Ws=function(e){var r=e.cx,o=e.value,n=Sr(e),i=n.innerRef,s=n.isDisabled,l=n.isHidden,a=n.inputClassName,u=we(n,Rs);return V("div",R({},te(e,"input",{"input-container":!0}),{"data-value":o||""}),V("input",R({className:r({input:!0},a),ref:i,style:Ls(l),disabled:s},u)))},Os=Ws,ks=function(e,r){var o=e.theme,n=o.spacing,i=o.borderRadius,s=o.colors;return F({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:s.neutral10,borderRadius:i/2,margin:n.baseUnit/2})},Zs=function(e,r){var o=e.theme,n=o.borderRadius,i=o.colors,s=e.cropWithEllipsis;return F({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Ds=function(e,r){var o=e.theme,n=o.spacing,i=o.borderRadius,s=o.colors,l=e.isFocused;return F({alignItems:"center",display:"flex"},r?{}:{borderRadius:i/2,backgroundColor:l?s.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},Lr=function(e){var r=e.children,o=e.innerProps;return V("div",o,r)},Hs=Lr,js=Lr;function zs(t){var e=t.children,r=t.innerProps;return V("div",R({role:"button"},r),e||V(rn,{size:14}))}var Ys=function(e){var r=e.children,o=e.components,n=e.data,i=e.innerProps,s=e.isDisabled,l=e.removeProps,a=e.selectProps,u=o.Container,c=o.Label,g=o.Remove;return V(u,{data:n,innerProps:F(F({},te(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),i),selectProps:a},V(c,{data:n,innerProps:F({},te(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},r),V(g,{data:n,innerProps:F(F({},te(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},l),selectProps:a}))},Js=Ys,$s=function(e,r){var o=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.theme,l=s.spacing,a=s.colors;return F({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:i?a.primary:n?a.primary25:"transparent",color:o?a.neutral20:i?a.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:o?void 0:i?a.primary:a.primary50}})},Us=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.innerRef,l=e.innerProps;return V("div",R({},te(e,"option",{option:!0,"option--is-disabled":o,"option--is-focused":n,"option--is-selected":i}),{ref:s,"aria-disabled":o},l),r)},Qs=Us,qs=function(e,r){var o=e.theme,n=o.spacing,i=o.colors;return F({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:i.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},Ks=function(e){var r=e.children,o=e.innerProps;return V("div",R({},te(e,"placeholder",{placeholder:!0}),o),r)},el=Ks,tl=function(e,r){var o=e.isDisabled,n=e.theme,i=n.spacing,s=n.colors;return F({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:o?s.neutral40:s.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},nl=function(e){var r=e.children,o=e.isDisabled,n=e.innerProps;return V("div",R({},te(e,"singleValue",{"single-value":!0,"single-value--is-disabled":o}),n),r)},rl=nl,ol={ClearIndicator:Cs,Control:_s,DropdownIndicator:hs,DownChevron:Rr,CrossIcon:rn,Group:Ts,GroupHeading:Ps,IndicatorsContainer:gs,IndicatorSeparator:ys,Input:Os,LoadingIndicator:Ss,Menu:qa,MenuList:es,MenuPortal:as,LoadingMessage:os,NoOptionsMessage:rs,MultiValue:Js,MultiValueContainer:Hs,MultiValueLabel:js,MultiValueRemove:zs,Option:Qs,Placeholder:el,SelectContainer:ls,SingleValue:rl,ValueContainer:cs},il=function(e){return F(F({},ol),e.components)},Wr=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function al(t,e){return!!(t===e||Wr(t)&&Wr(e))}function sl(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!al(t[r],e[r]))return!1;return!0}function ll(t,e){e===void 0&&(e=sl);var r=null;function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&e(n,r.lastArgs))return r.lastResult;var s=t.apply(this,n);return r={lastResult:s,lastArgs:n,lastThis:this},s}return o.clear=function(){r=null},o}function ul(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var cl=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:ul},dl=function(e){return V("span",R({css:cl},e))},Or=dl,gl={guidance:function(e){var r=e.isSearchable,o=e.isMulti,n=e.tabSelectsValue,i=e.context,s=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(e["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(o?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var r=e.action,o=e.label,n=o===void 0?"":o,i=e.labels,s=e.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return s?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(e){var r=e.context,o=e.focused,n=e.options,i=e.label,s=i===void 0?"":i,l=e.selectValue,a=e.isDisabled,u=e.isSelected,c=e.isAppleDevice,g=function(m,b){return m&&m.length?"".concat(m.indexOf(b)+1," of ").concat(m.length):""};if(r==="value"&&l)return"value ".concat(s," focused, ").concat(g(l,o),".");if(r==="menu"&&c){var p=a?" disabled":"",f="".concat(u?" selected":"").concat(p);return"".concat(s).concat(f,", ").concat(g(n,o),".")}return""},onFilter:function(e){var r=e.inputValue,o=e.resultsMessage;return"".concat(o).concat(r?" for search term "+r:"",".")}},bl=function(e){var r=e.ariaSelection,o=e.focusedOption,n=e.focusedValue,i=e.focusableOptions,s=e.isFocused,l=e.selectValue,a=e.selectProps,u=e.id,c=e.isAppleDevice,g=a.ariaLiveMessages,p=a.getOptionLabel,f=a.inputValue,C=a.isMulti,m=a.isOptionDisabled,b=a.isSearchable,h=a.menuIsOpen,S=a.options,y=a.screenReaderStatus,G=a.tabSelectsValue,I=a.isLoading,E=a["aria-label"],B=a["aria-live"],_=v.useMemo(function(){return F(F({},gl),g||{})},[g]),P=v.useMemo(function(){var q="";if(r&&_.onChange){var j=r.option,k=r.options,z=r.removedValue,le=r.removedValues,ae=r.value,x=function(T){return Array.isArray(T)?null:T},N=z||j||x(ae),M=N?p(N):"",Z=k||le||void 0,se=Z?Z.map(p):[],oe=F({isDisabled:N&&m(N,l),label:M,labels:se},r);q=_.onChange(oe)}return q},[r,_,m,l,p]),O=v.useMemo(function(){var q="",j=o||n,k=!!(o&&l&&l.includes(o));if(j&&_.onFocus){var z={focused:j,label:p(j),isDisabled:m(j,l),isSelected:k,options:i,context:j===o?"menu":"value",selectValue:l,isAppleDevice:c};q=_.onFocus(z)}return q},[o,n,p,m,_,i,l,c]),W=v.useMemo(function(){var q="";if(h&&S.length&&!I&&_.onFilter){var j=y({count:i.length});q=_.onFilter({inputValue:f,resultsMessage:j})}return q},[i,f,h,_,S,y,I]),K=r?.action==="initial-input-focus",ne=v.useMemo(function(){var q="";if(_.guidance){var j=n?"value":h?"menu":"input";q=_.guidance({"aria-label":E,context:j,isDisabled:o&&m(o,l),isMulti:C,isSearchable:b,tabSelectsValue:G,isInitialFocus:K})}return q},[E,o,n,C,m,b,h,_,l,G,K]),re=V(v.Fragment,null,V("span",{id:"aria-selection"},P),V("span",{id:"aria-focused"},O),V("span",{id:"aria-results"},W),V("span",{id:"aria-guidance"},ne));return V(v.Fragment,null,V(Or,{id:u},K&&re),V(Or,{"aria-live":B,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!K&&re))},fl=bl,an=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],pl=new RegExp("["+an.map(function(t){return t.letters}).join("")+"]","g"),kr={},sn=0;sn<an.length;sn++)for(var ln=an[sn],un=0;un<ln.letters.length;un++)kr[ln.letters[un]]=ln.base;var Zr=function(e){return e.replace(pl,function(r){return kr[r]})},ml=ll(Zr),Dr=function(e){return e.replace(/^\s+|\s+$/g,"")},vl=function(e){return"".concat(e.label," ").concat(e.value)},hl=function(e){return function(r,o){if(r.data.__isNew__)return!0;var n=F({ignoreCase:!0,ignoreAccents:!0,stringify:vl,trim:!0,matchFrom:"any"},e),i=n.ignoreCase,s=n.ignoreAccents,l=n.stringify,a=n.trim,u=n.matchFrom,c=a?Dr(o):o,g=a?Dr(l(r)):l(r);return i&&(c=c.toLowerCase(),g=g.toLowerCase()),s&&(c=ml(c),g=Zr(g)),u==="start"?g.substr(0,c.length)===c:g.indexOf(c)>-1}},Il=["innerRef"];function Cl(t){var e=t.innerRef,r=we(t,Il),o=Ha(r,"onExited","in","enter","exit","appear");return V("input",R({ref:e},o,{css:Qt({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjp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sXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var xl=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function yl(t){var e=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,n=t.onTopArrive,i=t.onTopLeave,s=v.useRef(!1),l=v.useRef(!1),a=v.useRef(0),u=v.useRef(null),c=v.useCallback(function(b,h){if(u.current!==null){var S=u.current,y=S.scrollTop,G=S.scrollHeight,I=S.clientHeight,E=u.current,B=h>0,_=G-I-y,P=!1;_>h&&s.current&&(o&&o(b),s.current=!1),B&&l.current&&(i&&i(b),l.current=!1),B&&h>_?(r&&!s.current&&r(b),E.scrollTop=G,P=!0,s.current=!0):!B&&-h>y&&(n&&!l.current&&n(b),E.scrollTop=0,P=!0,l.current=!0),P&&xl(b)}},[r,o,n,i]),g=v.useCallback(function(b){c(b,b.deltaY)},[c]),p=v.useCallback(function(b){a.current=b.changedTouches[0].clientY},[]),f=v.useCallback(function(b){var h=a.current-b.changedTouches[0].clientY;c(b,h)},[c]),C=v.useCallback(function(b){if(b){var h=ka?{passive:!1}:!1;b.addEventListener("wheel",g,h),b.addEventListener("touchstart",p,h),b.addEventListener("touchmove",f,h)}},[f,p,g]),m=v.useCallback(function(b){b&&(b.removeEventListener("wheel",g,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",f,!1))},[f,p,g]);return v.useEffect(function(){if(e){var b=u.current;return C(b),function(){m(b)}}},[e,C,m]),function(b){u.current=b}}var Hr=["boxSizing","height","overflow","paddingRight","position"],jr={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function zr(t){t.cancelable&&t.preventDefault()}function Yr(t){t.stopPropagation()}function Jr(){var t=this.scrollTop,e=this.scrollHeight,r=t+this.offsetHeight;t===0?this.scrollTop=1:r===e&&(this.scrollTop=t-1)}function $r(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ur=!!(typeof window<"u"&&window.document&&window.document.createElement),st=0,Ze={capture:!1,passive:!1};function Al(t){var e=t.isEnabled,r=t.accountForScrollbars,o=r===void 0?!0:r,n=v.useRef({}),i=v.useRef(null),s=v.useCallback(function(a){if(Ur){var u=document.body,c=u&&u.style;if(o&&Hr.forEach(function(C){var m=c&&c[C];n.current[C]=m}),o&&st<1){var g=parseInt(n.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,f=window.innerWidth-p+g||0;Object.keys(jr).forEach(function(C){var m=jr[C];c&&(c[C]=m)}),c&&(c.paddingRight="".concat(f,"px"))}u&&$r()&&(u.addEventListener("touchmove",zr,Ze),a&&(a.addEventListener("touchstart",Jr,Ze),a.addEventListener("touchmove",Yr,Ze))),st+=1}},[o]),l=v.useCallback(function(a){if(Ur){var u=document.body,c=u&&u.style;st=Math.max(st-1,0),o&&st<1&&Hr.forEach(function(g){var p=n.current[g];c&&(c[g]=p)}),u&&$r()&&(u.removeEventListener("touchmove",zr,Ze),a&&(a.removeEventListener("touchstart",Jr,Ze),a.removeEventListener("touchmove",Yr,Ze)))}},[o]);return v.useEffect(function(){if(e){var a=i.current;return s(a),function(){l(a)}}},[e,s,l]),function(a){i.current=a}}function El(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Sl=function(e){var r=e.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},Gl=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG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NhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:El};function Bl(t){var e=t.children,r=t.lockEnabled,o=t.captureEnabled,n=o===void 0?!0:o,i=t.onBottomArrive,s=t.onBottomLeave,l=t.onTopArrive,a=t.onTopLeave,u=yl({isEnabled:n,onBottomArrive:i,onBottomLeave:s,onTopArrive:l,onTopLeave:a}),c=Al({isEnabled:r}),g=function(f){u(f),c(f)};return V(v.Fragment,null,r&&V("div",{onClick:Sl,css:Gl}),e(g))}function _l(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var wl=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:_l},Nl=function(e){var r=e.name,o=e.onFocus;return V("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:o,css:wl,value:"",onChange:function(){}})},Vl=Nl;function cn(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Fl(){return cn(/^iPhone/i)}function Qr(){return cn(/^Mac/i)}function Pl(){return cn(/^iPad/i)||Qr()&&navigator.maxTouchPoints>1}function Tl(){return Fl()||Pl()}function Rl(){return Qr()||Tl()}var Xl=function(e){return e.label},Ml=function(e){return e.label},Ll=function(e){return e.value},Wl=function(e){return!!e.isDisabled},Ol={clearIndicator:Is,container:ss,control:Gs,dropdownIndicator:vs,group:Ns,groupHeading:Fs,indicatorsContainer:ds,indicatorSeparator:xs,input:Xs,loadingIndicator:Es,loadingMessage:ns,menu:$a,menuList:Ka,menuPortal:is,multiValue:ks,multiValueLabel:Zs,multiValueRemove:Ds,noOptionsMessage:ts,option:$s,placeholder:qs,singleValue:tl,valueContainer:us},kl={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},Zl=4,qr=4,Dl=38,Hl=qr*2,jl={baseUnit:qr,controlHeight:Dl,menuGutter:Hl},dn={borderRadius:Zl,colors:kl,spacing:jl},zl={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:_r(),captureMenuScroll:!_r(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:hl(),formatGroupLabel:Xl,getOptionLabel:Ml,getOptionValue:Ll,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Wl,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Wa(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var r=e.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Kr(t,e,r,o){var n=oo(t,e,r),i=io(t,e,r),s=ro(t,e),l=Pt(t,e);return{type:"option",data:e,isDisabled:n,isSelected:i,label:s,value:l,index:o}}function Ft(t,e){return t.options.map(function(r,o){if("options"in r){var n=r.options.map(function(s,l){return Kr(t,s,e,l)}).filter(function(s){return no(t,s)});return n.length>0?{type:"group",data:r,options:n,index:o}:void 0}var i=Kr(t,r,e,o);return no(t,i)?i:void 0}).filter(Za)}function eo(t){return t.reduce(function(e,r){return r.type==="group"?e.push.apply(e,kt(r.options.map(function(o){return o.data}))):e.push(r.data),e},[])}function to(t,e){return t.reduce(function(r,o){return o.type==="group"?r.push.apply(r,kt(o.options.map(function(n){return{data:n.data,id:"".concat(e,"-").concat(o.index,"-").concat(n.index)}}))):r.push({data:o.data,id:"".concat(e,"-").concat(o.index)}),r},[])}function Yl(t,e){return eo(Ft(t,e))}function no(t,e){var r=t.inputValue,o=r===void 0?"":r,n=e.data,i=e.isSelected,s=e.label,l=e.value;return(!so(t)||!i)&&ao(t,{label:s,value:l,data:n},o)}function Jl(t,e){var r=t.focusedValue,o=t.selectValue,n=o.indexOf(r);if(n>-1){var i=e.indexOf(r);if(i>-1)return r;if(n<e.length)return e[n]}return null}function $l(t,e){var r=t.focusedOption;return r&&e.indexOf(r)>-1?r:e[0]}var gn=function(e,r){var o,n=(o=e.find(function(i){return i.data===r}))===null||o===void 0?void 0:o.id;return n||null},ro=function(e,r){return e.getOptionLabel(r)},Pt=function(e,r){return e.getOptionValue(r)};function oo(t,e,r){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,r):!1}function io(t,e,r){if(r.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,r);var o=Pt(t,e);return r.some(function(n){return Pt(t,n)===o})}function ao(t,e,r){return t.filterOption?t.filterOption(e,r):!0}var so=function(e){var r=e.hideSelectedOptions,o=e.isMulti;return r===void 0?o:r},Ul=1,lo=(function(t){di(r,t);var e=fi(r);function r(o){var n;if(ui(this,r),n=e.call(this,o),n.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(a){n.controlRef=a},n.focusedOptionRef=null,n.getFocusedOptionRef=function(a){n.focusedOptionRef=a},n.menuListRef=null,n.getMenuListRef=function(a){n.menuListRef=a},n.inputRef=null,n.getInputRef=function(a){n.inputRef=a},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(a,u){var c=n.props,g=c.onChange,p=c.name;u.name=p,n.ariaOnChange(a,u),g(a,u)},n.setValue=function(a,u,c){var g=n.props,p=g.closeMenuOnSelect,f=g.isMulti,C=g.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:C}),p&&(n.setState({inputIsHiddenAfterUpdate:!f}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(a,{action:u,option:c})},n.selectOption=function(a){var u=n.props,c=u.blurInputOnSelect,g=u.isMulti,p=u.name,f=n.state.selectValue,C=g&&n.isOptionSelected(a,f),m=n.isOptionDisabled(a,f);if(C){var b=n.getOptionValue(a);n.setValue(f.filter(function(h){return n.getOptionValue(h)!==b}),"deselect-option",a)}else if(!m)g?n.setValue([].concat(kt(f),[a]),"select-option",a):n.setValue(a,"select-option");else{n.ariaOnChange(a,{action:"select-option",option:a,name:p});return}c&&n.blurInput()},n.removeValue=function(a){var u=n.props.isMulti,c=n.state.selectValue,g=n.getOptionValue(a),p=c.filter(function(C){return n.getOptionValue(C)!==g}),f=Vt(u,p,p[0]||null);n.onChange(f,{action:"remove-value",removedValue:a}),n.focusInput()},n.clearValue=function(){var a=n.state.selectValue;n.onChange(Vt(n.props.isMulti,[],null),{action:"clear",removedValues:a})},n.popValue=function(){var a=n.props.isMulti,u=n.state.selectValue,c=u[u.length-1],g=u.slice(0,u.length-1),p=Vt(a,g,g[0]||null);c&&n.onChange(p,{action:"pop-value",removedValue:c})},n.getFocusedOptionId=function(a){return gn(n.state.focusableOptionsWithIds,a)},n.getFocusableOptionsWithIds=function(){return to(Ft(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];return Ta.apply(void 0,[n.props.classNamePrefix].concat(u))},n.getOptionLabel=function(a){return ro(n.props,a)},n.getOptionValue=function(a){return Pt(n.props,a)},n.getStyles=function(a,u){var c=n.props.unstyled,g=Ol[a](u,c);g.boxSizing="border-box";var p=n.props.styles[a];return p?p(g,u):g},n.getClassNames=function(a,u){var c,g;return(c=(g=n.props.classNames)[a])===null||c===void 0?void 0:c.call(g,u)},n.getElementId=function(a){return"".concat(n.state.instancePrefix,"-").concat(a)},n.getComponents=function(){return il(n.props)},n.buildCategorizedOptions=function(){return Ft(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return eo(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(a,u){n.setState({ariaSelection:F({value:a},u)})},n.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(a){n.blockOptionHover=!1},n.onControlMouseDown=function(a){if(!a.defaultPrevented){var u=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&n.onMenuClose():u&&n.openMenu("first"):(u&&(n.openAfterFocus=!0),n.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},n.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!n.props.isDisabled){var u=n.props,c=u.isMulti,g=u.menuIsOpen;n.focusInput(),g?(n.setState({inputIsHiddenAfterUpdate:!c}),n.onMenuClose()):n.openMenu("first"),a.preventDefault()}},n.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(n.clearValue(),a.preventDefault(),n.openAfterFocus=!1,a.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(a){typeof n.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Bt(a.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(a)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(a){var u=a.touches,c=u&&u.item(0);c&&(n.initialTouchX=c.clientX,n.initialTouchY=c.clientY,n.userIsDragging=!1)},n.onTouchMove=function(a){var u=a.touches,c=u&&u.item(0);if(c){var g=Math.abs(c.clientX-n.initialTouchX),p=Math.abs(c.clientY-n.initialTouchY),f=5;n.userIsDragging=g>f||p>f}},n.onTouchEnd=function(a){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(a.target)&&n.menuListRef&&!n.menuListRef.contains(a.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(a){n.userIsDragging||n.onControlMouseDown(a)},n.onClearIndicatorTouchEnd=function(a){n.userIsDragging||n.onClearIndicatorMouseDown(a)},n.onDropdownIndicatorTouchEnd=function(a){n.userIsDragging||n.onDropdownIndicatorMouseDown(a)},n.handleInputChange=function(a){var u=n.props.inputValue,c=a.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(c,{action:"input-change",prevInputValue:u}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(a){n.props.onFocus&&n.props.onFocus(a),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(a){var u=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(a),n.onInputChange("",{action:"input-blur",prevInputValue:u}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(a){if(!(n.blockOptionHover||n.state.focusedOption===a)){var u=n.getFocusableOptions(),c=u.indexOf(a);n.setState({focusedOption:a,focusedOptionId:c>-1?n.getFocusedOptionId(a):null})}},n.shouldHideSelectedOptions=function(){return so(n.props)},n.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),n.focus()},n.onKeyDown=function(a){var u=n.props,c=u.isMulti,g=u.backspaceRemovesValue,p=u.escapeClearsValue,f=u.inputValue,C=u.isClearable,m=u.isDisabled,b=u.menuIsOpen,h=u.onKeyDown,S=u.tabSelectsValue,y=u.openMenuOnFocus,G=n.state,I=G.focusedOption,E=G.focusedValue,B=G.selectValue;if(!m&&!(typeof h=="function"&&(h(a),a.defaultPrevented))){switch(n.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||f)return;n.focusValue("previous");break;case"ArrowRight":if(!c||f)return;n.focusValue("next");break;case"Delete":case"Backspace":if(f)return;if(E)n.removeValue(E);else{if(!g)return;c?n.popValue():C&&n.clearValue()}break;case"Tab":if(n.isComposing||a.shiftKey||!b||!S||!I||y&&n.isOptionSelected(I,B))return;n.selectOption(I);break;case"Enter":if(a.keyCode===229)break;if(b){if(!I||n.isComposing)return;n.selectOption(I);break}return;case"Escape":b?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:f}),n.onMenuClose()):C&&p&&n.clearValue();break;case" ":if(f)return;if(!b){n.openMenu("first");break}if(!I)return;n.selectOption(I);break;case"ArrowUp":b?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":b?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!b)return;n.focusOption("pageup");break;case"PageDown":if(!b)return;n.focusOption("pagedown");break;case"Home":if(!b)return;n.focusOption("first");break;case"End":if(!b)return;n.focusOption("last");break;default:return}a.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++Ul),n.state.selectValue=Er(o.value),o.menuIsOpen&&n.state.selectValue.length){var i=n.getFocusableOptionsWithIds(),s=n.buildFocusableOptions(),l=s.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=i,n.state.focusedOption=s[l],n.state.focusedOptionId=gn(i,s[l])}return n}return ci(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Br(this.menuListRef,this.focusedOptionRef),Rl()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var i=this.props,s=i.isDisabled,l=i.menuIsOpen,a=this.state.isFocused;(a&&!s&&n.isDisabled||a&&l&&!n.menuIsOpen)&&this.focusInput(),a&&s&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!s&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Br(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(n,i){this.props.onInputChange(n,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var i=this,s=this.state,l=s.selectValue,a=s.isFocused,u=this.buildFocusableOptions(),c=n==="first"?0:u.length-1;if(!this.props.isMulti){var g=u.indexOf(l[0]);g>-1&&(c=g)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(n){var i=this.state,s=i.selectValue,l=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=s.indexOf(l);l||(a=-1);var u=s.length-1,c=-1;if(s.length){switch(n){case"previous":a===0?c=0:a===-1?c=u:c=a-1;break;case"next":a>-1&&a<u&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:s[c]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,s=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var a=0,u=l.indexOf(s);s||(u=-1),n==="up"?a=u>0?u-1:l.length-1:n==="down"?a=(u+1)%l.length:n==="pageup"?(a=u-i,a<0&&(a=0)):n==="pagedown"?(a=u+i,a>l.length-1&&(a=l.length-1)):n==="last"&&(a=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(dn):F(F({},dn),this.props.theme):dn}},{key:"getCommonProps",value:function(){var n=this.clearValue,i=this.cx,s=this.getStyles,l=this.getClassNames,a=this.getValue,u=this.selectOption,c=this.setValue,g=this.props,p=g.isMulti,f=g.isRtl,C=g.options,m=this.hasValue();return{clearValue:n,cx:i,getStyles:s,getClassNames:l,getValue:a,hasValue:m,isMulti:p,isRtl:f,options:C,selectOption:u,selectProps:g,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,i=n.isClearable,s=n.isMulti;return i===void 0?s:i}},{key:"isOptionDisabled",value:function(n,i){return oo(this.props,n,i)}},{key:"isOptionSelected",value:function(n,i){return io(this.props,n,i)}},{key:"filterOption",value:function(n,i){return ao(this.props,n,i)}},{key:"formatOptionLabel",value:function(n,i){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(n,{context:i,inputValue:s,selectValue:l})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var n=this.props,i=n.isDisabled,s=n.isSearchable,l=n.inputId,a=n.inputValue,u=n.tabIndex,c=n.form,g=n.menuIsOpen,p=n.required,f=this.getComponents(),C=f.Input,m=this.state,b=m.inputIsHidden,h=m.ariaSelection,S=this.commonProps,y=l||this.getElementId("input"),G=F(F(F({"aria-autocomplete":"list","aria-expanded":g,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":p,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},g&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?h?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?L.createElement(C,R({},S,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:i,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:a},G)):L.createElement(Cl,R({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Gt,onFocus:this.onInputFocus,disabled:i,tabIndex:u,inputMode:"none",form:c,value:""},G))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,i=this.getComponents(),s=i.MultiValue,l=i.MultiValueContainer,a=i.MultiValueLabel,u=i.MultiValueRemove,c=i.SingleValue,g=i.Placeholder,p=this.commonProps,f=this.props,C=f.controlShouldRenderValue,m=f.isDisabled,b=f.isMulti,h=f.inputValue,S=f.placeholder,y=this.state,G=y.selectValue,I=y.focusedValue,E=y.isFocused;if(!this.hasValue()||!C)return h?null:L.createElement(g,R({},p,{key:"placeholder",isDisabled:m,isFocused:E,innerProps:{id:this.getElementId("placeholder")}}),S);if(b)return G.map(function(_,P){var O=_===I,W="".concat(n.getOptionLabel(_),"-").concat(n.getOptionValue(_));return L.createElement(s,R({},p,{components:{Container:l,Label:a,Remove:u},isFocused:O,isDisabled:m,key:W,index:P,removeProps:{onClick:function(){return n.removeValue(_)},onTouchEnd:function(){return n.removeValue(_)},onMouseDown:function(ne){ne.preventDefault()}},data:_}),n.formatOptionLabel(_,"value"))});if(h)return null;var B=G[0];return L.createElement(c,R({},p,{data:B,isDisabled:m}),this.formatOptionLabel(B,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),i=n.ClearIndicator,s=this.commonProps,l=this.props,a=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!this.isClearable()||!i||a||!this.hasValue()||u)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(i,R({},s,{innerProps:g,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),i=n.LoadingIndicator,s=this.commonProps,l=this.props,a=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!i||!u)return null;var g={"aria-hidden":"true"};return L.createElement(i,R({},s,{innerProps:g,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator,s=n.IndicatorSeparator;if(!i||!s)return null;var l=this.commonProps,a=this.props.isDisabled,u=this.state.isFocused;return L.createElement(s,R({},l,{isDisabled:a,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator;if(!i)return null;var s=this.commonProps,l=this.props.isDisabled,a=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(i,R({},s,{innerProps:u,isDisabled:l,isFocused:a}))}},{key:"renderMenu",value:function(){var n=this,i=this.getComponents(),s=i.Group,l=i.GroupHeading,a=i.Menu,u=i.MenuList,c=i.MenuPortal,g=i.LoadingMessage,p=i.NoOptionsMessage,f=i.Option,C=this.commonProps,m=this.state.focusedOption,b=this.props,h=b.captureMenuScroll,S=b.inputValue,y=b.isLoading,G=b.loadingMessage,I=b.minMenuHeight,E=b.maxMenuHeight,B=b.menuIsOpen,_=b.menuPlacement,P=b.menuPosition,O=b.menuPortalTarget,W=b.menuShouldBlockScroll,K=b.menuShouldScrollIntoView,ne=b.noOptionsMessage,re=b.onMenuScrollToTop,q=b.onMenuScrollToBottom;if(!B)return null;var j=function(M,Z){var se=M.type,oe=M.data,A=M.isDisabled,T=M.isSelected,D=M.label,ee=M.value,ue=m===oe,w=A?void 0:function(){return n.onOptionHover(oe)},de=A?void 0:function(){return n.selectOption(oe)},he="".concat(n.getElementId("option"),"-").concat(Z),Be={id:he,onClick:de,onMouseMove:w,onMouseOver:w,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:T};return L.createElement(f,R({},C,{innerProps:Be,data:oe,isDisabled:A,isSelected:T,key:he,label:D,type:se,value:ee,isFocused:ue,innerRef:ue?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(M.data,"menu"))},k;if(this.hasOptions())k=this.getCategorizedOptions().map(function(N){if(N.type==="group"){var M=N.data,Z=N.options,se=N.index,oe="".concat(n.getElementId("group"),"-").concat(se),A="".concat(oe,"-heading");return L.createElement(s,R({},C,{key:oe,data:M,options:Z,Heading:l,headingProps:{id:A,data:N.data},label:n.formatGroupLabel(N.data)}),N.options.map(function(T){return j(T,"".concat(se,"-").concat(T.index))}))}else if(N.type==="option")return j(N,"".concat(N.index))});else if(y){var z=G({inputValue:S});if(z===null)return null;k=L.createElement(g,C,z)}else{var le=ne({inputValue:S});if(le===null)return null;k=L.createElement(p,C,le)}var ae={minMenuHeight:I,maxMenuHeight:E,menuPlacement:_,menuPosition:P,menuShouldScrollIntoView:K},x=L.createElement(Ua,R({},C,ae),function(N){var M=N.ref,Z=N.placerProps,se=Z.placement,oe=Z.maxHeight;return L.createElement(a,R({},C,ae,{innerRef:M,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:y,placement:se}),L.createElement(Bl,{captureEnabled:h,onTopArrive:re,onBottomArrive:q,lockEnabled:W},function(A){return L.createElement(u,R({},C,{innerRef:function(D){n.getMenuListRef(D),A(D)},innerProps:{role:"listbox","aria-multiselectable":C.isMulti,id:n.getElementId("listbox")},isLoading:y,maxHeight:oe,focusedOption:m}),k)}))});return O||P==="fixed"?L.createElement(c,R({},C,{appendTo:O,controlElement:this.controlRef,menuPlacement:_,menuPosition:P}),x):x}},{key:"renderFormField",value:function(){var n=this,i=this.props,s=i.delimiter,l=i.isDisabled,a=i.isMulti,u=i.name,c=i.required,g=this.state.selectValue;if(c&&!this.hasValue()&&!l)return L.createElement(Vl,{name:u,onFocus:this.onValueInputFocus});if(!(!u||l))if(a)if(s){var p=g.map(function(m){return n.getOptionValue(m)}).join(s);return L.createElement("input",{name:u,type:"hidden",value:p})}else{var f=g.length>0?g.map(function(m,b){return L.createElement("input",{key:"i-".concat(b),name:u,type:"hidden",value:n.getOptionValue(m)})}):L.createElement("input",{name:u,type:"hidden",value:""});return L.createElement("div",null,f)}else{var C=g[0]?this.getOptionValue(g[0]):"";return L.createElement("input",{name:u,type:"hidden",value:C})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,i=this.state,s=i.ariaSelection,l=i.focusedOption,a=i.focusedValue,u=i.isFocused,c=i.selectValue,g=this.getFocusableOptions();return L.createElement(fl,R({},n,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:l,focusedValue:a,isFocused:u,selectValue:c,focusableOptions:g,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),i=n.Control,s=n.IndicatorsContainer,l=n.SelectContainer,a=n.ValueContainer,u=this.props,c=u.className,g=u.id,p=u.isDisabled,f=u.menuIsOpen,C=this.state.isFocused,m=this.commonProps=this.getCommonProps();return L.createElement(l,R({},m,{className:c,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:C}),this.renderLiveRegion(),L.createElement(i,R({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:C,menuIsOpen:f}),L.createElement(a,R({},m,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),L.createElement(s,R({},m,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,i){var s=i.prevProps,l=i.clearFocusValueOnUpdate,a=i.inputIsHiddenAfterUpdate,u=i.ariaSelection,c=i.isFocused,g=i.prevWasFocused,p=i.instancePrefix,f=n.options,C=n.value,m=n.menuIsOpen,b=n.inputValue,h=n.isMulti,S=Er(C),y={};if(s&&(C!==s.value||f!==s.options||m!==s.menuIsOpen||b!==s.inputValue)){var G=m?Yl(n,S):[],I=m?to(Ft(n,S),"".concat(p,"-option")):[],E=l?Jl(i,S):null,B=$l(i,G),_=gn(I,B);y={selectValue:S,focusedOption:B,focusedOptionId:_,focusableOptionsWithIds:I,focusedValue:E,clearFocusValueOnUpdate:!1}}var P=a!=null&&n!==s?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},O=u,W=c&&g;return c&&!W&&(O={value:Vt(h,S,S[0]||null),options:S,action:"initial-input-focus"},W=!g),u?.action==="initial-input-focus"&&(O=null),F(F(F({},y),P),{},{prevProps:n,ariaSelection:O,prevWasFocused:W})}}]),r})(v.Component);lo.defaultProps=zl;var Ql=v.forwardRef(function(t,e){var r=li(t);return L.createElement(lo,R({ref:e},r))}),ql=Ql;const Re={select:"_select_3o48x_1",requiredSymbol:"_requiredSymbol_3o48x_1",selectContainer:"_selectContainer_3o48x_8",small:"_small_3o48x_11",selectListArrow:"_selectListArrow_3o48x_11",hasErrors:"_hasErrors_3o48x_126"},uo=t=>{const{id:e,name:r="",required:o=!1,disabled:n=!1,options:i=[],width:s,label:l="",placeholder:a="",defaultContent:u="",role:c,"aria-describedby":g,hasErrors:p=!1,errorMessage:f="",size:C="medium"}=t,m=()=>`${e}-errorMessage`,b=t.multiple===!0,h=v.useMemo(()=>i.map(E=>typeof E=="object"?{value:E.value,label:String(E.key)}:{value:E,label:String(E)}),[i]),S=E=>h.find(_=>_.value===E)??{value:E,label:String(E)},y=E=>E===void 0?null:Array.isArray(E)?E.map(S):S(E),G=a||u||"",I=E=>{if(b){const _=E.map(P=>P.value);t.multiple&&t.onChange(_);return}const B=E;t.multiple||B&&t.onChange(B.value)};return d.jsxs("div",{className:Re.select,children:[d.jsxs(qe,{htmlFor:e,children:[l,o&&d.jsx("img",{src:Ve,alt:"",className:Re.requiredSymbol})]}),d.jsxs("div",{className:Y([Re.selectContainer,C==="small"&&Re.small]),style:s?{maxWidth:s}:void 0,role:c,children:[d.jsx("span",{className:Re.selectListArrow}),d.jsx(ql,{inputId:e,name:r,"aria-describedby":p&&f?m():g,"aria-invalid":p||void 0,"aria-required":o||void 0,isDisabled:n,isMulti:b,isSearchable:!1,closeMenuOnSelect:!b,placeholder:G,onChange:I,options:h,className:Y([p&&Re.hasErrors,C==="small"&&Re.small]),classNamePrefix:"reactSelect",components:{DropdownIndicator:()=>null,IndicatorSeparator:()=>null},...t.value!==void 0?{value:y(t.value)}:t.defaultValue!==void 0?{defaultValue:y(t.defaultValue)}:{}})]}),d.jsx(Ue,{id:m(),content:f})]})},Se={wizardTopnavItem:"_wizardTopnavItem_5ar16_1",wizardTopnavItemContent:"_wizardTopnavItemContent_5ar16_4",vertical:"_vertical_5ar16_7",stepNumber:"_stepNumber_5ar16_24",stepName:"_stepName_5ar16_36",active:"_active_5ar16_46",finished:"_finished_5ar16_46",hasErrors:"_hasErrors_5ar16_46",horizontal:"_horizontal_5ar16_64"},co=({step:t,index:e,activeStepId:r,direction:o="vertical"})=>{const n=r===t.id,i=o==="vertical",s=Y([Se.wizardTopnavItem,n&&Se.active,t.finished&&Se.finished,t.hasErrors&&Se.hasErrors,Se[o]]),l=n?"step":void 0,a=()=>d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Se.stepNumber,children:e+1}),d.jsx("span",{className:Se.stepName,children:t.name}),i&&t.finished&&!n&&d.jsx("img",{src:En,alt:"",className:Se.checkmarkSymbol})]});return t.link&&Object.keys(t.link).length>0?d.jsx("li",{className:s,children:d.jsx(Tt.Link,{to:t.link,"aria-current":l,className:Se.wizardTopnavItemContent,children:a()})}):d.jsx("li",{className:s,children:d.jsx("span",{"aria-current":l,className:Se.wizardTopnavItemContent,children:a()})})},H={table:"_table_m7buf_1",thButton:"_thButton_m7buf_19",sortable:"_sortable_m7buf_29",label:"_label_m7buf_39",sortIndicators:"_sortIndicators_m7buf_43",sortArrow:"_sortArrow_m7buf_49",activeArrow:"_activeArrow_m7buf_55",evenRow:"_evenRow_m7buf_59",oddRow:"_oddRow_m7buf_62",loadingRow:"_loadingRow_m7buf_73",loadingCell:"_loadingCell_m7buf_77",selectionHeader:"_selectionHeader_m7buf_82",selectionCell:"_selectionCell_m7buf_88",selectionControl:"_selectionControl_m7buf_102",rowClickable:"_rowClickable_m7buf_109",srOnly:"_srOnly_m7buf_116",pagination:"_pagination_m7buf_127",paginationControls:"_paginationControls_m7buf_134",paginationWithPageSize:"_paginationWithPageSize_m7buf_143",pageSizeSelector:"_pageSizeSelector_m7buf_147",pageNavButtonHidden:"_pageNavButtonHidden_m7buf_151",pageNavIcon:"_pageNavIcon_m7buf_155",pageList:"_pageList_m7buf_161",pageNumber:"_pageNumber_m7buf_167",pageNumberActive:"_pageNumberActive_m7buf_188",pageEllipsis:"_pageEllipsis_m7buf_193"},Kl=(t,e)=>e<=7?Array.from({length:e},(r,o)=>o+1):t<=4?[1,2,3,4,5,"...",e]:t>=e-3?[1,"...",e-4,e-3,e-2,e-1,e]:[1,"...",t-1,t,t+1,"...",e],eu=({columns:t,data:e,loading:r=!1,loadingAriaLabel:o,getRowId:n,selectionType:i,selectionLabel:s="Velg rad",selectedRowId:l,onSelect:a,selectedRowIds:u,onSelectMany:c,onRowClick:g,pageSize:p,page:f,defaultPage:C=1,onPageChange:m,pageSizeOptions:b,defaultPageSize:h,onPageSizeChange:S})=>{const[y,G]=v.useState(null),I=v.useId(),[E,B]=v.useState(C),[_,P]=v.useState(()=>{if(p===void 0){if(h&&h>0)return h;if(b?.length)return b[0]}});v.useEffect(()=>{const A=t.find(T=>T.sortable);G(A?{headerKey:A.key,direction:"asc"}:null)},[t]);const O=v.useMemo(()=>{const A=new Map;for(const T of t)A.set(T.key,T);return A},[t]),W=v.useMemo(()=>{if(!y)return e;const A=O.get(y.headerKey);if(!A)return e;const T=A.sortAccessor??A.accessor;if(!T)return e;const D=[...e];return D.sort((ee,ue)=>{const w=T(ee),de=T(ue);if(w==null||de==null)return 0;if(typeof w=="number"&&typeof de=="number")return y.direction==="asc"?w-de:de-w;if(w instanceof Date&&de instanceof Date)return y.direction==="asc"?w.getTime()-de.getTime():de.getTime()-w.getTime();const he=String(w),Be=String(de);return y.direction==="asc"?he.localeCompare(Be,void 0,{numeric:!0}):Be.localeCompare(he,void 0,{numeric:!0})}),D},[e,y,O]),K=A=>{G(T=>!T||T.headerKey!==A?{headerKey:A,direction:"asc"}:{headerKey:A,direction:T.direction==="asc"?"desc":"asc"})},ne=(A,T)=>{if(T)return y?.headerKey!==A?"none":y.direction==="asc"?"ascending":"descending"},re=(A,T)=>{const D=n?.(A,T);if(D==null||D===""){const ee=e.indexOf(A);return ee===-1?T:ee}return D},q=v.useMemo(()=>i!=="multiple"?new Set:new Set(u??[]),[u,i]),j=v.useMemo(()=>{const A=p??_;return!A||A<=0?W.length||e.length||1:A},[p,_,W.length,e.length]),k=v.useMemo(()=>Math.max(1,Math.ceil(W.length/j)),[W.length,j]),z=v.useMemo(()=>{const A=f??E;return!Number.isFinite(A)||A<1?1:A>k?k:A},[f,E,k]);v.useEffect(()=>{f===void 0&&z>k&&B(k)},[z,k,f]);const le=v.useMemo(()=>{if(j>=W.length)return W;const A=(z-1)*j;return W.slice(A,A+j)},[W,z,j]),ae=t.length+(i?1:0),x=A=>{const T=Math.min(Math.max(A,1),k);f!==void 0?m?.(T):B(T)},N=A=>{const T=A>0?Math.floor(A):1;p!==void 0?S?.(T):(P(T),B(1))},M=!r&&k>1,Z=!r&&!!b?.length,se=v.useMemo(()=>Kl(z,k),[z,k]),oe=Y([H.paginationControls,Z&&H.paginationWithPageSize]);return d.jsxs(d.Fragment,{children:[d.jsxs("table",{className:H.table,children:[d.jsx("thead",{children:d.jsxs("tr",{children:[i&&d.jsx("th",{className:H.selectionHeader,"aria-label":s,children:d.jsx("span",{className:H.srOnly,children:s})}),t.map(({key:A,label:T,sortable:D,ariaLabel:ee})=>{const ue=y?.headerKey===A,w=ue&&y.direction==="asc",de=ue&&y.direction==="desc";return d.jsx("th",{"aria-sort":ne(A,D),scope:"col",children:D?d.jsxs("button",{type:"button",className:`${H.thButton} ${H.sortable}`,onClick:()=>K(A),"aria-label":`${ee??T}: sort ${ue&&w?"descending":"ascending"}`,children:[d.jsx("span",{className:H.label,children:T}),d.jsxs("span",{className:H.sortIndicators,"aria-hidden":"true",children:[d.jsx("span",{className:`${H.sortArrow} ${w?H.activeArrow:""}`,children:d.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:d.jsx("path",{d:"M2 6 6 2 10 6",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),d.jsx("span",{className:`${H.sortArrow} ${de?H.activeArrow:""}`,children:d.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:d.jsx("path",{d:"M2 2 6 6 10 2",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}):d.jsx("span",{className:H.thButton,children:d.jsx("span",{className:H.label,children:T})})},A)})]})}),d.jsx("tbody",{children:r?d.jsx("tr",{className:H.loadingRow,children:d.jsx("td",{className:H.loadingCell,colSpan:ae,children:d.jsx(Ln,{ariaLabel:o})})}):le.map((A,T)=>{const D=re(A,T),ee=`${I}-${D}`,ue=i==="single"&&l===D,w=i==="multiple"&&q.has(D),Be=!!g||i==="single"&&!!a||i==="multiple"&&!!c,uu=()=>{if(i==="single")a?.(A);else if(i==="multiple"&&c){const ge=new Set(q);ge.has(D)?ge.delete(D):ge.add(D);const De=e.filter((pn,mn)=>{const vn=re(pn,mn);return ge.has(vn)});c(De)}g?.(A)};return d.jsxs("tr",{className:Y([T%2===0?H.evenRow:H.oddRow,Be&&H.rowClickable]),onClick:Be?uu:void 0,children:[i==="single"&&d.jsx("td",{className:H.selectionCell,children:d.jsx("button",{type:"button",className:H.selectionControl,onClick:ge=>ge.stopPropagation(),children:d.jsx(Lt,{id:ee,name:I,inputValue:String(D),checked:ue,onChange:ge=>{ge?.stopPropagation(),a?.(A)},"aria-label":s})})}),i==="multiple"&&d.jsx("td",{className:H.selectionCell,children:d.jsx("button",{type:"button",className:H.selectionControl,onClick:ge=>ge.stopPropagation(),children:d.jsx(Rt,{id:ee,value:String(D),checked:w,onChange:ge=>{if(ge?.stopPropagation(),!c)return;const De=new Set(q);De.has(D)?De.delete(D):De.add(D);const pn=e.filter((mn,vn)=>{const cu=re(mn,vn);return De.has(cu)});c(pn)},"aria-label":s})})}),t.map(ge=>d.jsx("td",{children:ge.render?ge.render(A):String(ge.accessor?.(A)??"")},ge.key))]},D)})})]}),(M||Z)&&d.jsxs("div",{className:oe,children:[Z&&d.jsx("div",{className:H.pageSizeSelector,children:d.jsx(uo,{id:`${I}-page-size`,label:"Rader per side",options:b,value:j,onChange:A=>N(Number(A)),width:"120px",size:"small"})}),M&&d.jsxs("div",{className:H.pagination,children:[d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:Y([H.pageNavButtonPrevious,z<=1&&H.pageNavButtonHidden]),onClick:()=>x(z-1),disabled:z<=1,"aria-label":"Forrige side",content:"Forrige",iconLeft:d.jsx("span",{className:H.pageNavIcon,"aria-hidden":"true",children:d.jsxs("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("title",{children:"Forrige side"}),d.jsx("path",{d:"M10.5 3.5L6 8l4.5 4.5",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})})}),d.jsx("div",{className:H.pageList,children:se.map(A=>A==="..."?d.jsx("span",{className:H.pageEllipsis,children:"..."},`ellipsis-${A}`):d.jsx("button",{type:"button",className:Y([H.pageNumber,A===z&&H.pageNumberActive]),onClick:()=>x(Number(A)),"aria-current":A===z?"page":void 0,children:A},A))}),d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:Y([H.pageNavButtonNext,z>=k&&H.pageNavButtonHidden]),onClick:()=>x(z+1),disabled:z>=k,"aria-label":"Neste side",content:"Neste",iconRight:d.jsx("span",{className:H.pageNavIcon,"aria-hidden":"true",children:d.jsxs("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("title",{children:"Neste side"}),d.jsx("path",{d:"M5.5 3.5L10 8l-4.5 4.5",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})})})]})]})]})},Ge={tabs:"_tabs_x3s88_1",tabList:"_tabList_x3s88_5",tab:"_tab_x3s88_1",active:"_active_x3s88_42",disabled:"_disabled_x3s88_47",tabLabel:"_tabLabel_x3s88_55",tabAmount:"_tabAmount_x3s88_59",tabPanels:"_tabPanels_x3s88_66",tabPanel:"_tabPanel_x3s88_66",hidden:"_hidden_x3s88_74"},lt=({children:t,defaultIndex:e=0,onChange:r,className:o})=>{const[n,i]=v.useState(e),s=v.useId(),l=v.useMemo(()=>s.replace(/:/g,""),[s]),a=u=>{i(u),r?.(u)};return d.jsx("div",{className:Y([Ge.tabs,o]),children:v.Children.map(t,u=>v.isValidElement(u)?u.type===go?v.cloneElement(u,{activeIndex:n,setActiveIndex:a,baseId:l}):u.type===bo?v.cloneElement(u,{activeIndex:n,baseId:l}):u:null)})},go=({children:t,activeIndex:e=0,setActiveIndex:r,baseId:o})=>{const n=v.useMemo(()=>v.Children.toArray(t).filter(l=>v.isValidElement(l)),[t]),i=n.length,s=(l,a)=>{if(!r||i===0)return;let u=a;switch(l.key){case"ArrowRight":l.preventDefault(),u=(a+1)%i;break;case"ArrowLeft":l.preventDefault(),u=(a-1+i)%i;break;case"Home":l.preventDefault(),u=0;break;case"End":l.preventDefault(),u=i-1;break;default:return}r(u)};return d.jsx("div",{className:Ge.tabList,role:"tablist",children:n.map((l,a)=>{if(!v.isValidElement(l))return null;const u=`${o}-tab-${a}`,c=`${o}-panel-${a}`,g=a===e;return v.cloneElement(l,{tabId:u,panelId:c,isActive:g,onSelect:()=>r?.(a),onKeyDown:p=>s(p,a)})})})},tu=({children:t,amount:e,isActive:r,onSelect:o,onClick:n,onKeyDown:i,tabId:s,panelId:l,className:a,...u})=>{const c=Y([Ge.tab,r&&Ge.active,u.disabled&&Ge.disabled,a]),g=f=>{n?.(f),!f.defaultPrevented&&o?.()},p=f=>{i?.(f)};return d.jsxs("button",{...u,id:s,role:"tab",type:"button","aria-selected":r,"aria-controls":l,className:c,onClick:g,onKeyDown:p,children:[d.jsx("span",{className:Ge.tabLabel,children:t}),e&&d.jsx("span",{className:Ge.tabAmount,children:e})]})},bo=({children:t,activeIndex:e=0,baseId:r})=>d.jsx("div",{className:Ge.tabPanels,children:v.Children.map(t,(o,n)=>{if(!v.isValidElement(o))return null;const i=`${r}-tab-${n}`,s=`${r}-panel-${n}`;return v.cloneElement(o,{isActive:n===e,tabId:i,panelId:s})})}),nu=({children:t,isActive:e,tabId:r,panelId:o})=>d.jsx("div",{role:"tabpanel",id:o,"aria-labelledby":r,className:Y([Ge.tabPanel,!e&&Ge.hidden]),hidden:!e,children:t});lt.List=go,lt.Tab=tu,lt.Panels=bo,lt.Panel=nu;const ru=t=>{let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=r.length;for(let n=0;n<t;n++)e+=r.charAt(Math.floor(Math.random()*o));return e},bn={textarea:"_textarea_1596u_1",requiredSymbol:"_requiredSymbol_1596u_4",hasErrors:"_hasErrors_1596u_55"},ou=({id:t,onChange:e,onBlur:r,name:o="",required:n=!1,readOnly:i,disabled:s,width:l,resize:a="both",value:u,defaultValue:c,elementKey:g,rows:p,label:f="",placeholder:C="","aria-describedby":m,hasErrors:b=!1,errorMessage:h=""})=>{const S=()=>`${t}-errorMessage`,y=!u?.length&&c?.length?c:void 0,G=g||`${t}-${ru(6)}`,I={...l&&{maxWidth:l},...a&&{resize:a}},E={name:o,readOnly:i,disabled:s,required:n,id:t,onChange:e,onBlur:r,value:y?void 0:u,defaultValue:y||void 0,placeholder:C,rows:p?parseInt(p,10):void 0,className:b?bn.hasErrors:"","aria-describedby":b&&h?S():m,"aria-invalid":b?"true":void 0,style:I};return d.jsxs("div",{className:bn.textarea,children:[d.jsxs(qe,{htmlFor:t,children:[f,n&&d.jsx("img",{src:Ve,alt:"",className:bn.requiredSymbol})]}),d.jsx("textarea",{...E},G),d.jsx(Ue,{id:S(),content:h})]})},iu=({theme:t,children:e})=>{const r=Co(t),o=yo(r);return xo("theme-provider",`:root {${o}}`),e},au={toggleNavigationButton:"_toggleNavigationButton_1eb2w_1"},su=({id:t,htmlTag:e="button",showText:r,hideText:o,buttonProps:n={},isOpen:i=!1})=>v.createElement(e,{...n,className:au.toggleNavigationButton,id:t||void 0},i?o:r),fn={wizardTopnavContainer:"_wizardTopnavContainer_qiy2o_1",wizardTopnav:"_wizardTopnav_qiy2o_1",vertical:"_vertical_qiy2o_6",horizontal:"_horizontal_qiy2o_11"},lu=({steps:t,activeStepId:e,direction:r="vertical","aria-label":o})=>{const n=Object.keys(t),s=`I dette skjemaet er det totalt ${n.length} steg som du skal gå igjennom`,l=o?.length?o:s;return d.jsx("nav",{"aria-label":l,className:Y([fn.wizardTopnavContainer,fn[r]]),children:d.jsx("ol",{className:fn.wizardTopnav,children:n.map((a,u)=>d.jsx(co,{step:t[a],activeStepId:e,direction:r,index:u},a))})})};X.Accordion=Bo,X.Button=Fe,X.CheckBoxIcon=An,X.CheckBoxInput=Rt,X.CheckBoxList=_o,X.CheckBoxListItem=wo,X.Container=Gn,X.ContentBox=Vo,X.DescriptionDetails=Fo,X.DescriptionList=Po,X.DescriptionTerm=To,X.Dialog=Xo,X.DragAndDropFileInput=Mo,X.ErrorBox=Oo,X.ErrorMessage=Ue,X.Footer=Zo,X.Header=Ye,X.InfoBox=Pn,X.InputField=Ho,X.Label=qe,X.List=jo,X.ListItem=zo,X.LoadingAnimation=Ln,X.NavigationBar=Uo,X.Paper=Qo,X.Paragraph=qo,X.ProgressBar=Ko,X.RadioButtonIcon=kn,X.RadioButtonInput=Lt,X.RadioButtonList=ei,X.RadioButtonListItem=ti,X.Select=uo,X.Table=eu,X.Tabs=lt,X.Textarea=ou,X.ThemeProvider=iu,X.ToggleNavigationButton=su,X.WizardNavigation=lu,X.WizardNavigationStep=co,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));
11
+ `]))),ys=function(e,r){var o=e.isFocused,n=e.size,i=e.theme,s=i.colors,l=i.spacing.baseUnit;return P({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:o?s.neutral60:s.neutral20,padding:l*2})},nn=function(e){var r=e.delay,o=e.offset;return T("span",{css:$t({animation:"".concat(xs," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:o?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi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4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},As=function(e){var r=e.innerProps,o=e.isRtl,n=e.size,i=n===void 0?4:n,s=Be(e,gs);return T("div",R({},re(P(P({},s),{},{innerProps:r,isRtl:o,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),T(nn,{delay:0,offset:o}),T(nn,{delay:160,offset:!0}),T(nn,{delay:320,offset:!o}))},Es=function(e,r){var o=e.isDisabled,n=e.isFocused,i=e.theme,s=i.colors,l=i.borderRadius,a=i.spacing;return P({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:o?s.neutral5:s.neutral0,borderColor:o?s.neutral10:n?s.primary:s.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:n?s.primary:s.neutral30}})},Gs=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,i=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return T("div",R({ref:i},re(e,"control",{control:!0,"control--is-disabled":o,"control--is-focused":n,"control--menu-is-open":l}),s,{"aria-disabled":o||void 0}),r)},Ss=Gs,Bs=["data"],Vs=function(e,r){var o=e.theme.spacing;return r?{}:{paddingBottom:o.baseUnit*2,paddingTop:o.baseUnit*2}},ws=function(e){var r=e.children,o=e.cx,n=e.getStyles,i=e.getClassNames,s=e.Heading,l=e.headingProps,a=e.innerProps,c=e.label,u=e.theme,g=e.selectProps;return T("div",R({},re(e,"group",{group:!0}),a),T(s,R({},l,{selectProps:g,theme:u,getStyles:n,getClassNames:i,cx:o}),c),T("div",null,r))},_s=function(e,r){var o=e.theme,n=o.colors,i=o.spacing;return P({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},Ns=function(e){var r=Ar(e);r.data;var o=Be(r,Bs);return T("div",R({},re(e,"groupHeading",{"group-heading":!0}),o))},Fs=ws,Ts=["innerRef","isDisabled","isHidden","inputClassName"],Ps=function(e,r){var o=e.isDisabled,n=e.value,i=e.theme,s=i.spacing,l=i.colors;return P(P({visibility:o?"hidden":"visible",transform:n?"translateZ(0)":""},Rs),r?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:l.neutral80})},Rr={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Rs={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":P({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Rr)},Ms=function(e){return P({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Rr)},Hs=function(e){var r=e.cx,o=e.value,n=Ar(e),i=n.innerRef,s=n.isDisabled,l=n.isHidden,a=n.inputClassName,c=Be(n,Ts);return T("div",R({},re(e,"input",{"input-container":!0}),{"data-value":o||""}),T("input",R({className:r({input:!0},a),ref:i,style:Ms(l),disabled:s},c)))},Ls=Hs,Xs=function(e,r){var o=e.theme,n=o.spacing,i=o.borderRadius,s=o.colors;return P({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:s.neutral10,borderRadius:i/2,margin:n.baseUnit/2})},Zs=function(e,r){var o=e.theme,n=o.borderRadius,i=o.colors,s=e.cropWithEllipsis;return P({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Ws=function(e,r){var o=e.theme,n=o.spacing,i=o.borderRadius,s=o.colors,l=e.isFocused;return P({alignItems:"center",display:"flex"},r?{}:{borderRadius:i/2,backgroundColor:l?s.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},Mr=function(e){var r=e.children,o=e.innerProps;return T("div",o,r)},Os=Mr,ks=Mr;function Ds(t){var e=t.children,r=t.innerProps;return T("div",R({role:"button"},r),e||T(tn,{size:14}))}var js=function(e){var r=e.children,o=e.components,n=e.data,i=e.innerProps,s=e.isDisabled,l=e.removeProps,a=e.selectProps,c=o.Container,u=o.Label,g=o.Remove;return T(c,{data:n,innerProps:P(P({},re(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),i),selectProps:a},T(u,{data:n,innerProps:P({},re(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},r),T(g,{data:n,innerProps:P(P({},re(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},l),selectProps:a}))},Ys=js,zs=function(e,r){var o=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.theme,l=s.spacing,a=s.colors;return P({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:i?a.primary:n?a.primary25:"transparent",color:o?a.neutral20:i?a.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:o?void 0:i?a.primary:a.primary50}})},Js=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.innerRef,l=e.innerProps;return T("div",R({},re(e,"option",{option:!0,"option--is-disabled":o,"option--is-focused":n,"option--is-selected":i}),{ref:s,"aria-disabled":o},l),r)},$s=Js,Us=function(e,r){var o=e.theme,n=o.spacing,i=o.colors;return P({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:i.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},Qs=function(e){var r=e.children,o=e.innerProps;return T("div",R({},re(e,"placeholder",{placeholder:!0}),o),r)},qs=Qs,Ks=function(e,r){var o=e.isDisabled,n=e.theme,i=n.spacing,s=n.colors;return P({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:o?s.neutral40:s.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},el=function(e){var r=e.children,o=e.isDisabled,n=e.innerProps;return T("div",R({},re(e,"singleValue",{"single-value":!0,"single-value--is-disabled":o}),n),r)},tl=el,nl={ClearIndicator:vs,Control:Ss,DropdownIndicator:ms,DownChevron:Tr,CrossIcon:tn,Group:Fs,GroupHeading:Ns,IndicatorsContainer:us,IndicatorSeparator:Is,Input:Ls,LoadingIndicator:As,Menu:Ua,MenuList:qa,MenuPortal:os,LoadingMessage:ns,NoOptionsMessage:ts,MultiValue:Ys,MultiValueContainer:Os,MultiValueLabel:ks,MultiValueRemove:Ds,Option:$s,Placeholder:qs,SelectContainer:as,SingleValue:tl,ValueContainer:ls},rl=function(e){return P(P({},nl),e.components)},Hr=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function ol(t,e){return!!(t===e||Hr(t)&&Hr(e))}function il(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!ol(t[r],e[r]))return!1;return!0}function al(t,e){e===void 0&&(e=il);var r=null;function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&e(n,r.lastArgs))return r.lastResult;var s=t.apply(this,n);return r={lastResult:s,lastArgs:n,lastThis:this},s}return o.clear=function(){r=null},o}function sl(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var ll=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:sl},cl=function(e){return T("span",R({css:ll},e))},Lr=cl,ul={guidance:function(e){var r=e.isSearchable,o=e.isMulti,n=e.tabSelectsValue,i=e.context,s=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(e["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(o?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var r=e.action,o=e.label,n=o===void 0?"":o,i=e.labels,s=e.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return s?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(e){var r=e.context,o=e.focused,n=e.options,i=e.label,s=i===void 0?"":i,l=e.selectValue,a=e.isDisabled,c=e.isSelected,u=e.isAppleDevice,g=function(m,b){return m&&m.length?"".concat(m.indexOf(b)+1," of ").concat(m.length):""};if(r==="value"&&l)return"value ".concat(s," focused, ").concat(g(l,o),".");if(r==="menu"&&u){var p=a?" disabled":"",f="".concat(c?" selected":"").concat(p);return"".concat(s).concat(f,", ").concat(g(n,o),".")}return""},onFilter:function(e){var r=e.inputValue,o=e.resultsMessage;return"".concat(o).concat(r?" for search term "+r:"",".")}},dl=function(e){var r=e.ariaSelection,o=e.focusedOption,n=e.focusedValue,i=e.focusableOptions,s=e.isFocused,l=e.selectValue,a=e.selectProps,c=e.id,u=e.isAppleDevice,g=a.ariaLiveMessages,p=a.getOptionLabel,f=a.inputValue,I=a.isMulti,m=a.isOptionDisabled,b=a.isSearchable,h=a.menuIsOpen,E=a.options,A=a.screenReaderStatus,G=a.tabSelectsValue,C=a.isLoading,V=a["aria-label"],B=a["aria-live"],S=v.useMemo(function(){return P(P({},ul),g||{})},[g]),w=v.useMemo(function(){var L="";if(r&&S.onChange){var O=r.option,ie=r.options,te=r.removedValue,ae=r.removedValues,se=r.value,x=function(j){return Array.isArray(j)?null:j},y=te||O||x(se),_=y?p(y):"",F=ie||ae||void 0,K=F?F.map(p):[],Q=P({isDisabled:y&&m(y,l),label:_,labels:K},r);L=S.onChange(Q)}return L},[r,S,m,l,p]),Z=v.useMemo(function(){var L="",O=o||n,ie=!!(o&&l&&l.includes(o));if(O&&S.onFocus){var te={focused:O,label:p(O),isDisabled:m(O,l),isSelected:ie,options:i,context:O===o?"menu":"value",selectValue:l,isAppleDevice:u};L=S.onFocus(te)}return L},[o,n,p,m,S,i,l,u]),W=v.useMemo(function(){var L="";if(h&&E.length&&!C&&S.onFilter){var O=A({count:i.length});L=S.onFilter({inputValue:f,resultsMessage:O})}return L},[i,f,h,S,E,A,C]),k=r?.action==="initial-input-focus",ee=v.useMemo(function(){var L="";if(S.guidance){var O=n?"value":h?"menu":"input";L=S.guidance({"aria-label":V,context:O,isDisabled:o&&m(o,l),isMulti:I,isSearchable:b,tabSelectsValue:G,isInitialFocus:k})}return L},[V,o,n,I,m,b,h,S,l,G,k]),q=T(v.Fragment,null,T("span",{id:"aria-selection"},w),T("span",{id:"aria-focused"},Z),T("span",{id:"aria-results"},W),T("span",{id:"aria-guidance"},ee));return T(v.Fragment,null,T(Lr,{id:c},k&&q),T(Lr,{"aria-live":B,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!k&&q))},gl=dl,rn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],bl=new RegExp("["+rn.map(function(t){return t.letters}).join("")+"]","g"),Xr={},on=0;on<rn.length;on++)for(var an=rn[on],sn=0;sn<an.letters.length;sn++)Xr[an.letters[sn]]=an.base;var Zr=function(e){return e.replace(bl,function(r){return Xr[r]})},fl=al(Zr),Wr=function(e){return e.replace(/^\s+|\s+$/g,"")},pl=function(e){return"".concat(e.label," ").concat(e.value)},ml=function(e){return function(r,o){if(r.data.__isNew__)return!0;var n=P({ignoreCase:!0,ignoreAccents:!0,stringify:pl,trim:!0,matchFrom:"any"},e),i=n.ignoreCase,s=n.ignoreAccents,l=n.stringify,a=n.trim,c=n.matchFrom,u=a?Wr(o):o,g=a?Wr(l(r)):l(r);return i&&(u=u.toLowerCase(),g=g.toLowerCase()),s&&(u=fl(u),g=Zr(g)),c==="start"?g.substr(0,u.length)===u:g.indexOf(u)>-1}},hl=["innerRef"];function vl(t){var e=t.innerRef,r=Be(t,hl),o=Oa(r,"onExited","in","enter","exit","appear");return T("input",R({ref:e},o,{css:$t({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdX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AnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Cl=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Il(t){var e=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,n=t.onTopArrive,i=t.onTopLeave,s=v.useRef(!1),l=v.useRef(!1),a=v.useRef(0),c=v.useRef(null),u=v.useCallback(function(b,h){if(c.current!==null){var E=c.current,A=E.scrollTop,G=E.scrollHeight,C=E.clientHeight,V=c.current,B=h>0,S=G-C-A,w=!1;S>h&&s.current&&(o&&o(b),s.current=!1),B&&l.current&&(i&&i(b),l.current=!1),B&&h>S?(r&&!s.current&&r(b),V.scrollTop=G,w=!0,s.current=!0):!B&&-h>A&&(n&&!l.current&&n(b),V.scrollTop=0,w=!0,l.current=!0),w&&Cl(b)}},[r,o,n,i]),g=v.useCallback(function(b){u(b,b.deltaY)},[u]),p=v.useCallback(function(b){a.current=b.changedTouches[0].clientY},[]),f=v.useCallback(function(b){var h=a.current-b.changedTouches[0].clientY;u(b,h)},[u]),I=v.useCallback(function(b){if(b){var h=Xa?{passive:!1}:!1;b.addEventListener("wheel",g,h),b.addEventListener("touchstart",p,h),b.addEventListener("touchmove",f,h)}},[f,p,g]),m=v.useCallback(function(b){b&&(b.removeEventListener("wheel",g,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",f,!1))},[f,p,g]);return v.useEffect(function(){if(e){var b=c.current;return I(b),function(){m(b)}}},[e,I,m]),function(b){c.current=b}}var Or=["boxSizing","height","overflow","paddingRight","position"],kr={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Dr(t){t.cancelable&&t.preventDefault()}function jr(t){t.stopPropagation()}function Yr(){var t=this.scrollTop,e=this.scrollHeight,r=t+this.offsetHeight;t===0?this.scrollTop=1:r===e&&(this.scrollTop=t-1)}function zr(){return"ontouchstart"in window||navigator.maxTouchPoints}var Jr=!!(typeof window<"u"&&window.document&&window.document.createElement),rt=0,Ze={capture:!1,passive:!1};function xl(t){var e=t.isEnabled,r=t.accountForScrollbars,o=r===void 0?!0:r,n=v.useRef({}),i=v.useRef(null),s=v.useCallback(function(a){if(Jr){var c=document.body,u=c&&c.style;if(o&&Or.forEach(function(I){var m=u&&u[I];n.current[I]=m}),o&&rt<1){var g=parseInt(n.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,f=window.innerWidth-p+g||0;Object.keys(kr).forEach(function(I){var m=kr[I];u&&(u[I]=m)}),u&&(u.paddingRight="".concat(f,"px"))}c&&zr()&&(c.addEventListener("touchmove",Dr,Ze),a&&(a.addEventListener("touchstart",Yr,Ze),a.addEventListener("touchmove",jr,Ze))),rt+=1}},[o]),l=v.useCallback(function(a){if(Jr){var c=document.body,u=c&&c.style;rt=Math.max(rt-1,0),o&&rt<1&&Or.forEach(function(g){var p=n.current[g];u&&(u[g]=p)}),c&&zr()&&(c.removeEventListener("touchmove",Dr,Ze),a&&(a.removeEventListener("touchstart",Yr,Ze),a.removeEventListener("touchmove",jr,Ze)))}},[o]);return v.useEffect(function(){if(e){var a=i.current;return s(a),function(){l(a)}}},[e,s,l]),function(a){i.current=a}}function yl(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Al=function(e){var r=e.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},El=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9u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G9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:yl};function Gl(t){var e=t.children,r=t.lockEnabled,o=t.captureEnabled,n=o===void 0?!0:o,i=t.onBottomArrive,s=t.onBottomLeave,l=t.onTopArrive,a=t.onTopLeave,c=Il({isEnabled:n,onBottomArrive:i,onBottomLeave:s,onTopArrive:l,onTopLeave:a}),u=xl({isEnabled:r}),g=function(f){c(f),u(f)};return T(v.Fragment,null,r&&T("div",{onClick:Al,css:El}),e(g))}function Sl(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Bl=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:Sl},Vl=function(e){var r=e.name,o=e.onFocus;return T("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:o,css:Bl,value:"",onChange:function(){}})},wl=Vl;function ln(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function _l(){return ln(/^iPhone/i)}function $r(){return ln(/^Mac/i)}function Nl(){return ln(/^iPad/i)||$r()&&navigator.maxTouchPoints>1}function Fl(){return _l()||Nl()}function Tl(){return $r()||Fl()}var Pl=function(e){return e.label},Rl=function(e){return e.label},Ml=function(e){return e.value},Hl=function(e){return!!e.isDisabled},Ll={clearIndicator:hs,container:is,control:Es,dropdownIndicator:ps,group:Vs,groupHeading:_s,indicatorsContainer:cs,indicatorSeparator:Cs,input:Ps,loadingIndicator:ys,loadingMessage:es,menu:za,menuList:Qa,menuPortal:rs,multiValue:Xs,multiValueLabel:Zs,multiValueRemove:Ws,noOptionsMessage:Ka,option:zs,placeholder:Us,singleValue:Ks,valueContainer:ss},Xl={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},Zl=4,Ur=4,Wl=38,Ol=Ur*2,kl={baseUnit:Ur,controlHeight:Wl,menuGutter:Ol},cn={borderRadius:Zl,colors:Xl,spacing:kl},Dl={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Sr(),captureMenuScroll:!Sr(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:ml(),formatGroupLabel:Pl,getOptionLabel:Rl,getOptionValue:Ml,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Hl,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Ha(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var r=e.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Qr(t,e,r,o){var n=no(t,e,r),i=ro(t,e,r),s=to(t,e),l=Nt(t,e);return{type:"option",data:e,isDisabled:n,isSelected:i,label:s,value:l,index:o}}function _t(t,e){return t.options.map(function(r,o){if("options"in r){var n=r.options.map(function(s,l){return Qr(t,s,e,l)}).filter(function(s){return eo(t,s)});return n.length>0?{type:"group",data:r,options:n,index:o}:void 0}var i=Qr(t,r,e,o);return eo(t,i)?i:void 0}).filter(Za)}function qr(t){return t.reduce(function(e,r){return r.type==="group"?e.push.apply(e,Xt(r.options.map(function(o){return o.data}))):e.push(r.data),e},[])}function Kr(t,e){return t.reduce(function(r,o){return o.type==="group"?r.push.apply(r,Xt(o.options.map(function(n){return{data:n.data,id:"".concat(e,"-").concat(o.index,"-").concat(n.index)}}))):r.push({data:o.data,id:"".concat(e,"-").concat(o.index)}),r},[])}function jl(t,e){return qr(_t(t,e))}function eo(t,e){var r=t.inputValue,o=r===void 0?"":r,n=e.data,i=e.isSelected,s=e.label,l=e.value;return(!io(t)||!i)&&oo(t,{label:s,value:l,data:n},o)}function Yl(t,e){var r=t.focusedValue,o=t.selectValue,n=o.indexOf(r);if(n>-1){var i=e.indexOf(r);if(i>-1)return r;if(n<e.length)return e[n]}return null}function zl(t,e){var r=t.focusedOption;return r&&e.indexOf(r)>-1?r:e[0]}var un=function(e,r){var o,n=(o=e.find(function(i){return i.data===r}))===null||o===void 0?void 0:o.id;return n||null},to=function(e,r){return e.getOptionLabel(r)},Nt=function(e,r){return e.getOptionValue(r)};function no(t,e,r){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,r):!1}function ro(t,e,r){if(r.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,r);var o=Nt(t,e);return r.some(function(n){return Nt(t,n)===o})}function oo(t,e,r){return t.filterOption?t.filterOption(e,r):!0}var io=function(e){var r=e.hideSelectedOptions,o=e.isMulti;return r===void 0?o:r},Jl=1,ao=(function(t){ci(r,t);var e=gi(r);function r(o){var n;if(si(this,r),n=e.call(this,o),n.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(a){n.controlRef=a},n.focusedOptionRef=null,n.getFocusedOptionRef=function(a){n.focusedOptionRef=a},n.menuListRef=null,n.getMenuListRef=function(a){n.menuListRef=a},n.inputRef=null,n.getInputRef=function(a){n.inputRef=a},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(a,c){var u=n.props,g=u.onChange,p=u.name;c.name=p,n.ariaOnChange(a,c),g(a,c)},n.setValue=function(a,c,u){var g=n.props,p=g.closeMenuOnSelect,f=g.isMulti,I=g.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:I}),p&&(n.setState({inputIsHiddenAfterUpdate:!f}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(a,{action:c,option:u})},n.selectOption=function(a){var c=n.props,u=c.blurInputOnSelect,g=c.isMulti,p=c.name,f=n.state.selectValue,I=g&&n.isOptionSelected(a,f),m=n.isOptionDisabled(a,f);if(I){var b=n.getOptionValue(a);n.setValue(f.filter(function(h){return n.getOptionValue(h)!==b}),"deselect-option",a)}else if(!m)g?n.setValue([].concat(Xt(f),[a]),"select-option",a):n.setValue(a,"select-option");else{n.ariaOnChange(a,{action:"select-option",option:a,name:p});return}u&&n.blurInput()},n.removeValue=function(a){var c=n.props.isMulti,u=n.state.selectValue,g=n.getOptionValue(a),p=u.filter(function(I){return n.getOptionValue(I)!==g}),f=wt(c,p,p[0]||null);n.onChange(f,{action:"remove-value",removedValue:a}),n.focusInput()},n.clearValue=function(){var a=n.state.selectValue;n.onChange(wt(n.props.isMulti,[],null),{action:"clear",removedValues:a})},n.popValue=function(){var a=n.props.isMulti,c=n.state.selectValue,u=c[c.length-1],g=c.slice(0,c.length-1),p=wt(a,g,g[0]||null);u&&n.onChange(p,{action:"pop-value",removedValue:u})},n.getFocusedOptionId=function(a){return un(n.state.focusableOptionsWithIds,a)},n.getFocusableOptionsWithIds=function(){return Kr(_t(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];return Fa.apply(void 0,[n.props.classNamePrefix].concat(c))},n.getOptionLabel=function(a){return to(n.props,a)},n.getOptionValue=function(a){return Nt(n.props,a)},n.getStyles=function(a,c){var u=n.props.unstyled,g=Ll[a](c,u);g.boxSizing="border-box";var p=n.props.styles[a];return p?p(g,c):g},n.getClassNames=function(a,c){var u,g;return(u=(g=n.props.classNames)[a])===null||u===void 0?void 0:u.call(g,c)},n.getElementId=function(a){return"".concat(n.state.instancePrefix,"-").concat(a)},n.getComponents=function(){return rl(n.props)},n.buildCategorizedOptions=function(){return _t(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return qr(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(a,c){n.setState({ariaSelection:P({value:a},c)})},n.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(a){n.blockOptionHover=!1},n.onControlMouseDown=function(a){if(!a.defaultPrevented){var c=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&n.onMenuClose():c&&n.openMenu("first"):(c&&(n.openAfterFocus=!0),n.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},n.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!n.props.isDisabled){var c=n.props,u=c.isMulti,g=c.menuIsOpen;n.focusInput(),g?(n.setState({inputIsHiddenAfterUpdate:!u}),n.onMenuClose()):n.openMenu("first"),a.preventDefault()}},n.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(n.clearValue(),a.preventDefault(),n.openAfterFocus=!1,a.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(a){typeof n.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Gt(a.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(a)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(a){var c=a.touches,u=c&&c.item(0);u&&(n.initialTouchX=u.clientX,n.initialTouchY=u.clientY,n.userIsDragging=!1)},n.onTouchMove=function(a){var c=a.touches,u=c&&c.item(0);if(u){var g=Math.abs(u.clientX-n.initialTouchX),p=Math.abs(u.clientY-n.initialTouchY),f=5;n.userIsDragging=g>f||p>f}},n.onTouchEnd=function(a){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(a.target)&&n.menuListRef&&!n.menuListRef.contains(a.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(a){n.userIsDragging||n.onControlMouseDown(a)},n.onClearIndicatorTouchEnd=function(a){n.userIsDragging||n.onClearIndicatorMouseDown(a)},n.onDropdownIndicatorTouchEnd=function(a){n.userIsDragging||n.onDropdownIndicatorMouseDown(a)},n.handleInputChange=function(a){var c=n.props.inputValue,u=a.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(u,{action:"input-change",prevInputValue:c}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(a){n.props.onFocus&&n.props.onFocus(a),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(a){var c=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(a),n.onInputChange("",{action:"input-blur",prevInputValue:c}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(a){if(!(n.blockOptionHover||n.state.focusedOption===a)){var c=n.getFocusableOptions(),u=c.indexOf(a);n.setState({focusedOption:a,focusedOptionId:u>-1?n.getFocusedOptionId(a):null})}},n.shouldHideSelectedOptions=function(){return io(n.props)},n.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),n.focus()},n.onKeyDown=function(a){var c=n.props,u=c.isMulti,g=c.backspaceRemovesValue,p=c.escapeClearsValue,f=c.inputValue,I=c.isClearable,m=c.isDisabled,b=c.menuIsOpen,h=c.onKeyDown,E=c.tabSelectsValue,A=c.openMenuOnFocus,G=n.state,C=G.focusedOption,V=G.focusedValue,B=G.selectValue;if(!m&&!(typeof h=="function"&&(h(a),a.defaultPrevented))){switch(n.blockOptionHover=!0,a.key){case"ArrowLeft":if(!u||f)return;n.focusValue("previous");break;case"ArrowRight":if(!u||f)return;n.focusValue("next");break;case"Delete":case"Backspace":if(f)return;if(V)n.removeValue(V);else{if(!g)return;u?n.popValue():I&&n.clearValue()}break;case"Tab":if(n.isComposing||a.shiftKey||!b||!E||!C||A&&n.isOptionSelected(C,B))return;n.selectOption(C);break;case"Enter":if(a.keyCode===229)break;if(b){if(!C||n.isComposing)return;n.selectOption(C);break}return;case"Escape":b?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:f}),n.onMenuClose()):I&&p&&n.clearValue();break;case" ":if(f)return;if(!b){n.openMenu("first");break}if(!C)return;n.selectOption(C);break;case"ArrowUp":b?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":b?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!b)return;n.focusOption("pageup");break;case"PageDown":if(!b)return;n.focusOption("pagedown");break;case"Home":if(!b)return;n.focusOption("first");break;case"End":if(!b)return;n.focusOption("last");break;default:return}a.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++Jl),n.state.selectValue=yr(o.value),o.menuIsOpen&&n.state.selectValue.length){var i=n.getFocusableOptionsWithIds(),s=n.buildFocusableOptions(),l=s.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=i,n.state.focusedOption=s[l],n.state.focusedOptionId=un(i,s[l])}return n}return li(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Gr(this.menuListRef,this.focusedOptionRef),Tl()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var i=this.props,s=i.isDisabled,l=i.menuIsOpen,a=this.state.isFocused;(a&&!s&&n.isDisabled||a&&l&&!n.menuIsOpen)&&this.focusInput(),a&&s&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!s&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Gr(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(n,i){this.props.onInputChange(n,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var i=this,s=this.state,l=s.selectValue,a=s.isFocused,c=this.buildFocusableOptions(),u=n==="first"?0:c.length-1;if(!this.props.isMulti){var g=c.indexOf(l[0]);g>-1&&(u=g)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[u],focusedOptionId:this.getFocusedOptionId(c[u])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(n){var i=this.state,s=i.selectValue,l=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=s.indexOf(l);l||(a=-1);var c=s.length-1,u=-1;if(s.length){switch(n){case"previous":a===0?u=0:a===-1?u=c:u=a-1;break;case"next":a>-1&&a<c&&(u=a+1);break}this.setState({inputIsHidden:u!==-1,focusedValue:s[u]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,s=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var a=0,c=l.indexOf(s);s||(c=-1),n==="up"?a=c>0?c-1:l.length-1:n==="down"?a=(c+1)%l.length:n==="pageup"?(a=c-i,a<0&&(a=0)):n==="pagedown"?(a=c+i,a>l.length-1&&(a=l.length-1)):n==="last"&&(a=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(cn):P(P({},cn),this.props.theme):cn}},{key:"getCommonProps",value:function(){var n=this.clearValue,i=this.cx,s=this.getStyles,l=this.getClassNames,a=this.getValue,c=this.selectOption,u=this.setValue,g=this.props,p=g.isMulti,f=g.isRtl,I=g.options,m=this.hasValue();return{clearValue:n,cx:i,getStyles:s,getClassNames:l,getValue:a,hasValue:m,isMulti:p,isRtl:f,options:I,selectOption:c,selectProps:g,setValue:u,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,i=n.isClearable,s=n.isMulti;return i===void 0?s:i}},{key:"isOptionDisabled",value:function(n,i){return no(this.props,n,i)}},{key:"isOptionSelected",value:function(n,i){return ro(this.props,n,i)}},{key:"filterOption",value:function(n,i){return oo(this.props,n,i)}},{key:"formatOptionLabel",value:function(n,i){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(n,{context:i,inputValue:s,selectValue:l})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var n=this.props,i=n.isDisabled,s=n.isSearchable,l=n.inputId,a=n.inputValue,c=n.tabIndex,u=n.form,g=n.menuIsOpen,p=n.required,f=this.getComponents(),I=f.Input,m=this.state,b=m.inputIsHidden,h=m.ariaSelection,E=this.commonProps,A=l||this.getElementId("input"),G=P(P(P({"aria-autocomplete":"list","aria-expanded":g,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":p,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},g&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?h?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?X.createElement(I,R({},E,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:A,innerRef:this.getInputRef,isDisabled:i,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:u,type:"text",value:a},G)):X.createElement(vl,R({id:A,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Et,onFocus:this.onInputFocus,disabled:i,tabIndex:c,inputMode:"none",form:u,value:""},G))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,i=this.getComponents(),s=i.MultiValue,l=i.MultiValueContainer,a=i.MultiValueLabel,c=i.MultiValueRemove,u=i.SingleValue,g=i.Placeholder,p=this.commonProps,f=this.props,I=f.controlShouldRenderValue,m=f.isDisabled,b=f.isMulti,h=f.inputValue,E=f.placeholder,A=this.state,G=A.selectValue,C=A.focusedValue,V=A.isFocused;if(!this.hasValue()||!I)return h?null:X.createElement(g,R({},p,{key:"placeholder",isDisabled:m,isFocused:V,innerProps:{id:this.getElementId("placeholder")}}),E);if(b)return G.map(function(S,w){var Z=S===C,W="".concat(n.getOptionLabel(S),"-").concat(n.getOptionValue(S));return X.createElement(s,R({},p,{components:{Container:l,Label:a,Remove:c},isFocused:Z,isDisabled:m,key:W,index:w,removeProps:{onClick:function(){return n.removeValue(S)},onTouchEnd:function(){return n.removeValue(S)},onMouseDown:function(ee){ee.preventDefault()}},data:S}),n.formatOptionLabel(S,"value"))});if(h)return null;var B=G[0];return X.createElement(u,R({},p,{data:B,isDisabled:m}),this.formatOptionLabel(B,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),i=n.ClearIndicator,s=this.commonProps,l=this.props,a=l.isDisabled,c=l.isLoading,u=this.state.isFocused;if(!this.isClearable()||!i||a||!this.hasValue()||c)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return X.createElement(i,R({},s,{innerProps:g,isFocused:u}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),i=n.LoadingIndicator,s=this.commonProps,l=this.props,a=l.isDisabled,c=l.isLoading,u=this.state.isFocused;if(!i||!c)return null;var g={"aria-hidden":"true"};return X.createElement(i,R({},s,{innerProps:g,isDisabled:a,isFocused:u}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator,s=n.IndicatorSeparator;if(!i||!s)return null;var l=this.commonProps,a=this.props.isDisabled,c=this.state.isFocused;return X.createElement(s,R({},l,{isDisabled:a,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator;if(!i)return null;var s=this.commonProps,l=this.props.isDisabled,a=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return X.createElement(i,R({},s,{innerProps:c,isDisabled:l,isFocused:a}))}},{key:"renderMenu",value:function(){var n=this,i=this.getComponents(),s=i.Group,l=i.GroupHeading,a=i.Menu,c=i.MenuList,u=i.MenuPortal,g=i.LoadingMessage,p=i.NoOptionsMessage,f=i.Option,I=this.commonProps,m=this.state.focusedOption,b=this.props,h=b.captureMenuScroll,E=b.inputValue,A=b.isLoading,G=b.loadingMessage,C=b.minMenuHeight,V=b.maxMenuHeight,B=b.menuIsOpen,S=b.menuPlacement,w=b.menuPosition,Z=b.menuPortalTarget,W=b.menuShouldBlockScroll,k=b.menuShouldScrollIntoView,ee=b.noOptionsMessage,q=b.onMenuScrollToTop,L=b.onMenuScrollToBottom;if(!B)return null;var O=function(_,F){var K=_.type,Q=_.data,M=_.isDisabled,j=_.isSelected,ce=_.label,pe=_.value,de=m===Q,N=M?void 0:function(){return n.onOptionHover(Q)},we=M?void 0:function(){return n.selectOption(Q)},ne="".concat(n.getElementId("option"),"-").concat(F),he={id:ne,onClick:we,onMouseMove:N,onMouseOver:N,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:j};return X.createElement(f,R({},I,{innerProps:he,data:Q,isDisabled:M,isSelected:j,key:ne,label:ce,type:K,value:pe,isFocused:de,innerRef:de?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(_.data,"menu"))},ie;if(this.hasOptions())ie=this.getCategorizedOptions().map(function(y){if(y.type==="group"){var _=y.data,F=y.options,K=y.index,Q="".concat(n.getElementId("group"),"-").concat(K),M="".concat(Q,"-heading");return X.createElement(s,R({},I,{key:Q,data:_,options:F,Heading:l,headingProps:{id:M,data:y.data},label:n.formatGroupLabel(y.data)}),y.options.map(function(j){return O(j,"".concat(K,"-").concat(j.index))}))}else if(y.type==="option")return O(y,"".concat(y.index))});else if(A){var te=G({inputValue:E});if(te===null)return null;ie=X.createElement(g,I,te)}else{var ae=ee({inputValue:E});if(ae===null)return null;ie=X.createElement(p,I,ae)}var se={minMenuHeight:C,maxMenuHeight:V,menuPlacement:S,menuPosition:w,menuShouldScrollIntoView:k},x=X.createElement(Ja,R({},I,se),function(y){var _=y.ref,F=y.placerProps,K=F.placement,Q=F.maxHeight;return X.createElement(a,R({},I,se,{innerRef:_,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:A,placement:K}),X.createElement(Gl,{captureEnabled:h,onTopArrive:q,onBottomArrive:L,lockEnabled:W},function(M){return X.createElement(c,R({},I,{innerRef:function(ce){n.getMenuListRef(ce),M(ce)},innerProps:{role:"listbox","aria-multiselectable":I.isMulti,id:n.getElementId("listbox")},isLoading:A,maxHeight:Q,focusedOption:m}),ie)}))});return Z||w==="fixed"?X.createElement(u,R({},I,{appendTo:Z,controlElement:this.controlRef,menuPlacement:S,menuPosition:w}),x):x}},{key:"renderFormField",value:function(){var n=this,i=this.props,s=i.delimiter,l=i.isDisabled,a=i.isMulti,c=i.name,u=i.required,g=this.state.selectValue;if(u&&!this.hasValue()&&!l)return X.createElement(wl,{name:c,onFocus:this.onValueInputFocus});if(!(!c||l))if(a)if(s){var p=g.map(function(m){return n.getOptionValue(m)}).join(s);return X.createElement("input",{name:c,type:"hidden",value:p})}else{var f=g.length>0?g.map(function(m,b){return X.createElement("input",{key:"i-".concat(b),name:c,type:"hidden",value:n.getOptionValue(m)})}):X.createElement("input",{name:c,type:"hidden",value:""});return X.createElement("div",null,f)}else{var I=g[0]?this.getOptionValue(g[0]):"";return X.createElement("input",{name:c,type:"hidden",value:I})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,i=this.state,s=i.ariaSelection,l=i.focusedOption,a=i.focusedValue,c=i.isFocused,u=i.selectValue,g=this.getFocusableOptions();return X.createElement(gl,R({},n,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:l,focusedValue:a,isFocused:c,selectValue:u,focusableOptions:g,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),i=n.Control,s=n.IndicatorsContainer,l=n.SelectContainer,a=n.ValueContainer,c=this.props,u=c.className,g=c.id,p=c.isDisabled,f=c.menuIsOpen,I=this.state.isFocused,m=this.commonProps=this.getCommonProps();return X.createElement(l,R({},m,{className:u,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:I}),this.renderLiveRegion(),X.createElement(i,R({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:I,menuIsOpen:f}),X.createElement(a,R({},m,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),X.createElement(s,R({},m,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,i){var s=i.prevProps,l=i.clearFocusValueOnUpdate,a=i.inputIsHiddenAfterUpdate,c=i.ariaSelection,u=i.isFocused,g=i.prevWasFocused,p=i.instancePrefix,f=n.options,I=n.value,m=n.menuIsOpen,b=n.inputValue,h=n.isMulti,E=yr(I),A={};if(s&&(I!==s.value||f!==s.options||m!==s.menuIsOpen||b!==s.inputValue)){var G=m?jl(n,E):[],C=m?Kr(_t(n,E),"".concat(p,"-option")):[],V=l?Yl(i,E):null,B=zl(i,G),S=un(C,B);A={selectValue:E,focusedOption:B,focusedOptionId:S,focusableOptionsWithIds:C,focusedValue:V,clearFocusValueOnUpdate:!1}}var w=a!=null&&n!==s?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},Z=c,W=u&&g;return u&&!W&&(Z={value:wt(h,E,E[0]||null),options:E,action:"initial-input-focus"},W=!g),c?.action==="initial-input-focus"&&(Z=null),P(P(P({},A),w),{},{prevProps:n,ariaSelection:Z,prevWasFocused:W})}}]),r})(v.Component);ao.defaultProps=Dl;var $l=v.forwardRef(function(t,e){var r=ai(t);return X.createElement(ao,R({ref:e},r))}),Ul=$l;const ot={select:"_select_15rcp_1",requiredSymbol:"_requiredSymbol_15rcp_1",selectContainer:"_selectContainer_15rcp_7",selectListArrow:"_selectListArrow_15rcp_11",hasErrors:"_hasErrors_15rcp_122"},Ql=t=>{const{id:e,name:r="",required:o=!1,disabled:n=!1,options:i=[],width:s,label:l="",placeholder:a="",defaultContent:c="",role:u,"aria-describedby":g,hasErrors:p=!1,errorMessage:f="",backgroundColor:I,textColor:m,placeholderColor:b}=t,h=()=>`${e}-errorMessage`,E=t.multiple===!0,A=v.useMemo(()=>i.map(w=>typeof w=="object"?{value:w.value,label:String(w.key)}:{value:w,label:String(w)}),[i]),G=w=>A.find(W=>W.value===w)??{value:w,label:String(w)},C=w=>w===void 0?null:Array.isArray(w)?w.map(G):G(w),V=a||c||"",B={...s?{maxWidth:s}:{},...I?{"--select-background":I}:{},...m?{"--select-text":m}:{},...b?{"--select-placeholder":b}:{}},S=w=>{if(E){const W=w.map(k=>k.value);t.multiple&&t.onChange(W);return}const Z=w;t.multiple||Z&&t.onChange(Z.value)};return d.jsxs("div",{className:ot.select,children:[d.jsxs($e,{htmlFor:e,children:[l,o&&d.jsx("img",{src:_e,alt:"",className:ot.requiredSymbol})]}),d.jsxs("div",{className:Y([ot.selectContainer]),style:B,role:u,children:[d.jsx("span",{className:ot.selectListArrow}),d.jsx(Ul,{inputId:e,name:r,"aria-describedby":p&&f?h():g,"aria-invalid":p||void 0,"aria-required":o||void 0,isDisabled:n,isMulti:E,isSearchable:!1,closeMenuOnSelect:!E,placeholder:V,onChange:S,options:A,className:Y([p&&ot.hasErrors]),classNamePrefix:"reactSelect",components:{IndicatorSeparator:()=>null},...t.value!==void 0?{value:C(t.value)}:t.defaultValue!==void 0?{defaultValue:C(t.defaultValue)}:{}})]}),d.jsx(ze,{id:h(),content:f})]})},Ee={wizardTopnavItem:"_wizardTopnavItem_5ar16_1",wizardTopnavItemContent:"_wizardTopnavItemContent_5ar16_4",vertical:"_vertical_5ar16_7",stepNumber:"_stepNumber_5ar16_24",stepName:"_stepName_5ar16_36",active:"_active_5ar16_46",finished:"_finished_5ar16_46",hasErrors:"_hasErrors_5ar16_46",horizontal:"_horizontal_5ar16_64"},so=({step:t,index:e,activeStepId:r,direction:o="vertical"})=>{const n=r===t.id,i=o==="vertical",s=Y([Ee.wizardTopnavItem,n&&Ee.active,t.finished&&Ee.finished,t.hasErrors&&Ee.hasErrors,Ee[o]]),l=n?"step":void 0,a=()=>d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ee.stepNumber,children:e+1}),d.jsx("span",{className:Ee.stepName,children:t.name}),i&&t.finished&&!n&&d.jsx("img",{src:yn,alt:"",className:Ee.checkmarkSymbol})]});return t.link&&Object.keys(t.link).length>0?d.jsx("li",{className:s,children:d.jsx(Ft.Link,{to:t.link,"aria-current":l,className:Ee.wizardTopnavItemContent,children:a()})}):d.jsx("li",{className:s,children:d.jsx("span",{"aria-current":l,className:Ee.wizardTopnavItemContent,children:a()})})},D={table:"_table_1e4hl_1",thButton:"_thButton_1e4hl_21",sortable:"_sortable_1e4hl_29",label:"_label_1e4hl_39",sortIndicators:"_sortIndicators_1e4hl_43",sortArrow:"_sortArrow_1e4hl_51",activeArrow:"_activeArrow_1e4hl_58",evenRow:"_evenRow_1e4hl_62",oddRow:"_oddRow_1e4hl_65",loadingRow:"_loadingRow_1e4hl_78",loadingCell:"_loadingCell_1e4hl_82",selectionHeader:"_selectionHeader_1e4hl_87",selectionCell:"_selectionCell_1e4hl_93",selectionControl:"_selectionControl_1e4hl_107",rowClickable:"_rowClickable_1e4hl_114",srOnly:"_srOnly_1e4hl_121",pagination:"_pagination_1e4hl_132",paginationControls:"_paginationControls_1e4hl_139",pageNavButtonHidden:"_pageNavButtonHidden_1e4hl_148",pageNavIcon:"_pageNavIcon_1e4hl_152",pageList:"_pageList_1e4hl_158",pageNumber:"_pageNumber_1e4hl_164",pageNumberActive:"_pageNumberActive_1e4hl_185",pageEllipsis:"_pageEllipsis_1e4hl_190"},ql=(t,e)=>e<=7?Array.from({length:e},(r,o)=>o+1):t<=4?[1,2,3,4,5,"...",e]:t>=e-3?[1,"...",e-4,e-3,e-2,e-1,e]:[1,"...",t-1,t,t+1,"...",e],Kl=({columns:t,data:e,loading:r=!1,loadingAriaLabel:o,getRowId:n,selectionType:i,selectionLabel:s="Velg rad",selectedRowId:l,onSelect:a,selectedRowIds:c,onSelectMany:u,onRowClick:g,pageSize:p,page:f,defaultPage:I=1,onPageChange:m,totalCount:b,totalPages:h})=>{const[E,A]=v.useState(null),G=v.useId(),[C,V]=v.useState(I);v.useEffect(()=>{const y=t.find(_=>_.sortable);A(y?{headerKey:y.key,direction:"asc"}:null)},[t]);const B=v.useMemo(()=>{const y=new Map;for(const _ of t)y.set(_.key,_);return y},[t]),S=v.useMemo(()=>{if(!E)return e;const y=B.get(E.headerKey);if(!y)return e;const _=y.sortAccessor??y.accessor;if(!_)return e;const F=[...e];return F.sort((K,Q)=>{const M=_(K),j=_(Q);if(M==null||j==null)return 0;if(typeof M=="number"&&typeof j=="number")return E.direction==="asc"?M-j:j-M;if(M instanceof Date&&j instanceof Date)return E.direction==="asc"?M.getTime()-j.getTime():j.getTime()-M.getTime();const ce=String(M),pe=String(j);return E.direction==="asc"?ce.localeCompare(pe,void 0,{numeric:!0}):pe.localeCompare(ce,void 0,{numeric:!0})}),F},[e,E,B]),w=y=>{A(_=>!_||_.headerKey!==y?{headerKey:y,direction:"asc"}:{headerKey:y,direction:_.direction==="asc"?"desc":"asc"})},Z=(y,_)=>{if(_)return E?.headerKey!==y?"none":E.direction==="asc"?"ascending":"descending"},W=(y,_)=>{const F=n?.(y,_);if(F==null||F===""){const K=e.indexOf(y);return K===-1?_:K}return F},k=v.useMemo(()=>i!=="multiple"?new Set:new Set(c??[]),[c,i]),ee=v.useMemo(()=>!p||p<=0?S.length||e.length||1:p,[p,S.length,e.length]),q=v.useMemo(()=>h!==void 0?Math.max(1,Math.floor(h)):b!==void 0?Math.max(1,Math.ceil(b/ee)):Math.max(1,Math.ceil(S.length/ee)),[S.length,ee,b,h]),L=v.useMemo(()=>{const y=f??C;return!Number.isFinite(y)||y<1?1:y>q?q:y},[f,C,q]);v.useEffect(()=>{f===void 0&&L>q&&V(q)},[L,q,f]);const O=v.useMemo(()=>{if(h!==void 0||b!==void 0||ee>=S.length)return S;const y=(L-1)*ee;return S.slice(y,y+ee)},[S,L,ee,b,h]),ie=t.length+(i?1:0),te=y=>{const _=Math.min(Math.max(y,1),q);f!==void 0?m?.(_):V(_)},ae=!r&&q>1,se=v.useMemo(()=>ql(L,q),[L,q]),x=Y([D.paginationControls]);return d.jsxs(d.Fragment,{children:[d.jsxs("table",{className:D.table,children:[d.jsx("thead",{children:d.jsxs("tr",{children:[i&&d.jsx("th",{className:D.selectionHeader,"aria-label":s,children:d.jsx("span",{className:D.srOnly,children:s})}),t.map(({key:y,label:_,sortable:F,ariaLabel:K})=>{const Q=E?.headerKey===y,M=Q&&E.direction==="asc",j=Q&&E.direction==="desc";return d.jsx("th",{"aria-sort":Z(y,F),scope:"col",children:F?d.jsxs("button",{type:"button",className:`${D.thButton} ${D.sortable}`,onClick:()=>w(y),"aria-label":`${K??_}: sort ${Q&&M?"descending":"ascending"}`,children:[d.jsx("span",{className:D.label,children:_}),d.jsxs("span",{className:D.sortIndicators,"aria-hidden":"true",children:[d.jsx("span",{className:`${D.sortArrow} ${M?D.activeArrow:""}`,children:d.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:d.jsx("path",{d:"M2 6 6 2 10 6",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),d.jsx("span",{className:`${D.sortArrow} ${j?D.activeArrow:""}`,children:d.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:d.jsx("path",{d:"M2 2 6 6 10 2",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}):d.jsx("span",{className:D.thButton,children:d.jsx("span",{className:D.label,children:_})})},y)})]})}),d.jsx("tbody",{children:r?d.jsx("tr",{className:D.loadingRow,children:d.jsx("td",{className:D.loadingCell,colSpan:ie,children:d.jsx(Mn,{ariaLabel:o})})}):O.map((y,_)=>{const F=W(y,_),K=`${G}-${F}`,Q=i==="single",M=i==="multiple",j=Q&&l===F,ce=M&&k.has(F),N=!!g||Q&&!!a||M&&!!u,we=()=>{if(Q)a?.(y);else if(M&&u){const ne=new Set(k);ne.has(F)?ne.delete(F):ne.add(F);const he=e.filter((bn,fn)=>{const pn=W(bn,fn);return ne.has(pn)});u(he)}g?.(y)};return d.jsxs("tr",{className:Y([_%2===0?D.evenRow:D.oddRow,N&&D.rowClickable]),onClick:N?we:void 0,children:[Q&&d.jsx("td",{className:D.selectionCell,children:d.jsx("button",{type:"button",className:D.selectionControl,onClick:ne=>ne.stopPropagation(),children:d.jsx(Mt,{id:K,name:G,inputValue:String(F),checked:j,onChange:ne=>{ne?.stopPropagation(),a?.(y)},"aria-label":s})})}),M&&d.jsx("td",{className:D.selectionCell,children:d.jsx("button",{type:"button",className:D.selectionControl,onClick:ne=>ne.stopPropagation(),children:d.jsx(Tt,{id:K,value:String(F),checked:ce,onChange:ne=>{if(ne?.stopPropagation(),!u)return;const he=new Set(k);he.has(F)?he.delete(F):he.add(F);const bn=e.filter((fn,pn)=>{const lc=W(fn,pn);return he.has(lc)});u(bn)},"aria-label":s})})}),t.map(ne=>d.jsx("td",{children:ne.render?ne.render(y):String(ne.accessor?.(y)??"")},ne.key))]},F)})})]}),ae&&d.jsx("div",{className:x,children:d.jsxs("div",{className:D.pagination,children:[d.jsx(Ne,{type:"button",color:"neutral",noMargin:!0,className:Y([D.pageNavButtonPrevious,L<=1&&D.pageNavButtonHidden]),onClick:()=>te(L-1),disabled:L<=1,"aria-label":"Forrige side",content:"Forrige",iconLeft:d.jsx("span",{className:D.pageNavIcon,"aria-hidden":"true",children:d.jsxs("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("title",{children:"Forrige side"}),d.jsx("path",{d:"M10.5 3.5L6 8l4.5 4.5",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})})}),d.jsx("div",{className:D.pageList,children:se.map(y=>y==="..."?d.jsx("span",{className:D.pageEllipsis,children:"..."},`ellipsis-${y}`):d.jsx("button",{type:"button",className:Y([D.pageNumber,y===L&&D.pageNumberActive]),onClick:()=>te(Number(y)),"aria-current":y===L?"page":void 0,children:y},y))}),d.jsx(Ne,{type:"button",color:"neutral",noMargin:!0,className:Y([D.pageNavButtonNext,L>=q&&D.pageNavButtonHidden]),onClick:()=>te(L+1),disabled:L>=q,"aria-label":"Neste side",content:"Neste",iconRight:d.jsx("span",{className:D.pageNavIcon,"aria-hidden":"true",children:d.jsxs("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("title",{children:"Neste side"}),d.jsx("path",{d:"M5.5 3.5L10 8l-4.5 4.5",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})})})]})})]})},Ge={tabs:"_tabs_x3s88_1",tabList:"_tabList_x3s88_5",tab:"_tab_x3s88_1",active:"_active_x3s88_42",disabled:"_disabled_x3s88_47",tabLabel:"_tabLabel_x3s88_55",tabAmount:"_tabAmount_x3s88_59",tabPanels:"_tabPanels_x3s88_66",tabPanel:"_tabPanel_x3s88_66",hidden:"_hidden_x3s88_74"},it=({children:t,defaultIndex:e=0,onChange:r,className:o})=>{const[n,i]=v.useState(e),s=v.useId(),l=v.useMemo(()=>s.replace(/:/g,""),[s]),a=c=>{i(c),r?.(c)};return d.jsx("div",{className:Y([Ge.tabs,o]),children:v.Children.map(t,c=>v.isValidElement(c)?c.type===lo?v.cloneElement(c,{activeIndex:n,setActiveIndex:a,baseId:l}):c.type===co?v.cloneElement(c,{activeIndex:n,baseId:l}):c:null)})},lo=({children:t,activeIndex:e=0,setActiveIndex:r,baseId:o})=>{const n=v.useMemo(()=>v.Children.toArray(t).filter(l=>v.isValidElement(l)),[t]),i=n.length,s=(l,a)=>{if(!r||i===0)return;let c=a;switch(l.key){case"ArrowRight":l.preventDefault(),c=(a+1)%i;break;case"ArrowLeft":l.preventDefault(),c=(a-1+i)%i;break;case"Home":l.preventDefault(),c=0;break;case"End":l.preventDefault(),c=i-1;break;default:return}r(c)};return d.jsx("div",{className:Ge.tabList,role:"tablist",children:n.map((l,a)=>{if(!v.isValidElement(l))return null;const c=`${o}-tab-${a}`,u=`${o}-panel-${a}`,g=a===e;return v.cloneElement(l,{tabId:c,panelId:u,isActive:g,onSelect:()=>r?.(a),onKeyDown:p=>s(p,a)})})})},ec=({children:t,amount:e,isActive:r,onSelect:o,onClick:n,onKeyDown:i,tabId:s,panelId:l,className:a,...c})=>{const u=Y([Ge.tab,r&&Ge.active,c.disabled&&Ge.disabled,a]),g=f=>{n?.(f),!f.defaultPrevented&&o?.()},p=f=>{i?.(f)};return d.jsxs("button",{...c,id:s,role:"tab",type:"button","aria-selected":r,"aria-controls":l,className:u,onClick:g,onKeyDown:p,children:[d.jsx("span",{className:Ge.tabLabel,children:t}),e&&d.jsx("span",{className:Ge.tabAmount,children:e})]})},co=({children:t,activeIndex:e=0,baseId:r})=>d.jsx("div",{className:Ge.tabPanels,children:v.Children.map(t,(o,n)=>{if(!v.isValidElement(o))return null;const i=`${r}-tab-${n}`,s=`${r}-panel-${n}`;return v.cloneElement(o,{isActive:n===e,tabId:i,panelId:s})})}),tc=({children:t,isActive:e,tabId:r,panelId:o})=>d.jsx("div",{role:"tabpanel",id:o,"aria-labelledby":r,className:Y([Ge.tabPanel,!e&&Ge.hidden]),hidden:!e,children:t});it.List=lo,it.Tab=ec,it.Panels=co,it.Panel=tc;const nc=t=>{let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=r.length;for(let n=0;n<t;n++)e+=r.charAt(Math.floor(Math.random()*o));return e},dn={textarea:"_textarea_1596u_1",requiredSymbol:"_requiredSymbol_1596u_4",hasErrors:"_hasErrors_1596u_55"},rc=({id:t,onChange:e,onBlur:r,name:o="",required:n=!1,readOnly:i,disabled:s,width:l,resize:a="both",value:c,defaultValue:u,elementKey:g,rows:p,label:f="",placeholder:I="","aria-describedby":m,hasErrors:b=!1,errorMessage:h=""})=>{const E=()=>`${t}-errorMessage`,A=!c?.length&&u?.length?u:void 0,G=g||`${t}-${nc(6)}`,C={...l&&{maxWidth:l},...a&&{resize:a}},V={name:o,readOnly:i,disabled:s,required:n,id:t,onChange:e,onBlur:r,value:A?void 0:c,defaultValue:A||void 0,placeholder:I,rows:p?parseInt(p,10):void 0,className:b?dn.hasErrors:"","aria-describedby":b&&h?E():m,"aria-invalid":b?"true":void 0,style:C};return d.jsxs("div",{className:dn.textarea,children:[d.jsxs($e,{htmlFor:t,children:[f,n&&d.jsx("img",{src:_e,alt:"",className:dn.requiredSymbol})]}),d.jsx("textarea",{...V},G),d.jsx(ze,{id:E(),content:h})]})},oc=({theme:t,children:e})=>{const r=ho(t),o=Co(r);return vo("theme-provider",`:root {${o}}`),e},ic={toggleNavigationButton:"_toggleNavigationButton_1eb2w_1"},ac=({id:t,htmlTag:e="button",showText:r,hideText:o,buttonProps:n={},isOpen:i=!1})=>v.createElement(e,{...n,className:ic.toggleNavigationButton,id:t||void 0},i?o:r),gn={wizardTopnavContainer:"_wizardTopnavContainer_qiy2o_1",wizardTopnav:"_wizardTopnav_qiy2o_1",vertical:"_vertical_qiy2o_6",horizontal:"_horizontal_qiy2o_11"},sc=({steps:t,activeStepId:e,direction:r="vertical","aria-label":o})=>{const n=Object.keys(t),s=`I dette skjemaet er det totalt ${n.length} steg som du skal gå igjennom`,l=o?.length?o:s;return d.jsx("nav",{"aria-label":l,className:Y([gn.wizardTopnavContainer,gn[r]]),children:d.jsx("ol",{className:gn.wizardTopnav,children:n.map((a,c)=>d.jsx(so,{step:t[a],activeStepId:e,direction:r,index:c},a))})})};H.Accordion=Eo,H.Button=Ne,H.CheckBoxIcon=xn,H.CheckBoxInput=Tt,H.CheckBoxList=Go,H.CheckBoxListItem=So,H.Container=En,H.ContentBox=Vo,H.DescriptionDetails=wo,H.DescriptionList=_o,H.DescriptionTerm=No,H.Dialog=To,H.DragAndDropFileInput=Po,H.ErrorBox=Ho,H.ErrorMessage=ze,H.Footer=Xo,H.Header=De,H.InfoBox=Nn,H.InputField=Wo,H.Label=$e,H.List=Oo,H.ListItem=ko,H.LoadingAnimation=Mn,H.NavigationBar=Jo,H.Paper=$o,H.Paragraph=Uo,H.ProgressBar=Qo,H.RadioButtonIcon=Xn,H.RadioButtonInput=Mt,H.RadioButtonList=qo,H.RadioButtonListItem=Ko,H.Select=Ql,H.Table=Kl,H.Tabs=it,H.Textarea=rc,H.ThemeProvider=oc,H.ToggleNavigationButton=ac,H.WizardNavigation=sc,H.WizardNavigationStep=so,Object.defineProperty(H,Symbol.toStringTag,{value:"Module"})}));
12
12
  //# sourceMappingURL=index.umd.js.map