dibk-design 10.3.4 → 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/dibk-design.css +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -13
- package/dist/index.es.js +2269 -2309
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +13 -13
package/dist/index.umd.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
(function(
|
|
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} />`,W,k,oe,k),Y[k+W]=!0)}if(k=null,H!==void 0&&(r(H),k=""+H),s(_)&&(r(_.key),k=""+_.key),"key"in _){H={};for(var V in _)V!=="key"&&(H[V]=_[V])}else H=_;return k&&l(H,typeof x=="function"?x.displayName||x.name||"Unknown":x),c(x,k,H,n(),ce,ae)}function g(x){p(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===F&&(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=C,I=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),S=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),O=Symbol.for("react.client.reference"),K=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=Object.prototype.hasOwnProperty,ue=Array.isArray,re=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(x){return x()}};var z,te={},q=f.react_stack_bottom_frame.bind(f,i)(),ne=re(a(i)),Y={};De.Fragment=b,De.jsx=function(x,_,H){var W=1e4>K.recentlyCreatedOwnerStacks++;return u(x,_,H,!1,W?Error("react-stack-top-frame"):q,W?re(a(x)):ne)},De.jsxs=function(x,_,H){var W=1e4>K.recentlyCreatedOwnerStacks++;return u(x,_,H,!0,W?Error("react-stack-top-frame"):q,W?re(a(x)):ne)}})()),De}var An;function ha(){return An||(An=1,process.env.NODE_ENV==="production"?ct.exports=ma():ct.exports=va()),ct.exports}var d=ha();const D=t=>t?.filter(Boolean).join(" ")||"",En=t=>t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),Ca=t=>!t?.colors||!Object.entries(t.colors).length?{}:Object.entries(t.colors).reduce((e,[r,a])=>(r&&a&&(e[`--color-${En(r)}`]=a),e),{}),Ia=t=>!t?.sizes||!Object.entries(t.sizes).length?{}:Object.entries(t.sizes).reduce((e,[r,a])=>(r&&a&&(e[`--size-${En(r)}`]=a),e),{}),xa=t=>({...Ca(t),...Ia(t)}),ya=(t,e)=>{if(typeof document>"u")return;const r=document.createElement("style");r.setAttribute("id",t),r.textContent=e;const a=document.getElementById(t);a&&a.remove(),document.head.appendChild(r)},Aa=t=>Object.entries(t).map(([e,r])=>`${e}: ${r};`).join(""),Me=t=>{const e=[];return C.Children.forEach(t,r=>{if(C.isValidElement(r)){const a=r;if(a.type===C.Fragment){const n=Me(a.props.children);e.push(...n)}else e.push(C.cloneElement(a,{...a.props}))}else e.push(r)}),e},Ea=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()},Sa=t=>Array.from(t.querySelectorAll('button, [href], input, [tabindex="0"]')).filter(r=>!!r),Ga=t=>{Ea(t);const e=Sa(t),r=e[0],a=e[e.length-1]||r;r&&(r.onkeydown=n=>{n.key==="Tab"&&n.shiftKey&&(n.preventDefault(),a.focus())}),a&&(a.onclick=()=>{r?.focus()},a.onkeydown=n=>{n.key==="Tab"&&!n.shiftKey&&(n.preventDefault(),r?.focus())})},xe={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"},Ba=({title:t,buttonProps:e,expanded:r,handleToggleExpand:a})=>d.jsxs("button",{...e,className:xe.panel,onClick:a,"aria-expanded":r?"true":"false",children:[d.jsx("span",{className:xe.panelText,children:t}),d.jsx("span",{className:`${xe.panelChevron} ${r?xe.expanded:""}`})]}),Va=({title:t,color:e="default",expanded:r=!1,onToggleExpand:a,buttonProps:n,noMargin:i=!1,initialized:s,children:l,...o})=>{const[c,u]=C.useState(r),[g,p]=C.useState(s),f=()=>{u(!c),p(!0),a&&a()};C.useEffect(()=>{u(r)},[r]);const I=D([xe.accordion,e&&xe[e],!i&&xe.margin,o.className]);return d.jsxs("div",{className:I,...o,children:[d.jsx(Ba,{title:t??"",buttonProps:n??{},expanded:c??!1,handleToggleExpand:f}),d.jsx("div",{className:`${xe.content} ${g?xe.initialized:""} ${c?xe.expanded:""}`,children:l})]})},pe={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:a="none",disabled:n=!1,inputType:i,defaultChecked:s,hasErrors:l=!1,noHover:o=!1,noMargin:c=!1,href:u,children:g,iconLeft:p,iconRight:f,className:I,...m})=>{const b=B=>B?d.jsx("span",{className:pe.buttonIcon,children:B}):null,h=B=>{switch(B){case"left":return pe.hasArrowLeft;case"right":return pe.hasArrowRight;default:return""}},A=i==="radio"?s?"primary":"secondary":e,y=D([pe.button,pe[A],pe[r],h(a),o||i==="radio"?pe.noHover:null,l&&pe.hasErrors,n?pe.disabled:null,c?pe.noMargin:null,p||f?pe.hasIcon:null,I]),S=D([pe.buttonContent,p?pe.hasIconLeft:null,f?pe.hasIconRight:null]),v={"aria-invalid":l||void 0,href:!n&&u?.length?u:void 0,className:y,...m},E=B=>C.Children.toArray(Me(B)).map(X=>{if(!C.isValidElement(X))return null;const O=X,K=O.type===Rt.Link&&typeof O.props=="object"&&O.props!==null&&"to"in O.props;return!n&&K?C.cloneElement(O,{className:y,key:`button-${O.key}`,to:O.props.to},b(p),d.jsx("span",{className:S,children:O.props.children}),b(f)):C.createElement("button",{...v,key:`button-${O.key}`},b(p),d.jsx("span",{className:S,children:t||(O.props?O.props.children:null)}),b(f))});if(i==="button")return d.jsxs("button",{type:"button",...v,children:[b(p),d.jsx("span",{className:S,children:t||g}),b(f)]});if(i==="radio"){const B={...v};return delete B.href,d.jsxs("label",{className:y,children:[d.jsx("input",{...B,type:"radio"}),b(p),d.jsx("span",{className:S,children:t}),b(f)]})}if(u?.length&&!n){const B={...v};return"type"in B&&delete B.type,d.jsxs("a",{...B,children:[b(p),d.jsx("span",{className:S,children:t||g}),b(f)]})}return C.isValidElement(g)&&g.type===Rt.Link?d.jsx(C.Fragment,{children:E(C.Children.toArray(g))}):d.jsxs("button",{...v,children:[b(p),d.jsx("span",{className:S,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"},Sn=({size:t="20px",checked:e=!1,disabled:r=!1,showBox:a=!0,hasErrors:n=!1,checkmarkCharacter:i="✔",checkmarkIconSrc:s})=>{const l={height:t,width:t,fontSize:t},o=[Pe.checkBoxIcon,e&&Pe.checked,r&&Pe.disabled,a&&Pe.showBox,n&&Pe.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:o,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:""})})},Ne="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",Gn="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"},Mt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:a=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,checkmarkCharacter:o="✔",tabIndex:c=0,children:u,"aria-controls":g,"aria-describedby":p,value:f})=>{const I=[ze.checkBoxInput,e&&ze.disabled,l&&ze.hasErrors].filter(Boolean).join(" "),m={checked:t,disabled:e,showBox:!0,hasErrors:l,checkmarkCharacter:o,checkmarkIconSrc:Gn},b={id:n,name:i,type:"checkbox",checked:t,disabled:e,required:r||a,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(Sn,{...m}),d.jsx("input",{...b}),d.jsxs("span",{className:ze.labelText,children:[u,r&&d.jsx("img",{src:Ne,alt:"",className:ze.requiredSymbol})]})]})},Bn={checkBoxList:"_checkBoxList_1cjjb_1",requiredSymbol:"_requiredSymbol_1cjjb_16"},Ht={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:a,htmlFor:n,children:i})=>{const s=a||`h${r}`,l=D([Ht.header,Ht[`size-${r}`]]),o=C.createElement(s,{className:l,id:t||void 0,htmlFor:n||void 0},e?.length?e:i);return d.jsx("div",{className:Ht.headerContainer,children:o})},wa=({legend:t,legendSize:e,required:r=!1,compact:a=!1,children:n})=>{const i=s=>Me(s).map(o=>C.isValidElement(o)&&o.type?.displayName==="RadioButtonListItem"?C.cloneElement(o,{requiredGroup:r,compact:a,key:`checkboxListItem-${o.key}`}):o);return d.jsxs("fieldset",{className:Bn.checkBoxList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(Ye,{size:e,children:t}):t,r&&d.jsx("img",{src:Ne,alt:"",className:Bn.requiredSymbol})]}),i(C.Children.toArray(n))]})},Je={checkBoxListItem:"_checkBoxListItem_j7hys_1",compact:"_compact_j7hys_26",disabled:"_disabled_j7hys_34",checked:"_checked_j7hys_37"},_a=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:a=!1,id:n,name:i="",onChange:s,compact:l=!1,hasErrors:o=!1,checkmarkCharacter:c="✔","aria-controls":u,"aria-describedby":g,children:p,value:f})=>{const I=D([Je.checkBoxListItem,t&&Je.checked,e&&Je.disabled,l&&Je.compact,o&&Je.hasErrors]),m={onChange:s??(()=>{}),checked:t,disabled:e,required:r,requiredGroup:a,hasErrors:o,"aria-controls":u,"aria-describedby":g,id:n,name:i,checkmarkCharacter:c,value:f};return d.jsx("div",{className:I,children:d.jsx(Mt,{...m,children:p})})},Na={container:"_container_f8z49_1"},Vn=({maxWidth:t,children:e})=>{const r={"--max-width":t?.length?t:void 0};return d.jsx("div",{className:Na.container,style:r,children:e})},He={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"},Fa=({title:t="",titleSize:e="regular",content:r="",children:a,color:n="default",href:i=null})=>{const s=()=>{if(!t)return null;const p=`${He.title} ${He[e]}`;return d.jsx("h2",{className:p,children:t})},l=He[n]||"",o=i?He.link:"",c=`${He.contentBox} ${l} ${o}`.trim(),u=r?.length?r:a,g=d.jsxs(d.Fragment,{children:[s(),d.jsx("div",{className:He.content,children:u})]});return i?d.jsx("a",{href:i,className:c,children:g}):d.jsx("div",{className:c,children:g})},wn={descriptionDetails:"_descriptionDetails_1d1dj_1",compact:"_compact_1d1dj_7"},Pa=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dd",{className:D([wn.descriptionDetails,t&&wn.compact]),style:{"--title-width":e||void 0},children:r}),_n={descriptionList:"_descriptionList_w11ua_1",compact:"_compact_w11ua_13"},Ta=({compact:t=!1,titleWidth:e,children:r})=>{const a=n=>Me(n).map(s=>C.isValidElement(s)?C.cloneElement(s,{compact:t,titleWidth:e,key:`descriptionListItem-${s.key}`}):s);return C.createElement("dl",{className:D([_n.descriptionList,t&&_n.compact]),style:{"--title-width":e||void 0}},a(C.Children.toArray(r)))},Nn={descriptionTerm:"_descriptionTerm_uuapd_1",compact:"_compact_uuapd_8"},Ra=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dt",{className:D([Nn.descriptionTerm,t&&Nn.compact]),style:{"--title-width":e||void 0},children:r}),Ma="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",ye={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"},Ha=({maxWidth:t="none",noPadding:e,title:r,onClickOutside:a,modal:n=!0,attachTo:i,hidden:s=!1,children:l})=>{const[o,c]=C.useState(null),u=C.useRef(null),g=C.useCallback(m=>{m&&Ga(m)},[]);C.useEffect(()=>{if(s)return;const m=b=>{b.key==="Escape"&&a&&a()};return document.addEventListener("keydown",m,!1),()=>{document.removeEventListener("keydown",m,!1)}},[s,a]),C.useEffect(()=>{if(typeof window>"u")return;const b=(()=>{const A="dibk-design-dialog-root";let y=document.getElementById(A);return y||(y=document.createElement("div"),y.setAttribute("id",A),document.body.appendChild(y)),y})(),h=document.createElement("div");return b.appendChild(h),c(h),()=>{c(null),b.contains(h)&&b.removeChild(h)}},[]),C.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&&D([ye.isSidebar,ye[i]]),f={"--max-width":t};if(s||!o)return null;const I=n?{role:"dialog","aria-modal":"true"}:{role:"dialog"};return In.createPortal(d.jsxs("div",{className:D([ye.dialog,p]),...I,children:[d.jsx("button",{type:"button",className:D([ye.backdrop,!n&&ye.backdropTransparent]),onClick:a,"aria-label":"Lukk dialog"}),d.jsx("div",{ref:u,className:ye.dialogContainer,style:f,children:d.jsxs("div",{ref:g,className:D([ye.dialogContent,e&&ye.noPadding]),children:[r&&d.jsxs("div",{className:ye.dialogHeader,children:[r?d.jsx(Ye,{size:2,children:r}):d.jsx("span",{}),d.jsx(Fe,{color:"neutral","aria-label":"Lukk dialog",onClick:a,iconRight:d.jsx("img",{src:Ma,alt:""}),children:"Lukk"})]}),d.jsx("div",{className:ye.dialogBody,"aria-live":"assertive",children:l})]})})]}),o)},$e={dragAndDropFileInput:"_dragAndDropFileInput_1hivh_1",requiredSymbol:"_requiredSymbol_1hivh_1",dragAndDropContainer:"_dragAndDropContainer_1hivh_8",highlighted:"_highlighted_1hivh_26",hasErrors:"_hasErrors_1hivh_30"},Fn="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",Pn={errorMessage:"_errorMessage_15d1p_1",errorSign:"_errorSign_15d1p_10"},Ue=({id:t,content:e=""})=>{const r=()=>({id:t?.length?t:void 0,className:Pn.errorMessage});return(typeof e=="string"?e.trim().length>0:!!e)?d.jsxs("span",{"aria-live":"polite",...r(),children:[d.jsx("img",{src:Fn,alt:"",className:Pn.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:a,subLabel:n,id:i,...s})=>{const l=[Qe.label,t&&Qe.inline,e&&Qe.normalCursor].filter(Boolean).join(" "),o={...s,className:l,id:i||void 0};return C.createElement(r,o,d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Qe.labelText,children:a}),n&&d.jsx("span",{className:Qe.subLabel,children:n})]}))},La=({id:t,name:e,onSelectChange:r,onDragAndDropChange:a,label:n="",subLabel:i="",buttonContent:s,buttonContentWhenSelectedFile:l,selectedFileName:o,hasErrors:c=!1,errorMessage:u="",required:g=!1,"data-transaction-name":p})=>{const[f,I]=C.useState(!1),m=C.useRef(null),b=C.useRef(null),h=F=>{F.preventDefault(),F.stopPropagation()},A=()=>{b.current?.click()},y=()=>`${t}-errorMessage`,S={id:t,"aria-describedby":c&&u?.toString().length?y():void 0,"aria-invalid":c?"true":void 0,name:e,required:g},v=o&&l||s,E=C.useCallback(()=>I(!0),[]),G=C.useCallback(()=>I(!1),[]),B=C.useCallback(F=>{h(F),F.dataTransfer?.files&&a(F.dataTransfer.files),I(!1)},[a]);return C.useEffect(()=>{const F=m.current;if(F)return["dragenter","dragover"].forEach(X=>{F.addEventListener(X,E)}),["dragleave","drop"].forEach(X=>{F.addEventListener(X,G)}),["dragenter","dragover","dragleave","drop"].forEach(X=>{F.addEventListener(X,h)}),F.addEventListener("drop",B),()=>{["dragenter","dragover","dragleave","drop"].forEach(X=>{F.removeEventListener(X,h),F.removeEventListener(X,E),F.removeEventListener(X,G)}),F.removeEventListener("drop",B)}},[a]),d.jsxs("div",{className:$e.dragAndDropFileInput,children:[d.jsxs(qe,{htmlFor:t,subLabel:i,children:[n,g&&d.jsx("img",{src:Ne,alt:"",className:$e.requiredSymbol})]}),d.jsxs("div",{ref:m,className:`${$e.dragAndDropContainer} ${f?$e.highlighted:""} ${c?$e.hasErrors:""}`,children:[o?d.jsx("div",{children:d.jsxs("span",{children:[d.jsx("b",{children:"Valgt fil:"})," ",o]})}):d.jsx("div",{children:"Slipp fil her"}),d.jsx("input",{...S,ref:b,type:"file",onChange:r}),s&&d.jsxs(d.Fragment,{children:[d.jsx("div",{children:o?"":"eller klikk på knappen for å velge fil"}),d.jsx(Fe,{size:"small",inputType:"button",color:"secondary",onClick:A,content:v,"data-transaction-name":p})]})]}),d.jsx(Ue,{id:y(),content:u})]})},Tn="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",Xa="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",Za="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",Ce={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"},Rn=({title:t,children:e="",variant:r="info",fullScreen:a=!1,isAlert:n=!1,noBorder:i=!1,hideIcon:s=!1,icon:l,className:o})=>{const c={info:Tn,warning:Za,error:Fn,tip:Tn,success:Xa},u=l??d.jsx("img",{src:c[r],alt:"",className:Ce.iconImage}),g=!s&&u;return d.jsx("div",{className:D([Ce.box,Ce[r],a&&Ce.fullScreen,n&&Ce.alert,i&&Ce.noBorder,g?Ce.hasIcon:null,o]),children:d.jsxs("div",{className:Ce.inner,children:[g?d.jsx("div",{className:Ce.icon,children:u}):null,d.jsxs("div",{className:Ce.content,children:[t?d.jsx(Ye,{size:3,children:t}):null,e?d.jsx("div",{className:Ce.body,children:e}):null]})]})})},Wa=({type:t="warning",children:e="",...r})=>d.jsx(Rn,{variant:t,children:e,...r}),Oa={footer:"_footer_19fad_1"},ka=({children:t})=>d.jsx("footer",{className:Oa.footer,children:d.jsx(Vn,{children:t})}),Ie={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"},Mn=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(),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return`${r}-${a}-${n}`},ja=t=>!t||["text","search","url","email","tel","password","number"].includes(t),Da=({id:t,onChange:e=()=>{},onBlur:r,onFocus:a,name:n="",type:i="text",disabled:s=!1,required:l=!1,readOnly:o,width:c,value:u,defaultValue:g,elementKey:p,label:f="",buttonColor:I="primary",buttonContent:m,actionButtonContent:b,actionButtonIconLeft:h,actionButtonIconRight:A,actionButtonOnClick:y,actionButtonDisabled:S=!1,actionButtonAriaLabel:v,selectedFileName:E,placeholder:G="",min:B,max:F,role:X,"aria-describedby":O,"aria-autocomplete":K,hasErrors:ee=!1,errorMessage:ue="",noMargin:re=!1,caption:z})=>{const te=C.useRef(null),q=()=>`${t}-errorMessage`,ne=`${t}-caption`,Y=c?{maxWidth:c}:{},x=i==="date"&&!s&&!o,_=!!b&&!!y&&i!=="file",H=()=>{if(!x||!te.current)return;document.activeElement!==te.current&&te.current.focus(),te.current.showPicker?.()},W=M=>{H(),a?.(M)},ce=()=>{i==="file"&&(s||te.current?.click())},ae=M=>{i!=="file"||s||(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),te.current?.click())},k=(()=>{if(i==="file")return{};if(i==="date"){const j=u!==void 0?Mn(u):void 0,w=u===void 0&&g!==void 0?Mn(g):void 0;return u!==void 0?{value:j??""}:g!==void 0?{defaultValue:w}:{}}const M=j=>j instanceof Date?String(j.getTime()):j;return u!==void 0?{value:M(u)}:g!==void 0?{defaultValue:M(g)}:{}})(),oe=D([ee&&Ie.hasErrors,i==="date"&&Ie.dateInput,i==="file"&&Ie.visuallyHidden]),V={name:n,readOnly:o,disabled:s,required:l,type:i,role:X,id:t,min:B,max:F,onChange:e,onBlur:r,onFocus:W,placeholder:i==="file"?void 0:G,className:oe||void 0,"aria-describedby":[ee&&ue?q():null,z?ne:null,O].filter(Boolean).join(" ").trim()||void 0,"aria-invalid":ee||void 0,"aria-autocomplete":ja(i)?K:void 0,style:_?void 0:Y,...k};return d.jsxs("div",{className:D([Ie.inputField,Ie[i],re&&Ie.noMargin]),children:[d.jsxs(qe,{htmlFor:t,children:[f,l&&d.jsx("img",{src:Ne,alt:"",className:Ie.requiredSymbol}),i==="file"&&d.jsxs("div",{className:Ie.fileInputContainer,onClick:ce,onKeyDown:ae,role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,children:[d.jsx("span",{className:Ie.input,children:E}),m&&d.jsx(Fe,{color:I,inputType:"button",onClick:()=>te.current?.click(),content:m})]})]}),_?d.jsxs("div",{className:Ie.inputWithButton,style:Y,children:[d.jsx("input",{...V,ref:te},p||t),d.jsx(Fe,{color:I,inputType:"button",onClick:y,disabled:S,"aria-label":v,iconLeft:h,iconRight:A,noMargin:!0,children:b})]}):d.jsx("input",{...V,ref:te},p||t),z?d.jsx("p",{className:Ie.caption,id:ne,children:z}):null,ee&&ue?d.jsx(Ue,{id:q(),content:ue}):null]})},Hn={list:"_list_16gsl_1",compact:"_compact_16gsl_10"},za=({listStyle:t,compact:e=!1,ordered:r=!1,children:a})=>{const n=o=>Me(o).map(u=>C.isValidElement(u)?C.cloneElement(u,{compact:e,key:`listItem-${u.key}`}):u),i=r?"ol":"ul",s=r?"decimal":"disc";return C.createElement(i,{className:`${Hn.list} ${e?Hn.compact:""}`,style:{"--listStyle":t||s}},n(C.Children.toArray(a)))},Ln={listItem:"_listItem_33xs0_1",compact:"_compact_33xs0_5"},Ya=({compact:t=!1,children:e})=>{const r=D([Ln.listItem,t&&Ln.compact]);return d.jsx("li",{className:r,children:e})},Xn={LoadingAnimation:"_LoadingAnimation_1blqf_1",dot:"_dot_1blqf_11"},Zn=({ariaLabel:t="Laster inn"})=>{const e=[0,.15,.3];return d.jsx("div",{role:"img","aria-label":t,className:Xn.LoadingAnimation,children:e.map(r=>d.jsx("span",{className:Xn.dot,style:{animationDelay:`${r}s`}},r))})},Ja={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"}}},$a=t=>t?.logo??"",Ua=t=>t?.logoPadding??"",Qa=t=>t?.appName??"",ut={navigationBarContainer:"_navigationBarContainer_1o17l_1",navigationBar:"_navigationBar_1o17l_1",logoContainer:"_logoContainer_1o17l_41"},qa=({logoLink:t="",logoLinkTitle:e,openLogoLinkInNewTab:r,theme:a,color:n="neutral"})=>{const i=a?Ja[a]:void 0,s=o=>({padding:Ua(o)}),l=(o,c)=>{const u=$a(i),g=Qa(i),p=o&&c?"":u&&g?`${g} logo`:"DIBK logo",f=u?d.jsx("img",{alt:p,src:u,style:s(i)}):null;return o?.length?d.jsx("a",{href:o,title:c,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,children:f}):f};return d.jsx("div",{className:D([n&&ut[n],ut.navigationBarContainer]),children:d.jsx("div",{className:D([ut.navigationBar]),children:d.jsx("div",{className:ut.logoContainer,children:l(t,e)})})})},Lt={paper:"_paper_1lgl3_1",noMargin:"_noMargin_1lgl3_6",noPadding:"_noPadding_1lgl3_9"},Ka=({noMargin:t=!1,noPadding:e=!1,children:r})=>{const a=[Lt.paper,t&&Lt.noMargin,e&&Lt.noPadding].filter(Boolean).join(" ");return d.jsx("div",{className:a,children:r})},Wn={paragraph:"_paragraph_1aaue_1",lead:"_lead_1aaue_9",large:"_large_1aaue_14",small:"_small_1aaue_19"},ei=({id:t,htmlTag:e="p",variant:r="small",children:a,className:n})=>{const i=D([Wn.paragraph,Wn[r],n]);return C.createElement(e,{className:i,id:t||void 0},a)},On={progressBar:"_progressBar_t5aid_1",hasErrors:"_hasErrors_t5aid_23"},ti=({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}}),dt={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:a=!1})=>{const n={height:t,width:t},i=[dt.radioButtonIcon,e&&dt.checked,r&&dt.disabled,a&&dt.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"},Xt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:a=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,inputValue:o,tabIndex:c,children:u,"aria-controls":g,"aria-describedby":p})=>{const f=[Le.radioButtonInput,t&&Le.checked,e&&Le.disabled,l&&Le.hasErrors].filter(Boolean).join(" "),I={checked:t,disabled:e,hasErrors:l},m={id:n,name:i,type:"radio",value:o,checked:t,disabled:e,required:r||a,onChange:s,tabIndex:c??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,{...I}),d.jsx("input",{...m}),d.jsxs("span",{className:Le.labelText,children:[u,r&&d.jsx("img",{src:Ne,alt:"",className:Le.requiredSymbol})]})]})},jn={radioButtonList:"_radioButtonList_18lo8_1",requiredSymbol:"_requiredSymbol_18lo8_16"},ni=({legend:t,legendSize:e,required:r=!1,compact:a=!1,children:n})=>{const i=s=>Me(s).map(o=>C.isValidElement(o)&&o.type?.displayName==="RadioButtonListItem"?C.cloneElement(o,{requiredGroup:r,compact:a,key:`radioButtonListItem-${o.key}`}):o);return d.jsxs("fieldset",{className:jn.radioButtonList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(Ye,{size:e,children:t}):t,r&&d.jsx("img",{src:Ne,alt:"",className:jn.requiredSymbol})]}),i(C.Children.toArray(n))]})},Ke={radioButtonListItem:"_radioButtonListItem_14vz4_1",compact:"_compact_14vz4_26",disabled:"_disabled_14vz4_34",checked:"_checked_14vz4_37"},ri=({inputValue:t,checked:e=!1,disabled:r=!1,required:a=!1,requiredGroup:n=!1,name:i="",id:s,onChange:l,compact:o=!1,hasErrors:c=!1,"aria-controls":u,"aria-describedby":g,children:p})=>{const f=D([Ke.radioButtonListItem,e&&Ke.checked,r&&Ke.disabled,o&&Ke.compact,c&&Ke.hasErrors]),I={onChange:l,inputValue:t,checked:e,disabled:r,required:a,requiredGroup:n,hasErrors:c,"aria-controls":u,"aria-describedby":g,id:s,name:i};return d.jsx("div",{className:f,children:d.jsx(Xt,{...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 ai(t,e){if(Te(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var a=r.call(t,e);if(Te(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Dn(t){var e=ai(t,"string");return Te(e)=="symbol"?e:e+""}function et(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 zn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,a)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zn(Object(r),!0).forEach(function(a){et(t,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zn(Object(r)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(r,a))})}return t}function ii(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 a,n,i,s,l=[],o=!0,c=!1;try{if(i=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;o=!1}else for(;!(o=(a=i.call(r)).done)&&(l.push(a.value),l.length!==e);o=!0);}catch(u){c=!0,n=u}finally{try{if(!o&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return l}}function Zt(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,a=Array(e);r<e;r++)a[r]=t[r];return a}function Yn(t,e){if(t){if(typeof t=="string")return Zt(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)?Zt(t,e):void 0}}function si(){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
|
|
8
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ot(t){return vi(t)||hi(t)||Yn(t)||Ci()}function Ii(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 xi(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 yi=(function(){function t(r){var a=this;this._insertTag=function(n){var i;a.tags.length===0?a.insertionPoint?i=a.insertionPoint.nextSibling:a.prepend?i=a.container.firstChild:i=a.before:i=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(n,i),a.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(a){a.forEach(this._insertTag)},e.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(xi(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Ii(n);try{i.insertRule(a,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(a));this.ctr++},e.flush=function(){this.tags.forEach(function(a){var n;return(n=a.parentNode)==null?void 0:n.removeChild(a)}),this.tags=[],this.ctr=0},t})(),be="-ms-",bt="-moz-",J="-webkit-",Un="comm",kt="rule",jt="decl",Ai="@import",Qn="@keyframes",Ei="@layer",Si=Math.abs,ft=String.fromCharCode,Gi=Object.assign;function Bi(t,e){return de(t,0)^45?(((e<<2^de(t,0))<<2^de(t,1))<<2^de(t,2))<<2^de(t,3):0}function qn(t){return t.trim()}function Vi(t,e){return(t=e.exec(t))?t[0]:t}function $(t,e,r){return t.replace(e,r)}function Dt(t,e){return t.indexOf(e)}function de(t,e){return t.charCodeAt(e)|0}function tt(t,e,r){return t.slice(e,r)}function Ae(t){return t.length}function zt(t){return t.length}function pt(t,e){return e.push(t),t}function wi(t,e){return t.map(e).join("")}var mt=1,Xe=1,Kn=0,me=0,le=0,Ze="";function vt(t,e,r,a,n,i,s){return{value:t,root:e,parent:r,type:a,props:n,children:i,line:mt,column:Xe,length:s,return:""}}function nt(t,e){return Gi(vt("",null,null,"",null,null,0),t,{length:-t.length},e)}function _i(){return le}function Ni(){return le=me>0?de(Ze,--me):0,Xe--,le===10&&(Xe=1,mt--),le}function ve(){return le=me<Kn?de(Ze,me++):0,Xe++,le===10&&(Xe=1,mt++),le}function Ee(){return de(Ze,me)}function ht(){return me}function rt(t,e){return tt(Ze,t,e)}function at(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 er(t){return mt=Xe=1,Kn=Ae(Ze=t),me=0,[]}function tr(t){return Ze="",t}function Ct(t){return qn(rt(me-1,Yt(t===91?t+2:t===40?t+1:t)))}function Fi(t){for(;(le=Ee())&&le<33;)ve();return at(t)>2||at(le)>3?"":" "}function Pi(t,e){for(;--e&&ve()&&!(le<48||le>102||le>57&&le<65||le>70&&le<97););return rt(t,ht()+(e<6&&Ee()==32&&ve()==32))}function Yt(t){for(;ve();)switch(le){case t:return me;case 34:case 39:t!==34&&t!==39&&Yt(le);break;case 40:t===41&&Yt(t);break;case 92:ve();break}return me}function Ti(t,e){for(;ve()&&t+le!==57;)if(t+le===84&&Ee()===47)break;return"/*"+rt(e,me-1)+"*"+ft(t===47?t:ve())}function Ri(t){for(;!at(Ee());)ve();return rt(t,me)}function Mi(t){return tr(It("",null,null,null,[""],t=er(t),0,[0],t))}function It(t,e,r,a,n,i,s,l,o){for(var c=0,u=0,g=s,p=0,f=0,I=0,m=1,b=1,h=1,A=0,y="",S=n,v=i,E=a,G=y;b;)switch(I=A,A=ve()){case 40:if(I!=108&&de(G,g-1)==58){Dt(G+=$(Ct(A),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:G+=Ct(A);break;case 9:case 10:case 13:case 32:G+=Fi(I);break;case 92:G+=Pi(ht()-1,7);continue;case 47:switch(Ee()){case 42:case 47:pt(Hi(Ti(ve(),ht()),e,r),o);break;default:G+="/"}break;case 123*m:l[c++]=Ae(G)*h;case 125*m:case 59:case 0:switch(A){case 0:case 125:b=0;case 59+u:h==-1&&(G=$(G,/\f/g,"")),f>0&&Ae(G)-g&&pt(f>32?rr(G+";",a,r,g-1):rr($(G," ","")+";",a,r,g-2),o);break;case 59:G+=";";default:if(pt(E=nr(G,e,r,c,u,n,l,y,S=[],v=[],g),i),A===123)if(u===0)It(G,e,E,E,S,i,g,l,v);else switch(p===99&&de(G,3)===110?100:p){case 100:case 108:case 109:case 115:It(t,E,E,a&&pt(nr(t,E,E,0,0,n,l,y,n,S=[],g),v),n,v,g,l,a?S:v);break;default:It(G,E,E,E,[""],v,0,l,v)}}c=u=f=0,m=h=1,y=G="",g=s;break;case 58:g=1+Ae(G),f=I;default:if(m<1){if(A==123)--m;else if(A==125&&m++==0&&Ni()==125)continue}switch(G+=ft(A),A*m){case 38:h=u>0?1:(G+="\f",-1);break;case 44:l[c++]=(Ae(G)-1)*h,h=1;break;case 64:Ee()===45&&(G+=Ct(ve())),p=Ee(),u=g=Ae(y=G+=Ri(ht())),A++;break;case 45:I===45&&Ae(G)==2&&(m=0)}}return i}function nr(t,e,r,a,n,i,s,l,o,c,u){for(var g=n-1,p=n===0?i:[""],f=zt(p),I=0,m=0,b=0;I<a;++I)for(var h=0,A=tt(t,g+1,g=Si(m=s[I])),y=t;h<f;++h)(y=qn(m>0?p[h]+" "+A:$(A,/&\f/g,p[h])))&&(o[b++]=y);return vt(t,e,r,n===0?kt:l,o,c,u)}function Hi(t,e,r){return vt(t,e,r,Un,ft(_i()),tt(t,2,-2),0)}function rr(t,e,r,a){return vt(t,e,r,jt,tt(t,0,a),tt(t,a+1,-1),a)}function We(t,e){for(var r="",a=zt(t),n=0;n<a;n++)r+=e(t[n],n,t,e)||"";return r}function Li(t,e,r,a){switch(t.type){case Ei:if(t.children.length)break;case Ai:case jt:return t.return=t.return||t.value;case Un:return"";case Qn:return t.return=t.value+"{"+We(t.children,a)+"}";case kt:t.value=t.props.join(",")}return Ae(r=We(t.children,a))?t.return=t.value+"{"+r+"}":""}function Xi(t){var e=zt(t);return function(r,a,n,i){for(var s="",l=0;l<e;l++)s+=t[l](r,a,n,i)||"";return s}}function Zi(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,a){for(var n=0,i=0;n=i,i=Ee(),n===38&&i===12&&(r[a]=1),!at(i);)ve();return rt(e,me)},ki=function(e,r){var a=-1,n=44;do switch(at(n)){case 0:n===38&&Ee()===12&&(r[a]=1),e[a]+=Oi(me-1,r,a);break;case 2:e[a]+=Ct(n);break;case 4:if(n===44){e[++a]=Ee()===58?"&\f":"",r[a]=e[a].length;break}default:e[a]+=ft(n)}while(n=ve());return e},ji=function(e,r){return tr(ki(er(e),r))},ar=new WeakMap,Di=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,a=e.parent,n=e.column===a.column&&e.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!ar.get(a))&&!n){ar.set(e,!0);for(var i=[],s=ji(r,i),l=a.props,o=0,c=0;o<s.length;o++)for(var u=0;u<l.length;u++,c++)e.props[c]=i[o]?s[o].replace(/&\f/g,l[u]):l[u]+" "+s[o]}}},zi=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function ir(t,e){switch(Bi(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+bt+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(Ae(t)-1-e>6)switch(de(t,e+1)){case 109:if(de(t,e+4)!==45)break;case 102:return $(t,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+bt+(de(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Dt(t,"stretch")?ir($(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(de(t,e+1)!==115)break;case 6444:switch(de(t,Ae(t)-3-(~Dt(t,"!important")&&10))){case 107:return $(t,":",":"+J)+t;case 101:return $(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+J+(de(t,14)===45?"inline-":"")+"box$3$1"+J+"$2$3$1"+be+"$2box$3")+t}break;case 5936:switch(de(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 Yi=function(e,r,a,n){if(e.length>-1&&!e.return)switch(e.type){case jt:e.return=ir(e.value,e.length);break;case Qn:return We([nt(e,{value:$(e.value,"@","@"+J)})],n);case kt:if(e.length)return wi(e.props,function(i){switch(Vi(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return We([nt(e,{props:[$(i,/:(read-\w+)/,":"+bt+"$1")]})],n);case"::placeholder":return We([nt(e,{props:[$(i,/:(plac\w+)/,":"+J+"input-$1")]}),nt(e,{props:[$(i,/:(plac\w+)/,":"+bt+"$1")]}),nt(e,{props:[$(i,/:(plac\w+)/,be+"input-$1")]})],n)}return""})}},Ji=[Yi],$i=function(e){var r=e.key;if(r==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(m){var b=m.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||Ji,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 o,c=[Di,zi];{var u,g=[Li,Zi(function(m){u.insert(m)})],p=Xi(c.concat(n,g)),f=function(b){return We(Mi(b),p)};o=function(b,h,A,y){u=A,f(b?b+"{"+h.styles+"}":h.styles),y&&(I.inserted[h.name]=!0)}}var I={key:r,sheet:new yi({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return I.sheet.hydrate(l),I},xt={exports:{}},U={};var or;function Ui(){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,a=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,o=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,A=t?Symbol.for("react.scope"):60119;function y(v){if(typeof v=="object"&&v!==null){var E=v.$$typeof;switch(E){case e:switch(v=v.type,v){case o:case c:case a:case i:case n:case g:return v;default:switch(v=v&&v.$$typeof,v){case l:case u:case I:case f:case s:return v;default:return E}}case r:return E}}}function S(v){return y(v)===c}return U.AsyncMode=o,U.ConcurrentMode=c,U.ContextConsumer=l,U.ContextProvider=s,U.Element=e,U.ForwardRef=u,U.Fragment=a,U.Lazy=I,U.Memo=f,U.Portal=r,U.Profiler=i,U.StrictMode=n,U.Suspense=g,U.isAsyncMode=function(v){return S(v)||y(v)===o},U.isConcurrentMode=S,U.isContextConsumer=function(v){return y(v)===l},U.isContextProvider=function(v){return y(v)===s},U.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},U.isForwardRef=function(v){return y(v)===u},U.isFragment=function(v){return y(v)===a},U.isLazy=function(v){return y(v)===I},U.isMemo=function(v){return y(v)===f},U.isPortal=function(v){return y(v)===r},U.isProfiler=function(v){return y(v)===i},U.isStrictMode=function(v){return y(v)===n},U.isSuspense=function(v){return y(v)===g},U.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===a||v===c||v===i||v===n||v===g||v===p||typeof v=="object"&&v!==null&&(v.$$typeof===I||v.$$typeof===f||v.$$typeof===s||v.$$typeof===l||v.$$typeof===u||v.$$typeof===b||v.$$typeof===h||v.$$typeof===A||v.$$typeof===m)},U.typeOf=y,U}var Q={};var sr;function Qi(){return sr||(sr=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,a=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,o=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,A=t?Symbol.for("react.scope"):60119;function y(w){return typeof w=="string"||typeof w=="function"||w===a||w===c||w===i||w===n||w===g||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===I||w.$$typeof===f||w.$$typeof===s||w.$$typeof===l||w.$$typeof===u||w.$$typeof===b||w.$$typeof===h||w.$$typeof===A||w.$$typeof===m)}function S(w){if(typeof w=="object"&&w!==null){var he=w.$$typeof;switch(he){case e:var se=w.type;switch(se){case o:case c:case a:case i:case n:case g:return se;default:var fe=se&&se.$$typeof;switch(fe){case l:case u:case I:case f:case s:return fe;default:return he}}case r:return he}}}var v=o,E=c,G=l,B=s,F=e,X=u,O=a,K=I,ee=f,ue=r,re=i,z=n,te=g,q=!1;function ne(w){return q||(q=!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.")),Y(w)||S(w)===o}function Y(w){return S(w)===c}function x(w){return S(w)===l}function _(w){return S(w)===s}function H(w){return typeof w=="object"&&w!==null&&w.$$typeof===e}function W(w){return S(w)===u}function ce(w){return S(w)===a}function ae(w){return S(w)===I}function k(w){return S(w)===f}function oe(w){return S(w)===r}function V(w){return S(w)===i}function M(w){return S(w)===n}function j(w){return S(w)===g}Q.AsyncMode=v,Q.ConcurrentMode=E,Q.ContextConsumer=G,Q.ContextProvider=B,Q.Element=F,Q.ForwardRef=X,Q.Fragment=O,Q.Lazy=K,Q.Memo=ee,Q.Portal=ue,Q.Profiler=re,Q.StrictMode=z,Q.Suspense=te,Q.isAsyncMode=ne,Q.isConcurrentMode=Y,Q.isContextConsumer=x,Q.isContextProvider=_,Q.isElement=H,Q.isForwardRef=W,Q.isFragment=ce,Q.isLazy=ae,Q.isMemo=k,Q.isPortal=oe,Q.isProfiler=V,Q.isStrictMode=M,Q.isSuspense=j,Q.isValidElementType=y,Q.typeOf=S})()),Q}var lr;function qi(){return lr||(lr=1,process.env.NODE_ENV==="production"?xt.exports=Ui():xt.exports=Qi()),xt.exports}var Jt,cr;function Ki(){if(cr)return Jt;cr=1;var t=qi(),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},a={$$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]=a,i[t.Memo]=n;function s(I){return t.isMemo(I)?n:i[I.$$typeof]||e}var l=Object.defineProperty,o=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 A=o(m);c&&(A=A.concat(c(m)));for(var y=s(I),S=s(m),v=0;v<A.length;++v){var E=A[v];if(!r[E]&&!(b&&b[E])&&!(S&&S[E])&&!(y&&y[E])){var G=u(m,E);try{l(I,E,G)}catch{}}}}return I}return Jt=f,Jt}Ki();var eo=!0;function to(t,e,r){var a="";return r.split(" ").forEach(function(n){t[n]!==void 0?e.push(t[n]+";"):n&&(a+=n+" ")}),a}var ur=function(e,r,a){var n=e.key+"-"+r.name;(a===!1||eo===!1)&&e.registered[n]===void 0&&(e.registered[n]=r.styles)},no=function(e,r,a){ur(e,r,a);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 ro(t){for(var e=0,r,a=0,n=t.length;n>=4;++a,n-=4)r=t.charCodeAt(a)&255|(t.charCodeAt(++a)&255)<<8|(t.charCodeAt(++a)&255)<<16|(t.charCodeAt(++a)&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(a+2)&255)<<16;case 2:e^=(t.charCodeAt(a+1)&255)<<8;case 1:e^=t.charCodeAt(a)&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 ao={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},io=/[A-Z]|^ms/g,oo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dr=function(e){return e.charCodeAt(1)===45},gr=function(e){return e!=null&&typeof e!="boolean"},$t=Wi(function(t){return dr(t)?t:t.replace(io,"-$&").toLowerCase()}),br=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(oo,function(a,n,i){return Se={name:n,styles:i,next:Se},n})}return ao[e]!==1&&!dr(e)&&typeof r=="number"&&r!==0?r+"px":r};function it(t,e,r){if(r==null)return"";var a=r;if(a.__emotion_styles!==void 0)return a;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return Se={name:n.name,styles:n.styles,next:Se},n.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Se={name:s.name,styles:s.styles,next:Se},s=s.next;var l=i.styles+";";return l}return so(t,e,r)}case"function":{if(t!==void 0){var o=Se,c=r(t);return Se=o,it(t,e,c)}break}}var u=r;return u}function so(t,e,r){var a="";if(Array.isArray(r))for(var n=0;n<r.length;n++)a+=it(t,e,r[n])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var l=s;gr(l)&&(a+=$t(i)+":"+br(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&e==null)for(var o=0;o<s.length;o++)gr(s[o])&&(a+=$t(i)+":"+br(i,s[o])+";");else{var c=it(t,e,s);switch(i){case"animation":case"animationName":{a+=$t(i)+":"+c+";";break}default:a+=i+"{"+c+"}"}}}return a}var fr=/label:\s*([^\s;{]+)\s*(;|$)/g,Se;function pr(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,n="";Se=void 0;var i=t[0];if(i==null||i.raw===void 0)a=!1,n+=it(r,e,i);else{var s=i;n+=s[0]}for(var l=1;l<t.length;l++)if(n+=it(r,e,t[l]),a){var o=i;n+=o[l]}fr.lastIndex=0;for(var c="",u;(u=fr.exec(n))!==null;)c+="-"+u[1];var g=ro(n)+c;return{name:g,styles:n,next:Se}}var lo=function(e){return e()},co=L.useInsertionEffect?L.useInsertionEffect:!1,uo=co||lo,mr=L.createContext(typeof HTMLElement<"u"?$i({key:"css"}):null);mr.Provider;var go=function(e){return C.forwardRef(function(r,a){var n=C.useContext(mr);return e(r,n,a)})},bo=L.createContext({}),Ut={}.hasOwnProperty,Qt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",fo=function(e,r){var a={};for(var n in r)Ut.call(r,n)&&(a[n]=r[n]);return a[Qt]=e,a},po=function(e){var r=e.cache,a=e.serialized,n=e.isStringTag;return ur(r,a,n),uo(function(){return no(r,a,n)}),null},mo=go(function(t,e,r){var a=t.css;typeof a=="string"&&e.registered[a]!==void 0&&(a=e.registered[a]);var n=t[Qt],i=[a],s="";typeof t.className=="string"?s=to(e.registered,i,t.className):t.className!=null&&(s=t.className+" ");var l=pr(i,void 0,L.useContext(bo));s+=e.key+"-"+l.name;var o={};for(var c in t)Ut.call(t,c)&&c!=="css"&&c!==Qt&&(o[c]=t[c]);return o.className=s,r&&(o.ref=r),L.createElement(L.Fragment,null,L.createElement(po,{cache:e,serialized:l,isStringTag:typeof n=="string"}),L.createElement(n,o))}),vo=mo,N=function(e,r){var a=arguments;if(r==null||!Ut.call(r,"css"))return L.createElement.apply(void 0,a);var n=a.length,i=new Array(n);i[0]=vo,i[1]=fo(e,r);for(var s=2;s<n;s++)i[s]=a[s];return L.createElement.apply(null,i)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(N||(N={}));function qt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return pr(e)}function ho(){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 Co(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const Io=Math.min,xo=Math.max,yt=Math.round,At=Math.floor,Et=t=>({x:t,y:t});function yo(t){const{x:e,y:r,width:a,height:n}=t;return{width:a,height:n,top:r,left:e,right:e+a,bottom:r+n,x:e,y:r}}function St(){return typeof window<"u"}function vr(t){return Cr(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function hr(t){var e;return(e=(Cr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Cr(t){return St()?t instanceof Node||t instanceof _e(t).Node:!1}function Ao(t){return St()?t instanceof Element||t instanceof _e(t).Element:!1}function Kt(t){return St()?t instanceof HTMLElement||t instanceof _e(t).HTMLElement:!1}function Ir(t){return!St()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}const Eo=new Set(["inline","contents"]);function xr(t){const{overflow:e,overflowX:r,overflowY:a,display:n}=en(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+r)&&!Eo.has(n)}function So(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Go=new Set(["html","body","#document"]);function Bo(t){return Go.has(vr(t))}function en(t){return _e(t).getComputedStyle(t)}function Vo(t){if(vr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ir(t)&&t.host||hr(t);return Ir(e)?e.host:e}function yr(t){const e=Vo(t);return Bo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Kt(e)&&xr(e)?e:yr(e)}function Gt(t,e,r){var a;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=yr(t),i=n===((a=t.ownerDocument)==null?void 0:a.body),s=_e(n);if(i){const l=tn(s);return e.concat(s,s.visualViewport||[],xr(n)?n:[],l&&r?Gt(l):[])}return e.concat(n,Gt(n,[],r))}function tn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function wo(t){const e=en(t);let r=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const n=Kt(t),i=n?t.offsetWidth:r,s=n?t.offsetHeight:a,l=yt(r)!==i||yt(a)!==s;return l&&(r=i,a=s),{width:r,height:a,$:l}}function nn(t){return Ao(t)?t:t.contextElement}function Ar(t){const e=nn(t);if(!Kt(e))return Et(1);const r=e.getBoundingClientRect(),{width:a,height:n,$:i}=wo(e);let s=(i?yt(r.width):r.width)/a,l=(i?yt(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const _o=Et(0);function No(t){const e=_e(t);return!So()||!e.visualViewport?_o:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Fo(t,e,r){return!1}function Er(t,e,r,a){e===void 0&&(e=!1);const n=t.getBoundingClientRect(),i=nn(t);let s=Et(1);e&&(s=Ar(t));const l=Fo()?No(i):Et(0);let o=(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=_e(i),f=a;let I=p,m=tn(I);for(;m&&a&&f!==I;){const b=Ar(m),h=m.getBoundingClientRect(),A=en(m),y=h.left+(m.clientLeft+parseFloat(A.paddingLeft))*b.x,S=h.top+(m.clientTop+parseFloat(A.paddingTop))*b.y;o*=b.x,c*=b.y,u*=b.x,g*=b.y,o+=y,c+=S,I=_e(m),m=tn(I)}}return yo({width:u,height:g,x:o,y:c})}function Sr(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Po(t,e){let r=null,a;const n=hr(t);function i(){var l;clearTimeout(a),(l=r)==null||l.disconnect(),r=null}function s(l,o){l===void 0&&(l=!1),o===void 0&&(o=1),i();const c=t.getBoundingClientRect(),{left:u,top:g,width:p,height:f}=c;if(l||e(),!p||!f)return;const I=At(g),m=At(n.clientWidth-(u+p)),b=At(n.clientHeight-(g+f)),h=At(u),y={rootMargin:-I+"px "+-m+"px "+-b+"px "+-h+"px",threshold:xo(0,Io(1,o))||1};let S=!0;function v(E){const G=E[0].intersectionRatio;if(G!==o){if(!S)return s();G?s(!1,G):a=setTimeout(()=>{s(!1,1e-7)},1e3)}G===1&&!Sr(c,t.getBoundingClientRect())&&s(),S=!1}try{r=new IntersectionObserver(v,{...y,root:n.ownerDocument})}catch{r=new IntersectionObserver(v,y)}r.observe(t)}return s(!0),i}function To(t,e,r,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:o=!1}=a,c=nn(t),u=n||i?[...c?Gt(c):[],...Gt(e)]:[];u.forEach(h=>{n&&h.addEventListener("scroll",r,{passive:!0}),i&&h.addEventListener("resize",r)});const g=c&&l?Po(c,r):null;let p=-1,f=null;s&&(f=new ResizeObserver(h=>{let[A]=h;A&&A.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),r()}),c&&!o&&f.observe(c),f.observe(e));let I,m=o?Er(t):null;o&&b();function b(){const h=Er(t);m&&!Sr(m,h)&&r(),m=h,I=requestAnimationFrame(b)}return r(),()=>{var h;u.forEach(A=>{n&&A.removeEventListener("scroll",r),i&&A.removeEventListener("resize",r)}),g?.(),(h=f)==null||h.disconnect(),f=null,o&&cancelAnimationFrame(I)}}var rn=C.useLayoutEffect,Ro=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Bt=function(){};function Mo(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function Ho(t,e){for(var r=arguments.length,a=new Array(r>2?r-2:0),n=2;n<r;n++)a[n-2]=arguments[n];var i=[].concat(a);if(e&&t)for(var s in e)e.hasOwnProperty(s)&&e[s]&&i.push("".concat(Mo(t,s)));return i.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var Gr=function(e){return zo(e)?e.filter(Boolean):Te(e)==="object"&&e!==null?[e]:[]},Br=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,Ro);return P({},r)},ie=function(e,r,a){var n=e.cx,i=e.getStyles,s=e.getClassNames,l=e.className;return{css:i(r,e),className:n(a??{},s(r,e),l)}};function Vt(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function Lo(t){return Vt(t)?window.innerHeight:t.clientHeight}function Vr(t){return Vt(t)?window.pageYOffset:t.scrollTop}function wt(t,e){if(Vt(t)){window.scrollTo(0,e);return}t.scrollTop=e}function Xo(t){var e=getComputedStyle(t),r=e.position==="absolute",a=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var n=t;n=n.parentElement;)if(e=getComputedStyle(n),!(r&&e.position==="static")&&a.test(e.overflow+e.overflowY+e.overflowX))return n;return document.documentElement}function Zo(t,e,r,a){return r*((t=t/a-1)*t*t+1)+e}function _t(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Bt,n=Vr(t),i=e-n,s=10,l=0;function o(){l+=s;var c=Zo(l,n,i,r);wt(t,c),l<r?window.requestAnimationFrame(o):a(t)}o()}function wr(t,e){var r=t.getBoundingClientRect(),a=e.getBoundingClientRect(),n=e.offsetHeight/3;a.bottom+n>r.bottom?wt(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+n,t.scrollHeight)):a.top-n<r.top&&wt(t,Math.max(e.offsetTop-n,0))}function Wo(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 Oo(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Nr=!1,ko={get passive(){return Nr=!0}},Nt=typeof window<"u"?window:{};Nt.addEventListener&&Nt.removeEventListener&&(Nt.addEventListener("p",Bt,ko),Nt.removeEventListener("p",Bt,!1));var jo=Nr;function Do(t){return t!=null}function zo(t){return Array.isArray(t)}function Ft(t,e,r){return t?e:r}function c0(t){return t}function u0(t){return t}var Yo=function(e){for(var r=arguments.length,a=new Array(r>1?r-1:0),n=1;n<r;n++)a[n-1]=arguments[n];var i=Object.entries(e).filter(function(s){var l=Ve(s,1),o=l[0];return!a.includes(o)});return i.reduce(function(s,l){var o=Ve(l,2),c=o[0],u=o[1];return s[c]=u,s},{})},Jo=["children","innerProps"],$o=["children","innerProps"];function Uo(t){var e=t.maxHeight,r=t.menuEl,a=t.minHeight,n=t.placement,i=t.shouldScroll,s=t.isFixedPosition,l=t.controlHeight,o=Xo(r),c={placement:"bottom",maxHeight:e};if(!r||!r.offsetParent)return c;var u=o.getBoundingClientRect(),g=u.height,p=r.getBoundingClientRect(),f=p.bottom,I=p.height,m=p.top,b=r.offsetParent.getBoundingClientRect(),h=b.top,A=s?window.innerHeight:Lo(o),y=Vr(o),S=parseInt(getComputedStyle(r).marginBottom,10),v=parseInt(getComputedStyle(r).marginTop,10),E=h-v,G=A-m,B=E+y,F=g-y-m,X=f-A+y+S,O=y+m-v,K=160;switch(n){case"auto":case"bottom":if(G>=I)return{placement:"bottom",maxHeight:e};if(F>=I&&!s)return i&&_t(o,X,K),{placement:"bottom",maxHeight:e};if(!s&&F>=a||s&&G>=a){i&&_t(o,X,K);var ee=s?G-S:F-S;return{placement:"bottom",maxHeight:ee}}if(n==="auto"||s){var ue=e,re=s?E:B;return re>=a&&(ue=Math.min(re-S-l,e)),{placement:"top",maxHeight:ue}}if(n==="bottom")return i&&wt(o,X),{placement:"bottom",maxHeight:e};break;case"top":if(E>=I)return{placement:"top",maxHeight:e};if(B>=I&&!s)return i&&_t(o,O,K),{placement:"top",maxHeight:e};if(!s&&B>=a||s&&E>=a){var z=e;return(!s&&B>=a||s&&E>=a)&&(z=s?E-v:B-v),i&&_t(o,O,K),{placement:"top",maxHeight:z}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return c}function Qo(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Fr=function(e){return e==="auto"?"bottom":e},qo=function(e,r){var a,n=e.placement,i=e.theme,s=i.borderRadius,l=i.spacing,o=i.colors;return P((a={label:"menu"},et(a,Qo(n),"100%"),et(a,"position","absolute"),et(a,"width","100%"),et(a,"zIndex",1),a),r?{}:{backgroundColor:o.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})},Pr=C.createContext(null),Ko=function(e){var r=e.children,a=e.minMenuHeight,n=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,l=e.menuShouldScrollIntoView,o=e.theme,c=C.useContext(Pr)||{},u=c.setPortalPlacement,g=C.useRef(null),p=C.useState(n),f=Ve(p,2),I=f[0],m=f[1],b=C.useState(null),h=Ve(b,2),A=h[0],y=h[1],S=o.spacing.controlHeight;return rn(function(){var v=g.current;if(v){var E=s==="fixed",G=l&&!E,B=Uo({maxHeight:n,menuEl:v,minHeight:a,placement:i,shouldScroll:G,isFixedPosition:E,controlHeight:S});m(B.maxHeight),y(B.placement),u?.(B.placement)}},[n,i,s,l,a,u,S]),r({ref:g,placerProps:P(P({},e),{},{placement:A||Fr(i),maxHeight:I})})},es=function(e){var r=e.children,a=e.innerRef,n=e.innerProps;return N("div",T({},ie(e,"menu",{menu:!0}),{ref:a},n),r)},ts=es,ns=function(e,r){var a=e.maxHeight,n=e.theme.spacing.baseUnit;return P({maxHeight:a,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},rs=function(e){var r=e.children,a=e.innerProps,n=e.innerRef,i=e.isMulti;return N("div",T({},ie(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:n},a),r)},Tr=function(e,r){var a=e.theme,n=a.spacing.baseUnit,i=a.colors;return P({textAlign:"center"},r?{}:{color:i.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},as=Tr,is=Tr,os=function(e){var r=e.children,a=r===void 0?"No options":r,n=e.innerProps,i=we(e,Jo);return N("div",T({},ie(P(P({},i),{},{children:a,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),a)},ss=function(e){var r=e.children,a=r===void 0?"Loading...":r,n=e.innerProps,i=we(e,$o);return N("div",T({},ie(P(P({},i),{},{children:a,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),a)},ls=function(e){var r=e.rect,a=e.offset,n=e.position;return{left:r.left,position:n,top:a,width:r.width,zIndex:1}},cs=function(e){var r=e.appendTo,a=e.children,n=e.controlElement,i=e.innerProps,s=e.menuPlacement,l=e.menuPosition,o=C.useRef(null),c=C.useRef(null),u=C.useState(Fr(s)),g=Ve(u,2),p=g[0],f=g[1],I=C.useMemo(function(){return{setPortalPlacement:f}},[]),m=C.useState(null),b=Ve(m,2),h=b[0],A=b[1],y=C.useCallback(function(){if(n){var G=Wo(n),B=l==="fixed"?0:window.pageYOffset,F=G[p]+B;(F!==h?.offset||G.left!==h?.rect.left||G.width!==h?.rect.width)&&A({offset:F,rect:G})}},[n,l,p,h?.offset,h?.rect.left,h?.rect.width]);rn(function(){y()},[y]);var S=C.useCallback(function(){typeof c.current=="function"&&(c.current(),c.current=null),n&&o.current&&(c.current=To(n,o.current,y,{elementResize:"ResizeObserver"in window}))},[n,y]);rn(function(){S()},[S]);var v=C.useCallback(function(G){o.current=G,S()},[S]);if(!r&&l!=="fixed"||!h)return null;var E=N("div",T({ref:v},ie(P(P({},e),{},{offset:h.offset,position:l,rect:h.rect}),"menuPortal",{"menu-portal":!0}),i),a);return N(Pr.Provider,{value:I},r?In.createPortal(E,r):E)},us=function(e){var r=e.isDisabled,a=e.isRtl;return{label:"container",direction:a?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},ds=function(e){var r=e.children,a=e.innerProps,n=e.isDisabled,i=e.isRtl;return N("div",T({},ie(e,"container",{"--is-disabled":n,"--is-rtl":i}),a),r)},gs=function(e,r){var a=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(a.baseUnit/2,"px ").concat(a.baseUnit*2,"px")})},bs=function(e){var r=e.children,a=e.innerProps,n=e.isMulti,i=e.hasValue;return N("div",T({},ie(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":i}),a),r)},fs=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},ps=function(e){var r=e.children,a=e.innerProps;return N("div",T({},ie(e,"indicatorsContainer",{indicators:!0}),a),r)},Rr,ms=["size"],vs=["innerProps","isRtl","size"];function hs(){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 Cs=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSB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g",T({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Cs},a))},an=function(e){return N(Mr,T({size:20},e),N("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"}))},Hr=function(e){return N(Mr,T({size:20},e),N("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"}))},Lr=function(e,r){var a=e.isFocused,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return P({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:a?s.neutral60:s.neutral20,padding:i*2,":hover":{color:a?s.neutral80:s.neutral40}})},Is=Lr,xs=function(e){var r=e.children,a=e.innerProps;return N("div",T({},ie(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),a),r||N(Hr,null))},ys=Lr,As=function(e){var r=e.children,a=e.innerProps;return N("div",T({},ie(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),a),r||N(an,null))},Es=function(e,r){var a=e.isDisabled,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return P({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:a?s.neutral10:s.neutral20,marginBottom:i*2,marginTop:i*2})},Ss=function(e){var r=e.innerProps;return N("span",T({},r,ie(e,"indicatorSeparator",{"indicator-separator":!0})))},Gs=ho(Rr||(Rr=Co([`
|
|
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&<.checked,r&<.disabled,o&<.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&>(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&>(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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYX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J2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:bs},Fr=function(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
|
-
`]))),Bs=function(e,r){var a=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:a?s.neutral60:s.neutral20,padding:l*2})},on=function(e){var r=e.delay,a=e.offset;return N("span",{css:qt({animation:"".concat(Gs," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:a?"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGU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ICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Vs=function(e){var r=e.innerProps,a=e.isRtl,n=e.size,i=n===void 0?4:n,s=we(e,vs);return N("div",T({},ie(P(P({},s),{},{innerProps:r,isRtl:a,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),N(on,{delay:0,offset:a}),N(on,{delay:160,offset:!0}),N(on,{delay:320,offset:!a}))},ws=function(e,r){var a=e.isDisabled,n=e.isFocused,i=e.theme,s=i.colors,l=i.borderRadius,o=i.spacing;return P({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:a?s.neutral5:s.neutral0,borderColor:a?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}})},_s=function(e){var r=e.children,a=e.isDisabled,n=e.isFocused,i=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return N("div",T({ref:i},ie(e,"control",{control:!0,"control--is-disabled":a,"control--is-focused":n,"control--menu-is-open":l}),s,{"aria-disabled":a||void 0}),r)},Ns=_s,Fs=["data"],Ps=function(e,r){var a=e.theme.spacing;return r?{}:{paddingBottom:a.baseUnit*2,paddingTop:a.baseUnit*2}},Ts=function(e){var r=e.children,a=e.cx,n=e.getStyles,i=e.getClassNames,s=e.Heading,l=e.headingProps,o=e.innerProps,c=e.label,u=e.theme,g=e.selectProps;return N("div",T({},ie(e,"group",{group:!0}),o),N(s,T({},l,{selectProps:g,theme:u,getStyles:n,getClassNames:i,cx:a}),c),N("div",null,r))},Rs=function(e,r){var a=e.theme,n=a.colors,i=a.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"})},Ms=function(e){var r=Br(e);r.data;var a=we(r,Fs);return N("div",T({},ie(e,"groupHeading",{"group-heading":!0}),a))},Hs=Ts,Ls=["innerRef","isDisabled","isHidden","inputClassName"],Xs=function(e,r){var a=e.isDisabled,n=e.value,i=e.theme,s=i.spacing,l=i.colors;return P(P({visibility:a?"hidden":"visible",transform:n?"translateZ(0)":""},Zs),r?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:l.neutral80})},Xr={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Zs={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"},Xr)},Ws=function(e){return P({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Xr)},Os=function(e){var r=e.cx,a=e.value,n=Br(e),i=n.innerRef,s=n.isDisabled,l=n.isHidden,o=n.inputClassName,c=we(n,Ls);return N("div",T({},ie(e,"input",{"input-container":!0}),{"data-value":a||""}),N("input",T({className:r({input:!0},o),ref:i,style:Ws(l),disabled:s},c)))},ks=Os,js=function(e,r){var a=e.theme,n=a.spacing,i=a.borderRadius,s=a.colors;return P({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:s.neutral10,borderRadius:i/2,margin:n.baseUnit/2})},Ds=function(e,r){var a=e.theme,n=a.borderRadius,i=a.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})},zs=function(e,r){var a=e.theme,n=a.spacing,i=a.borderRadius,s=a.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}})},Zr=function(e){var r=e.children,a=e.innerProps;return N("div",a,r)},Ys=Zr,Js=Zr;function $s(t){var e=t.children,r=t.innerProps;return N("div",T({role:"button"},r),e||N(an,{size:14}))}var Us=function(e){var r=e.children,a=e.components,n=e.data,i=e.innerProps,s=e.isDisabled,l=e.removeProps,o=e.selectProps,c=a.Container,u=a.Label,g=a.Remove;return N(c,{data:n,innerProps:P(P({},ie(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),i),selectProps:o},N(u,{data:n,innerProps:P({},ie(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:o},r),N(g,{data:n,innerProps:P(P({},ie(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},l),selectProps:o}))},Qs=Us,qs=function(e,r){var a=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.theme,l=s.spacing,o=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?o.primary:n?o.primary25:"transparent",color:a?o.neutral20:i?o.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:a?void 0:i?o.primary:o.primary50}})},Ks=function(e){var r=e.children,a=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.innerRef,l=e.innerProps;return N("div",T({},ie(e,"option",{option:!0,"option--is-disabled":a,"option--is-focused":n,"option--is-selected":i}),{ref:s,"aria-disabled":a},l),r)},el=Ks,tl=function(e,r){var a=e.theme,n=a.spacing,i=a.colors;return P({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:i.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},nl=function(e){var r=e.children,a=e.innerProps;return N("div",T({},ie(e,"placeholder",{placeholder:!0}),a),r)},rl=nl,al=function(e,r){var a=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:a?s.neutral40:s.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},il=function(e){var r=e.children,a=e.isDisabled,n=e.innerProps;return N("div",T({},ie(e,"singleValue",{"single-value":!0,"single-value--is-disabled":a}),n),r)},ol=il,sl={ClearIndicator:As,Control:Ns,DropdownIndicator:xs,DownChevron:Hr,CrossIcon:an,Group:Hs,GroupHeading:Ms,IndicatorsContainer:ps,IndicatorSeparator:Ss,Input:ks,LoadingIndicator:Vs,Menu:ts,MenuList:rs,MenuPortal:cs,LoadingMessage:ss,NoOptionsMessage:os,MultiValue:Qs,MultiValueContainer:Ys,MultiValueLabel:Js,MultiValueRemove:$s,Option:el,Placeholder:rl,SelectContainer:ds,SingleValue:ol,ValueContainer:bs},ll=function(e){return P(P({},sl),e.components)},Wr=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function cl(t,e){return!!(t===e||Wr(t)&&Wr(e))}function ul(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!cl(t[r],e[r]))return!1;return!0}function dl(t,e){e===void 0&&(e=ul);var r=null;function a(){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 a.clear=function(){r=null},a}function gl(){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 bl=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:gl},fl=function(e){return N("span",T({css:bl},e))},Or=fl,pl={guidance:function(e){var r=e.isSearchable,a=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(a?" 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,a=e.label,n=a===void 0?"":a,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,a=e.focused,n=e.options,i=e.label,s=i===void 0?"":i,l=e.selectValue,o=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,a),".");if(r==="menu"&&u){var p=o?" disabled":"",f="".concat(c?" selected":"").concat(p);return"".concat(s).concat(f,", ").concat(g(n,a),".")}return""},onFilter:function(e){var r=e.inputValue,a=e.resultsMessage;return"".concat(a).concat(r?" for search term "+r:"",".")}},ml=function(e){var r=e.ariaSelection,a=e.focusedOption,n=e.focusedValue,i=e.focusableOptions,s=e.isFocused,l=e.selectValue,o=e.selectProps,c=e.id,u=e.isAppleDevice,g=o.ariaLiveMessages,p=o.getOptionLabel,f=o.inputValue,I=o.isMulti,m=o.isOptionDisabled,b=o.isSearchable,h=o.menuIsOpen,A=o.options,y=o.screenReaderStatus,S=o.tabSelectsValue,v=o.isLoading,E=o["aria-label"],G=o["aria-live"],B=C.useMemo(function(){return P(P({},pl),g||{})},[g]),F=C.useMemo(function(){var re="";if(r&&B.onChange){var z=r.option,te=r.options,q=r.removedValue,ne=r.removedValues,Y=r.value,x=function(oe){return Array.isArray(oe)?null:oe},_=q||z||x(Y),H=_?p(_):"",W=te||ne||void 0,ce=W?W.map(p):[],ae=P({isDisabled:_&&m(_,l),label:H,labels:ce},r);re=B.onChange(ae)}return re},[r,B,m,l,p]),X=C.useMemo(function(){var re="",z=a||n,te=!!(a&&l&&l.includes(a));if(z&&B.onFocus){var q={focused:z,label:p(z),isDisabled:m(z,l),isSelected:te,options:i,context:z===a?"menu":"value",selectValue:l,isAppleDevice:u};re=B.onFocus(q)}return re},[a,n,p,m,B,i,l,u]),O=C.useMemo(function(){var re="";if(h&&A.length&&!v&&B.onFilter){var z=y({count:i.length});re=B.onFilter({inputValue:f,resultsMessage:z})}return re},[i,f,h,B,A,y,v]),K=r?.action==="initial-input-focus",ee=C.useMemo(function(){var re="";if(B.guidance){var z=n?"value":h?"menu":"input";re=B.guidance({"aria-label":E,context:z,isDisabled:a&&m(a,l),isMulti:I,isSearchable:b,tabSelectsValue:S,isInitialFocus:K})}return re},[E,a,n,I,m,b,h,B,l,S,K]),ue=N(C.Fragment,null,N("span",{id:"aria-selection"},F),N("span",{id:"aria-focused"},X),N("span",{id:"aria-results"},O),N("span",{id:"aria-guidance"},ee));return N(C.Fragment,null,N(Or,{id:c},K&&ue),N(Or,{"aria-live":G,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!K&&ue))},vl=ml,sn=[{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źẑżžẓẕƶȥɀⱬꝣ"}],hl=new RegExp("["+sn.map(function(t){return t.letters}).join("")+"]","g"),kr={},ln=0;ln<sn.length;ln++)for(var cn=sn[ln],un=0;un<cn.letters.length;un++)kr[cn.letters[un]]=cn.base;var jr=function(e){return e.replace(hl,function(r){return kr[r]})},Cl=dl(jr),Dr=function(e){return e.replace(/^\s+|\s+$/g,"")},Il=function(e){return"".concat(e.label," ").concat(e.value)},xl=function(e){return function(r,a){if(r.data.__isNew__)return!0;var n=P({ignoreCase:!0,ignoreAccents:!0,stringify:Il,trim:!0,matchFrom:"any"},e),i=n.ignoreCase,s=n.ignoreAccents,l=n.stringify,o=n.trim,c=n.matchFrom,u=o?Dr(a):a,g=o?Dr(l(r)):l(r);return i&&(u=u.toLowerCase(),g=g.toLowerCase()),s&&(u=Cl(u),g=jr(g)),c==="start"?g.substr(0,u.length)===u:g.indexOf(u)>-1}},yl=["innerRef"];function Al(t){var e=t.innerRef,r=we(t,yl),a=Yo(r,"onExited","in","enter","exit","appear");return N("input",T({ref:e},a,{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var El=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Sl(t){var e=t.isEnabled,r=t.onBottomArrive,a=t.onBottomLeave,n=t.onTopArrive,i=t.onTopLeave,s=C.useRef(!1),l=C.useRef(!1),o=C.useRef(0),c=C.useRef(null),u=C.useCallback(function(b,h){if(c.current!==null){var A=c.current,y=A.scrollTop,S=A.scrollHeight,v=A.clientHeight,E=c.current,G=h>0,B=S-v-y,F=!1;B>h&&s.current&&(a&&a(b),s.current=!1),G&&l.current&&(i&&i(b),l.current=!1),G&&h>B?(r&&!s.current&&r(b),E.scrollTop=S,F=!0,s.current=!0):!G&&-h>y&&(n&&!l.current&&n(b),E.scrollTop=0,F=!0,l.current=!0),F&&El(b)}},[r,a,n,i]),g=C.useCallback(function(b){u(b,b.deltaY)},[u]),p=C.useCallback(function(b){o.current=b.changedTouches[0].clientY},[]),f=C.useCallback(function(b){var h=o.current-b.changedTouches[0].clientY;u(b,h)},[u]),I=C.useCallback(function(b){if(b){var h=jo?{passive:!1}:!1;b.addEventListener("wheel",g,h),b.addEventListener("touchstart",p,h),b.addEventListener("touchmove",f,h)}},[f,p,g]),m=C.useCallback(function(b){b&&(b.removeEventListener("wheel",g,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",f,!1))},[f,p,g]);return C.useEffect(function(){if(e){var b=c.current;return I(b),function(){m(b)}}},[e,I,m]),function(b){c.current=b}}var zr=["boxSizing","height","overflow","paddingRight","position"],Yr={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Jr(t){t.cancelable&&t.preventDefault()}function $r(t){t.stopPropagation()}function Ur(){var t=this.scrollTop,e=this.scrollHeight,r=t+this.offsetHeight;t===0?this.scrollTop=1:r===e&&(this.scrollTop=t-1)}function Qr(){return"ontouchstart"in window||navigator.maxTouchPoints}var qr=!!(typeof window<"u"&&window.document&&window.document.createElement),ot=0,Oe={capture:!1,passive:!1};function Gl(t){var e=t.isEnabled,r=t.accountForScrollbars,a=r===void 0?!0:r,n=C.useRef({}),i=C.useRef(null),s=C.useCallback(function(o){if(qr){var c=document.body,u=c&&c.style;if(a&&zr.forEach(function(I){var m=u&&u[I];n.current[I]=m}),a&&ot<1){var g=parseInt(n.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,f=window.innerWidth-p+g||0;Object.keys(Yr).forEach(function(I){var m=Yr[I];u&&(u[I]=m)}),u&&(u.paddingRight="".concat(f,"px"))}c&&Qr()&&(c.addEventListener("touchmove",Jr,Oe),o&&(o.addEventListener("touchstart",Ur,Oe),o.addEventListener("touchmove",$r,Oe))),ot+=1}},[a]),l=C.useCallback(function(o){if(qr){var c=document.body,u=c&&c.style;ot=Math.max(ot-1,0),a&&ot<1&&zr.forEach(function(g){var p=n.current[g];u&&(u[g]=p)}),c&&Qr()&&(c.removeEventListener("touchmove",Jr,Oe),o&&(o.removeEventListener("touchstart",Ur,Oe),o.removeEventListener("touchmove",$r,Oe)))}},[a]);return C.useEffect(function(){if(e){var o=i.current;return s(o),function(){l(o)}}},[e,s,l]),function(o){i.current=o}}function Bl(){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 Vl=function(e){var r=e.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},wl=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYW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GlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Bl};function _l(t){var e=t.children,r=t.lockEnabled,a=t.captureEnabled,n=a===void 0?!0:a,i=t.onBottomArrive,s=t.onBottomLeave,l=t.onTopArrive,o=t.onTopLeave,c=Sl({isEnabled:n,onBottomArrive:i,onBottomLeave:s,onTopArrive:l,onTopLeave:o}),u=Gl({isEnabled:r}),g=function(f){c(f),u(f)};return N(C.Fragment,null,r&&N("div",{onClick:Vl,css:wl}),e(g))}function Nl(){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 Fl=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:Nl},Pl=function(e){var r=e.name,a=e.onFocus;return N("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:a,css:Fl,value:"",onChange:function(){}})},Tl=Pl;function dn(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 Rl(){return dn(/^iPhone/i)}function Kr(){return dn(/^Mac/i)}function Ml(){return dn(/^iPad/i)||Kr()&&navigator.maxTouchPoints>1}function Hl(){return Rl()||Ml()}function Ll(){return Kr()||Hl()}var Xl=function(e){return e.label},Zl=function(e){return e.label},Wl=function(e){return e.value},Ol=function(e){return!!e.isDisabled},kl={clearIndicator:ys,container:us,control:ws,dropdownIndicator:Is,group:Ps,groupHeading:Rs,indicatorsContainer:fs,indicatorSeparator:Es,input:Xs,loadingIndicator:Bs,loadingMessage:is,menu:qo,menuList:ns,menuPortal:ls,multiValue:js,multiValueLabel:Ds,multiValueRemove:zs,noOptionsMessage:as,option:qs,placeholder:tl,singleValue:al,valueContainer:gs},jl={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%)"},Dl=4,ea=4,zl=38,Yl=ea*2,Jl={baseUnit:ea,controlHeight:zl,menuGutter:Yl},gn={borderRadius:Dl,colors:jl,spacing:Jl},$l={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:_r(),captureMenuScroll:!_r(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:xl(),formatGroupLabel:Xl,getOptionLabel:Zl,getOptionValue:Wl,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Ol,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Oo(),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 ta(t,e,r,a){var n=oa(t,e,r),i=sa(t,e,r),s=ia(t,e),l=Tt(t,e);return{type:"option",data:e,isDisabled:n,isSelected:i,label:s,value:l,index:a}}function Pt(t,e){return t.options.map(function(r,a){if("options"in r){var n=r.options.map(function(s,l){return ta(t,s,e,l)}).filter(function(s){return aa(t,s)});return n.length>0?{type:"group",data:r,options:n,index:a}:void 0}var i=ta(t,r,e,a);return aa(t,i)?i:void 0}).filter(Do)}function na(t){return t.reduce(function(e,r){return r.type==="group"?e.push.apply(e,Ot(r.options.map(function(a){return a.data}))):e.push(r.data),e},[])}function ra(t,e){return t.reduce(function(r,a){return a.type==="group"?r.push.apply(r,Ot(a.options.map(function(n){return{data:n.data,id:"".concat(e,"-").concat(a.index,"-").concat(n.index)}}))):r.push({data:a.data,id:"".concat(e,"-").concat(a.index)}),r},[])}function Ul(t,e){return na(Pt(t,e))}function aa(t,e){var r=t.inputValue,a=r===void 0?"":r,n=e.data,i=e.isSelected,s=e.label,l=e.value;return(!ca(t)||!i)&&la(t,{label:s,value:l,data:n},a)}function Ql(t,e){var r=t.focusedValue,a=t.selectValue,n=a.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 ql(t,e){var r=t.focusedOption;return r&&e.indexOf(r)>-1?r:e[0]}var bn=function(e,r){var a,n=(a=e.find(function(i){return i.data===r}))===null||a===void 0?void 0:a.id;return n||null},ia=function(e,r){return e.getOptionLabel(r)},Tt=function(e,r){return e.getOptionValue(r)};function oa(t,e,r){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,r):!1}function sa(t,e,r){if(r.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,r);var a=Tt(t,e);return r.some(function(n){return Tt(t,n)===a})}function la(t,e,r){return t.filterOption?t.filterOption(e,r):!0}var ca=function(e){var r=e.hideSelectedOptions,a=e.isMulti;return r===void 0?a:r},Kl=1,ua=(function(t){bi(r,t);var e=mi(r);function r(a){var n;if(di(this,r),n=e.call(this,a),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(o){n.controlRef=o},n.focusedOptionRef=null,n.getFocusedOptionRef=function(o){n.focusedOptionRef=o},n.menuListRef=null,n.getMenuListRef=function(o){n.menuListRef=o},n.inputRef=null,n.getInputRef=function(o){n.inputRef=o},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(o,c){var u=n.props,g=u.onChange,p=u.name;c.name=p,n.ariaOnChange(o,c),g(o,c)},n.setValue=function(o,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(o,{action:c,option:u})},n.selectOption=function(o){var c=n.props,u=c.blurInputOnSelect,g=c.isMulti,p=c.name,f=n.state.selectValue,I=g&&n.isOptionSelected(o,f),m=n.isOptionDisabled(o,f);if(I){var b=n.getOptionValue(o);n.setValue(f.filter(function(h){return n.getOptionValue(h)!==b}),"deselect-option",o)}else if(!m)g?n.setValue([].concat(Ot(f),[o]),"select-option",o):n.setValue(o,"select-option");else{n.ariaOnChange(o,{action:"select-option",option:o,name:p});return}u&&n.blurInput()},n.removeValue=function(o){var c=n.props.isMulti,u=n.state.selectValue,g=n.getOptionValue(o),p=u.filter(function(I){return n.getOptionValue(I)!==g}),f=Ft(c,p,p[0]||null);n.onChange(f,{action:"remove-value",removedValue:o}),n.focusInput()},n.clearValue=function(){var o=n.state.selectValue;n.onChange(Ft(n.props.isMulti,[],null),{action:"clear",removedValues:o})},n.popValue=function(){var o=n.props.isMulti,c=n.state.selectValue,u=c[c.length-1],g=c.slice(0,c.length-1),p=Ft(o,g,g[0]||null);u&&n.onChange(p,{action:"pop-value",removedValue:u})},n.getFocusedOptionId=function(o){return bn(n.state.focusableOptionsWithIds,o)},n.getFocusableOptionsWithIds=function(){return ra(Pt(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var o=arguments.length,c=new Array(o),u=0;u<o;u++)c[u]=arguments[u];return Ho.apply(void 0,[n.props.classNamePrefix].concat(c))},n.getOptionLabel=function(o){return ia(n.props,o)},n.getOptionValue=function(o){return Tt(n.props,o)},n.getStyles=function(o,c){var u=n.props.unstyled,g=kl[o](c,u);g.boxSizing="border-box";var p=n.props.styles[o];return p?p(g,c):g},n.getClassNames=function(o,c){var u,g;return(u=(g=n.props.classNames)[o])===null||u===void 0?void 0:u.call(g,c)},n.getElementId=function(o){return"".concat(n.state.instancePrefix,"-").concat(o)},n.getComponents=function(){return ll(n.props)},n.buildCategorizedOptions=function(){return Pt(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return na(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(o,c){n.setState({ariaSelection:P({value:o},c)})},n.onMenuMouseDown=function(o){o.button===0&&(o.stopPropagation(),o.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(o){n.blockOptionHover=!1},n.onControlMouseDown=function(o){if(!o.defaultPrevented){var c=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&n.onMenuClose():c&&n.openMenu("first"):(c&&(n.openAfterFocus=!0),n.focusInput()),o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&o.preventDefault()}},n.onDropdownIndicatorMouseDown=function(o){if(!(o&&o.type==="mousedown"&&o.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"),o.preventDefault()}},n.onClearIndicatorMouseDown=function(o){o&&o.type==="mousedown"&&o.button!==0||(n.clearValue(),o.preventDefault(),n.openAfterFocus=!1,o.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(o){typeof n.props.closeMenuOnScroll=="boolean"?o.target instanceof HTMLElement&&Vt(o.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(o)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(o){var c=o.touches,u=c&&c.item(0);u&&(n.initialTouchX=u.clientX,n.initialTouchY=u.clientY,n.userIsDragging=!1)},n.onTouchMove=function(o){var c=o.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(o){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(o.target)&&n.menuListRef&&!n.menuListRef.contains(o.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(o){n.userIsDragging||n.onControlMouseDown(o)},n.onClearIndicatorTouchEnd=function(o){n.userIsDragging||n.onClearIndicatorMouseDown(o)},n.onDropdownIndicatorTouchEnd=function(o){n.userIsDragging||n.onDropdownIndicatorMouseDown(o)},n.handleInputChange=function(o){var c=n.props.inputValue,u=o.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(u,{action:"input-change",prevInputValue:c}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(o){n.props.onFocus&&n.props.onFocus(o),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(o){var c=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(o),n.onInputChange("",{action:"input-blur",prevInputValue:c}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(o){if(!(n.blockOptionHover||n.state.focusedOption===o)){var c=n.getFocusableOptions(),u=c.indexOf(o);n.setState({focusedOption:o,focusedOptionId:u>-1?n.getFocusedOptionId(o):null})}},n.shouldHideSelectedOptions=function(){return ca(n.props)},n.onValueInputFocus=function(o){o.preventDefault(),o.stopPropagation(),n.focus()},n.onKeyDown=function(o){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,A=c.tabSelectsValue,y=c.openMenuOnFocus,S=n.state,v=S.focusedOption,E=S.focusedValue,G=S.selectValue;if(!m&&!(typeof h=="function"&&(h(o),o.defaultPrevented))){switch(n.blockOptionHover=!0,o.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(E)n.removeValue(E);else{if(!g)return;u?n.popValue():I&&n.clearValue()}break;case"Tab":if(n.isComposing||o.shiftKey||!b||!A||!v||y&&n.isOptionSelected(v,G))return;n.selectOption(v);break;case"Enter":if(o.keyCode===229)break;if(b){if(!v||n.isComposing)return;n.selectOption(v);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(!v)return;n.selectOption(v);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}o.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++Kl),n.state.selectValue=Gr(a.value),a.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=bn(i,s[l])}return n}return gi(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&&wr(this.menuListRef,this.focusedOptionRef),Ll()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var i=this.props,s=i.isDisabled,l=i.menuIsOpen,o=this.state.isFocused;(o&&!s&&n.isDisabled||o&&l&&!n.menuIsOpen)&&this.focusInput(),o&&s&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!o&&!s&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(wr(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,o=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=!(o&&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 o=s.indexOf(l);l||(o=-1);var c=s.length-1,u=-1;if(s.length){switch(n){case"previous":o===0?u=0:o===-1?u=c:u=o-1;break;case"next":o>-1&&o<c&&(u=o+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 o=0,c=l.indexOf(s);s||(c=-1),n==="up"?o=c>0?c-1:l.length-1:n==="down"?o=(c+1)%l.length:n==="pageup"?(o=c-i,o<0&&(o=0)):n==="pagedown"?(o=c+i,o>l.length-1&&(o=l.length-1)):n==="last"&&(o=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[o])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(gn):P(P({},gn),this.props.theme):gn}},{key:"getCommonProps",value:function(){var n=this.clearValue,i=this.cx,s=this.getStyles,l=this.getClassNames,o=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:o,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 oa(this.props,n,i)}},{key:"isOptionSelected",value:function(n,i){return sa(this.props,n,i)}},{key:"filterOption",value:function(n,i){return la(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,o=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,A=this.commonProps,y=l||this.getElementId("input"),S=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?L.createElement(I,T({},A,{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:c,form:u,type:"text",value:o},S)):L.createElement(Al,T({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Bt,onFocus:this.onInputFocus,disabled:i,tabIndex:c,inputMode:"none",form:u,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,i=this.getComponents(),s=i.MultiValue,l=i.MultiValueContainer,o=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,A=f.placeholder,y=this.state,S=y.selectValue,v=y.focusedValue,E=y.isFocused;if(!this.hasValue()||!I)return h?null:L.createElement(g,T({},p,{key:"placeholder",isDisabled:m,isFocused:E,innerProps:{id:this.getElementId("placeholder")}}),A);if(b)return S.map(function(B,F){var X=B===v,O="".concat(n.getOptionLabel(B),"-").concat(n.getOptionValue(B));return L.createElement(s,T({},p,{components:{Container:l,Label:o,Remove:c},isFocused:X,isDisabled:m,key:O,index:F,removeProps:{onClick:function(){return n.removeValue(B)},onTouchEnd:function(){return n.removeValue(B)},onMouseDown:function(ee){ee.preventDefault()}},data:B}),n.formatOptionLabel(B,"value"))});if(h)return null;var G=S[0];return L.createElement(u,T({},p,{data:G,isDisabled:m}),this.formatOptionLabel(G,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),i=n.ClearIndicator,s=this.commonProps,l=this.props,o=l.isDisabled,c=l.isLoading,u=this.state.isFocused;if(!this.isClearable()||!i||o||!this.hasValue()||c)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(i,T({},s,{innerProps:g,isFocused:u}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),i=n.LoadingIndicator,s=this.commonProps,l=this.props,o=l.isDisabled,c=l.isLoading,u=this.state.isFocused;if(!i||!c)return null;var g={"aria-hidden":"true"};return L.createElement(i,T({},s,{innerProps:g,isDisabled:o,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,o=this.props.isDisabled,c=this.state.isFocused;return L.createElement(s,T({},l,{isDisabled:o,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,o=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(i,T({},s,{innerProps:c,isDisabled:l,isFocused:o}))}},{key:"renderMenu",value:function(){var n=this,i=this.getComponents(),s=i.Group,l=i.GroupHeading,o=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,A=b.inputValue,y=b.isLoading,S=b.loadingMessage,v=b.minMenuHeight,E=b.maxMenuHeight,G=b.menuIsOpen,B=b.menuPlacement,F=b.menuPosition,X=b.menuPortalTarget,O=b.menuShouldBlockScroll,K=b.menuShouldScrollIntoView,ee=b.noOptionsMessage,ue=b.onMenuScrollToTop,re=b.onMenuScrollToBottom;if(!G)return null;var z=function(H,W){var ce=H.type,ae=H.data,k=H.isDisabled,oe=H.isSelected,V=H.label,M=H.value,j=m===ae,w=k?void 0:function(){return n.onOptionHover(ae)},he=k?void 0:function(){return n.selectOption(ae)},se="".concat(n.getElementId("option"),"-").concat(W),fe={id:se,onClick:he,onMouseMove:w,onMouseOver:w,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:oe};return L.createElement(f,T({},I,{innerProps:fe,data:ae,isDisabled:k,isSelected:oe,key:se,label:V,type:ce,value:M,isFocused:j,innerRef:j?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(H.data,"menu"))},te;if(this.hasOptions())te=this.getCategorizedOptions().map(function(_){if(_.type==="group"){var H=_.data,W=_.options,ce=_.index,ae="".concat(n.getElementId("group"),"-").concat(ce),k="".concat(ae,"-heading");return L.createElement(s,T({},I,{key:ae,data:H,options:W,Heading:l,headingProps:{id:k,data:_.data},label:n.formatGroupLabel(_.data)}),_.options.map(function(oe){return z(oe,"".concat(ce,"-").concat(oe.index))}))}else if(_.type==="option")return z(_,"".concat(_.index))});else if(y){var q=S({inputValue:A});if(q===null)return null;te=L.createElement(g,I,q)}else{var ne=ee({inputValue:A});if(ne===null)return null;te=L.createElement(p,I,ne)}var Y={minMenuHeight:v,maxMenuHeight:E,menuPlacement:B,menuPosition:F,menuShouldScrollIntoView:K},x=L.createElement(Ko,T({},I,Y),function(_){var H=_.ref,W=_.placerProps,ce=W.placement,ae=W.maxHeight;return L.createElement(o,T({},I,Y,{innerRef:H,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:y,placement:ce}),L.createElement(_l,{captureEnabled:h,onTopArrive:ue,onBottomArrive:re,lockEnabled:O},function(k){return L.createElement(c,T({},I,{innerRef:function(V){n.getMenuListRef(V),k(V)},innerProps:{role:"listbox","aria-multiselectable":I.isMulti,id:n.getElementId("listbox")},isLoading:y,maxHeight:ae,focusedOption:m}),te)}))});return X||F==="fixed"?L.createElement(u,T({},I,{appendTo:X,controlElement:this.controlRef,menuPlacement:B,menuPosition:F}),x):x}},{key:"renderFormField",value:function(){var n=this,i=this.props,s=i.delimiter,l=i.isDisabled,o=i.isMulti,c=i.name,u=i.required,g=this.state.selectValue;if(u&&!this.hasValue()&&!l)return L.createElement(Tl,{name:c,onFocus:this.onValueInputFocus});if(!(!c||l))if(o)if(s){var p=g.map(function(m){return n.getOptionValue(m)}).join(s);return L.createElement("input",{name:c,type:"hidden",value:p})}else{var f=g.length>0?g.map(function(m,b){return L.createElement("input",{key:"i-".concat(b),name:c,type:"hidden",value:n.getOptionValue(m)})}):L.createElement("input",{name:c,type:"hidden",value:""});return L.createElement("div",null,f)}else{var I=g[0]?this.getOptionValue(g[0]):"";return L.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,o=i.focusedValue,c=i.isFocused,u=i.selectValue,g=this.getFocusableOptions();return L.createElement(vl,T({},n,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:l,focusedValue:o,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,o=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 L.createElement(l,T({},m,{className:u,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:I}),this.renderLiveRegion(),L.createElement(i,T({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:I,menuIsOpen:f}),L.createElement(o,T({},m,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),L.createElement(s,T({},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,o=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,A=Gr(I),y={};if(s&&(I!==s.value||f!==s.options||m!==s.menuIsOpen||b!==s.inputValue)){var S=m?Ul(n,A):[],v=m?ra(Pt(n,A),"".concat(p,"-option")):[],E=l?Ql(i,A):null,G=ql(i,S),B=bn(v,G);y={selectValue:A,focusedOption:G,focusedOptionId:B,focusableOptionsWithIds:v,focusedValue:E,clearFocusValueOnUpdate:!1}}var F=o!=null&&n!==s?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},X=c,O=u&&g;return u&&!O&&(X={value:Ft(h,A,A[0]||null),options:A,action:"initial-input-focus"},O=!g),c?.action==="initial-input-focus"&&(X=null),P(P(P({},y),F),{},{prevProps:n,ariaSelection:X,prevWasFocused:O})}}]),r})(C.Component);ua.defaultProps=$l;var ec=C.forwardRef(function(t,e){var r=ui(t);return L.createElement(ua,T({ref:e},r))}),tc=ec;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"},da=t=>{const{id:e,name:r="",required:a=!1,disabled:n=!1,options:i=[],width:s,label:l="",placeholder:o="",defaultContent:c="",role:u,"aria-describedby":g,hasErrors:p=!1,errorMessage:f="",size:I="medium"}=t,m=()=>`${e}-errorMessage`,b=t.multiple===!0,h=C.useMemo(()=>i.map(E=>typeof E=="object"?{value:E.value,label:String(E.key)}:{value:E,label:String(E)}),[i]),A=E=>h.find(B=>B.value===E)??{value:E,label:String(E)},y=E=>E===void 0?null:Array.isArray(E)?E.map(A):A(E),S=o||c||"",v=E=>{if(b){const B=E.map(F=>F.value);t.multiple&&t.onChange(B);return}const G=E;t.multiple||G&&t.onChange(G.value)};return d.jsxs("div",{className:Re.select,children:[d.jsxs(qe,{htmlFor:e,children:[l,a&&d.jsx("img",{src:Ne,alt:"",className:Re.requiredSymbol})]}),d.jsxs("div",{className:D([Re.selectContainer,I==="small"&&Re.small]),style:s?{maxWidth:s}:void 0,role:u,children:[d.jsx("span",{className:Re.selectListArrow}),d.jsx(tc,{inputId:e,name:r,"aria-describedby":p&&f?m():g,"aria-invalid":p||void 0,"aria-required":a||void 0,isDisabled:n,isMulti:b,isSearchable:!1,closeMenuOnSelect:!b,placeholder:S,onChange:v,options:h,className:D([p&&Re.hasErrors,I==="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})]})},Ge={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"},ga=({step:t,index:e,activeStepId:r,direction:a="vertical"})=>{const n=r===t.id,i=a==="vertical",s=D([Ge.wizardTopnavItem,n&&Ge.active,t.finished&&Ge.finished,t.hasErrors&&Ge.hasErrors,Ge[a]]),l=n?"step":void 0,o=()=>d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ge.stepNumber,children:e+1}),d.jsx("span",{className:Ge.stepName,children:t.name}),i&&t.finished&&!n&&d.jsx("img",{src:Gn,alt:"",className:Ge.checkmarkSymbol})]});return t.link&&Object.keys(t.link).length>0?d.jsx("li",{className:s,children:d.jsx(Rt.Link,{to:t.link,"aria-current":l,className:Ge.wizardTopnavItemContent,children:o()})}):d.jsx("li",{className:s,children:d.jsx("span",{"aria-current":l,className:Ge.wizardTopnavItemContent,children:o()})})},Z={table:"_table_1qdja_1",thButton:"_thButton_1qdja_21",sortable:"_sortable_1qdja_29",label:"_label_1qdja_39",sortIndicators:"_sortIndicators_1qdja_43",sortArrow:"_sortArrow_1qdja_51",activeArrow:"_activeArrow_1qdja_58",evenRow:"_evenRow_1qdja_62",oddRow:"_oddRow_1qdja_65",loadingRow:"_loadingRow_1qdja_78",loadingCell:"_loadingCell_1qdja_82",selectionHeader:"_selectionHeader_1qdja_87",selectionCell:"_selectionCell_1qdja_93",selectionControl:"_selectionControl_1qdja_107",rowClickable:"_rowClickable_1qdja_114",srOnly:"_srOnly_1qdja_121",pagination:"_pagination_1qdja_132",paginationControls:"_paginationControls_1qdja_139",paginationWithPageSize:"_paginationWithPageSize_1qdja_148",pageSizeSelector:"_pageSizeSelector_1qdja_152",pageNavButtonHidden:"_pageNavButtonHidden_1qdja_156",pageNavIcon:"_pageNavIcon_1qdja_160",pageList:"_pageList_1qdja_166",pageNumber:"_pageNumber_1qdja_172",pageNumberActive:"_pageNumberActive_1qdja_193",pageEllipsis:"_pageEllipsis_1qdja_198"},nc=(t,e)=>e<=7?Array.from({length:e},(r,a)=>a+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],rc=({columns:t,data:e,loading:r=!1,loadingAriaLabel:a,getRowId:n,selectionType:i,selectionLabel:s="Velg rad",selectedRowId:l,onSelect:o,selectedRowIds:c,onSelectMany:u,onRowClick:g,pageSize:p,page:f,defaultPage:I=1,onPageChange:m,totalCount:b,totalPages:h,pageSizeOptions:A,defaultPageSize:y,onPageSizeChange:S})=>{const[v,E]=C.useState(null),G=C.useId(),[B,F]=C.useState(I),[X,O]=C.useState(()=>{if(p===void 0){if(y&&y>0)return y;if(A?.length)return A[0]}});C.useEffect(()=>{const V=t.find(M=>M.sortable);E(V?{headerKey:V.key,direction:"asc"}:null)},[t]);const K=C.useMemo(()=>{const V=new Map;for(const M of t)V.set(M.key,M);return V},[t]),ee=C.useMemo(()=>{if(!v)return e;const V=K.get(v.headerKey);if(!V)return e;const M=V.sortAccessor??V.accessor;if(!M)return e;const j=[...e];return j.sort((w,he)=>{const se=M(w),fe=M(he);if(se==null||fe==null)return 0;if(typeof se=="number"&&typeof fe=="number")return v.direction==="asc"?se-fe:fe-se;if(se instanceof Date&&fe instanceof Date)return v.direction==="asc"?se.getTime()-fe.getTime():fe.getTime()-se.getTime();const mn=String(se),lt=String(fe);return v.direction==="asc"?mn.localeCompare(lt,void 0,{numeric:!0}):lt.localeCompare(mn,void 0,{numeric:!0})}),j},[e,v,K]),ue=V=>{E(M=>!M||M.headerKey!==V?{headerKey:V,direction:"asc"}:{headerKey:V,direction:M.direction==="asc"?"desc":"asc"})},re=(V,M)=>{if(M)return v?.headerKey!==V?"none":v.direction==="asc"?"ascending":"descending"},z=(V,M)=>{const j=n?.(V,M);if(j==null||j===""){const w=e.indexOf(V);return w===-1?M:w}return j},te=C.useMemo(()=>i!=="multiple"?new Set:new Set(c??[]),[c,i]),q=C.useMemo(()=>{const V=p??X;return!V||V<=0?ee.length||e.length||1:V},[p,X,ee.length,e.length]),ne=C.useMemo(()=>h!==void 0?Math.max(1,Math.floor(h)):b!==void 0?Math.max(1,Math.ceil(b/q)):Math.max(1,Math.ceil(ee.length/q)),[ee.length,q,b,h]),Y=C.useMemo(()=>{const V=f??B;return!Number.isFinite(V)||V<1?1:V>ne?ne:V},[f,B,ne]);C.useEffect(()=>{f===void 0&&Y>ne&&F(ne)},[Y,ne,f]);const x=C.useMemo(()=>{if(h!==void 0||b!==void 0||q>=ee.length)return ee;const V=(Y-1)*q;return ee.slice(V,V+q)},[ee,Y,q,b,h]),_=t.length+(i?1:0),H=V=>{const M=Math.min(Math.max(V,1),ne);f!==void 0?m?.(M):F(M)},W=V=>{const M=V>0?Math.floor(V):1;p!==void 0?S?.(M):(O(M),F(1))},ce=!r&&ne>1,ae=!r&&!!A?.length,k=C.useMemo(()=>nc(Y,ne),[Y,ne]),oe=D([Z.paginationControls,ae&&Z.paginationWithPageSize]);return d.jsxs(d.Fragment,{children:[d.jsxs("table",{className:Z.table,children:[d.jsx("thead",{children:d.jsxs("tr",{children:[i&&d.jsx("th",{className:Z.selectionHeader,"aria-label":s,children:d.jsx("span",{className:Z.srOnly,children:s})}),t.map(({key:V,label:M,sortable:j,ariaLabel:w})=>{const he=v?.headerKey===V,se=he&&v.direction==="asc",fe=he&&v.direction==="desc";return d.jsx("th",{"aria-sort":re(V,j),scope:"col",children:j?d.jsxs("button",{type:"button",className:`${Z.thButton} ${Z.sortable}`,onClick:()=>ue(V),"aria-label":`${w??M}: sort ${he&&se?"descending":"ascending"}`,children:[d.jsx("span",{className:Z.label,children:M}),d.jsxs("span",{className:Z.sortIndicators,"aria-hidden":"true",children:[d.jsx("span",{className:`${Z.sortArrow} ${se?Z.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:`${Z.sortArrow} ${fe?Z.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:Z.thButton,children:d.jsx("span",{className:Z.label,children:M})})},V)})]})}),d.jsx("tbody",{children:r?d.jsx("tr",{className:Z.loadingRow,children:d.jsx("td",{className:Z.loadingCell,colSpan:_,children:d.jsx(Zn,{ariaLabel:a})})}):x.map((V,M)=>{const j=z(V,M),w=`${G}-${j}`,he=i==="single"&&l===j,se=i==="multiple"&&te.has(j),lt=!!g||i==="single"&&!!o||i==="multiple"&&!!u,gc=()=>{if(i==="single")o?.(V);else if(i==="multiple"&&u){const ge=new Set(te);ge.has(j)?ge.delete(j):ge.add(j);const ke=e.filter((vn,hn)=>{const Cn=z(vn,hn);return ge.has(Cn)});u(ke)}g?.(V)};return d.jsxs("tr",{className:D([M%2===0?Z.evenRow:Z.oddRow,lt&&Z.rowClickable]),onClick:lt?gc:void 0,children:[i==="single"&&d.jsx("td",{className:Z.selectionCell,children:d.jsx("button",{type:"button",className:Z.selectionControl,onClick:ge=>ge.stopPropagation(),children:d.jsx(Xt,{id:w,name:G,inputValue:String(j),checked:he,onChange:ge=>{ge?.stopPropagation(),o?.(V)},"aria-label":s})})}),i==="multiple"&&d.jsx("td",{className:Z.selectionCell,children:d.jsx("button",{type:"button",className:Z.selectionControl,onClick:ge=>ge.stopPropagation(),children:d.jsx(Mt,{id:w,value:String(j),checked:se,onChange:ge=>{if(ge?.stopPropagation(),!u)return;const ke=new Set(te);ke.has(j)?ke.delete(j):ke.add(j);const vn=e.filter((hn,Cn)=>{const bc=z(hn,Cn);return ke.has(bc)});u(vn)},"aria-label":s})})}),t.map(ge=>d.jsx("td",{children:ge.render?ge.render(V):String(ge.accessor?.(V)??"")},ge.key))]},j)})})]}),(ce||ae)&&d.jsxs("div",{className:oe,children:[ae&&d.jsx("div",{className:Z.pageSizeSelector,children:d.jsx(da,{id:`${G}-page-size`,label:"Rader per side",options:A,value:q,onChange:V=>W(Number(V)),width:"120px",size:"small"})}),ce&&d.jsxs("div",{className:Z.pagination,children:[d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:D([Z.pageNavButtonPrevious,Y<=1&&Z.pageNavButtonHidden]),onClick:()=>H(Y-1),disabled:Y<=1,"aria-label":"Forrige side",content:"Forrige",iconLeft:d.jsx("span",{className:Z.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:Z.pageList,children:k.map(V=>V==="..."?d.jsx("span",{className:Z.pageEllipsis,children:"..."},`ellipsis-${V}`):d.jsx("button",{type:"button",className:D([Z.pageNumber,V===Y&&Z.pageNumberActive]),onClick:()=>H(Number(V)),"aria-current":V===Y?"page":void 0,children:V},V))}),d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:D([Z.pageNavButtonNext,Y>=ne&&Z.pageNavButtonHidden]),onClick:()=>H(Y+1),disabled:Y>=ne,"aria-label":"Neste side",content:"Neste",iconRight:d.jsx("span",{className:Z.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"})]})})})]})]})]})},Be={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"},st=({children:t,defaultIndex:e=0,onChange:r,className:a})=>{const[n,i]=C.useState(e),s=C.useId(),l=C.useMemo(()=>s.replace(/:/g,""),[s]),o=c=>{i(c),r?.(c)};return d.jsx("div",{className:D([Be.tabs,a]),children:C.Children.map(t,c=>C.isValidElement(c)?c.type===ba?C.cloneElement(c,{activeIndex:n,setActiveIndex:o,baseId:l}):c.type===fa?C.cloneElement(c,{activeIndex:n,baseId:l}):c:null)})},ba=({children:t,activeIndex:e=0,setActiveIndex:r,baseId:a})=>{const n=C.useMemo(()=>C.Children.toArray(t).filter(l=>C.isValidElement(l)),[t]),i=n.length,s=(l,o)=>{if(!r||i===0)return;let c=o;switch(l.key){case"ArrowRight":l.preventDefault(),c=(o+1)%i;break;case"ArrowLeft":l.preventDefault(),c=(o-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:Be.tabList,role:"tablist",children:n.map((l,o)=>{if(!C.isValidElement(l))return null;const c=`${a}-tab-${o}`,u=`${a}-panel-${o}`,g=o===e;return C.cloneElement(l,{tabId:c,panelId:u,isActive:g,onSelect:()=>r?.(o),onKeyDown:p=>s(p,o)})})})},ac=({children:t,amount:e,isActive:r,onSelect:a,onClick:n,onKeyDown:i,tabId:s,panelId:l,className:o,...c})=>{const u=D([Be.tab,r&&Be.active,c.disabled&&Be.disabled,o]),g=f=>{n?.(f),!f.defaultPrevented&&a?.()},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:Be.tabLabel,children:t}),e&&d.jsx("span",{className:Be.tabAmount,children:e})]})},fa=({children:t,activeIndex:e=0,baseId:r})=>d.jsx("div",{className:Be.tabPanels,children:C.Children.map(t,(a,n)=>{if(!C.isValidElement(a))return null;const i=`${r}-tab-${n}`,s=`${r}-panel-${n}`;return C.cloneElement(a,{isActive:n===e,tabId:i,panelId:s})})}),ic=({children:t,isActive:e,tabId:r,panelId:a})=>d.jsx("div",{role:"tabpanel",id:a,"aria-labelledby":r,className:D([Be.tabPanel,!e&&Be.hidden]),hidden:!e,children:t});st.List=ba,st.Tab=ac,st.Panels=fa,st.Panel=ic;const oc=t=>{let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=r.length;for(let n=0;n<t;n++)e+=r.charAt(Math.floor(Math.random()*a));return e},fn={textarea:"_textarea_1596u_1",requiredSymbol:"_requiredSymbol_1596u_4",hasErrors:"_hasErrors_1596u_55"},sc=({id:t,onChange:e,onBlur:r,name:a="",required:n=!1,readOnly:i,disabled:s,width:l,resize:o="both",value:c,defaultValue:u,elementKey:g,rows:p,label:f="",placeholder:I="","aria-describedby":m,hasErrors:b=!1,errorMessage:h=""})=>{const A=()=>`${t}-errorMessage`,y=!c?.length&&u?.length?u:void 0,S=g||`${t}-${oc(6)}`,v={...l&&{maxWidth:l},...o&&{resize:o}},E={name:a,readOnly:i,disabled:s,required:n,id:t,onChange:e,onBlur:r,value:y?void 0:c,defaultValue:y||void 0,placeholder:I,rows:p?parseInt(p,10):void 0,className:b?fn.hasErrors:"","aria-describedby":b&&h?A():m,"aria-invalid":b?"true":void 0,style:v};return d.jsxs("div",{className:fn.textarea,children:[d.jsxs(qe,{htmlFor:t,children:[f,n&&d.jsx("img",{src:Ne,alt:"",className:fn.requiredSymbol})]}),d.jsx("textarea",{...E},S),d.jsx(Ue,{id:A(),content:h})]})},lc=({theme:t,children:e})=>{const r=xa(t),a=Aa(r);return ya("theme-provider",`:root {${a}}`),e},cc={toggleNavigationButton:"_toggleNavigationButton_1eb2w_1"},uc=({id:t,htmlTag:e="button",showText:r,hideText:a,buttonProps:n={},isOpen:i=!1})=>C.createElement(e,{...n,className:cc.toggleNavigationButton,id:t||void 0},i?a:r),pn={wizardTopnavContainer:"_wizardTopnavContainer_qiy2o_1",wizardTopnav:"_wizardTopnav_qiy2o_1",vertical:"_vertical_qiy2o_6",horizontal:"_horizontal_qiy2o_11"},dc=({steps:t,activeStepId:e,direction:r="vertical","aria-label":a})=>{const n=Object.keys(t),s=`I dette skjemaet er det totalt ${n.length} steg som du skal gå igjennom`,l=a?.length?a:s;return d.jsx("nav",{"aria-label":l,className:D([pn.wizardTopnavContainer,pn[r]]),children:d.jsx("ol",{className:pn.wizardTopnav,children:n.map((o,c)=>d.jsx(ga,{step:t[o],activeStepId:e,direction:r,index:c},o))})})};R.Accordion=Va,R.Button=Fe,R.CheckBoxIcon=Sn,R.CheckBoxInput=Mt,R.CheckBoxList=wa,R.CheckBoxListItem=_a,R.Container=Vn,R.ContentBox=Fa,R.DescriptionDetails=Pa,R.DescriptionList=Ta,R.DescriptionTerm=Ra,R.Dialog=Ha,R.DragAndDropFileInput=La,R.ErrorBox=Wa,R.ErrorMessage=Ue,R.Footer=ka,R.Header=Ye,R.InfoBox=Rn,R.InputField=Da,R.Label=qe,R.List=za,R.ListItem=Ya,R.LoadingAnimation=Zn,R.NavigationBar=qa,R.Paper=Ka,R.Paragraph=ei,R.ProgressBar=ti,R.RadioButtonIcon=kn,R.RadioButtonInput=Xt,R.RadioButtonList=ni,R.RadioButtonListItem=ri,R.Select=da,R.Table=rc,R.Tabs=st,R.Textarea=sc,R.ThemeProvider=lc,R.ToggleNavigationButton=uc,R.WizardNavigation=dc,R.WizardNavigationStep=ga,Object.defineProperty(R,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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3M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AgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcH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2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXN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gcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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
|